skysight-inc/HackerNews huggingface dataset:
I remember teaching myself PHP back in 2001 after the dotcom crash. I still use it occasionally to whip up quick sites on a shared server setup. I have also used to quickly build out some web based systems at my day job.

You can hate it as much as you like, but bad code comes from bad coding practices. PHP has all the features other languages have. It even fairs pretty well in the benchmarks game against its peers http://benchmarksgame.alioth.debian.org/
Absolutely the wrong thread to make these stupid "I want my guns" arguments.
On the hacking front, make sure you have two-factor auth enabled on all of your accounts that support it. That will go a long way in keeping your accounts from being misused.
That's not an incentive for monopolies. They'll take your money and not necessarily use it for new infrastructure. Things like increasing employee benefits (gov't social engineering / "god given right"), cost of maintaining outdated technology because "utilities need to be affordable by everyone!", lobbying, good 'ol fashion profit taking, etc. Why pay for better switches when you're not sure about your labor costs in 5 years, or your own retirement portfolio?
I guess this will only grow in volume. Nobody seems to acknowledge the task of an admin, that keeps things updated and secure and that can implemented preventive security measures. It's mostly hire someone as cheap as possible to install xyz on a rented dedicated box and forget about it.

Add some sloppy password policy, lot's of PHP code that is neither sandboxed or updated and you'll have an easy time to own such machines.

And if it's hacked and disabled it just get's reimagined. I guess most don't even notice if you don't do anything that get's on the providers radar.

But honestly even as toying around with Linux for more than 15 years I'd have a hard time to find a rootkit in daily ops that successfully managed to load as kernel module or via ld-preload.

Graphing the load e.g. munin is sometimes useful but that's more like having some post-mortem tools.
This makes sense. As a big player in enterprise, Microsoft is recognizing that there's a new industry that's vastly under served.
The Forrest Gump of the Internet
Working Alone
How well does that price scale
Show HN: Gift Card contribution service for non-profits/schools/organizations
>It is the supporters of racial profiling who need to show that it is an "actual statistical factor", and that it's significant enough to spend time, money, political capital, and social will, to use.

The first is beyond dispute -- if anything is almost a tautology. If one combats terrorists from Syria, Iraq and other arab countries, they should by definition add a weight to such ethnicities in their profiling for potential actors of such acts. It's not Alaskans or Norwegians who predominantly (if at all) enroll in ISIS.

>To start with, it needs to be more effective than singling out "males" (who really are "a predominant number of actual culprits") and "engineers".

Actually, no it hasn't. Since "males" and "engineers" will be additional weights. Who even said it has to be a single deciding factor?

>* You say you "don't see what's wrong with racial profiling", but you don't even know if it's effective? Do you want to waste money on useless policies?*

Who said that I don't even know if it's effective? It's very effective where it's applied e.g in Israel etc.
[EDIT] I misunderstood the security issues parent was referring to
Good. Maybe they can open a cafe on their campus to sell recreational versions so their people can test their tech and try the product.

It'd make many developers I know want to work for Microsoft.
Is this about Cascading Style Sheet media types? Or MIME types for video, audio, etc.?
It is odd to say that to your phone or laptop, but much more likely if you talk to a robot. There's something about that plastic vaguely human-like thing that makes us treat team as more like humans. (People get upset when they watch videos of researchers kicking robots and making them fall to show how they can get back up and rebalance).

I think we'll see more of this as more customer service robots make their way into retail space.
Even as de-sensitized as I am as an American regarding violent attacks, I found that being both shot and stabbed as incredibly excessive. The violence of both activities at the same time just demonstrates the pure hatred.

RIP
No, your history, bookmarks, and add-ons will be shared among all the Containers.
Just set up a contest for geocachers, who will immediately dedicate hours of free mapping labor in pursuit of a trinket for the most camera finds.
Its even better when you turn on youtube Close Captions
5 Networking Tips for People Who Hate Networking
First MP assassinated since Ian Gow in 1990, who had house bombed by the IRA.
Clearly not as problematic as the C# option.
It's quite easy in firefox. Just have two firefox shortcuts, one of "firefox -P default" which you use normally (default profile) and one with "firefox --no-remote -P" which, on launch, will give you a dialogue to select or create a named profile. In addition, the "--no-remote" bit means you can run any number of firefox instances side-by-side with no issue.
Decent PHP devs are the garbage collectors of IT, the guys that get paid really really well to do something nobody else wants to do.
We detached this subthread from https://news.ycombinator.com/item?id=11915218 and marked it off-topic.
Some Notes about Unit Testing in Go
Just an FYI: based in part on the comment posted her, I have changed the title and URL. It is now called *Working Alone." I did resubmit it to HN here:https://news.ycombinator.com/item?id=11917345

That isn't intended to game the system. It is intended as a courtesy. I never quite know what the correct etiquette for these things is.

Thank you to draw_down for the comment that helped me think through the title a little more clearly.
they've had issues with security around their own systems (payment info leaked, IIRC). And if their systems are compromised, because they have the ability to touch my systems (root password reset, for example), there's a potential breach there.

and they had their own massive DDOS attack which went on for days last winter (dec 2015?)
DevOps Workflows: Automate everything from infrastructure to app deployments
Atomic actually solves somewhat different problem as you think.

It uses rpm-ostree[0] as a basis "to bring together a hybrid of image-like upgrade features (reliable replication, atomicity), with package-like flexibility (introspecting trees to find package sets, package layering, partial live updates)".

rpm-ostree itself is a layer above OSTree[1], which describes itself as a "git for operating system binaries" - "OSTree is a tool for managing bootable, immutable, versioned filesystem trees."

Yes, it can run docker images; but so does CoreOS or any normal distribution and they are not based on rpm-ostree at all.

[0] https://github.com/projectatomic/rpm-ostree
[1]https://wiki.gnome.org/Projects/OSTree
There is one: PureScript. You can build node apps with it and use it with webpack. There's even an Elm-like UI library https://github.com/alexmingoia/purescript-pux
> It would sound funny

It could be made to sound _hilarious_! :-)
Profiles separate your history, bookmarks, and add-ons. This shares all of those things between Containers.
Probably not. But one of my grandmothers managed her older daughter's household--a bunch of kids, fifty weeks a year. I never felt that bad about leaving one son with his grandmother for a couple of weeks every summer.
https://blog.linode.com/2016/01/05/security-notification-and...

