Readit News logoReadit News
angra_mainyu commented on Helix Editor 25.07   helix-editor.com/news/rel... · Posted by u/matrixhelix
varbhat · 2 months ago
Congrats!

I am happy for helix but i don't think it's a good fit for me.

I use Neovim. It does what i want it to do. It's one of the best available options. But, i am not completely satisfied with it. I personally want an editor with following:

* Modern codebase. Written from scratch.

* VIM Keybindings: I have muscle memory of Vim. I would like to use Vim Keybindings in my editor. I don't want to use any other keybindings even if they are proclaimed to be better. It must walk like vim and quack like vim.

* Good defaults. I hate configuring a lot. Neovim requires configuring a lot and need not always provide good defaults if it provided. Helix might have gotten this right.

* Based on Treesitter. Better they run Treesitter parsers as a WASM in WASM runtime just like how Zed and latest Neovim do.

* Extension System. But, I don't really favor lua, js or scheme. They just aren't my cup of tea. Maybe make it a wasm module with only necessary functions exposed to it. And configuration of those plugins in non turning complete configuration language.

* TUI and optional GUI

* LSP,DAP and Snippets support built-in(along with auto complete/suggestions, UI for Testing and Debugging)

* Oil.nvim like FS as buffer built-in

* Telescope/FZF-lua style Search built-in

* Git integration built-in (Maybe magit/neogit like GIT UI is welcome)

* Flash.nvim style Treesitter based Code AST Manipulation and Jump-to by label built-in

* Macros and Multi cursors

* Optional Cursor Style AI integration (Chat UI)

angra_mainyu · a month ago
>list of requirements So basically Neovim, but swapping out Lua for something else.
angra_mainyu commented on Series of posts on HTTP status codes (2018)   evertpot.com/http/... · Posted by u/antonalekseev
Untit1ed · 2 months ago
Dang these are much more useful than my first port of call for looking up http codes... which is http.cat/<code>. It's a shame you have to know what a code is to get to it... e.g. /404-not-found works instead of /404
angra_mainyu · 2 months ago
Always check MDN - for web stuff they truly are the best reference out there.
angra_mainyu commented on The death of partying in the USA   derekthompson.org/p/the-d... · Posted by u/tysone
millipede · 2 months ago
I've been throwing moderately large parties the past 2 years (12-40 people) and the lack of partying is definitely noticeable. Most people don't reciprocate, making it disheartening to keep doing it. I wanted to build friendships out of it, and hopefully get invited to more parties myself, but so far it hasn't happened. It's a decent amount of set up (cleaning, buying food, coordinating), and a lot of clean up after too. The ROI isn't where I want it.

I kind of wonder if people have just forgot what to do after the party is over. I had hoped it would be "that was so fun, we should host one", but instead it just kinda fades away in their minds.

angra_mainyu · 2 months ago
>cleaning, buying food, coordinating

Food? A party's just booze and music, maybe even move some furniture out of the way for a dance floor.

angra_mainyu commented on The death of partying in the USA   derekthompson.org/p/the-d... · Posted by u/tysone
hn_throwaway_99 · 2 months ago
This was a post on the GenX subreddit (from a Gen Zer) from just a couple days ago asking about if parties as portrayed in late 90s/early 00s "teen movies" were actually a real thing:

https://www.reddit.com/r/GenX/comments/1lu102v/were_parties_...

The responses from the Gen Xers were a mix of bewilderment and sadness, stuff like "What do you mean parties like this, it's just a normal teenage party!? I feel so ancient and also so confused by this question." The whole comment section is worth a read, especially the disconnect between how the Gen Xers experienced adolescence and how the Gen Z poster does.

It's really sad to me how we have completely fucked a lot of youth with social media, smart phones, and over-scheduling/over-protection. I also disagree with some of the comments here that are bringing up things like "real estate, transportation, and lodging". Sure, those are issues, but you have families and kids in the suburbs today just like you had families and kids in the suburbs in the 90s, and the fact that kids today can't even recognize "basic teen parties" and question whether they are some sort of made up fantasy can't just be waved away by the fact that real estate is more expensive today.

angra_mainyu · 2 months ago
Millennial here - they definitely were real! Even back in 2008-2010 when I was in high school.
angra_mainyu commented on Flix – A powerful effect-oriented programming language   flix.dev/... · Posted by u/freilanzer
angra_mainyu · 2 months ago
It looks beautiful! Now, if I could just find a non-JVM version...
angra_mainyu commented on Push Ifs Up and Fors Down   matklad.github.io/2023/11... · Posted by u/goranmoomin
nailer · 3 months ago
Haven’t seen that yet after 25 years. It just always seems like lazy naming when this isn’t followed. Maybe I missed something.
angra_mainyu · 3 months ago
I have to agree, particularly if you look at functions as pipelines: data/events go in, other data/events go out.

