jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Another thing I'd like to add to this:

TAKE VIDEOS. If you're hesitant to bring a point and shoot to the gym, go later at night or before noon when the gym is relatively empty. Share your videos on any of the big lifting forums and ask for opinions. Sure, you can ask a trainer, but if you're lifting at any of the major chain gyms I wouldn't trust a lot of those guys to critique a squat as far as I can throw them.

If you're doing a lift with improper form, you might as well not do it at all. The point of maintaining proper form is to not only remain injury free, but to also point out any strength imbalances you might have (weak quads in a deadlift, weak lower lumbar in a squat, etc etc).

(example vid, i switched to sumo-stance for deadlifts and wanted to make sure i was doing it right before moving back up in weight -- http://www.imperial.org/~jd/deads275.wmv )

I can respect -anybody- that posts videos and asks for help on form. The amount of weight you're moving is trivial - the fact that you want to focus on your form and perform the lift correctly speaks volumes. I respect the guy squatting 95lbs correctly infinitely more than the guy squatting 405lbs to 25% depth any day of the week.
I use do...while instead of the for loop, making the usual nasty C-programmer use of ++ in the right spots, but other than that, my solution is the same.

Edit: Correction... I also copy the '\0' character before exiting instead of making that a separate step. It has to do with the order of things. Here is the code:

char* read_ptr = s;
do {
if (*read_ptr != c) {
*s++ = *read_ptr;
}
} while (*read_ptr++ != '\0');
I own a Mac(Book Pro), and I dual boot Mac OSX and Ubuntu 11.04 on it.

I spend 90% of my time in Ubuntu (mainly developing).

I honestly think that if you're tight on cash and you just need a machine for development, get as much CPU-cycles and stability for your money as you can, and run a linux distro.
Even Eric Schmidt would go on and on about how "literal" Googlers take everything, how stereotypically engineer-minded they are, basically implying they were incapable of being creative or having vision or social skills.

Do you realize the hypocrisy of what you are saying? You criticizes that taking things literally is bad by taking Schmidt's comments literally.
> The free version helped him sell the full version until it reached that "critical mass" that was required for the popularity of the full version to continue to drive sales of itself.

From the investigating he did it didn't look like the free version drove the paid one. Evidently very few people signed up on the free app and later showed up on the paid one.
That actually depends. Online sites, like the one I run, get to pay chargebacks and the associated fees ($10-25, in my experience). The situation is different for card-present transactions, though; in that case, the merchant is usually covered.
> The argument that heroin and meth should be legal is asinine.

I don't think it's asinine. There's clearly reasonable arguments for it: mostly that the consequences to society of harsh crackdowns on drug abuse are worse than those of legalisation - in particular that addicts feel that they have no option but to kill or steal in order to obtain their next fix.

Do I think people ought to do hard drugs? Absolutely not, it's clearly a terrible idea. I just think addiction should be treated as a medical condition, not some righteous moral crusade. Legalisation might be a step too far, but criminalisation isn't clearly a better option.
If that's the case, please retry. We're actively working on the backend of the site and restarting the application sometimes takes a second.
Your calls to third party systems should be through a callback interface.. they should not be blocking inline. The event loop will continue.

There are plenty of ways you can process out of band requests... you could use a generic-pool with a size of one instance if you really need to... However, if you are really blocking access to a single client at a time, it's likely node won't be your bottleneck.
Funny thing, just few years ago (before Facebook and Linkedin were hot) making sure you're googlable (and managing your "google presence") was a typical career advice kind of thing ;).
I do the same thing - NAS to store media, with plex running on my laptop (which is always on anyway) chromecast on my tv and the plex app on my phone to control everything. Definitely feels like the future, but like you I'd be curious to know how this setup compares to others.
We're living in a world where anyone, anywhere in the world can raise money from complete strangers, with essentially no oversight into whether the money actually is effectively directed towards what they claim it's going to be, and some financial intermediary takes single digit fees for doing so[1]. Sounds rather low compared with the cost of sending out emissaries to persuade people to part with money by hand, or dealing with the rich people and financial institutions that traditionally sponsor such programmes and their expectations...

[1]not to mention the crowdfunding platform, which often takes a larger chunk of fees for providing a pretty interface to the payments infrastructure, some eyeballs and some t&cs but apparently isn't subject to the same criticism?
I don't know what is more stunning, that you don't know who the man is OR how to use a semicolon OR that nobody else seems to care about neither.
It also depends on what you really want. Make a list of pros/cons and then go from there. Think hard where you see yourself in the future. Go with the company, which can help you to get there.
Leave! Then you will see how much you were worth.
I'm on Firefox 3.6 and this did nothing to the page's appearance.
Their lawyers tell them that an apology is an admission of fault.
I'm pretty sure that all phone makers have had good GPS for years. And MS has bing already. http://www.bing.com/maps/
> There is no way you could do better, and it is unlikely that if you are building anything that needs more than a handful of servers you could build anything more reliable.

I can't disagree, but there is one key benefit to not using the cloud for some services.

When your company is working on an important deadline, your sysadmins could choose not to implement that pending network configuration change during that crucial period. You can control your own at-risk times, which you can't generally do with IaaS.

As with everything, it's a trade off.
Looks nice! I recently used node to add a web interface to a C++ app myself and got annoyed with the amount of boilerplate code required for passing function arguments (type checking, unboxing, boxing return values) so I started a mechanism for automating it:

https://github.com/pmj/node-method-wrapper

It too is still work in progress, but it works pretty well so far. Note that it currently superficially relies on some node-specific extensions, though they should be pretty easy to remove, in order to use it with V8 alone.
I'm thinking about $1.3 Billion or so in 2012.

http://www.talkandroid.com/29769-googles-android-os-could-br...
My Nokia has GPS.

It is several years old.
This is a proof-of-concept. Sure, the conditions are ideal, but this is the first time anyone has made this work at all. Of course they're not going to start with a $20 digicam and a dimly-lit room.
This is really cool! I've looked far and wide for got a good stereo amplifier that is customizable, but such things don't seem to exist! Please let us know more!
> In the end the real issue is new fields spend their first ~50 years in patent hell where the most obvious things are easily patented

I think this is the most important part of your comment. How well patents work for drugs is a secondary question.

I would put it this way: the PTO has no good way of distinguishing mere novelty from nonobviousness. In a mature field, the two probably correlate pretty well: everything obvious will have been thought of. But in a young field, they don't. Specifically, when a new technology opens up new applications, those applications are often novel enough to be considered patentable, even when they are obvious to anyone who has the need that the application addresses.

When new technologies are extremely general, like personal computers and the Internet, this problem is at its worst: there are very large numbers of such new applications. And so we get lots of patent applications of the form "do X on a computer" or "do X over the Internet", and because those ideas are novel, as far as the PTO can tell, it assumes they are nonobvious.

The European patent court, as I understand, tries to address this problem by requiring that a patented invention demonstrate a "novel technical effect". I think this is a good idea: it attempts to distinguish inventions that are truly new technology from those that are simply novel applications of technology, the implication being that the latter are more likely to be obvious, even though novel. In fact, I think this is a much better approach than the one the US Supreme Court took in the recent Alice decision [0], in which they rejected a patent for being about an "abstract idea". Both approaches require the PTO to make a judgment, but the question of whether an invention is an "abstract idea" seems to me much harder to pin down (what's a non-abstract idea?) than that of whether it contributes to technology or merely uses technology. (Though I wouldn't say the latter question is always going to be trivial.)

Another thing I would like to see is heavier and more consistent reliance on what are called the "Graham factors" [1], particularly those that show objective evidence of nonobviousness: commercial success; long-felt but unsolved needs; and failure of others to solve the same problem. I would go so far as to say that the presumption, particularly in a young field, should be that an invention, notwithstanding its novelty, should be considered to be obvious unless the applicant can demonstrate some objective evidence that it isn't.

[0] http://en.wikipedia.org/wiki/Alice_Corp._v._CLS_Bank_Interna...
[1] http://en.wikipedia.org/wiki/Inventive_step_and_non-obviousn...
It sounds like a good idea. As with any website like this, it's success will depend on whether, on the average, when people look for information on the site, they find it and/or are entertained. So many ways this can go wrong with user generated contact. I hope they succeed in taking this beyond rap. They should have kept "rap" in the name
>This is the key shortfall in interviews across all skills,

Sorry, but as someone who changed professions after 10 years in another profession (which was pretty universally viewed as a "brainy" type of work), I strongly disagree. My interviews (of which I had several over 10 years) were always done respectfully, and first and foremost were interested in teamwork skills, personality, and work habits. But when subject matter expertise was examined, my interviewers probed exclusively for knowledge we used in our everyday work.

My former colleagues are uniformly appalled to hear what tech interviews are like. Likewise my wife, who works in yet another profession.

Edit: Downvote away. I love working in software development, but until software developers face up to the fact that their interview process is actively discouraging more people from entering the profession, there will continue to be a "skill shortage" (a term that is also bandied about for political reasons, but that's another story). It's not management that conducts these kinds of interviews, it's fellow devs.

Edit 2: And just to clarify, I'm not talking about knowing time/space complexity and common data structures and algorithms, all of which are important. I'm talking about asking puzzle problems like Tower of Hanoi and then marking people down for using an iterative instead of recursive solution.
Is this content proprietary to KA, or CC licensed?
"Any situation short of that is a legally mandated labor supply shortage."

Well duh. But again, that's not the point of TFA.

You're clearly eager to advocate that laborers should be free to move about the world and work wherever they want. That's cool, knock yourself out. But it's another thread than this one.
It's about power. In this case, "power" means political power. Some people are willing trade a percentage of their wealth to acquire power. Note that in earlier times, power was usually acquired by heredity.

If you want to read a fascinating book on the different kinds of power and how it has been acquired over time, read the book "Power: A New Social Analysis" by Bertrand Russell.
I'm new to startup but I have been to some meetups and breakfasts. Few things I heard,
1. don't take VC money
2. raise VC money when you don't need it
3. if you really need the money by ... or else ..., then you should quit and get a real job
William Wordsworth, Edgar Allan Poe and Rudyard Kipling
So they invented a conference room or office that can't accommodate those with mobility issues?

"Someone clear a path for the wheelchair!"
The problem is that I don't think there is currently a possibility that a clinical study for this could be funded. Government has all but withdrawn from late stage studies and no company has anything to gain.
Funny to read about as I'm from Holland and have lived a great deal of my life in Amsterdam. A little tip for you people planning/going to Amsterdam in the future: please don't jump off the sidewalk onto the bike lanes without looking around you!
The attached video is a gem.

https://www.youtube.com/watch?v=PNwg8FvfuuU&start=497
Rudyard Kipling, William Wordsworth, Edgar Allan Poe
Favourite? I don't know... Blake? Poe? Various Japanese classics? Currently reading "Paradise Lost" by Milton. But what I've probably listened to most, lately, is Kate Tempest:

I know now, first hand,
That regretting love will empty you
Of all that makes you love
And all that lovers pay attention to.

(Verse from "Best Intentions", Kate Tempest)

It's interesting to see that many seem to have fallen in love with poetry that's been translated to English. While there's nothing wrong with translation, I do think it is a little curious that some seem to prefer translated poetry, to native language authors (Much as it'd be a bit curious to hold up Blake as one's favourite poet in Spanish). At least one should make note of not just the original author, but also the translator -- as the end result is very much a team effort.

[edit: Somewhat apropos, perhaps:

"Kate Tempest - 13 Commandments"

https://www.youtube.com/watch?v=DktpzYOHTXo ]
Not at all. The Western governments simply have to hide it better.
The population of the metro area has nothing to do with it, it's about concentration of the industry. Acting is similar. There are more acting jobs in Hollywood than NYC.

I've seen many studies of tech hiring/jobs across the country. I'm sure you can find any research you're looking for.
There's your fallout: http://www.theguardian.com/film/2015/jan/02/north-american-b...
> I'm not even sure what the result of a looping expression should be

>Break and return statements have no useful results

The result of a looping expression could be specified by its break!

var myNeedle = foreach(var maybeNeedle in myHaystack) {
if (maybeNeedle.isTheNeedle()) break maybeNeedle;
}
if (myNeedle != null) print("I found " + myNeedle.toString());
Posted a link here, https://news.ycombinator.com/item?id=8828209, explaining. This was a quick starting point for a friend and I, hoped a post here would encourage a person or two to help out, and seeing a huge unexpected response.

I am more than happy to accept any suggestions, I understand most are super trivial, I assume these as a starting point for any conversation, or as basically a few things that could help give someone an idea as to where to start.

PRs are appreciated, or feel free to just email me questions and I will add (email in profile). Create an issue and add there as well, and I will go ahead and work in. Whatever is easiest!

Thanks for all of the attention everyone. I know it's basic, but it's a start. Hopefully we can work to evolve it into a much more detailed document that a few of you can benefit from.
This also isn't a straight either or proposition. I build local command line pipelines and do testing and/or processing. When either the amount of data needed to be processed passes into the range where memory or network bandwidth makes the processing more efficient on a Hadoop cluster I make some fairly minimal conversions and run the stream processing on the Hadoop cluster in streaming mode. It hasn't been uncommon for my jobs to be much faster than the same jobs run on the cluster with Hive or some other framework. Much of the speed boils down to the optimizer and the planner.

Overall I find it very efficient to use the same toolset locally and then scale it up to a cluster when and if I need to.
Awk and Sed aren't very accessible to most people who did not grow up learning those tools.

The whole point of tools built on top of Hadoop (Hive/Pig/HBase) is to make large scale data processing more accessible (by hiding the map-reduce as much as possible). Not everyone will want to write a Java map-reduce in Hadoop. However, many can write a HiveQL statement or Pig textual script. Amazon Redshift brings it even farther - they are a Postgres compatible database, meaning you can connect your Crystal Reports/Tableau data analysis tool to it, treating it like a traditional SQL database.
I agree partially, this review just really left me cold and wondering, what was left out. Its really rare that I feel like a reviewer is holding back.
The Republicans were not going to allow Obama's preferred tax cut version to get through congress, and because the mid-term elections swelled Republican ranks better prospects in the new year with the next congress would be even more unlikely. But don't take my word for it. That's what Bill Clinton said, along with endorsing the tax cut deal by saying he didn't believe there was a better deal out there. See here: http://www.youtube.com/watch?v=DYHDPxohkrc

He failed on his most important mandates? In the middle of a historic financial catastrophe which nearly triggered a full-blown depression (which under his watch the freefall was stopped successfully and the stock market is now largely recovered) he gets a historic healthcare law passed which had been attempted and failed at for more than 50 years. And because it's only 90% instead of 100% of the desired outcome it's a failure? Why not give credit for what it is, and opportunity for improvement it provides? Social Security, one of the most important social safety nets we have was not what it was when it first started either. This doesn't even get into passing the biggest financial reform laws (against powerful lobbies) since the Great Depression. No, I see it another way. This president has already had a very busy two years.
Just don't spill any coffee on it. :D
I started an Ask HN where we can talk about the greater implications of this story - free of party bias.
http://news.ycombinator.com/item?id=2026798
I'm currently committing up a storm of my own, I want to get Hackety Hack 1.0 out the damn door already, on Christmas.

After that, I'll be hacking on it some more.
ah right. Never seen "infinite scroll" used to mean normal scrolling [arguably "finite" not that I'd actually bother calling it that.] That threw me off.
Well then the interview process seems to be the problem then.
Physics and collision detection in JS. One can only imagine the horror.
it is not a mix of arts and science, it is akin to middle ages styles manufacture. re-inventing the wheel, left and right, hundreds of years away from real engineering. even questionable if something like the freemasons exists yet.
> And does the literal number "95%" substantively change the argument...

Given PG used that number in the article's title, and even in its URL, it does seem like it's worth debating. If the number was actually 50% as the parent suggests, then suddenly you have a very different argument.
>*What's the real market rate?"

Considering you have to go to a Tesla certified dealer, I'd say that is the market price. It's not like there's a shop on every corner.

And, no, replacing undamaged parts is not "orders of magnitude" easier. Of course, it depends on how badly parts are mangled, but that's exaggeration.

Read the threads, they're interesting.
I'm actually somewhat surprised at HN's response. I've seen so many outcrys because platforms like YouTube are causing the collapse of civilization because they're allowing misinformation to spread so freely.

Damned if you do, damned if you don't
For those who may strongly disagree with that statement, I would be curious to hear their counter argument to the paradox of tolerance.

https://en.wikipedia.org/wiki/Paradox_of_tolerance
Yeah, i thought WhatsApp was the shit until I started using Telegram
You can prohibit any speech by calling it obscenity, adult content or spam, but for some reason people are much more willing to argue for special privileges for hate...
Trump claimed his campaign had zero contacts with Russia and no business deals in Russia. Turns out his campaign had hundreds of contacts with Russia and Trump was planning to build a tower in Moscow with a penthouse gift for Vladimir Putin. Source: Volume 1 of the Mueller Report

Trump's son, son in law, and campaign manager met with a convicted Russian spy at Trump's house to discuss a trade of damaging information on Hillary Clinton in return to relaxed relations between the two nations in the form of repeal of the Magnitsky Act. Trump lied that this ever happened and tried to create a cover story which was blown apart. Source: Volume 1 of the Mueller Report

Trump's campaign manager met with a Russian intelligence officer and exchanged internal Trump campaign data which is presumed to have been transferred to the FSB. Source: Senate Committee on Intelligence of Russian Active Measures Campaigns and Interference

Russian interference in the 2016 election was “sweeping and systemic.” Major attack avenues included a social media “information warfare” campaign that “favored” candidate Trump and the hacking of Clinton campaign-related databases and release of stolen materials through Russian-created entities and Wikileaks. Russia also targeted databases in many states related to administering elections gaining access to information for millions of registered voters Source: Volume 1 of the Mueller Report

The Mueller team was unable to establish a before-the-fact criminal conspiracy between the Trump campaign and Russia. The Mueller report includes a whole second chapter dealing with obstruction from the President and his allies, which included lying (by the President himself), witness tampering, interfering with principle investigators, and destroying evidence.

And what did Democrats do with all of this? Did they storm the capital? Did they even impeach the President for any of this? There was literally no response what. so. ever.

Oh, and during all of this the President promised pardons for those who would obstruct the investigation, such as Paul Manafort, who was literally meeting with a Russian Intel Officer and handing him Trump campaign data. If that is not collusion, what is? And then Trump pardoned him. So more obstruction on top of it all.
Are those 3 people not related in any way to this incident? As far as I can tell the 4 deaths were directly related to the protest. The one person in the US Capitol was shot and was pronounced dead later on. Does it make a difference that not all 4 were shot in the same place?