HNHacker News
TopNewBestAskShowJobs

pantaloons

356 karma · joined May 19, 2011

submissionscomments
pantaloons··on Students Learn as Well from Software as from Live Teachers
The problem isn't a non-profit for-profit one, it's that you can't have a competitive market for what should (ostensibly) be a free and universal service.

Broken it may be, but I certainly prefer free and inefficient education to the alternative.

pantaloons··on Wiping Out $90,000 in Student Loans in 7 Months
Probably the "start at six figures" part, which for most (non-CS) graduates is, at best, impossible.
pantaloons··on The Cab Ride I'll Never Forget
"A life, Jimmy, you know what that is? It's the shit that happens while you're waiting for moments that never come."
pantaloons··on Hiring the Smartest People in the World
If you limit n then than the algorithm is actually O(1) time too -- his answer is wrong either way.
pantaloons··on Hiring the Smartest People in the World
The larger problem is the cult of "Big O" and its use as a form of signalling in interviews.

If I wanted to test whether a candidate understood Big O, I'd ask them if there was a difference between O(1) and O(0). What these companies want is to see if the candidate understands program performance in general. Big O is the vogue (in my view misguided) way to do that.

pantaloons··on Hiring the Smartest People in the World
1. Not constant space. Not linear time.

2. Not constant space. Not linear time.

3. Looks correct.

pantaloons··on Meet The New Boss, Worse Than The Old Boss?
So technology companies create new means of distribution, compelling enough that people will pay for music that can, and previously was, being obtained for free -- his complaint is that the tech companies don't take over the role of talent discovery too?

He makes a convincing argument that things are worse than they used to be, but not that Apple et al are to blame.

pantaloons··on Google Code Jam 2012
Problem D (the only nontrivial problem) was actually in an ICPC regional a few years ago (south american perhaps?) so a lot of people will have seen this one before.
pantaloons··on Notch's next game is an MMO
I think you might be missing the point, all simulation continues while players are offline. Implementing consistent physics in an MMO is (very) hard, but having all players simulated even when they are logged off is something else entirely. The state of the art there is things like mail systems, auction houses, and skill queues.
pantaloons··on Notch's next game is an MMO
Well a first person shooter engine only really needs an (x, y, look-at) tuple for each player, certainly putting thousands of players on one map is doable. You're dreaming.

Assume for a moment a team of developers spend several months if not years doing infrastructure build-out to support the imagined CPU simulation system. Now they just have to implement the rest of the engine, the part powering the actual game, in which all players, CPUs, and other elements are active and interacting with one another at all times.

I'm hoping Notch succeeds, but lets be realistic -- the closest anyone has got to offline simulation is effectively "event queue and timer" and not for lack of trying.

pantaloons··on Notch's next game is an MMO
"We are going to emulate all computers and physics even when players aren't logged in."

I built a prototype trying to do something similar, inspired by a text-based RTS/MMO that kept running while you were asleep. For me this was an unrealistic goal, if the simulations are complex enough you can't operate at a price point users will pay for. Even if you can, because the game is now CPU bound, far less players fit on a single instance -- you now need incredibly clever partitioning and load distributing facilities to keep the world appearing seamless. Even AAA titles haven't solved that problem, a look at world PVP lag in EVE or WoW will tell you as much.

pantaloons··on What is tail call optimization (2008)?
As always SICP has the answers[1], and helped me shift from a "production rule that transforms slow code to be faster" mindset towards a "implementation detail of the compiler that ensures it doesn't create unnecessary state" one. It's no more an optimization than explicitly not filling code with NOP's is.

[1] http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-34.html

pantaloons··on Too Much SEO? Google’s Working On An “Over-Optimization” Penalty For That
There's a case to be made that detecting and penalizing SEO is making results worse, if, as you suppose, SEO for a sufficiently good search engine is equivalent to producing good content.

Obviously Google doesn't think their search is good enough, and I would agree -- piling more "inputs" and arbitrary branches into a ranking algorithm, however, is no solution. This will only devolve into an endless game of cat and mouse until a new search engine comes along and does to Google what Google did to Yahoo.

pantaloons··on Police court order Dotwrong
It is claimed in an interview[1] that there were two licensed guns on the premises, neither was used or even unlocked from storage during the raid. Obviously what we have here is a political show of force, although in this case it seems to have backfired.

Seeing the extent of US copyright colonization is always saddening, here it's put on full display and thankfully because it makes for good television this time (c.f ACTA, Copyright Amendment Act) most New Zealanders are visibly agitated.

[1] http://www.3news.co.nz/Campbell-Live-enters-Kim-Dotcoms-Coat...

