skysight-inc/HackerNews huggingface dataset:
OK, can you explain how I'm misinterpreting this?

6.3 In the event that Apple receives any notice or claim from any end-user that: (i) the end-user wishes to cancel its license to any of the Licensed Applications within ninety (90) days of the date of download of that Licensed Application by that end-user; or (ii) a Licensed Application fails to conform to Your specifications or Your product warranty or the requirements of any applicable law, Apple may refund to the end-user the full amount of the price paid by the end-user for that Licensed Application. In the event that Apple refunds any such price to an end-user, You shall reimburse, or grant Apple a credit for, an amount equal to the price for that Licensed Application. Apple will have the right to retain its commission on the sale of that Licensed Application, notwithstanding the refund of the price to the end-user.

(emphasis mine)
Relevant clip: http://www.youtube.com/watch?v=m9OfztENArE
Around the same time they learn that just because mysql stuggles with something it doesn't mean that all relational databases do.
Are you sure? That doesn't sound like Dostoevsky to me. Do you know where he said it?

Crime and Punishment doesn't fit that rule (except perhaps as a moral journey). Notes From Underground doesn't fit it, and so on. The Double, on the other hand, which was the second thing he wrote and one of the best comic novels ever, is a classic #2. I highly recommend The Double!

Edit: I suppose you could say the Odyssey is a prototype of #1 and the Iliad of #2. It's an amusing principle. But I'd bet money (well, five bucks) that it isn't Dostoevsky's. Dostoevsky is more the kind of writer who, if you gave him a list of all possible types of stories, would immediately set out to write one that didn't fit the list. Just to spite list-makers.
SMS costs. Notifications don't.
Interesting. It's been 3 years since I sold the business and touched the code. The basic mechanic worked as I described, but you're right (just tested), we must have had extra workarounds.

Update: I just realized I have the code in an archive here so I loaded it up. I can't believe this wasn't obvious to me! Since we already had the ordered IDs in memory (to build the SELECT query!) we loaded the posts with a SELECT .. IN into a hash (with the id as the key) then just went through the ordered ID list and pulled out the posts from the hash in the right order! :-)
I agree with the mandatory reporting idea. This is especially needed for the for-profit universities.
41x
one of the reasons I don't like using percents is that people always make mistakes with them.
100% increase is doubling, 200% tripling etc.
Ruby Summer of Code
Whenever I read about Digg's infrastructure, I think of Markus Frind's comments from back in the day. He's the guy who built plentyoffish.com single-handedly. A lot has changed since 2006, but at the time he said that Digg had the worst infrastructure of any major site. A fascinating read, because his basic point is still very relevant today:

"Digg is doomed unless they fire their tech staff." - http://plentyoffish.wordpress.com/2006/10/08/digg-is-doomed-...
He's worried about embedded viruses in .doc files but has no qualms about adding tracking code to .html!?
50 employees isn't that special of a number, because you also have to have 30 of those employees buy subsidized health insurance from the state marketplace. Even then you only pay the 2k penalty for each person above that.

If you have 80 employees and 40 get the subsidy your total penalty is 20k. If your annual payroll is $4,000,000, $50k per employee, this is .5% of your payroll
Why don't you arbitrage Google's system? Do the buy for the client and charge them for the service.

Your main problem is how to sign up advertisers, once you have the advertisers then worry about setting up your infrastructure.
Adolescent common chimpanzees form bands of males that stay up later than the rest and patrol the group's perimeter. I'm guessing human teenagers are genetically programmed to be the night watch.

