Recent submissions

Comment · 12 years ago
Does anyone have advice for learning this kind of "intuitive, heuristic, holistic way of grokking circuits"?
Comment · 12 years ago
Installing python libraries and programs through pip is pretty standard.
Comment · 13 years ago
No. It's disputed, but Neanderthals almost definitely died out before the human migration to North America.
Comment · 13 years ago
Comment · 13 years ago
I don't think pattern matching is necessary for ADTs. It's useful, but you could have e.g.

> if MyType.ConstructorA(a):

> ...

> elif MyType.ConstructorB(a):

> ...

or even something like

> with MyType.ConstructorA(a) as b, c:

> ...

> else with MyType.ConstructB(a) as d:

> ...

a "with/else with" construct would be a fairly straightforward addition to Python's "context manager" interface.

Comment · 13 years ago
I took that as a statement of fact (akin to "Chick-fil-a faced a public relations disaster ...") rather than a value judgement.
Comment · 13 years ago
I wonder if a possible solution here is to distribute a Makefile or something that extracts the assets (sprites, music) from a ROM. I think this would make hosting a live version somewhat dubious, but the code should always be able to be distributed.

N.B. I am not a lawyer.

Comment · 13 years ago
Comment · 13 years ago
The similar software was called Gordon, and was for Flash. :)
Comment · 13 years ago
You'd rather maintain a complete homespun project than maintain a fork of an existing one?
Comment · 13 years ago
One way to think about text encoding is that it provides a nice way to represent indexes into a big array of glyphs: "unicode". Fonts map (some) of these indexes to graphic representations and provide "font hinting" -- clues as to how different letters should be rendered at different sizes -- and kerning information.

Usually your desktop environment is the thing that handles all of this, providing widgets for other programs to combine to create GUIs. I can't find it right now, but you can probably find e.g. GNOME/GTK's implementation.

(Re: Textmate: code is typically rendered in monospace font -- where every glyph has the same size -- so that it has the same alignment in every font with every renderer.)

Comment · 13 years ago
Comment · 13 years ago
Comment · 13 years ago
Casting QM as a complex-valued probability space is how it's usually done.
Comment · 13 years ago
Presumably you yourself have an unlimited license? ;)

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton