skysight-inc/HackerNews huggingface dataset:
Similar comments from a University of Texas, Austin commencement speech by Adm. McRaven [1]:

"Every morning in basic SEAL training, my instructors, who at the time were all Vietnam veterans, would show up in my barracks room and the first thing they would inspect was your bed.

If you did it right, the corners would be square, the covers pulled tight, the pillow centered just under the headboard and the extra blanket folded neatly at the foot of the rack—rack—that’s Navy talk for bed.

It was a simple task—mundane at best. But every morning we were required to make our bed to perfection. It seemed a little ridiculous at the time, particularly in light of the fact that were aspiring to be real warriors, tough battle hardened SEALs—but the wisdom of this simple act has been proven to me many times over.

If you make your bed every morning you will have accomplished the first task of the day. It will give you a small sense of pride and it will encourage you to do another task and another and another.

By the end of the day, that one task completed will have turned into many tasks completed. Making your bed will also reinforce the fact that little things in life matter.

If you can’t do the little things right, you will never do the big things right.

And, if by chance you have a miserable day, you will come home to a bed that is made—that you made—and a made bed gives you encouragement that tomorrow will be better.

If you want to change the world, start off by making your bed."

[1]: http://www.utexas.edu/news/2014/05/16/admiral-mcraven-commen...
My significant other really struggles with feeling over whelmed. If she feels overwhelmed she doesn't do anything. If we end up doing one thing together to finish it she just eats up the rest. She isn't lazy and she isn't unmotivated. This idea really could work for some people.

This should actually help a lot of people.
Why can't we just have the choice to apply as soon as it's ready?

If you don't want to apply the patches as soon as they're released, then you'd be more than welcome to put them on hold for 4 weeks yourself when it's more convenient.
This is awesome! How much weight does it add compared to traditional autopilots?
It's a standard to use the imperative mood in writing commit messages - the Linux kernel enforces this[0], as do a lot of other projects.

It makes more sense if you consider a commit to be an independent "thing" in a list, and you follow the list from start to finish to end up with the current repository state, each commit being a command.

[0] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.g...
مسلسل Pretty Little Liars
Awesome little site. I've been researching habit forming lately since I want to start doing this myself, but not with just small projects.

This is the best resource I found on habit forming: http://jamesclear.quora.com/How-to-Build-a-New-Habit-This-is...
Yeah until they open source something else important to their platform (e.g. the NT kernel, DirectX, Trident/Chakra) saying they've fully embraced open source is a little premature.
MS did the right thing. A huge barrier to FP adoption is the unnecessarily obtuse terminology. In playing around with FP languages I often find myself having to re-look-up basic syntax because the terms are simply so obtuse that they won't "stick" in my head.

I think it comes from FP's rooting in mathematics, and math is itself unnecessarily arcane.
I agree with you and mentioned elsewhere in the thread that patch Tuesday was one of the best moves MS made when they started taking security seriously. Enterprises could now schedule change management around the dates far out into the future which leads to a predictable update schedule downstream.

Before, many enterprises rarely patched because the testing involved was a huge pain and it fell outside what they typically planned for.
Maybe about 10-15 minutes depending on your reading level and ability to fill out a web based form?
All connections have packet loss.
Getting an Nginx error.
If you're in a situation where you test the effects of patches before applying them, then if Microsoft releases the security patch early, YOU have the option to wait and apply it on the regular patch day along with any other patches in the normal schedule.

Releasing the patch late (i.e., on patch day) makes that choice for everyone.
This is in reference to the partner version of VS.
I shit you not, MS is going to buy github.
Страшное слово “ продажи”
RJD2 only has about 100K followers on Spotify. For comparison, that is about the same amount as two of my favorite bands, Opeth and Nick Cave & The Bad Seeds.

