HNHacker News
TopNewBestAskShowJobs

dnpp123

237 karma · joined June 1, 2019

submissionscomments
dnpp123··on Searx instances
I tried to use searx for a while, but gave up due to the lack of decent instance.

Ended up using startpage.com - it might be a tad worst for privacy but a lot better for usability IMHO. If anyone is aware of a better alternative, I'd love to know about it.

dnpp123··on Blockchain, the Solution for Almost Nothing
> I have never heard of a bank simply taking money from someone’s account. If a bank did something like that, they would be hauled into court in no time and lose their license. Technically it’s possible; legally, it’s a death sentence.

https://en.wikipedia.org/wiki/Capital_controls_in_Greece

https://www.thenationalherald.com/archive_general_news_greec...

https://www.cadtm.org/The-Troika-s-Policy-in-Greece-Rob-the-...

People have such a short memory.

dnpp123··on USPS Files Patent for a Blockchain-Based Voting System
I'm definitely opposed to 'electronic' voting, but the problem you are describing is easily solvable with asymmetric cryptography.

You'd have your private key on your 'voting card' (unsure how you call it in the US) with some pw and the machine would just scan it, ask your password. You just need the proof that someone having a private key associated with a public key on a public record has signed, not necessarily know to which public key it is associated.

But there would be so much problems with such a system that I would'nt even know where to start..