Among others, OP (likely) isn't referring to your own box specific security.
Why limit your statement to "the USA and Europe"? Do you imagine the People's Republic of China is some sort of paragon of openness and transparency?
>Also I don't like that it doesn't use much of the STL - it forces you to use classes like "QVector" and "QList"

Which are quite better designed, more lightweight and better suited to the GUI tasks -- not to mention take less time to compile when used. Of course if you want you can also use STL.
When I just finished Andrew Ng ML course and had to solve a real life problem, this was actually the first thing that came into my mind. Too bad I couldn't formulate the problem then(still can't) and that was basically the end of my ML career.
Unfortunately, there aren't yet enough compensation data points for other companies for us to do an analysis. But, we did include a link to the raw data where people have contributed their compensation for some of these smaller companies: https://docs.google.com/spreadsheets/d/1BYn35bPjeUTZY_W_dkAQ...
https://news.ycombinator.com/item?id=10845170
Microsoft Acquires Wand Labs
Maybe I am the only one, but I think just watching the video make it already frustating. Specially with the prounouced window shadows, it doesn't really make sense clarity-wise.
That may be technically true, but programs using the std containers have to convert at some point if the data has to show up in the GUI. There may be some really clever ways to avoid a bunch of copying and string conversions, but by default there will be a bit of overhead converting back and forth.

I'm not sure what you mean by "Moc is not a problem anymore, ...". AFAICT, Moc is still used by Qt and is at least still in their documentation. http://doc.qt.io/qt-5/why-moc.html I'm personally not too bothered by Moc and see it as a trade off of using Qt. I'd prefer a cleaner "pure" C++ solution, but I don't know of any GUI toolkits as nice as Qt without Moc.

