skysight-inc/HackerNews huggingface dataset:
> Looking at prime numbers written in base 3

I HAD THE EXACT SAME IDEA. But I would probably have reached no conclusion.
Learn advanced css and JavaScript if you want to go further than codeacademy
Oh man, all this.

I thought Autopilot was nifty but it wasn't until I slogged through ~40 minutes of rush hour without touching the pedals or wheel when I realized how awesome it really was.

It's useful at-speed but the killer app really is rush hour traffic.
While progress=false does decrease install time a little, it's still very long. And the output is incredibly verbose - I'm doing something similar to the OP in automating builds of Node apps and npm is easily the biggest headache in the process.

BTW, "npm install --production" installs all dependencies but not devDependencies (which you can get by doing "npm install --save-dev <package>"). That way you can separate dev and prod dependencies within the same package.json file.

Feels a little backwards that you specify dev on module install but prod on app install. Maybe --production being the default and --dev being an option makes more sense, but that would be one hell of a breaking change.
Strangely nobody has ever caught this on video. Just a handful of anonymous people claiming "I totally didn't hit the wrong button in the UI!!"

Now, sure, I'd agree it should be harder to accidentally upgrade your PC. In particular for layman users. But I am generally skeptical that this is any more than just user error until proven otherwise.

I have a Windows 7 PC I use regularly, I too get the upgrade prompts, but it hasn't upgraded itself just as one counterpoint.

Someone needs to catch this on video.

PS - I flagged this article on purpose because I don't consider a random Reddit thread to be a legitimate source.
Yup. I immediately thought of a VW microbus-like, with people sitting around a table in back playing boardgames.
> I've never experienced withdrawals

I don't believe you. How long have you gone without it? When did you start drinking caffeine? What's your definition of withdrawal?
The hardware is compatible, but the software isn't. From what I understand, the card enumerates what applets it has installed and the POS picks the first one it knows how to interact with.
So if Alice fails she is halfway through her sequence. But if Bob fails he needs to start over.

That makes sense.
> quicksort O(log(n)).

Quicksort is O(n log n) average case and O(n^2) worst-case.
Did you build your own centers? Running our hosting we had far more constraints on our power than anything else. Even though we only had 20U of equipment we ended up taking a 44u rack. Our disk arrays being the largest consumers. This made the case for moving to SSDs even stronger.
> Expresses a similar idea, but in terms of priorities instead of "don't do that at all".

The programming language affects a lot the criterion. Some are known to be "correct" (like Haskell), others "fast" (like C) ...

Given an infinite amount of time, I suppose the three can be reached in any language.
You did agree if you set Windows Update to automatically install updates. The upgrade to Window 10 is being treated as an "update".
Stripe – Move Fast, Don't Break the API
Right now, they talk over RPC. In the future, we might embed Rust libraries as C libraries into go and other languages.
Fox News' “pretend voting day” voting system exploit
I use Windows Media Center on my machine so I'll be pretty irritated if it automatically upgrades - MS removed it in Windows 10.
From YC to Liquidity: Behind the Curtain
I used to have a version of that Dilbert comic as a forum signature for a while, except I hacked a little PHP script so it would insert a random number instead of "nine" into that panel (still repeated), different on every reload. Just to confuse people :)
> Why bother?

Because the process might tell us something interesting and useful about AI and ourselves.
Microsoft’s official website for Edge Extensions goes live ahead of release
Lua, I think.
Reminds me of:

1. novice - follows rules because he is told to

2. master - follows rules because he understands them

3. guru - transcends the rules because he understands that rules are over-simplifications of reality
Fitbit for Addicts Could Predict Relapse
I don't think the parent was talking about restarting from a full stop, it looks to me like he was saying that his car's radar-cruise system won't actually stop the car in heavy traffic, so if you're not paying attention and don't brake manually in time, you could rear-end someone.
How does an autonomous car reduce the need for infrastructure investment? A bunch of commuters in self-driving cars will clog the road just as much. Less need for parking, maybe; less need for roads, no.

Maybe you could squeeze a bit more capacity out of freeways by running cars at high speed at short following distances. But a lot of congestion occurs at intersections and self-driving does little to solve that.
Changing your Gmail password is not necessarily what you need to worry about because that wasn't compromised. HIBP told you your account at other places e.g. Heroes of Newerth was compromised. So if you used a password for that account that you also used in other places, then you're vulnerable. This is why password re-use is a really bad idea.
USA uses TPP-like trade-court to kill massive Indian solar project
What’s LXD?

At its simplest, LXD is a daemon which provides a REST API
to drive LXC >containers.

Thanks, that clears it right up.
Awesome work! I love how simple it is while still adding so much.

I know you've mentioned this elsewhere, but I was a bit confused by the tickets. I get what they are, but who is the intended user?

