Better HN
topnewbestaskshowjobs
Log inSign up

gonnakillme

74 karma · joined Feb 15, 2011 (15y ago) · 38 submissions

Submissions

comment 12y ago · link · parent

Does anyone have advice for learning this kind of "intuitive, heuristic, holistic way of grokking circuits"?

comment 12y ago · link · parent

Installing python libraries and programs through pip is pretty standard.

comment 12y ago · link · parent

No. It's disputed, but Neanderthals almost definitely died out before the human migration to North America.

comment 13y ago · link · parent

You'll really need to be able to use Monad and monad transfromers before you'll be able to use an idiomatic Haskell library, though.

There is "Write Yourself a Scheme in 48 Hours"[1].

[1]: http://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_H...

comment 13y ago · link · parent

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 13y ago · link · parent

I took that as a statement of fact (akin to "Chick-fil-a faced a public relations disaster ...") rather than a value judgement.

comment 13y ago · link · parent

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 13y ago · link · parent

The veekun pokedex[1] is on github[2] and they have a crapload of csv[3] files available.

[1]: http://veekun.com/dex [2]: https://github.com/veekun [3]: https://github.com/veekun/pokedex/tree/master/pokedex/data/c...

comment 13y ago · link · parent

The similar software was called Gordon, and was for Flash. :)

comment 13y ago · link · parent

You'd rather maintain a complete homespun project than maintain a fork of an existing one?

comment 13y ago · link · parent

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 13y ago · link · parent

No[1].

[1]: http://en.wikipedia.org/wiki/No-communication_theorem

comment 13y ago · link · parent

I'm not really sure what to make of this response.

> The Bayesian says, "Uncertainty exists in the map, not in the territory. In the real world, the coin has either come up heads, or come up tails. Any talk of 'probability' must refer to the information that I have about the coin—my state of partial ignorance and partial knowledge—not just the coin itself.

See, QM doesn't actually work like this. There is no hidden variable. This has been proven[1].

[1]: http://en.wikipedia.org/wiki/Bell%27s_theorem

comment 13y ago · link · parent

Casting QM as a complex-valued probability space is how it's usually done.

comment 13y ago · link · parent

Presumably you yourself have an unlimited license? ;)

comment 13y ago · link · parent

I don't think there are very many quantum effects working on coin tosses. It seems (to my relatively inexperienced eyes) like something handled pretty adequately by classical mechanics.

comment 13y ago · link · parent

If you all aren't familiar with Mario Party, here's what they're talking about: for a number of applications like turn order and movement distance, a Mario-style block that looks like a rolling die appears over your character's head. When you jump and hit the block, it settles on a single number. Apparently, you get the same number regardless of how long you wait to jump. The issue here isn't that the PRNG is reseeded or anything, it's that the appearance of player autonomy is an illusion.

comment 13y ago · link · parent

s/call StopIteration/raise StopIteration/g

comment 13y ago · link · parent

Illinois has IPass. IPass definitely works at tolls taking EZPass; I don't know if the reverse is true.

comment 13y ago · link · parent

It even works in the midwest! I drove to upstate New York from Chicago without paying a single old-fashioned toll a few years ago.

comment 13y ago · link · parent

That's an interesting interpretation, but I assumed they were referring to the temperature difference.

comment 13y ago · link · parent

I'm not sure an IP whitelist gives you anything -- it provides a handy mechanism for escalating privileges, both for intrusions on a machine at the "known-good" IP and for unintended network access in general.

comment 13y ago · link · parent

A monitor typically has a _maximum_ resolution.

comment 13y ago · link · parent

Restricting SSH to "known-good" IP addresses is less flexible and less secure than public key authentication.

(Restricting mysql access to localhost and using an SSH tunnel is fine practice, AFAIK.)

comment 13y ago · link · parent

Don't you realize there's a catch-22 here? Women are expected to be well-dressed, made up, and smiling and at the same time people like you criticize women for vanity.

comment 13y ago · link · parent

We should stop linking to Softpedia. It's a spammy site that mirrors tons of software projects (e.g., most if not all new releases on PyPI) unofficially in order to serve ads.

comment 13y ago · link · parent

It's sort of misleading to present this without the racist drivel that surrounds it.

comment 13y ago · link · parent

It /would/ have been less unsavory if he were talking about his boyfriend, though; women are exposed to violence (especially in relationships) in a way and at a scale that men just aren't. The way this is presented -- of /course/ everyone can relate to wanting to kill their ex-girlfriend -- is especially gross.

I'm not sure what Hans Reiser has to do with anything and it's a little strange that you brought him up. Wikipedia says Nina Reiser's disappearance was in 2006, a year after this post was made.

comment 13y ago · link · parent

Sorry for being unclear -- I'm referring to these parts:

> And, if you want to kill your ex-girlfriend, there's really no substitute for a ball-peen hammer.

> (Maybe they've never had ex-girlfriends. Or maybe they killed them with icepicks instead.)

comment 13y ago · link · parent

Jesus, the casual misogyny in this article is staggering.
12