HackerTrans
TopNewTrendsCommentsPastAskShowJobs

hatmatrix

no profile record

comments

hatmatrix
·4 maanden geleden·discuss
Julia's Tidier.jl ecosystem is getting there too. It uses macros to mimic this 'special' evaluation framework of R, so the code is also readable in a similar way.
hatmatrix
·4 maanden geleden·discuss
There was XLISP-STAT before R, but the scientists have spoken. They don't like the parentheses.
hatmatrix
·4 maanden geleden·discuss
cries in org-mode
hatmatrix
·4 maanden geleden·discuss
Do you have an idea whether these are specific types of problems that is giving Julia poorer performance? From what I recall, people were reporting better speeds with Julia than with Numba (e.g., [1]). My impression was that you are basically able to bring more of your code to LLVM with Julia than Numba, so it would make sense.

[1] https://gerritnowald.wordpress.com/2022/10/03/simulating-rot...
hatmatrix
·5 maanden geleden·discuss
That study must have compared beginners in LaTeX and MS Word. There is a learning curve, but LaTeX will often save more time in the end.

It is an old language though. LaTeX is the macro system on top of TeX, but now you can write markdown or org-mode (or orgdown) and generate LaTeX -> PDF via pandoc/org-mode. Maybe this is the level of abstraction we should be targeting. Though currently, you still need to drop into LaTeX for very specific fine-tuning.
hatmatrix
·6 maanden geleden·discuss
Yeah I started using GitLab for the same reason and also that FSF "approved" of its CE version. But doesn't hosting private repos on GitLab and using public repos on GitHub just give GitHub that much more monetizable value?
hatmatrix
·7 maanden geleden·discuss
But then you lose the readability that is the core defense of MATLAB/Octave. Ok so NumPy is readable, but less pleasantly so.
hatmatrix
·7 maanden geleden·discuss
It's one of those languages that outgrew its original purpose, as did Python IMHO. So non-matrix operations like string processing and manipulation of data structures like tables (surprisingly, graphs are not bad) become unwieldy in MATLAB - much like Python's syntax becomes unwieldy in array calculations, as illustrated in the original post.
hatmatrix
·7 maanden geleden·discuss
An understated advantage of Julia over MATLAB is the use of brackets over parentheses for array slicing, which improves readability even further.

The most cogent argument for the use of parentheses for array slicing (which derives from Fortran, another language that I love) is that it can be thought of as a lookup table, but in practice it's useful to immediately identify if you are calling a function or slicing an array.
hatmatrix
·7 maanden geleden·discuss
Indeed, there are many high-quality alternatives (sometimes described as "MATLAB clones" back in the day) that never gained bigger traction.

Among modern alternatives that don't strictly follow MATLAB syntax, Julia has the biggest mindshare now?

GNU Octave, as a superset of the MATLAB language, was (is) most capable of running existing MATLAB code. While Octave implemented some solvers better than MATLAB, the former just could not replicate a large enough portion of the latter's functionality that many scientists/engineers were unable to fully commit to it. I wonder whether runmat.org would run up against this same problem.

The other killer app of MATLAB is Simulink, which to my knowledge is not replicated in any other open source ecosystem.
hatmatrix
·7 maanden geleden·discuss
What's the business model?
hatmatrix
·7 maanden geleden·discuss
fft.m is the more obvious example of the closed source algorithm here. You open it and it just says

% Built-in function.

The algorithms written in C and compiled by mex are the "built-in" ones that are not viewable.
hatmatrix
·7 maanden geleden·discuss
How about fft? If you open fft.m, you get just a commented file that ends with

% Built-in function.

If the algorithm is implemented as a compiled mex function, then you cannot inspect its details.
hatmatrix
·7 maanden geleden·discuss
The move to USB-C is actually great for compatibility across machines. Europe has a directive for companies to implement USB-C to reduce e-waste from chargers.
hatmatrix
·8 maanden geleden·discuss
It's worth considering what nextgen really would be, but probably VSCode and its forks will dominate for the time being. I recall Steve Yegge predicting that the next IDE to beat be the web browser, and this was around 2008 or so. It's not the reality, but took about 10-15 years for it to actually happen, even though there were earlier shots at it by like Atom.
hatmatrix
·8 maanden geleden·discuss
There is an AI-integrated IDE called Erdos...

https://www.lotas.ai/erdos
hatmatrix
·8 maanden geleden·discuss
What are some difference between the education tooling around Racket and that which enables "industrial" applications Common Lisp is known for?
hatmatrix
·8 maanden geleden·discuss
As for the tooling, julia-snail on emacs is supposed to be like SLIME for Lisp. But sounds like that isn't your main gripe. Having to load so many packages is a indeed a pain, but it does suggest the core language is rather minimal...
hatmatrix
·9 maanden geleden·discuss
Does this also apply to commutative operations in general?
hatmatrix
·9 maanden geleden·discuss
Do we have enough rare earth metals to provide storage for the AI boom?