3,006 karma · joined Nov 1, 2009 (17y ago) · 1,339 submissions
In the past I developed SuperTux (http://supertux.lethargik.org) when I was bored.
comment 10y ago · link · parent
The Navy paid out a reasonable amount over the years; clearly a case of the left hand not knowing what the right hand is doing.
comment 10y ago · link · parent
See e.g. http://www.citylab.com/crime/2015/10/uk-police-departments-d... http://www.theatlantic.com/national/archive/2015/02/more-pol...
comment 10y ago · link · parent
The problem of course is that those scores aren't very good either, because they don't distinguish between e.g. libertarian peaceniks, right-wing anarchists, and biker gang bangers. But the solution is just more data; cross-referencing with a consumer purchase database, for example. Eventually the police will get their responses well-calibrated. I'd assume this sort of thing is what Trump is referring to when he says he supports profiling.
comment 10y ago · link · parent
(Free and mostly open source: http://piperka.net/blog/2015/about-crawler-source/, and currently being rewritten from unmaintainable Perl into Haskell)
comment 10y ago · link · parent
Someone else with PACER access could easily obtain the order, but from the ABC article the argument is indeed that every visitor to the site agrees to not share the move information and therefore these other chess sites must have violated said agreement to obtain the move information. Chessgames's defense is that they don't get the data from the site, but instead from watching people on Twitter (there are multiple defendants though).
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
Basically, without term limits, politics turns into a game of power plays and re-election campaigns, instead of actually representing the constituents.
comment 10y ago · link · parent
Beyond that it's difficult to say, Trump has promised little but hinted at a lot.
comment 10y ago · link · parent
comment 10y ago · link · parent
The hard part is writing down all the commit messages, reconstructing the development from twitter / blog posts.
comment 10y ago · link · parent
edit: an old idea: https://news.ycombinator.com/item?id=6359100
comment 10y ago · link · parent
comment 10y ago · link · parent
It's still just a JAR (no native components), so AFAICT there's no technical reason someone else couldn't do a similar thing with their own servers.
comment 10y ago · link · parent
Let's take the example of where someone yells "Duck!". Most likely, you weren't paying attention and you have no clue why they would yell such a thing. There is a high chance that it's some kind of prank. But, I argue, you should still duck anyway, because the potential benefits (not getting a concussion) outweigh the risks (looking stupid).
Similarly, if you are running a startup, you should prepared to pivot at the first sign of customer mismatch, but meanwhile the majority of work will be in one direction, and you should work on it passionately.
comment 10y ago · link · parent
The problem with both of these is re-implementing the Core Foundation (only partially open-source; https://en.wikipedia.org/wiki/Foundation_Kit#Major_implement...) & proprietary Cocoa API's that almost all GUI Mac apps use. Wine has done the equivalent for Windows, but so far nobody wants to do all the hard work of bug-for-bug compatibility. Probably because Apple is already becoming irrelevant, and almost every Mac product has a corresponding Windows equivalent.
comment 10y ago · link · parent
> "Let’s put blatant State-shtuppers such as Hillary, Bernie, and Obama at about 7 or an 8."
This matches Hearst Pattern #1 from https://www.microsoft.com/en-us/research/wp-content/uploads/...:
> NP such as {NP,}*{(or, and)} NP
Hillary usually appears by herself, rather than in a list. Apparently Probase doesn't pick up the plentiful "X is a Y" associations, e.g. the "Hillary is a liar" from http://thefederalist.com/2015/08/27/poll-voters-overwhelming... or "Hillary is a candidate" from http://www.huffingtonpost.com/jeffrey-sachs/hillary-is-the-c...
Or maybe it does, and they're ranked down. They do have a truth-detection phase, but it's mostly syntactic, and the top categories all have negative examples ("Hillary is not a candidate", "Hillary is not a democrat", etc.).
comment 10y ago · link · parent
A better consideration is whether computers should be limited to understanding things the way humans understand them. Sensors can characterize apples in uncommon ways; X-rays, microwaves, nanoscale structures, etc. Similarly machinery can interact with apples in ways that humans cannot, such as vaporizing them, disassembling them, or launching them to Mars. Perhaps some combinations of action verbs and nouns are impractical or impossible; that's a physical, experimental property, rather than a property tied to human experience. At the end of the day a computer only needs to know about humans in order to interact with them; its representation of the world is distinct.
comment 10y ago · link · parent
For example, Southwest has never had layoffs: http://fortune.com/video/2016/01/26/southwest-airlines-no-la..., as have several other companies: http://money.cnn.com/2008/12/09/news/economy/no_layoffs/
comment 10y ago · link · parent
So you could write
case readIntArray# v (k +# 1#) realWorld# of (# vkp, _ #) ->
case readIntArray# v (k -# 1#) realWorld# of (# vkm, _ #) ->
case vkp <# vkm of
0# -> ...
1# -> ...
with syntax sugar reasonably close to V ! (k+1) < V ! (k-1).The problem is the state tokens; I ignored them by using realWorld# and _ above, but that makes the code not referentially transparent. So in practice, Haskell always passes them around in a monad (Except in all the core libraries, which use things like accursedUnutterablePerformIO to go back down to the thunk level: https://github.com/haskell/bytestring/blob/master/Data/ByteS...). But reads are (mostly) pure so it shouldn't break anything to provide a pure interface.
Alternatively, the verbosity can be seen as a syntax problem, with the corresponding solution of a better do-notation: https://www.reddit.com/r/haskell/comments/4dsb2b/thoughts_on...
so you'd get something like
(x,l0) <- if (<- v ! (k-1)) < (<- v ! (k+1)) ...
(again using ! for readArray, which has some impracticalities)That's still not quite as good as C, it really needs the notion of sequence points: https://en.wikipedia.org/wiki/Sequence_point
comment 10y ago · link · parent
Does anyone know how this is implemented?
Edit: pretty simple: http://bazaar.launchpad.net/~elementary-apps/pantheon-termin... http://bazaar.launchpad.net/~elementary-apps/pantheon-termin...
1170.
360 video stabilization: A new algorithm for smoother 360 video viewing(research.facebook.com ↗)
1 points · by Mathnerd314 · 10y ago · discuss