News for hackers. Stuff that matters.

costrouc

Re:Edamagit: Magit for VSCode on Thursday May 29, 2025 @08:39AM (#44125494)
I use this extension all the time and for the most part it is identical to Magit. It is a little frustrating at times that Edamagit loses focus (unsure why). This extension along with `tuttieee.emacs-mcx` are what allowed me to transition to VSCode and have nearly the same productivity.
Re:I Was Wrong about Nix on Monday February 10, 2020 @09:58PM (#22295621)
There is a very good reason. Nix strives to be reproducible. Thus all hardcoded paths in builds have to point somewhere. /nix was chosen.
Re:The Configuration Complexity Curse on Saturday November 16, 2019 @08:49AM (#21552602)
There is a quite mature configuration language nix that is behind nixpkgs, nixos, and many other projects. Worth checking out for others here that are interested in abstractable configuration langauges. It is a functional lazily evaluated language.
Word on the street is that Nvidia insisted that they pay the full price for the GPUs this time and were giving them at a discounted rate prior.
Re:Monorepos: Please don’t on Thursday January 03, 2019 @10:50AM (#18815958)
in my opinion several build systems / package managers have already solved this issue. The answer is that it doesn't matter mono repo vs polyrepo. Look at nixpkgs/nixos/nixpkgs if you are interested
Re:Optimising Docker Layers for Better Caching with Nix on Tuesday October 02, 2018 @09:51AM (#18121608)
I really like this. I think it is a great compromise between the limitations of docker and everything packaged in one file while taking advantage of nix. I'm curious about one other optimization that could be made.

You could instead look at the dependency graph of several nix docker builds and increase the cache reuse even more from that.

Re:Limits on Matrix Multiplication on Saturday September 01, 2018 @11:12AM (#17892187)
I didn't see in the paper why these methods are not used in practice. There are parallel implementations of strassens algorithm out there (I have written one). Yes they are faster but they do not guarantee stability. Also they are significantly harder to parallelize than block cyclic MM.
I am a fan of LyX but using version control with the resulting tex document is near impossible and does not work well with others editing in a regular text editor. Wonder if anyone else had this experience?
Re:PyPy.js: Python in the web browser on Wednesday August 22, 2018 @11:25AM (#17819327)
Will web assembly have any effect on a future web based python interpreter? Is there one in the works?
Re:My favorite things that are coming with Julia 1.0 on Friday June 01, 2018 @08:34AM (#17204674)
Python does not make these assumptions. There are Python tools that exist to solve these problems that are equally as powerful as other language's solutions. The two that I believe right now address these problems best are dask and mpi4py. Mpi4py can achieve very low latencies but given that it's based on MPI it can be complex to use. dask is the most user friendly and as a Python user is clearly easier to use than spark. Paired with numba you can get equivalent performance to distributed C programs.
Re:How to write efficient matrix multiplication on Sunday May 27, 2018 @01:02PM (#17167839)
Matrix multiplication involves moving across one matrix in column order and the other matrix in row order. So it turns out that both row or column ordering make no difference. I think that matrix multiplication is one of the best examples of a deceptivly simple problem. It shows how far ALL code is from peak performance. We can only strive to be within an order or two from peak performance.
Re:Outperforming LAPACK with C++ metaprogramming on Monday January 29, 2018 @10:07AM (#16257857)
For those wondering the lapack guys are working on a new version of lapack to run on heterogeneous architecture including gpus. See their work at http://www.icl.utk.edu/research

I have worked with these guys and all I can say is good luck outperforming the highly optimized routines they have written. My bet is that the the guy writing this blog used a non optimized version of lapack.