There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

kbin.life

FauxPseudo , to world in Media Bias Fact Check - Automation
@FauxPseudo@lemmy.world avatar

A whole lot of people here don’t read MBFC each day and it shows. They tend to take a single and testable claim and make a decision. It’s really easy to see if the claim is true or false if the claim is specific. They don’t have a habit of taking a big claim and ruling it false because of one small detail like Snopes does.

borrina , to asklemmy in The specific thing you spend the most time doing instead of the actual job you're being paid to do is your new profession. What's your new job title?

I’m a nanny! 😄

skullgiver , to linux in Tell me about glue please: How do you connect a microcontroller that conditionally executes code in different languages over USB serial on a typical desktop distro?
@skullgiver@popplesburger.hilciferous.nl avatar

My approach would be to have the Python script read the serial console of the microcontroller in a loop and parse the text data exchanged through it. Binary can work too but then you’d need to implement the necessary logic to figure out if you’re done reading or not.

Through things like udev rules you can automatically start such a script when the device is detected (i.e. the cable is plugged in).

Something like this should work, depending on the settings of your serial connection:


<span style="color:#323232;">#!/usr/bin/env python3
</span><span style="color:#323232;">import serial
</span><span style="color:#323232;">
</span><span style="color:#323232;">ser = serial.Serial(
</span><span style="color:#323232;">    port='/dev/ttyUSB0,
</span><span style="color:#323232;">    baudrate=57600,
</span><span style="color:#323232;">    parity=serial.PARITY_ODD,
</span><span style="color:#323232;">    stopbits=serial.STOPBITS_TWO,
</span><span style="color:#323232;">    bytesize=serial.SEVENBITS
</span><span style="color:#323232;">)
</span><span style="color:#323232;">
</span><span style="color:#323232;">while(True):
</span><span style="color:#323232;">    line = ser.readline()
</span><span style="color:#323232;">    # Do something with the line of text that was just read
</span><span style="color:#323232;">    print(line)
</span><span style="color:#323232;">
</span><span style="color:#323232;">ser.close()
</span>

Coupled with a udev rule like:


<span style="color:#323232;">ACTION=="add", SUBSYSTEM=="usb", ENV{ID_VENDOR_ID}=="0123", ENV{ID_MODEL_ID}=="4567", RUN+="/path/to/your/script.py"
</span>

The udev rule depends on how you connect to the device, of course. Also make sure to mark the script as executable if you call it directly. First improvement I’d make is to figure out how to detect the device (instead of hard coding ttyUSB0) and the correct parity settings.

unknowing8343 , to asklemmy in How to deal with being bald?

If you were getting bald (which you might not) you’d have 2 options:

  • hair transplant (if needed) and medication for the rest of your life.
  • shave/trim and move on

I’m generally for team 2. I’d hate medicating (which from internet opinion has various long-lasting unwanted side effects) for the rest of my life for such stupid thing.

I must confess, I have the benefit that I don’t look that bad. Also, being fit becomes much more required when bald, 😅, you have to compensate your older look; and side effects from exercise are virtually all positive. So I’ll take it.

huf ,

accepting your baldness will always look better than being all wojak-nooo about it.

though that doesnt seem to be the issue here.

wargreymon , to linux in What is the Windows Equivalent of Popular Linux apps?

I have to use Windows

  1. Run a virtual machine
  2. Install your goto Linux distro
  3. Drink a cup of ☕ and pet a 😺 while it’s installing
  4. Happy hacking!
maniii ,

WSL2 exists for the very reason, if you hate using Windblows, you can install Linux OS on top and do everything from the Linux VM. Why even bother struggling with Windozes interface and software ?

TheBigBrother , to asklemmy in What is a less popular type/genre of movies that you watch ? What makes it interesting for you ?

Romantic drama, I usually just see these for research purposes.

jordanlund ,
@jordanlund@lemmy.world avatar

