Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jniedrauer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
jniedrauer
5y ago
I may be in the minority here, but I personally prefer the "wrong answer" highlighted at the beginning of this article. Scripts are source code. They go in the repo, and they have the same standards applied to them as any other so
2.
▲
by
jniedrauer
5y ago
One of the cruel aspects of endurance sports is that they suppress your appetite. You can go out and burn 6000 calories in one race, spend the whole time thinking about all the delicious food you're going to reward yourself with, and t
3.
▲
by
jniedrauer
5y ago
Worse still is having to merge in/out of traffic to avoid parked vehicles. In the state of Oregon, you are legally entitled to the same rights as any other vehicle on the road, but that also means you are legally obligated to move over
4.
▲
by
jniedrauer
5y ago
Rural areas in the PNW are about a 2 on the Bortle scale, and the stars are strikingly vivid. The first time I saw Starlink with my own eyes, I was making an alpine start on Mt St Helens. The cluster of satellites against a backdrop of brig
5.
▲
by
jniedrauer
5y ago
Are you concerned that you are introducing tech debt into the codebase? Anyone who refactors your code later will also have to refactor your comments (but likely won't).
6.
▲
by
jniedrauer
5y ago
I used to have fairly poor sleep hygiene but am now pretty good about it. I have had this experience in both states. I had night terrors as a child which eventually gave way to curiosity, and I practiced staying self aware while falling asl
7.
▲
by
jniedrauer
5y ago
>do you also have high rates of sleep paralysis? Yes, often toward the end of this near-dreaming state, just before entering deeper sleep. I experience a sensation like entering a free fall and lose the ability to move. It takes quite a
8.
▲
by
jniedrauer
5y ago
That is the normal state of ultra endurance athletes during long runs[0]. A lot of training stimulus is fat adaptation. Coaches will tell you that you begin to exhaust your glycogen stores beyond the 90 minute mark, and I can tell you subje
9.
▲
by
jniedrauer
5y ago
When I see studies like this, I always wonder if you might get the exact same benefits and more by just going for a run. When I run for more than 90 minutes without taking in carbs, my body goes into a ketogenic state very similar to a mult
10.
▲
by
jniedrauer
5y ago
Where's the gnome file picker missing a thumbnail view since April 2004?
11.
▲
by
jniedrauer
5y ago
It's worth noting that this is not the norm in the US either. A wait of 1+ months to see a specialist is very normal here.
12.
▲
by
jniedrauer
5y ago
I listen to a workout playlist on shuffle frequently while training, while slowly adding new music to it throughout the year. Like others have mentioned, Spotify has completely stopped recommending new music for years now. Even if I start a
13.
▲
by
jniedrauer
5y ago
What about distributed systems? I had to reach for this tool recently to trace requests as they propagate through up to 5 separate devices. Not everything is a web app.
14.
▲
by
jniedrauer
5y ago
> Although the levels of individual pesticides are within legal limits, activists fear the combination of multiple chemicals could be particularly damaging to people’s health. This is the important part. Activists' fear should not d
15.
▲
by
jniedrauer
5y ago
E2E tests are still extremely limited and let bugs through, unless they also fuzz somehow. But that will make them even more flaky and difficult to debug, costing more time. It's a tradeoff. Example: You run some number of operations a
16.
▲
by
jniedrauer
5y ago
I have experienced all the same problems that they outline. E2E tests require a huge number of human-hours to maintain, they're difficult to debug when they fail, almost always false positives, and bugs still get through anyway. But fo
17.
▲
by
jniedrauer
5y ago
The food supply chain is already mostly automated. Food is not cheap because of the service economy. It's cheap because it only requires work from a very small percent of the population to feed everyone else.
18.
▲
by
jniedrauer
5y ago
For a really remote option, look into the GDT. Probably best if you already have experience on a trail like the CDT.
19.
▲
by
jniedrauer
5y ago
How does this scale though? If you've got integration tests that include state, now you've got to either run your tests serially or set up and tear down multiple copies of the state to prevent tests from clobbering each other. As
20.
▲
by
jniedrauer
5y ago
Several years ago, I had to use this trick to automate an MSSQL install via powershell remoting. One of the operations the installer performed was disallowed for powershell remoting sessions. So I set up my script to create a service and th
21.
▲
by
jniedrauer
5y ago
If you could hop in a time machine at age 80 and go another 80 years into the future, would you? I absolutely would. Even if you do nothing with those 80 years, you're traveling forward in time, seeing technological advances, and watch
22.
▲
by
jniedrauer
5y ago
That is correct, to run an on-chain transaction is fairly expensive. There is a lot of ongoing work to address this: Layer 2 solutions like optimistic rollup, arbitrum, etc. EIP-1559 itself will address this problem on layer 1. But the ecos
23.
▲
by
jniedrauer
5y ago
> 2) a string is always "" vs null! This is really just semantics, because nullable strings do exist in go: *string. The difference is you pay a surprisingly severe performance penalty for them.
24.
▲
by
jniedrauer
5y ago
Using a map might not be faster as others have pointed out, but it's often more readable. The core library does this in several places. A map[someType]bool makes for nice, readable code: if haystack[needle] {
25.
▲
by
jniedrauer
5y ago
https://www.tradingview.com/
26.
▲
by
jniedrauer
5y ago
From the perspective of the star, what impact does relativistic speed have on the rest of the universe? Does it also gain mass? Does that mean that an object accelerating to relativistic speed increases the mass of the universe from both fr
27.
▲
by
jniedrauer
5y ago
It's really not reasonable, even if you consider 50% waste. There's no reason for a sedentary person to eat even close to that much protein.
28.
▲
by
jniedrauer
5y ago
The brain fog is caused by rapid fluctuations of blood sugar. Low intensity aerobic exercise has a number of positive effects that all play off each other: You metabolize fat more readily as an energy source, which makes your body less reli
29.
▲
by
jniedrauer
5y ago
It's actually not a thing in "all" endurance sports. Once you push into the realm of ultra endurance, athlete become so efficient at fat metabolism that they never "hit the wall" so to speak.
30.
▲
by
jniedrauer
5y ago
You can get the same effect with much less lifestyle disruption just by exercising. Specifically low intensity cardio trains your body to metabolize fat efficiently.
More ›