One feature I'd like to see is custom statuses. I personally am a big fan of "In progress -> Pending deploy -> Verify -> Done" instead of just "Done". It makes it really clear what just went out with every deploy, and allows the person who originally filed the issue to be the final arbiter on whether or not it was actually solved.

Another cool things would be integrations! If you have a ticketing system, it would be great if that tied into the tools that the customer support teams use. I use intercom myself, and it'd be handy if I could create a ticket out of an intercom request and remember to follow up with that user after the fix is deployed.
Troy addresses this in this blog post: http://www.troyhunt.com/2015/11/im-sorry-but-your-email-addr...

IMHO it's not worth the 16 gigs of storage, the time it takes to sanitize, process & store all the hashes, nor the incredibly minor risk that somebody could intercept it going over HTTPS from your browser to his app server - data which is already public anyway.
This, I use this all the time with emacs binding and I don't see the problem with scrolling.
I always felt classes in emerging fields were a little premature. It seems like it always takes a few years for professors to learn how to teach it, much less what exactly they should be teaching.
We probably "pulled forward" every two months or so. Back in early 2015, sometimes we'd have breakages that took a bit of work to remedy. But post 1.0, the language has been very stable.

As usual, we actually have more challenges pulling the libraries forward than the language.
Why not VLC?
My travel hacks for long flights
This happened to my co-worker just the other day. He develops native windows software so it was pretty annoying for him.
The null hypothesis is this: "There is a 'self' which persists through time and is the locus of one's identity."

It is this 'self' that people generally mean when they talk about the soul. We have a hard time giving a metaphysical analysis of what this soul is, but that does not mean it does not exist. As it is, the soul (in this functional sense) provides an explanation for too many things that would otherwise be inexplicable.
Appreciating civil liberties and appreciating civil servants are two unrelated things. If I appreciate one, there's no reason why that should force me to appreciate the other. More specifically, civil servants like the president who chide me for "fetishizing my phone" over the needs of law enforcement are not aligned with the civil liberty goals that I hold dear.

And frankly, I have no intention of showing /anyone/ that I appreciate them as a civil servant because there's not one elected civil servant today that appreciates civil liberties in the way I do, and tearful pleas to the contrary will not easily convince me that they mean what they say. And if I could humbly suggest a life lesson to you as a student from someone who's likely been alive a number of decades longer than you have, they shouldn't easily convince you either.
The Driver Assistance Package ($2500) on the CLA250 brings the total of the base model to ~$35K. It includes DISTRONIC PLUS (which regulates distance and speed), Blind Spot Assist, and Lane Keeping Assist. I'm not sure what that entails in the newer models. My 2013 MB seems to only alert me if I'm drifting onto the shoulder. I don't think it corrects it for me.
SMALL EMPIRES – THE STARTUP THAT MAKES Your STARTUP LOOK COOL
This isn't really true anymore. Namespaces, as ugly as they are visually, plus autoloading plus a package manager that handles it for you allows quick structuring of a project. This can be configured to fit whatever conventions you prefer but the community has put out there a set of good conventions in the form of PSR docs so you can get started quickly.

The whole mixing of HTML with PHP with SQL is bad form and is widely discouraged. In fact, this code is often seen with usage of mysql_ functions plus manual escaping and interpolation. This is discouraged to the point where that library has been removed.

I'm no evangelist, I prefer other languages, but with these "good parts" so to speak, the language is usable and supportive of good structure. We have had these improvements relatively late in the game but they do appear to come thick and fast nowadays.

There are many warts in the language. Sometimes I'm angered when very good ideas for progress are shot down via committee. There has, however, been improvement since PHP 4.
devops is not a job title. It is a way of doing things.
I am lucky to have a nervous disorder that keeps me from drinking caffeine. Any amount and I get a headache. I can even tell how much is in something by the intensity of my headache. It is surprising how many things have caffeine.

The worst soft drink is orange soda. There were orange soda ads many years ago that used the Beach Boy's "Good
Vibrations".
Just curious, why do you use a different e-mail account for every merchant? All you need is different passwords, and then maybe label filters if you don't want them ending up in your Inbox.
http://www.infoworld.com/article/3043526/microsoft-windows/m...

It's a mainstream journalist so mileage might vary quite highly, but probably a little more trustworthy than a Reddit thread. At first they talk about the Reddit thread but then say they caught it on their own box.
i actually went through this debate a few days ago when deciding what to use for realtine updates on our new platform. I had previously used socket.io but decided I'd try just using straight websockets and not bothering backporting realtine updates to IE9. Really great decision IMO. The basic Websocket API is actually really easy to use. i got everything up and running in less than a day, the server is less than 100 lines, and the client side code is about 50 lines and completely resuable and DRY wherever i need realtime updates. Compare this to the 100kb (minified) and all sorts of boilerplate you have to write for socket.io, so in my opinion you're better off with straight WebSockets these days.
It's interesting to me.
I like Lisp and Python, but Ruby pays the bills these days -- so I guess I like that too. And I consider both Python and Ruby to be semi-lisps.

