Hacker Newsnew | comments | show | ask | jobs | submit | login

Andrew, what are your thoughts around good processes for performance grants?


It's to draw people from the South Bay, and perhaps over time some of SF proper will migrate to Raiders games. There are more people in San Jose than San Francisco, you know.


I had this exact problem so I empathize with you. It was really painful, because my internet would go out sporadically for at least a minute every once in a while. My problem was also too much noise coming from a crowded apartment complex.

The solution I found was to upgrade to a 5 GHz router. The one I bought can transmit on both 2.4 GHz and 5 GHz, but I configured it to only transmit on 5 GHz. This forces my computer to always use the 5 GHz connection, which has less noise. The 5 GHz signal decays faster when it goes through walls, so the signal will not be as strong as a 2.4 GHz would, but the signal-to-noise ratio will be much better because 5 GHz is significantly less crowded.


I was curious too so I Googled it. Looks like it's true:


You'd still need the right chess AI running on it but smartphones today are more powerful than Deep Blue, apparently.


It's because the article literally says it's 50.6 million uniques in the US: "Between desktop and mobile devices, MySpace reached 50.6 million unique users in the U.S. in November. That’s a massive surge of 575% versus the same month in 2013."

I read this as implying their uniques (as measured by, say, Google Analytics) were 50.6 million in the US, which probably means less than 50.6 million Americans visited the site in Nov. For instance, if every one of those uniques visited on both their smart phone and their computer, then it'd actually be 25 million real people. The truth is likely somewhere between 25 and 50 million Americans visited in Nov.


Ok, I'm officially a moron today. Thanks for taking the time to elaborate. I had read the article, but apparently not well enough.


I hadn't thought about how devices can double count uniques. But this is still massive. I thought 50 million world wide was a lot when I saw the headline and got very surprised when I read it was referring to only the US




I hope Haxe succeeds even more than it already has. Congrats guys.

What's a good and up-to-date Haxe tutorial for making mobile apps, targeted at Mac developers?


Translation of terms: Play -> ply (or half-move) Match -> game

The data doesn't support the conclusion that chess is becoming more defensive. It could be that time controls or new rule changes have changed the play. For instance, one proposed rule change is to not allow draws before move 50, which would definitely impact the number of moves.


>The data doesn't support the conclusion that chess is becoming more defensive.

That's a good point. I weakened the wording to make it clear that I'm speculating.


Relatedly, if you want to analyze PGNs, I put together some Python code that can analyze PGNs in combination with a chess engine. It can also draw chess positions, if you find interesting positions you want to programmatically draw:


I'm kind of hoping someone will do a thorough analysis of the types of moves chess grandmasters make during a game. For instance, here is a chart from a GM book that categorized moves into four categories: http://imgur.com/BMOElXN


Nice! I've been needing a tool like this for these chess analyses. Do you have docs showing how to use the scripts?


Not really, it was mostly made for my own use then thrown on Github in case someone wanted it. It works for most games, but isn't guaranteed to be able to parse all games. I added example code to the readme.


I remember my neighborhood getting pledges to donate towards a common goal, so the idea's been around pre-2001. I think the idea has been around for centuries, looks like it was used with the Statue of Liberty's pedestal: http://en.wikipedia.org/wiki/Crowdfunding

There's an argument that modern crowdfunding is important enough that maybe Brian Camelio is the father of [modern] crowdfunding.


No, I wasn't aware of that, but that is interesting.

Betty just grew out of my cheat sheet of commands. I was tired of repeatedly looking up things in my cheat sheet or Google, and decided to make this.

The current project has a limited number of commands, but I am hoping that by making it public, others will issue pull requests with things they'd want to use.