pantaloons··on Gamers Launch Harassment Campaign Against BioWare Writer
This is complete rubbish. You've managed turn something that has absolutely nothing to do with gender into a gender issue, replete with ad hominem attacks, gross over generalizations, bad faith assumptions, and a vague anecdotal psychoanalysis.

Anybody familiar with the circumstances of Bioware, in particular their perceived decline post-acquisition should be able to see through this. We have a woman who works on the writing staff for a game company in decline, saying that she does not enjoy playing games. Done, finished. Fans of said company would blame the orator regardless of gender, the smoke, mirrors, and shouts of sexism merely serve to enrage people further.

pantaloons··on US Appeals Court: Forced Decryption Is Self-Incrimination
That encryption key wouldn't provide proof, but there are many that would. Trivially a sufficiently long key could embed a video of the murder.
pantaloons··on Show HN: Very low footprint JSON parser in portable ANSI C
Neither the execution nor source character set (of C) is guaranteed to be ASCII though. This makes the general parsing as well as lines like "if (c >= 'A' && c <= 'F')" non-portable.
pantaloons··on Nearly all binary search and merge sort implementations are broken (2006)
That can't actually be taken for granted, relevant Usenet discussion begins here:

http://groups.google.com/group/comp.std.c/browse_thread/thre...

pantaloons··on Nearly all binary search and merge sort implementations are broken (2006)
I'm tempted to suggest that the fixed C/C++ version is still not correct with respect to this issue, namely on architectures where INT_MAX == UINT_MAX. (Or really INT_MAX <= UINT_MAX < 2 * INT_MAX, which is valid in C99 for INT_MAX >= 65535.)
pantaloons··on Context Free - a program that generates images from written instructions
Yes, the distinction between "program that generates images from written instructions called a grammar." and "image file format" is an interesting one too.
pantaloons··on Learn C The Hard Way
He brings no pedagogical issues to bare, it's simply a facile critique of "style", I don't think that answers the question why not K&R at all.

Some may consider the points well taken, not surprisingly K&R had the foresight to respond in kind, two decades earlier:

Our aim is to show the essential elements of the language in real programs, but without getting bogged down in details, rules, and exceptions.

pantaloons··on How I got into MIT when I was 14
It's a straw man -- overpopulation is not the only reason to be against anti-aging remedies. The so called "sacrifice" of death is necessary for progress -- death is a prime mover of dogma, nepotism, wealth, and many more. Humanity benefits immensely from the periodic refreshing of the old guard.

It's a question of whether you want a better life for yourself or for your children.

pantaloons··on Help break my "proof" of p = np... i can't find the error
It appears to have been removed, although it's available in the history:

http://en.wikipedia.org/w/index.php?title=Talk:P_versus_NP_p....

Of course the proof is almost surely wrong...

pantaloons··on ISO C is increasingly moronic
Do you mind elaborating on the supposed political quibbles that would prevent a pthreads-like API from being adopted? Are you are implying that vendors of competing API's would oppose anything pthread-like making its way into the standard?
pantaloons··on How games cheat to help players
Reminds me of games with lag compensation. It has been observed that players missing their shots due to lag get incredibly frustrated.

The best way to deal with this is to use the latency of the shooter to predict what their bullet would of hit at the time they fired on their screen. This just cleverly shifts the lag from the shooter to the target, but players getting hit by lag compensated shots will rarely notice or care; certainly not as much as a shooter would when their shots miss.

pantaloons··on RIAA and DHS are hives of depraved piracy
More likely the takeaway is that this story is a crop of shit. Hypocrisy is not newsworthy, nor is an article based entirely on an appeal to hypocrisy worth reading.
pantaloons··on Notch live coding for Ludum dare 22
You say "iterate" but from what I observed it was mostly used for shotgun debugging -- not necessarily a bad idea when doing graphics programming on a strict time limit.
pantaloons··on Facebook threatens to sue man who changed his name to Mark Zuckerberg
Man sells likes, Facebook sues. What this has to do with someone's name or why anybody, Facebook included, should care, is beyond me.
pantaloons··on Stanford Pulls Bid for New York Tech Campus
Surprising indeed. It seems strange that they would take the proposal this far before withdrawing for financial reasons, or fear of losing.

Surely there is a more interesting bone of contention here that didn't become evident until late in the process.

pantaloons··on Facebook releases HHVM, 60 percent faster than its current PHP interpreter
Not everybody using PHP is serving web pages. Zynga use PHP to do server side game simulation, I expect there are a myriad of smaller companies doing CPU intensive tasks in PHP that will welcome these developments.
← PreviousPage 2 of 3Next →