Readit News logoReadit News
bierjunge commented on Germany is No 1 in Europe for EV production, No 2 in the world   electrek.co/2024/06/11/ge... · Posted by u/rustoo
toenail · a year ago
> and are the biggest country in Europe

Err, what? #6 https://en.wikipedia.org/wiki/List_of_European_countries_by_...

bierjunge · a year ago
Depends on the metric you use. If we take nominal GDP instead of area, Germany is #1 in Europe [0].

[0] https://en.wikipedia.org/wiki/List_of_sovereign_states_in_Eu...

bierjunge commented on Useful Uses of cat   two-wrongs.com/useful-use... · Posted by u/todsacerdoti
smackeyacky · 2 years ago
Not sure that would work everywhere but !$ definitely does for retrieving the last arg of the last command. 40 years of muscle memory right there
bierjunge · 2 years ago
Nobody mentions $_ ? It gives you the last argument used, so:

  cat filename.txt

  grep "what I want" $_
expands "$_" to "filename.txt"

Deleted Comment

bierjunge commented on ESP32-C61: Delivering Affordable Wi-Fi 6 Connectivity   espressif.com/en/news/ESP... · Posted by u/adolph
osrec · 2 years ago
Out of interest, has anyone successfully used an ESP32 on a commercial project, or are these intended primarily for hobbyists?

Also, what would be considered the go-to chip for commercial applications?

bierjunge · 2 years ago
Yes, I've used it in a commercial product with 10000+ deployments. It was the only chip with BLE and WiFi, so there was no other option at the time. If the requirements were different, I would use something from Nordic Semiconductors [0] or some ARMv8 chip.

The hardware itself is fine, but the biggest pain was getting stable WiFi and BLE connections simultaneously, because of only one antenna/radio. RAM was also a problem, it would be great to have at least 512kb. The SDK from Espressif is sometimes a little bit weird, but usable and bugs are fixed quickly. The build system is ok, nothing special.

[0] https://www.nordicsemi.com/

bierjunge commented on Latest copyright decision in Germany rejects blocking through global DNS resol   blog.cloudflare.com/lates... · Posted by u/todsacerdoti
supriyo-biswas · 2 years ago
Does anyone have a link to the ruling? (It’s presumably in German, but I’d still like to take a look.)

Also, for context: https://torrentfreak.com/dns-resolver-quad9-loses-global-pir...

bierjunge commented on Minnesota middle school students 'seem happy' after cellphone ban   newsnationnow.com/us-news... · Posted by u/hammock
kurisufag · 2 years ago
yep, remember doing exactly this for the ti-84+ CE. god bless third-party TI-BASIC documentation websites.

better than making it seem like you had just done it yourself, you could use the Menu() function to simulate all the menu navigation necessary to actually get to that screen!

funnily enough, jabbing all the buttons on the calculator and having to select functions via menu listings created one of the comfiest development environments I've ever used. after a while, banging out a screensaver or fake menu became second nature.

bierjunge · 2 years ago
I'm not a big BASIC fan, so I've done my stuff in C, since it was a Motorola 68k on the TI-Voyage 200. I don't remember exactly how (it's 15+ year ago), but you could mark your app as a "system app" which was not removed during a factory reset.

Add a cryptic name, blank screen on start with a short timeout to return to menu when a key combination is not pressed and nobody will ever notice.

bierjunge commented on Static Analysis Tools for C   github.com/analysis-tools... · Posted by u/Alifatisk
NLips · 2 years ago
Has anyone found a static analysis tool which understands C11 annex K (aka “safe C”) functions? I’ve found some tools like CLANG static analysis will raise errors for potentially incorrect calls to stdlib C functions, but doesn’t understand the replacements, which means some errors previously caught by analysis can only be caught at runtime.
bierjunge · 2 years ago
Annex K is optional and the only compiler I'm aware of implementing it is MSVC (and only Microsoft wanted that in the standard), so the support for it will be nonexistent in "normal" tooling. If you need it, check if MS has something.
bierjunge commented on 418 I'm a teapot   developer.mozilla.org/en-... · Posted by u/SirAllCaps
wiseowise · 2 years ago
How’s that unethical?

Love it.

bierjunge · 2 years ago
Unethical because it can get the devs into legal trouble and the Chinese government is known to be aggressive in their choice of "solutions".
bierjunge commented on 418 I'm a teapot   developer.mozilla.org/en-... · Posted by u/SirAllCaps
geuis · 2 years ago
Yeah I know. That is a legit critique. What's been happening is your essential black swan event. I've been running the service for 12 years and have never had this problem. There are hundreds of websites and independent users that have never abused the api like this until March. I have always been able to absorb the traffic impact.

This is different. Someone wasn't thinking and randomly added the domain to a lazy piece of code somewhere that got deployed to millions of devices pretty much over night. The only way I've been able to keep jsonip active is by incorporating Cloudflare. But they don't actually solve the problem. As a corporation, they treat ipv4 addresses like 3rd class citizens.

Anyway yeah I've been evaluating changing the TOS, requiring registered signins, etc. But NONE of those fixes a 300% level of traffic that's been hitting the service for months now. I can change the verbiage all I want. But it does absolutely nothing to stop the a-hole dev from China or wherever that rolled out an update to hundreds of thousands of millions of devices with simply emailing me if that's ok.

I've literally, and successfully, run the service for free to the public because no one has done this before.

And to the nginx people. No, returning 444 doesn't seem to fix the problem. I've tried. It doesn't work.

bierjunge · 2 years ago
Unethical tip: start returning the content of this article [0] to these devices. The Chinese government will "fix" the devs for you or simply block all traffic to your site.

[0] https://en.wikipedia.org/wiki/1989_Tiananmen_Square_protests...

bierjunge commented on Pixel Tablet   store.google.com/product/... · Posted by u/abawany
dna_polymerase · 2 years ago
The fact that there are multiple charge cables shows how good Apple is at charging.
bierjunge · 2 years ago
Apple is great at charging? No, they are not. I have a 2019 Macbook Pro with an Intel i9. When working, the i9 pretty much gets throttled down to the performance of an i5 because the thermal design is terrible, but it's a different story. But even when the CPU get throttled down, my battery gets discharged while being connected to the most performant Apple charger (96W). An no, the laptop is not faulty, I can reproduce it with a second Macbook with exactly the same specs.

And when I'm not using the original Apple charger, because I have a nice monitor with PD over USB-C, the Macbook regularly refuses to charge, not always, but every single time when I need it to charge. No other device has any issues with the monitor (tested with a Acer R13 Chromebook, Pixel 6 phone, Lenovo/Dell/Acer/Asus laptops, Lenovo Yoga Tab 13 Tablet, Steam Deck, etc.)

Edit: PD output of the monitor is also at ~96W

u/bierjunge

KarmaCake day441January 16, 2019View Original