HNHacker News
TopNewBestAskShowJobs

nhoughto

451 karma · joined October 9, 2014

submissionscomments
nhoughto··on Meld is a visual diff and merge tool targeted at developers
Haven't tried Meld and i'm always up for an enhanced workflow but merge/diff is all about context, the more context you can add about where something came from / is going to, its history etc the better. In this regard it is almost impossible (never say never) to beat your IDE for the possibility of a good merge/diff, it has all the context plus syntax highlighting, compiler errors / build scripts etc. I can merge two files, plus git blame where the changes came from, plus syntax highlight and see likely compile errors, remove unused imports and apply consistent formatting all in one step.

This is why I always use IntelliJ merge/diff for supported languages, it just has so much more information about the merge/diff already available.

nhoughto··on Embedded Malicious Code in node-ipc
ah ok so as a library author you can't actually enforce _your_ assumptions about transitives, bc user of the library local lock file overrides but as a library user with a local lock file that I craft and care about it is effective. That is a relief.
nhoughto··on Node-ipc supply chain attack: peacenotwar
it would take a drastically differently designed execution environment to support meaningful library level sandboxing. After packaging/linking/bundling/compiling etc depending on language/flavour often a library is indistinguishable from 1st party code, there is no boundary to sandbox.

Without a large scale change, you'd have to fork a new process for each 'library' to create a process boundary to then sandbox, which is actually what you do sometimes (think firing ffmpeg or openssl or similar) but doing it for each library would be prohibitive, especially in NPM world where you blink and have thousands of libraries =)

nhoughto··on Embedded Malicious Code in node-ipc
I didn't know that about yarn transitives, do you have a link explaining more about the problem? I assumed a yarn.lock would.. lock, interesting to know more.
nhoughto··on Popular Patreon creators are being hit with Vimeo price hikes
Maybe they read HN =)

https://vimeo.com/blog/post/improving-policy-on-video-bandwi...

nhoughto··on Hands-On with PostgreSQL Authorization – Part 2 – Row-Level Security
ah cool, i've implemented a similar thing but baked into the app dao+authz layer (so easier to do).

I would never guess people would use row level security for this for the reasons you've outlined, rarely (?) is one database the only resource you need to authorise access to, so you will need an authz for all non-db things anyway. Always assumed row-level authz was more for data warehouse type applications where a User has a client directly connected to a database, not intermediated thru multiple levels of abstraction.

Cerbos approach logically seems to make more sense to me than the general Zanzibar inspired methods like Authzed and others. I could never wrap my head around how they could authorise access (Pre and Post filtering?) to data without pushing down conditions to join with into the store. Actually having a 3rd party system like Cerbos be able to push down conditions and have good ergonomics is another thing, that is a tough problem.

nhoughto··on Popular Patreon creators are being hit with Vimeo price hikes
interesting idea, expect vimeo would be paying for bandwidth as a flat rate per GB/sec not per GB transferred. So their costs vs what they are charging would be quite different, also if their bandwidth costs are roughly flat (not based on transfer) then culling/causing churn in the 1% reduces the utilisation of their fixed cost.. or maybe they are running a very high utilisation and culling the top 1% every month gives them more headroom =)
nhoughto··on Popular Patreon creators are being hit with Vimeo price hikes
Pricing relative to your rank as a percentile has some weird properties, one month you might be in the 99% then next month it cost you big $$ in the 1% with exactly the same traffic.

That would be surprising to most people I’d expect, totally not deterministic and kinda hostile. A more explicit “unlimited = 2TB/month” no matter your percentile would be more honest, but then you’ve said “unlimited == limited” which is a lie.

The percentile thing seems like a fairly obvious hack to keep using the word unlimited. Probably an MBAs idea..

nhoughto··on American mask makers are going out of business
Reminds me of the vocal American n95 mask producer who wasn’t operating at 100% production 2 years ago bc he has seen it all before, knew buyers wouldn’t appear just bc American and would opt for cheaper products naturally undermining stable domestic supply. If he ramped up he would just erode his profit margin, sad.
nhoughto··on How “latency numbers everybody should know” decreased from 1990–2020
Oh right

I was trying to see where the comparison was, totally missed the slider, thanks!

nhoughto··on SPAs Were a Mistake
Not the reasons I expected

I don’t see Navigation as a main problem and it can be solved quite neatly, not that much more complex than a normal site. Was expecting something about bundle size etc.

nhoughto··on What's Going on Inside Your Node_modules Folder?
yeah gradle/maven packages benefit from being much more coarse grain, so fewer large packages, fewer authors, fewer transitives, fewer risks in theory. Quicker to download and manage too, it really is just the tiny size of JS packages that causes much of the problems, having an RCE baked into NPM doesn't help either I guess..