It's not Spotify's fault that RJD2 is only as popular as obscure Swedish death metal or obscure 80's folk goth music.
Eh, ethnicity wasn't mentioned. You took that leap yourself ;)
It's extremely naive to think that governments and coroprations worldwide would intrinsically "do good" if this type of product was open source.
New Year, New Skills for a Better Life
Oh, "americanprogress.org". Never mind.
I thought it was very meta amusing that the author was trying to tell users how to write commit messages when the number one rule of commit messages in my book is explaining WHY the commit exists. Why does this patch change this or do that. So it was amusing when he lists commit rules without explaining why they are rules. But I was saddened when I got to the end and missing from the list is 'explain why'.

Why did you 'Add feature...'? Why did you 'Move cursor to...'?

I did stuff
// Increment i by 1

Why I did stuff
// Increment i by 1 to not have a off by 1 bug
3 Ways to Adjust Your SEO Strategy in the Wake of Pigeon
This time, the "ready" will be the following Tuesday. Google didn't respect this, effectively providing the 0-day to the world.

There are bad guys looking for 0-days out there. If they learn about the vulnerability from the patch, at least the world has the patch before the bad guys do. Now it's the opposite.

Edit: See _wmd's explanation about the technical details of all this in the same level of the answers.
Say you want to apply a certain commit to your branch, it makes more sense to "add" a feature than to "added" a feature.

What does a commit do? It adds/fixes/breaks, it doesn't added/fixed/broke.
"There's no software setting to fix that. "

This is 100% changeable with VCDS
Constructing a collection of things is just one case where a for loop is nice. Would be nice to see some more interesting examples of how we can use streams.
None that Google can update.
Who is Google to dictate to Microsoft when to release their patches?
This was exactly what I was thinking when I read the code. The goal should not be to remove loops. As a language construct there is nothing wrong with loops itself. The goal should be to make more readable and maintainable code, preferably without increasing verbosity. The functional alternatives posted here are not actually code quality improvements and should not be presented as such.
When you are the largest provider of the worlds desktop OS, you get exceptions.
I lived with my girlfriend's parents many years ago and at the time her father was building a Morris Minor 1000 and a Triumph Bonneville bike (in his spare time). The final results were showroom condition vehicles; absolute works of art. I was fortunate enough to be there for most of the duration of the projects.

I learnt _a lot_ about how vehicles work from those days. It was fascinating working on machines like that from first principals. Every single thing was stripped down and rebuilt from several dead vehicles. Even every last washer was cleaned up and reused.

One of my main take aways was actually his approach to working on the projects. Every day he would complete at least one thing on each project. Sometimes it was as small making a phone call, or as large as fitting the engine into the chassis.

It might have taken a couple of years but he got there in the end.
Microsoft Adds Visual Studio to GitHub Student Pack
The for loop is actually a poor way to do it, IMO. Even if behind the scenes, these are implemented via conditional gotos (like C), it may not be obvious what
s going on to someone else who isn't familiar with the syntax. I'd opt for the if-goto loop each time when it's something like halting when you find what you're looking for.

To wit: You can expect others to be familiar with basic features of the language and ecosystem, or prepared to learn them.
https://semaphoreapp.com - CI

https://coveralls.io/ - code coverage history and various stats

http://www.appveyor.com/ - CI for .NET
I disagree. Regardless, Objects aren't Java interfaces, so what are we even discussing?

Uncle Bob wasn't arguing against the general concept of an interface, but about its specific meaning in Java.
With the patch ready before the vulnerability release, there's no 0-day available to the all nefarious guys in the world. Now thanks to Google, there's one. (Edit: See _wmd's explanation about the technical details of this).

It's not that just the big companies are affected now: all users are.
Realtors Applaud Six-Year Reauthorization of Federal Terrorism Risk Insurance
I'm surprised he didn't mention using kebab-case vs snake_case in his URLs section.

Google recommends kebab-case and will afford a small SEO bump accordingly.
I wonder how people would have responded had the disclosure come from an independent security researcher instead of Google, knowing fully well that a patch is to be rolled out in 2 days.
I disagree. The benefit of having the standard terms is they are the same in every FP library you use. If you spend the time to learn and internalize them within one, it'll be the same in every language or library that implements them. I don't understand how map, filter, collect, reduce are obtuse or arcane.
The rate at which security vulnerabilities are reported/abused isn't predictable.

Please don't sit on a fix until the time is more "convenient", give it to me now and let me be the judge on how important this security patch is to me.
A) Some systems programming is in user space.