Qt is still my preferred GUI framework, and I use it from C++, Python, and lately Common Lisp. My biggest complaints are the way it's been increasingly tied to Qt Creator and the focus on Qt Quick and QML.
They just barely separated the chrome process from the rendering process. All tab content is rendered in the same process for now. Eventually they will separate it further but it's not done yet.
Came here to recommend the same book.

I've also sat in on a couple MBA courses on leadership and management. One thing you miss out on in this book is that level of critical analysis and discussion about real problems from real businesses in the news. Case studies are useful too, but I enjoy the very fresh stuff more myself.

There it was quite interesting to hear the variety perspectives and approaches from how business undergrads going straight to the MBA vs. those with decades of experience in business management. I particularly enjoyed being the oddball engineering undergrad in the room. Josh's book is useful too, but it doesn't hit that level of discussion you have in real MBA classes with dozens of other students IMO.
That's why we can't have nice things...
18 Lessons from 13 Years of Tricky Bugs
Wand to Join Microsoft
Really glad to see this, but I think we really need to assess how much money is available from each of these channels. My experience with some of these channels (e.g. bounties) is that the effective hourly wage is radically lower than offered by any industry position.
I live in California, was born in California, and just yesterday, people claiming to live in New York, but having "come from" Kenya and Israel, knocked on my door and in the course of our conversation, demanded to know where I was "from".

Edit: I guess people don't like reading descriptions of fact?

People from every where seem to exhibit the behavior; I don't think it is specific to California and I'm not sure that it occurs more in California than any where else.
I understood the (some number of grands-)parent comment to be saying "Elixir seems a good candidate [for a compilation target]." If that was not your interpretation, then it is certainly non-sequiter. Re-reading, I think I misread something in a surrounding comment, though I'm not sure what.
Sexual Politics: What Most Women Are Doing Wrong
>While it might be annoying for you (and me to some extent), some people actually need to have a stable system.

If desktop packages like the XScreensaver is what makes your system unstable, then you have worse problems...
Yeah, good point. After a while, it starts to sound like what i imagine people would say in the finance heyday of 80s/90s...

Nowadays:
* Hey, go and create a startup that will make itself ripe for being bought; you'll cash out like mad! What's that? Viable business model? Long term growth? Pshaw, those are just details! Chase that dollar, kid!

In the 80s/90s:
* Hey, go and play with other people's money on Wall Street! Start selling and buying companies, commodities, etc.; you'll cash out like mad! What's that? What are CDOs? Viable business model? Long term growth? Pshaw, those are just details! Chase that dollar, kid!
Machine Learning is fun
Indeed! That combination was pure magic as a kid.
Key Measures Show Inflation Close to 2% in May
What is the legality of marijuana on the federal level in the US? I was under the impression that even if marijuana is legal on a state level you can still get in trouble for it.
I don't know if there's any source with a wide variety of formats, but there are various sites with some samples. Here's one for H.264 videos, mostly movie trailers, encoded using various parameters:

http://www.h264info.com/clips.html