Take from that what you will.

I find Ocaml, Ada, and Rust very interesting -- but have only dabbled in them. I also dig the hell out of C, but haven't used it seriously for nearly twenty years.

I dislike all languages named after hot caffeinated beverages, and only grudgingly accept anything that runs on the JVM -- even ABCL and Clojure.

And I have finally begun to like (modern) SQL -- though I would do SQL92 grievous bodily harm if it were possible.
Does BountySource give bounties for itself?
Machine learning gets kinda scary, though. For one example, discrimination with ML is super easy. Check out fatml.org for instance. Also, with ML it's really easyfor an amateur to over fit like crazy and draw spurious conclusions due to poor methods. People think they have an intelligence when they instead have very finicky tools

Edit: another pointer here https://algorithmicfairness.wordpress.com
That sounds more like a problem with other drivers than with the cruise control system. Most drivers leave far too little distance between themselves and the next car in moderate to heavy traffic.
> Then again, I'm reminded of that Paul Graham article about working with newspapers

Precisely:

http://www.paulgraham.com/submarine.html

http://www.huffingtonpost.com/entry/koch-electric-vehicles_u...
Apparently they make up ~7% of internet users. So my guess is, yes.
The FBI has a new plan to spy on high school kids across the country
I think you're thinking of Media Player, not Media Center.

Media Center is a whole DVR package, consumes TV streams, TV guide data, recordings, can be connected to an Xbox 360... and so on.
This is pretty weak, IMHO. You should at least use on-the-fly PGP encryption like Mike Cardwell detailed: https://grepular.com/Automatically_Encrypting_all_Incoming_E.... You basically just add the public keys to the exim account and it uses a transport filter to look them up and encrypt automatically. With a properly configured client, you'll never have decrypted data on disk.
Now with more ads, spyware, constant logging of everything you do to Microsoft, and telemetry!

No thanks. I guess MS wants to cede the entire high-end market to Apple and Linux and re-position themselves as a bargain basement low-end vendor of spyware ridden junk.
> lane change camera is pretty awesome

I didn't find this to be an improvement over the right side mirror. The optics of the mirror are such that there is practically no blind spot on the right at all. Cars on the right vanish from the mirror only when they are right next to my car--at that point I will see the car through the window itself when I glance over to the mirror.

It's the left side that's more problematic. Oddly the left side mirror does not have a true blind-spot mirror. There is this left part of the mirror that has different optics but it doesn't cover the whole blind spot. So there is a point around the left passenger door when the car is completely invisible in the mirror. This could have been remedied either with a true blind spot mirror on the left (I think Ford Fusions have these) or with a camera. Instead there is neither. I might just glue a $5 blind spot mirror on there to remedy something that could have been standard equipment.

Sometimes they made strange choices with this car.
Windows will probably be irrelevant on the server and pretty soon, so will Windows as a dev platform.

They already made .net core open-source with support for Linux and OSX. SQL Server happened as well. They can see the writing on the wall.

This is the age of containerized micro-services, not some monolithic Server OS I can't easily provision on the fly.

I bet fewer and fewer startups are choosing the MS ecosystem. They've definitely lost the "cool" factor.

Go to any non-MS centric dev conference and see the future - nothing but OS X for dev work and Linux on the server.

Heck, even Visual Studio Code is their attempt to capture mind-share in that market.

They will still rule the home desktop and office stuff for the foreseeable future, but they've lost mobile and server, I think.
I think you might be missing half of what tmux does. The tiling/multiplexing part is one half. The other half is the fact that it spawns a session that can run persistently in the background and which you can connect to from anywhere. You can also disconnect, let it sit there for a week, come back and it'll still be there exactly as you left it.

I use tmux as my primary "IDE", and it's absolutely indispensable being able to connect to my tmux session from any computer anywhere. I actually run tmux on one remote machine, and from my tmux session I ssh to 15+ other machines. I also use it as a tiling window manager, and I make full use of that aspect of it by generally maximizing my terminal so that it fills up a standard 27" 1440p monitor. If I'm working from a small laptop, it's a little less ideal, but all I have to do is select the right window and then use tmux's built-in zoom feature to maximize that one window. It works beautifully overall.

i3 is fantastic, but it can't replace tmux if tmux is being used to the full extent of its capabilities.
I am curious to know, with so many disks densely packed in a 4U configuration, I am guessing there is definitely increased heat generation and not to mention vibration. How do you handle these? Also, does it have any effect on MTBF?
Dark patterns http://darkpatterns.org

"I clicked 'update security' and it gave me Windows 10!"
I'm curious about the answer to your second question. I was under the impression that they were under obligation to do so, albeit not immediately.
> Ruby guys can always do the argument "Our code required 50% more servers, but it increases developer productivity by 50%, and since developers cost more than servers - it is a win".

