skysight-inc/HackerNews huggingface dataset:
I get that the answer is "undefined". But I decided to figure out why at least on my compiler I get "14".

$ cat t.c ; gcc ./t.c

#include<stdio.h>
int main() {
printf("%d\n", a());
}

int a() {
int i = 5;
i = ++i + ++i;
return i;
}
$ ./a.out
14 # ??

$ gcc t.c -c -o t.bin
$ gdb t.bin
...
(gdb) disassemble a
Dump of assembler code for function a:
0x0000000000000030 <a+0>:	push %rbp
0x0000000000000031 <a+1>:	mov %rsp,%rbp
0x0000000000000034 <a+4>:	movl $0x5,-0xc(%rbp)
0x000000000000003b <a+11>:	mov -0xc(%rbp),%eax
0x000000000000003e <a+14>:	add $0x1,%eax # add 1 and store it in i => 6
0x0000000000000041 <a+17>:	mov %eax,-0xc(%rbp)
0x0000000000000044 <a+20>:	mov -0xc(%rbp),%eax
0x0000000000000047 <a+23>:	add $0x1,%eax # add 1 and store it in i => 7
0x000000000000004a <a+26>:	mov %eax,-0xc(%rbp)
0x000000000000004d <a+29>:	mov -0xc(%rbp),%eax
0x0000000000000050 <a+32>:	mov -0xc(%rbp),%ecx # move current value of i (7) into %ecx and %eax (both registers are now 7)
0x0000000000000053 <a+35>:	add %ecx,%eax # add them together => 14
0x0000000000000055 <a+37>:	mov %eax,-0xc(%rbp)

...
- http://gclimbing.com/ - A blogging site for climbers (though this took a lot longer than 10 hours).

- http://scribblingspree.com/ - A simple drawing game. The main reason I wrote this was to practice Wicket and Canvas. The initial version took less than 10 hours.

- http://davidtanzer.net/wicketsc - A screen cast series about Apache Wicket.
So then, are table tennis, boxing and basketball or gymnastics not meritocracies either and thus deserving of more representative demographics?
Should those sports seek to find more balance in their professional profiles? Should leagues try to find and be incentivized to fill their ranks with underrepresented demographics?

Are industry responsible or is the educational system responsible for developing interest and providing guidance to the newer generations (in addition to initiative by the student body)?
Usability Testing in Code Review
It means that as far as is humanly possible, when I look at code it should be self-evident. Obvious. Self-explanatory.
I should be able to “get it”—what it is and how to use it—without expending any effort thinking about it
Creator of ground-breaking 1980s game "Lords of Midnight" has died
Mike Singleton, the creator of the legendary 1980s home computer games "Lords of Midnight" and "Doomdark's Revenge" (among many others), has passed away.
Free Product Returns Have Major Impact On Future Sales, Study Finds
Go CMU! #1, 4 and 8 of the top 10 best colleges for your bank account as measured by highest salary!

However, while this can be a statistic to be proud about, I hope parents and kids don't use it as a yardstick to measure success. If any amount of money is to be used as a proxy for success, lifetime earnings should be the metric, not the highest starting salary.

A high starting salary may be sexy, but at what opportunity cost? When companies are willing to fork out such tremendous amounts in salary, it only means that you are worth so much more. For the new graduates from CMU - I hope you will think about WHY you are so valuable, and ask if maybe your time can be better spent elsewhere (at say, realizing your own dreams, or building your own startup) than to slave away for a paycheck.
Coder’s Vacation : OMG JavaScript Libraries Spilled EVERYWHERE Series #1
Is the Ballmer Peak Real?
That would also show how far right wing the Republican party has gone.
It's been years since I've had a history class, so I'll just speak hypothetically. If I were running a country at risk of being divided, I might go to war to prevent secession if the rebelling territories had resources I needed. Examples include cotton, rivers/ports/shipping lanes, farmland, etc.
http://www.aantix.com - Personal portfolio site where clients can reach me.

http://www.runfatboy.net - A workout plan for beginners.

