HNHacker News
TopNewBestAskShowJobs

m1kal

29 karma · joined December 1, 2019

submissionscomments
m1kal··on Mathematics in Movies
In "My Little Pony the movie" Twilight Sparkle explains to Celestia and Luna how she wants the Sun and the Moon organized. She uses mathematical formula written on a blackboard. I can't recall what the formula was, probably wavelength calculation.
m1kal··on How can we stop the CO2 that plants store from leaking back into the air?
Build a bridge out of her!
m1kal··on Introduction to Haskell Typeclasses
I liked the text about typeclasses. It is a standalone piece, "Typeclasses 102" in LYaH is a part of a chapter of a bigger piece. I think you achieved your goal - your Pokemon example is simple to grasp and shows how to derive type classes and implement functions by hand:)

(not commenting about monoid/subgroup part)

m1kal··on Now that computers have more than 4MB of memory, can we get seconds on taskbar?
So animated mouse pointers are OK, blinking cursor in command prompt is OK, Teams starting with the system is OK, but counting seconds is overkill for Windows?

I would probably not display seconds anyway even if I had a choice, but this explanation seems strange.

m1kal··on Implementing Cosine in C from Scratch (2020)
I learned from Bender, Orszag "Advanced Mathematical Methods for Scientists and Engineers I".
m1kal··on Verilog Is Weird
SV and VHDL are nasty languages, but as you said, they are "industry standard". Chisel and Haskell-based approaches are better but virtually nobody adopts them.

I tried to go in another direction, to make design code shorter by using Clojure syntax. The result is here: https://github.com/m1kal/charbel and works for simple modules. I don't expect wide adoption, but we need to look for new directions instead of sticking to the methods and languages from the 80s.

m1kal··on TSMC eyes Germany as possible location for first Europe chip plant
From FPGA design point of view SystemVerilog is OK. I think it gives high enough level of abstraction to create even complex systems. It can also be readable after some years if care is taken to keep the code clean.

But I believe we need LISPy syntax - mainly for simplicity, also for easier parsing and static analysis. I think LISP is a natural way to describe data flow. Unfortunately none of the attempts to write functional synthesizable code that I found so far make the code simpler.

BTW I'm preparing a talk on simplifying RTL code. Can I cite some of your posts in this thread?

m1kal··on The Birth and Death of JavaScript (2014) [video]
I tend to disagree. Asm.js is dying. Webassembly is not "everything on top of JavaScript". While higher layers can work the same as they could with asm.js (still in the web browser), it's not what GB predicted.
m1kal··on Can programming be liberated from the von Neumann style? (1978)
Julia with ArrayFire seems to be straightforward, efficient and easy to use.
m1kal··on Hitchhikers Guide to the Galaxy – 30th Anniversary Edition – Free Play Online
The game is great. And really hard. I got stuck on the ship for hours, then I got bored and never came back to the game. But someday in the future I will finish it (without cheating)!
m1kal··on You might not need jQuery (2014)
It's funny this site doesn't mention dialog - the only feature I'm using that is hard to replace by vanilla JS...

jQuery speeds up development, but in most situations it's straightforward to replace.

On the other hand, I never remove React (and especially Reagent) from an existing site - too much effort, too much to break.

m1kal··on Ask HN: What are the pieces of software that may last forever?
TeX, BLAS, Vim and Emacs
m1kal··on Advent of Code 2019
Day 15 took me about 8 months, but I finally discovered I had made one wrong assumption that corrupted my solution for special cases...