(Reposted from below :)
Oh, so do I. But if I have the voice outside my head, that also keeps me awake. The voice inside my head eventually tires out or drifts off, but the voice coming out of the TV is infatigable. It keeps going all night.
Replica Vacheron Constantin Watches
How about a mutually-trusted third party (somewhat like OpenID identity providers are supposed to work right now)? The mail service uploads your encrypted index to the search provider, you upload your key directly to them as well (possibly beforehand), and the search provider returns the results to the mail service. It's not quite client- or server-side, then, though; after all, you could specify the third party to be your own machine if you were paranoid, or their own server if you were lazy/unconcerned. It creates more of a flexible spectrum of privacy levels.
I think it would be pretty simple and basically the same principle as for Rails. You could just have several machines with Passenger (or whatever) running your app on each and stick a load balancer in front of them. (Disclaimer: I've never actually scaled things, but it sounds like that's more-or-less how it's done.)

Really, the hard part almost always ends up being scaling your database. And since Sinatra isn't super-glued to ActiveRecord (though Rails3 fixes that), it would be easier to use whatever NoSQL-type thing you wanted if you got to the point of needing to operate on a huge scale.
I don't really understand how the Clojure syntax-quote somehow prevents name-capturing any more than that of Common Lisp does(except for the foo# gensym shortcut). The Common Lisp backquote automatically qualifies symbols in the current package. In fact, the Common Lisp reader does that for all symbols used without a qualified namespace. It would be terribly painful to write in any language with a mandatory package system which could not infer the package to which a symbol belongs in this way.

What makes Clojure's backquote so much more resilient against variable capture than Common Lisp's?
For more of a startup culture, gravitate more towards the coasts. Stanford is probably the best.
Close Chrome Porn Mode Windows 5 minutes after videos are done playing
Okay so here's the situation: You're a 16 year old kid using Google Chrome in porn mode, right, because you have a nosy Mom or irritating little sister or, maybe you're a nerd like me with a girlfriend who you don't want to know that you're into pixilated Japanese midgets rocking out on the Sybian machine. Or whatever your sick, dirty fetish is. And once you're done, you're all tired and shit, so maybe you wipe up with your sock, or maybe you don't -- We're each and every one of us an individual snowflake, with his or her own style, right? -- But then you fall asleep and forget to push the laptop over to the side of the couch/bed/desk. And then you wake up. And you walk over to the bathroom to grind out a big nasty. Or whatever, right? But while you're doing a check-wipe after the big nasty, your girlfriend/sister/Mom -- who is policing up your dirty socks/using your computer to check the BART schedule/Buying a My Little Pony on Amazon/Whatever -- sees Ron Jeremy squealing like a clubbed baby seal, and she's like: "Why is Ron Jeremy squealing like a clubbed baby seal on your computer, young man!?!" Or words to that effect. Highly embarrassing.

So what I'm thinking is it would be awesome to have an extension for Chrome that allows you to set porn mode to turn off after ten minutes of non-use. Or, say, 5 minutes after any video stops playing. The windows just close, sua sponte, and then it automagically switches back to regular browsing mode with your regular home page.

Hook a nerd up.

I'd pay $10 via paypal money to whoever builds me that extension.

Namaste.
My collection of infinite monkeys almost hammered out a perfect manuscript for Hamlet last night. Unfortunately, they messed up Hamlet's monologue in Act 3 Scene 1: "To be or not to be, that is the question. Cornell is going to kick the crap out of Wisconsin."
I don't think top mathematicians on Wall St. are literally trading.
I must just have inherited my dad's skill. My mom used to have entire conversations with my dad and he'd admit afterwards that he "hadn't been listening" and couldn't answer a single question about it. I do the same with my wife.. oops.
The Group 2+ is the group that society ought to strive to empower. They are the ones from whom real progress is made. Almost all of the truly great discoveries and inventions come from this group.
Preview: Instapaper on iPad
My favorite on the list, great guys, great product!
Interesting to note is that the guy did have Applecare too.
> [...] HTML resumes [...] You are virtually guaranteed that it will be mangled

Do you mean it will be changed by other people, or...? I'm not sure who are you expecting to mangle it and why.
Charlie's Diary
> So which is it? Is this syntactic soup an achievement to be proud of or a misfeature to ignore and avoid?

Most of those things listed are neither, rather they are pragmatic and intended to improve readability.

* List comprehensions need no justification.
* Literal regex support also needs no justification.
* Syntax quote needs no justification.
* Literal numerics need no justification.

Stuff you might not use:

* pre/post conditions
* gen-class

I hardly consider ns a mini-language any more than I consider any language's import syntax a mini-language but that's me.

So we're left with #() and ->, ->>.

#() is often abused. It's really meant for things like this:

(map #(* % 3) (range 100))
; vs.
(map (fn [x] (* x 3)) (range 100))

It's intended to improve readability when used properly.

This the purpose of -> and ->> as well. People often complain that Lisp code needs to be read inside out.

(+ (* (/ x 2) 3) 5))
; vs.
(-> x (/ 2) (* 3) (+ 5))

Again a readability win, not loss.
One Fourth YC Startups Funded Before They Finish Program
MySQL is very slow. I've tried MongoDB with the C++ API but I had a lot of "vague" problems and bugs so I gave it up and I think MongoDB is not ready for a production env. However the JSON representation of data is very convenient and very powerful in my case.

I also was playing with Redis and redis-py, but Python is too slow for me. So now at this very moment I'm playing with Memcached and its C API.

Redis and MongoDB look very promising but not reliable yet.
http://en.wikipedia.org/wiki/Udo_of_Aachen

Have a very happy un-April Fool's day.
I believe you can scale it in much the same way you scale other Ruby frameworks... fire up a bunch of Thin webserver's and reverse proxy with varnish or nginx.
Here's a data point for you: not ten minutes ago, I went to try a games site, it asked me for my Facebook login, and I bailed. That's probably the tenth time I've done that in the last few years (I'm a very occasional FB user and just can't be bothered). Admittedly, I'm far from any of the demographics Heyzap would be targeting, but still, it's a data point.
So for those who haven't seen it - have a look at Cliff Young: http://www.my-inspirational-quotes.com/inspirational-stories...

At age 61 he showed up at the start of an ultramarathon (from Sydney to Melbourne - 544 miles/875km) in overalls and gumboots. He then goes on and smashes the old record and wins. His secret - everyone else stopped and had naps - he just kept on going and going.
Seems more like a donation site than an investment site, it's very unclear as to what I'm getting for my "investment". Even the invested.in project seems to be more about buying stickers than investing.

Most of the returns seem to be undying gratitude / a thank you note in a small community project, not equity.

If you have social capital why not put a paypal link on your facebook / twitter?
Nope, wrong guess. And Opera Mini is not a browser, it is just an HTML renderer to a compressed proxy.
so you build on abstractions / tools created by others? another way of saying the same thing is to ask: why stop at algorithms? why not argue that a programmer needs to understand electronics, or the physics of semiconductors.

i think that's a good point (and have voted you back up from zero :o)

i do think i can make a different argument which makes a better case for maths, but i can also see a valid objection to that. i'll sketch it out anyway:

abstractions / tools cannot make fundamental limitations go away; they can only hide them or present them in alternative ways. so at some point you still have to address limitations in your physics engine, or your renderer. if you refuse to understand the underlying maths then you are (1) very much at the mercy of the api / designer of the tool and (2) at a big disadvantage in looking for workarounds.

the same idea more generally: maths (or logic; the two are closely related) is a very powerful language for dealing with complex systems. if you don't master that language then you are not going to be able to handle the same level of complexity as someone who can.

the objection i see to that argument is that great art doesn't necessarily require breaking technical boundaries (it can even be motivated by constraints).

so yes, i agree - you can make great art by using tools provided by people who understand the technicalities.

i guess my only comeback to that is that the original title is "great developer" not "great artist"...
> Most of those things listed are neither, rather they are pragmatic and intended to improve readability.

The road to damnation is paved with good intentions. In C++, (which I use a lot for many practical reasons), separately every single feature solves or improves something, but together the improvements could have been made more consistently at a lesser cost in language elegance.
Why do you miss it? Older versions are surely available for download somewhere if the new ones annoy you, and even the new ones can be custom installed to filter most unneeded things.
Perhaps it is bad form to pick nits in an amusing bit of April Foolery, but as an interesting aside, with a better technique it would take nowhere near nine years to produce manually a 70 iteration 120x120 rendering of the M-set--by avoiding explicit calculation entirely! A geometric interpretation of the path taken by each point gives a simple, easily mechanized transformation, that could be implemented with a system of gears, levers, and other basic mechanisms, plausibly reducing the time necessary to a few seconds per iteration.
I heard before the tourney started that you'd have better odds to win the lottery, twice in one week than to pick a perfect bracket.
Put yourself in embarrassing situations. Go to a karoake night and "sing" spoken word style, hopefully off key, the great part is this isn't hard for most people. Take the guitar to some kind of open mic night and absolutely bomb, make sure it's tuned wrong before even going on stage.

Go with the intention of being bad.

After that you'll get over it.
Because that is what they said.

In so many words. I trust their second sentence is relevant and makes more sense to investors, but I imagined it being their slogan. "Gamador: We launch faster, iterate faster, and use metrics better" just sounds humorous (hence the giggling). To me, as a Joe-average user, it sounds more like That Guy from Futurama than "we make a lot of really addicting games".
kind of, but demand's big money maker is enom.com
And digg probably had a similar error, since it makes no sense for php to be any faster in sorting than mysql.

The statement here isn't that a sort in php is 4000% faster than a sort in mysql, all things equal.

What is left out of the discussion is the fact that all things are likely not equal, their database servers are way more resource constrained / under heavier load than the web servers. Thus, a CPU-bound operation like sorting will perform better if you can move the operation to a server that has more of the resource in question available.
I'm really curious why you consider research to teaching to be an acceptable step down, but editing documents to manual labor is not an acceptable step down.

Is it simply because teaching (like research) is still done by white NYT reading liberals, whereas manual labor can be done by religious mexicans who like to watch cockfights?
Northwestern ;)

