Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Too
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
871.
▲
by
Too
4y ago
That’s misleading. While you can have multiple lines, you are not allowed to have multiple statements. Nobody wants to write code chained together with ternaries and and-operators. When someone says multi-line lambdas, what people actually
872.
▲
by
Too
4y ago
Air pumps have drawbacks outside of efficiency that are also worth considering. Particularly noise and heat locality. Two properties that combined are not very cosy.
873.
▲
by
Too
4y ago
Except in Safari, where it is now in the bottom left corner, after the move of url bar to the bottom of the screen. Though there you can also swipe whole screen left to go back.
874.
▲
by
Too
4y ago
Automatic generics is how c++ templates behave. It is universally agreed upon to be absolutely horrible, now being remedied with what they call Concepts to constrain the generic signatures at least a little. The issue is that when you have
875.
▲
by
Too
4y ago
That’s assuming these individuals aim to make profit for their entity. The risk raised above was corruption, with tax paid development cost going to their uncles company, with a big fat kickback under the table.
876.
▲
by
Too
4y ago
Sounds a bit like proving there are no cycles in the 3n+1 equation. https://en.m.wikipedia.org/wiki/Collatz_conjecture . Veritasium has a good video about it.
877.
▲
by
Too
4y ago
How big is this code base and how advanced are the features? With only 3 juniors behind the wheel is it really that big? Was it always this small or is this the leftover maintenance team? Is there documentation, requirements or user stories
878.
▲
by
Too
4y ago
Security could actually be a way to sell the need for cleanup. Hire a team of independent auditors. If the code is in such a bad state as you claim, i guarantee they will find at least a dozen of XSS and XSRF issues, very likely some SQL in
879.
▲
by
Too
4y ago
Not mentioned in the article is the type of content watched. Concluding the audio mixing disaster discussed above, one theory would be: Young people watch fast Marvel actions with explosions and terrible audio mixing. Old people watch slow
880.
▲
by
Too
4y ago
That option actually works great for resurrecting the speech in a movie, but makes all the music utterly flat and boring. With this option on you might as well throw out your expensive speaker setup and use the built in TV speaker. If only
881.
▲
by
Too
4y ago
Yes, on Netflix you can choose. Choosing the stereo mix does offer a significant improvement on hearing dialogue. Regrettably, it has no idea of sensible default or even choice of default, so it always goes to 5.1 even if your setup doesn&#
882.
▲
by
Too
4y ago
Did you find genrule? It’s a generic escape hatch rule that can be used to just run any program. Of course it still needs the input and output dependencies declared and you are responsible for ensuring it is hermetic.
883.
▲
by
Too
4y ago
In one sentence: Everybody already knows how to use SSH, only the infra department knows how to use kubectl. Don’t underestimate how much pushback and struggle even such a small tool addition can add to developers with already too many othe
884.
▲
by
Too
4y ago
They must have been inspired by this PyCon presentation, where David Beazley live codes a fully working webassembly interpreter, in under one hour. https://youtu.be/VUT386_GKI8
885.
▲
by
Too
4y ago
That's looking at history through rosy glasses. Now edit the contents of a transitively included header file, run make and feel unhappy for the rest of the day while debugging why your executable did not get rebuilt. Every environment
886.
▲
by
Too
4y ago
Creating argument parsers for CLIs: https://pypi.org/project/argtyped/ I've seen similar (in-house) to generate HTML forms also.
887.
▲
by
Too
4y ago
Good example of clown being educational is ElectroBoom. He constantly keeps "accidentally" electrocuting himself and goofing around. The videos have very crisp editing and baity thumbnails. At the same time a lot of the content is
888.
▲
by
Too
4y ago
Does this apply to the phone or only the transformer? Last iphone i unboxed came with a charger that has a usb-c outlet and a usb-c to lightning cable. Even if i would be more than happy to hear that the phone requires it as well. The trans
889.
▲
by
Too
4y ago
Its not so much about suddenly starting to decode something. It’s more when your stream for some reason gets misaligned or corrupted and whatever is still streamed is happily consumed with no possible way to detect the error. Common reason
890.
▲
by
Too
4y ago
I don’t think many give much thought to what it really means. They just use the term because it sounds cool, either to themselves or to their superiors. Same as with Machine learning.
891.
▲
by
Too
4y ago
It is intuitively a bit hard to believe, but bisecting in parallel is actually not much faster than serial. In my experience you just save the final one or two steps in the bisection - regardless of how long the range is! Imagine bisecting
892.
▲
by
Too
4y ago
Describe works it’s way backwards to find a tag matching the search pattern. If you are checked out on origin/master and the tags come from the same centralized origin, then you will have a predictable global order. It’s basically the
893.
▲
by
Too
4y ago
Dns being down means everything is down. Everybody is running ubuntu, including the Azure managed Kubernetes. Whether the problem source is by canonical or not is irrelevant. Azure is still down.
894.
▲
by
Too
4y ago
Real bug reports are obviously valuable, Sadly though, a lot of "bug reports" are actually just disguised troubleshooting requests, that are unique to the reporters use case or infrastructure. Looking at any popular GitHub repo o
895.
▲
by
Too
4y ago
For those not familiar with ownership concepts, it does apply to many things beyond just memory management. Most obvious example of this is file handles. In python you have to close() them or scope within a context manager to auto close whe
896.
▲
by
Too
4y ago
Hit the nail on the head. For same reason requirements writing is so difficult, to explain every edge case you end up writing the whole software again, using human language. Writing software is the process of explaining a set of conditions
897.
▲
by
Too
4y ago
No need to quote a security expert to realize that. A language that mixes code and data as the same variable type, with only a single missing quote needed to turn any variable into a full RCE. On top of that, add all the obscure syntax, str
898.
▲
by
Too
4y ago
Not at the moment. This article from last week when the issue got exposed is arguing for adding it https://news.ycombinator.com/item?id=32418679 * Let websites framebust out of native apps *
899.
▲
by
Too
4y ago
Also note that while this repo might look like a third party bolton (it started that way), the type hinting syntax is nowadays actually integrated in the language. The only thing you need to do is add appropriate type hints at function defi
900.
▲
by
Too
4y ago
Boilerplate in itself is not complexity (eg import statements), it’s just tedious and unergonomic. In fact it can reduce complexity, again with example of imports being a better alternative than global symbols. Coupled boilerplate on the ot
More ›