leisesprecher

joined 7 months ago
[–] leisesprecher@feddit.org 7 points 15 hours ago

Was ist das denn bitte für eine bescheuerte Logik?

Natürlich sollte dich das überzeugen (können), weil es zeigt, wofür die Partei steht und was sie in Regierungsverantwortung vermutlich machen wird. Was meinst du, warum jede Partei eine eigene Stiftung hat? Glaubst du, die erforschen Kernfusion und Materialkunde für Parkettböden?

Du musst ja nicht mit der Linken übereinstimmen, aber dein Argument ist einfach sehr sehr dumm.

[–] leisesprecher@feddit.org 10 points 15 hours ago (1 children)

FReE sPeEcH!!!!

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

Richard Wagner betritt den Chat.

[–] leisesprecher@feddit.org 7 points 2 days ago (1 children)

You can also replace eggs with applesauce. At least in cakes that works surprisingly well. One egg is about 1-2 tablespoons of sauce.

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

Obviously, the trees counter this by always growing downwind.

[–] leisesprecher@feddit.org 31 points 2 days ago (1 children)

I mean, what else are we doing?

Science is just structured failing forward with a protocol.

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

It's funny that "veterans benefits" are a separate category.

Like, what exactly are they veterans of? Walmart? Communists might argue, that this is actually military budget in disguise!!!

[–] leisesprecher@feddit.org 6 points 5 days ago

Even that is pretty temporary.

If you build a house, there's a good chance, it will survive for decades or even centuries. The house I currently live in survived two world wars and heavy bombardment in one of them. I don't think any software will manage that.

[–] leisesprecher@feddit.org 58 points 5 days ago (6 children)

I think we (as an industry) need to be honest to ourselves and admit that pretty much everything we're building is temporary. And not in a philosophical sense. 90% of the code I wrote in my about 10 years of professional work is probably gone by now - sometimes replaced by myself. In another ten years, chances are not a single line of code will have survived.

[–] leisesprecher@feddit.org 11 points 5 days ago

That is not the point here, though.

Boeing fucked up in multiple, unrelated ways over more than a decade, killing hundreds of people. That is definitely worth reporting.

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

You're disengaging a lot then.

See, maybe if everyone you meet is an asshole, that could say something about you as well.

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

Does that attitude work for you? In general, I mean. Doesn't seem very effective.

 

I'm working on small nix flake to standardize the developer environments at my job.

What I'm still missing, however, is a way to clean up after leaving the shell. Some hook to call a shell script, when the shell is closed.

Is there something like this? I thought about wrapping the actual nix develop call inside a bash script and waiting for nix to terminate, but that seems rather hacky.

 

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 ›