Also, U Illinois Urbana-Champaign, Harvard, Yale (rest of the Ivies), Caltech, UChicago.

I'm sure that there are others. Personally I'm a big proponent of the liberal arts education so I'd probably put schools with very good general programs closer to the top, but that's my personal belief.
Yes.

http://www.youtube.com/watch?v=dBnniua6-oM
No, I don't mean on purpose.
So then why did you bother with the first query and then the IN() ?

Just get your data directly with a search, then array sort the hash using the hash key.
There's a well-known quote that says "computer science is no more about computers than astronomy is about telescopes". Often attributed to Dijkstra, but I don't know if there's a reliable source.
separately every single feature solves or improves something, but together the improvements could have been made more consistently at a lesser cost in language elegance.

The problem with C++ is that those "improvements" are grafted onto the language. You can't do a damn thing about it.

In Clojure half these "mini-languages" are just macros. You don't have to use any of it. If you see a better way to do things build your own macros from the primitive forms.

Good luck fixing C++ :D
Ask HN: E Commerce transaction failure
After making a successful payment through my net-banking account i closed the window before the payment gateway could redirect me back to the sellers site.

My bank statement shows that the money was debited but seller site shows that the transaction was failed and "settlement requested".

Have I lost the money and product too ?
My Rails app is very likely to be moved on to Sinatra, specifically for this reason. Sinatra's codebase is really only about 1600 lines of Ruby, so it's very easy to understand, and very easy to extend, and it's threadsafe.

