leisesprecher

joined 1 month ago
[–] leisesprecher@feddit.org 2 points 29 minutes ago

https://de.m.wikipedia.org/wiki/Liste_der_L%C3%A4nder_nach_Alkoholkonsum

Stimmt so nicht. Die Finnen trinken prozentual etwas mehr Schnaps, aber insgesamt ein relativ ähnliches Bild. Nur eben insgesamt ca. 25% weniger Konsum.

[–] leisesprecher@feddit.org 13 points 11 hours ago (2 children)

an jedem Eck steht ein Zigarettenautomat.

Na Mensch, wenn es doch bloß eine Gruppe von Menschen geben würde, die sowas verbieten könnte. Menschen, mit einer gemeinsamen Mission, quasi eine Ko-Mission.

Alles, was du als Problem anführst, kann legislativ bekämpft werden. Dafür musst du auch keinen Schwarzmarkt haben, sondern es einfach sehr unattraktiv machen, zu rauchen. Preis ist da nur eine Schraube. Andere wären zB Verfügbarkeit und Nutzbarkeit.

Alleine so ein schwedisches Modell mit staatlichen Läden, die das Monopol auf Drogen haben, würdest du schon sehr viel Menschen vom Konsum abhalten.

[–] leisesprecher@feddit.org 4 points 14 hours ago

There was a very simple phone from Samsung a few years back that had a solar cell on the back.

Since the battery lasted over a week anyway, you could easily double the battery life by just having it in indirect light.

Modern phones are guzzling so much power that it's hardly useful there.

[–] leisesprecher@feddit.org 36 points 14 hours ago (4 children)

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

[–] leisesprecher@feddit.org 2 points 14 hours ago (1 children)

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 15 hours 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 -2 points 15 hours ago (2 children)

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 8 points 20 hours ago (1 children)

Because that way they avoid any competition.

Thing is, businesses like Google's ads are not linear. If you can track 90% of people 90% of the time, your ads are much much more valuable to advertisers than a company that only tracks 70% of the people 90% of the time. So it makes sense to create a moat by literally shitting money on everyone around you.

Think about the opposite: if Apple would switch to DDG by default, most people would leave it at that. And that would mean, a significant chunk of the US search traffic is gone. Europe and the rest of the world are not that apple-heavy, but Apple users are rich power users (on average), these are extremely valuable.

[–] leisesprecher@feddit.org -3 points 21 hours ago (1 children)

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 33 points 22 hours ago (3 children)

No.

Google pays to keep its monopoly on search.

Chrome, Android, etc. all are just tools to funnel views on their ads.

If Mozilla would fold, Google would have a monopoly on browsers, which could cause problems for them. So they finance fake competition.

No other company could pay even close to that amount of money.

[–] leisesprecher@feddit.org 1 points 22 hours ago

Ich frag mich immer wieder, was die Politik sich von solchen Maßnahmen erhofft, wenn gleichzeitig die reguläre Arbeit der Sicherheitsbehörden aufgrund von Personalmangel nicht erledigt werden kann.

[–] leisesprecher@feddit.org -3 points 23 hours ago (8 children)

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.

 

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 ›