Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pletnes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
391.
▲
by
pletnes
5y ago
That’s why, not how. And you can cross-compile from Linux for some stacks.
392.
▲
by
pletnes
5y ago
Well, most developers I work with benefit from a task runner. Now, we use different runners for different repos. I’d prefer being able to go into a repo and do «make test» and have it work, regardless of language, framework, purpose of the
393.
▲
by
pletnes
5y ago
The python library/CLI tool «invoke» is also nice, although requires python.
394.
▲
by
pletnes
5y ago
I could not agree more. However most people are on windows for which obtaining gnu make is painful, or maybe even impossible - at least the path handling has many sharp edges.
395.
▲
by
pletnes
5y ago
Python’s user base is growing more each year than many other languages’ total user base. I’d guess more people will start learning python this month, than the total number of fortran, cobol, and lisp programmers ever lived. People who don’t
396.
▲
by
pletnes
5y ago
Using a wire, at least, makes it less stiff in torsion since a regular «metal tube» will have bending and shear stiffness. But then, it’s a tradeoff which could be worth it for some casual bikers!
397.
▲
by
pletnes
5y ago
Related: I’ve met developers who think NaNs are a language or library (notably pandas) feature.
398.
▲
by
pletnes
5y ago
The only use I saw for this is that you can enable compiler flags to crash the program when NaNs are encountered. Useful for testing Fortran code, in my experience. I didn’t see any support for other languages I’ve used.
399.
▲
by
pletnes
5y ago
I just did the same, and it says that I need to be connected to see my emails. «Are you in airplane mode?»
400.
▲
by
pletnes
5y ago
If you’re that paranoid, isn’t it better to run the editor on some other machine? E.g vim with scp support? Then there’s no editor to infect/replace/screw with on the Important Server.
401.
▲
by
pletnes
5y ago
My public ssh keys go quite a few places. I hope this can help me keep track of where I’ve uploaded my pubkey, since then revoking the pubkey is much more efficient. Or even do it for me, automagically.
402.
▲
by
pletnes
5y ago
Is pull the default? What does that even mean? I certainly tend to fetch, checkout origin/master, create a feature branch, push, then merge in github’s web interface. I «never» pull and I don’t have to change any settings.
403.
▲
by
pletnes
5y ago
Just remember that they will list hotels as «full» if they don’t have any rooms out on booking.com. Many hotels never do, and some hotels only do when they have a lot of free rooms.
404.
▲
by
pletnes
5y ago
I just have to recommend codecombat.com. I’ve been playing it with my 6/7 y old and we can now discuss the simplest concepts like «hey this is a repetitive task, looks like a loop to me». He thinks he’s «gaming» so he doesn’t even know
405.
▲
by
pletnes
5y ago
Git bash will translate /c/ to C:\ so that’s only sometimes true. But it won’t translate //c/ or if you set a certain env var… etc. Having to recall all these rules is one reason I dislike working in git bash on wi
406.
▲
by
pletnes
5y ago
One example issue is that cygwin tries much harder to enforce a «linux / chmod» view of file permissions, which it tries to map onto the underlying windows/ ntfs permissions. This can cause issues like creating files that won’t (e
407.
▲
by
pletnes
5y ago
If you google «git download» or «install git», that’s what you get. There’s also no package manager or 3rd party packages to worry about or learn how to use. That’s my gut feel, at least. Git bash is based on some ancient cygwin version. Yo
408.
▲
by
pletnes
5y ago
Can it render git diffs / git difftool?
409.
▲
by
pletnes
5y ago
tqdm already does this. It’s also a python package. https://tqdm.github.io/docs/cli/
410.
▲
by
pletnes
5y ago
People keep doing it to this day on embedded systems.
411.
▲
by
pletnes
5y ago
You’re right. I want Linux, full stop.
412.
▲
by
pletnes
5y ago
Well, it’s many years ago and memory corruption is real. I got the impression that their goal was to get adoption of (what at some point became) the JVM, or the «compile once run anywhere» vision. They envisioned many languages to coexist o
413.
▲
by
pletnes
5y ago
No systemd/cron/…, one extra OS to patch/upgrade, slooow perf on NTFS, can’t ssh into it (trivially), the list goes on. It has its uses but linux has many other uses that it doesn’t reliably cover.
414.
▲
by
pletnes
5y ago
I was once at a talk given by James Gosling. He said that Java-the-language was «a trick to get C++ programmers to use the Java Virtual Machine». He deliberately made Java very similar to C++ but removed what he saw as the hard and risky pa
415.
▲
by
pletnes
5y ago
I don’t use it for development, but it’s free, super fast, as everyone else says. In particular it will let you work with quite large text/data files and is also super simple to use. I recommend it for people who work with «medium data
416.
▲
by
pletnes
5y ago
What’s the big deal with multiline cursor over visual block mode?
417.
▲
by
pletnes
5y ago
I assumed it was borrowed from shell, where everything can just be put next to eachother since it’s all text.
418.
▲
by
pletnes
5y ago
If the dataset which went into the «3 sigma» had no major catastrophes, like WW2 / covid / … then such an event can probably get you into «3 sigma territory».
419.
▲
by
pletnes
5y ago
There is a sqlite kernel for regular jupyter. Not sure about jupyterlite though.
420.
▲
by
pletnes
5y ago
There’s also the fact that sometimes you need an actual tuple - in some places (C extensions like numpy, opencv, …) and a dataclass just doesn’t work.
More ›