HNHacker News
TopNewBestAskShowJobs

dvtkrlbs

263 karma · joined March 30, 2018

submissionscomments
dvtkrlbs··on Ask HN: What are you working on?
This is really cool. This might fix my issue of finding new talks to watch.
dvtkrlbs··on Hard Rust requirements from May onward
I never wrote a line of Pascal :/
dvtkrlbs··on Hard Rust requirements from May onward
I don't agree with openssh take but yeah we don't need to migrate everything to rust and yeah a migration not always goes smoothly I am using sudo-rs on my arch install for over a year havent had any issues yet.
dvtkrlbs··on Hard Rust requirements from May onward
I mean sadly even though I hate the bans the exclusion is really insignificant in the grand scheme of things and the benefits Github brings most of the considered acceptable for the tradeoff. I am sadly one of those people I am fairly young (25) and my introduction to git happened with Github so I am really used to it. Though I am also developing a codeforge as an hobby project and maybe something serious in the long term.

There is also another crowd that completely aligns with the US foreign policy and also has the same animosity towards those countrie's citizens (I 've seen considerable amount of examples of these).

For the license part I really don't get the argument how can a coreutils rewrite can get rugpulled this is not a hosted service where minio [1] [2] like situation can happen and there is always the original utils if something like that were to happen.

[1] http://news.ycombinator.com/item?id=45665452 [2] https://news.ycombinator.com/item?id=44136108

dvtkrlbs··on Hard Rust requirements from May onward
For starter it looks completely alien my real introduction to Ada was with this article comparing it to Rust on solving advent of code [1] but it gives me that feeling when I try to read Haskell code (not that extreme). I did not actually give it a real chance though but its user base even more niche than Rust so idk. It has really cool properties (being able to define n bit datatypes is nice) but it is also leans to more on the imperative side so that also does not interest me.

[1] https://github.com/johnperry-math/AoC2023/blob/master/More_D...

dvtkrlbs··on Hard Rust requirements from May onward
Yeah fork is a bad word for it. Sorry about that.
dvtkrlbs··on Tailscale Peer Relays
I am personally happy to use Tailscale directly so I don't know. There isn't anything better out there though.
dvtkrlbs··on Hard Rust requirements from May onward
Pretty consistently [1] [2] [3] [4] it comes out that nearly %80 of security vulnerabilities come from memory safety vulnerabilities. I would consider that largest. Especially Microsoft's doc is pretty telling that this ratio was pretty consistent since 2006 so no amount of external tooling and training solves this. [1] https://langui.sh/2019/07/23/apple-memory-safety/ (albeit apple solving this with an another language and a really nice cpu extension) [2] https://www.microsoft.com/en-us/msrc/blog/2019/07/we-need-a-... [3] https://security.googleblog.com/2019/05/queue-hardening-enha... [4] https://x.com/LazyFishBarrel/status/1129000965741404160
dvtkrlbs··on Hard Rust requirements from May onward
Rust has stability guarantees. As long as you don't update version of your binary/library new compiler versions can compile for that version and you can even interlink different editions so I really don't understand this argument. C++ modules had a proposal for something similar but it did not pass. It would also fix so many horrible backward compatible things haunts the language as a whole.
dvtkrlbs··on Hard Rust requirements from May onward
The point of unsafe is you have small bubbles of unsafe which you can verify rigorously or use tools like Miri to make sure they upheld and you build safe abstraction on top of that unergonomic part. Looking at embedded-hal and even to extreme embassy you can see the value of it. If you don't do any abstraction I definitely agree Rust is not fun to write at all.
dvtkrlbs··on Hard Rust requirements from May onward
The problem is they forgot about making the language approachable so it lives in its bubble for safety criticial usage (which Rust kinda starting to eat its lunch from with the certified Rust fork)
dvtkrlbs··on Hard Rust requirements from May onward
Related library Sguaba [1] from Helsing AI written by Jon Gjengset it allows you to define coordinate systems on the type level and safe conversion and calculation with them.

[1] https://github.com/helsing-ai/sguaba

dvtkrlbs··on Tailscale Peer Relays
there is an open source control plane called headscale which covers almost all of the features for free (while DIY)
dvtkrlbs··on The Swift SDK for Android
That makes perfect sense imho. I don't see it as a long term solution.
dvtkrlbs··on The Swift SDK for Android
Except Flutter hit a wall with the liquid glass on IOS and Material 3 on android since they implement all the widgets from scratch implementing the new UI language will take considerable amount of effort and they are saying this is not even their roadmap RN.
dvtkrlbs··on The Swift SDK for Android
afaik 1password also does something similar
dvtkrlbs··on The Swift SDK for Android
I think using a closed source solution (except the platform native solution) for such a core part of an application is a big no.
dvtkrlbs··on EU court rules nuclear energy is clean energy
The annoying thing is recycling nuclear waste is kind of a solved problem. I've watched this video a while ago but iirc it is just more expensive to build a reactor that can also recycle its own waste. https://www.youtube.com/watch?v=IzQ3gFRj0Bc
dvtkrlbs··on PyPI Preventing Domain Resurrection Attacks
I think that is mainly because crypto or anything crypto related is tainted bu scams etc. So a regular user just doesnt have the same trust. Another problem is crypto gets attackwd way more since it also involves real money.
dvtkrlbs··on PHP 8.5 adds pipe operator
PHP is a dead language since when ?
dvtkrlbs··on Hardening mode for the compiler
I wish the additional proposak that would add Eust like editions with the cpp moduled were expected. So sad it didnt pass.
dvtkrlbs··on Our $100M Series B
They created a lot of hardware and low level work. (The bullet point on the blog post)
dvtkrlbs··on Linux on Snapdragon X Elite: Linaro and Tuxedo Pave the Way for ARM64 Laptops
They don't say everything works they say kernel works on those laptops.
dvtkrlbs··on Rust running on every GPU
Wait my browser scrolled to the wrong place. For libraries it is even easier to create or write bindings and like the status says several is already in progress.
dvtkrlbs··on Rust running on every GPU
I don't see any of the Xs that would not possible to generate code for and expose compiler intrisincs for. You don't reinvent the wheel here you generate the NVVM bytecode and let Nvidia handle the rest.
dvtkrlbs··on Rust running on every GPU
I think it could be improved a lot by niche optimization passes on the codegen backend. Kinda like the autovectorization and similar optimizations on the CPU backends.
dvtkrlbs··on Rust running on every GPU
Exactly you don't get most of the niche features of vendors and even the common ones. First to come in to mind is Ray Tracing (aka RTX) for example.
dvtkrlbs··on Rust running on every GPU
The thing is you don't have to have the WebGPU layer in this with rust-gpu since it is a codegen backend for the compiler. You just compile the Rust MIR to SPIRV
dvtkrlbs··on Rust running on every GPU
I mean that will improve only with time though, No? Maintainers recently revived the rust-gpu and rust-cuda backends. I don't think even the maintainer would say this is ready for prime time. Another benefit is having able to run the same code (library aka crate) on the CPU and GPU. This would require really good optimization to be done on the GPU backend to have the full benefits but I definitely see the value proposition and the potential.
dvtkrlbs··on Rust running on every GPU
It is normal rust code compiled to spirv bytecode.
← PreviousPage 2 of 4Next →