Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
js2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
54 ms
·
931.
▲
by
js2
3y ago
This EZCOO HDMI splitter will also do the job as well as let you customize the EDID: https://www.amazon.com/Splitter-l-b-y-Vision-Atmos-Scaler/dp... Some folks use that splitter with home theater projectors to enable L
932.
▲
by
js2
3y ago
I really don't find using subprocess all that tedious personally. I usually have one helper function around `subproces.run` called `runx` that adds a little sugar. But if you really want something more ergonomic, there's sh: http
933.
▲
by
js2
3y ago
This is disappointing to read. I've had nothing but excellent service from Ally. Whenever I've called their customer support, they are quick to answer, polite, competent, and have always resolved whatever problem I was having. But
934.
▲
by
js2
3y ago
They're Made Out of Meat (21 submissions) and The Egg (33 submissions) seem to be the most frequently submitted short stories to this site: https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
935.
▲
by
js2
3y ago
Safari mobile folks: you have to turn off silent mode.
936.
▲
by
js2
3y ago
https://web.archive.org/web/20231124144003/https://www.theat...
937.
▲
by
js2
3y ago
If it makes you feel any better, I work for a not small company and Apple and Google both treat our app submissions the same way. We have rejections so often we have a Slack channel dedicated to it, an internal FAQ, and automated checks we
938.
▲
by
js2
3y ago
Git is conceptually simple but has a baroque UI. I really recommend spending 15 minutes to understand it conceptually: objects: blobs, trees, commits, annotated tags refs: branches (local, remote-tracking), tags, HEAD other: working tree, i
939.
▲
by
js2
3y ago
Holy crap, 25 years of writing shell scripts and I just learned the difference: With colon, tests variable for unset or empty. Without the colon tests only for unset. It's POSIX too: https://pubs.opengroup.org/onlinepub
940.
▲
by
js2
3y ago
Hello fellow traveler. I've got 20 years of scripts with `if test` in them. I only use `[[` when I need functionality it provides that `test` does not (pattern or regex matching, typically, and for pattern matching I'll generally
941.
▲
by
js2
3y ago
They meant "${FOO:-}" which should still be quoted. The general form is "${FOO:-default}" where default can itself be another variable or whatever string you want. I usually prefer to set default values at the top of a s
942.
▲
by
js2
3y ago
https://news.ycombinator.com/item?id=38386524
943.
▲
by
js2
3y ago
The submitted link is missing the query params (or HN stripped them) that lead directly to the post: https://ln.hixie.ch/?start=1700627373&count=1
944.
▲
by
js2
3y ago
Yup, and even worse: the 8-track. https://youtu.be/XLZS0Sj9-1U
945.
▲
by
js2
3y ago
I've watched the making-of video I linked several times and I get anxious every time he rides the motorcycle off the ramp. In comparison, the final version in the movie where they used CGI to remove the ramp is way less exciting to me.
946.
▲
by
js2
3y ago
There was one other way to play music on an Apple II besides a Mockingboard sound card. You could do it with a Novation Apple-CAT II modem: https://en.wikipedia.org/wiki/Novation_CAT#The_Apple-CAT_II I wish I could rem
947.
▲
by
js2
3y ago
> would it have looked worse had it been created using CGI? I think so. Just watch the latest Mission Impossible and then watch the latest Indiana Jones. The difference is obvious. You don't even need a huge budget to do a better jo
948.
▲
by
js2
3y ago
If Tom Cruise at 61 can ride a motorcycle off a cliff six times, Van Damme at 63 can surely still do a split between two trucks. https://www.youtube.com/watch?v=-lsFs2615gw
949.
▲
by
js2
3y ago
> That would be before CAT5e cable so if they had went with ethernet cable instead of coax you'd be looking at 100 Mb/s. If it was built before 1995 you'd be looking at CAT4 and under 20 Mb/s. I've been dealing w
950.
▲
by
js2
3y ago
> Loy wrote that the biggest problem during shooting was the climactic dinner party scene in which Nick reveals the killer. Powell complained that he had too many lines to learn and could barely decipher the complicated plot he was unrav
951.
▲
by
js2
3y ago
VxWorks is what's used on Mars and it's a monolithic kernel, so there's more than one way to do it. :-)
952.
▲
by
js2
3y ago
> It took a few weeks of throwing away every non-essential feature and shuffling around what was left, but I just managed to squeeze the game into 48K RAM, which is the largest expansion the original Apple II would support. 64K with the
953.
▲
by
js2
3y ago
That's great, but no, it's the final minute of the Miracle on Ice that's the most theatrical (sports) thing on live TV[^1] ever: https://www.youtube.com/watch?v=qYscemhnf88&t=71s [^1]: technically broadca
954.
▲
by
js2
3y ago
I agree it's confusing and I think Amazon's reasons for dropping PyPI support are pretty lame: https://github.com/aws/aws-cli/issues/4947#issuecomment-5860... They also have't provided a reason
955.
▲
by
js2
3y ago
You're confusing `awscliv2`[1], a third-party Python wrapper around AWS CLI v2[2], with instance connect. From its package page: - This is not an official AWS CLI v2 application - By default this app uses amazon/aws-cli Docker ima
956.
▲
by
js2
3y ago
You can lookup your Representative here: https://www.house.gov/representatives/find-your-representati...
957.
▲
by
js2
3y ago
When writing multi-threaded code, you might want to catch KeyboardInterrupt to cleanly shutdown worker threads. In any case, my point is that you always need to be aware of exceptions in Python. You can't just return them as values and
958.
▲
by
js2
3y ago
The most important thing about writing code is that you write it idiomatically for the language it is in. With Python, idiomatic code is known as Pythonic. def rename_user(user_id: str, name: str) -> User | Exception: # Consume t
959.
▲
by
js2
3y ago
Part of Swift 5.9 which is in Xcode 15, so, I think so, but it's opt-in: > This feature is also available on macOS but is disabled by default. To enable it, set SWIFT_BACKTRACE=enable=yes and sign your program with the com.apple.sec
960.
▲
by
js2
3y ago
That Meross opener is rock solid. I've had one for almost two years now controlling two doors. Even with a marginal wifi signal it always just works. Homebridge + HomeKit is also an excellent middle ground between Home Assistant and Ho
More ›