B) A browser is about the beefiest user space program of which I can think at the moment.
> Then again what does Google care, they don't use or support anything Microsoft, so it doesn't affect them

What does Google care? I get the impression they care about not much else than ads and HUGE NUMBERS of users.
How Taiseer Joudeh, Built an Incredibly Successful Technical Blog in 14 Months
Those aren't the worst offenders. I'm referring to curry, cadr, lambda, monad, etc.

But map is confusing: it's also a data structure. "Wait, does map() create a new key-value dictionary?" Filter and collect are okay. Reduce is pretty arcane but tolerable, but the actual operation feels intuitively closer to "categorize" or "group."

My point about math was cultural. Math seems to revel in having its own peculiar and often even domain specific (even within mathematics!) terms and symbols for things.
You're correct that my gripe is with the subtext.

The statement itself is too vague to be accurate or inaccurate.
WordyBirdy
Too much architecture for what? For bankings? For medical devices? For the safety-critical avionics software? For high-frequency trading? For manufacturing control? For weapon-systems? For power-plant command and control? For government ERP running on mainframes? Because Java is used for all of these things.

Yes, some bits might be too architected for your MVP web app that you're going to re-write in a year (and even that depends mostly on the libraries you're using; there are plenty of lean libraries for the web-startup crowd).
We had similar issue's.
Our Designers couldn't design with that big Django app, so we split it up.
Everything talks ReST to a cached AngularJS Client.
We still have Authentication in Django and two of our Microservices are running with Django aswell. Some things were reimplemented in Golang, as we tried some new things out.

What people here are talking is mostly dumb, since Microservices are better in a lot of ways especially when it comes to multiple Developers.
Currently my company struggled a lot with Code that got changed by two guys at the same time, which was hard to fix.

We had less unit tests than now, since they were too complicated at a certain time.
"Do no evil"

Unless it hurts a competitor and is bad for their customers.
Honestly, I don't understand the excitement over this. For all the conspiracy theories, Palantir is pretty open about their basic work. Their website is pretty vacuous, but that's not shocking for what is essentially enterprise software. They had (have?) a fairly comprehensive "try it out" tool on their site, and give example-based demos at a host of college campuses.

All of this indicates that there's no big mystery here - they built a relationship-analysis tool that doesn't suck horribly. When you're selling to banks and the government, "actually works as promised" is rare enough to make you a billion dollar company.

Palantir is more hush-hush about some of their work, though this seems to be more 'competitive advantage' and less 'military secrets'. New initiatives and project restructuring are kept fairly quiet, and their customer lists are obviously secret, but none of this is shocking.

TechCrunch seems to have discovered what looks like a 'secret' press release about how great Palantir is, and it's being spun as dark secrets instead of info that any Palantir employee or tech talk is happy to divulge.
> Which is a dumb policy for security patches. When its fixed it should be released.

You are new to IT aren't you?
LOL, I needed to find the actual .jpg. Forgive a scientist's desire to "jump straight to the data" -- searching anywhere for NIH funding as % GDP should get you the same graph.
>Use the present tense ("Add feature" not "Added feature")

Agreed.

>Use the imperative mood ("Move cursor to..." not "Moves cursor to...")

Agreed.

>Limit the first line to 72 characters or less

Agreed.

>Reference issues and pull requests liberally

Agreed.

>Consider starting the commit message with an applicable emoji

Fuck off. This is completely useless and doesn't deserve 14 examples when the above sensible directions are so brief.
Every time I see microservices, I think of Martin Fowler's First Law of Distributed Object Design: "Don't distribute your objects." http://martinfowler.com/bliki/FirstLaw.html

