HNHacker News
TopNewBestAskShowJobs

lpribis

320 karma · joined January 6, 2024

submissionscomments
lpribis··on Kidnapped by Deutsche Bahn
They can't realistically do this in Germany because the tracks are so much more busy than the US. There would more than likely be a train coming the other direction within the next few minutes, and they cannot guarantee all the people have time to vacate the track area.
lpribis··on Fabrice Bellard Releases MicroQuickJS
TCO is not just for parse trees or AST, but in imperative languages without TCO this is the only place you are "forced" to use recursion. You can transform any loop in you program to recursion if you prefer, which is what the author does.
lpribis··on Common Lisp, ASDF, and Quicklisp: packaging explained
Don't forget about UIOP (Utilities for Implementation and OS Portability) which is part of the ASDF project. Also very easy to type!
lpribis··on How Google Maps allocates survival across London's restaurants
Sample of 1, but the hidden gem near me I would actually consider a "hidden gem" that only people from the area know about, and it's a very good family run business.
lpribis··on DRAM prices are spiking, but I don't trust the industry's why
> Following the plea agreement he was sentenced to 8 months in prison and fined US$250,000.[6] Lee was subsequently promoted to President of Samsung Germany in 2009, and then President of Samsung Europe in 2014.

Lmao he got rewarded for taking the fall.

lpribis··on Shai-Hulud Returns: Over 300 NPM Packages Infected
99% of releases do NOT fix zero-days. But 100% of releases have a small risk of introducing a backdoored build-script.

There's nothing wrong with pinning dependencies and only updating when you know for sure they're fixing a zero-day (as it will be public at that point).

lpribis··on Giving C a superpower: custom header file (safe_c.h)
Yes but "atomic" operations with the DMA engine are accomplished through interrupts (atomic) or memory mapped IO configuration (atomic).
lpribis··on .NET 10
> All you would guess is there are probably 9 others that were just like it.

Lol, even this is not true. For the current runtime/stdlib package known as ".NET", they started numbering at 5. The actual sequence (only counting major version numbers) is: .net framework 1, 2, 3, 4, .net core 1, 2, 3, .net 5, 6, 7, 8, 9, 10. Easily the worst naming/version history for any product (worse than Windows).

lpribis··on Recursive macros in C, demystified (once the ugly crying stops)
The CPP does allow quite advanced metaprogramming, it's just so obtuse to use and requires insane hacks so almost nobody does. See one of my favorite projects https://github.com/hirrolot/metalang99
lpribis··on Hard Rust requirements from May onward
The unfortunate reality is that you must write almost all of your drivers from scratch if you want to rust in embedded. There is no OEM driver support, and as you said the open source drivers are all crap and written for arduino-level hobby projects.

Lack of drivers is prohibitive if your are a small/medium team or are using a lot of complicated peripherals or SoC. Compare to C where any MCU or embedded SoC or moderately complex peripheral normally comes with C driver code.

lpribis··on Minecraft HDL, an HDL for Redstone
This compiler does not support sequential logic, meaning no flip flops/registers.
lpribis··on StageConnect: Behringer protocol is open source
It's already common to put digital data over XLR in stage environments, like DMX lighting and AES3. Also venues will have an XLR snake but definitely not a TRS jack snake from stage to mixer.
lpribis··on DoorDash and Waymo launch autonomous delivery service in Phoenix
Americans scraping the bottom of the barrel to avoid investing in public transport.
lpribis··on Kernel: Introduce Multikernel Architecture Support
You can also use it in a "SMP" processor. For example I use it on Zynqs which are dual or quad ARMs symmetrical ARM SoCs. Linux or the bare code can be the master or subordinate.
lpribis··on Kernel: Introduce Multikernel Architecture Support
Relatively common in more powerful embedded systems. See for example https://www.openampproject.org/ which is a framework for running multiple cores of Linux, baremtal, or an RTOS together.
lpribis··on Geedge and MESA leak: Analyzing the great firewall’s largest document leak
If it was a three letter agency, surely they have little motivation to leak it publicly? I feel it would be more strategic for them to keep the information to themselves since presumably no one outside of GFW development knows the exact details (until now).
lpribis··on NPM debug and chalk packages compromised
Updating packages daily (!) is insane to me as someone from the other end of the programming spectrum (embedded C). Is this really the recommended practice?
lpribis··on Writing a C compiler in 500 lines of Python (2023)
> How do you implement do while loops?

    loop {
        ...body
        if (condition)
            break;
    }
lpribis··on Here be dragons: Preventing static damage, latchup, and metastability in the 386
Yes, using 2 or three flip flops in series to prevent metastability is still common practice today. As is using diodes in that configuration for esd protection.
lpribis··on This website is for humans
I think the "soul" is coming from the fact that a human has worked, experimented, and tested with their physical senses a specific recipe until it tastes good. There is physical feedback involved. This is something an LLM cannot do. The LLM "recipe" is a statistical amalgamation of every ramen recipe in the training set.
lpribis··on Try and
'Go put your shoes on' is just another slightly different example of pseudo-coordination. I'm guessing that is has various levels of acceptance per-dialect (even within the UK) just like 'try and'.
lpribis··on Wikipedia loses challenge against Online Safety Act
Much of it comes from GDPR law which was passed prior to brexit. After brexit, the UK kept most of the regulation under the "UK GDPR", meaning it does apply in the UK as well.
lpribis··on Tram Trains
Yeah the only through-running trains through the actual city centre are the Elizabeth line and Thameslink. If you count slightly outside the city centre, you could also consider the West London Line (southern and overground), and the other overground from Croydon to Islington to be throu-running. But they slightly miss the city centre.
lpribis··on How to run an Arduino for years on a battery (2021)
This functionality is commonly built in to the microcontroller itself. MSP430s, STM32s ATMegas, and many others have real time clock and gpio wakeup functionality, which effectively lets you power off almost the entire die until either a time period passes or a gpio changes state. Commonly you can do similar for more complex peripherals as well, eg power off the core until you receive a UART message, but typically this is not a full power down like RTC sleep as it requires some peripheral clocks to stay running.
lpribis··on Pascal's Scams (2012)
You're lucky with that system of fine capping. I had the same mentality with the very expensive trains here, probably saved upwards of 2-3000£ until I got caught. Problem is they actually prosecute you in the courts for repeat offenders so I can no longer risk it.
lpribis··on Supreme Court's ruling practically wipes out free speech for sex writing online
Timmy's friend has a big brother that lets him use his ID. There will always be ways to circumvent this. The only functional difference between a simple setting in the browser and requiring ID attestation is how much surveillance it allows the government to do.
lpribis··on A compact bitset implementation used in Ocarina of Time save files
Haha, good to take the classic HN condescension on the chin ;)
lpribis··on Show HN: Spegel, a Terminal Browser That Uses LLMs to Rewrite Webpages
Another great example of LLM hype train re-inventing something that already existed [1] (and was actually thought out) but making it worse and non-deterministic in the worst ways possible.

https://schema.org/Recipe

lpribis··on Visual History of the Latin Alphabet
This is still the case for Dutch IJ.
lpribis··on The True Size Of
Use this site for that https://acme.com/same_scale/. It lets you compare any two map views at the same scale.
← PreviousPage 2 of 4Next →