News for hackers. Stuff that matters.

nicusor

Re:Switching from Vim to Intellij on Thursday November 05, 2020 @05:47PM (#25002933)
vscode has that, basically connects to a background neovim instance. I use the same vimrc (with minor tweaks for easymotion) for both neovim in cli and in vscode. Although at work I'm still using webstorm with the vim emulator
Re:Lisp and Haskell (2015) on Thursday October 08, 2020 @05:38PM (#24724205)
We've been using this approach in Typescript. It's more palatable than Haskell since you can express an array that has at least one element as a variadic tuple `[T, ... T]`. Having the possibility to encode invariants in types is very useful, although it gets harder at times since TS chokes when you push it to its limits. Note that this happens in an old Meteor codebase that was completely JS a year and a half ago.
Re:Exapunks on Tuesday August 14, 2018 @05:22AM (#17756437)
Never though about it that way, it really seems that Factorio is a very good representation of actual software development without actually containing coding (except for the logic you can do through the cables if I remember).
Re:Console.table() on Thursday June 14, 2018 @03:32AM (#17310021)
Another useful trick I've been using for some time is

console.log({ a, b })

where a and b are some variables. This will print the name of the variable next to its value. So it can be thought as a faster version of

console.log('a: ' + a)