Better HN
topnewbestaskshowjobs
Log inSign up

Mathnerd314

3,006 karma · joined Nov 1, 2009 (17y ago) · 1,339 submissions

Making the ultimate programming language https://mathnerd314.github.io/stroscot/

In the past I developed SuperTux (http://supertux.lethargik.org) when I was bored.

Submissions

comment 10y ago · link · parent

The defense is that they had a contract with http://www.planet9.com/ (who AFAICT did indeed license the software): https://www.fpds.gov/ezsearch/fpdsportal?indexName=awardfull... https://govtribe.com/contract/award/n6258312p0767

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

Because at some level, policing is about delivering a product (a policeman) to a consumer (a victim / criminal in a bad situation), so standard marketing tactics (market segmentation, revenue management, etc.) apply. Many other businesses have access to these databases and use them to beneficial effect; there's no reason police shouldn't jump onto the big data bandwagon too to increase customer satisfaction.

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

My guess would be that you'll be interviewed rather than being arrested, because of a low 'threat score': http://www.infowars.com/police-using-social-media-posts-to-d...

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

The 70% probably was wrong, in the sense of being uncalibrated. 538 did their best to fit the data to past elections, but there haven't really been enough elections to fit a good model.

comment 10y ago · link · parent

IIRC the Youtube versions have some audio cut out to avoid music copyrights.

comment 10y ago · link · parent

For webcomics, I just want to plug this site: http://piperka.net/

(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

Docket: https://www.pacermonitor.com/public/case/19780738/World_Ches... Articles regarding initial filing: http://www.law360.com/articles/860896/world-chess-files-4-5m... http://abcnews.go.com/US/wireStory/chess-lawsuit-set-moves-f...

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

typo: contradition

I just wish I understood the rest of the article...

comment 10y ago · link · parent

The one I'm watching (and this guy: http://www.forbes.com/sites/timworstall/2016/11/09/president...) is Peter Navarro. Presumably Trump is going to find 2 more people and make up a council, like Obama's: https://en.wikipedia.org/wiki/Council_of_Economic_Advisers, but it's an interesting data point as to whether Navarro ends up as chairman.

comment 10y ago · link · parent

My guess is that most of them will be "wildcards", people that have no political experience / ties whatsoever and were chosen because they were experts or at least moderately successful in their chosen field.

Thiel kind of fits that profile, ignoring his recent antics.

comment 10y ago · link · parent

Congress is different from state legislatures in that a lot of its laws create agencies, and those agencies preserve institutional knowledge (e.g., the FDA, FBI, etc.). There's a reasonable argument that Congressmen shouldn't need to know any specialized knowledge. If the law is so obscure that only lawyers can interpret it, that's a bug, not a feature.

comment 10y ago · link · parent

http://www.cnsnews.com/commentary/charlie-daniels/charlie-da...

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

Trump has words ("the best words"). The words will inspire Congress to pass laws. The laws will (in theory) help the people. Trump will continue traveling around the country, and report back to Congress what is or is not working.

Beyond that it's difficult to say, Trump has promised little but hinted at a lot.

comment 10y ago · link · parent

The California Homemade Food Act FAQ: http://www.theselc.org/cottage_food_law_faq

comment 10y ago · link · parent

Step-by-step guide: http://stackoverflow.com/questions/2759858/is-there-a-way-to...

The hard part is writing down all the commit messages, reconstructing the development from twitter / blog posts.

comment 10y ago · link · parent

Random idea of the day: Nethack + Voxel Quest Engine

edit: an old idea: https://news.ycombinator.com/item?id=6359100

comment 10y ago · link · parent

Maybe not. Although there's this guy: https://eladnava.com/pushy-a-new-alternative-to-google-cloud..., it seems like his library doesn't work very well after Nougat.

comment 10y ago · link · parent

Kind of tangential, but GCM is deprecated and you're supposed to use Firebase Cloud Messaging now: https://firebase.google.com/docs/cloud-messaging/

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

The end result of knowing a lot about a topic is often that you can't make very strong statements about it; they always end up being something like "you're kind of right because XYZ, but also kind of wrong because XYZ". So the ideal situation is more like "weak opinions, strong actions".

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

So they missed:

- texting / MMS / video chat

- maps, directions, recommendations

- store loyalty programs

- etc.

comment 10y ago · link · parent

They're not really dismantling it, so much as trying to push it towards standardization. Some (most?) addons will get left behind, but they'll still accept patches for anything that the actively-maintained ones need.

comment 10y ago · link · parent

Related: http://www.puredarwin.org/, partial OS built from open-source Apple libraries / kernel.

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

My guess is it only parses certain word forms. "Blatant state-shtuppers" is in this blog post: http://www.transterrestrial.com/?p=63723

> "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

> Microsoft

> largest OS vendor

> "We may not be able to find any reasonable object other than Microsoft."

This seems a bit contrived, considering that Android has the larger install base.

comment 10y ago · link · parent

To put it another way, a human learns by experience. When you think of "an apple", you think of various sensory experiences in which an apple has played a role; eating the apple, throwing the apple, etc. At some level, these experiences are finite; an apple corresponds to a physical object, and there are only a few thousand ways that humans and objects interact.

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

Not every company. There's a small school of thought that employees work better in a trust-based environment, so some do try to retain their employees as much as possible and provide advance notice if they do have to downsize: https://hbr.org/2009/05/the-right-way-to-close-an-operation http://www.informationweek.com/it-life/layoffs-breed-long-te... http://www.newsweek.com/case-against-layoffs-they-often-back...

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

Technically the escape hatches are only the stuff here: https://hackage.haskell.org/package/ghc-prim-0.5.0.0/docs/GH...

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

Wouldn't that beep every time you run a command? And/or interfere with any programs that use the beep for their own purposes?

comment 10y ago · link · parent

> the terminal emits a desktop notification whenever it detects that a long-running process has finished.

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

1
383940
45