A Walk in the Clouds with Keanu Reeves, Aitana Sánchez-Gijón, and Anthony Quinn. You’re welcome!

youtu.be/CCJLFg1nOao

The previous film from the same director is solid too, if you’re OK with subtitled Spanish:

youtu.be/EkvgSTJkKGI

TheBigBrother ,

Thx for the info 👍👍

Donebrach , to nostupidquestions in What are some things you can do to maintain your teeth when you don't have health insurance and can't afford dental care?
@Donebrach@lemmy.world avatar

Get a Sonicare toothbrush

narc0tic_bird , to linux in What is the Windows Equivalent of Popular Linux apps?
  1. OBS Studio, or even Xbox Game Bar (built-in, but might be disabled at your work PC)
  2. ShareX
  3. 7-Zip
Faydaikin , to asklemmy in What is a less popular type/genre of movies that you watch ? What makes it interesting for you ?
@Faydaikin@beehaw.org avatar

I don’t know if they are that less popular, but I like a good “Mindfuck” film.

Like: Cube (1997), Cthulhu (2007), In The Mouth Of Madness (1994), Naked Lunch (1991).

I don’t know if the movies listed are the best representations, but they were some of the first that popped into mind.

The_Che_Banana ,

Add Mama, Beau is Afraid this list.

XTL ,

I watch a lot of things labelled horror in the (mostly vain) hope that there would be a good speculative angle about alternate reality.

Mihies , to linux in What is the Windows Equivalent of Popular Linux apps?
  1. Windows has built in simple zip manager. If you need more, go with 7-zip as others suggested.
Dirk , to linux in What is the Windows Equivalent of Popular Linux apps?
@Dirk@lemmy.ml avatar

I have to use Windows on my work computer and I am finding it hard to get FOSS applications on Windows that can do stuff like

The Gold standard in the screen recording world is OBS. It’s not only available for Linux, but also for Windows and, well, is the gold standard. If you ask the question if OBS can do this-or-that regarding screen recording, the answer generally is yes (or “yes, via plugin”). Just use OBS on all platforms, it’s clearly the most mature screen recording tool out there.

Outsider9042 ,

You can even use it as a virtual camera. I’ve had lots of fun with that one in meetings.

DieserTypMatthias ,
@DieserTypMatthias@lemmy.ml avatar

I used Game Bar to record my videos back in the day. But it’s just too basic.

TheEighthDoctor , to linuxmemes in Have you tried NixOS?

I’m more interested in Mint 22

Quazatron , to linux_gaming in Anyone using Linux-libre for gaming?
@Quazatron@lemmy.world avatar

While I understand and empathize with your dislike of proprietary blobs (fuck you, NVIDIA), every game is a huge blob unless you’re playing FOSS games exclusively.

Berttheduck , to lemmyshitpost in I, too, like books.

To help my American lemmings with pronunciation: Red-ing and Bark-shere.

It’s a very good university too.

dogsoahC OP ,

Anglophones have no right to complain about French pronunciation. What the fuck is this shit?

Berttheduck ,

Tell me about it English is a bastardised language made up of so many different languages rules. Have you heard of Lee and Perrins Worcestershire sauce? It’s pronounced wuster-shere.

Great sauce btw, real umami flavour and great on cheese on toast.

TWeaK ,

My favourite is Wymondham. (Like the blowy kind,) Wind-um.

Also, fuck Worcester sauce.

GreatAlbatross ,
@GreatAlbatross@feddit.uk avatar

I like Towcester.
Excellent for breakfast crumpets.

dogsoahC OP ,

I’ve heard it as “English isn’t a language. It’s three languages under a trench coat, pretending to be a language.”

Viking_Hippie ,

James Acaster’s classic Kettering Town FC bit starts with another example 😁

Zip2 , to pics in [OC] Early/First harvest from our tiny garden in the forest.

Is that a tiny snozzcumber?

Bo7a OP ,

It was too tasty for snozz. And there were no berries.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines