Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lor_louis
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
lor_louis
3mo ago
Do no give me hope like that.
2.
▲
by
lor_louis
4mo ago
A couple of months back my boss asked me why I didn't use AI all that much. I told him that I didn't think it made me more productive in the tasks at was doing at the time (having to wrangle undocumented really custom legacy infra
3.
▲
by
lor_louis
8mo ago
I've implemented a similar system based on the original 2020 paper, but we applied it to the text log to try to "extract" similar features from free-form text. It looked promising and even supported full regex search, but the
4.
▲
by
lor_louis
11mo ago
Handling text is a minefield. UTF-8 is great but when you get into graphemes, there's basically no way to handle them properly unless you write some code to generate graphene recognition based off the spec which is rather large and con
5.
▲
by
lor_louis
1y ago
I do something similar, but I don't implement the logic in a macro, instead I have a Vec struct which looks like struct Vec { void *data; size_t len; size_t cap; size_t sizeof_ty; } I then u
6.
▲
by
lor_louis
1y ago
I write a lot of C and Rust, and my personal experience is that for smaller C programs, Rust tends to have a slightly higher line count, but it's mostly due to forcing the user to handle every error possible. A truly robust C program w
7.
▲
by
lor_louis
1y ago
Even in Linux, I'd say the tooling is a bit rough, dune and the new lsp are going in the right direction though.
8.
▲
by
lor_louis
1y ago
Oh by "more complex" operations I referred to multiple cursors and multi line regex searches. I've noticed some performance problems in my own editor but it's mostly because "lines" become fragmented, if you al
9.
▲
by
lor_louis
1y ago
Kilo is a fun weekend project, but I learned the hard way that it's not a good base uppon which you should build your own text editor. The core data structure (array of lines) just isn't that well suited to more complex operations
10.
▲
by
lor_louis
1y ago
As someone who stopped using windows about 7 years ago, and only recently used it last weekend, my eyes probably glossed over the fact that some buttons were laid out horizontally. It also makes way more sense.
11.
▲
by
lor_louis
1y ago
To be fair, win11 is a nightmare in terms of usability. I can only assume a committee of eldritch beings and accountants designed it. It blows my mind that when right-clicking on a file in file explorer, the 'delete' option is hid
12.
▲
by
lor_louis
2y ago
That's the exact same circumstances that lead to the development of guerilla warfare. I don't know how you'd go around creating a "highly visible gimmick" that has any lasting impact though.
13.
▲
by
lor_louis
2y ago
As the author of the repo I was surprised how close to my mental model the graph was. (I haven't worked on this repo in a while so my mental model is a bit fuzzy) And yeah it seems to be missing a few connections but the ones that are
14.
▲
by
lor_louis
2y ago
I tried it on a personal repo and it never ended up generating a diagram. Might be a bug, so here's the repo. https://github.com/lorlouis/cedit
15.
▲
by
lor_louis
2y ago
To be fair, I'd rather type BEGIN instead of <<? Or whatever the trigraph is supposed to be. We tend to forget that a lot of computers didn't have the keys to type "mathematical" symbols.
16.
▲
by
lor_louis
2y ago
Luck and money.
17.
▲
by
lor_louis
2y ago
I've worked on a database that considered FSST as a way to query over compressed log lines. We found that the compression ratio was highly dependent on how repetitive the data was. In the end segmenting by service (Apache, our go stuff
18.
▲
by
lor_louis
2y ago
Cargo check won't report linker errors, that the only difference I ever ran into.
19.
▲
by
lor_louis
2y ago
A bump allocator can be implemented using atomics, but it does not support freeing individuals elements. I have seen some CAS heaps (linked list like) but I never had to implement them.
20.
▲
by
lor_louis
2y ago
I did not know about Eytzing-sorting, I'll look into it after my vacation, thanks! And yeah our current system is column oriented, and I already tried most of your recommendations (including tries) but the biggest limitation we face is
21.
▲
by
lor_louis
2y ago
Yeah I tend to work with strings data around the 15 to 30 ish char count so I'm also sceptical of german strings when it comes to raw memory usage. What really interests me, is that in theory, an SSTable built from German Strings that
22.
▲
by
lor_louis
2y ago
It looks a lot like cedarDB's "german strings". < https://cedardb.com/blog/german_strings/ > You could probably write a C++ implementation based on the article. Note that it's not all that
23.
▲
by
lor_louis
3y ago
Used to work with telecom equipment in situations where high availability was required and equipment failure was expected.
24.
▲
by
lor_louis
3y ago
Redundancy was needed because individual nodes/machines were more prone to failure. As machines got more and more reliable, having highly redundant infrastructure was seen as an extra cost.
25.
▲
by
lor_louis
3y ago
I personally believe that Swift's strings where graphemes are the smallest indexable unit are the gold standard for writing logic that might truncate multilingual text. It's still not perfect though, they add overhead and updates
26.
▲
by
lor_louis
3y ago
In utf-8, bytes (uint8_t) may not represent a whole "code point". A code point being an individually meaningful element in utf-8 like a space an 'e' or a modifier code point like an accent or a ZWJ. Most utf-8 libraries
27.
▲
by
lor_louis
3y ago
I would argue that strings as an array of individually addressable 'characters' is a bad fit for modern multilingual text handling.
28.
▲
by
lor_louis
3y ago
It would be interesting to replicate the study in a financial district...
29.
▲
by
lor_louis
3y ago
> old computers > not updated since 2021
30.
▲
by
lor_louis
3y ago
I’m pretty sure intelligence in programming does not transfer to other domains. This is someone who wasted years of their life to become a really great programmer. An accomplishment in the world of startups for sure, but with no actual cons
More ›