There just aren't that many moving parts, so there's very little that can go wrong, and there's no hidden magic, which is what has been making my life hell in the Rails 3 beta.

Also, Sinatra is fast. I just did a quick benchmark (ab -n 1000 -c 5 -k) on my laptop, and the scores were impressive. In the same rackup server, a bare Rack app did 4932 req/sec, Sinatra did 3169 req/sec, and the Rails 3 beta managed... 214 req/sec.
I recommend PDFs too. That way it stops pesky and unethical recruiters from "adjusting" your CV without your knowledge.
Shit, I treat my MacBook Pro like gold, I know how much it costs, I won’t even put a drink near it.

Interesting, I'm usually of the opposite mind. If I pay $2500 for a ThinkPad I expect to be able to spill water on it and it continue to run great. Otherwise what's the price premium for? A shiny case?

In case you're wondering, ThinkPads do in fact have a drainage hole for those unexpected spills while working away. I wish my current HP ProBook 5310m had one.
I had the same feeling. It's interesting that YC is funding a company in this space, because Demand Media churns out low-quality content--essentially monetizable crap--and has no qualms about admitting this. PG has always been proud about the quality of the software YC companies produce, so it's surprising that there's suddenly an intersect between YC and Demand Media. I wonder if Zenedy has figured out a way to make better quality content at a similar price.
[citation needed]

