HNHacker News
TopNewBestAskShowJobs

sesm

1,488 karma · joined June 19, 2013

submissionscomments
sesm··on How to live an intellectually rich life
Philosophy is like math for humanities.
sesm··on OCaml's Wings for Machine Learning
Rust refs are not OCaml refs though. Rust just places more guardrails around update-in-place model, instead of using controlled references to immutable data like OCaml (and Clojure).
sesm··on Four Years of Jai (2024)
> async/await, a pattern increasingly polluting Javascript and Python codebases in the name of performance

In JS world async/await was never about performance, it was always about having more readable code than Promise chain spagetti.

sesm··on Four Years of Jai (2024)
One is also free to not provide the food for discussion, that's the choice jblow made.
sesm··on Researcher proposes model replacing dark energy/matter to explain universe
What does inflation explain though? It was proposed as an explanation for CMB spectrum. Anything else?
sesm··on Datastar: Web Framework for the Future?
People with 15+ years of experience are not the target audience for this framework.
sesm··on Suffering-Oriented Programming (2012)
Thanks for explaining! To me Rama looks so high level, that somebody feeling the pain of not having it should be launching new projects all the time, like a consultancy.
sesm··on Clojure: Realtime collaborative web apps without ClojureScript
In eCommerce, saving the cart on client side and doing optimistic updates in case client network is unstable is a standard feature.
sesm··on Suffering-Oriented Programming (2012)
Is the author still following this paradigm? I can't imagine a situation from which Rama would emerge like this.
sesm··on The cultural evolution of distortion in music
IMO the main difference between downstroke and alternate picking is that at the same tempo downstroke will have 2 times shorter attack, because the player will have to move their hand 2 times faster.
sesm··on Show HN: Nue – Apps lighter than a React button
Is it trying to sell Backbone.js-style MVC as a replacement for React?
sesm··on War story: the hardest bug I ever debugged
For stuff like this we used in-memory ring buffer logger that printed the logs on request. And it didn't save the strings, just necessary data bits and a pointer to formatting function. Writing to this logger didn't affect any timings.
sesm··on Ask HN: How Do I Escape Homelessness After Rebuilding My Mental Health?
I'm curious, why in a situation like yours you are looking for a remote job? It seems that an office job would be much better.
sesm··on Zlib-rs is faster than C
Yes, you are right, should be 'code emitter is LLVM, the same that Clang uses for C'
sesm··on Zlib-rs is faster than C
Rust code emitter is Clang, the same one that Apple uses for C on their platforms. I wouldn't expect any miracles there, as Rust authors have zero influence over it. If any compiler is using any secret Clang magic, that would be Swift or Objective-C, since they are developed by Apple.
sesm··on Hexagon Spiral Coordinates
The spiral looks unnatural, why not do it like this: https://imgur.com/a/e25fDvc ?
sesm··on “Normal” engineers are the key to great teams
They are not richest people though, they are biggest public shareholders. Real wealth is always well-hidden.
sesm··on A 10x Faster TypeScript
Totally agree about reasons, they have some hidden agenda behind this decision that they don't want to disclose. Rewriting in native code allows step-by-step rewrite using JS runtime with native extensions, but moving to a different VM mandates big rewrite.

My most plausible guess would be that compiler writers don't want to dig into native code and performance, writing a TS to Go translator looks like a more familiar task for them. Lack of JS version performance analysis anywhere in the announcements kinda confirms this.

sesm··on A 10x Faster TypeScript
Kinda shows that there is no practical ML-family language with good concurrency support.
sesm··on Svelte5: A Less Favorable Vue3
Mapping between reactive variable and DOM element. I first heard this term in Million.js docs, but it explains very well what most 'reactive' frameworks are doing. For example, a Signal creates the mapping at runtime on first render.
sesm··on An epic treatise on error models for systems programming languages
Did you publish your implementation anywhere? Would be very interesting to see. Thanks!
sesm··on Svelte5: A Less Favorable Vue3
Looked at SolidJS, it's primary mechanism is signals, which are essentially runtime edit maps. They have the same downside as all other types of edit maps - programmer needs to compose them manually, which becomes messy very quickly with loops and conditions.
sesm··on Should managers still code?
They should be able to automate their work with code: analytics reports, bots, etc. Committing code to product codebase - probably no.
sesm··on Zelensky leaves White House after angry meeting
> It looks like the US wants a regime change in Ukraine, it's possible that this became a pre condition from russia for talks to go forward.

It's not just possible, it was stated openly multiple times by Russian diplomats. The official position is: anything signed by Zelensky has potential to be invalidated later, because according to constitution of Ukraine he is not a legitimate president anymore. So this legal loophole should be removed before signing any agreements.

sesm··on Zelensky leaves White House after angry meeting
I think by 'we' Dugin meant 'anti-globalists', not Russia. There are pro-globalists in Russia and anti-globalists outside of Russia, so one doesn't equal the other.
sesm··on Money lessons without money: The financial literacy fallacy
> using a workforce that hasn't (yet) graduated high school.

Later, in court:

- Your Honor, honestly, I thought "small" businesses could only use child labor.

sesm··on Why Quantum Cryptanalysis is Bollocks [pdf]
Also, I like how in those experiments they are trying to fight wave function collapse without having any physical model of wave function collapse.
sesm··on Rust Memory Management Explained
Ok, I see now. This is limited to cases when compiler can prove that the reference is not shared, but still can be useful when adding elements to collections.
sesm··on Rust Memory Management Explained
This is interesting. If I want my object to be movable without the need for acquiring the locks for all outbound references, I need my references to be of type 'reference to mutable data'. So that could be one of the reasons why Rust reference types are like this.

But what happens to inbound references when I'm moving my object? Who is in charge of updating them?

sesm··on Diablo hackers uncovered a speedrun scandal
So, the speedrun author claimed it was RNG-edited, but it was level edited instead? The author could easily refute that by providing the RNG seed. I think every run that claims to be RNG-edited should post RNG seed for verification. If the author claimed that the run was unedited and it was 'just luck', I'm surprised that anyone believed him in the first place.
← PreviousPage 6 of 23Next →