Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pletnes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
361.
▲
by
pletnes
4y ago
I have 3 computers and stuff my files in onedrive and github + various less important cloud services. I can just log on to onedrive on a new machine if one of them dies. I have 2 aging thinkpads that work «well enough» for most uses, includ
362.
▲
by
pletnes
4y ago
Windows has me waiting for un-sleep and wifi reconnect, even if just a few seconds. On my M1 I see it’s open and connected while I open the lid, it’s quite a bit faster. Doesn’t matter all that much but I never dare to sleep my win laptops
363.
▲
by
pletnes
4y ago
I’d bet they use e.g. Python to receive the HTTP calls and do basic logic at that level, but use C++ libs to chew through lots of multimedia, ML/AI, etc.
364.
▲
by
pletnes
4y ago
This. Also you can do stuff like «rg —python myvariable» to search python files only. Neat for multi-language directory trees. (Works with many other languages.)
365.
▲
by
pletnes
4y ago
It is. We receive light from the sun in the visible light range. Earth emits something like 20 photons in the infrared for each incoming visible light photon. The reason is that the sun’s surface temperature is ~20x higher than Earth’s.
366.
▲
by
pletnes
4y ago
Python has several. It’s overall a good thing. It’s the reason you can package both one-file scripts and huge C++ / Fortran packages, which is the reason it has become a huge language in HPC / ML / AI / astronomy /
367.
▲
by
pletnes
4y ago
Sure can pin versions, it’s easy too, if you just use «pip freeze».
368.
▲
by
pletnes
4y ago
Tritium is highly radioactive, since the half life is 12.3 years. It decays by beta decay to Helium-3.
369.
▲
by
pletnes
4y ago
Agree, but brexit won the referendum even though both sides agreed it would be bad for the economy.
370.
▲
by
pletnes
4y ago
You don’t even know that any other policy would be better, because we can’t rewind and retry. And economy is not everything - I don’t think Boris Johnson became unpopular over the economy.
371.
▲
by
pletnes
4y ago
I disagree, RAM is super important. But I went from win10 with 32 GB + dedicated nvidia with 4 GB to M1 on a mbp with just 16 GB. The M1 is still so much faster it’s like swapping a forklift with a fighter jet. I don’t think the numbers are
372.
▲
by
pletnes
4y ago
I’ve used a git repo with ansible on ubuntu, win10, WSL2 and macos. Works close-enough-ish and I mainly use it to copy dotfiles into place. I’ve used symlinks in the past to avoid reliance on a tool, but symlinks are no good on windows.
373.
▲
by
pletnes
4y ago
Tab completion and zmv are neat, nothing new to learn, no complicated configs.
374.
▲
by
pletnes
4y ago
Depends what you need I guess. It’s great to tab complete files on a remote host whenn rsyncing to your own machine. Saves a ton of time over the years. Can you live without? Yeah sure but… why? It’s free.
375.
▲
by
pletnes
4y ago
Also, the parking did burn down completely. This scenario would be similar to losing a whole ship to the fire, possibly sinking it. Not exactly a good thing, neither economically nor ecologically.
376.
▲
by
pletnes
4y ago
One more thing: if you select an area of a pdf, you can copy/paste, retaining vector graphics info. Never seen that in any other app. Works in several other macos apps, too.
377.
▲
by
pletnes
4y ago
I tend to remap caps to ctrl, for instance. Sometimes this fails, meaning that suddenly, the keyboard is stuck in caps lock mode and can’t be returned to «lower caps mode». I don’t know if autohotkey can intercept caps lock?
378.
▲
by
pletnes
4y ago
It’s a great feature. It doesn’t always work 100% stable though. Would love to see it put further into the OS somehow. Macos key / modifier remaps are much more stable than powertoys’.
379.
▲
by
pletnes
4y ago
I just switched the other way from an older gen P1. I got maybe 1-2 hours battery out of the P1. I could barely go to one meeting without a charger. The M1 macbook lasted several days on one charge. I’m mind blown, having used wintel laptop
380.
▲
by
pletnes
5y ago
Using it? Samsung software (see e.g smart TV) is incredibly unreliable.
381.
▲
by
pletnes
5y ago
If 2.txt is tracked by git, there’s no need to go through these hoops. Then, sponge starts to make sense. Except from that case, I agree totally.
382.
▲
by
pletnes
5y ago
Sure, but the feedback loop is much slower. It’s great if you can easily catch most issues locally.
383.
▲
by
pletnes
5y ago
This, and also the fact that everyone on the team has to use the compiler, no matter what they’re doing. Separate tools are much harder to get into everyone’s workflow.
384.
▲
by
pletnes
5y ago
I always had the impression that NR was about getting a broad overview of the field. I imagine each chapter covers at least a whole field of numerical research. If you’re working on applications of numerics, it is indeed important to know w
385.
▲
by
pletnes
5y ago
Because you need the cash up front to buy the ingredients - seed, fertiliser, diesel - all more expensive than last year. (Not saying you’re wrong though.)
386.
▲
by
pletnes
5y ago
I visited Tennessee once, walked by a bar and saw a sign saying «Jack lives here». Fun story. Also, well deserved. I still recall the one talk by Jack Dongarra I ever saw. He threw out there that the iPad 2 had (at the time) the highest per
387.
▲
by
pletnes
5y ago
Fortran is definitely much more high level than C, and way easier to write performant numerics in, than the C family languages. I don’t follow why its array syntax is easier than python though. They’re mostly very similar and the numpy deve
388.
▲
by
pletnes
5y ago
Can you still query a gzipped sqlite file? What’s the sense in gzipping it if not?
389.
▲
by
pletnes
5y ago
Also you can pipe stuff into it and select interactively. Splendid for when you don’t quite know what you’re looking for - yet.
390.
▲
by
pletnes
5y ago
WSL made running a linux VM less hassle.
More ›