skysight-inc/HackerNews huggingface dataset:
That is not very charitable of you, is it? I think it's fair to say that in many areas tools to interface with relational databases are lacking; consider the horror-shows that are Arel or Hibernate. Also, good schema design is not, in itself, a trivial task, especially considering how common ignorance of such principles are. In my experience, a not insignificant number of practitioners learn a "normalization" peculiar to a specific product--or even a specific product version--and apply this forward into the future to disastrous effect.
The original was deleted, for some strange reason.

Here it is (was): http://news.ycombinator.com/item?id=2665235
What's the ratio between the two 1.6 circles?
When I first glanced over this I read "ICP Programming Contest Started" and tried to imagine JuggaloCode.

#include <magnets.howdotheywork>
#include <hatchet>

gettin ill{
holla{"RAINBOWS N SHIT"}
}

I died a little inside typing all of that.
Well, yes, if the content is inter-connected this is more tricky.

Xml:id assumes unique identifiers within scope, and with multiple documents that would require a global scope, something that is not standardized and problematic (it'd require either using UUIDs as IDs or keeping track of uniqueness in some other way).

I think a better solution would be to use XLink. Assuming each document has its own canonical link, this is then straightforward:

1. Make sure each XML document within MIME/Multipart container includes <link rel="canonical" href="uri:…"/>

2. Each document in a MIME/Multipart container should refer to other documents using xlink, i.e. unique URL with a part identifying specific fragment using XPath (which can then use xml:id in a local scope).

Now, depending on the client following scenarios are possible:

1. Naïve: Client will perform redundant requests, but will cache documents in containers, resulting in several HTTP(304) responses.

2. Smart: Client will notice that referred documents are contained in a multipart MIME message and will use local versions.

As a bonus, this approach is not dependant on MIME in any way — it will work just as well with, for example, a ZIP archive.
I understand. It also seems to be misleading according to some comments. I will think it through. Thank you.
Microsoft Rejects WebGL for Security Reasons
Did he suggest that the quants at hedge funds were merely lucky rather than supremely clever?

http://liberalironist.wordpress.com/2010/10/08/book-review-t...

[Edit: I have read The Quants it's an interesting book]
Dieta (Parte III): Consejos para obtener el peso ideal
Laurent, I'd like to get in touch, but couldn't find your email. Can you ping me? My email is in my HN profile. Or just reply here where I can get in touch.

Thanks
Adverti.se Get The Most Out Of Google And FaceBook Ads
Kinda, but in Scala it is more like syntatic sugar, while in Perl it is a global mutable variable.
<30 seconds is considered real-time? At the company I used to work for, all clients around the world had to get the same data in <1 second.

Does there exist a definition of "real-time" that can be used across industries?
WordPress nofollow external links only, the_content and the_excerpt
I'm new to Redis and my approach to this problem has been to create a Sorted Set with the "score" being the date represented as an integer (in JS it's getTime()).
The Timmy, Johnny, and Spike theory of Product Design
The interesting stuff its the images, unless you know japanese of course.

Here is the google translate:
http://translate.google.com/translate?js=n&prev=_t&h...
Despite reaching replacement level fertility in the 70s, the population has continued to explode, and this is due entirely to immigration. This is historically unprecedented.

http://www.numbersusa.com/content/learn/sustainability/bigge...
For those who have been following the Economist debate, I'm curious who you think is getting the best of it so far?
Nice. Doesn't youtube api have limits on number of requests?
Awesome! Is there a video of the presentation somewhere, or a transcript? I've love to hear/see the talk.
Relevant: http://news.ycombinator.com/item?id=2662632
Thanks! Are you in the neighbourhood? Will you be attending?
i guess i fixed it. can you please check again?
JavaScript mp3 decoder allows Firefox to play mp3 without flash
Does Anything Matter? (Ethics)
These MS language developers play for keeps don't they? First Spec#, now F*...

But seriously, this is good stuff. I wonder how long it's going to take for this kind of proof-driven code to reach mainstream programmers? Decades I imagine.
JavaScript isn't in the current ePub 2.0 spec. Though it is suggested in the 3.0 draft. Like Apple extended ePub 2.0 with audio/video support, they seem to either support it or not prevent it.
I would refine your explanation a bit--you were 90% there but you got the direction of the magnetic force wrong, and the way I learned it involved special relativity. So when you are sitting on an electron in one wire and you see the protons zipping backwards in the other wire and the electrons twice as fast as that, the phenomenon of "length contraction" (http://en.wikipedia.org/wiki/Length_contraction) occurs because all these particles are moving close to the speed of light. Since from your reference frame the electrons are moving faster than the protons, they are length contracted to a greater degree, so they appear to have a higher charge density than the protons. Therefore the repulsive electric force between your electron and the charge density of the electrons is greater than the attractive force between your electron and the charge density of the protons, so your electron is repelled (and we observe this as the magnetic force).

Laughable ASCII diagram (just note that within each wire, the opposite charges are intermingled, not separated like shown):

Lab reference frame Reference frame of e- on wire 1
V
- - - - - - - ==> - - - - -
wire 1 + + + + + <== + + + + + + +

<== - - - - - - - <==== -------------
wire 2 + + + + + <== + + + + + + +

charge density of e-'s in other
wire is greater than that of p+'s

So, two wires with current in opposite directions repel each other, not attract. You can do the above exercise with the currents in the same direction to see that relativity would then postulate that the protons in the other wire have greater apparent charge density than the electrons, causing a net attractive electric force observed as magnetism.
I'm not one to be easily offended either, but I am also less likely to share this with my 12 year old daughter who really likes to explore youtube. Of course all she plays is that bieber kid, some kid named cody and lady gaga.
How is it not interesting that these ratios turn out to be aesthetically pleasing over and over again? To me, that's fascinating.
This is fantastic. I'm glad to see Apple doing what they do best... enabling content developers to be creative. Adobe has a long way to go.
Entered www.Facebook.com and got this code
Ask HN: Anyone Use JAMS Scheduler?
My company is concedering using it [1] and I was wondered if others had any opinion about it.

----
[1]: http://www.jamsscheduler.com/JobScheduling.aspx
Google to Encourage Americans to Get Online 
The list of domain names purchased recently by Google indicate to me that they're planning some sort of nationwide campaign to encourage Americans to Get Online.
Working from Home? How to Stay Sane
Hi Patrick - thanks for your feedback and analysis, I really appreciate it.

You're absolutely right that there is not much content on that page exclusive of navigation, but in its defense the whole point of the page is navigation :) And it is just one page out of hundreds of thousands of pages on the site, many of which do have a lot of content.

I like your point about leaf nodes. Many of the domains that rank now either have a small # of pages total, or are extremely large brands with a lot of "trust", however Google defines it. In fact, these factors seem to outweigh having any original or useful content on the page itself in many cases (see post below).

If the problem is about too many leaf nodes, then cutting down "thin" content nodes (pages with little content, photo pages, etc) should have a positive effect. We've done a lot of this, so it will be interesting to see if that is the case.
Have fractals been used in stock strategy models so far?
Good plan, though you just delay the problem of finding users to test. You will want to test your user experience at some point.

1. Clarify your benefit to the buyer to figure out who your ideal tester is (your zero negotiation and and unlimited deals reasons are a good start).

2. Work out where these people are and go promote to them. So you need people who: are comfortable shopping online, already research purchases online, are cost-concious, are actively considering a car purchase, live in <insert geographic restriction>. Posting to petrolhead forums asking for volunteers and buying adwords for "car comparison <location>" would be a good start.

Sounds like you have some dealerships engaged. They have access to car buyers so can they help you find testers? They may sees a risk of leaking prospects to the competition, but surely you can control who sees applications in your test environment?

3. Offer incentives, or you'll waste time battling the drop-out rate instead of fixing bugs. E.g. Fund your dealers offering a small extra discount for any sale completed through your service with feedback given.

Hope there is something new and useful in there.
Grumo Media did that video as a gift to Hipmunk. They do videos for startups. You can check out their site here: http://grumomedia.com/
VeloCity Venture Fund: The Video
MemTotal: 1025760 kB
MemFree: 349528 kB

What do you think? =)
Unfortunately the talk was not recorded. There is no transcript either.
If you took on student loans (incredibly common), you have 6 months before the collectors come calling and survival then requires an additional $100-$1000 income per month. Failure to pay or having insubstantial means to pay can result in substantially larger amounts of interest to repay, substantially longer repayment periods or garnished wages. Since there's no way to escape repayment a debt-encumbered individual has more at risk than a debt-free peer. I think the pervasiveness of student loans and the exploding cost of higher education is dividing equally risk-tolerant people into two paths.

I'm on the "secure" path at the moment to pay off student loans between my wife and I, and we just had a child. My obligations are more than paid for and things are stable, which is good because my family life is happy and fun and I value that highly, but it means that my risky endeavors have to be on-the-side and bootstrapped because doing stuff that's likely to fail now puts 3 people at risk instead of 1. I don't particularly enjoy the jobs I've had, and that gives me motivation to do things for myself.
Well, they're clever for getting hired by a hedge fund for seven figures...
How about writing something up to give a bit of context to those slides. I clicked through 20 or so of them and couldn't find anything resembling a narrative.
This interview defines me. Paul Graham exemplifies software entrepreneurship: "Make something people want." Cory Johnson, herald of the old guard: "Make users wade through bullshit; make ad revenue." You are dead, bullshit business man. Welcome to my century.
At least one of the taglines was a huge mis-characterization of what was actually said, though.

"Paul Graham: Don't look at groupon's numbers"

That's not what he said at all. He said that HE wouldn't, and that he'd bet on Andrew Mason because he knows him to be a smart guy (using PG's definition of smart). It wasn't giving advice except perhaps in the general sense of "bet on good people."
Climatologists figuring out which data makes their models better
not what i was expecting (i thought it'd be some sort of programmatic generation of presentations that were then converted to video) but a very neat idea indeed.
Why should I make friends online? We have the answer to this question
Cloud Computing, Security, and You
Domain expertise insulates against judgment bias
When it comes to sex, you have to separate out human seduction versus animal seduction because of culture. Ideas pass down human generations through culture rather than through instinct. Future generations of humans will still be able to read books like "The Art of Seduction" unlike brine sea shrimp.

Now it can be easily argued that culture itself is also cyclical (fashion, promiscuity, cultural rules all rotate), but it's definitely divorced from the pure animal kingdom.
I was watching "First 48 Hours" (show following real detectives) and when a suspect came in with a lawyer one time, the cops said on camera that this is a huge red flag for them. I'm assuming a red flag would mean they now think you're good for the crime and they should start connecting the dots right to you.
Hmm, can't remember "$_", but for scala I have a lot of bookmarks

http://lambda-the-ultimate.org/node/2808#comment-41717

main complaint about syntax: underscore as a wildcard at both the term and type level plus as a way to coerce a method into a first class function.

http://okmij.org/ftp/gengo/index.html#Scala-trace

Montagovian semantics

http://www.slideshare.net/normation/scala-dreaded

http://blog.yuvimasory.com/2010/06/uses-of-underscore-in-sca...

http://permalink.gmane.org/gmane.comp.lang.scala.user/28031

http://agileskills2.org/blog/2011/05/01/revealing-the-scala-...
Deep Shot uses camera to move application states between PC, phone
It is all about bytes and connections. Google minimises bytes transferred to you and number of connections from your browser to their servers. In scale of Google it does matter.
The intention with hal was to keep things as simple as possible. RDF (and its related media types) don't do a very good job of this, in my opinion. I think the real-world usage is a good indicator of whether RDF is appropriate for most people's use cases. There's probably some node.js analogy to be made here, too :)
Be careful, you can't unfind some primes.
Not so much the golden ratio itself but the fact that some icon uses it? Link an article that goes in depth about the golden ratio. But what designers are doing with icons? Totally disinteresting.
Does the standard even really matter, since the content is wrapped in DRM anyways and can only be played in the eBooks app?
Mobile Technology is Making us All Cyborgs
That makes my experiments with QR codes look a bit feeble!
Firefox 5 browsing speedup by optimizing HTTP round-trip time
Turning to Software to Help Treat Brain Injuries
John Carmack on WebGL Security: agrees with Microsoft
I think it's fascinating that someone can construct something so long-lasting. It synchronizes itself to noon and powers itself using thermal energy. Amazing.
Exactly my point.

With a bank I'm insured against theft. With bitcoin I am not.
Translation technology may let humans speak with dolphins
I agree with Microsoft’s assessment that WebGL is a severe security risk. The gfx driver culture is not the culture of security.

~ https://twitter.com/ID_AA_Carmack/statuses/81732190949486592
Sounds like http://www.charitywater.org/.
Nice app ! How does it work ? (I'm interested in iOS mainly). Can I find an example of report somewhere ? The screenshot from the Features page doesn't provide much info.
Excellent. I hope this doesn't go the way of atdhe.net. They built the equivalent of this, but for live sports video instead of music.
I am pretty sure Cory was not advocating click-throughs to generate ad revenue, in fact he seemed to be specifically trying to frame that particular approach as being vulnerable to competition.

The key question of course being, how can hipmunk actually make money doing this?
More worrisome, it could be used to block political speech and the recording of embarrassing or retaliatory actions taken by regimes around the world. I really hope Apple is merely filing a defensive patent here.
I'm pretty sure that fee is only for managed servers (meaning you are paying $100 for full support) and isn't charged just for your instance usage.
As far as I know, It's not known whether this is a causal relationship. It's possible that art that uses the golden ratio tends to be viewed as beautiful because of some magical aesthetic property of the GR, and that artists create art using this ratio intuitively.

But it's also possible that artists (and especially designers) tend to use it a lot just because they've heard that it's beautiful, when really it's nothing special. In this case, it would just tend to crop up in beautiful works because a) it crops up in all kinds of works anyway (base rate) and b) there's a whole lot of looking for it in hindsight (especially in works acknowledged as beautiful, while nobody goes looking for it in ugly works).