Er, I mean:

[algorithm/schematic needed]
Your point is moot, you still havn't seen the beauty of DDG.

Firstly for your two queries DDG's results where acceptable, Google's was slightly better - but using this example isn't enough to shadow ddg killer feature.

Lets try something else:

Search Target = star shaped guitar

limitation.

- you may only type/search once (click/scroll as many times as you want).

- you may only use one word; that being "star".

Good luck with google.
(im on page 23 in google and still getting star trek stuff)

You might argue; I could just type "star shaped guitar" into google and it does work, but try find the song named "asterisk" when you have forgotten the band named M83 and I hope you see my point.

The icing on the cake comes when you click on the star shaped guitar item in DDG and notice how it filters out non star shaped guitar results.

you need to adjust the way you search, get used to surfing categories to narrow down search, dont rely on this google profile, which thinks for you.
This also works wonders with a lightly-held pencil when you're falling asleep in class. Kept me awake through many early-morning lectures.
Sorry about the database error earlier... Yes the blog is running on a server beach hosted server using apache + wordpress. Today was the first time it ran into load issues which I guess is a good problem to have. In either event, I've addressed the issue for now but will be looking into some longer term tweaks.

Thanks.
Trading has nothing to do with it. The most notoriously stressful positions in finance are that of analyst and ibanker, neither of which entail any trading.
Introducing IE9’s User Agent String
Another benefit is that you miss the peak hour commute, pretty sure Melbourne at some point promoted alternate work hours to ease the congestion. Our rail network is free if you arrive before 7am.

I understand the need for many workplace to have close to standard hours but freedom to alter hours given your day should be a must. Where I did my internship had people arrive from 8-10ish and leave 4-6 and was very generous about people being able to come in late or leave early if they had something to do on the day.
Yankee Institue for Public Policy Launches TweetCT.org on Floxee
No. Send mail to the seller, tell them that you bought their product and that an error has prevented their site from recognizing it. Ask them to fix this manually.

If they don't fix it manually and don't refund you, speak to your bank and say "Internet merchant did not deliver as promised." You'll get a refund.

Commerce is surprisingly robust.
I've often wondered this. Last week rich hickey mentioned this at clojure NYC, and they only things he mentioned were the fully qualifying namespaces (which resolves to the original package it was defined in) and the auto gensyms. I assume this is enough in most cases and the auto gensyms take care of the rest. I don't think I'd trust namespace rewriting by itself though.
Same, I've never been more consistently tired as I was in high school, even though at times since then I have ran similar hours.
This is disappointing, especially the dig at microsoft given that until recently Google was doing the exact same thing.

I'm all for making a stand against censorship in China, but google is not the right party to make that call. They've been part of it themselves, and only after the relationship soured because of 'break-ins' did they change their strategy on this.

This is just google trying to use the media to put pressure on China so they can stay in the Chinese market without having to go through with their pull-out, and using it to make their competitors look bad as well. And that's coming form someone that has declared his house and office a microsoft free zone.
Below that are the outright poors, who are probably the majority of American society

You should visit a country besides the US to discover what "poor" really means. The US poor are overfed and underworked; real poor people are not.