Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Too
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
691.
▲
by
Too
3y ago
Tbh, changing PyPi urls to git urls at GitHub would almost be a win-win. At least GitHub has namespaces and many other indicators of trust, such as issue tracker, stars, git log and so on. You would loose semver however. Usually checking th
692.
▲
by
Too
3y ago
jc is the most comprehensive I’m aware of. https://kellyjonbrazil.github.io/jc/ Except a lot of the times you don’t need this. The standard library may have what you need. There is no reason to pipe ls through jc, when
693.
▲
by
Too
3y ago
If running everywhere is actually a constraint (likely it’s not) and transpiling is a consideration, you could use Golang, that statically links and produces standalone binaries that run more or less anywhere. Though if you have a CD pipeli
694.
▲
by
Too
3y ago
Not only does it “just work”. The sound and noise canceling quality is fantastic. On par or even beating many larger over-ear headsets in same price range. (Talking about the gen 2 pro) I haven’t heard anything in-ear that comes close, disc
695.
▲
by
Too
3y ago
Having a personal need is often the best motivator for learning. Compared to closing ticket no 471961. A PM knows the shape of the data and what he is looking for, the sql is just a way to get there, rather than the other way around, when t
696.
▲
by
Too
3y ago
If it only generates one word at a time and then repeat the process again, how does it know when to stop? It feels like this method would create endless ramblings. But we all know you can ask Chatgpt to “summarize in one sentence” and it pu
697.
▲
by
Too
3y ago
That instruction is not the recommended way. To make it work, use a virtualenv, seriously always use a virtualenv. Then inside: pip install --editable ./ This has been the standard way to install packages since forever. Don’t know w
698.
▲
by
Too
3y ago
If I pay for premium, will that also remove all the in-video promotions and calls for smacking like and subscribe? That would be a good deal. Now we are sandwiched between ads both inside videos and between them, and they act surprised peop
699.
▲
by
Too
3y ago
Add unboxing. Nobody cares how nicely the user manual was rolled up into premium origami packaging. I care about the product performance and how well it holds up after few weeks abuse. The fight to be first with a review even if you haven’t
700.
▲
by
Too
3y ago
From that link print_the_cat_fact(get_a_cat_fact()) Doesn’t seem like a big pain? Looks like that page overcomplicate it by describing every underlying layer and old history of it.
701.
▲
by
Too
3y ago
Strange is also that the rules are written in very different ways. Why would they mix “you must”, “copilot must”, “you should”, while other rules are not prefixed and jump straight to the condition. Does it even have understanding of the co
702.
▲
by
Too
3y ago
Freezegun for unit testing. Can stop and step time predictably. Any code using datetime functions will get the time controlled by the test, with no additional abstractions or other boilerplate needed.
703.
▲
by
Too
3y ago
Even worse is that utcnow() returns timezone unaware dates, when it could have easily returned dates with timezone set to utc. Leading to accidentally mix of local and utc times.
704.
▲
by
Too
3y ago
Taken to the extreme, someone with physical access could replace the whole unit, to something which has the malware pre installed. A switch that can’t be controlled via software is at least more secure than the alternatives. If you check th
705.
▲
by
Too
3y ago
Typescript and Python managed to pull it off. With a result that in many ways allows both expressing stricter, yet more fluid typing, compared to languages traditionally considered static. The false sense of security they give is not a pro
706.
▲
by
Too
3y ago
Estimating in highly inaccurate resolution, eg fibonacci or powers of 2, is a way to embed the lack of confidence in single number estimates. You may think something takes 9 days, but if you are only allowed to answer either 8 or 16, choosi
707.
▲
by
Too
3y ago
This fails when you keep thinking in hours during estimation phase. Stop all such translations and instead map points to relative complexity and architectural impact. Add button in UI = 1sp i8n text on button = 2sp New field in database inc
708.
▲
by
Too
4y ago
That’s like saying it’s not a bank vulnerability for using a gate made of paper instead of steel. It’s a vulnerability of the paper... It is a google vulnerability for using the tool in ways that are known to be broken. Dependency confusion
709.
▲
by
Too
4y ago
To be fair, the parameter is called extra index url, not private index url. That there is no other option for private repositories or namespacing is still a big shame.
710.
▲
by
Too
4y ago
You could swap to Windows. The search there never finds anything , not even files that you know exist in the root of the directory you are searching inside.
711.
▲
by
Too
4y ago
d) They plan to be bought by Google and make a big exit.
712.
▲
by
Too
4y ago
Cars have a “limp-home” mode which they enter if sensors show odd yet not critical errors. Usually it restricts the acceleration and top speed to 30kmph or so. If it totally shut down it was likely a very serious error.
713.
▲
by
Too
4y ago
Cool. Looks like a more lightweight alternative to Temporal workflows. A tool in similar vein is pydoit. Here you need to be a bit more explicit about declaring the dag, in return it parallelizes well and can tell you what steps are availab
714.
▲
by
Too
4y ago
That may have made sense 5-10 years ago. Todays expectations on security and convenience are very different. Everybody deserves sso, regardless of size of company. With the rise of micro services and DevOps, the number of applications used
715.
▲
by
Too
4y ago
I may be wrong but is it not preferable to use StatefulSet for databases, rather than PV, PVC and Deployments? You will not be able to scale anything up anyway since it’s a single instance mounting the same data.
716.
▲
by
Too
4y ago
Defender was invented to remove the need for other third part anti virus scanners that would do even worse intrusions in the system than the example in TFA, giving windows a bad rep. Originally it was a lot less hostile, over the years now
717.
▲
by
Too
4y ago
No no no no. The more code you have, the more you have to constrain the builds. I understand where the sentiment comes from, having seen one too many example of people struggling to implement basic logic in cmake or groovy, that would be a
718.
▲
by
Too
4y ago
On clean builds the python tax will be dwarfed be the thousands of calls to clang yes. That’s not the scenario you need to optimize for. What’s more important is that incremental builds are snappy, since that is what developers do 100 times
719.
▲
by
Too
4y ago
In my experience false positives are rare. You need to a take some time to actually understand the warnings to know how to avoid them, often there is some edge case lurking even the most trivial code. I see a lot of people are way too quick
720.
▲
by
Too
4y ago
Python wins the triathlon by being second best in every game. Piping things between programs is about the only thing bash is good at, nothing else, of course it is going to look good when unconditional straight piping things through sta
More ›