TheButtonJustSpins

joined 2 years ago
[–] [email protected] 1 points 8 hours ago

Thank you for posting this! I've been increasing the memory for my VM over and over and it was using 24GB RAM + 4GB swap. Hopefully this will let me reclaim some.

[–] [email protected] 6 points 8 hours ago

If you click the source linked, you can read through all the details.

[–] [email protected] 97 points 3 days ago* (last edited 3 days ago) (2 children)

You should regularly invest in broad-market index funds and not pay attention to the news (as far as your investing goes).

 

Is there a tangara community? Have many technical questions and I'm not sure where to ask.

[–] [email protected] 2 points 1 month ago

I use Jump for guests, Homepage for me, and Organizr for both.

[–] [email protected] 4 points 1 month ago

Nope, you've got the hang of it.

[–] [email protected] 11 points 1 month ago
[–] [email protected] 6 points 1 month ago

Scooby Doo episode

[–] [email protected] 11 points 1 month ago (3 children)

iPod was 400 or 500 when it came out.

[–] [email protected] 4 points 1 month ago (1 children)

I prefer the Framework form factor, but this is really cool.

[–] [email protected] 4 points 2 months ago

Is that collar breakaway?

[–] [email protected] 6 points 2 months ago (2 children)

I would just get set up on MxRoute and use whatever selfhosted service you want to interact with it.

[–] [email protected] 9 points 2 months ago

Mine has arrived but I haven't had a chance to play with it yet.

/helpful-comment

 

In LMDE, I installed the .deb so I have the driver. In Manjaro, I'm just using a generic driver. In both cases, I can't select duplex printing.

If I log into the printer's control panel, 1-Sided Printing is Off.

Any ideas would be greatly appreciated.

11
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

New to CircuitPython, this feels like it should work according to the docs but it prints six Falses. Any ideas?

#!/usr/bin/env python
import board
import digitalio
import time

class body_controller:

  def __init__(self):
    SWDIO = board.D5
    self._reset_pin = digitalio.DigitalInOut(SWDIO)
    print(self._reset_pin.value)
    self._reset_pin.switch_to_output(True)
    print(self._reset_pin.value)

  def turn_on(self):
    print(self._reset_pin.value)
    self._reset_pin.value = False
    print(self._reset_pin.value)
    time.sleep(1)
    print(self._reset_pin.value)
    self._reset_pin.value = True
    print(self._reset_pin.value)

body = body_controller()
time.sleep(1)
body.turn_on()
time.sleep(1)
 

This happens if I use set_time or set_position. Is this typical, or am I just not doing it right?

This is on a Pi Zero 2 W, so not the most powerful, but should be able to handle this.

These are the relevant bits of how I'm setting up the player:

    self._vlc = vlc.Instance()
    self._player = self._vlc.media_player_new()
    self._list_player = self._vlc.media_list_player_new()
    self._list_player.set_media_player(self._player)

    playlist = self._vlc.media_list_new()
    for index in self._play_order:
      playlist.add_media(self._vlc.media_new_path(self._songs[index]))

    self._list_player.stop()
    self._list_player.set_media_list(playlist)
    self._list_player.play()

And trying to seek is just this:

    self._player.set_time(_s_to_ms(seconds))

Any ideas would be greatly appreciated!

 

cross-posted from: https://infosec.pub/post/12005873

I have a Keybow MINI hooked up to a Raspberry Pi Zero W, and I'm using Python to respond to events. I have one button that kicks off playing a song on a passive buzzer, and I'm wondering if there's a way to have a button press stop the song before it completes.

 

I have a Keybow MINI hooked up to a Raspberry Pi Zero W, and I'm using Python to respond to events. I have one button that kicks off playing a song on a passive buzzer, and I'm wondering if there's a way to have a button press stop the song before it completes.

 

Do anyone else's wrist hairs get caught in the little gap between the frame and the trackpad/spacers?

 

Anyone have a list of changes that they've made to increase battery life? I've got about three hours (with 80% limit in BIOS, which I might get rid of), so I'm sure there's a lot that can be changed.

1
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/[email protected]
 

I know the drivers come in the distro package manager, but, is there a set straight from AMD? Trying to use Brave causes freezes and black screen flashes, which I'm pretty sure is a driver thing.

8
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

Is there any way to complete the Outpost Control job? It's that only (non-First Order) job I haven't completed, and I'm not sure how to. I thought maybe I'd need to install and retrieve the skimmer, but I did that today and it didn't progress the job chat.

Edit: I've tried installing defenses on every panel, but that also didn't work. Next time I'm on planet, I'll try installing the skimmer and leaving it long enough to gather some credits.

Edit2: Okay, I think maybe it doesn't actually complete until one faction gains control of the outpost for the day, and not enough people play for that to happen. Damn.

 

Is there a /c/ for discussing Black Spire Outpost stuff?

27
Integrated Login? (infosec.pub)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

So, I have a bunch of services behind Authelia, utilizing LDAP hosted on my NAS. I log in once and it carries through my other services that are secured by Authelia, which is great.

However, since my wife rarely visits these services - mostly when I send her links - she has to log in basically every time. I've contemplated putting our laptops on a network login backed by the same LDAP, though I haven't started researching how to do that yet. If I do, though, is there a way to have the laptop login integrate with Authelia or another solution to prevent login prompts?

I know I could do it with Windows and AD, but we're both on Linux, so that complicates things a bit.

view more: next ›