Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yorhel
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
1.
▲
by
yorhel
8y ago
And I'm saying you can't have fast rescans in all cases - it very much depends on the filesystem and directory structure. I'm not trying to downplay nnn - I meant it when I said it's a cool project! I'm saying each
2.
▲
by
yorhel
8y ago
I appreciate your work, but you're not being very honest with your claims. nnn is not keeping information about 400K files in memory in that benchmark. As a result, the rescan is necessary when changing directory. The rescan may be f
3.
▲
by
yorhel
8y ago
This looks incredibly cool, I love the speed and minimalism. It doesn't seem as configurable and feature-packed as vifm[1], so I'll probably stick with that, but it certainly fills a good niche. > nnn vs. ncdu memory usage in d
4.
▲
How to Recognize a Review Key Scammer
(blog.fruitbatfactory.com)
2 points
by
yorhel
9y ago
|
0 comments
5.
▲
by
yorhel
10y ago
There was a similar talk[1] at FOSDEM, where the speaker describes how, as an experiment, he replaces a full ELK stack plus other monitoring tools with PostgreSQL. He even goes as far as implementing a minimal logstash equivalent (i.e. log
6.
▲
by
yorhel
11y ago
Shameless plug: I also maintain a few small single-file C libs at https://dev.yorhel.nl/ylib And, separately, a small-single-file-but-correct XML parser: https://dev.yorhel.nl/yxml
7.
▲
by
yorhel
11y ago
I'm surprised that even the fastest implementation needs 20+ms to search a 1000-element array. I would expect even a linear search to finish within 1 or 2ms with such a small data set. How large are the array elements? How were the tim
8.
▲
by
yorhel
12y ago
Location: Netherlands Remote: No Willing to relocate: Within the Netherlands Technologies: C, Perl, PostgreSQL, Apache, lots of Linux stuff Résumé/CV: Mail me for full CV, check my OSS projects in the mean time: http://dev.y
9.
▲
by
yorhel
12y ago
Note that quvi support has been removed on mpv git recently. They seem to be considering a switch to youtube-dl instead. https://github.com/mpv-player/mpv/commit/9b45b48c466765b6491...
10.
▲
by
yorhel
12y ago
SEEKING WORK - Remote or near Enschede, Netherlands Available for any C (not C++, sorry) development where performance and efficiency matter. Love working with low level stuff, embedded systems, network protocols, security, and making it al
11.
▲
by
yorhel
13y ago
Hmm? The stack buffer in yxml will never cause parsing to block, and there's no added dependencies on... anything? I don't think that buffer causes any problems even on a size-restricted microcontroller that doesn't have mall
12.
▲
by
yorhel
13y ago
It's new, yes. I wrote it about two months ago because I needed a parser and found the existing solutions too bloated. > It doesn't allocate or buffer, so when it says that it verifies proper nesting, I assume that doesn't
13.
▲
Show HN: A 6KB, fast and mostly-correct XML parser in C
(dev.yorhel.nl)
3 points
by
yorhel
13y ago
|
5 comments
14.
▲
RFC 7049 - Concise Binary Object Representation (CBOR)
(tools.ietf.org)
81 points
by
yorhel
13y ago
|
52 comments
15.
▲
by
yorhel
13y ago
Agree with the article; Linda is great, both the name and the project. It was one of the more interesting topics of a Distributed Systems course that I followed, but I never ended up using it (or its concepts) in practice due to the perform
16.
▲
by
yorhel
14y ago
Start with the Autotools Mythbuster: http://www.flameeyes.eu/autotools-mythbuster/ The autoconf & automake documentation is generally quite good as well.
17.
▲
by
yorhel
14y ago
Please do use autotools! You only need two files: configure.ac and Makefile.am, both at the top-level of your project. The autogenerated stuff can be ignored, you don't have to learn M4 to use autoconf. And (if you are a bit careful, but
18.
▲
by
yorhel
14y ago
> Firstly you need a way to incrementally verify a file Following the proposal of the article, you don't really need that. If you don't have the hash in your local cache, you should assume that the link provided by the site is correct a
19.
▲
by
yorhel
14y ago
Odd-sounding request: Is it possible to have an option to not use gpg, or any encryption, at all? I only store my passwords on a LUKS loopback file, which I mount/umount as I need to access some information on it. The double-encryption does
20.
▲
by
yorhel
14y ago
Minor downside: You have to ensure that the contents of a {code ..} block have all their open-brackets matched with close-brackets. This can be quite tricky with larger code examples. The bbcode [/code] equivalent is slightly less problemat
21.
▲
by
yorhel
14y ago
On a related note: Be wary of the dlclose() function, it may not necessarily free any resources[1] and not every libc implements it correctly[2]. 1. http://www.openwall.com/lists/musl/2012/08/20/1 2. http://www.openwall.com/lists/musl/20
22.
▲
by
yorhel
14y ago
If the /robots.txt does not mention a Crawl-delay, one page per 3 seconds is often a safe value. Of course this rather heavily depends on the site. In any case, if you have any specific need, always contact the people responsible for the si
23.
▲
by
yorhel
14y ago
> I managed to crawl [..] more than 300k movies from IMDB in just a few hours I suppose IMDB already has a pretty good architecture to handle that load, but please, if you're crawling from a single site, be careful . I host a similar d
24.
▲
by
yorhel
14y ago
That's what I thought as well, but "yorhel" has been taken on Twitter for quite a while.
25.
▲
by
yorhel
14y ago
Oops, just actually tried to compile from git and it just worked. I was under the impression that the qt-psql library wasn't included by default, so I went looking for a package and only found something outdated on AUR[1]. At which point I
26.
▲
by
yorhel
14y ago
Just tried to compile from git, but the qt-psql requirement wasn't very easy to satisfy on Arch. Your Ubuntu binary worked fine. Looks quite nice, and there certainly is a need for more PostgreSQL GUIs. Some feedback from the minute I used
27.
▲
by
yorhel
14y ago
Ah, I wasn't aware of that. Thanks!
28.
▲
by
yorhel
14y ago
Somewhat related question: It's fairly common for sites to have static files (images/css) served on a different (sub)domain. What are you supposed to do when the html content is being served on HTTPS? Should the static files be on HTTPS as
29.
▲
by
yorhel
14y ago
I've had very positive experiences with statically linking against musl[1], As long as your code and the required libraries don't use dlopen() tricks (e.g. as glib GIO does), you can quite reliably create a single statically linked binary f
30.
▲
by
yorhel
14y ago
Just nitpicking: DC++ is one implementation. The network is usually referred to as "direct connect". DC++ wasn't even the first DC client, it just happened to be the most popular one at the time the network itself was still quite popular.
More ›