Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Too
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
781.
▲
by
Too
4y ago
Maybe more obvious, it also works the other way around. Saving you from doing [head] + body + [tail] or keeping copies of temporary arrays manipulated with append and extend. arr = [head, *body, tail] Same with dictionaries, often
782.
▲
Ask HN: Best Talks of 2022
28 points
by
Too
4y ago
|
1 comments
783.
▲
by
Too
4y ago
Nr 2 is just bizzare. I pay premium to not get ads and as a thank you I am constantly bombarded with other ads, ehum…sorry…suggestions, for bad podcasts. Wtf. Otherwise Spotify is one of things I am happy to pay subscription for. Sure it su
784.
▲
by
Too
4y ago
At least c++ has unique_ptr and friends. Standard containers like string, vector and map also reduce the amount of manual fiddling with fundamentals you need to do yourself, greatly reducing the mistake-surface. But yeah, in the end both of
785.
▲
by
Too
4y ago
If you find out you are really getting paid half as your peers on same level. Talk to your manager and ask for a raise or that the alternative is you taking a step back to focus more on your family, openly . While gently reminding them tha
786.
▲
by
Too
4y ago
Ok, the spectrum is of course very wide. Usually defined more mildly than I expected, after reading more about it. Sounds like normal work life balance of leaving on time, nothing that needed a new catch-phrase? Maybe this is more rare fo
787.
▲
by
Too
4y ago
Many software applications actually require estimates and thinking similar to how you would solve Fermi problems. Like, how many disks are needed to backup our database every week with 6 months retention? It's actually a very straightf
788.
▲
by
Too
4y ago
Having a quiet quitter on your team is one of the most demoralizing things you can experience at work. No, i don't expect anyone to work overtime or go out of their ways to solve impossible deadlines. But someone who normally is capabl
789.
▲
by
Too
4y ago
Everybody got scared from Windows XP having to reboot twice per day and wait 10 minutes just to change your display resolution or install some Windows Update security patches. Updating display drivers without restart, was back then announce
790.
▲
by
Too
4y ago
Any equivalent solution for containers running in k8s?
791.
▲
by
Too
4y ago
It is possible to specify hashes. https://pip.pypa.io/en/stable/topics/secure-installs/
792.
▲
by
Too
4y ago
While shellcheck is a fantastic tool, it doesn't test for lack of error handling generally. In this area it only has a predefined set of known pitfalls, like "cd". Try running this through shellcheck and it will happily let i
793.
▲
by
Too
4y ago
No no no. Shell scripts without -e is one of the biggest footguns since computers were invented. Second being shell scripts with -e enabled ;) As others mentioned -u and pipefail are also highly recommended. Even mundane shit like ‘cd’ ca
794.
▲
by
Too
4y ago
Nice. Pipelines are lot more intuitive than sql, and the other added niceties were desperately overdue. Funny considering sql is supposed to be human readable hehe. Feels a lot like MongoDB aggregation pipeline, but with a more integrated s
795.
▲
by
Too
4y ago
To be fair, the linux defaults of 2h are not working in most enterprise or cloud environments. One frequently encounter load balancers, firewalls and other proxies that drop connections after around 5-15 minutes. 15 seconds sounds very agg
796.
▲
by
Too
4y ago
If you want smart lights to pulse in sync with your microphone you shouldn’t be using TCP in the first place, here UDP is a lot more suitable. TCP is reconstructing the order, meaning a glitch of a single packet will propagate as delay for
797.
▲
by
Too
4y ago
DIY monitoring solution. Every service had its own way of gathering metrics that were pushed into another home-made service where it could be fetched using a half-assed query-language and rendered using, you guessed right, another home grow
798.
▲
by
Too
4y ago
While Cmake has a large share of idiosyncrasies, a build system is much more graph oriented and must therefor at some point have a way to declare such dependencies, often using a DSL, for concurrency and incrementals to be reliable. Lets no
799.
▲
by
Too
4y ago
Does anyone know how this compares to Cilium? https://grafana.com/blog/2022/10/24/grafana-and-cilium-deep-...
800.
▲
by
Too
4y ago
You are neglecting the risk-factor of pulling in libraries from unknown authors on npm vs the stdlib. The package-bloat problem is one of culture, where developers keep neglecting this risk, only seeing the 5 lines of code they save by impo
801.
▲
by
Too
4y ago
They are optimizing for ads. Asking how to tie your shoelaces usually start with three sponsored links where you can buy shoelaces.
802.
▲
by
Too
4y ago
git fsck
803.
▲
by
Too
4y ago
I don’t know about US but here in Northern Europe the utility outlets we use for stoves and such are not just higher voltage but also distributed over 3 phases rather than just one. This translates into sqrt(3)=1.7 times more of the cable c
804.
▲
by
Too
4y ago
A place where you can’t even park your car outdoors unattended is not a place you want to live in in the first place.
805.
▲
by
Too
4y ago
Please enlighten me where I can buy a streaming movie that can be watch without login, transferred to another service or transferred to another of my devices.
806.
▲
by
Too
4y ago
Check the latest video from Linus Tech tips on Youtube, they did a deep-dive into the non working modern sleep on Windows. The conclusion was, as you've already tried, change sleep setting in bios to "Linux-mode", or just get
807.
▲
by
Too
4y ago
In isolation, bugs don't suddenly reappear no. So if you only regression test on unit-level, it's very unlikely the test will ever fire red again. What you should do is write use-case regression tests. This will protect you from m
808.
▲
by
Too
4y ago
Make sure to subscribe to a channel that is super busy that you don’t care the slightest bit about. That way it will always be red dot and it will mean nothing to you.
809.
▲
by
Too
4y ago
The whole idea of dozens of channels is just dysfunctional to begin with. OPs case of 1000+ is the worst I heard of. Chat channels usually only have two types of contents; Announcements important enough to be sent to everyone or questions o
810.
▲
by
Too
4y ago
Same strategy as git uses for objects, .git/objects/d6/70460b4b4aetc https://git-scm.com/book/en/v2/Git-Internals-Git-Objects
More ›