HN user

catfishx

245 karma

Im me

Posts2
Comments69
View on HN
Helix 23.03 3 years ago

I'm very excited about LSP snippet support, I will finally be able to use stuff like emmet on my svelte/html projects.

On my machine teams regularly eats up several gigabytes of ram, even when not interacting with it at all.

I generally don't care about applications using a lot of ram, but this is just too much for a program which I mostly use for text messaging.

Transmission v4.0 3 years ago

Rust evangelist strikeforce strikes again...

No seriously, I am a rustacean too, but please stop telling everyone to Rewrite everything in Rust (even if its only a joke), its becoming slightly annoying

    > Rust makes enormous binaries
Rust binaries are optimized to be fast (by default, fast != small), this [0] explains pretty well why, and min-sized also has many optimizations [1].
    > and compiles slow
You can have a very slow compiler with all the optimizations and safety checks, or a fast one which doesn't. This however doesn't mean there is no room for improvement.

One thing that can definitely improved on is how cargo manages dependencies, I am tired of each of my project's /target directory using >2GB of disk space, there at least should be some kind of opt-in global cache.

I am also worried about dependencies going in the same direction as the JS ecosystem, many of my projects only have 3-5 top level dependencies, but I end up downloading hundreds. A few are only compile-time, but this makes auditing very difficult and does make compile times a lot longer.

[0] https://lifthrasiir.github.io/rustlog/why-is-a-rust-executab... [1]: https://github.com/johnthagen/min-sized-rust

In rust you can use these almost everywhere in place of an expression (if statements, while loops, in function arguments, etc). It can sometimes make code a bit unreadable to some people, but its still a cool feature imo.

Probably off-topic, but I recently made the stupid decision of learning dvorak while I had to get some important work done.

I am currently at: 1) I don't type dvorak fast enough which really reduces my motivation, but I'm getting faster pretty quickly 2) My qwerty typing skills have gotten even worse, I look a bit stupid when I try to fix problems on other computers at ~15 WPM.

Generally I don't regret starting to type dvorak, I just wish I had done it another time where typing slowly doesn't affect me as much.

AFAIK Typescript has no runtime impact on performance, the transpiled JS should be equally fast as the handwritten code

You are saying an IDE (of which there are many wayyy better) is as equally important as a technology which helped save thousands of lives? Do you really think VSCode is an equally big achievement as building space stations?

peoples lives are more important than a few hours of a programmers life getting used to vim (or any other non VSCode editor)

EDIT: Even millions, and thats only one of thousand technologies that improve our life (expectancy)

Humans.txt 4 years ago

I don't see how this will be useful to humans (which it, as I understand, should).

If the site owner wants to publish who the people behind a site are, they can add that to an About or Team page which are also a lot easier to read, especially for non-tech people.

I think this "humans.txt" file will be mostly useful for robots collecting that information and running automated phishing attacks or other bad stuff..

They haven't completely disappeared (unfortunately), most people have discovered that they aren't the best for all sites. The hybrid solutions are a lot better, performant and accessible.