skysight-inc/HackerNews huggingface dataset:
I'm curious as to the enforceability of the all future patents clause. If I decide to license a patent under the DPL today, can I terminate my own rights as a licensee at some future date and avoid having to license my future patents in the same manner?
AFAIK they track links only for a subset of users and not every time.
Speaking as someone who on a variety of occasions has been asked to bake these kinds of restriction into a piece of code, I've tended to follow the restriction to the letter but not the spirit -- yes, this product has "DRM", but yes, any child with a hex editor can disable it in a few minutes.

From this I guess that weak DRM is very often entirely intentional.

As for the kind of engineer that does it, you do. Or more accurately, every engineer who has ever been asked to place their ideals ahead of their paycheck -- and realized jumping ship simply wasn't worth it
Were they quality hires? And are you still hiring at amazon? ;)
Keeping in mind that we disagree as to how many, if any, of the detainees were "totally innocent" (as opposed to procedurally innocent), are you really going to compare our treatment of terrorists to the Germans' treatment of jewish civilians?
In the game Jetpack Joyride, you start with a "machine gun jetpack". http://jetpackjoyride.wikia.com/wiki/Machine_Gun_Jetpack
Wow, I have seen it today in Madrid.

I wish it had passengers cars so I could travel on it one day.

The great thing about remote working is that you could do these kind of things, it will probably need expensive satellite Internet though...
Agreed. Another way to optimize it is by running the animations and the AI on separate threads. The deeper the search tree, the better the AI performs, irrespective of the heuristic used.
Why do we need directories on disk? Just prefix all filenames with the directories they reside in. Make '/' just a legitimate filename character. :)
Any 3? If the top two fail, the assembly drops from the rail, doesn't it? If the bottom two break off, the thing could derail in a negative g track part.

I would think that is only true if we consider that cars have more than one of these.
Yes, This Trojan Infects Linux. No, It’s Not the Tuxpocalypse
"What I like about PHP is that I don't need to ever learn any other programming language, so I still think the good things about PHP are unique to PHP."
I personally don't think PHP is that bad of a language either. I mean all languages have caveats, there is no such thing as a perfect language. I think PHP gets a bad rep because there is a lot of bad code out there and people blame the language for the bad code, which is like blaming car manufacturers for drunk drivers. But some of the criticism is legitimate and we would all be very naive regardless of our stance to not at least admit that PHP has some design issues.

The biggest issue I have always personally had with PHP is parameter consistency. A few might laugh and think this is a pretty small thing compared to other issues that PHP has, I agree, but it is annoying nonetheless. Some inbuilt methods want the needle first, others want the haystack first. Array functions tend to prefer needle first then haystack, string functions tend to prefer haystack first then needle.

The problem is PHP is a culmination of years upon years worth of backwards compatibility. The quirks around the order of parameters on inbuilt methods will probably never be addressed, it is something we just have to deal with. There are other quirks I won't bother detailing, but I still like the language. However I do acknowledge that parts of the language are a series of hacks. While PHP is not a perfect language, it works. And we also have to acknowledge not too long ago, Javascript was a pretty horrid language with a tonne of quirks to work around as well and will continue to be until we can support great ES6 features without polyfills.

I won't pretend to be a code elitist. I use whatever gets the job done. When a client has a limited budget of $2000 and wants a new website they can manage themselves, nothing beats Wordpress and Wordpress is built on PHP. No other language has a CMS that rivals the power of Wordpress (trust me, I have looked as well). I would argue many people that still use PHP are using it solely because of Wordpress.

Not to mention PHP just works out-of-the-box with almost every hosting provider on the planet with minimal configuration (if any) and can easily be tweaked for great performance (caching and compilation). I still think that PHP has a future ahead of it. It seems there are efforts underway to make it better, Facebook have contributed greatly to the language especially. We might one day see something like ECMAScript 6 happen for PHP where some of the biggest complaints are addressed (who knows).
I look forward to a tunnel under the Bering Strait, and trains running from Miami to Madrid via Alaska and Yiwu.
Wait, wait, the PHP documentation is GOOD? Wat?

