Readit News logoReadit News
norman784 commented on Claude Code: Now in Beta in Zed   zed.dev/blog/claude-code-... · Posted by u/meetpateltech
ZpJuUuNaQ5 · 5 hours ago
I am sure Zed is great and I appreciate the effort put in to create it, but nowadays I just cannot imagine switching from VSCode to something else. In my limited understanding, none of the existing alternatives offer anything (and often misses at least something) truly innovative or anything else that VSCode extension wouldn't solve. On VSCode I have about 15 different profiles setup, each with different settings and dozens of extensions based on either a technology stack or a project - it would be really difficult to find a good reason to throw it all away. The idea of switching between IDEs does not appeal to me either. I do use Neovim a little bit too, but most of that usage time was spent on configuration.
norman784 · 33 minutes ago
OTOH I'd ten to prefer as less plugins as possible in VSCode, just because they are inherently dangerous, I'd like Zed plugins that are WASM, so they don't have access to the world.

But I agree that VSCode Typescript support is better than Zed, it works with weird projects setup, while Zed has more troubles. I at work VSCode and Zed/Helix for my projects, generally I use Zed when want to do some AI stuff, otherwise I just use Helix.

norman784 commented on Unexpected productivity boost of Rust   lubeno.dev/blog/rusts-pro... · Posted by u/bkolobara
johnfn · 7 days ago
I'm not as familiar with Rust, but isn't there still a gap? For instance, if we modified window.set_href to have move semantics, wouldn't this still work (i.e. not produce an error)?

    let win = window.set_href("/foo")
    win.set_href("/bar")
You might say "why would you ever do that" but my point is that if it's really the lack of move semantics that cause this problem (not the deferred update), then you should never be able to cause an issue if you get the types correct. And if you do have deferred updates, maybe you do want to do something after set_href, like send analytics in a finally() block.

In fact, Typescript does have a way to solve this problem - just make `setHref` return never[1]! Then subsequent calls to `setHref`, or in fact anything else at all, will be an error. If I understand correctly, this is similar to how `!` works in Rust.

So maybe TS is not so bad after all :)

[1]: https://www.typescriptlang.org/play/?ssl=9&ssc=1&pln=9&pc=2#...

norman784 · 6 days ago
Just to add what the other comment said, take a look and run these two examples to see the errors you could get:

https://play.rust-lang.org/?version=stable&mode=debug&editio...

https://play.rust-lang.org/?version=stable&mode=debug&editio...

norman784 commented on Dissecting the Apple M1 GPU, the end   rosenzweig.io/blog/asahi-... · Posted by u/alsetmusic
contrarian1234 · 8 days ago
I never understood this project. Maybe I'm missing something, but the timescale is such that by the time they're done the product isn't even being sold anymore

At least with Panfrost it made more sense bc it still being used

M1 chip laptops can only be bought second hand at this point

norman784 · 8 days ago
You can repurpose a decent hardware, in terms of performance and consumption, to run for far more time than Apple is willing to support it?
norman784 commented on How I Made Ruby Faster Than Ruby   noteflakes.com/articles/2... · Posted by u/ciconia
Asmod4n · 15 days ago
Depends how you use it, just last week I’ve hit 40 nanoseconds unpacking a 8 megabyte msgpack array and accessing one of its values in a hash.

As long as you only use ruby as glue code for c(++) extensions it’s pretty fast.

norman784 · 15 days ago
AFAIK with the latest JIT in some contexts pure Ruby can be faster than using C libraries, just because the VM can be better optimized and there is no overhead in moving data between the two realms.

I don't recall exactly where I read it, but I think was a while ago when they announced one of the newest JIT engines.

norman784 commented on Node.js is able to execute TypeScript files without additional configuration   nodejs.org/en/blog/releas... · Posted by u/steren
yahoozoo · 17 days ago
What backend framework is the go to these days? Still Express?
norman784 · 17 days ago
IMHO the only reason you are using JS in the backend is because of some meta framework, otherwise is not worth. So at least for Nuxt is nitro, not sure for SvelteKit or the other React meta frameworks.
norman784 commented on Node.js is able to execute TypeScript files without additional configuration   nodejs.org/en/blog/releas... · Posted by u/steren
Sammi · 17 days ago
22 is LTS. The future is now.
norman784 · 17 days ago
All even versions are LTS btw, maybe what you mean is that version 22 entered in maintenance mode (hence stable) and new features will not be added.
norman784 commented on Show HN: The Aria Programming Language   github.com/egranata/aria... · Posted by u/egranata_aria
account-5 · a month ago
I feel like I keep harping on about Nushell but as scripting languages go it's right up there for me. Built with rust too and comes with a ton of stuff built in.

What's the niche this fills? I came across roc-lang recently which seemed interesting too, again built with rust, and opinionated on certain things common in older languages.

It doesn't have to, and obviously it's your project, but what is this offering over other languages. Why would I reach for it?

norman784 · a month ago
Just a side note, roc-lang is being rewritten in Zig[0]

[0] https://gist.github.com/rtfeldman/77fb430ee57b42f5f2ca973a39...

norman784 commented on Visa and Mastercard: The global payment duopoly (2024)   quartr.com/insights/edge/... · Posted by u/bilekas
notpushkin · a month ago
> AFAIK some places already have it, like Thailand and Malaysia.

Also Vietnam (Napas247), Singapore (PayNow), Philippines (QR Ph), Japan (lots different systems), China (WeChat/Alipay, I think?), Russia (SBP), Belarus (ERIP, in a sense), and the whole of EU (SEPA transfers).

One problem is, most of them don’t really work for you if you’re a foreigner. Moreta (YC S24) is doing something in SEA, and I’ve seen another service for visitors in India, but I think exchange rates wouldn’t be too good (compared to something like Wise, maybe on par with regular banks though).

https://moretapay.com/, https://ale.sh/r/moreta (affiliate link)

https://wise.com/, https://ale.sh/r/wise (affiliate link)

norman784 · a month ago
The EU is also now pushing WERO

https://en.wikipedia.org/wiki/Wero_(payment)

norman784 commented on Servo Web Engine Further Tuning Performance   phoronix.com/news/Servo-J... · Posted by u/doener
giancarlostoro · 2 months ago
I do wonder if Servo will ever reach a point where it is competitive on its own and full featured.
norman784 · 2 months ago
You can see where Servo stands compared to the other browsers by watching[0] Ladybird browser monthly reports

[0] https://www.youtube.com/@LadybirdBrowser

norman784 commented on Show HN: VS Code extension to edit the filesystem like a text buffer   github.com/ahrm/voil... · Posted by u/hexomancer
SwiftyBug · 2 months ago
Is it possible to make an extension like that for Zed?
norman784 · 2 months ago
At this point I opted to just install extension from known ORGs only, like Microsoft, Github, etc and the official extensions from the languages I use. All other extensions, even themes are no more for me.

u/norman784

KarmaCake day611May 12, 2015View Original