Splitting your app into multiple apps that send each other HTTP requests or MQ messages seems likely to just make your app slower.
tl;dr Nothing new, Microsoft just increased the Dreamspark program's visibility by making it part of the GitHub Student Developer Pack.
I feel the same way your SO does all the time. There's a mountain of work to be done in front of me and it's demoralizing to even contemplate the amount of effort it will take to get to the top.

Something stupidly simple that has helped me a lot is to make a list of the individual to-do's. I like to have a master list for the project I'm working on, and a daily one I make in the morning, with each point small enough that I can accomplish one in a matter of minutes or hours.

The act of crossing a single item off - and then over time looking at the list and seeing a whole bunch of items crossed off - is amazingly effective for me. I am able to focus on the next 10 feet rather than fainting at the thought of a 10 mile uphill climb. I can hardly believe something so simple has gotten such results on such a critical and daily issue. But it has.

Maybe this could help your SO? I don't think it's a stretch to say making lists has changed my life.
Ask HN: Best way to get a phone number for your startup?
I'm trying to find a good service to get a phone number that people can call for support, what should I use?
It's the price to pay for implementing generics via type erasure, not for getting functional features in a statically typed language. http://stackoverflow.com/a/24421331
Building Performance, Availablity and Reliability
> For example, my damn A3 (the last Audi I'll ever drive, for gazillion reasons) will turn off when you're in neutral and release the clutch. There's no software setting to fix that. You can disable that with the press of a button, a button that defaults to 'I know it better than you do, this needs to be enabled' every time you start the car.

Of course you can change that. However there is no button for this in the HUD as this would probably be against the emission limits of the card.
Thats one way of looking at it. Another way is - What did I(the developer) do in the commit? I added/fixed/broke, right?
Cameron: “The powers that I believe we need, whether on communications data, or on the content of communications, I feel very comfortable these are absolutely right for a modern, liberal democracy.”
The Rise of the Machines (Guest Diary)
Charlie Hebdo's Wednesday Edition to Include Prophet Mohammed Cartoons
Amongst other things, "fott" is the stem of a vulgar verb in Italian.
Same impression, and I'm on a Macbook Book Pro Retina.

It's really, really slow on the retina display. A bit better on my second, Full HD monitor, but still not really responsive.
Unless you use a "lock inc", increment is semantically a read-modify-write, so I believe those steps can technically happen on x86. However, since a thread cannot be interrupted in the middle of an instruction, it's very unlikely that 9999 operations can happen in one thread while another executes an increment. If you wrote it as a mov, an add, and another mov, all it would take is a context switch at exactly the right time.

On the other hand, 20000 is unlikely as well, if the threads have any concurrency at all.
Cisco Bangalore: The workplace of Tomorrow, today
actually this is a question that I have - how do you render the final output ?

I mean lets say I request a web page which depends on 5 microservices. What happens ? does rails or whatver block till all five have returned the output - or do you use something like ESI ... how are the microservices composed finally ?
It's their project, if you want to contribute why not follow their guidelines?

The emojii are just shorthands for [CodeImprovement], [Feature], or whatever you might otherwise tag commits as.
A transformation library providing a variety of image transformations for Glide
After a career that had nothing to do with software or testing, my sister became a software tester by getting hired by a company that put her through training for software testing (after testing her quite thoroughly for analytical ability). She's now a successful software tester at a different company and moving towards analist or something like that.
Why Central Banks Will Race to Adopt the Blockchain
You can disable it by setting the thresholds for activation to something unlikely.

//EDIT: the legality of this however is questionable. In Germany/Austria I'm pretty sure it renders the car illegal if you try to disable it permanently on a car that came with it.
Microservices and the Failure of Encapsulation
Eventually these terrorists will also learn that trying to censor something drives sales and popularity through the roof:

https://en.wikipedia.org/wiki/2_Live_Crew#As_Nasty_As_They_W...

If you don't like something, ignore it.
Just curious here. The CC3D boards were also open source, hackable, and only 1/3 the price, and guessing, but looks about 1/5th the size. What makes using better than all those downfalls?
Reminds me of the Android File Transfer bug that disables MacBook keyboard/trackpad if the phone is locked. It was recently marked as "obsolete", despite all Android documentation (and even software on the phone) suggests the user use it, and the bug still exists on Lollipop:

https://code.google.com/p/android/issues/detail?id=39548

I don't really understand how this has slipped through the cracks; Google has a decent number of MacBooks in their offices last time I was there, so maybe copying files just isn't popular? Either way, it's a pain that the tool is closed source and the maintainer won't maintain it.
The Young Ones?
Some great stuff here. I learned a lot with this guide!
I see three different types of commits in my codebase, usually.

* The big fix: This is the commit which usually is too complex to be explained in a 72-characters message. Usually it refers to an issue number on the project's issue tracker, which in my case is Github.

* The medium fix: This is a commit whose "why" fits properly into 72 characters, i.e. "Add classes to validate user input only on Friday".

* The small/obvious fix: This is a very small commit, usually fixes obvious issues like CI builds, misspellings in doc files, missing semi-colons, etc etc.

In the last case, I find it appropriate to write the "how" rather than the "why" in the commit message, since the why is already obvious. i.e. "Add missing comma on object identifier".
"Fuck off" - seriously? Why use such inflammatory language in your post. A simple "Disagree" would have sufficed.

IMHO the tags are a quick way to filter commits by each of those. The images are just for quicker reference.
Maybe this would work better with a repository on GitHub where people could add services via pull requests or issues?
That covers roughly two-thirds of the billion-plus Android devices in use, according to Google

Wow. How is this even remotely acceptable? I get that they want to focus on the latest and greatest, but leaving 2/3 of your users out in the cold, in 2015's security climate is absolutely insane!

Nevermind the fact that upgrading is a non starter for most users.
My own reasons: because Django is awesome as long as you want to do everything the Django way. For example, as soon as you want to upgrade to SQLAlchemy because every other business unit is already using it, you're in for pain. You can unwire some of those low-level decisions and plug your own code it, but with all the difficulty that usually brings, what's the point of using Django in the first place?

Django was born as a CMS and it really excels there, but it's modeled as a complete end-to-end stack. That's great if you love every single component of that stack, but not so great if you'd prefer alternatives.
> They have an onsite chef so you can have a catered meal for breakfast, lunch, and dinner. Apparently a masseuse comes in every month(?) or so for free massages.

That's a bad deal. Ask for enough money to hire your own chef and masseuse instead.
> My main point is, even if your website is horribly un-optimized in terms of SEO, if you have a bucket of cash to spend on Adwords, you will still get a tonne of traffic. SEO in this instance is almost irrelevant.

I do not agree. A competitor with an optimized page will pay less and rank higher even in the payed result. It is not as simple as the one who payes the most will rank highest, Google has a quality score for Adwords landing pages that will effect your ranking in the payed result as well as what you pay per click.
Because its the "do no evil" way. That used to matter.

I guarantee you that if this was an Android bug that the Android team would have gotten 2 more days.

That's the inconsistency here.

God help Google if an Android bug is discovered that takes them more than 90 days to patch across their 123421 variants of fragmentation.
>the number one rule of commit messages in my book is explaining WHY the commit exists

The commit message should say what changed, not why. Comments are for explaining why the code does what it does.

Good commit log: http://git.savannah.gnu.org/cgit/guix.git/commit/?id=fb519bd...
I have thought about doing this before, but figured this would be too heavy. Guess I was wrong, very cool!
F#'s not a pure functional language, it's a multi-paradigm language that has very good support for the .NET object model and imperative programming, even if it is "functional-first".
This is one of the principle that can be applied to multiple facets of life like body building or learning a new instrument.