I mean, it's certainly extensive, but it's rife with the worst programming practices, and extremely bad/unsafe examples.
Los Angeles and San Francisco Sue Uber
Haskell and ocaml fit the bill, but aren't new... which ones do you mean?
So now we have Windows and Unix-likes... well at least it's not a monoculture.
Is this a joke? Seems like a lot of people are falling for it...
But this way I have 5 more minutes to code.
http://www.infoworld.com/article/2854034/ruby/faster-ruby-on...
Wasn't trying to convince anyone of anything. Was mocking a sentence I thought was ridiculous.
He didn't make that up. As crazy as it sounds, NASA considered exactly that idea in the 1950s: http://en.wikipedia.org/wiki/Project_Orion_(nuclear_propulsi....
I'm a programming language geek, a code lover and a syntax fanatic. And there are a ton of things I love about php:

class Animal // yeah! real classes!
{
function hello($name="nobody") // nice default variables
{
echo "hi $name"; // sexy variable expansion!
}
}

class Dog extends Animal // logical syntax :)
{
...
}

function f()
{
$x=123; // variables are local by default and need no initialisation
}

I could go on for a long time, listing all the language constructs I like in PHP. All other languages I tried have quirks that annoy me.
If you care enough about the flavor differences, you'll do a whole lot better by not using a kureg in the first place.
I agree for the most part. There are a few infuriating things, especially coming from a more functional background, that drive me crazy. People who shit on PHP aren't being objective.
And then thanks to a certain XKCD what if article:
https://what-if.xkcd.com/21/

We learn about a certain russian gun:
https://en.wikipedia.org/wiki/Gryazev-Shipunov_GSh-6-30

That can apparently produce 40G of recoil force...

Towards the end of it all, it is starting to look like the premise of a certain mobile game:
https://play.google.com/store/apps/details?id=com.halfbrick....
Then why do people complain about it in your opinion? Shouldn't leave the conversation hanging ;-)
So a reverse engineered Skype client would be OK then?
MIT Professor Emeritus Walter Lewin – Inappropriate Tweets (2013)
Ah, thanks for the explanation. I do vaguely recall hearing about this issue a while back, but never grokked the details. I find it interesting that people would prefer to disable zooming just to avoid wonkiness on orientation changes -- seems like a way less important issue. But hey, design is all about making choices, so I can understand how other people might weight those issues differently than I do.

A followup question: you say that "In practice, many sites don’t adapt using media queries, and so popular mobile browsers may adjust the zoom level instead." ... does this imply that the orientation change issue isn't a problem if you use media queries properly? If that's the case, then the maximum-scale=1 seems like a moot point (because if you're adding a meta viewport tag to your markup, you're already thinking about responsive design, right?). Or am I misunderstanding what you said?
> the guy bet the farm on a technology without looking into whether that technology actually worked.

> When I had not gotten it working after just two hours, he started raging at me about how it was all my fault that it didn't work.

This is how most mid-sized non-technology companies operate when it comes to making technical decisions. If you have a couple of months to spare (the guy is verbose), I recommend reading the Gervais Principle[0].

[0] http://www.ribbonfarm.com/the-gervais-principle/
Yeah! We should find these engineers who might have families and shame them to the world! They'll never work in this town again after they traded in their scruples for a few bucks.

In other news, I'm excited to announce my social dating startup just got acquired for a bunch of money! We'll be deleting all the data and shutting down.
I have owned two Nespresso machines. They were both great for about 8 months. Then no matter how much I 'cleansed' them they made terrible tasting coffee. You can never get the insides completely clean. I suspect the Keurig has a similar problem. I'm now back to my ceramic filter cone (one-time $20 cost) and the coffee has never tasted better.
Patent trolls celebrate another successful year attacking startups
lol, yes.

