leisesprecher

joined 3 months ago
[–] leisesprecher@feddit.org 1 points 15 minutes ago

The sentiment should rather be, that the system maintains itself. And that's actually something I would get behind.

Tinkering around is cool, but I'm in my 30s and when my girlfriend's build pipeline finishes, I'll be a father, I can't spend 4h every week fixing stuff, I need a reliable platform to work on. Currently that is indeed a mix of Debian and Nix for me.

At least the normal update process should work completely transparently for the user.

[–] leisesprecher@feddit.org 2 points 19 minutes ago

Not a sysadmin, but a capable user.

People shouldn't just accept technology as magic. They should understand at least the basic principles of the technology around them. Corporations want us to be dumb and incapable. Look at cars, you seriously can't expect a normal person to fix anything on them. But that's not because of inherent complexity, but because corporations want us to just buy new parts when they think it's time.

Sapere aude was true in the 19th century and it's true today as well.

[–] leisesprecher@feddit.org 3 points 2 days ago

If you count the numbers of As, H, and Os in his last tweets, it's clearly 23, 11, 24. That can't be a coincidence!!

[–] leisesprecher@feddit.org 26 points 3 days ago (2 children)

Germany is currently considering a third way: they ask you.

Everyone in Germany has health insurance, so the idea is that the health insurance simply asks you directly to decide. Most people are in favor of organ donation, but never actually get an organ donor card or talk to their relatives. Asking them to decide won't get anywhere near the donor rates of an opt-out scheme, but it could drastically increase them.

[–] leisesprecher@feddit.org 23 points 6 days ago (1 children)

And surprisingly about how difficult it is to kill him before the election.

An incel with more acne than accuracy almost killed him. A professional team might have gotten it done.

[–] leisesprecher@feddit.org 163 points 1 week ago (11 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.

[–] leisesprecher@feddit.org 7 points 1 week 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.

[–] leisesprecher@feddit.org 24 points 1 week 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!!

[–] leisesprecher@feddit.org 1 points 1 week ago (1 children)

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

[–] leisesprecher@feddit.org 73 points 1 week 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.

[–] leisesprecher@feddit.org 111 points 1 week 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.

[–] leisesprecher@feddit.org 33 points 1 week 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 ›