leisesprecher

joined 1 month ago
[–] [email protected] 5 points 5 hours ago

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.

[–] [email protected] 2 points 8 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.

[–] [email protected] 34 points 8 hours ago (4 children)

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

[–] [email protected] 1 points 8 hours ago

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.

[–] [email protected] 3 points 8 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.

[–] [email protected] -2 points 9 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.

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

Of course that's emotional.

Reducing suffering is based on the idea that I don't like suffering, therefore I don't want others to suffer. That's emotional.

[–] [email protected] 5 points 13 hours ago (4 children)

And what exactly is a logical reasoning?

Pretty much all political reasoning is emotional, but for some reason, only the "other side" gets emotional.

Wanting equality is an emotional reason. Wanting absolute freedom is emotional. Freedom of speech, aristocracy, fascism, anarchism, progressive income tax are all, if you keep asking "why?" emotional choices.

If, at any point, someone says something is good or bad, well, that's emotional, simply because these are purely human categories that are not rational.

[–] [email protected] 8 points 14 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.

[–] [email protected] -3 points 14 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.

[–] [email protected] 33 points 16 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.

[–] [email protected] 1 points 16 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.

 

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 ›