The best thing are the comments in the docs of people telling you how wrong the docs are.
America did a hell of a lot worse than this stuff during WWII. In fact, this stuff is child's play.

We loaded up air planes with incendiary bombs and flew over Toyko purposely igniting their wooden homes to purposely cause a firestorm that killed .1 million people in a single night. Pretty fucking brutal.

Pooring ensure up a guys ass is pretty bad, but we instead of letting our B-52's bomb Taliban villages into nothing, we use drones.

Progress is slow, but it's happening.
The only thing I agree with here is that it is indeed easy to get started with PHP. It's also easy to get started with BASIC. You should not be using either to write a serious application in 2014.
Pirate Bay Has Been Raided and Taken Down: Here’s What We Know
Russia's Usmanov to give back Watson's auctioned Nobel medal
Over 30 vulnerabilities found in Google App Engine
I think it usually goes ship -> truck rather than ship -> train -> truck.

Example at 8:00 here (Turn volume off) https://www.youtube.com/watch?v=rYBImNhYO5U
That's not 100% true. A good organizer is vital to an effective protest. http://www.thebaffler.com/blog/disruption-time/
I hear some modest outrage in people's comments, but I sincerely doubt most of you want to actually confront the leadership simply because they're aligned with you politically on most other things.

Other than tossing out some words, I fear most of you are going to do nothing and continue voting for the same ol' status quo crooks and cronies.
Ask HN: How do you debug js errors in production?
Once minified, async stack traces are practically useless. I've tried bugsnag, trackjs, sentry, and newrelic and haven't been stoked on any of them.
Death of the Social Media Strategist: Overselling and Underperforming
Well it was the 50s. Both sides of the cold war tried to come up with various uses of nuclear power. From civilian cars to military strategic bombers. Never mind using nukes to dig harbors...

https://en.wikipedia.org/wiki/Project_Chariot