Some kind of A-B study would be nice. I found one (http://www.livescience.com/7389-sense-beauty-partly-innate-s...), but the methodology seems a bit lacking, I'd say it's far from conclusive.
I always use set -eu. Makes my scripts much safer and less unpredictable.
These 10 Steps Will Make Your Startup Fundable
I keep getting confused with LibreOffice vs OpenOffice. I see a lot of people still using OpenOffice.

Can someone explain which one is the "official" version, or rather, which one is the one I should use?
Voting in elections != Democracy
Andrew Ng: Machine Learning in Robotics
You left out what he should do to make it better.

I don't even get why the hp is funny.
OP or admin: Please change the link desc; i purposely don't click on links with [video] when I don't want to accidentially load an auto-play video (or just don't feel like watching video) but this was a good read. Thanks.
Git: How to re-write history
i thought they were self explanatory, but you're right - thx !
Senate Voting to make Unauthorized Streaming a Felony
I did not get the same impression other HN'ers did, I noticed. To me Cory sounded smug and know-better, but maybe that's what I expected out of him. I'll watch it again.
jsmad lead developer here, shoot if you have any questions!
We have done months of review and optimization. Still many page loads must be backgrounded (mainly reports and admin interfaces). We are dealing with a large amount of data.
Unlike China, India is a heterogeneous society. And Indian regime successfully injects hope into the society e.g https://secure.wikimedia.org/wikipedia/en/wiki/NREGA
Consider what wild theories may be concocted when knowledge of it is lost then rediscovered (a la "aliens built the pyramids!").
So is it safe to have invalid code on your website then and Google will not penalize you for it?
> But what about the performance improvements available by using shared, cached CDN resources? That doesn't really work over HTTPS, and the performance impact of missing out on that is substantial.

SSL resources are still cached, not sure what you're getting at.

> it often makes sense to serve static content (eg images) via HTTP while having the HTML on HTTPS. Why should the browser block (or even alert) about this?

I MITM your users and insert a huge image saying "You need to confirm your bank account details, please call this number now <insert my phone number>" (etc.)
It's to do with the asian and russian crises of the late 90s, which he felt showed that the black-scholes models were wrong and inferior to his own multifractal view of the market. After those crashes, he wrote articles and books attacking those ideas.

http://www.scientificamerican.com/article.cfm?id=multifracta...

http://books.google.com/books/about/Misbehavior_of_markets.h...
Well written post about why Product Design is important and virtually nonexistent at product launch.
You just install the BugSense library. Check the docs (it's easy!) http://www.bugsense.com/docs/ios.

If you make an account - it's free -http://www.bugsense.com/signup/ you can see the UI. It's pretty cool!
8 Killer Advice on Personal Branding
hmm. can i have one more shot please?
why does it seem like most side projects are done by people for whom the predominance of their work appears to be side projects?

It's easy to see why most side projects are done by people for whom the predominance of their work appears to be side projects: This is a trivial consequence of the fact that the vast majority of the software developed on this planet is "dark matter." It's developed inside companies, and even if you know I work for IBM on DB2, it's hard to see from the outside whether I'm a coding machine by day or whether I write emails from 8-5 and code side projects from 5-8.

In the universe of software projects, we're mostly talking about side projects that are visible things like Github repositories, and mostly talking about day gigs that are invisible. If we want to drop the word "appears" from your first statement, we need to include side projects that aren't on Github (like startups being developed on nights and week-ends while the authors go to work "for the man" M-F 9-5).

We then need to compare all of the side projects to all of the code these people write during their day gigs, whether it's highly visible stuff like Linux or "invisible" like the internals of an ATM locator for an online bank.

If we don't include all of the side projects and we don't include all of the day gigs, it is very easy for our skewed sample to have many examples where the authors appear to do most of their work on their side projects.

Please don't assume from this that I disagree with where you seem to be taking the conversation. If we see that things are not always as they seem, we also must accept the idea that even if people with side projects appear to be good programmers, it might be that the high-profile examples we find on HN or who blog are not representative of programmers as a whole. It is very dangerous to draw conclusions about the correlation between a side project and talent based on an incomplete sample. I think we agree on this here and in another thread elsewhere.

As they say... The plural of anecdote is not "data."
The situation is not quite so cut and dry, I think. AS3 was supposedly intended to be an implementation of ECMAScript 4, which was derailed by the (ECMAScript 3.1) Harmony project.

Also, I believe the Tamarin AS3 compiler used by Adobe is a collaboration with Mozilla, and both the Adobe Flash Player and Mozilla TraceMonkey engine use the same JIT compiler.
Wait, Steve is making the argument that the bubble only exists for new tech companies? Considering there only a handful of IPOs of social/web/mobile/cloud companies, how exactly will this supposed bubble form?

None of these stocks has done well. The market has corrected or is correcting all of them. If there is a bubble and we are on the upswing, it is the least impressive bubble ever.
feature request: allow me to append to a playlist without resetting
No, but it probably keeps you from being a great developer.

I've worked with a large number of people at a large number of companies, and the difference between the solid "B" developers and the amazing "A" developers is that the amazing developers are passionate about technology and coding, and always have a side project of some sort going on. They are excited to learn new languages/frameworks/ideas and bring that added knowledge to their day job with great effect.
I'm not the grandparent poster, but I think his point was:

Programming is not the only thing that constitutes "getting your hands dirty," i.e. the "real work", and that anyone who thinks this is completely overlooking the importance of business principles.
Here too, and please send us a tweet or so if you make something cool with it!
Javascript is pretty well jailed up, you can't communicate with local and remote files in the same javascript file.