Better HN
topnewbestaskshowjobs
Log inSign up

st0le

71 karma · joined Mar 18, 2014 (12y ago) · 77 submissions

[ my public key: https://keybase.io/gauravkamath; my proof: https://keybase.io/gauravkamath/sigs/vXDzGOuNY6xrbYgh_vYEhv-3euXNTV3u08pP-3T_Caw ]
Submissions

comment 1y ago · link · parent

Another fun trick I've discovered.

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

comment 2y ago · link · parent

This is an amazing idea! Love it.

comment 2y ago · link · parent

Did you happen to enable "recommendations" in Youtube Mobile App? That would implicitly enable it. I don't have Trending/Shorts because its disabled.

comment 2y ago · link · parent

https://sentry.io/welcome/ ?

comment 3y ago · link · parent

also https://jwt.ms (fully client side, hosted by Microsoft)

comment 3y ago · link · parent

IIRC They were acquired by Amazon. They have a paid offering for shared team environments.

comment 3y ago · link · parent

The python code sample starts off with C/C++ style comments.

comment 3y ago · link · parent

I use Starling.[1]

[1] https://apps.apple.com/ro/app/starling-for-hn/id1386611974)

comment 3y ago · link · parent

No idea how to call the api.

comment 3y ago · link · parent

Ultimate plumber can do this.

https://github.com/akavel/up

comment 3y ago · link · parent

`gum choose --no-limit`

https://github.com/charmbracelet/gum

comment 3y ago · link · parent

Also since ripgrep is already installed "grep -v" can be replaced with "rg -v"

comment 3y ago · link · parent

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)

comment 3y ago · link · parent

There's a Black Mirror episode with this plot.

comment 3y ago · link · parent

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 ;)

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

The GeoIP provider seems to provide a batch API. You can query upto a 100 IPs in a single request.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

Quick Feedback. Have a button to download the whole form as a json or dotenv file.

comment 4y ago · link · parent

Someone had the same idea and name :)

https://github.com/Miserlou/Loop

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

https://www.visidata.org/

comment 4y ago · link · parent

I find animated sorting algorithms and game solvers (maze solving , tic tac toe , sliding puzzles ) using search algorithms fun to watch.

comment 4y ago · link · parent

Fair warning to everyone reading this. Listary is now effectively abandonware.

comment 4y ago · link · parent

Did you see the inequality sign?

comment 4y ago · link · parent

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/

comment 4y ago · link · parent

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

comment 4y ago · link · parent

Yes.

comment 5y ago · link · parent

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...

comment 5y ago · link · parent

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

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

123