Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
diarrhea
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
70 ms
·
511.
▲
by
diarrhea
4y ago
Well put. There's just no reason to move off VSCode so far (for Python and friends). In a couple weeks' time, I'll be working with C# in Visual Studio. It has me excited since I've heard many good things about Microsoft
512.
▲
by
diarrhea
4y ago
I suspect you already implicitly included it, but just to mention it: the hunks created by `--patch` commands can be split up further through `s`. But as you said, this is sometimes not enough either (two changed, adjacent lines will remain
513.
▲
by
diarrhea
4y ago
Since branches and such are cheap, you might benefit from `git switch -c debug`, `git reset` etc. They can wipe your working tree clean instead of having to do it manually.
514.
▲
by
diarrhea
4y ago
Is this relevant to interpreted languages as well? I’m thinking perhaps Pythons bytecode could have similar optimisations.
515.
▲
by
diarrhea
4y ago
To that I say: there's dirty code -- then there's researchers' code. It can be a whole new level, far beyond just copy-paste and other superficial sins.
516.
▲
by
diarrhea
4y ago
This is either a bug or could be handled using `enumerate(..., start=1)`: for i, line in enumerate(lines): i += 1
517.
▲
by
diarrhea
4y ago
Absolutely possible. The difference might be that PhDs don't conventionally have the 'downward' path available. They have a lower bound to the career roles they can take up. You may well violate that bound and do more 'l
518.
▲
by
diarrhea
4y ago
I will hand in my notice tomorrow, after circa 1 year as a PhD student. In fact, I'm switching fields: from a PhD in Mechanical Engineering (energy systems) to a software developer role in a non-engineering sector. Very little of my 7
519.
▲
by
diarrhea
4y ago
I always wondered what’s keeping packages back from having wheels ready the day a release drops, or way before even? I imagine often it’s just another parameter in a CI somewhere, where things mostly “just work” because backward-incompatibl
520.
▲
by
diarrhea
4y ago
I wonder if, at all, other fonts will ever be used for MathJax max display? The 'default MathJax font' is also just the 'default LaTeX font' (CM?). There are countless other, high-quality math fonts, for example the TeX
521.
▲
by
diarrhea
4y ago
Sure, but you wouldn't search site:reddit.com/r/worldnews change a tyre but rather (just an example) site:reddit.com/r/diy change a tyre There are countless small(er) subreddits where a Google 
522.
▲
by
diarrhea
4y ago
Very good observation. That's a reason I'm itching to try out an approach akin to this (in a future project): https://jasonstitt.com/gitignore-whitelisting-patterns
523.
▲
by
diarrhea
4y ago
As far as I can see, this only comes into play when newly adding files to be tracked. If you created a 'source.file', but your global gitignore ignores all '.file' files, then you'd notice immediately. You wouldn&#x
524.
▲
by
diarrhea
4y ago
It's baffling the degree to which Teams doesn't work on a purely technical basis, before UI and UX even come into play. Half an hour ago I accepted an invitation to join a Team. Logged into MS in the browser, checked remember me
525.
▲
by
diarrhea
4y ago
A first step could be to fully resolve cross-posts, then only display if the original hasn't already been shown in the feed. Then display a dropdown of sorts on the original post to reach hidden crossposts. A second one could be to has
526.
▲
by
diarrhea
5y ago
> A look at the huge number of issues on their repo makes me question the wisdom of relying on poetry. That can also be a good sign. Lots of people using it, lots of people complaining about it. Assuming these issues are tended to (ove
527.
▲
by
diarrhea
5y ago
Beautiful.
528.
▲
by
diarrhea
5y ago
That date format is actually the worst I have ever encountered. m-d-y, with year in 2 digits, numbers not zero-padded, US "order" yet using dashes. It's like a moderator of /r/ISO8601 came up with the worst possible
529.
▲
by
diarrhea
5y ago
Sounds like points 1 and 2 can be elegantly combined using "next-gen" filesystems like zfs or btrfs. The hashing and scrubbing (automatic repair) happens in the background and the swapping to new/fresh media is automatic thro
530.
▲
by
diarrhea
5y ago
Of all things keeping the energy transition back, steam turbine manufacturing is probably very low on the list. I’m not aware it’s an issue. It’s an old and proven technology.
531.
▲
by
diarrhea
5y ago
They are more efficient because converting anything to heat is trivial. Heat is just losses basically. A process consisting of 100% losses is great for heat generation. However, extracting exergy (electricity is pure exergy) from a flow of
532.
▲
by
diarrhea
5y ago
Only at tremendously low efficiencies it seems.
533.
▲
by
diarrhea
5y ago
Heat radiation losses (scaling with the fourth power of the temperatures) would obliterate such a storage solution. I could only imagine it as very short-term, at which point heating using electricity and converting back shortly after quick
534.
▲
by
diarrhea
5y ago
Concentrated energy is not a technical term. But high-temperature internal energy storage (aka heat storage) is terrible because of the losses. For example, low temperature floor heating is very efficient. You don’t want high temperature de
535.
▲
by
diarrhea
5y ago
At those temperatures, Carnot efficiency is between 80 and 90 percent. The comparison to steam engines is misleading, but there’s an important distinction. Steam or gas turbines would reach very high efficiencies at these temperatures too
536.
▲
by
diarrhea
5y ago
A Carnot heat engine operating between, say, 2600K and 400K can reach almost 85% efficiency. The higher the temperature, the higher the share of exergy in the heat flux. At high enough temperatures, it’s no longer a feat to convert to elect
537.
▲
by
diarrhea
5y ago
s=. 0 2}.each _3 _1{<;._2 (;i{ccfiles),'/' That is... not pretty.
538.
▲
by
diarrhea
5y ago
To be fair, a great joke, but not an original one (unless he is the original author -- I've heard it before in different contexts).
539.
▲
by
diarrhea
5y ago
All I found: https://news.ycombinator.com/item?id=15441323
540.
▲
by
diarrhea
5y ago
Then what’s the use of the password?
More ›