HackerLangs
トップ新着トレンドコメント過去質問紹介求人

afiori

3,726 カルマ登録 7 年前
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 :)

投稿

What Is Man, That Thou Art Mindful of Him?

astralcodexten.com
1 ポイント·投稿者 afiori·9 か月前·0 コメント

コメント

afiori
·一昨日·議論
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
·一昨日·議論
Just use unsafe then
afiori
·一昨日·議論
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
·6 日前·議論
A tool to do automatic migrations eg react often publ
afiori
·12 日前·議論
This looks like something only a libertarian would like
afiori
·12 日前·議論
Well people that have been hearing of the slippery slope fallacy their whole life might end up biased against such an approach
afiori
·12 日前·議論
Regexes should have been a structured language not an hodgepodge of DSLs
afiori
·16 日前·議論
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
·16 日前·議論
Which makes me think that I have never heard of signed images/artefacts
afiori
·21 日前·議論
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
afiori
·24 日前·議論
This does not address how much the JWT header is a security footgun (eg you can inline remote keys into the header). if you are doing something simple you can disable all "advanced" features and be pretty safe but if you are doing something a bit more complex it is not so easy.

The only case where JWTs are actually useful is when the producer and consumer do not share a DB (eg OAuth/OIDC, iot deployments, heavy microservice architectures) otherwise a good cached session store should handle well up to a few orders or magnitude below google scale.
afiori
·26 日前·議論
Conceptually maybe you can compile flash to SVG+js but this has nothing to do with the point. Many insist (I have no direct experience) that the flash ecosystem (especially the editor) was and is unsurpassed as a publishing platform for interactive experiences.

Today with the current focus on mobile+low latency+e-commerce optimizations flash would probably have shown a lot of limitations, yet JavaScript, SVG, canvas, http webgl etc still fail to provide a "competitor" to what flash used to be.

The web simply went in a different direction, one that left many unsatisfied
afiori
·30 日前·議論
oh no, a new edge case tech has not replace the most popular tech stack ever, yet another failure after webGL
afiori
·30 日前·議論
Sure, figma is 6% of the internet
afiori
·30 日前·議論
Asking for 0% js 100% wasm website is like wanting a C-free linux distro
afiori
·30 日前·議論
Java's vm does not start in milliseconds nor has dozen independent implementations in every ecosystem
afiori
·30 日前·議論
Because Java was doing nothing similar, a better comparison would be .NET CLR that actually tried to be a decent compilation target.

Also security, Java has reflection so you cannot reliably sandbox java libraries
afiori
·先月·議論
This comment starts with a no, but agrees with the parent...
afiori
·先月·議論
Long term archival is often also about long term support and there just going with the most popular/supported ones might be a safer bet, eg in the extreme case if I wanted to save some digital photos in a time capsule I would likely choose PNG and JPEG
afiori
·2 か月前·議論
Maybe even split it into a set of small reusable coherent utility classes