leisesprecher

joined 4 months ago
[–] leisesprecher 3 points 2 hours ago

It would be really great to have some "Python layer" on top of Rust.

My current work is mostly data mangling web services (Java/Spring Boot) and there's simply no way I could convince anyone (including myself) that Rust is a viable alternative in terms of development speed.

[–] leisesprecher 3 points 10 hours ago

Leider ja.

Dann lässt man per KI Anschreiben schreiben, die dann von KI wieder zusammengekürzt und nur von ihr gelesen werden.

Aber Hauptsache Abteilungsleiter Bernd und die Nova von HR fühlen sich wichtig...

[–] leisesprecher 7 points 12 hours ago (3 children)

Warum macht man dann überhaupt Bewerbungsschreiben?

Die einzigen, die diese Schreiben immer noch haben wollen sind mittlere Manager mit Minderwertigkeitskomplex und HR Idioten mit Gottkomplex. Kein Bewerbungsschreiben enthält irgendeine verwertbare information, es ist nur Rauschen.

[–] leisesprecher 0 points 17 hours ago (2 children)

So countering your argument with counterarguments why your example is flawed isn't allowed, because you'd need to reconsider?

Tell me, do you really think the UAE are willing, not capable, willing to invest in safety and lawfulness as much as any even halfway free country?

[–] leisesprecher 1 points 18 hours ago (4 children)

And we all know that the UAE are the international beacon of safety, worker's rights, rule of law and cost effectiveness.

That's a really bad argument. That's like saying the Soviet Union was really good at digging canals.

[–] leisesprecher 9 points 1 day ago

Bis dahin kannst du fast selbst ein Studium abschließen und dich autodiagnostizieren.

[–] leisesprecher 5 points 1 day ago (1 children)

Depends. Did you talk them into suicidal ideation beforehand?

[–] leisesprecher 1 points 1 day ago

Wenn es weniger Ängste gibt, und sich Menschen eher Teil der Gesellschaft fühlen

Und hier liegt der Kern, warum deine These zwar aus anderen Gründen wünschenswert, aber hier falsch ist. Es geht nicht um die reale Situation, sondern um Gefühle. Die AfD wird bspw. eben nicht von den Arbeitslosen und Geringverdienern gewählt, sondern von der Mittelschicht die glaubt, dass es bergab geht.

Guck dir die Zeit des Aufstiegs der AfD an. 2015/16 ging es Deutschland wirtschaftlich super. Quasi Vollbeschäftigung, okayes Wachstum, etc. Und trotzdem haben die Leute Angst gehabt, dass die Migranten ihnen die unbesetzten Stellen wegnehmen.

[–] leisesprecher 5 points 1 day ago

Allein die Tatsache, dass Twitter so oft von Medien zitiert wird, um die Stimmung in der Bevölkerung wiederzugeben zeigt doch, dass diese Medien keine Ahnung davon haben, was in der Bevölkerung abgeht.

Twitter ist ein Presseportal für Selbstdarsteller. Kaum jemand nutzt das für die aktive Kommunikation.

[–] leisesprecher 3 points 1 day ago

That's great and all, but how does any of that justify an invasion?

What you're doing here is whataboutism. You don't address the actual problem, instead you're derailing the discussion.

[–] leisesprecher 1 points 1 day ago (2 children)

Are you two really naive enough to assume that Russia will respect a peace agreement?

Russia attacked several countries against international law, and Ukraine already had security guarantees from the US and UK following its voluntary surrender of their nuclear weapons.

International law and security guarantees meant fuck all when Russia invaded in 2014, and about as much in 2022.

Why do you think, Russia would respect agreements this time? They made their intentions very very clear.

[–] leisesprecher 1 points 1 day ago

....and because the older plants are simply written off already. If you already recouped the building costs, you can charge based on just the running cost.

 

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 ›