And would it surprise anyone that a champion of this project was Edward Teller?
Yeah, it appears that they both add and remove the direct links in JS, so with JS disabled you never see the direct link (at least, that's what I get when I disable javascript).
In all likelihood there's plenty of both going on.
Most people complaining about PHP haven't actually used it in an enterprise environment.

Using JetBrain's PhpStorm with a proper framework is simply not the PHP of 10 years ago.

One of my favorite features is type enforcement; consider the following code:

class User {
function is(\Auth\Role $role) {}
}

If something other than an Auth\Role object is passed in, a runtime exception occurs. Better yet, PhpStorm will check the types in real-time and underline type errors immediately.
How can CoreOS be called vaporware? They have products! I use them in production.
Although I think that PHP is certainly not the best language in the world and it's pretty easy to write unsafe code in it, I don't think that's true.

I agree that PHP tends to trick you into writing unsafe code, but I generally don't agree that their documentation is full of unsafe examples (not anymore at least).

Can you name an example that proofs your point?
The number one reason PHP is liked and adopted so much for the web is there is no state. Each and every request starts fresh, which reduces a lot of complexity and the barrier to entry. Also, the fact that it is in itself a templating engine, makes it faster to produce apps.
There's no need to continue a conversation that's been had a thousand times already.
> Sure, PHP has its warts — every language does.

Some more than others.
Why exactly? Why shouldn't you use PHP in 2014?
Echoes of the agency-ization happening in other areas of tech

(1) Today's Top Product Hunt - http://www.producthunt.com/posts/hidden-founders
(2) One of New Yorker's big Nov. 2014 Stories - http://www.newyorker.com/magazine/2014/11/24/programmers-pri...
> I think PHP gets a bad rep because there is a lot of bad code out there and people blame the language for the bad code

I think in 5-10 years, in a post "everyone should learn to code" world, people will say some of the same things about Node.js or Rails that have been said about PHP for the last decade.

Beginners are going to make mistakes, and PHP was appealing to novice programmers (for a lot of the reasons listed in the article).
If you take a look at the help wanted forums at gamedev.net, you see a lot of propositions of this nature, "potential to pay after we get a deal with a publisher". Basically, "work for me for free and if you have to think there is money coming to work for me for free then go ahead and imagine it". The gamedev crowd has gotten past this. Sadly, I think we will see more of this in the startup world before people in that area get a healthy bit of skepticism about these types of offers.
I don't buy it. You've repeatedly brought up that one item to the exclusion of all the others in contexts that use it as part of an actual argument. Unless your entire participation in this thread is just an elaborate and vast attempt to mock people?
Because it shows that it just takes simple math and algorithms to make complex beautiful things, and not an all-powerful deity?

Some people see the order behind natural beauty as evidence of a designer, but I think this actually demonstates how beautiful systems can arise on their own without guidance. If something was designed by an all-powerful being, it would be surprising if we mere humans could understand its patterns at all.
Different perspectives, I guess.. you are of course free to believe whatever you want.
You can pry my Breville BES870XL from my cold dead hands.
PHP guy here. Which doesn't mean that I love php that much, but still pays all the bills. How I ended up doing PHP? Long story. Anyway, i've been working in almost any kind of environment. PHP powers massive and remarkable architectures and i NEVER felt it was falling short during implementations. Another story is the community, which is also the only damn community which has scientists and amateurs sitting in the same room. The quality of the code depends entirely on the person who is using the language, still I think that actually allowing "non-programmers" to power their projects easily (despite being badly designed, they still can fly) with PHP is a feature and not a bug.
There have been a few instances of this sort of "malicious compliance" that I've noticed, the biggest of which has been Pandora: If you're not in the US, you have to convince their website that you are in order to play music (due to licensing restrictions). However, last I checked, the audio servers have no such restrictions, so you can still stream directly from them rather than having to push that through a proxy as well.
This response is asinine.

What do you say to the organizations that massacre entire villages and towns in their own county, make regular suicide and car bombs to blow up crowded and high traffic places (in M.E., Russia, China), dismember their young for stealing bread or disobeying, killing colleagues for not being Muslim enough?

They have plenty of reasons to hate us, we are not like them, but it looks like they do fine in spreading destruction and agony in their home as well.
if your other browser properties don't match the UA though, you're still showing up as a unique fingerprint. You'll be the guy with an IE8 UA sending an accept:image/webp header, or the guy with a Safari UA who's following link prefetching instructions that are only valid in chrome, or something else that makes you unique.

or my personal favourite: sending the do-not-track header, something that only a small number of people send that makes you much easier to fingerprint.
>only damn community which has scientists and amateurs sitting in the same room

Python's prolly similar.
While this is awesome work, I find it sad that those involved seem to have cheerfully acquiesced to the diktats of a safety- and image-obsessed administration.

Or perhaps their true attitude just wasn't appropriate for this blog post.
The Mandelbrot book was the first one on the topic (published in 1983, revised from books published in 1975 and 1977), and is the least likely to have 'recent information on the topic'. It's also not as readable as some of the others, but it's certainly a classic (and deserving of a larger Wikipedia article than it currently has).
that's the idea behind Project Orion (nuclear propulsion): http://en.wikipedia.org/wiki/Project_Orion_%28nuclear_propul...
Next: Software that alters the mood of your voice as you speak.
Is that a total number? Because this isn't the whole report, this is just the executive summary. The full (classified) report goes on for over 6,000 pages.
PHP is a good language for solo devs that need to get shit done quickly. PDO is fast and stays out of the way.
Be elastic, the core concept is not about "being unique".
It's still serving 82% of websites, and it runs some of the largest and most successful properties. It's flexible as all get out, and powerful whether you're running a site or just some command line scripts. I don't do too much with it these days (besides the Parse and Facebook PHP SDKs) but I'll always defend it.
Show HN: Finally understand the AngularJS docs
The big goal here is to create AngularJS docs that are really easy to use and understand.

I decided to start this project after a bunch of conversations with my students from www.angularcourse.com. Many of them are putting a lot of effort into reading the docs, but are finding it extremely difficult to understand what's going on.

The big problem is that the docs assume a lot of pre-existing knowledge. If you know your way around, the docs are reasonable (still not easy), but if you're still new, it's a huge struggle.

Would love to get feedback from you all on if this is a problem that you're facing too.
you have to remember that the only microphones people have any exposure to in regular life is their phone. So it makes sense that any technology that uses a microphone be found in that device.
I haven't seen the obligatory fractal link yet!
For people using Chrome on Android phones you can force enable zoom by going into settings -> accessibility -> force enable zoom.

Maybe there is something similar on iphones?

It seems many people have trouble with this, and even though I have normal eyesight I can get annoyed when the site prevents me from zooming. It does make things easier when developing "native feeling UI" though.
You think the US is alone in torture? This is child's play compared to what happens in China or Russia. You are mistaken if the US is the only one.
Does going through a recruiter typically mean that you bypass HR? I always assumed that HR would be involved regardless.

I've only worked for one company large enough to have a dedicated HR team, and they don't seem clueless to me so far.
google likely already know from your searches for Greek real estate and Ferrari cars. I'm sure search history analysis can reveal depression just as effectively.
The big goal here is to create AngularJS docs that are really easy to use and understand.

I decided to start this project after a bunch of conversations with my students from www.angularcourse.com. Many of them are putting a lot of effort into reading the docs, but are finding it extremely difficult to understand what's going on.

The problem is that the docs assume a lot of pre-existing knowledge. If you know your way around, the docs are reasonable (still not easy), but if you're still new, it's a huge struggle.

Would love to get feedback from you all on if this is a problem that you're facing too.
>which is also the only damn community which has scientists and amateurs sitting in the same room

I can not interpret this in any way where a reasonable person would consider it accurate. What exactly do you mean?
Disney's Magic Highway – 1958
Informant Unapologetic Over Fellow Hacker Sentences
It just seems so trivial, both in terms of the item being targeted and the workaround, in comparison to the presentation of the website with its custom domain and all, that it most likely has some satirical element to it.
I flagged it immediately. Sorry, if people are too stupid to realize that they're just shooting the shit on politics all day, I'm gonna say something. Go to reddit.
Don't forget the "babes". When I think of Sweden I think of http://www.people.com/people/elin_nordegren/
The wikipedia article on intermodal transport suggests close to 70% of intermodal goes on railroads in the US[0]. I am not sure what the breakdown is in terms of origin (ship vs truck) before it gets on the railway, but it seems reasonable that the ship -> train is at least comparable to, if not larger than ship -> truck. But I imagine it depends on cargo and its final destination. If it's more than a day's drive and is a larger shipment (more than 1 container), I suspect that makes it more likely for a train to get involved.

The same wiki article later says trucks are often used to go between ships and rail[1]; depending on what fraction of shipments experience that, it might be an even stronger argument for rail the whole way, if it saves 2x loading/unloading from trucks.

[0] https://en.wikipedia.org/wiki/Intermodal_freight_transport#C...

[1] https://en.wikipedia.org/wiki/Intermodal_freight_transport#T...
Apparently 2/3 of Americans are on the wrong side of this "cut and dry moral issue." http://hotair.com/archives/2014/04/09/poll-68-of-americans-s...
This is indeed the good image that Sweden has for more southern Europeans.
Although the whole Assange case has shown that even there, politics can be stronger than justice.
I think integrity is a better word here than ideals. We're not talking about doing the best you can, we're talking about doing something that you know will do harm. And yes, I've given up the paycheck twice in that situation. Don't pretend you're just like everyone else if you think choosing not to do the right is okay. Because you are not like me. Sometimes you absolutely have to, but by being an engineer in a first world country, that simply does not apply.
You're joking, right?!