If I had to hazard some kind of heuristic with 99% applicability, it'd be to always strive to have code with as few indentations (branches) as possible. If your code is getting too indented, those deep Vs are either a sign that your implementation has a strong mismatch with the underlying problem or you need to break things up into smaller functions.

angra_mainyu commented on Branch Privilege Injection: Exploiting branch predictor race conditions   comsec.ethz.ch/research/m... · Posted by u/alberto-m
genewitch · 4 months ago
You know, I didn't really think of this till your comment: this was a vast conspiracy spanning years. You always hear, when discussions of "conspiracies" happen, things like "it would involve too many people, too many moving parts" like opsec would be impossible. And then you have the pagers.

Kinda like the old chestnut that rich people are only rich on paper and then, Musk buys twitter. Not tesla, or some DBA, Musk.

This decade might actually be the season of reveal.

angra_mainyu · 4 months ago
I think this is a human thing, being very myopic given our short lifespans, we forget even relatively recent things.

The Cold War for example was full of these intricate, complex and stunning feats of spycraft that they'd pull off on each other.

angra_mainyu commented on The number of new apartments is at a 50-year high, but states expect a slowdown   oregoncapitalchronicle.co... · Posted by u/rwc9
proneb1rd · 4 months ago
Not only UK, Europe in general is stuck in this nonsense. People buy properties, tenants pay their mortgage. In 15 years the property is yours mostly at the expense of someone else plus it gained in value. After owning it for so long and selling the property you probably pay lower capital gains from that too. Unless you put all that money in the right stocks in 2010, renting just doesn’t make all that much sense in this economy.
angra_mainyu · 4 months ago
> renting just doesn’t make all that much sense in this economy

I disagree.

Example scenario of many young Europeans in their 20s:

- living in small or mid-sized city

- job offer pops up paying significantly more across the country, either capital or one of the top cities

- move and earn significantly more (even when adjusted for CoL)

- continue progressing careerwise

- job offer pops up elsewhere, possibly in other EU countries, pays significantly more

A reasonable person in their 20s would allow themselves the chance to focus on professional career growth/salary growth up until they hit their mid-30s in which they can start considering settling in a given place and purchasing. Before that it's nonsensical.

To give my own example, I went through various cities across several countries, starting at 12k, then a few years later job offer in another country for 33k, then a few years later at 54k, then at 115k, all before 30 years old (because I allowed myself to be anchor-free).

The rest who stayed put in the same city? 12k to 30k in the same span of time.

Anyone telling a person in their 20s: "buy a house and stay put" is giving terrible advice. The advice should be something along the lines of: "what you do in your 20s will bear fruits in your 30s, stay open-minded, adventurous, don't be afraid to burn out and discover your limits, see the world before your parents get old, and try your hardest".

angra_mainyu commented on The number of new apartments is at a 50-year high, but states expect a slowdown   oregoncapitalchronicle.co... · Posted by u/rwc9
chgs · 4 months ago
U.K. has a viscous cycle where if your parents are in commuting distance of London you can live with them for a few years and the money you save from not renting will fund a deposit. By the time you’re 30 you can then by and your career will have progressed

If you can’t benefit from that then you spend that deposit on renting, which means you can’t buy in your 30s and are trapped in the rent cycle.

angra_mainyu · 4 months ago
> If you can’t benefit from that then you spend that deposit on renting, which means you can’t buy in your 30s and are trapped in the rent cycle.

I disagree with this - assuming the average white collar job (given HN), you _will_ progress salarywise from your early 20s to your early 30s.

When I was a Jr. Software Dev at 23, I both didn't have the money to afford a house where I got all the job offers (which wouldn't make sense), nor would it have been a good idea given I would've wanted to stay open to chasing higher salaries after 1-3 years elsewhere (which I did).

Maybe some decades ago it was common to spend your whole professional career in the same city, but as a dev I've had jobs pop up in different cities, heck even different countries!

angra_mainyu commented on The number of new apartments is at a 50-year high, but states expect a slowdown   oregoncapitalchronicle.co... · Posted by u/rwc9
petepete · 4 months ago
If you're able to save while renting, fair.

Lots of people can't and get stuck in the cycle. In the UK at least, they're often just paying other peoples' mortgages.

angra_mainyu · 4 months ago
Odd, renting while I lived in the UK was the only way I was able to save.

If I had attempted to buy, I would literally have financially died (not to mention wouldn't have been able to pursue better jobs elsewhere at the drop of a hat - month's notice).

u/angra_mainyu

KarmaCake day359August 27, 2023
About
My links:

https://aalbacetef.io

https://github.com/aalbacetef

---

Views do not represent any of my past or present employers (nor even myself at a given moment, as my opinion could have evolved).

View Original