Readit News logoReadit News
Hasnep commented on Awesome-Jj: Jujutsu Things   github.com/Necior/awesome... · Posted by u/n3t
Hasnep · 3 days ago
I didn't enjoy using JJ for the first day or two until I discovered jjui, now I do probably 95% of my interactions with jj through jjui.
Hasnep commented on I tried Gleam for Advent of Code   blog.tymscar.com/posts/gl... · Posted by u/tymscar
tymscar · 3 days ago
You're right, but loads of times I just left that there because I probably did something more involved in the map that I ended up deleting later without realising.
Hasnep · 3 days ago
This sounds like the kind of situation where the LSP could suggest the simpler code, I'll see if there's an issue for it already and suggest it if not.
Hasnep commented on WinApps: Run Windows apps as if they were a part of the native Linux OS   github.com/winapps-org/wi... · Posted by u/klaussilveira
sschueller · 18 days ago
Last time I checked I did not agree to be bombarded with ads and have all my data tracked after paying 100+ for a piece of software...
Hasnep · 18 days ago
You kinda did...

> By accepting this agreement and using the software you agree that Microsoft may collect, use, and disclose the information as described in the Microsoft Privacy Statement [...]

Doesn't make it okay, just legal

https://www.microsoft.com/content/dam/microsoft/usetm/docume...

Hasnep commented on Neopets.com changed my life (2019)   annastreetman.com/2019/05... · Posted by u/bariumbitmap
Hasnep · 22 days ago
They didn't say they were proud, plus their account got banned so they were punished appropriately, plus... It's just Neopets...
Hasnep commented on Unofficial Microsoft Teams client for Linux   github.com/IsmaelMartinez... · Posted by u/basemi
hosteur · a month ago
Please make an unofficial client for windows too. The official one sucks so much it is hard to even describe.
Hasnep · a month ago
Could try running teams-for-linux in WSL2 on Windows?
Hasnep commented on My first fifteen compilers (2019)   blog.sigplan.org/2019/07/... · Posted by u/azhenley
emoII · a month ago
I don’t understand how to work with the intermediate language in such a back-to-front approach, wouldn’t you need to know in advance what pass to implement next so that the input to the current pass matches the output of your next, unimplemented, pass? To me, it seems like the contract is reversed
Hasnep · a month ago
No, because the intermediate language of the previous step is just the target of the next step, and the target can be anything

E.g. when JavaScript was designed, they didn't need to know that typescript would be invented to know how JavaScript would look.

Hasnep commented on We chose OCaml to write Stategraph   stategraph.dev/blog/why-w... · Posted by u/lawnchair
sgarland · a month ago
TIL (via a rabbit hole after reading this) that a good type system removes an absurd amount of boilerplate validation code.
Hasnep · a month ago
Do you have any good resources on this subject? I agree and would like to see what a persuasive argument for it looks like.
Hasnep commented on SPy: An interpreter and compiler for a fast statically typed variant of Python   antocuni.eu/2025/10/29/in... · Posted by u/famouswaffles
kombine · a month ago
A general purpose language should be suitable to writing its own compiler. If it's to slow for that, what's the point?
Hasnep · a month ago
A language can be suitable for writing a compiler, but if there is another language that's 10x faster that's also suitable, then you're losing out on a lot of compilation speed for no reason.

Dog-fooding a language by writing a compiler in it can lead to the designers adding language features to make compiler development easier, even if they detract from the design of the language for the 99% of users who aren't writing a compiler.

Hasnep commented on SPy: An interpreter and compiler for a fast statically typed variant of Python   antocuni.eu/2025/10/29/in... · Posted by u/famouswaffles
AmazingTurtle · a month ago
Yeah but then don't say that SPy is a (interpreter and) compiler in the first place? Just say it's a interpreter.
Hasnep · a month ago
You can think of it like this:

SPy is a compiler. SPy is not a compiler for OCaml. SPy is not a compiler for COBOL. SPy is not a compiler for Python.

u/Hasnep

KarmaCake day750August 31, 2019
About
website: https://www.ha.nnes.dev contact: h[at]nnes.dev github: hasnep
View Original