HNHacker News
TopNewBestAskShowJobs

afiori

3,748 karma · joined January 23, 2019

This about had been empty long enough; I will use it for a book recommendation: Unsong, by Scott Alexander

http://unsongbook.com/

My guess is it will be the weirdest book you will have ever read.

If it is not, please, I am curious about what is your weirdest book :)

submissionscomments
afiori··on GrapheneOS in 2027 available on high-end Motorola phones
you are right a stack of printed qr codes is better
afiori··on Anthropic's ‘watermark’ text adulteration in Claude is a perversion of writing
Yes, but i cannot create a robot that can get married, people do not have the right to give personhood to tools
afiori··on Children's stunted lungs show recovery in ultra low emission zone
Woke activists love the word "systemic" for a reason.

If a bunch of good people acting in good faith produce a result an evil mastermind would want does it matter if they are good? On many levels obviously yes, on some practical levels the system and the incentives still need to change.

afiori··on Anthropic's ‘watermark’ text adulteration in Claude is a perversion of writing
Weirdly I think humans should have more rights than machines
afiori··on Anthropic's ‘watermark’ text adulteration in Claude is a perversion of writing
A legislative solution to Flock seems a lot more feasible than one for literacy
afiori··on We Are Forking dotenvy into dotenv-ng
Most uses of .env files are for apps or containers imho, so you could just have a .env file in each folder and configure docker compose /node / whatever to pick it up
afiori··on Parsers don't have to be complicated
courtesy of chatgpt there is also this abomination

    ht tp://[\x00::gg]\t/foo\nbar/%/%QZ/%F?q=<\"|{}>##
afiori··on Parsers don't have to be complicated
% characters must be escaped in URIs at the very least, and _ is not valid in domains

also this one is valid too for the regex

    %_%://%_%.%_%/%_%?%_%#%_%
afiori··on Fastmail offers EU data region
Also the more companies go in this direction the more "soft power" the EU has on the topic
afiori··on Fastmail offers EU data region
The elitism of direct democracy is a mystery to me, especially in the case of the US where it is not technically direct and the powers and role of the president are deeply modelled after those of the British crown of the times
afiori··on Parsers don't have to be complicated
> well-formed URI

A parser that assumes the input to be already valid is usually not enough for most applications

according to that regex this is a valid url

__..__..%%%zz..

afiori··on IMAX vs. IMAX 70mm: The difference between these two cinema formats
I would guess that the film was still mastered/produced digitally
afiori··on EU Exempts Apple Watch and AirPods from Battery Removal Requirements
you can, but many of those repair can be delicate and require specialized equipment.

The difference between the 2 requirements is the level of technical knowledge needed and the necessary investment in tools

afiori··on Why is it so hard for the U.S. to win wars?
IMO most of these appointments should be done by congress itself, the only reason they are done by the executive is because the role of president was a created on the template of the role of king.

except that without a "prime minister" now there is no separation between the "king" and the fulcrum of political power.

afiori··on Why is it so hard for the U.S. to win wars?
as the term rule of law suggest the legislative branch has the power to make the rules
afiori··on EU Exempts Apple Watch and AirPods from Battery Removal Requirements
IMO they entire law should have been target at "replaceable by independent professionals", it is reasonable to require industry standard professional equipment for opening and working on a phone
afiori··on Sony deletes more movies from the accounts of people who ‘bought’ them
I think many companies believe they own their cloud hosted DBs
afiori··on SQLite should have (Rust-style) editions
it would be sorta enough to bundle the wasm binary
afiori··on SQLite should have (Rust-style) editions
yes but no... most database allow for at least as many parallel and concurrent writes as there are tables at a minimum.

The "lock on write" problem is that in MySQL i could run a OLAP pipeline for a few hours and have a fully functioning database with degraded perfomance, on SQLite the same pipeline would lock the database for the full hour. (there are surely ways to solve this (eg using the main db as read-only and a secondary db for writes or splitting the writes in incremental transaction), but it is not a "myth".

afiori··on Rewriting Bun in Rust
What I mean is that unsafe code allows you to eg break std invariants (set invalid length to Vec, unlock a locked mutex, etc.) in ways that can be UB, which of these are UB and which can be used "safely" is sort of unknown.

For better or worse they are much more well understood in C as they are front and center of the language semantics

afiori··on My thoughts on the Bun Rust rewrite
To be pedantic the ad hominem fallacy is about trying to deny an argument by attacking the author, so in a discussion about zig Vs rust if Andrew isn't trying to enter the discussion and just argue "that guy was stinky, glad he is gone" is not really an ad hominem, just not classy let's say.
afiori··on Rewriting Bun in Rust
Just use unsafe then
afiori··on Rewriting Bun in Rust
I agree with your point, but for completeness:

> How is not having to mark your unsafe code as unsafe a good thing?

The problem with unsafe code in Rust is that IIRC nobody actually figured out yet the "rules" of unsafe i.e. which invariants you can stretch and which can cause UB. My (not super up to date) understanding is that this is an active area of research and progress is being made and also that in practice there are many well understood usages.

In short unsafe rust is somewhat worse than C++ as the boundaries of UB are less well understood/defined

afiori··on Shadcn/UI now defaults to Base UI instead of Radix
A tool to do automatic migrations eg react often publ
afiori··on Age verification is just a precursor to automated attribution of speech
This looks like something only a libertarian would like
afiori··on Age verification is just a precursor to automated attribution of speech
Well people that have been hearing of the slippery slope fallacy their whole life might end up biased against such an approach
afiori··on Regular expressions that work “everywhere”
Regexes should have been a structured language not an hodgepodge of DSLs
afiori··on The Road to the WASM Component Model 1.0
The issue is that many modern DOM APIs assume js semantics and types (eg promises, iterables, etc) so you need to "reimplement" some js semanthic in wasm; sorta like how apple added a few custom instructions on the M1 chip specifically for the type of floating point operation required by js.
afiori··on A Practical Guide to SSH Tunnels: Local and Remote Port Forwarding
Which makes me think that I have never heard of signed images/artefacts
afiori··on Project Valhalla, Explained: How a Decade of Work Arrives in JDK 28
I understand ai hate but I would rather avoid a future where everybody talks in purposely weird and unstructured sentences to avoid being similar to ai

By necessity a lot of people write very similarly to how llm do

← PreviousPage 2 of 34Next →