I've used it before when I built a system that processed video files.
I'm a bit late here, but maybe https://en.wikipedia.org/wiki/Apache_Drill ?
Google Trolls Everyone with Android Namey McNameface
New York JFK to Tokyo is 14 hours on a Boeing 777-300ER. JFK to Taipei is 16 hours. Those would be the perfect niche for a supersonic flight.
Personally, I consider it metaphysical because it says something about provability (since, deep down, proofs and programs are the same thing). Truth beyond proof (or at least beyond what's feasible to prove) is bizarre and mysterious.

Metaphysics (and physics) is concerned with uncovering the fundamental truths of the universe. Computational complexity indicates this may be unachievable.
More: https://news.ycombinator.com/item?id=11136948

And the parent discussion: https://news.ycombinator.com/item?id=11136399
video, documents, whatever.
The biggest pothead team at Microsoft was the Internet Explorer guys. So if you want another 20 years of calculating bounding rectangles incorrectly, by all means let's get the rest of the company baked.
I love to click on a title, expecting an article, and just getting dumped on a product homepage.
Fully agree.

But notice that a bit-error in a text file in plan storage has some consequences. That same bit-error in a text file in a RAID (or encrypted storage) has very different consequences.

Some bad ideas are just worse than others.
I'm disgusted at how this publication is using a click bait title to describe an otherwise perfectly fine startup, for their own pageviews. No journalistic integrity whatsoever.
The Elastic Building Block Runtime (EbbRT)
Interesting, I'd never checked that log before, and I just noticed a failed login (though no two_factor_requested) from an IP address in Brazil.

I'm gonna change my password just in case.
I expect it'd be more helpful to force it on managers in a management course. That way when ops says "This thing you paid an outside consultant to develop is fragile as hell and can fall over at any time" they'll be inclined to listen.

And on developers, so they realize that reliability is as much a requirement as any of the functional requirements they were given.
So all my company will be blocked at once.
Right :-) I forget to add the "sarcasm" tag.
This is rather melodramatic. People don't care about things like Intel ME because for almost all of them, they don't ever affect their lives in any direct way at all, not because they've been beaten into submission and are in "survival mode."
Show HN: Generate passwords that are easy to enter on mobile
He's known for being a drug addict, a misogynistic parasite and an asshole. Don't take it from me. He even says so himself. Arguably he's lost his talent, and has ended up as a true manifestation of the worst Hollywood has to offer. I find it unbelievable that a company would choose Sheen to front their product.
> And this is why monopoly of one giant monolith is bad, in any area or case!

The Intel/AMD duopoly in this case is just as bad, as AMD has comparable backdoors in its hardware. The whole x86/x86_64 architecture is compromised.

> But maybe they were on the track!

https://www.reddit.com/r/stallmanwasright
It's not hilarious, it's offensive. Sheen has a history of abusing women. http://jezebel.com/5774374/charlie-sheens-history-of-violenc...
macOS Sierra's Terminal help menu searches man pages
I read it to say that they will jointly, with you, own new IP that you generate during research on the engine. That is to say, you own the IP from your own research by default, and the license says they will own it too.
Microsoft becomes first mayor tech company to serve marijuana trade
It will likely be ignored. How do you prevent NSA from anything.
So much uneducated hate going on in the comments section here. As someone who's developed high load projects in a few languages (C++, PHP, Node.js, ColdFusion, Rails) I can say with absolute certainty that any of the modern, popular languages are just as good as the other. What some may see as a slight, others will see as a strength. It's up to the programmer to write structured, thought-out code. Heck, one can argue that too much forced structure can be bad for performance (assuming skilled programmers are at work).

As an aside, my favorite syntax is C#.

But at the end of the day, the author has the right idea and it seems many of you don't. If you're a skilled programmer the language is a preference, not a precursor to what your app will turn out to be. If for any other reason than platform related your code turned out bad it's a good indication you're not one of those skilled programmers.
Not if the implant is writable. The xNT 13.56mhz NTAG216 RFID implant has 888 bytes of writable memory that could be used in this way.
What "foreign regulation" should we clone?

Suggestion: don't use circular logic when debating.

I acknowledge private sector collusion, and the answer is more competition. More regulation (usually influenced by the existing players) harms market entry. You need to constantly update the X & Y regulations so that start-ups have a fighting chance. That's painfully slow right now.
Personal attacks are not allowed on Hacker News. Neither is creating accounts to break the HN guidelines with. Please don't do these things here.

We detached this comment from https://news.ycombinator.com/item?id=11914829 and marked it off-topic.
For video and audio, the best place is by far https://samples.mplayerhq.hu/, from the devs of MPlayer
I'm not sure about Firefox's implementation of it, but throughout computing I'm seeing more and more need for this kind of thing, not to mention something softer than full user-account switching for handing a device between family members or teammates. As everything gets more personalized and more tightly bound to the user by learning their habits and typing and voice and all that, and simultaneously in a social networking context we broadcast stuff about ourselves incidentally (like Youtube learning your viewing preferences and likes) that the ability to switch context neatly and quickly is becoming more important.
Serious question because I'm curious: what is the problem with the MOC?

