Hacker News new | past | comments | ask | show | jobs | submit | LecroJS's comments login

So is that post’s sentiment: https://news.ycombinator.com/item?id=43725229


TIL, thanks!


What did you dislike about connecting to Postgres from AWS lambda?


You have to build the driver. And sometimes libc version on lambda runtime is slightly different from libc that is linked to the driver.

Overall there was a lot of trial and error and no clear way to test everything locally in the container.


Well said. This can go even further by defining JavaScript code as functions in a sheet. For example, if someone pays you back, you click a checkbox in the corresponding cell, and it runs your code to send them a thank you email.


+1 for Rectangle. It’s the first thing I install after homebrew on any new Mac. I came from Spectacle after EOL and was pleasantly surprised at the additional features (like window snapping) + support for Spectacle binds. If you want to try it out, it’s as easy as `brew install --cask rectangle`


Super smash brothers melee, and it still has a strong grassroots competitive scene. It’s a work of art made in only 9 months


This is hilarious. The “final thoughts” section really hit home for me. Thanks for sharing


I have an adjacent, simple scripting story.

Battlefield 2042 recently had an XP glitch where you could go into a server with BF3 settings, throw ammo to a teammate and get XP for the resupply. Naturally there were several servers dedicated to this with 128/128 players and everyone on one team all standing at one objective.

Rather than actually play the game to level up and get the weapons/gadgets I wanted or even play this accelerated XP mini game, I wrote an ahk script to automate the equipping and dropping of the ammo crate so that I could do other things.

I only had to let it run for a few hours before I was max level, and the 10 minutes of scripting gave me the benefit for something I wouldn’t otherwise subject myself to.


Can you expand on “from a specific moment till done” and possibly provide an example? What’s the exit condition? Time? A ui change? Seems like you could write a do_macro function and bind a key to loop it till “done” but I may be misunderstanding


Oh yes of course, thanks for the follow up! I work in many different applications therefore I can't create fixed automations for the major part, but many times I come across tasks I need to do N times with ui elements always on the same spot. Think of it like the very same website but in a different context (build, commit, server, ...). I want to start a macro recording, do my stuff and stop the recording, then start the playback N times like shift-F11-13 where 13 is the number of loops. All that should be ui hidden and always be on the watch for my keystrokes to start recording/playback.


Thanks for the extra details, I think I understand what you’re looking for.

Have you looked into something like this[1] for generating the macro as an ahk file? Full disclosure: I have not used it, but it seems like what you’re looking for. If you find that it suits your needs, I’d use that to record the macro and then wrap it in a loop from 1..N where N is based on the Fn key you press. That should do the trick unless I’m misunderstanding.

I wish I could be of more help, but this repo seems like a decent starting point for your use case.

Apologies if the formatting is poor as I am on mobile.

[1] https://github.com/adegard/AHK_SCRIPTS


Any recommendations for a under desk treadmill? I’m purchasing a standing desk soon and this seems like a great addition


I bought one from Amazon, but I'm not really sure if I'd strongly recommend it. It works well, but sometimes makes weird noises. If you plan on using it a lot, I recommend considering purchasing an extended warranty.


Good to know. Thanks for taking the time to share your insight


Any source for this? I’ve never heard of this and am curious to learn more.


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: