News for hackers. Stuff that matters.

silentprog

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
Re:Show HN: A Domain Name Generator that's useful on Friday October 06, 2023 @12:44PM (#37793049)
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

chrome and nextjs do not share a use case. Whereas chrome is a web browser nextjs is a framework for building web applications.
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>

Re:The problem with Go’s default HTTP handlers on Tuesday August 09, 2022 @12:57PM (#32400522)
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

Re:PipeWire: Bluetooth Support Status Update on Friday April 29, 2022 @05:32PM (#31210799)
Same, also seamslessly connecting to my headphones while before I had to unpair and pair the whole time.
Re:I need to find an apartment on Sunday April 10, 2022 @05:47AM (#30975666)
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

Re:Navi- an interactive cheatsheet tool for the command line on Wednesday April 06, 2022 @02:40AM (#30929108)
I think most of the same is true for Go. These languages are perfect for making CLI/TUI tools
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.
Care to elaborate?
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!
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.
Re:Hilla: Modern web framework for Java on Thursday March 10, 2022 @01:15PM (#30630324)
Jdbi is also really good.
Re:An example of why RSS is useful and important on Friday February 18, 2022 @06:20PM (#30392532)
Re:What's new in Ruby 3.1? on Tuesday January 25, 2022 @02:57PM (#30077161)
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.

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!
Re:Deno 1.4 on Sunday September 13, 2020 @03:28PM (#24463269)
Since when is java slowly dieing?
Re:The joys of owning an ‘OG’ email account on Thursday September 03, 2020 @01:58AM (#24361133)
I wonder if the owner of [email protected] experience the same.
Re:Ask HN: What's your quarantine side project? on Thursday May 14, 2020 @04:08PM (#23184715)
I'm following the second part of: https://www.craftinginterpreters.com/