Its current state is command line only, which is for power users. But thinking ahead, on the roadmap I wrote that by the time it reaches v1.0, I'd like it to be extensible. This means it can be used from text-to-speech apps or whatever. Some futuristic use cases: I'm sitting on my bed, with my computer on my desk, and say "Betty: next song" and it just works. Or I'm running on my treadmill, talking aloud: I'd say "Betty: open the New York Times in Chrome" then "Betty: read me this article" and it just works. That'd be cool. I don't know specifically how to do everything I'd want to do, but those are the sorts of far future things that would be cool. In its current implementation, it's mainly for not having to keep looking up commands or options.


That would be cool indeed and I hope my comment didn't sound too negative. And you should definitely take a look at Inform (and similar), it's amazing what they can do. I think some interpreters are open source (edit: it seems it's not, I remembered incorrectly).


Ironically, with version 7, Inform itself switched to natural language syntax. The following is valid Inform 7 source code:

`The iron-barred gate is a door. It is north of the Drawbridge and south of the Entrance Hall. It is closed and openable. Before entering the castle, try entering the gate instead. Before going inside in the Drawbridge, try going north instead. Understand "door" as the gate.`

However, what makes a command like "examine sword, then take it and give it to the wizard" complex is not the parsing, but the world model. What if examining the sword reveals an engraving saying "Never hand this to a wizard"? What happens to giving if taking fails? What if the wizard himself is holding the sword? What if he attacks anyone holding a weapon? Etc.

Writing a natural language command line interface seems a lot more straightforward.


Unfortunately, as I understand it, while the "old" v6 toolset is open, the "in" tool that takes "regular" text and turns it into v6 "code" is gratis, but not open sourced:


Some more on how inform7 differs from more traditional interactive fiction systems:


As for this tool: I like it. I like the idea that it's simple, and that the author didn't let details like it being difficult to do "well" or "better" stand in his way. I've thought along the same lines many times, not so much "how did I do _ (solution often involves awk, sort, uniq et al) -- I'm too familiar with the command line for that, but rather: Jeez, you've got a smart phone. The one guaranteed interface that works is audio in/out. How hard could it be to deploy solid limited domain voice control coupled with a dead simple state-machine for doing stuff like "next song", "stop", "play", "accept call".

I wonder if these projects (there must have been projects, right, ever since the first uptake of mp3s) get the first part working, then some moron suggests that the user will expect to be able to do "play song such-and-such by such-and-such" -- and then it's no longer (strictly) limited domain, and that doesn't work, so the scrap the whole thing.

[edit: Some more on "newstyle" inform vs traditional IF:] "A Comparison of TADS 3 and Inform 7" http://brasslantern.org/writers/iftheory/tads3andi7.html


Inform was my very first programming language. Now that I code in Ruby all day, I'd probably find something like TADS less frustration prone, but Inform is incredibly powerful for its domain.


Here is another modern interactive fiction system of which I'm the creator and maintainer. It is fully opensource (BSD license): http://code.google.com/p/aetheria/

It can also parse sentences like the one with the sword and the wizard shown above. It's really not very difficult to achieve those things, as imperative sentences have pretty uniform characteristics that make the problem of parsing imperatives much easier than general parsing. As said in another comment, the bulk of the complexity of these systems is in the world model, not in the parsing.

A drawback is that, although the system works for several languages including English, the documentation for game developers/IF writers is only in Spanish at the moment. Collaboration for translating it to English would be very welcome.


Here you go: http://www.eblong.com/zarf/glulx/


The very smart people at Wit.AI[1] are building a backend for this sort of thing. You could do worse than hook into that in the short term.



My favorite command-line parser was in the (now-defunct) Ubiquity [edit: not unity] project from Mozilla. It had internationalized parsing, extendable verbs and noun types.


edit2: another link https://wiki.mozilla.org/Labs/Ubiquity/Parser_2


Yes! I remember this!



And "Parser 2" was much better than that! It could predict verbs from nouns and use multi-word verbs without hyphens.



Guidelines | FAQ | Support | API | Lists | Bookmarklet | DMCA | Y Combinator | Apply | Contact