Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
conaclos
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
conaclos
3mo ago
I lost all trust in the project since the LLM rewrite. This new step is another red flag to me.
2.
▲
by
conaclos
3mo ago
Same here. I prefer bet on community-led projects like Node.js, ESbuild and BiomeJS (or Prettier / eslint).
3.
▲
by
conaclos
4mo ago
This is pretty close to SQLite's varints [0] [0]: https://www.sqlite.org/src4/doc/1433690d7b/www/varint.wiki
4.
▲
by
conaclos
4mo ago
> For now the best option to write code that wants to live in both worlds is sans-io Thanks for sharing! Reading the articles, it looks at me, it is a kind of manual reimplementation of the state machine generated by async? This also mak
5.
▲
by
conaclos
4mo ago
One of the issue I face is a blocking function that takes a generic constrained by a `trait` and its async version takes a generic constrained by an `async trait`.
6.
▲
by
conaclos
5mo ago
I recently started working with Rust async. The main issue I am currently facing is code duplication: I have to duplicate every function that I want to support both asynchronous and blocking APIs. This could be great to have a `maybe-async`
7.
▲
by
conaclos
5mo ago
There is a relevant Wikipedia page about minifloats [0] > The smallest possible float size that follows all IEEE principles, including normalized numbers, subnormal numbers, signed zero, signed infinity, and multiple NaN values, is a 4-b
8.
▲
by
conaclos
11mo ago
Have you tried `firefox --no-remote --profile <path>`? In my case, I am able to launch several Firefox instances with distinct profiles.
9.
▲
by
conaclos
11mo ago
I tried Helix two years ago, unfortunately the default keymap was a bit frustrating to me. I don't mind changing my habits, however I had difficulty I made sense of the keymap design. For example, typing `w` select the word. However, t
10.
▲
by
conaclos
11mo ago
If I remember correctly, TCO is now part of the ECMAScript standard. Safari has implemented it. The issue is that others engines have not because they are concerned about stack unwinding and stacktraces.
11.
▲
by
conaclos
1y ago
UFCS and the implicit `result` variable remember me the Eiffel programming language [0]. [0] https://en.wikipedia.org/wiki/Eiffel_(programming_language)
12.
▲
by
conaclos
1y ago
The following articles may also be of interest to the audience: - The definitive guide to error handling in Rust [0] - Error Handling for Large Rust Projects - Best Practice in GreptimeDB [1] - Designing error types in Rust [2] - Modular Er
13.
▲
by
conaclos
1y ago
I was quite excited by the description and then I noted that Bolt heavily relies on double floating point numbers. I am quite disappointed because this doesn't allow me to use Bolt in my context: embedded systems where floating point n
14.
▲
by
conaclos
1y ago
I like the idea of repeating the delimiter on every line. However `//` looks like a comment to me. I could simply choose double quote: const still_raw = "const raw = " "Roses are red
15.
▲
by
conaclos
1y ago
I got a 404. IS the website still online?
16.
▲
by
conaclos
1y ago
Yes, and I think it's unlikely that it will support other platforms in future because it's based on Safari.
17.
▲
by
conaclos
1y ago
> Rust didn’t fire us. But a Rust rewrite without team buy-in can change who the team even is. Perhaps the most valuable paragraph of this sad story.
18.
▲
by
conaclos
1y ago
It is a RP2040. We plan to eventually upgrade to RP2350B.
19.
▲
by
conaclos
1y ago
I am currently working on an embedded system with 264Kb of RAM and 4Mb of flash. Do you think Lua could be used in such limited settings? I am also considering the berry scripting language [0]. [0] https://berry-lang.github.io&#x
20.
▲
by
conaclos
1y ago
Is Sol2 a Lua VM or just a wrapper to the standard Lua VM?
21.
▲
by
conaclos
1y ago
I am a bit surprised that the author didn't try to implement a stream parser. This could avoid loading the entire file in memory or relying on OS features like memory-mapped files.
22.
▲
by
conaclos
1y ago
Sure, but it's an additional dependency. I would prefer it if some of this machinery were added to `core`.
23.
▲
by
conaclos
1y ago
Thanks for sharing! The only thing I disagree with is error wrapping. While I agree that the main error should not expose dependencies, I find it useful to keep a `cause` field that corresponds to the inner error. It's important to tra
24.
▲
by
conaclos
1y ago
I accept, however this requires to create many types with corresponding implementations (`impl From`, `impl Display`, ...). This is a lot of boilerplate.
25.
▲
by
conaclos
1y ago
Hi! Biome core contributor here. It could be nice to have a more descriptive title like: "Biome 2: first type-aware linter that doesn't require TSC" Some details about this reelase: - Type-aware lint rules - Plugins
26.
▲
Making the cooking recipes easier to follow
(pontus.granstrom.me)
3 points
by
conaclos
1y ago
|
0 comments
27.
▲
by
conaclos
1y ago
Our HTML formatter is ready and will be part of the upcoming Biome v2 release.
28.
▲
by
conaclos
1y ago
I once tried to use parser combinators and I was quite disappointed by the result. I find it harder to read and to handle error than regular recursive descendant parsers.
29.
▲
by
conaclos
1y ago
Another limitation I face is the impossibility of using `usize::from(n)` in `const` context.
30.
▲
by
conaclos
1y ago
I find it strange that the article doesn't talk about the alternative to checked arithmetic: explicit Wrapping [0] and Saturating [1] types, also provided as methods on numeric types (e.g. `usize::MAX.saturating_add(1)`). Regarding `as
More ›