News for hackers. Stuff that matters.

miki725

Re:Oh My Posh: A prompt theme engine for any shell on Friday June 24, 2022 @01:28AM (#31858099)
https://starship.rs/ is another similar option. It's pretty fast but I haven't tested ohmyposh how it compares to starship
Re:Gosniff: A TUI-Based Tcpdump on Monday May 02, 2022 @12:23AM (#31231430)
+1 on termshark. It is pretty sweet. Much simpler to use compared to tshark/tcpdump imo since it avoids most of the cli flags complexity and uses familiar Wireshark filters
https://github.com/wez/wezterm is another great option. I find it's configuration is a lot simpler (and it's in lua) and it's also very fast.
Re:Show HN: SHA-256 explained step-by-step visually on Monday February 07, 2022 @06:35PM (#30253054)
Was about to reply with the link to the project. If anyone is curious about sha2 highly highly recommend to go thorough the project. Jack did an amazing job explaining everything step by step. Writing the code really helps to understand all the concepts much better.
This is amazing! Anybody knows anything similar for other music services like YouTube Music?
Re:Behold z, the unsung jewel that rethinks shell navigation on Wednesday February 17, 2021 @02:04AM (#26163551)
given that zoxide is not bash, it works in other shells like fish
There are efforts in improving that in 3rd party libs such as django-sorcery [1] which attempts to add Django-like ORM experience but with SQLAlchemy and django-rest-witchcraft [2] which is adding DRF integration to SQLAlchemy models. Not everything Django ORM does is supported however a lot of useful functionality works as expected. For example nested resource updates in serializers in DRF works out of the box without needing to write custom logic unlike in vanilla Django ORM DRF. Whats surprising is that the libs dont do too much magic to make it all work and most of it fairly simply plugs into Django so its not as troublesome as people might want to believe to integrate other things in Django. Its actually a pretty nice framework. Anyways for full disclosure Im a contributor to the mentioned libraries so I could be a bit biased here :D

[1] https://pypi.org/project/django-sorcery/ [2] https://pypi.org/project/django-rest-witchcraft/

Personally I run either pihole or something similar however setting something similar for all the friends is a bit cumbersome as it at least requires getting a raspberry pi. This seems like a really intriguing alternative although will voice similar concerns as others are expressing that the site does not indicate the source of the funding, motivations for the project, etc. As such that could be a barrier to entrust something as personal as DNS to a service without understanding their motivations and future plans. Would be great if that could be better outlined on the site.
Re:Show HN: Quickly browse the history of any GitHub file on Friday February 08, 2019 @08:12AM (#19113790)
This is amazing! Simple and elegant. This puts any other history viewer to shame. Now I wish this was available for GitHub enterprise for work code.