Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pletnes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
77 ms
·
901.
▲
by
pletnes
9y ago
The significant downside to click is the slow startup time. Seems to add more than a second to startup in most cases! Still love it though.
902.
▲
by
pletnes
9y ago
Fortran 90 came with matlab syntax for arrays. Slicing, operators work on entire arrays, etc. Much more high level than C, and often faster, but safer and easier: no pointers needed. Fortran 77 is just a nightmare, like you said. Not many p
903.
▲
by
pletnes
9y ago
Classification and regression. Given examples, predict labels or values for new data. SVM used to be more «hot» than neural nets and are still very useful.
904.
▲
by
pletnes
9y ago
Anaconda python is a great option for exactly that. MKL gives great multicore performance. Many packages, e.g scikit-learn, dask and others, lean on numpy for performance, and are thus much faster.
905.
▲
by
pletnes
9y ago
At this point in time, Fortran is basically a domain specific language, analogously to using regular expressions for text processing. It is a nightmare to write full applications in it. The f2py approach to Fortran is undervalued IMHO, as F
906.
▲
by
pletnes
9y ago
I don’t disagree, but FYI pip has a —cache flag to use packages from file, and the files could be on a usb stick of course. Same approach can be used to speed up CI setups.
907.
▲
by
pletnes
9y ago
Does it cover development in some particular language? E.g python+sql?
908.
▲
by
pletnes
9y ago
Obviously it can be hacked together with bash scripting, but that’s fairly advanced usage.
909.
▲
by
pletnes
9y ago
There are also tons of other libs that apple don’t have equivalents for. E.g GDAL, libgfortran, and lots of others. Not sure if Accelerate is multicore ootb?
910.
▲
by
pletnes
9y ago
Some packages you install might break if you have spaces in their path. Better to fail loud, fail early. I don’t think it’s «anaconda’s fault».
911.
▲
by
pletnes
9y ago
It ships with intel MKL optimizations for e.g numpy/sciy. That’s a lot of hassle to get working in a virtualenv, not to mention maintaining several! MKL is also multicore parallelized out of the box.
912.
▲
by
pletnes
9y ago
A python dev that uses braces?
913.
▲
by
pletnes
9y ago
Ah, I wasn’t aware that so recent games were available.
914.
▲
by
pletnes
9y ago
Since older rpi models can run NES games, I guess the rpi3 is more powerful than necessary. And if the game you’re playing is running smoothly, why bother? With the consoles, there are no graphics settings.
915.
▲
by
pletnes
9y ago
People claim to run noscript but every page calls js from 10 different domains. How on earth do you navigate what to let through and what to block? And at some point, to me, it’s just too many mouse clicks!
916.
▲
by
pletnes
9y ago
That about sums it up. Coarray fortran is a «competitor» that seems a lot easier to use.
917.
▲
by
pletnes
9y ago
Fortran is much easier to use than its direct competitors if you are writing array-based number crunching. For all other used, it’s hopelessly outdated. If I were to explain its purpose to a non-fortran programmer, I’d say that Fortran is u
918.
▲
by
pletnes
9y ago
It’s a separate flag, independent of optimization, on all Fortran compilers I’ve used AFAIR (nag, intel, pgi, gfortran).
919.
▲
by
pletnes
9y ago
Numpy can use optimised BLAS but I believe it ships with an f2c transpiled reference BLAS so it can run (although slower) without Fortran where necessary.
920.
▲
by
pletnes
9y ago
DGEMM doesn’t necessarily win over MATMUL for small matrices. Useful in e.g rotation matrices in finite element codes, and lots of other areas. Since matmul can be done with inlined loops, you also avoid the function call overhead, but it l
921.
▲
by
pletnes
9y ago
There are some caveats AFAIK. Intel changed some default behaviors. I believe you can change them with a command line switch though. Of note is the SAVE property on all local variables being the default on MS. Now that’s an insane default i
922.
▲
by
pletnes
9y ago
I’ve seen devs thinking like that for decades. Since they already know Fortran 77, which is a Turing complete language, they can solve any computing problem. Still, I’d argue that it’s valuable to explore new things, at least at the level w
923.
▲
by
pletnes
9y ago
That doesn’t mean they will never get it.
924.
▲
by
pletnes
9y ago
Embedded stuff like routers? Serving a user manual for some network connected thing with a microcontroller?
925.
▲
by
pletnes
9y ago
USB drives and ethernet share the same bus on RPi so NAS performance is not great.
926.
▲
by
pletnes
9y ago
I have the impression that a cheap desktop (pentium?) PC is in fact cheaper and can house lots of 3.5" drives. Depends on how much space you have and how much storage you need.
927.
▲
by
pletnes
9y ago
Or any job in general. Also, make 4.x comes with the handy -O flag which makes the output seem "serial" instead of intermixed between processes.
928.
▲
by
pletnes
9y ago
I don't know that anyone claims Matlab is dying. But then, noone claims that Fortran is dying, either.
929.
▲
by
pletnes
9y ago
At least part of the arguments against rebase are arguments for feature branches. Keep master forever and rebase your feature/bug branches, I would rather say. E.g bitbucket has features for this too - prohibit force push on master&#
930.
▲
by
pletnes
9y ago
In that case, loop fusion may be even more efficient - makes better use of CPU caches. Depends on the logic I suppose.
More ›