Vim rendered on a cube for no reason
github.com
github.com
- Alan J. Perlis
-People who give me hope
To the extent that you are responsible for the errors in these you are very responsible, else you're wasting amounts of human capacity (and generating it's twin, unhappiness) proportional to the size of your user base, and that can be absolutely huge.
Or could be I'm taking his quote just a bit too seriously.
To quote, he makes the following observation:
“Physics disgusts me a little bit now, but I used to enjoy doing physics. Why did I enjoy it? I used to play with it. I used to do whatever I felt like doing–it didn’t have to do with whether it was important for the development of nuclear physics, but whether it was interesting and amusing for me to play with...
I’m going to play with physics, whenever I want to, without worrying about any importance whatsoever.”
He started looking to have fun with physics, and claims the breakthroughs came from that.
Huh?
How do i stop the cube from spinning
noHumans are good.
Also, what is Nim? How popular is it? What popular products is it used in?
Would it be a useful language for a python developer to learn? I have a friend who is a python dev and he has lamented that he’d like to learn something else. Should I recommend nim? Is it good for numerical analysis?
Nim recently hit 1.0 and has grown a lot of the years, but it still isn't particularly common to see in industry. You can see some Nim related projects on GitHub: https://github.com/topics/nim
I used it to write a few things/just play around with in the pre-1.0 days, and found it quite nice to write and easy to read.
Regarding your question about numerical analysis and Python, this post touches on using Nim for tasks that you might reach for numpy for: http://rnduja.github.io/2015/10/21/scientific-nim/
This one has a brief comparison of Nim and Python + numpy: https://narimiran.github.io/2018/05/10/python-numpy-nim.html
Note that both are for pre-1.0 Nim.
Nim's site: https://nim-lang.org/
You're completely right, but I can say I've introduced it for writing custom developer tooling across three companies, including one very large rather well known one in the travel space (though that was pre 1.0)!
The nicest part of Nim I feel is that it was super easy for non-Nim programmers to pick up and understand. The team would regularly contribute to the tooling despite not using it anywhere near as extensively as myself, which I think speaks volumes to it's ease-of-use
It's safe and GC'd by default, but you can trivially swap GC or you can run entirely without GC and do everything manually. It's idiomatic to use managed references but you can do unsafe pointers if you want. Interoperability with C is easy but not seamless like with for instance Zig.
Compile times are excellent compared to Rust, as are binary sizes, making static binaries is trivial (which is harder in Go from what I understand).
I find the syntax easier/better than Rust with fewer special characters, but compared to Go I think the syntax is a wash.
It requires very little boiler plate, and let's you do things that cut down on code size like using `var` or `let` statements in blocks:
var
intVal: int
strVal: string
I like the distinction of var vs. let over Rust's let mut/let as well.The two major weaknesses at this point are package availability and documentation. There's a package for everything in Go and Rust land, and there's lots of documentation for everything. There's quite a handy standard library in Nim and most of what you typically need in the Nimble package manager, but sometimes you'll run into the situation of having to roll your own X.
For example see: https://github.com/mratsim/Arraymancer in the README it mentions:
> Note: While Nim is compiled and does not offer an interactive REPL yet (like Jupyter), it allows much faster prototyping than C++ due to extremely fast compilation times. Arraymancer compiles in about 5 seconds on my dual-core MacBook.
It’s community is comparatively small, but it is incredibly helpful, smart and capable.
Does he only know python? If so I'd say yes, Nim looks like Python but it's semantics are quite different and it performance a lot better. Also Nim <-> Python interop is nice too. Besides what eindiran said, your friend could also take a quick peek at: https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programm... and for numerical stuff Nim's ecosystem is quite young for it but people are working hard on it: https://github.com/HugoGranstrom/numericalnim
I'd say go for it!
https://github.com/bluenote10/NimSvg
Pretty cool!
It's a pity it's no longer maintained.
KDE has zooming built in nowadays.
the same with wobbly windows. they'd only wobble when moved, which makes the effect practical, as it doesn't get in the way.
i hoped this vim cube would do that too. map different buffers onto the faces, and rotate the cube as you switch buffers, but otherwise stay out of the way to actually let me work
Being a master hacker during that time was fun.
A lot of people said it was silly, and I think IIRC the help pages for it used to have cheeky comments like "Why? Because we can." There's probably a good reason it was deprecated, but I thought it was useful for debugging my often deeply nested DOM layers.
https://github.com/chrisprice/explodz
It appears to still work and it even sort-of works on Firefox except for the mouse-click feature that shows the sides. Clearly not as polished as the old Firefox feature though.
I've been saying this since Jurassic Park came out and the Unix UI was basically 3D. Around that time I had some labmates in the mid 90's that thought GUI logins should be skeumorphs that involved doors, keys, and tunnels. And it got worse from there.
Fast forward from 1993 to 2013 and I met a guy working on a 3D version of ... Atom editor I think? I was a fucking trainwreck to look at, but damn he was putting his all into it.
When I have to use Windows every once in a while I am viscerally disgusted by the lack of wobbly windows. Moving windows just feels wrong - very, very wrong. Takes a second to realize they're not wobbling. To me it makes the computer seem less robotic and more natural in a way, I guess. Like haptic feedback on smartphones when you tap stuff.
Many other options like fire-on-window-close and zooming are also available.
I believe you could get them just using kwin the window manager.
While this stuff may seem silly and pointless, you'll never know who it'll inspire to dive in to a whole new world. I'm glad it's being maintained still
https://www.microsoft.com/en-us/research/publication/the-tas...
https://github.com/paranim/pvim - A Vim-based editor for Nim https://sekao.net/paravim/nim/
So what the fuck is what? paranim? paravim? pvim?
You're still a pleb, only "richer".
Yes. Any particular reason you think it shouldn't?
I prefer to see people's personal fun hacking projects on HN to news I can read elsewhere.
> Is everyone else waiting for the April job threads too?
An early one went up last week https://news.ycombinator.com/item?id=22665398