I did just check my ~/.gradle is 17G, I can probably delete Gradle 4.0, 4.1, 4.8, 5.0... thanks for the reminder! =)

nhoughto··on Why Apple’s new M1 chips are essential for rapid iOS development
Yep agree, having spent some time digging into why Xcode builds are slow it looks like low investment is a major reason. The tooling and optimizations are fairly primitive compared to other ecosystems and harder to get right where they do exist. It’s just not a priority it seems, likely because new features win out.. and selling new hardware “solves the problem”.
nhoughto··on Show HN: Container registry on a budget using AWS S3
What registry features do you lose doing it this way? a normal registry isn't just serving dumb files is it? It is essentially an API that can find images by tags, sha256 etc against a backend. It manages lifecycling of things as they are replaced etc.

I imagine you could live without or substitute some of these features but are there any showstoppers?

nhoughto··on AWS Lambda adds supports for .NET 6
You can package a lambda as a container image, but lambda doesn’t itself run the container like it would in dockerd or kube etc, it’s just a packaging mechanism I believe.
nhoughto··on Why does Google still have the “I’m Feeling Lucky” button?
What was the tipping point where spam won the SEO arms race? Feels like SEO has been a thing for decades, cat and mouse, back and forth and the outcome for the search user has been good/decent results for most of that time, there have been big corrections against spam like Panda but generally consistent good results.. then recently bam! huge downswing in quality, spam won the war? Or Google gave up? Seems kind of unbelievable that suddenly its all gone to shit, what changed?
nhoughto··on PlanetScale increases plans to include billions of reads
That is wasteful too, but deterministically wasteful. You know exactly how wasteful you are being and how much it will cost.. no surprises.
nhoughto··on Why does Google still have the “I’m Feeling Lucky” button?
Yeah if they removed it there would definitely be commentary about how theyve changed. Plus there must be a whole team that managed that functionality, what would they do then?

Help fix the search results maybe..

nhoughto··on I shaved 187MB off United Airlines' 439MB iOS app
187MB of symbols seems like alot! Kind of funny that this bloat could be reduced by X% just by having a shorter path in the CI pipeline and not even stripping, also surprising that xcode doesn't strip swift symbols by default for a release build? Some low hanging fruit right there
nhoughto··on What to do if a cop tries to scan your face during a traffic stop
Passengers would be one difference I suppose
nhoughto··on Do Not Recommend: User Provided Primary Keys
Yeah it is essentially storing bytes in a encoded form.. it is never the most efficient way. uuid, hex, base64 whatever.. when it hits the db it can be decoded into bytes and stored more efficiently which is generally a good idea.
nhoughto··on Ask HN: Why don't more software projects use BitTorrent for downloads?
Yep came to say the same, because a lot of software is already hosted in a lower friction way by GitHub and similar. So unless you have a need/want to host it yourself and maybe benefit from the optimizations then why bother?
nhoughto··on Podman 4.0
I think the most surprising coming from docker was that containerd can’t build images, just run them, thus nerdctl and things plus other userspace ways of building images too.. so many options..

Totally makes sense when you understand more but initial is surprising.

nhoughto··on Podman 4.0
Is there an eli5 or similar on the differences between podman / docker / rancher / others?

Feels unexplained (at least for me), how do I know which to choose when and what are the trade offs?

I recently went deeper on Rancher Desktop and it’s use of containerd vs dockerd backends and it is totally not obvious what you lose if not using dockerd and how you might fill the gaps. Feels like because docker established the space and put a bunch of related components together (cli, image building, image storing and container running) and other projects make difference choices it can be quite confusing to compare them.

nhoughto··on Compromising Angular via expired NPM publisher email domains
Maybe as way to help users contact authors without the registry not having to sit in the middle of it which would take effort. Should be an opt-in tho you’d think
nhoughto··on Logging at Twitter
I wonder what their splunk bill looks like, I imagine it’s not charged per GB =|
nhoughto··on Happy 15th birthday Hacker News
Wasn’t there a thread recently (can’t find it) about the limit of paging back to the earliest posts and that it actually started in October or similar? And feb is just the earliest the UI will let you click to, so anniversary is actually past already? Not to be a party pooper =|
nhoughto··on Filters to block and remove copycat-websites from DuckDuckGo, Google and other
Making it this obvious how to set this up made me finally do it, no more junk results (well less junk..). Thanks!
nhoughto··on What are your company's anti-values?
Interesting, I had the opposite reaction. Great that they are upfront and honest.
nhoughto··on Newegg has a bit of a scandal on its hands
Yeah right, that explains that then.

My strongest memory of Newegg is this, which is quite the opposite:

https://news.ycombinator.com/item?id=10986167

← PreviousPage 3 of 9Next →