Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pletnes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
54 ms
·
811.
▲
by
pletnes
8y ago
Isn’t git bash and its ssh config file equivalent to that on *nix systems?
812.
▲
by
pletnes
8y ago
AFAIK python 3.5 and 3.6 are significantly faster than 2.7 and uses less memory due to dictionary optimizations. I don’t think speed has been a real argument in a while. Also, python 3 is almost entirely compatible with python 2 (although C
813.
▲
by
pletnes
8y ago
Even if it’s 100 timed better than Mersenne Twister, a lot of people just throw MT at the problem and it’s solved. Why research new algorithms when old ones are good enough in your use case? Usage is not proof of quality.
814.
▲
by
pletnes
8y ago
This kind of interface was common in fortran 77. I’m guessing you’ve used BLAS/LAPACK? In more modern fortran, it’s not so usual. Also, Fortran is much more high level than C, and how memory is allocated etc is compiler dependent to a
815.
▲
by
pletnes
8y ago
Add netcdf4, which builds upon hdf5.
816.
▲
by
pletnes
8y ago
Json is for machines, yaml is for humans, as a general rule. They’re mostly compatible feature-wise.
817.
▲
by
pletnes
8y ago
I wonder if Stallman will be right, again, and whether we will see the rise of the Fossil SCM? (Or a similar clone)
818.
▲
by
pletnes
8y ago
make -O does the same. In fact, it can serialize a whole target, at the cost of buffering that output.
819.
▲
by
pletnes
8y ago
It’s nice to drop back to serial compilation when debugging IMHO. Sometimes one header bug causes two errors with interspersed output in parallel builds.
820.
▲
by
pletnes
8y ago
alias mj=‘make -j $(nproc)’ works like a charm on all my CMake projects. Keeps the cores warm!
821.
▲
by
pletnes
8y ago
Why not generate an UUID field that’s unique, but keep a surrogate integer primary key on the server? You can join on either one on the server, but keep track of the rows using the UUID. Asking as someone with no SQL expertise (relative to
822.
▲
by
pletnes
8y ago
Older versions could sync with e.g. Dropbox. So to get your passwords, someone would have to break into dropbox and then into your encrypted vault.
823.
▲
by
pletnes
8y ago
Points aside, the rpi is still for sale at $1000.
824.
▲
by
pletnes
8y ago
I’ll sell you mine for $1000. OK?
825.
▲
by
pletnes
8y ago
From my experience, compiling on a machine with an older version of linux/glibc should work fine. The other way, not so much.
826.
▲
by
pletnes
8y ago
Amazing. I got a HP30s in 2003 as it was the only calculator approved by the university. Everybody I knew hated every single aspect of it. The arrow button was soft and imprecise, leading to long calculations being deleted by accident. The
827.
▲
by
pletnes
8y ago
I’ve seen a few Fortran goto subroutines. I somehow get the feeling that the two following facts are mathematically related: some graphs cannot be drawn on a two-dimensional sheet of paper, and some subroutines cannot be decomposed into sma
828.
▲
by
pletnes
9y ago
Nuitka might be interesting for this use case, too. http://nuitka.net/index.html It will compile python to C++ and then compile that code to machine instructions and calls to the CPython library.
829.
▲
by
pletnes
9y ago
Getting a sensible git-diff would be great!
830.
▲
by
pletnes
9y ago
No side effects means no garage door opening or closing. I guess you wanted it to open or close in some cases at least?
831.
▲
by
pletnes
9y ago
PDFs can, and typically do, contain postscript. Ps2pdf is one «compiler» you could use.
832.
▲
by
pletnes
9y ago
Printscreen. Photograph your screen with your phone. It’s still just a «please don’t print».
833.
▲
by
pletnes
9y ago
There must be some other way. I can often figure out the direct url to a software project in bitbucket, but office365 urls are pages long. I somehow doubt atlassian is as transparent as you say. Disclaimer: not a web dev
834.
▲
by
pletnes
9y ago
The downside is that your urls are long, ugly and incomprehensible.
835.
▲
by
pletnes
9y ago
Can confirm, resin.io is brilliant. The new multicontainer functionality looks like a great improvement! Source: have photographed fish with resin/docker.
836.
▲
by
pletnes
9y ago
Jupyter is just the editor and viewer. It can plug in a lot of stuff, including maps and videos, but those are prepared using other libraries.
837.
▲
by
pletnes
9y ago
As someone who mostly sticks to python but is interested in data analysis and visualization, I still haven’t figured out what problem d3 solves, and which use cases it makes sense for?
838.
▲
by
pletnes
9y ago
Using \text{} instead of \sin is, arguably, plain incorrect. Or at least at odds with the tex philosophy of separation between content and formatting.
839.
▲
by
pletnes
9y ago
They don’t know how. But anaconda python will work nicely on centos 6 I suspect.
840.
▲
by
pletnes
9y ago
If you’re in the terminal, just use «open /what/ever». Open = doubleclick, works for files, too.
More ›