Better HN
topnewbestaskshowjobs
Log inSign up

silentprog

121 karma · joined Feb 5, 2020 (6y ago) · 28 submissions

fokker.b at pm.me
Submissions

comment 6d ago · link · parent

Whilst enjoyable reading style I feel like it’s a bit shallow in the concepts. Also the statement: “hft firms saturate 400 gbps and that is x ns” is way to simplified. It really depends on the PPS, the bigger your packets are the lower pps. Also there is rss load balancing to multiple cores and obviously a form of buffering.

2.

Multi-Select in Fzf history(bartfokker.com ↗)

2 points · by silentprog · 11mo ago · discuss

comment 2y ago · link · parent

This works, but you won’t get the interface name in wireshark. If you also require the captured interface you can substitute tcpdump with tshark

comment 3y ago · link · parent

Maybe you could take a look at a Bloom Filter datastructure, space efficiënt probalistic set for testing if something is present

[1] https://en.m.wikipedia.org/wiki/Bloom_filter

comment 3y ago · link · parent

chrome and nextjs do not share a use case. Whereas chrome is a web browser nextjs is a framework for building web applications.

comment 3y ago · link · parent

This functionality is (sort of) already possible in firefox (and possibly other browsers) and I use them quite often, the only problem is that managing them is not as straight forward.

An example bookmark which allows you to search on npm:

Set url to: https://www.npmjs.com/search?q=%s add keyword: npm

Now when typing 'npm <some_random_package>' in the url bar, it will execute the bookmark and link to https://www.npmjs.com/search?q=<some_random_package>

7.

Show HN: AI assistant for the command line (github.com/barthr/commandpilot)(github.com ↗)

2 points · by silentprog · 3y ago · discuss

8.

An ode to command line tooling(barthr.ghost.io ↗)

3 points · by silentprog · 4y ago · discuss

comment 4y ago · link · parent

I was in the same camp as you a few years ago and also wrote an utility to handle this. Might be of any interest to you.

https://github.com/barthr/web-util

And the blog post explaining it: https://bartfokker.com/posts/clean-handlers

comment 4y ago · link · parent

https://cuelang.org/

comment 4y ago · link · parent

Same, also seamslessly connecting to my headphones while before I had to unpair and pair the whole time.

comment 4y ago · link · parent

I’ve noticed this as well. That is why I’ve started scraping those agency websites and send an email whenever a new listing matching my criteria came online. I even made a tool out of it for others to use [1] (it currently crawls around 50 sites).

[1] https://housemail.nl

comment 4y ago · link · parent

I think most of the same is true for Go. These languages are perfect for making CLI/TUI tools

comment 4y ago · link · parent

It generates functions. Though not with a “$@“ at the end, so passing additional arguments at this moment is not supported. I also run a syntax check before the function is added to the file.

comment 4y ago · link · parent

Care to elaborate?

comment 4y ago · link · parent

Interesting way of aliasing right from where you use it! I actually replaced my default shell history search with fuzzy search using (https://github.com/junegunn/fzf), I can highly recommend it!

comment 4y ago · link · parent

Thank you! Currently the software is very much alpha, so some bugs are expected. I also use shell aliases a lot, though redo is currently not creating aliases but shell functions. In the future I want to add support for creating actual aliases as well instead of shell functions. A simple solution would be to not create a function but an actual alias and chain the commands with &&, this would work but then you lose the power to edit the function and for example have arguments to some commands and not to others.

18.

Show HN: Redo – Command line utility for quickly creating shell functions(github.com ↗)

124 points · by silentprog · 4y ago · 30 comments

comment 4y ago · link · parent

Jdbi is also really good.

20.

Hilla: Modern web framework for Java(hilla.dev ↗)

27 points · by silentprog · 4y ago · 10 comments

comment 4y ago · link · parent

Cool, this looks a bit like: https://github.com/dgtlmoon/changedetection.io

comment 4y ago · link · parent

Elixir certainly has its use case, but so does Ruby. Things like the huge amount of available gems and a big community, especially combined with a proven framework like Rails really makes it easy to build applications.

Elixir is well suited for a lot of things Ruby is but also has some shortcomings. For instance, the albeit growing community and available libraries is just not on the same level as Ruby. Furthermore the amount of available engineers knowing elixir can be a problem when hiring (ofcourse these can be trained internally) but in general hiring will be a tad bit harder.

Whilst I agree with you on the technical side (language is cleaner and obviously more performant) I do not agree on the statement dat Elixir is a better tool, as with a lot of things in software it depends.

comment 4y ago · link · parent

Author here, when trying to come up with a domain name for my side projects I usually want to see what variations including the tld would end up being a cool, for example goo.gle and bit.ly. Normally I would search around in the Root zone database trying to come up with good domain names, since this is quite tedious I came up with this simple (client side) tool to assist in finding those domain names. Let me know what you think!

24.

Show HN: TLD Suffix Finder – Show which TLD's form the word you are looking for(barthr.github.io ↗)

6 points · by silentprog · 4y ago · 1 comment

25.

Ask HN: Good resources for SEO focussed on developers?

2 points · by silentprog · 4y ago · 1 comment

comment 6y ago · link · parent

Since when is java slowly dieing?

comment 6y ago · link · parent

I wonder if the owner of example@example.com experience the same.

comment 6y ago · link · parent

I'm following the second part of: https://www.craftinginterpreters.com/