Better HN
topnewbestaskshowjobs
Log inSign up

catfishx

245 karma · joined Dec 2, 2021 (4y ago) · 74 submissions

Im me
Submissions

1.

Wayland Explorer(wayland.app ↗)

4 points · by catfishx · 3y ago · discuss

comment 3y ago · link · parent

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

3.

TextSynth Server(bellard.org ↗)

274 points · by catfishx · 3y ago · 109 comments

comment 3y ago · link · parent

You can also use GitHub copilot outside of a GitHub repository, and there would be no way to verify that

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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

comment 3y ago · link · parent

I have to use Chromium for MS teams unfortunately (calls and screen sharing are not allowed on FF)

comment 3y ago · link · parent

I think you got confused here, OP had the exact opposite experience

comment 3y ago · link · parent

    > 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

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Yes, no server. It runs somewhere up in the clouds!

comment 3y ago · link · parent

> Would really love kmail and the whole korganizer get a refresh

Korganizer is being rewritten as Kalendar: https://apps.kde.org/en-gb/kalendar/

comment 3y ago · link · parent

Um, what? Is paying OSS devs something bad nowadays?

Do you think they created proton to Extend and then "extinguish" Steam (which they can't because it is proprietary) or what?

comment 3y ago · link · parent

Also the intercepting of the back button should be forbidden

comment 3y ago · link · parent

Is posting links to other platforms not considered free speech Mr. Musk?

comment 3y ago · link · parent

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

comment 3y ago · link · parent

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)

comment 3y ago · link · parent

Um, what? Thats like saying "My favourite car is and always be my bike"

comment 3y ago · link · parent

I thought this was about following his private jet, not his car, or did I miss something?

comment 4y ago · link · parent

Related:

A Better Way to Borrow in Rust [...]: https://news.ycombinator.com/item?id=33720041 (1 day ago)

A Better Way to Borrow in Rust [...]: https://news.ycombinator.com/item?id=33716788 (2 days ago)

A Better Way to Borrow in Rust [...]: https://news.ycombinator.com/item?id=33716525 (2 days ago)

comment 4y ago · link · parent

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..

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

Because it is such a CPU intensive task OFC /s

comment 4y ago · link · parent

I'm young and the high pitches hurt my ears, but impressive work regardless

comment 4y ago · link · parent

Rust egui: https://egui.rs/

Can be compiled for desktop, mobile and used in a browser with WASM

comment 4y ago · link · parent

But should the country with the best weapons win all wars? It somehow does not sound correct to me

Russia doesn't have to invade any other country, they are already the largest one in the world

comment 4y ago · link · parent

Thats rare, I have my GMail address publicly available on the internet and haven't gotten a single spam email in my life

comment 4y ago · link · parent

Have seen linux machines with cheaper hardware than the M1 getting a lot higher scores on Speedometer
123