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

How much could one banana cost, Michael? 6 million dollars?

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

I'd put big money on the latter.

[-] TheButtonJustSpins@infosec.pub 72 points 1 month ago

(I don't know what the problem with a water bowl is, but I digress)

(cats are more likely to drink moving water than still water since moving water is less likely to have bad things growing in it)

11
submitted 2 months ago* (last edited 2 months 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 74 points 4 months ago

The trouble is, you're looking for internal consistency to their arguments. You need to look at the theme of the arguments: namely, they don't like the "black people exist in the USA" part.

8

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!

[-] TheButtonJustSpins@infosec.pub 69 points 5 months ago

I've been remote for over a decade; not going to stop now.

[-] TheButtonJustSpins@infosec.pub 195 points 5 months ago* (last edited 5 months ago)

If you're not paying for a service, you're likely being monetized by watching ads or providing personal data to companies that don't necessarily have your best interests at heart.

This is a bit out of date. Nowadays, you pay for the service and are monetized by watching ads and providing personal data to companies that definitely don't have your best interests at heart.

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?

[-] TheButtonJustSpins@infosec.pub 69 points 7 months ago
  1. Being able to follow Bluetooth beacons is far from new.
  2. The listening in is done by the phone apps, which isn't a Bluetooth issue.
4

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

28
Integrated Login? (infosec.pub)
submitted 11 months ago* (last edited 11 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.

[-] TheButtonJustSpins@infosec.pub 83 points 1 year ago

I couldn't say.

[-] TheButtonJustSpins@infosec.pub 78 points 1 year ago

50/50 on if it starts listing processes or launches a new game of Zelda.

13
submitted 1 year ago* (last edited 1 year 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.

56
submitted 1 year ago* (last edited 1 year 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"
8

So that someone can help identify it

1
submitted 1 year ago* (last edited 1 year ago) by TheButtonJustSpins@infosec.pub to c/linuxmint@lemmy.ml

If I'm on the desktop and type anything, a little input box appears at the bottom right. Doesn't seem to do anything. What is that?

8

Where would I ask a question about Mint Mobile? Just realized that texting myself doesn't actually go through as a text, which is weird, but don't know if there's a community I can use to ask about it.

[-] TheButtonJustSpins@infosec.pub 86 points 1 year ago

I bought myself a raspberry pi for my birthday a few years ago.

I now have thousands of dollars in hardware sitting in a server rack in my office. Whoops.

1

Is there any way to pull in the workspace switcher for the panel from Xfce when using Cinnamon? That's basically the one thing that makes me want to switch back to Xfce. I like Cinnamon better in general, but being able to see and move applications via the workspace switcher in Xfce is a strong sell.

[-] TheButtonJustSpins@infosec.pub 105 points 1 year ago

A broken clock is right twice a day, but a running clock is probably never right.

view more: next ›

TheButtonJustSpins

joined 1 year ago