http://www.jimasks.me - Morally divisive questions answered by the community.
What is the use case for a Rust JIT? A REPL or runtime eval()? I though the static compilation of Rust code was one of it selling points.
>offering discounts to prevent companies like Dell from selling competing operating systems.

Isn't that what Google is doing with android too?

Can't say much about the rest of your comment, but I'm pretty sure Google wasn't trying to "prevent companies like [LG/Samsung/HTC] from selling competing operating systems." Apple doesn't sell iOS to other hardware manufacturers, and the other modern smartphone operating systems didn't exist when Google open-sourced Android.

Microsoft, on the other hand, has attempted to coerce vendors into selling Windows Phone smartphones by threatening them with patent suits.
No. (http://en.wikipedia.org/wiki/Betteridges_Law_of_Headlines)

But seriously, I don't feel so, (though I came from writing Java). I like the protection of static typing, and haven't encountered yet anything that made the FP part suffer from the OO part.

p.s. if you haven't already, Martin Odersky himself is delivering a course named Functional Programming in Scala (still not too late to join) https://class.coursera.org/progfun-2012-001
It might be too basic if you are fluent, but I found it just in the right level for me. In any case, learning a language from it's creator seems to give you some insights.
The main one is how customers are going to react to your product. Spending a few hours on XML sitemaps and a build process for minification might seem like a good idea if you are a perfectionist, but if you end up spending time on these things it means less time for other features.

It's not so much about solving issues to make the perfect product up front, but more about making progress quickly. Number of iterations is one of the best predictors of product quality, and by spending time on things other than getting out the next iteration, you're slowing down your rate of iteration. It might be tempting to think of a website as "done", but a launch is just the beginning.

For example, the biggest issue with our product at launch (http://sonalight.com, a mobile app that allows you to text through voice) was the pricing structure. We realized it was better to give the product away for free instead of limiting usage. We would never have realized this if we hadn't launched and heard complaints from our customer base.
Found an old product page for the thing I built: http://www.pcubed.com/services/tools.deliveryhub.aspx

When I say "I built" I mean that I designed it, coded it, delivered it. We were only a small 2 person team, though we had support assistance from a couple of developers in other timezones to support multi-national clients.

DeliveryHub wasn't solely a technical solution; sure it could trend any data on your intranet and inside your project management software. The real selling point was that we shipped a suite of charts and reports designed by project and programme managers.

Every business wanted to produce those reports, but none had systems that gave them a record of their data that allowed them to generate such reports.

Sales were easy, and the only factor that limited sales potential was that Pcubed as a services company never sold software without headcount. I understand why they did that, but never agreed with it.
Quick Tip: How To Check Firefox Plugins For Updates And Security.
This doesn't stop ServerBeach, FWIW.

http://www.copyright.gov/onlinesp/agents/d/drmwidth.pdf

My business, Dreamwidth Studios, has a duly registered agent and has since 2008. We pay roughly $8,000/month to ServerBeach, and we've had bad experiences with ServerBeach's AUP and mishandling of DMCA notifications.

In our case, they refused to send us the DMCA notification, claiming that there were privacy concerns. (Sending it to us would violate the privacy of the person submitting it... yeah, blew my mind, too.)
The author clearly has a bias (I'm a data scientist so respect me and pay me a lot). He's then gone on to describe some standard programming and maths skills that a huge number of people have (taught to engineers/scientists/programmers). I'm going to get downvotes and be labeled troll but I just have to plainly disagree. Data science isn't some magic new career field, it's simply the application of standard scientific tools to tables of numbers. As netflix and kaggle competitions have clearly demonstrated, literally anyone from anywhere has a shot at be the best on any particular spreadsheet of numbers (that what it boils down to, (possibly large) spreadsheet of numbers).
I still don't understand why it's important to have all these areas of expertise embodied in a single person called a "data scientist". Rather than hire one of these rare and expensive people, why couldn't a business hire a statistician and a couple of computer science people and have them work as a team? Given how few data scientists there currently are and the high demand for them, you might even be able to get these three people for less money than one data scientist.

Also, someone who has to constantly shift their attention between statistics and database servers might get less done than somebody who can concentrate on the mathematics and let their co-workers handle the implementation details.
Still, it's pretty cool to see some relatively abstract maths manifest itself on such a practical scale.

Here's another site with similar images:

http://www.miqel.com/fractals_math_patterns/visual-math-natu...

It's hard to recommend parts of that site, it's all awesome.
Banning trends in HN
Not only that, "data scientist" is just a marketing gimmick for consultants. It's a standard set of skills that anyone trained in science or engineering has. It's ok to use it in front of pointy headed bosses but in front of nerds it's slightly dishonest.
Note [2] This depends on (or implies) a certain elemental/relative triviality of the task.

I think you missed that note [2] above. I'm not necessarily supporting or defending the position. The point was it was not as simple an argument to dismiss as was suggested in the Parent. Couple of points to consider, more generally: (1) Its not clear that the condition of footnote 2 holds, per-se; That being said (2) its also very far from clear that decisions of Merit (in the context discussed) are ever/always fully informed.[#] Ironically, the further away you get from footnote 2 in some areas, the less informed the key gatekeepers are.

In other areas that might not be the case. These would be characterized by non-trivial skill obviously required, easily, cheaply, and repeatedly observable/measurable by multiple parties, etc. Timed running in 100m, would be an example of the latter.[##] But this is circumventing the actual argument by changing the relevant context. So its sort of a valid counter-argument, but its not quite-central to the point the Author was trying to make.

________

[#] see comment> http://news.ycombinator.com/item?id=4658045

[##] Still, this might not be the most diverse group if the olympics are your benchmark. But its non-trivial but highly specialized, and we can presume uneven native talent distrubution cannot be ruled out.
Sounds like the typical caching approach to me, "avoid making big queries by caching your data in a ram-based key-value store" .. so this is pretty much common knowledge amongst webdevs since LiveJournal introduced memcached back in 2007?, or am i missing something ?
Traveling the world, meeting startups: What We learned
Also, more readable. Personally, I think it's sad that Rust (along other systems-oriented languages like D and Go) haven't taken more of the syntax from Python, which I find to be superior to the world of curly braces.
the money is not in writing a bank web service

This is the real issue. Banks can certainly afford to hire qualified engineers; Santander apparently chooses not to.
If you want to use a semi-colon, then use a return statement. ie: return foo;
looks interesting. any plans to release a PC version?
If you want a job in SF, move to SF now. It will be lot easier to meet people and get hired. There are tons of job openings.
If you don't want to subscribe to mandatory mailing list: http://gsixcorp.com/downloads/Glyphs_byGSIX_v4.zip
Most designers can hardly FTP files to their server. Using the terminal is a terrifying idea. Writing code is a mountain of difficulty. I only know because I went through it myself.
Cheap Nike Shoes - Nike Dunks,Air Jordans,Nike Air Max,Nike Free Run 3
MNML: Responsive HTML 5 Boilerplate
MNML is an extremely light-weight HTML5 boilerplate. CSS includes a reset for HTML5 elements as well as media queries for common breakpoints.

Can be used as a jumping off point for any project - but particularly useful as a sandbox for developing responsive patterns.
10 hours seems far too short for most side projects. Maybe I'm too inexperienced as a developer, but I consider a lot of my projects to be "side" projects, and they take at least 30 hours.

I just don't see how you can create a full, well designed, functional website based off an original idea in under 10 hours.

For those that have side projects that you made in under 10 hours, could you share them?
Really? Downvotes? Is HN becoming Reddit? He isn't spreading misinformation or misleading anyone, just offering a different viewpoint (and one of a hosting company, mind you).
In addition to the other two excellent answers, there's another reason for the apparently higher issue count:

US-EAST-1 is enormous. It's now made up of 10 data centers with tens of thousands of machines (and associated infrastructure). There are thus more moving parts, and more points of failure. While Amazon builds a bunch of redundancy into its systems, "smaller" issues will tend to impact a larger number of users in US-EAST-1.
I couldn't agree more with this. The ML courses that Ng and Koller teach are really missing a lot of the statistical tools you need to do real-world data mining and ML.

My experience: I had basically zero math background, but I took ML with Ng and probabilistic graphical models with Koller, and later was a TA for Ng's ML class, during my Masters' degree and thought I was all set to go into machine learning jobs. To my surprise, I consistently found myself in interviews stumped by questions from basic stats, particularly significance testing, which people with more traditional stats backgrounds assume is basic knowledge (and it should be), but which wasn't taught in any of my ML classes.

I'm in a job now that involves some machine learning, but the ML component is 50% marshalling data (formatting, cleaning, moving), 40% trying to figure out how to get enough validated training examples, and 10% thinking about the right classifier to use (which someone else already implemented). Which to be honest is not very interesting.

So yeah, becoming a real data scientist is hard, requires a lot more knowledge than you get in one ML course, even from Andrew Ng, and the reality of the work often doesn't make it some dream career. And the competition for jobs isn't from other people who also just took that course -- it's from PhD statisticians and statistical physicists who might have taken one ML class to show them how to use all the mathematical tools they already have to do the new hot thing called machine learning.
IIRC, typestate was one of the big things in the initial releases/presentations of Rust. Is there an overview/discussion/ideas on why it ended up being removed?
Dutch justice minister wants to allow police to break into computers
That's an excellent suggestion. I did just the same last night.
You would not render the middle east irrelevant by erasing the dependence on crude oil.

I personally think you could in fact be doing the middle east the biggest favour if you could make the global oil price drop to zero. At least to the people, if not the current rulers.

That's not what maintaining Hegemony means. Hegemony means Kicking other people around.

Did you mean something else, like Energy Independence?
Or perhaps Being a world leader in science and technology?

And that's not the thrust of what you were referring to in your original post. You were talking about the INS screening people who look like me and not letting us into America.

Why that's a bad idea is a whole different can of worms, but basically Nazism is not an efficient security policy.

You have to put in place a whole lot of Nazism to get small gains in security.
>If we want to win the so-called "war on terror" (god I hate that term), then we need to stop being so terrified.

But I'm not terrified. I just don't want to get killed for saying something that I probably wasn't inclined to say anyway, so I choose not to say it. I consider it an appeasement, but a reasonable one.

We say we don't bargain with hostage takers - but what if the hostage taker demanded a stick of gum. Would you insist on not giving them the gum on the principal that if you give them gum, the next time they'll want a sandwich, and the time after that, the world?!

No, I say give them their stick of gum. It's the polite thing anyway. But if they push it too far, then not only will we not agree to it, but we'll go ahead and take away the gum too.
> The law, as currently written, basically allows the first group to pressure the second into screwing the third.

The third party can file a counter notice, at which point the second group has no legal obligation to screw the third, nor has any legal liability in not screwing the third. What am I missing?
Louis Vuitton Damier Azur Canvas Online Sale
They are at least as fractal as a road can be a straight line.
Also, Safari's multitouch behavior is far more sane and elegant than Chrome. The pinch to zoom continuously zooms into the page, rather than just scaling the font. The swipe forward/back is visually fluid, showing behind-this-pane previews of where I'm going back to. Double tap to focus on a block of text is convenient.
Worst. Statistics. Interpretation. Ever.

You can't assume that other foreigners are somalis. It wouldn't make sense if they were either, because why would they single out estonians and russians, but not somalis?

This is a gross error that might fly on another board, but you are totally wrong, and a racist to boot! Downvoted.
Ask HN: Where can I donate ad-space on my blog for good causes?
"I know 3 startups trying to solve aggregation of metrics for analytics."

Get. Off. My. Lawn.
Time-lapse: Endeavour rolls through L.A.
I built http://ipsum.me, an ipsum generator for web developers, with placeholder functionality for those dozen <li> tags in your mockup that you'd like to fill with a list of names.
If somebody is really to that level of social dependency then it's a choice between being a depressed hermit and having privacy. It's still a choice. Just because one option is more obvious for some people doesn't mean the choice disappears.
Pick a good cause. Link to them with a personal endorsement. Problem solved. For bonus points, link to a particular campaign page with keyword-rich anchor text.
Prominently, on the parent comment:

it makes stuff like this possible:
https://github.com/bleibig/rust-repl*
Tea Length Wedding Dresses - Wedding Dresses Online Shop CA
http://www.webmonkey.com/2012/09/google-drops-support-for-ie...
I think you might have a point. Only now it's probably too late for them to do that, you can't take away what users already have.
The records of "fastest free fall speed" and "longest free fall" are diametrically opposed to each other. They said multiple times that they were going for height and speed. I think the "longest free fall" was sort of a "bonus" one they were thinking might be possible if he didn't break the sound barrier.
If you're seeing the last data points as being ridiculously high and everything else at zero, that's a case of bad scaling. That site seems to be making a mess of everything.
It was a big marketing event after all. The extra curvature probably adds to the hyper-realism and makes people all the more excited about the campaign.
What Would PG Do?
Ask HN: going to a startup conference, what to be aware of?
we will attend our first startup conference in 2 weeks and i wanted to ask what one have to prepare for.

So two questions:

1) dresscode? suit up or casual
2) communication with investors: let them come to you or approach them actively?
Fundamentally, this post conflates type classes with functional programming. Yes, type classes are one way that functional languages approach ad-hoc polymorphism (i.e. distinguishing which implementation of a function to use based on the types of its arguments.) This is not the only way to approach said problem. For example, OCaml has both objects and modules/functors to support ad-hoc polymorphism. That Scala and Haskell take a different approach to this problem does not make Scala "less" functional than Haskell.[1]

As usual, the real problem is one of terminology. If you take FP to mean "Haskell and Clojure", then one could easily find features of, say, Erlang or OCaml or Scheme that are "not FP." All of these are conventionally considered functional languages, and IIRC none of them—save Scheme-based ports of CLOS—feature multimethods or type classes. So, before nitpicking about whether a language is more or less FP, one should always clarify: what do I mean by FP?

[1]: Not on its own, anyway; there are other arguments that can be made both ways, but this is not the space to make them.
Implementing a multithreaded VM was part of the semester task to pass Compilers (Warsaw University, 1996.) The VM was a bare bones instruction set plus threading support. The rest of the task was to implement a compiler for a concurrency-supporting language targetting the VM.

The most tedious part was implementing a garbage collector on top of the VM (GC was not part of the VM spec) We grumbled a lot about this task :)
Ask HN: a Web App for Simple Search
Disclaimer: I am not a tech guy but like many I have an iPhone and iPad and hate typing.

So I made a simple web app to make searches across many services.

There are search buttons for most used services:
- google
- wikipedia
- youtube
- facebook
- twitter
...

Questions:
- Useful?
- Too many?
- Comments?

Site: http://www.101start.com
I created The Toolbox in about 10 hours (http://thetoolbox.cc). If you feel like a project will take more than 10 hours, I would suggest scaling your idea back.

Of course, if you have more than 10 hours available then go for it, but a lot of people never start precisely because it seems like too big a task. So I thought the 10-hour rule could be a good way to get past that.
Create and share video playlists from youtube without logging in: http://cueyoutube.com/

Easily create digests of emails using forwarding rules: http://emaildigest.me/

These two don't really do anything, they're just ideas with Wufoo forms:

Find out where you rank in terms of salary for your industry and location: http://pimpmysalary.com/

Get a Chinese Business Name for $500: http://www.chinesebusinessname.com/
I think your description would still count as a "suit" since it would accomodate for individual body parts (leg, arms, etc).

I think once there's area for movement within the suit, it would become a "vehicle."

It's also worth noting that the suit stil uses Felix' skeleton as the main anchor object – it's what is sustaining the pressure when the canopy releases whereas a vehicle would use it's skeleton to deploy the chute.
Thanks!

I didn't realize job tractors was out there when I made this. @meaydinli -- did you find the site useful at all? What would make it better?
I was pretty gung ho about getting into ML two years ago and put a lot of time into online courses like Ng's, books, and ground-up implementations of a lot of the common algorithms. I enjoyed it, but after a while it became clear to me that a lot of this stuff is better described as applied statistics.

And this can be powerful, of course, but it doesn't really have much of the magic of AI.
For the record, Heroku doesn't affect your ability to use triggers. It's possible our ancient "shared database" infrastructure simply didn't support it, but the new starter tier plans certainly do.