Better HN
topnewbestaskshowjobs
Log inSign up

m1kal

29 karma · joined Dec 1, 2019 (6y ago) · 13 submissions

Submissions

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Build a bridge out of her!

comment 4y ago · link · parent

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)

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

I learned from Bender, Orszag "Advanced Mathematical Methods for Scientists and Engineers I".

comment 4y ago · link · parent

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.

comment 5y ago · link · parent

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?

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

Julia with ArrayFire seems to be straightforward, efficient and easy to use.

comment 5y ago · link · parent

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)!

comment 5y ago · link · parent

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.

comment 6y ago · link · parent

TeX, BLAS, Vim and Emacs

comment 6y ago · link · parent

Day 15 took me about 8 months, but I finally discovered I had made one wrong assumption that corrupted my solution for special cases...