HackerTrans
TopNewTrendsCommentsPastAskShowJobs

catfishx

no profile record

Submissions

Wayland Explorer

wayland.app
4 points·by catfishx·3 năm trước·0 comments

TextSynth Server

bellard.org
274 points·by catfishx·3 năm trước·109 comments

comments

catfishx
·3 năm trước·discuss
I'm very excited about LSP snippet support, I will finally be able to use stuff like emmet on my svelte/html projects.
catfishx
·3 năm trước·discuss
You can also use GitHub copilot outside of a GitHub repository, and there would be no way to verify that
catfishx
·3 năm trước·discuss
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.
catfishx
·3 năm trước·discuss
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
catfishx
·3 năm trước·discuss
I have to use Chromium for MS teams unfortunately (calls and screen sharing are not allowed on FF)
catfishx
·3 năm trước·discuss
I think you got confused here, OP had the exact opposite experience
catfishx
·3 năm trước·discuss


    > 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
catfishx
·3 năm trước·discuss
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.
catfishx
·3 năm trước·discuss
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.
catfishx
·3 năm trước·discuss
Yes, no server. It runs somewhere up in the clouds!
catfishx
·3 năm trước·discuss
> Would really love kmail and the whole korganizer get a refresh

Korganizer is being rewritten as Kalendar: https://apps.kde.org/en-gb/kalendar/
catfishx
·4 năm trước·discuss
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?
catfishx
·4 năm trước·discuss
Also the intercepting of the back button should be forbidden
catfishx
·4 năm trước·discuss
Is posting links to other platforms not considered free speech Mr. Musk?
catfishx
·4 năm trước·discuss
AFAIK Typescript has no runtime impact on performance, the transpiled JS should be equally fast as the handwritten code
catfishx
·4 năm trước·discuss
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)
catfishx
·4 năm trước·discuss
Um, what? Thats like saying "My favourite car is and always be my bike"
catfishx
·4 năm trước·discuss
I thought this was about following his private jet, not his car, or did I miss something?
catfishx
·4 năm trước·discuss
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)
catfishx
·4 năm trước·discuss
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..