Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sid0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
301.
▲
by
sid0
16y ago
With closures you can have all the privacy you want.
302.
▲
by
sid0
16y ago
The small cost of not being able to declare your variables together with your pointers is nothing compared to the confusion it avoids. int* var1; is the way I (and I suspect anyone who's studied theoretical algebraic data types) t
303.
▲
by
sid0
16y ago
int *var1, var2; is not clear at all. var1 has type "int pointer", and for each type T, its pointer type is represented as the type T*. It's just one of the many ways the C user interface is broken beyond reason. The point is not
304.
▲
by
sid0
16y ago
Last resort, remember. I'm not saying C doesn't have its place -- I'm saying that it should be used as little as possible. While I guess there's no other option for a memory allocator, it should be quite possible to write a scheduler in ano
305.
▲
by
sid0
16y ago
Exactly, and C is the worst offender for boilerplate code. There isn't even a list abstraction! It's surprising that there's an array abstraction and that people aren't just forced to use pointer arithmetic.
306.
▲
by
sid0
16y ago
This sort of idiocy is what holds computer science back. C, because of how close to the metal it is, is pretty much the ugliest language in wide use, and the fact that we know a lot more about programming languages and user interfaces now
307.
▲
by
sid0
16y ago
Indeed. http://www.gamesetwatch.com/newzoo_2010spend.jpg shows that traditional non-MMO PC gaming is a larger portion of the market than most consoles, even in the US . Plus with digital distribution publishers get 70-100% of the money c
308.
▲
by
sid0
16y ago
Firefox sync means I don't have to worry about losing my bookmarks, and I doubt I'm going to use anything but Firefox for a long while. Your other points are interesting, but I don't really see how they beat the awesomebar integration Firef
309.
▲
by
sid0
16y ago
Why should I use it over Firefox's native bookmarks?
310.
▲
by
sid0
16y ago
No one's asking anyone to cross-compile binaries for every OS. You compile binaries for the few important platforms and provide source for the rest. As I mentioned in my other reply, open source projects have been doing this for a long whil
311.
▲
by
sid0
16y ago
Because then you'd need to ship binaries for every conceivable platform that your gem could be used on You don't. You ship binaries for the top 2-3 platforms and provide source for the rest. That's how open source projects have been doing
312.
▲
by
sid0
16y ago
... or, you could just ship a binary instead.
313.
▲
by
sid0
16y ago
That sounds fixable.
314.
▲
by
sid0
16y ago
Yeah, why not just ship binaries? Needing to install a compiler separately seems like far too high a barrier already.
315.
▲
by
sid0
16y ago
I don't think we're disagreeing :)
316.
▲
by
sid0
16y ago
Right click on a UI button and disable tabs on top + enable the menu bar. Firefox isn't Chrome -- it doesn't force you into its workflow or mode of thought.
317.
▲
by
sid0
16y ago
It's not a question of Firefox allowing this -- if you run any program on your computer it'll have access to your data (and hence to your Firefox profile), and one of the principles behind Firefox is extensibility.
318.
▲
by
sid0
16y ago
Heh, you should look up what "computers" meant from the 17th century right until World War II. Our field is founded on the idea that machines have the same power as humans working like machines, and that that power's the most a machine (or
319.
▲
by
sid0
16y ago
"Turing" is not a complexity class, so "Turing Complete" is nonsense. Good thing that complexity theory isn't the only part of CS that uses the notion of completeness. Turing (aka recursively enumerable functions) is a computability cla
320.
▲
by
sid0
16y ago
It'll be a really big deal the day we find a model of computation more general than Turing machines. Till then, in most contexts they're interchangeable. Also, if you really want to tilt at windmills, Turing complete is a weaker statement t
321.
▲
by
sid0
16y ago
unless you strangely accept the idealization of a "hand pressing tab space" Why is that stranger than my computer requiring electricity to run?
322.
▲
by
sid0
16y ago
This example, while nifty, doesn't show that HTML+CSS is Turing complete, because the user still has to provide the looping. That's like saying that my computer isn't a Turing machine (modulo finiteness of memory) because I need to plug i
323.
▲
by
sid0
16y ago
I know Firefox bundles its own sqlite on OS X because the native sqlite is far too buggy.
324.
▲
by
sid0
16y ago
That sounds like a good starting point for a discussion about different types of programming languages.
325.
▲
by
sid0
16y ago
Check out the hg-git plugin. I use it all the time to clone projects from github using hg.
326.
▲
by
sid0
16y ago
Because Guido has a taste for good UI. </troll>
327.
▲
by
sid0
16y ago
I don't really agree -- I found that I could reason out where to go around 95% of the time, and for the other 5% I had the handy in-game guide.
328.
▲
by
sid0
16y ago
Machinarium does have dialog. There's no text, but there's still dialog.
329.
▲
by
sid0
16y ago
OK, I did not know that. I love the writing in Portal.
330.
▲
by
sid0
16y ago
The article's over ten years old, and since then there's been a sorta revival of the genre. There are all the Telltale games, the Monkey Island remakes, and more recently the brilliant Machinarium. Digital distribution services like Steam h
More ›