[-] leisesprecher@feddit.org 1 points 3 hours ago

Don't let scammers hear that. They'll sell 16TB "SSDs" for cheap and defraud thousands of people.

[-] leisesprecher@feddit.org 1 points 3 hours ago

Some people are just completely deranged, like, pathologically deranged. Those people just annoy me, and I don't want to get annoyed/angered every time I read their bullshit.

[-] leisesprecher@feddit.org 35 points 13 hours ago

I'd prefer not to have any smell, but that is apparently really hard to do.

And why do all products for men have to look like I'm cosplaying a sci-fi tactical commando?

[-] leisesprecher@feddit.org 46 points 1 day ago

Germany has Spaghetti ice cream, but that's at least real ice cream just made to look like spaghetti.

[-] leisesprecher@feddit.org 4 points 1 day ago

I feel like there's a very fine balance for the effort required to publish a package.

Too easy and you get npm.

Too hard and you get an empty repo.

I feel like Java is actually doing a relatively good job here. Most packages are at least documented a bit, though obviously many are outdated.

[-] leisesprecher@feddit.org 3 points 1 day ago

The leadership on both sides would not only lose power, but likely end up in prison or dead, if there's ever peace.

They won't do anything towards a peaceful solution.

[-] leisesprecher@feddit.org -3 points 1 day ago

I don't need your location.

Pager transmissions contain a sender and a receiver. That's all the information you need. If a known Hisbollah sender sends to a receiver, that receiver obviously has some ties to Hisbollah.

[-] leisesprecher@feddit.org -4 points 1 day ago

By tracking who sent what to whom?

If you know the phone number of a Hisbollah member and they send messages to a set of pagers, these are likely Hisbollah pagers. If you do that to several phone numbers, you get a pretty comprehensive list of members. You don't need to know, where exactly they are. That's simply not relevant.

And again: if it's a supply chain attack, you don't even need these contacts. Just a single entry point into the supply chain of the organization.

[-] leisesprecher@feddit.org -2 points 1 day ago

So, what exactly do you think would be a proper reaction here?

Hisbollah is de facto a state actor in Lebanon. Lebanon is doing nothing against a group whose declared goal is the destruction of Israel, including shooting unguided rockets into civilian areas.

Now, how would you address that? Unless you have any idea how else to solve this, you're simply talking out of your ass.

[-] leisesprecher@feddit.org 6 points 2 days ago

Maybe the guys shooting rockets at Israel?

Don't play dumber than you are.

38

I have a small homelab running a few services, some written by myself for small tasks - so the load is basically just me a few times a day.

Now, I'm a Java developer during the day, so I'm relatively productive with it and used some of these apps as learning opportunities (balls to my own wall overengineering to try out a new framework or something).

Problem is, each app uses something like 200mb of memory while doing next to nothing. That seems excessive. Native images dropped that to ~70mb, but that needs a bunch of resources to build.

So my question is, what is you go-to for such cases?

My current candidates are Python/FastAPI, Rust and Elixir, but I'm open for anything at this point - even if it's just for learning new languages.

24

I asked a while ago, how to build an automatic light switch and finally got around to actually building it.

My board is an ESP8266 mini D, and ignoring all the sensor parts, my problem right now is powering the actual light.

It's just a small LED array and I connected it directly to the 5V and GND pins (controlled via a transistor).

Measuring from the wall (so including the PSU), this whole setup pulls about 3W (so far expected), however, one small component close to the USB connector gets uncomfortably warm, and I'm not sure, whether that's ok.

The hot component is one of the two small thingies circled in the picture. I thought the 5V get pulled directly from the USB plug, so I'm not sure, why there is any circuitry involved.

22

I'm trying to build a very simple, stupid light switch for my grow light. Essentially, I want to turn on the light, if it gets too dark outside, so that my plants can survive the northern winter.

Since I'm a software guy, my first thought was an ESP32, but that seems excessive.

My current approach would be something like this: https://www.ebay.com/itm/313561010352 In conjunction with a relay, both powered by a USB-PSU.

If the light level is low enough, the logic DO pin should send a signal and that should be enough to trigger a small relay, so that the relay then closes the circuit to switch on the lights.

Is that idea completely stupid? With electronics, I'm usually missing something very obvious.

The lights themselves are already just usb powered and only draw 5W, so that shouldn't be problem.

What I'm concerned with is the actual switching. Is the logic signal "strong" enough to activate a relay? Would simple transistor maybe sufficient?

view more: next ›

leisesprecher

joined 1 month ago