dnpp123··on USPS Files Patent for a Blockchain-Based Voting System
I think that system is pretty similar everywhere, probably only in the US you have some weird mechanical machine to cast your vote.
dnpp123··on Ugrep: Faster Fuzzy Interactive Grep
For having spent some time playing with ripgrep and hyperscan (https://sr.ht/~pierrenn/ripgrep/) the benchmarking part looks really odd to me.

The T5/T6/T7/T8/T9 are no way extensive enough to show a difference between hyperscan and ripgrep. Plus, the benchmark already includes the pattern compilation time in the hyperscan benchmarks so this makes even less sense.

So the only upside left to this tool is usability. And from a quick test I don't really see the point. I'd prefer to use something written in a safe language (e.g. Rust) than this so I guess I'll just stick with rg.

dnpp123··on Discret 11, the French TV encryption of the 80s
TIL. I really thought it was only a French thing. Thanks.
dnpp123··on Discret 11, the French TV encryption of the 80s
That's exactly what they did and where they got most of their customers from.

Those 'free viewing' (canal+ en clair) probably had one of the biggest impact on french comedy TV culture ever. Some shows of that era are still on AFAIK.

dnpp123··on Discret 11, the French TV encryption of the 80s
I guess that's the closest you can get of an 'insider joke' on HN.
dnpp123··on Tycoon Xavier Niel says he was spy who hacked ex-French president
https://fr.wikipedia.org/wiki/Cr%C3%A9puscule_(pamphlet)
dnpp123··on Tycoon Xavier Niel says he was spy who hacked ex-French president
News aside (whether true or not), this guy is definitely more evil than Jeff and Zuck combined.
dnpp123··on Ask HN: What startup/technology is on your 'to watch' list?
Yeah, if anything, C++ is getting less serious about safety by piling features over features. Just write Rust instead.
dnpp123··on Sort of handy
I prefer https://github.com/bootandy/dust , more lightweight
dnpp123··on Automattic invests in Matrix
Let's hope they use that money to make synapse more lightweight...

Synapse plus a few bridge just eats all my server's resources. Go wonder why they chose to do it in python...

dnpp123··on Announcing TypeScript 3.9
ReasonML looks cool, first time I hear about it. Thanks.

Elm/Purescript syntaxes are not my kink. Open to other suggestions though.

dnpp123··on Announcing TypeScript 3.9
I like typescript as it fixes a lot of JS quirks - that's good when you have to write code transpiled to JS.

However coming from languages where types are a first element of the language (c++, rust, go...), I often miss a lot of features in typescript (e.g. type conversion overload, generic specialization, etc...)

I know that by design Typescript doesn't want those features and I understand the rationale behind it. I'm just wondering if I'm the only one in that case and if someone would know a language transpiling (not compiling) to JS more appropriate to my tastes (and hence with different goals).

dnpp123··on Convert Markdown to a Mind Map
Cool!

Slightly related, I also like: https://www.diagram.codes/

dnpp123··on Show HN: SpicyPass – A free and open-source minimalist password manager
> just a wrapper for the unix toolset

Yeah, that's the point of using Unix, and why pass is great for that.

dnpp123··on Show HN: SpicyPass – A free and open-source minimalist password manager
Yeah I don't see the advantages of this compared to `pass` as well.

The whole source code of bash pass [1] is almost as long as a single header file [2] from this C++ software. Plus pass already handles backup... Minimalist heh.

[1] https://git.zx2c4.com/password-store/tree/src/password-store...

[2] https://github.com/JFreegman/SpicyPass/blob/master/src/spicy...

dnpp123··on Show HN: Harness the power of hyperscan on the CLI with this fork of ripgrep
Yes.

However since you can precompile the DB (with the provided flag), this works fine when you have a lot of regexps which don't change and new packs of data to parse.. which was (basically) the original use case of hyperscan.

For a single use, unless you have hundreds of GB of data to parse, the default ripgrep engine might just be better.

dnpp123··on Show HN: Harness the power of hyperscan on the CLI with this fork of ripgrep
(i'm the author of the fork)

Yes the use case here is quite peculiar. Ripgrep default search engine is already amazingly fast, plus the fact that hyperscan DB can only be compiled using a single core and take some time doesn't help.

I'll try to sync the fork with upstream at least once a month in the future.. but yeah the ubiquity of (GNU) grep makes it hard to replace.

dnpp123··on Shall We Play a Market Timing Game? (2018)
Cool but although I agree with the general message :

"The market returned 214.6% during this period or 21.05% annually."

This simple math statement is wrong and makes me wonder about this website accuracy.

edit : yes this was for a period of 9 years on the market which should be around 9% annual returns instead.

dnpp123··on Parallel-Stream
This looks cool. Something I really never get with async is the executor:

- if I use this do I have do use tokio or async-std ? none ? is the code assuming an executor ?

- e.g can I use this library with, let's say, hyper ? tide ?

dnpp123··on Google Open Source Code Search
Thanks. Sourcegraph seems better from my 1mn test ?

Following this article https://bugs.xdavidhu.me/google/2020/03/08/the-unexpected-go... recently featured on HN, I tried

https://cs.opensource.google/search?q=%2F%5E(%3F:(%5B%5E:%2F... : no result

https://sourcegraph.com/search?q=/%5E%28%3F:%28%5B%5E:/%3F%2... : 2 results !

dnpp123··on A Peek Into Graviton2
Those are worst IMHO - when you look at the tricks used by top performers to look good, it does not reflect real life situation at all.
dnpp123··on The unexpected Google wide domain check bypass
You could say pretty much the same for TCP (or even maybe lower down the network stack)
dnpp123··on Pleroma 2.0: a free, federated social networking server built on open protocols
I'm running Pleroma in the same use case, it works fine for me I think.

If other people want to do that and switch from Twitter -> Fediverse, I wrote a bunch of scripts to switch from Twitter to Fediverse :

https://git.sr.ht/~pierrenn/twitter_escape

Sadly, this is a bit spammy method, but I had only a dozen or so complaints so far and my "Whole known network" is now seeded pretty well : https://s.pnn.sh/ (this is a small single user home instance on ARM, so it's slow)

And TBH I find the Pleroma UI better than Mastodon for the single user instance - plus clicking on the date to get replies in the Mastodon frontend always feels weird (but it's personal taste !)

dnpp123··on Move Fast and Break the Iowa Caucus
More infos :

https://venturebeat.com/2020/02/04/mysterious-startup-shadow...

https://twitter.com/drmistercody/status/1224597485781303297

dnpp123··on The Rust Compilation Model Calamity
It would be interesting to have a `reverse` blog post "why Go compilation time is fast" e.g. which optimizations are overlooked/done quickly by the go compiler ? Could the binary quality be improved by increasing the compilation time ? AFAIK you don't have optimization flags in go (or the default one are optimum).

And to be honnest, I have no idea what the compiled Go code looks like. As much as I have no idea what actual instructions are executed by the python interpreter.

dnpp123··on Let's Destroy C
Ow alrighty then. Looking at comments here I'm not sure some other people saw that sentence haha
dnpp123··on Let's Destroy C
I guess this article is to be taken lightly as kind of a "joke" ?

The first proposed macro displayln is the archetype of malpractice. What if I want to do:

if(some_condition) displayln("enjoy debugging that");

etc etc... almost all proposed changes seem to be awful ?

← PreviousPage 3 of 4Next →