News for hackers. Stuff that matters.

st0le

Re:That XOR Trick (2020) on Wednesday July 02, 2025 @08:14PM (#44450233)
Another fun trick I've discovered.

`XOR[0...n] = 0 ^ 1 .... ^ n = [n, 1, n + 1, 0][n % 4]`

This is an amazing idea! Love it.
Re:Ask HN: YouTube keeps switching watch history back on on Monday December 11, 2023 @05:01AM (#38599142)
Did you happen to enable "recommendations" in Youtube Mobile App? That would implicitly enable it. I don't have Trending/Shorts because its disabled.
Re:Deno Cron on Thursday November 30, 2023 @12:32AM (#38470039)
Re:Jwt.is – JSON Web Token Debugger on Thursday November 09, 2023 @02:24PM (#38209669)
also https://jwt.ms (fully client side, hosted by Microsoft)
Re:Show HN: Inshellisense – IDE style shell autocomplete on Monday November 06, 2023 @05:50PM (#38170287)
IIRC They were acquired by Amazon. They have a paid offering for shared team environments.
Re:Show HN: Launched my side project, an online code compiler on Thursday September 14, 2023 @01:51PM (#37512355)
The python code sample starts off with C/C++ style comments.
Re:Ask HN: HN App for iOS on Thursday August 24, 2023 @03:42PM (#37253638)
No idea how to call the api.
Ultimate plumber can do this.

https://github.com/akavel/up

Re:CLI tools hidden in the Python standard library on Thursday June 29, 2023 @04:55PM (#36526588)
Also since ripgrep is already installed "grep -v" can be replaced with "rg -v"
Re:Show HN: Webhooks That Email You on Thursday June 22, 2023 @12:52AM (#36428127)
Reminds me a of a short lived project websocket.email. Instead of webhook, you could listen on websocket for emails. Might be a Pro feature for your project.

https://github.com/websocket-email (there's no server anymore, but client lives on GH)

There's a Black Mirror episode with this plot.
Re:Show HN: I made a super simple iOS app to track expenses on Thursday February 16, 2023 @11:46AM (#34821147)
I had this idea to basically have the Budgeting app look at the notifications on my phone or emails from the bank to parse the transactions details automatically.

On iOS if an app exposes a Shortcut, I could setup a Shortcut Automation to automatically add an expense when a new email from my bank shows up. Would need some REGEX or LLM ;)

Re:Watchman: Execute a command when something changes on Wednesday October 05, 2022 @12:20PM (#33097485)
Is there a similar tool that can trigger a command when the output of command changes or the stdout has some kind of string?

I understand this is shell script territory, but a cross-platform tool would be ideal.

Re:Show HN: Processing Nginx Logs with Python on Monday September 19, 2022 @02:53PM (#32902343)
The GeoIP provider seems to provide a batch API. You can query upto a 100 IPs in a single request.
Re:Espanso Cross-Platform Text Expander on Friday August 26, 2022 @01:46PM (#32610609)
One of my most common workflow is I copy the name of a "resource" and have to type out some diagnostic queries.

So I have espanso trigger on a shortcut and autofill queries with the clipboard being used as a placeholder.

Quick Feedback. Have a button to download the whole form as a json or dotenv file.
Re:Show HN: Loop, run a command in loop and nothing else on Tuesday August 09, 2022 @11:57AM (#32399654)
Someone had the same idea and name :)

https://github.com/Miserlou/Loop

This is pretty nice. Doesn't seem to be working at the moment.

- Do you get what it is?

It's a tiny serverless nodejs platform that comes baked in with a global state store. Supports updates via websockets as well.

- What would you use it for?

If I had to use this for home automation, perhaps have it remember if the "light was on or off" to get toggle functionality to something that doesn't have it.

Reminds me of napkin.io except for the websocket endpoint.

I find animated sorting algorithms and game solvers (maze solving , tic tac toe , sliding puzzles ) using search algorithms fun to watch.
Re:PowerToys – open-source Windows utilities on Sunday May 08, 2022 @11:19PM (#31310184)
Fair warning to everyone reading this. Listary is now effectively abandonware.
Re:Is this the simplest sorting algorithm? on Saturday May 07, 2022 @11:42PM (#31301072)
Did you see the inequality sign?
Thank you for your work. I definitely think it's much better than most solutions out there. I was exploring trying to get it to work with espanso[1] (also written in Rust) but haven't had much time.

[1]: https://espanso.org/

Used to use FZ but it relies on the user to move windows around. More of a passive window manager.

I've been using komorebi[1] but it's rather clunky with the ahk dependency. I'll have to try Glaze and give it a spin.

[1]: https://github.com/LGUG2Z/komorebi

Re:Ask HN: Is Google Down for You? on Saturday March 19, 2022 @03:00PM (#30736647)
Yes.
Re:Story of the Flash Fill Feature in Excel on Saturday September 18, 2021 @02:58AM (#28574287)
Fun fact: Powershell 5.1 has a `Convert-String`[1] cmdlet that is a Flash Fill implementation for CLI. You can do these inferences in Command Line.

[1]https://docs.microsoft.com/en-us/powershell/module/microsoft...

Does a Task mean a Task Config or Task Run/Execution?

Does the free-tier come with an "executions" limit?

Older »