HNHacker News
TopNewBestAskShowJobs

diroussel

1,008 karma · joined May 26, 2009

hi!
submissionscomments
diroussel··on Autonomous excavator constructs a six-metre-high dry-stone wall
So are you saying we couldn’t estimate the structural properties of autonomous built dry walls from local stone? Or that the error bars would be unacceptably large? Or just that this approach would only work with certain stone in certain locations?
diroussel··on Autonomous excavator constructs a six-metre-high dry-stone wall
So could catagorization of local stone based on acoustic and visual indicators, combined with random sampling and strength testing provide the assurance needed that a wall will have the required structural properties?
diroussel··on Google dragged to UK watchdog over Chrome's upcoming IP address cloaking
Indeed that was my point it doesn’t hurt Google just their competitors. Thus concentrating power and increasing their monopoly grip on the web.
diroussel··on Google dragged to UK watchdog over Chrome's upcoming IP address cloaking
Combined with Privacy Sandbox [0], this means the browser can track you directly without cookies, but websites can't track you via IP address. So it has the effect of centralising the tracking to google only.

I haven't used Chrome since this rolled out, since I didn't see a way to object to the new tracking. This is what the linked article [0] says:

> It’s unclear if toggling these features off will stop Chrome from collecting these data altogether, or if it just won’t share the data with advertisers.

[0] https://theconversation.com/google-chrome-just-rolled-out-a-...

[1] https://developer.chrome.com/en/blog/shipping-privacy-sandbo...

diroussel··on Engineers develop a process to make formate fuel from CO2
That pretty much is the definition of no-one.
diroussel··on Firefox got faster for real users in 2023
I have a userChrome.css to hide the default tabs. What do you have in your user.js and have you automated the install of it?

Here is a reference for the userChrome.css to hide the default tabs. https://news.ycombinator.com/item?id=23268077

diroussel··on Firefox got faster for real users in 2023
Combine the good performance with great add-ons like Multi Account Containers, and Tree Style Tabs, and you have a great browser.
diroussel··on A small warning about UDP based protocols
TCP's throttling mechanisms are quite coarse compared to what is described above, and they don't measure packet latency, only packet loss (after suitable timeout).

See https://en.wikipedia.org/wiki/TCP_tuning

diroussel··on My favourite API is a zipfile on the European Central Bank's website
Seem totally fine to me. As long as you can rollback if the download is truncated or the crc checksum doesn’t match.
diroussel··on Scientists Have Developed the Whitest White Paint Ever Made – Can Cool Surfaces
How did you measure the temperature of the painted material? The saw on this previously (just one yourube video) measured the temperature by using a an infrared temperature device. Which is not the same as the actual surface temperature. The temperature is inferred from the amount of infrared light detected, and the assumed emissivity of the surface. So when the the author concluded that the paint lowered the temperature of the surface by only measuring it with an infrared thermometer, it seemed a flawed conclusion to me. He had only shown that less infrared was emitted than other nearby surfaces, not that the temperature was lower.
diroussel··on Short session expiration does not help security
In Norway, Latvia, Belgium and probably others, the card is issued by the government. So there is no cost to the bank to re-issue a lost card.
diroussel··on Interaction to Next Paint (INP)
> I've never once seen a non-trivial (i.e. requires server-side state throughout) SPA that felt better to me than SSR.

What about gmail? That has all the state server side. How impressive would it be if all rendering was done server side?

diroussel··on Firefox address bar
How can we get people to do more searches?

Answer: don’t show anymore than three history suggestion items and provide no way to increase it

diroussel··on Firefox address bar
This is what I do for work. Most of the pages I go to are not on the open internet. And I usually want to go to a wiki page I’ve been to before or to a book mark. If I actually want to search i use the search box. But for me the url bar is for editing and finding urls.
diroussel··on Type-safe, K-sortable, globally unique identifier inspired by Stripe IDs
Storage can get corrupted, columns can be truncated. For the applications I tend to touch correctness and the ability to detect errors and tamper are more important that a couple of bytes per row. But every application and domain is different.
diroussel··on Type-safe, K-sortable, globally unique identifier inspired by Stripe IDs
The benefit is that you can reject bad requests to an API more easily.

