HN2new | past | comments | ask | show | jobs | submit | thoughtpalette's commentslogin

You can obviously bypass them, but having precommit hooks to run scripts locally, to make sure certain checks pass, can save them from failing in your pipeline, which can save time and money.

From an org standpoint you can have them (mandate?) as part of the developer experience.

(Our team doesn't use them, but I can see the potential value)


I never understood this argument.

The checks in those pre-commit hooks would need to be very fast - otherwise they'd be too slow to run on every commit.

Then why would it save time and money if they only get run at the pipeline stage? That would only save substantial time if the pipepline is architected in a suboptimal way: Those checks should get run immediately on push, and first in the pipeline so the make the pipeline fail fast if they don't pass. Instant Slack notification on fail.

But the fastest feedback is obviously in the editor, where such checks like linting / auto-formatting belong, IMHO. There I can see what gets changed, and react to it.

Pre-commit hooks sit in such a weird place between where I author my code (editor) and the last line of defense (CI).


> Then why would it save time and money if they only get run at the pipeline stage? That would only save substantial time if the pipepline is architected in a suboptimal way: Those checks should get run immediately on push, and first in the pipeline so the make the pipeline fail fast if they don't pass. Instant Slack notification on fail.

That's still multiple minutes compared to an error thrown on push - i.e. long enough for the dev in question to create a PR, start another task, and then leave the PR open with CI failures for days afterwards.

> But the fastest feedback is obviously in the editor, where such checks like linting / auto-formatting belong, IMHO.

There are substantial chunk of fast checks that can't be configured in <arbitrary editor> or that require a disproportionate time investment. (e.g. you could write and maintain a Visual Studio extension vs just adding a line to grep for pre-commit)


What handheld do you use? I'm window shopping an upgrade from my miyoo mini.


Lenovo Legion Go.

The original one with detachable controllers. The SSD is really easy to replace, and my logic is the controllers have to go bad eventually.

Edit: comes with a nice case and 2 USB c ports.

Be realist with what games will work, frame gen only goes so far.

I'd rather spend 80$ on new controllers vs 600$ on a new device.


There's an AppleTV app for it, which makes it trivial to connect a BT controller and finally finishing that Donkey Kong Country that's been holding you back,


Loved the Go store in Chicago (Ogilvy), had some great lunch options and even a take home "dinner for two" bag of premade ingredients.


Bring back Cybiko's, we can message there instead.

https://en.wikipedia.org/wiki/Cybiko


Oh man, I remember these. A modern version would be pretty cool.


Built a scheduler with pretty much all my moment/moment-tz questions answered through ChatGPT. One of the things it excels at, crawling long lived API documentation, answers, etc.


Been using Apple Music all day today, streaming. Have yet to encounter an issue.


Must be a partial outage then? I was using Music earlier today as well. On my phone I download most of my music so I might never notice an outage though.


Good point! I might not have noticed.


Loved Tribes! I mostly played Paintball mod from 2000-2004!


It was such a fun game! My friend group got really into the Shifter mod, you could build defenses for your base like walls and turrets. It was a blast!


Everything about Tribes was awesome.

Such a shame the way the post-Dynamix/T2 development studios completely failed to understand what made 1 & 2 great.


"...because everything runs js*"

Javascript runs on ~70% of all devices worldwide.


Just to add I'm also in this boat. We have a ASUS ROG NUC in our living room and it's a pain logging into Windows (cant find an actual tutorial to skip that works) .

It's been a great entry way into gaming for my wife (lot's of cozy games) and I also play a few games from my steam backlog (Halo, Hades 2, etc). I don't feel like we're in the minority for what a couch system is used for but maybe.

The largest hurdle for steam in the living room so far has been controller support or lack of couch co-op games.


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

Search: