leisesprecher

joined 3 months ago
[–] [email protected] 132 points 16 hours ago (9 children)

Obviously I don't know the business in question, but it's quite possible that the company has a bunch of longer running contracts that would become a loss if the inputs become much more expensive.

Of course, businesses will use the opportunity to charge more, but sudden price hikes are a very real problem.

[–] [email protected] 5 points 16 hours ago

I find it extremely frustrating how weirdly wrong-density much documentation is. It's extremely detailed in all the wrong places and often lacks examples for common use cases.

I learned a while ago that news articles are supposed to have increasing levels of detail from top to bottom. Each paragraph adds a bit more context, but the general picture should be contained in the first one. Hardly any documentation follows that pattern.

[–] [email protected] 23 points 18 hours ago (1 children)

No, it's a desert planet that's legally distinct from tatooine, but still very obviously inspired by it.

Just like starkiller base was definitely not a death star and this weird mining site in 8 was definitely not inspired by hoth, it's salt and not snow afterall!!

[–] [email protected] 2 points 23 hours ago

"Umstritten"

[–] [email protected] 3 points 1 day ago

Blut im Stuhl wird schwarz.

Wäre dann die Darmkrebskoalition.

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

Alles andere wäre auch Betrug am volk gewesen.

[–] [email protected] 1 points 1 day ago (1 children)

By getting yourself a passport, a working permit for wherever you want to go and a plane ticket.

[–] [email protected] 17 points 2 days ago

"fair and well funded" my ass.

German farmers get over 40% of their income from subsidies and tax cuts already, they're effectively state owned.

These idiots get squeezed by the food industry and instead of doing anything about it, they cry for more and more subsidies.

And one thing to remember: a whole lot of farmers are just really really not smart. They live in their farmer bubble and if the nazi editor of their farmer magazine claims that refugees steal their corn and woke people want to ban their pork, they'll believe that.

[–] [email protected] 71 points 3 days ago (1 children)

That doesn't change anything, tbh.

Apparently these people are at least complacent enough to let Trump become president. And that is horrifying.

[–] [email protected] 111 points 3 days ago (4 children)

Imagine being a doctor in this scenario. You could save them. You have the tools, the capabilities, the facility. But you have to let them die or risk ruining your own life. There are no winners here.

[–] [email protected] 33 points 3 days ago

Even if you completely disagree with his position (which I don't), you should actually want politicians like him. He's the only politician who actually and consistently really explains himself. He clearly gives you arguments pro and con, states his assumptions and conclusions. That's exactly how a leader should behave. Yet, he's getting ridiculed for exactly that.

 

I'm trying to get an old Windows game running for a friend.

It seems to be a 16bit macromedia app and I kind of got it running in a Win 98 VM using Virtualbox. DOSBox seems to get confused by it being a Windows app.

Thing is, the friend is very much not good with tech and I want to set everything up for him to "just work". Installing VBox might be a bit too much.

Apparently, you can install Windows inside DOSBox, but is that really stable and usable for layman? Are there any other approaches?

 

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.

 

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.

 

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 ›