For one application I used a base 58 encoded value. Part of it was a truncated hmac, which I used like check digits. This meant I could validate IDs before hitting the DB. As an attacker or script kiddie could otherwise try a resource exhaustion attack.

So in the age of public internet faceing APIs and app urls, I think built in optional check digit support is a good idea.

diroussel··on Monster gravitational waves spotted for first time
The earth going around the sun produces all the tides in all the oceans of our planet, excluding the lunar tides. The combined power of the tides is tremendous.
diroussel··on Investigating the impact of HTTP3 on network latency for search
Maybe there are some answers to that here

https://aws.amazon.com/blogs/hpc/in-the-search-for-performan...

Where AWS explain why TVP isn’t good enough for them and why they are developing a replacement.

diroussel··on Bun 0.6
No it was not. There were many, but for me the most significant early single page app was Outlook web access.

A colleague of mine went diving through the JavaScript source and found a reference to an ActiveX component called XMLHttpRequest. We realised it was pretty useful and ended up using it to build an SPA that approximated a spreadsheet for global logistics planning. It worked very for 2003 standards.

Google maps came in 2005

diroussel··on Pigz: Parallel gzip for modern multi-processor, multi-core machines
That is not the case with zstd.

According to this benchmark [1] zstd does not drop its decompression speed as the compression ratio increases. It stays about the same level.

[1] https://www.truenas.com/community/threads/zstd-speed-ratio-b...

diroussel··on GitHub is down
With git I can create, edit and merge branches locally. If GitHub is down I can push to another remote I can send diffs. I can calmly carry on working until GitHub is back. If GitHub is down too much I can migrate to gitlab or gitea.

I would say the decentralised features of git work for me. And they are no overblown.

diroussel··on Why are lithium prices collapsing?
How do you plan how much to supply?
diroussel··on Storage on Vercel
Also nodejs is deprecating versions at an impressive rate. Todays LTS will be out of date soon. AWS and thus Vercel have to follow along. So you can’t run a node based serverless app for more than a year or two before you either put the work in to upgrade or just cross your fingers that the forced upgrade won’t break your app.
diroussel··on Why are lithium prices collapsing?
There are alternatives to shaking hands; no greeting, bowing, classes hands, high five, fist bump etc.

If supply and demand is just a convention, they what are the alternatives?

I guess I’m ignorant, but central planning is the only one I can think of.

diroussel··on JEP 442: Foreign Function and Memory API (Third Preview)
If you can’t break a thread out of an infinite loop, that is pure cpu and no io, then the run time is not preemptive, surely??
diroussel··on Ellen Brown: The Looming Quadrillion Dollar Derivatives Tsunami
Derivatives can be used to manage risk in the production of goods. For instance I’ve invested money land rental, seeds and tractors. I hope to get the money back over the next ten years from selling wheat. But there is a risk that the price of fertilisers goes up too much over this period, risking that I don’t make my money back. So I could buy a derivative on the price of fertiliser so that if fertiliser goes up I don’t make money on the wheat, but I do on the fertiliser. And if the fertiliser goes down, I make money on the wheat.

But this is not to say that I disagree about regulation. It would be nice if we could limit the depth of the transitive tree of contracts. But I doubt that is feasible.

diroussel··on Things I’ve learned in my years as a software engineer (2021)
I’m sure you could change his mind with a good reason. What reasoned argument can you give as to why it would be better to have a strong opinion about why one type of merge is always better.
diroussel··on Apple announces full Swift rewrite of the Foundation framework (2022)
C# is not a C-like language. It's a managed runtime with garbage collection.

However Mark Russinovich, CTO of Azure did say that it's time to drop C and C++

https://twitter.com/markrussinovich/status/15719951172335042...

diroussel··on Auth.js Authentication for the Web
We wanted to deploy into AWS lamba (using nextjs) with the main login flow being outside the app, then token validation being in a edge lambda. This decoupled the app from the authentication , we didn’t need any any authorisation.
diroussel··on Auth.js Authentication for the Web
I’ve been in this situation before. I had a full dev team, we had a security architect assigned to us. We needed to do a pen test regardless of it we used a framework or wrote it from scratch.

Our requirements were quite unique and so writing custom code but aligning to an OIDC style flow was a good choice for us.

In the end it was a good choice and much easier than forcing an auth framework to do something it wasn’t designed to do.

← PreviousPage 3 of 18Next →