[-] TheButtonJustSpins@infosec.pub 4 points 4 hours ago

Looks like pin 5 is no good for this; switched to pin 19 and all is well.

5
submitted 4 hours ago* (last edited 4 hours ago) by TheButtonJustSpins@infosec.pub to c/python@programming.dev

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)
[-] TheButtonJustSpins@infosec.pub 19 points 2 days ago

I believe you're looking for Christmas tree farms.

Also, there are so many year-round Christmas shops.

Also also, Spirit is mostly for costumes, which aren't relevant to Christmas.

[-] TheButtonJustSpins@infosec.pub 14 points 3 days ago

I highly recommend taking the time to learn docker instead of running directly.

Thanks! That makes a lot of sense.

[-] TheButtonJustSpins@infosec.pub 57 points 6 days ago

Therapy. Also focusing on your hobbies and filling your life with joys that don't focus on a datemate. But definitely therapy.

So I'd have to rebuild the kernel, not just provide a kernel argument? That's definitely not a step I'm ready for.

While I believe you, I haven't been able to enable hibernation with it on.

[-] TheButtonJustSpins@infosec.pub -2 points 1 week ago

You have to turn off Secure Boot to enable hibernation, and I value hibernation enough to do so.

9

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!

9

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.

10
Keybow OS (infosec.pub)

Does anyone know if it's possible to have events from the Keybow keyboard cause effects on the Pi Zero W running the keyboard instead of outputting to another machine? Or do I need to go with a different OS and figure out the handling of the keys myself?

8
submitted 7 months ago* (last edited 6 months ago) by TheButtonJustSpins@infosec.pub to c/star_wars@lemmy.world

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.

1

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

28
Integrated Login? (infosec.pub)
submitted 8 months ago* (last edited 8 months ago) by TheButtonJustSpins@infosec.pub to c/selfhosted@lemmy.world

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.

6
Cycle movie extra? (infosec.pub)

Is there a way to set a movie extra to repeat endlessly? There's a fireplace feature that can cycle on the DVD but I'm not sure how to make it do that in Jellyfin. I have it in there as an extra.

13
submitted 11 months ago* (last edited 11 months ago) by TheButtonJustSpins@infosec.pub to c/moviesandtv@lemmy.film

Edit: This is Being Erica. Thank you, @FoxFireX@lemmy.sdf.org and @robolemmy@lemmy.world!

So, I watched a TV show a while ago and have forgotten what it's called and can't find it. Anyone have any ideas on this one?

  • Woman is going through something rough and a person gives her a card and is like come talk to me
  • That person functions kind like a therapist but there's something mystical going on
  • There are doors that go to other places
  • Her therapist retires after a season or two
  • She starts helping others in the same way
  • There's a bartender that does the same thing at some point

Maybe not much to go on, but I'm hoping someone recognizes it.

6
Proton Calendar? (infosec.pub)

Is there a calendar that I can use with Proton Calendar? It looks like the official one is for Google, Outlook, and 365.

(Preferably for the Bills.)

1
submitted 11 months ago* (last edited 11 months ago) by TheButtonJustSpins@infosec.pub to c/tipofmytongue@lemmy.world

Edit: It's Lovesick!

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

Hi! I'm hoping someone can help me out. I'm trying to find a show I streamed a while ago. Here's what I remember:

  • It was a British show
  • Two guys were roommates; I think the apartment was messy
  • They had a woman friend
  • One of the roommates and the friend were in love but they kept having bad timing
  • I think the other friend was a manager at a company?
  • I think the woman had to move in with them at some point?
  • There was a guy named Jono (sp?) who kept saying, "I'm Jono"
55
submitted 11 months ago* (last edited 11 months ago) by TheButtonJustSpins@infosec.pub to c/moviesandtv@lemmy.film

Edit: It's Lovesick! Thank you, @magic_window@lemmy.world!

Hi! I'm hoping someone can help me out. I'm trying to find a show I streamed a while ago. Here's what I remember:

  • It was a British show
  • Two guys were roommates; I think the apartment was messy
  • They had a woman friend
  • One of the roommates and the friend were in love but they kept having bad timing
  • I think the other friend was a manager at a company?
  • I think the woman had to move in with them at some point?
  • There was a guy named Jono (sp?) who kept saying, "I'm Jono"
view more: next ›

TheButtonJustSpins

joined 1 year ago