HNHacker News
TopNewBestAskShowJobs

MartinodF

347 karma · joined October 11, 2011

submissionscomments
MartinodF··on There's No Limit to How Bad Code Can Get
While I agree and I have done more than one rewrite / cleanup of messy codebases quite successfully with LLMs in the past few months, I can assure you plenty of people are still using the latest models to accrue technical debt faster than I thought was ever possible. The model "taste", assuming it has one, does not survive bad instructions
MartinodF··on Linux 7.3 improves performance when running out of vRAM
If you're referring to Apple Silicon, my intuition is that the SoC design allows for higher bandwidth between SSD and RAM which reduces the performance impact of paging. I might be totally wrong though
MartinodF··on How Go detects struct copies with sync.noCopy
100% also our experience. We have an internal CLI which has grown to almost half a million lines of Go, mostly contributed to by first-time gophers (and agents nowadays), and with relatively little work spent on making sure the core entities and interfaces encourage doing the right thing, the entire codebase is still surprisingly readable and free of unexpected behaviors.
MartinodF··on Improving Heuristics for A* Pathfinding
I'm also fairly certain I read a "helsp" instead of "helps" somewhere in the post
MartinodF··on Go 1.27 Interactive Tour
Say you have some code that does a request to an HTTP/1 dependency, and if it get an error response, just closes the connection without reading the response body.

Go 1.26 in practice never re-used that connection, it always established a new one because you can't reuse a connection which has a pending response ready to be read.

Go 1.27 will now consume the body for you, causing your application to re-use connections much more aggressively, bringing in potential edge cases (e.g. dependency is broken, connection is now permanently unusable, your app no longer recovers automatically).

To be clear, I'm very glad for the change and I had equivalent code in our in-house framework to do just that, but yeah it does change the behavior in a way that it could expose undetected issues.

