Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
paavohtl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
by
paavohtl
5y ago
I did not play Quake 1 at the time (mainly because I was not quite born yet), but I've played bits of in the past decade and this year I've played and modded it a ton, thanks in part to the remaster. I think it's all of those
122.
▲
by
paavohtl
5y ago
All I'm seeing in these sets is mostly standard pieces, possibly with custom prints or stickers. The waterfall pieces might be entirely custom, but pretty much everything else is something you find in a lot of sets. Most things are mad
123.
▲
by
paavohtl
5y ago
Not very many with 1) no garbage collection and 2) any meaningful open source adoption.
124.
▲
by
paavohtl
5y ago
Esbuild is written in Go. You might have confused it with SWC, which is written in Rust and offers similar (or better) performance.
125.
▲
by
paavohtl
5y ago
CPython is orders of magnitude slower than modern JavaScript engines. Especially so when the interpreter is compiled into WASM. It is interesting from an interoperability point of view, but this purely negative from a performance and mainta
126.
▲
by
paavohtl
5y ago
I don't know about browser internals, but I would guess that the browser decodes the image once into a format that can be shown on the page (so from PNG/JPG/WEBP into a RGBA buffer) and then discards the original file. This s
127.
▲
by
paavohtl
5y ago
Ehhh, not really. It really depends on what you mean by convergence. You could add every single one of F#'s features into C#, and I still wouldn't consider them to be same language or the other to be irrelevant. The strength of F#
128.
▲
by
paavohtl
5y ago
They also take up to 30% from the price of the food, in addition to the delivery fee.
129.
▲
by
paavohtl
5y ago
There is Loom[1] (part of the Tokio project) for exhaustively testing multithreaded code. Though as far as I can tell it is designed for debugging threads, not async tasks. [1] https://github.com/tokio-rs/loom
130.
▲
by
paavohtl
5y ago
VR is very different from 3D cinema, at least in games. A 3D movie is 99.95% the same experience as the 2D version, but VR games are fundamentally different because both the visuals and far more importantly the inputs are in 3D. Many of the
131.
▲
.NET Hot Reload Support via CLI
(devblogs.microsoft.com)
24 points
by
paavohtl
5y ago
|
7 comments
132.
▲
by
paavohtl
5y ago
It is quite rare, but happens sometimes. You basically have to explicitly ask for a complex completion by writing a specification in a comment. Normally it tends to just complete a single statement or other syntax element at a time, which a
133.
▲
by
paavohtl
5y ago
It wasn't exactly Prolog, but we used a logic programming DSL for validating contract terms in a sales tool.
134.
▲
by
paavohtl
5y ago
It is based on a machine learning model. I've been using it for a couple of months now and the suggestions are generally speaking surprisingly good. It has been able to usefully complete very obscure things, like parts of a PEG grammar
135.
▲
What’s New in F# 6
(devblogs.microsoft.com)
47 points
by
paavohtl
5y ago
|
6 comments
136.
▲
by
paavohtl
5y ago
If Apple actually cared about sustainability, they would make their devices repairable.
137.
▲
by
paavohtl
5y ago
If you're referring to building destruction, they are just baked animations; the physics simulation was done in an external 3D modelling program. Which is why the enhanced graphics pack for the game is about 30 gigabytes.
138.
▲
by
paavohtl
5y ago
No, not yet. This is just the first step, which allows passing handles to JS/DOM objects to WASM, but they are opaque to WASM and they cannot yet be interacted with in any other way than passing them back to JS.
139.
▲
by
paavohtl
5y ago
And Macromedia acquired it from FutureWave: https://en.wikipedia.org/wiki/Adobe_Flash#FutureWave
140.
▲
by
paavohtl
5y ago
The opposite also holds true. Because Rust supports much higher level abstractions than C, it can be much faster and easier to experiment with different designs than with C. Parallelism is the classic example, but I also really like Bryan C
141.
▲
Take a look inside Steam Deck
(youtube.com)
16 points
by
paavohtl
5y ago
|
5 comments
142.
▲
by
paavohtl
5y ago
You should never benchmark Rust without the --release flag - it can regularly speed up the code by 1-2 orders of magnitude.
143.
▲
by
paavohtl
5y ago
Java's type system is also turing complete: https://arxiv.org/abs/1605.05274
144.
▲
by
paavohtl
5y ago
> Binary libraries are fully supported in Rust, via the C ABI. You can provide a higher-level interface via a wrapper crate. I've never seen this in the wild and to be honest, it seems massively inconvenient to write a library, crea
145.
▲
by
paavohtl
5y ago
I don't really see anything here that would be massively more complex in React. And besides, I've been hurt enough times by manual DOM manipulation to never want to do it again for interactive UI. It's a maintainability night
146.
▲
by
paavohtl
5y ago
Do you know that the reason for this is that the compiler is too slow, or are you making an assumption? I agree that this would be a good feature to have in docs.rs, though it could potentially make the docs very messy to read if there was
147.
▲
by
paavohtl
5y ago
What does WebComponents offer that also React offers, other than some form of components?
148.
▲
by
paavohtl
5y ago
What do you expect to happen? You ultimately have to store the state somewhere. Either it lives in the component, or outside of it, or you figure out some strategy to combine the two.
149.
▲
by
paavohtl
5y ago
> Documentation could be vastly better if it could reference traits across package boundaries Could you clarify what you mean by this? As far as I know the vast, vast majority of rustc's compile time is spent on code generation (hen
150.
▲
LLVM 13's new pass manager improves Rust's compile times by up to 20%
(twitter.com)
61 points
by
paavohtl
5y ago
|
18 comments
More ›