HNHacker News
TopNewBestAskShowJobs

diroussel

1,008 karma · joined May 26, 2009

hi!
submissionscomments
diroussel··on Leon: Open-source, self-hosted personal assistant
Do you have a problem with that, Dave.
diroussel··on Photopea: A Photoshop clone web app
Just because RMS says it doesn’t mean it’s true.
diroussel··on Things not available when someone blocks all cookies
The question was about storing state in the URL. You are referring to storing a session I’d in the URL. Quite different.
diroussel··on At $249 per day, prison stays leave ex-inmates deep in debt
The “/s” is Internet forum code for “sarcasm” which is a type of humour. This indicates the author knows it’s not true, but perhaps thinks it’s it would be funny if it was true.
diroussel··on A Programming Language Database
JSON Schema has an ‘if’ construct. That gives JSON a standardised way to do flow control.

I’m still not sure I would call it a programming language. But I wouldn’t say it’s not one.

diroussel··on Why use Paxos instead of Raft?
Would this approach be resistant to a rogue actor. If one actor bad data would all the other actors still be able to reach consensus?

Paxos is complicated, but it’s well studied and proven.

diroussel··on Big changes ahead for Deno
This is true.

But in practice they take a long time to warm up, may or may not get faster, and in general don’t attempt total program optimisation. As some parts of the node standard lib is native code and can’t be optimised at runtime.

diroussel··on Big changes ahead for Deno
One option is to do type checking with tsc (or in your unit tests). And build into a single file with tsup.

https://tsup.egoist.dev/

diroussel··on Computing Adler32 Checksums at 41 GB/s
What are your requirements? Tamper resistance? Error detection? Error correction? Speed vs time vs space trade off?
diroussel··on How to estimate disk space
As much as i dislike the names, kibibytes etc, it makes sense not to re-use SI unit prefixes. SI did comes first and it broadly applicable.

Ask for disk sector alignment; we don’t have disk sectors any more, we use SSDs with blocks. And the sizes don’t need to have a neat number of kilobytes. Just the same as a litre of water doesn’t have a neat number of H2O molecules in it.

diroussel··on Vercel Build Output API: Infrastructure-as-Filesystem
Could this output format be used by others, to deploy to other platforms?

I currently use [1] to be able to deploy a nextjs app to AWS with API Gateway. Would be nice to have standard patterns for cloud deployments for mulitple frameworks.

[1] https://github.com/serverless-nextjs/serverless-next.js/blob...

diroussel··on Logitech MX Products are incompatible with AirPods
The whole reason that these systems (Bluetooth, Wi-Fi and unifying) use 2.4GHz is because it’s unregulated.

So if one Bluetooth device interferes with another, but not other bands, then it won’t be breaking any laws. But it might be breaking a contract about the use of the Bluetooth or Wi-Fi logos.

diroussel··on Show HN: Yboard is a multiplayer desktop-like workspace based on CRDT
Could WebRTC be used instead of websockets? Then you wouldn’t need a server (apart from a public STUN/TURN endpoint)
diroussel··on The computers are fast, but you don't know it
There is a data access strategy called cache oblivious algorithms which aim to make it more likely to utilise this property without knowing the actual cache size.

I used that approach once on a batch job that read two multi megabytes files to produce a multigigabyte output file. It gave a massive speed up on at 32-bit intel machine.

https://en.wikipedia.org/wiki/Cache-oblivious_algorithm

diroussel··on The computers are fast, but you don't know it
That is quite an amazing way to put it.

So the processor in my hand can compute a multiplication fast than light can cross the room?

diroussel··on New Human Interface Guidelines
Thanks good to know.

It would be great if apple documented that in the Help menu.

diroussel··on A Brief History of Frankincense
It’s a very brief summary. Rather than complaining you would do better to elaborate and and educate.

From the encyclopaedia Britanica it says:

> magus, plural Magi, member of an ancient Persian clan specializing in cultic activities. The name is the Latinized form of magoi (e.g., in Herodotus 1:101), the ancient Greek transliteration of the Iranian original. From it the word magic is derived.

https://www.britannica.com/topic/Magus

But I’d love to hear more.

diroussel··on New Human Interface Guidelines
Yeah Photos app doesn’t do well with keyboard operation either. If you are in full screen mode, and you have gone from the grid to view a single photo, you might expect that the Esc key will take you back to the grid view, but no, it just exits full screen mode.

Same in the App Store app. There is no keyboard short cut to go back to the main list.

diroussel··on Actor system for the JVM developed by Electronic Arts
It’s not the same as async objects. There are differences between different score systems. But have a look at Elang and Akka for example.

But I’m actor systems the actors maybe more stateful that you typical object and be location transparent. Communication between actors does require knowledge of if another actor is in process or remote.

Also the actor supervising model is a completely different way of recovering from errors than in OO systems.

diroussel··on 3,200-year-old Egyptian tablet records excuses for why people missed work
I was talking to a Jamaican primary school teacher once. She told me that the songs (Nursary rhymes) that they teach the kids are often based on old English ones ( like ring-ring-a-roses) but any reference to the four seasons have been mutated. Since in Jamaica they just have two seasons; wet season and dry season.
diroussel··on In defense of simple architectures
You can use split view to keep an eye on another channel. But another window would be better.

https://slack.com/intl/en-gb/help/articles/4403608802963-Ope...

diroussel··on Useful Shell Prompt (2020)
Install https://starship.rs it works with bash and zsh, and many others shells. And you get the red arrow for failed commands out of the box. No extra config required.
diroussel··on Useful Shell Prompt (2020)
Also it’s useful to see what branch you were on when you ran a particular command, as you scroll up through the commands and outputs you ran previously.
diroussel··on Useful Shell Prompt (2020)
Starship.rs is great. It has the red prompt feature mentioned in TFA by default. And it’s fast. And means I can easily have the same prompt in bash and zsh, on macos and Linux.
diroussel··on Gitlab 14.8 Released
Why would you want to turn off JavaScript?
diroussel··on Do things, tell people (2012)
Panda looking chain
diroussel··on Jeff Bezos’s Yacht to Force Dismantling of 130-Foot High Dutch Bridge
Just delete cookies for the site in question. Poof. Paywall gone. Seems to work on every “first 3 articles free” paywall I’ve seen.
diroussel··on Bittersweet Symfony: Devs accidentally turn off CSRF protection in PHP framework
There is certainly less need for it now as browsers have many more mitigations in place than when CSRf was first introduced.

But I would say yes you still need it for defence in depth.

For instance in RFC6749 (OAuth 2.0) it says clients MUST implement CSRF for the redirection step.

diroussel··on SBCL: New in Version 2.2.1
It’s common that many languages find windows support hard as it’s so different to all the unix-like operating systems.

Node.js used to have patchy support for Windows. It took time and investment from Microsoft themselves to fix that.

diroussel··on Party like a Sumerian: reinterpreting the ‘sceptres’ from the Maikop kurgan
I think the point is that these particular tubes were not recognised as drinking tubes until now.
← PreviousPage 5 of 18Next →