Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
unrealhoang
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
unrealhoang
2mo ago
claim your password to be some derivative of the duress PIN, for example: 1234 is password reminder for 2444 (one 2 three 4), the device is erased anyway.
2.
▲
by
unrealhoang
4mo ago
This is awesome, is there a way to render the graphics/chart in svg so that we can implement something like hover & popup (with data information)?
3.
▲
by
unrealhoang
4mo ago
isn't this https://clojure.org/reference/transducers ?
4.
▲
by
unrealhoang
4mo ago
What if one day they do? Or appears to be, in the way that you couldn't distinguish? Will you update your priors?
5.
▲
by
unrealhoang
5mo ago
It’s a good one, if you can still write functionally and same algorithmic complexity then it should not matter if you know strrev or not.
6.
▲
by
unrealhoang
5mo ago
So not being able to write fizzbuzz is nowhere close to me.
7.
▲
by
unrealhoang
5mo ago
And they can have an alternate screen outside the FoV of the second camera.
8.
▲
by
unrealhoang
5mo ago
Or to automatically write command bitching about it.
9.
▲
by
unrealhoang
5mo ago
Maybe not lootboxes but most certainly battlepass.
10.
▲
by
unrealhoang
7mo ago
a bit tangent question: the communication between Python & Rust, could the pyo3 ser/de of Python objects be better than MsgPack?
11.
▲
by
unrealhoang
7mo ago
it will be much less power-efficient, when jailbreak you could schedule the kindle to wake up once per 15/30/60 minutes to fetch the new data, set it as screensaver and then go back to sleep.
12.
▲
by
unrealhoang
9mo ago
There’s split_at_mut to avoid writing unsafe yourself in this case.
13.
▲
by
unrealhoang
9mo ago
> My groceries are cheaper if I walk out of the store without paying for them too. Who's going to stop me? If you can consistently do that, then it IS the correct thing to do. uv made that choice and users use them, is there an obje
14.
▲
by
unrealhoang
10mo ago
Wow, now no more discussion and an accuse of bot? I’m flattered. Also you are doing tech, be specific, what is much shallower or hollow?
15.
▲
by
unrealhoang
10mo ago
All of `Vec` is much smaller than all of the place using Vec. IIRC, Vec is around 3k LoC. And for even low level code like Oxide & Android core, they are observed less than 4% of their code is inside or related to unsafe, that’s a massi
16.
▲
by
unrealhoang
10mo ago
That would be the unsoundness of `Vec` itself, but if the abstraction of `Vec` is sound, there would be no way to use `Vec` outside of `unsafe` that can cause memory unsafety. The point coming back to abstraction and responsibility, in Rust
17.
▲
by
unrealhoang
10mo ago
from TFA, the main advantage would be for embedded (as a library) use case, FFI with Go is harder.
18.
▲
by
unrealhoang
10mo ago
> logic bugs outside "unsafe" can cause bugs unsafe. This is the wrong understanding of Rust's unsafety encapsulation. For example, no logic bug outside of `unsafe` can cause undefined behavior of Rust std's `Vec` abs
19.
▲
by
unrealhoang
10mo ago
The get started section seems to be broken or missing content.
20.
▲
by
unrealhoang
11mo ago
No but this time RFK is saying that, before it was devil Dems saying (Michelle Obama), so people had to eat trash food and be lazy out of spite.
21.
▲
by
unrealhoang
11mo ago
Memory safety has a specific meaning, and panic isn’t it. C++ can have UB, compilable non-unsafe Rust can’t, that’s what static analysis of memory safety is. Main point here is you don’t know (and refuse to learn) new knowledge.
22.
▲
by
unrealhoang
11mo ago
A panic is memory-safe, so static checking of memory safety holds. Perhaps you should understand your own claims.
23.
▲
by
unrealhoang
11mo ago
Without a borrowck, inside your mutable block, another variable can reference to the mutable version of your x or items, and be mutated outside of that block.
24.
▲
by
unrealhoang
1y ago
> no company anywhere would just shrug something like this off as "the cost of doing business". Fox News did, they lost 10 times as much money and is more successful than ever BECAUSE they did it, so for them it's just &qu
25.
▲
by
unrealhoang
1y ago
People are already appreciate the accessibility to low level native libraries like duckdb, sqlite, imagemagick, ffmpeg… allowed by wasm. Or high performance games/canvas based applications (figma). But CRUD developers don’t know/c
26.
▲
by
unrealhoang
1y ago
And you disregard user experience and other developer experience with your own custom parsing code. Acts as if there's no trade-off whatsoever in your own decision and my way is holier than thou in engineering is beyond sad.
27.
▲
by
unrealhoang
1y ago
no yaml programming please :(
28.
▲
by
unrealhoang
1y ago
> everyone is now bankrupt A good reason enough for a lot of people, no?
29.
▲
by
unrealhoang
1y ago
Yes, serde is just a struct to visitors codegen infrastructure that you can rely on to do anything. https://serde.rs/data-model.html
30.
▲
by
unrealhoang
1y ago
There’re fundamental libraries that can be used on the web because of wasm: imagemagick, ffmpeg, opencv, duckdb, sqlite, figma’s render engine... Just because 95% of web apps are crud DOMs doesn’t mean such technology is not important.
More ›