I've always wondered on the ROI of saving server cost at the expense of velocity. After all, server cost is for the foreseeable future, but development is just once (yes maintenance, but that is very small if you stop adding features).
That isn't an account - Gmail sends anything with a +whatever in it to the address without the plus. So, me+mine@gmail.com goes to me@gmail.com.

It's useful for exactly the filtering you are describing - and I also use it to track which sites sell my address to spammers (though it's such a simple regex replacement that I'm sure some hide doing so)
Anonymous declares 'total war' on Donald Trump
Unleaded fuel has saved many lives and probably prevents a lot of crime. There are plenty of studies that show a correlation between lead and crime rates.
This comment spawned a pretty good discussion thread. Yet people down voted it because they disagreed. This is not Reddit.
I have a similar problem. I can't listen to podcasts while doing anything important and I don't have a long commute. However, I've found that listening to news podcasts at an extremely low volume immediately before sleeping to be useful. This allows me to listen to the podcast if I concentrate, and zone out and fall asleep if I don't.
And you send it to your friend to his gmail account, a NSA proof system.
"Millennials have it worse than any other generation, study says"

Really? Worse than the guys who were teens in the 60s and got drafted and sent to Viet Nam? Personally, I'd trade college debt and a slow job market for being sent to war any day.

"Millennials. those born between 1980 and the mid-90s, are earning significantly less than the national average"

I'd expect that people who are near the beginning of their careers would be earning less than people who are mid-career or nearing retirement. Comparing them to the national average doesn't make sense. You'd need to compare them with what people in previous generations made when they were the same age.

Also, why does the graph in the article, which shows the rate of change of income for various age cohorts, omit the age groups from 30-64 (most of the working population)?

The original article in The Guardian that this seems to be based on is less click-baity and more substantial:

http://www.theguardian.com/world/2016/mar/07/revealed-30-yea...
This is the exact reason I have been avoiding 10. I still use the DVR capability. I know I don't have automatic update on, but still getting paranoid about it reading all the issues people are having.
I am currently evaluating http://www.faroo.com/hp/api/api.html

Anybody here has any thoughts/experience with it?
That's definitely not what most people mean when they refer to the "soul". And using "soul" to mean that is both confusing and unhelpful.
I use Drupal with the built-in aggregator module for the same purpose.
While it comes down to some level of personal preference - VLC is not faithful to source material in regards to color balance/contrast and this is apparent in scenes with shadows. VLC will have a "washed out" look. Some users prefer that "washed out" look though (for scenes with very heavy shadows it often does look aesthetically better) but others prefer faithfulness to the original.

MPC-HC is more faithful to the original product - so I recommend it over VLC.

Example: http://i.imgur.com/TJng0HW.jpg

E:

Not my image and I noticed the frame is different. I can assure you that the difference isn't due to being different frames. You'll find no shortage of better examples by searching "VLC washed out".
> But it's otherwise known for quality, more-or-less objective journalism

Sorry but no. Ever since Murdoch took over and replaced the editors the quality has noticeably dropped with a lot more inherent bias even in the non-editorial content.

And within the editorial section the change is pretty clear. It's shifted from being centrist to at times being on the hard right.
I earnestly wonder what percentage would've recovered with no medication.
(2007) Evidence Based Scheduling
Why <C-z> <C-d> when <C-d> does both? To each their own.
Does your father still have the laptop? If so, ask him not to use it until you can get hold of it, and when you do I'd suggest running a Linux live distro on the machine with tools to recover deleted files, there's a decent chance you'll be able to recover many of them.

I've had success with the tools included in Trinity Rescue Kit before, so I can recommend that to you. I've used it to recover a bunch of pictures that were lost with a drive reformat.

http://trinityhome.org/Home/index.php?content=TRINITY_RESCUE...
If you love super fast virtual DOM but don't want all the stuff that comes with react (including the learning curve), Vue's awesome. The same site has a bunch of other Vue tutes: http://coligo.io
Yes, I saw that error after the edit window closed so I couldn't fix the typo. There has to be an extra "n" because qs has to touch every element at least once so a baseline complexity of O(n) is unavoidable.

Hopefully, it didn't detract from the point that Knuth was talking about premature micro-optimizations and not design/architecture/algorithm optimization. Some inexperienced people are repeating "premature optimization" to try and win internet arguments instead of using it as nuanced advice to avoid wasting time.
To me (who, to be fair, has no experience in this area), it seems that the only long term solution to this liability issue is a government-funded and controlled fund accompanied by legal changes prohibiting these cases from going to "normal" court.

For something that is a demonstrable way of saving huge numbers of lives, but still carries some risk, using the model of the vaccination side effect fund seems like a good one to me.