MartinodF··on GitHub Copilot is moving to usage-based billing
Which is almost guaranteed to be the case for a large org, considering everyone will want auto complete and PR reviews, but on average most will not be making a ton of agent use
MartinodF··on You don't want long-lived keys
We do a lot of request signing (think AWS sigv4a) which practically speaking amounts to 1-request.
MartinodF··on GPT-5 Demo Mistake About Bernoulli Effect
This is a pet peeve of mine and I'm glad to see it called out. That said, I haven't seen a comprehensive discussion of "here's the different factors that we think contribute to creating lift" for the general public, is anyone aware of a good source?
MartinodF··on We identified a North Korean hacker who tried to get a job
Yes, I am in a hybrid role, went through 5 interviews and several more check-ins, and the first time anyone saw me in person was on the first day when I picked up my laptop at the local office (which wasn't even required, I had the option of having it shipped at my home address)
MartinodF··on Terminal colours are tricky
I'm also 37. Two younger colleagues were complaining this week that something like `os.MkDir(..., 0755)` is extremely confusing and that they don't like and can't make sense of octal file permissions. I felt really old :)
MartinodF··on Don't defer Close() on writable files (2017)
Yeah but is it safe for concurrent use?
MartinodF··on Show HN: Open sourcing Harmonic, my Android Hacker News client
First of all, thank you for creating this app. A couple of years ago you've finally put an end to my decade of looking for a decent HN client for Android and I haven't looked back. I actually run Harmonic in Windows Subsystem for Android and on ChromeOS to use it as my primary way of browsing HN on all devices!

That said, if you have any spare time to dedicate to it, it would be great if you could open some issues on GitHub to express what you have been wanting to do but didn't manage to. I don't have any gripes with the app as-is (other than adding Material You support, but that's likely to require some large changes) and it would be great to have some guidance on what would be useful to contribute.

Thanks!

MartinodF··on Git Notes
I've read many times about git bisect being used effectively on the Linux kernel, so I'm not sure build times are that much of an issue...
MartinodF··on Germany pushes for ‘pay as you fly’ model
Card-only is way more common than you think in some countries, northern Europe in particular in my experience.
MartinodF··on I tried 30 mustards this summer
We have a ton of Christmas-only or Easter-only desserts in Italy, all very good. I'm guessing the short availability window increases sales, you just need to make sure you always have something in season ;) It's more of a tradition than anything else, really!
MartinodF··on Petite-Vue – 5kb subset of Vue optimized for progressive enhancement
I know it's just an example, but it's really straightforward: you create a component which accepts a boolean prop and, based on that, either outputs the default slot directly or a wrapper containing the default slot via a simple v-if.

If you wanted to get fancy, you could also accept a tag prop and v-bind all other $attrs on the container to make that a general purpose component.

MartinodF··on Freenode commits suicide, is no longer a serious IRC network
I know you're joking, but dynamite is actually used to extinguish oil well fires: https://en.wikipedia.org/wiki/Oil_well_fire#Extinguishing_th...
MartinodF··on Natto.dev – A Canvas for JavaScript
You should complain to you browser vendor, not the website owner. Swiping back works just fine on Android.
MartinodF··on Zero click vulnerability in Apple’s macOS Mail
Sharing what's currently on screen (be it either a picture, a webpage or mean entire app) by touching two phones (Android Beam) was really convenient and ahead of its time. It is now being replaced by Nearby Share though, which works similar to AirDrop.
MartinodF··on Starship / Super Heavy
The rocket weighs quite a bit less at the end, having used most of its fuel, so only two engines are needed to land. The engines cannot be throttled down more than ~50% (as all rocket engines), so a third one would add too much thrust.

Falcon 9 does the same, relighting 3 engines (out of 9 total) for the boostback burn, 3 for the entry burn and then just 1 for landing.

MartinodF··on Artist releases album called “Ok Google Play Music” on Spotify
It does have Chromecast support, I've used it at least on Android and on music.youtube.com. I can't vouch for iOS though!
MartinodF··on Starlink WiFi Router FCC Approved
Yep, same in Milan, Italy! I think they just realized zip codes are not so useful once you're dealing with the whole world ;)
MartinodF··on Netflix to cut streaming quality in Europe for 30 days
Most FTTH connections in Italy are 1000/100 or 1000/300 Mbit/s. I guess most people wouldn't even notice the difference in upload between 100 and 1000 Mbit/s.
MartinodF··on GitLab Security Release: 10.3.4, 10.2.6, and 10.1.6
tl;dr: several vulnerabilities, including a remote code execution which affects all GitLab versions since 8.9.0. Patches are available for 10.3, 10.2 and 10.1. There's also an alternative workaround which consists of disabling the "GitLab export" importer from the admin settings. Vulnerability details will be published on their blog approximately 30 days from now.
MartinodF··on Creating believable crowds in Planet Coaster
Snapseed (Android & iOS) does a great job as well. It lets you go back to each of the previous steps and edit the parameters without losing your current state.
MartinodF··on Ian's Shoelace Site
I would be interested in a site like that too!
MartinodF··on Your location history
I remember opening Maps on my Android phone during that period and being localized there (instead of Milan where I live) at least a couple times, so I wouldn't be surprised if that was the reason.
MartinodF··on Lightweight HTML5 Grooveshark Player
Surprisingly, it works fine here in Italy too.
MartinodF··on Leaseweb has wiped all Megaupload servers
You may be right! In that case, that's the risk you take when you decide to store the only copy of your important data on a service which is known for offering tons of pirated content (Megaupload appeared among the top results when searching for movies, tv shows, cracks and so on), run by a man who "was convicted of 11 counts of computer fraud, 10 counts of data espionage, and an assortment of other charges" [1]. If you really don't want to have a secondary copy, you should at least inform yourself about the company you're trusting your data with.

That said, I'm sorry for everyone that lost their data, but it's really not different than your hard drive failing without a backup.

[1] http://en.wikipedia.org/wiki/Kim_Dotcom

MartinodF··on Leaseweb has wiped all Megaupload servers
The hypocrisy?
Page 1 of 2Next →