Sure, its another build step, but so what? I mean, most large complex software has numerous build steps and MOC is pretty straightforward (and if you use QMake or QtCreator, its pretty much invisible to the programmer). I'm trying to understand why people dislike it so much.
Of course, the old IE box model is what everyone else overrides the default to match nowadays. Maybe they were on to something!
I actually find their container classes to be much more usable than the STL containers. Obviously that locks you in to Qt, but if you're already using it for a bunch of other stuff in the same application, that seems like a pretty minor concern.

I also don't understand the hate for moc. It's certainly not the most elegant solution, and far from perfect, but it's effective and 99% of the time you can pretty much forget that it's even happening in the background.
Massively underserved. I live in Denver and have friends with ownership stakes in local dispensaries. The quality of their software solutions (mainly POS/Compliance) is laughable.

Edit: This (http://www.mjfreeway.com/) is the defacto standard. I kid you not it went down for 2 weeks ~a year ago after scheduled maintenance went wrong. At the time it had ~50% market share, this left dispensaries around the country doing all their compliance and POS by hand for weeks.

Amateur hour.
Actually? This would explain a lot.
Thanks.

Yes, I do intend to stay outside the fence...
Men Are Afraid to Take Parental Leave. Guess Why
This is what Star Wars looks like running on Magic Leap
And.... yet, 2 flights in the last few years, I explicitly did not have to take off shoes/belts, and the TSA agents were rather annoyed that we didn't somehow intuitively know this.
I get what you're saying, but often the bad drivers are because users are installing non-recommended drivers to begin with. Or installing known buggy software that experienced users like us would have avoided.

I've seen users place PC and Macs next to radiators or surround their device with folders and reference books, oblivious to the fact that computers can overheat and need ventilation.

I've seen users trying to use Excel as a database, then get impatience when Excel starts hanging or Windows starts running slow, and retaliate by pressing more buttons more rapidly thus locking the entire OS up.

I've seen users who would just switch the power off at the wall even night. Overtime NTFS would corrupt to a point where random crashes would happen.

I've also seen people physical attack - kick and thump - their computer when it runs slowly, an application crashes, or just through bad temper. This can damage the HDD and lead to more crashes.

There are also users who think they understand computers, so they like to tinker with lower level settings (IRQs, paging, CMOS settings, driver options, etc) then get surprised when things behave unexpectedly.

Most recently though, I had to explain to one guy who installed his own motherboard and accidentally cut a deep scratch into it, why his random crashes are potentially his own fault.

So I definitely blame users for most PC crashes. Even with the few number of kernel panics I've had over the last 15 or so years, I can attribute most of them to myself. eg I was experimenting with undocumented Windows APIs to change low level behaviors. Or I was experimenting with running non-supported file systems as my main OS drive.
I'd really like to hear a followup on how these socks compare to Thorlos and Balegas.
Federally, it's still illegal. However, there have been statements that they aren't prosecuting or pursuing legal action in states that have legalized it [0].

[0]: http://www.denverpost.com/2013/08/29/federal-government-wont...

Edit: For the record, it would still block you from getting a US Government security clearance, and you can still run drug tests on employees and decline them for failing.
So, they'll be plugging in the TVs^H^H^H Monitors for some of the more out of it customers???

(with apologies to Cheech & Chong)

Green Screen of Somnolence???
It is indeed illegal on the federal level. Currently everyone is just an executive order away from crack down on all of it. The guidance that the Obama Administration has been using is not to enforce the law in states where it has been legalized (though they have been cracking down on cases where dispensaries open within 1000 ft of a school). That said, a new president could do whatever they wanted and a crackdown would likely result in an eventual supreme court case that the states would probably lose based on current precedent.