HNHacker News
TopNewBestAskShowJobs

fiddlerwoaroof

6,536 karma · joined July 16, 2014

el-hn [at] elangley.org

fiddlerwoaroof.at.hn

submissionscomments
fiddlerwoaroof··on Baffled by generational garbage collection – wingolog
And, escape analysis and "dynamic extent" hints can have similar effects by stack-allocating intermediate values. Also, you can design your transformations to compose before handing off to a result builder, which is how modern Clojure reduces this problem.
fiddlerwoaroof··on Baffled by generational garbage collection – wingolog
Yeah, immutable collections have to use structure-sharing to be implemented efficiently and this frequently results in common operations allocating lots of small objects rather than updating some object in-place.
fiddlerwoaroof··on Baffled by generational garbage collection – wingolog
If you could add some sort of hint to the object pool instance that it should always be in the new generation, then you wouldn’t have this problem. This could probably be provided generically as a class named something like NurseryCollection.

However, I thought the people that really were serious about performance would allocate the pool in memory the GC doesn’t control (back in the day using internal APIs, but I think there are new official APIs for this) such that the object pool and every object in it would just be ignored by the GC.

fiddlerwoaroof··on Ada crate of the year 2024 announced
I haven’t tried Ada recently, but the issue I always have run into is setting up a toolchain that wouldn’t automatically force the binaries I compile to be GPLed. Is the story for writing and distributing MIT or Apache2 licensed software in Ada any better these days?
fiddlerwoaroof··on Show HN: FlashSpace – fast, open-source, macOS Spaces replacement
I use a single large screen (55”) but I keep my MacBook open so I can send things like my music player there where I can glance at them.
fiddlerwoaroof··on VSCode’s SSH agent is bananas
It can do anything you can do over SSH
fiddlerwoaroof··on Sniffnet – monitor your Internet traffic
Well, if you control DNS, couldn’t you just block the key records?
fiddlerwoaroof··on Sniffnet – monitor your Internet traffic
Is there a way to force SNI by blocking ECH requests?
fiddlerwoaroof··on It's OK to hardcode feature flags
This sounds like an integration issue: systems like LaunchDarkly typically allow you to specify a default value for when the feature flag server can’t be reached.
fiddlerwoaroof··on We got hit by an alarmingly well-prepared phish spammer
The other thing Gmail does is ignore `.` in the local part. So, one other trick would be to use particular dot patterns for specific accounts.
fiddlerwoaroof··on An update on Dart macros and data serialization
I’ve been working with Common Lisp for about ten years now and I’ve never found that this criticism matches the reality of working on lisp codebases.
fiddlerwoaroof··on Apache Iceberg
Delta Lake now has Hilbert-curve based clustering which solves a lot of the downsides of hive partitioning
fiddlerwoaroof··on Wildfires are erasing California's climate gains, research shows (2022)
As far as CO2 is concerned, wouldn’t burning “yard waste” be neutral year over year? If you’re only burning this year’s growth, you can’t release any more carbon than the plants took in to grow in the first place. The wildfires might not be neutral because our forests are overgrown, but if they happened more frequently and only burned a years worth of undergrowth, they would be
fiddlerwoaroof··on Cheating Is All You Need
No, the claim is just that it’s harder to read and verify existing code than to write new code. Depending on the level of certainty you want, verifying code is much more expensive than writing code, which is why there are so many bugs and why PR review is, imo, practically worthless.

Switching the job of programming from designing and writing code to reading and verifying code isn’t a good trade-off in terms of making programming easier. And my first speei node with AI tools has done nothing to change my mind on this point.

fiddlerwoaroof··on Cheating Is All You Need
Verifying code is much more mental effort than writing it because you have to reconstruct the data structure and the logic of the code in order to show that the code you’re reading is correct.
fiddlerwoaroof··on Cheating Is All You Need
> You get the LLM to draft some code for you that’s 80% complete/correct.

> You tweak the last 20% by hand.

> How much of a productivity increase is that? Well jeepers, if you’re only doing 1/5th the work, then you are… punches buttons on calculator watch… five times as productive

Except, it’s probably four times as hard to verify the 80% right code as it is to just write the code yourself in the first place.

fiddlerwoaroof··on Be Aware of the Makefile Effect
Imo, the only solution is to avoid boilerplate generators and the parent poms projects like spring boot use for things like pom files: you can look at the boilerplate to get ideas for what might be necessary, but, if you’re starting a project, write the pom yourself. It’s a pain the first couple times, but it gets easier to know what you need.
fiddlerwoaroof··on Bringing SerenityOS to real hardware, one driver at a time
I think it’s pretty different when it’s going to a trillion-dollar company than when it’s the main source of money for a foundation.
fiddlerwoaroof··on Bringing SerenityOS to real hardware, one driver at a time
WebKit is funded by Apple, not Google anymore as far as I know
fiddlerwoaroof··on Apple squandered the Holy Grail
I love the Apple Music app too but the trick is to mainly use the songs tab and playlists and enable the column browser. Also, of the current widely-used options, Apple Music is second to none at this point: old apps like Amarok were nicer but they practically don’t exist anymore. Spotify, Tidal, Qobuz, etc. are all much more annoying than Apple Music (in part because they are Electron Apps).
fiddlerwoaroof··on EU law mandating universal chargers for devices comes into force
I would much rather have different connectors for different underlying protocols: HDMI and USB-C are both really annoying in that the cable can silently be the limiting factor.
fiddlerwoaroof··on EU law mandating universal chargers for devices comes into force
Lightning was a superior plug to USB-C and I, for one, am annoyed that Apple is dropping it.
fiddlerwoaroof··on EU law mandating universal chargers for devices comes into force
USB-C is a horrible standard to consolidate on because of all the confusion about various sorts of USB-C cables (with exactly the same physical connectors) and thunderbolt cables.

Similarly, I’m glad Tesla convinced all the other American manufacturers to go with NACS for the American market because the CCS plugs are monstrosities.

fiddlerwoaroof··on Java in the Small
Not writing the same thing over and over again is a feature of abstraction. A framework is a user-hostile way to abstract because it makes the source code opaque to developers. There's no reason why a library-based approach has to be more repetitive than frameworks.
fiddlerwoaroof··on Java in the Small
Yes, the problem is exactly that the framework calls your code instead of being called by you code.
fiddlerwoaroof··on Java in the Small
I've had to maintain a couple Spring Boot apps and I absolutely cannot stand them: they pull in a whole pile of random dependencies and do weird things to your build with little explanation. Then, all the functionality involves a ton of classpath scanning and annotation-based DI that makes it hard to figure out how all the things fit together.
fiddlerwoaroof··on The Headlight Brightness Wars
I think the NHTSA just approved these, so hopefully they’ll start being more common

https://www.nhtsa.gov/press-releases/nhtsa-allow-adaptive-dr...

fiddlerwoaroof··on Array Languages for Clojurians (2020)
Other work on integrating APL and lisp is here: https://github.com/phantomics/april
fiddlerwoaroof··on GM exits robotaxi market, will bring Cruise operations in house
That basically works today, my point is that there was a step change in ability over the last year or two compared to when I got my car.
fiddlerwoaroof··on Elixir/Erlang Hot Swapping Code (2016)
Clojure has it for a large percentage of functionality: things like https://github.com/clojure-emacs/cider depend on it. However, this mostly stays in dev-time and isn't used much for releases. Which I find a bit funny because Clojure's functional, data-driven philosophy is great for enabling painless hot-code updates
← PreviousPage 6 of 34Next →