skysight-inc/HackerNews huggingface dataset:
"Now if everything would please start moving on to Python 3 pretty please ;)."

Unfortunately, not always an option. Or rather, it is, but would require an immense amount of effort. Not to mention, the client wouldn't be too happy with the increase in bugs.

Working on a legacy C++/Python implementation stuck with 2.5. It's not as bad as it sounds, really. You learn to improvise, and work on python 2.7/3+ in off-hours.
The Washington Post Starts Blocking Ad Blockers
Magit for Emacs helps you maintain some of these standards if you enable flyspell for git-commit-mode.

And obviously Emacs is my editor of choice for everything, git commits included.
Sirius: A fast and ultra-lightweight chat server written in Go
Tom Brady be like
On GitHub, single-commit PRs automatically have their body text set to the body text of the commit. (Annoyingly, GitHub doesn't reflow the body text, so it looks "jagged"...)

For multiple-commit PRs, I usually just give some surrounding context and let the reviewers read each commit message separately (with the three dot button).
Props to the author for posting the "testimonials." Got a chuckle out of it. Did not look at the code.
New Revelations from Mars' South Pole
As someone who's bounced back and forth between Python 2 and Python 3, I'm curious about your need of parameter tuple unpacking[0]. I've never encountered it, and after some research I don't understand the use case.

I don't mean to sound like I'm trying to belittle your position, I would like to understand more. The PEP below doesn't seem to do a very good job explaining why people like them, and I'd like to hear a proponents position on the feature.

[0] - https://www.python.org/dev/peps/pep-3113/
MITAlert: Active Shooter reported on campus
I thought for sure it would be about this recently announced project, which also cited Tim Pope: https://github.com/m1foley/fit-commit#readme
The RethinkDB Python driver works exceptionally well with asyncio.
The biggest problem with commit messages: They lie.

The main reason for this is that most people tend put more than one atomic change into a single commit, but in the message they often only mention the "main change" which they introduced with the commit. This in turn makes it much harder to find out which commit introduced a given problem into the code base since people will usually read the (incomplete) message of a given commit and think "the problem can't be here because this commit only did X" while it actually did Y & Z as well. So, personally, I think we could as well abandon writing commit messages entirely and instead make sure that individual changes are small enough so that we can figure out what happened by looking at the actual code instead.

As an example, if you look at individual commits in the Django project (such as this one: https://github.com/django/django/commit/e7e8d30cae9457339eb4...), it is often much easier to figure out what happened by looking at the file diff than the commit message.

A tool that could summarize changes in source code using advanced (semantic) diffing instead of line-by-line diffs would make this much easier of course.
I'd still prefer a body with a good commit description, since review descriptions are not attached to the history.

I've been thinking about this a little recently, the conversations that determine the direction of a product are not part of the history, if a repository is shared there's no way to see that information without going through emails, or going through issues on GitHub or Bitbucket or whatever else.
Extending Galactic Habitable Zone Modeling to Include Intelligent Life Emergence
I'm passionate about living my dreams. When I have a dream, I work hard, and make it happen. I drove Alaska->Argentina over 2 years, and am about to drive around Africa in 2-3 years.

I don't really like "the world" right now. Consumerism, big cities, crowds, iPhones and new cars. I wanted to get away from all of that stuff. I wanted to test myself and learn new things. I wanted to cut my own wood, hunt my own food and learn to survive by my own wits. I also wanted to see exceptionally beautiful places.

On my way back from Alaska I passed through the Yukon and thought it was beautiful. The people are friendly, and there are tons of activities to do. I thought I'd give it a shot, so I did. It's very easy to meet people in the North to teach you stuff like hunting, fishing, building a cabin etc. The first couple of times you do it with people that have done it before, after that you're good to go.

> Also, what do you do to feed yourself? How do you derive an income and live off the grid?

I personally have been working 5 days a week since moving up here, though only because I wanted to save enough money to build my Jeep and drive around Africa. Tons of people up here work 3/4 or 1/2 time (or less). If I wanted to, I could easily earn enough money to "live" by only going to work for 2-3 months a year. The rest of my time would be for activities :)

Putting 1000lbs+ of wild, organic meat in your freezer does a lot to cut down your grocery bill, as does all the salmon, halibut and growing your own vegetables.
The iPhone is supposed to be a high end device with great user satisfaction, Apple you are ruining it with this policy. User will have a bad taste and never buy an iPhone again, you are playing a dangerous game here.
A small and beautiful open-source WYSIWYG editor for HTML content
The information they're using is also based on tax returns, and musicians are way more likely to not report their full earnings than, e.g., someone who works for a company and gets paid salary with normal withholdings. Unless you're a huge touring musician playing to thousands, you're usually getting paid in cash or checks that are below the 1099 requirement level.
Those pictures are beautiful.

Thank you, to benbreen, Boris Friedewald, and of course to Maria Sybylla Merian (oh and hypoallergic.com too).
Here's the data file they used. The University of Phoenix only has 72 data points.
https://s3.amazonaws.com/ed-college-choice-public/Most+Recen...

I can't find anything about methodology other than the fact that only students who receive federal financial aid may be included.
Incidentally, NASA commissioned a study back in 1980 about self-replicating factories harvesting lunar regolith. It's quite good, and goes into excellent detail:

http://www.nss.org/settlement/moon/library/1982-SelfReplicat...

(Edited by Robert A. Freitas, who went on to write Kinematic Self-Replicating Machines)
I'll guess the data is skewed because University of Phoenix caters to people who are already working. Work experience + degree is better than just a degree.
You probably don't want to do this.

For stability it's best to keep the system managed through packages from the standard repositories. If you install things that are not from the repositories the packaging system won't be able to track dependencies - it will have bad information about some capabilities as some items won't have been installed using the packaging system. Overwriting official system libraries is a common cause of problems.

It's best to only upgrade something when the repository for your release makes it available: it pays to be conservative about the repositories you use, sticking to the standard ones and thinking very carefully about adding any others (e.g PPA's).

If you want 'newer' versions of frameworks/libraries for development then you're better off installing them away from the main system - traditionally that is /usr/local, or using a partitioning system such as chroot.

For Python specifically there's a really nice option of use venv/virtualenv.
Thumbs up. You must accept that it is not going to offer the variety of features of other platforms. On its own merits it is solid and has much potential in terms of convergence and commitment to open development.

Support open computing or support profit-led walled gardens. Easy decision for some, tougher for others.
It's systemd, not SystemD.

Also, this is not yet a replacement for systemd:

#include <stdio.h>

int main (int argc, char * argv[])
{
printf ("defer work on the pid 0 until we have a functioning "
"service manager\n");
return 0;
}

(I think they mean "pid 1")
> It’s simple: If code is too dependent on one person, your business is susceptible to dire wounds.

Ah, reduce your product to what the lowest common denominator is capable of producing, to avoid too much "dependence" on them.

AKA: Make sure your engineering team is entirely swappable, like batteries. Plug them in, burn them out, no problem.
In other words, it's about hating your poorer/cheaper users?

It's not about hate, it's that Apple is a for-profit company whose goal is to maximize their profit. They've decided that many of those poorer users will choose to sacrifice something else in their life and give the difference to Apple.

Wouldn't it be a better strategy to do the right thing for the customers

Are you suggesting that an approach that better met the needs of their less well-off users would have increased their profitability? No, almost definitely not. I don't like Apple, but their current strategy definitely works for them.

Measured by the metric of profit, Apple is inarguably one of the most successful companies in the history of the world. If so, can you point to any companies who gotten better results from the "put customers first" strategy than Apple has has with theirs?

Most likely what you mean is that the world as a whole would be a better place if Apple pursued some other strategy than profit-maximization. I'd personally agree with this, but it's also difficult to come up with solid examples.
Hm, thanks for pointing these occasions out, I had never actually heard about them!
+1 seriously
Does the majority read commit messages as "If applied, this commit will..."?

I always treated log messages as a history of events, i.e. describing what had happened in the past - this commit "fixed" something, and this one "changed" something, "refactored", "implemented", etc.
I'm an undergraduate who made this decision in the past 1000 days. I went to the website and tried to see how much it would have helped me. It wouldn't have. Here are my criticisms.

* This tool should be clear that it's geared towards 17 year olds that are mature enough to be able to view college as a financial investment. That's not to say that college can't be chosen for the experience of it as well, but I don't think you can recommend colleges on such a personal variable. This type of site can be a great tool if you're willing to put that aside for a moment and merely get information about potential return on an investment, which is useful for everyone regardless of how they feel about what college ought to be.

* Factor in how confident a student is in what they want to study. I think the largest cost sink is in people who don't know what they want to study, but decide to go to an expensive school and say that they'll figure it out in their first two years. What happens when you don't, or school ends up being hard, and you have friends made and leases signed and now you've locked yourself into paying $80k for something you're not going to see return on? Would you have made that decision before?

* Average salary after school is an awful metric. You can't group engineers with those that study humanities and then present that as a meaningful statistic. It makes the person studying philosophy feel more confident in spending money, and it makes the person studying engineering more likely to deviate from liberal arts schools, when in actuality a school can accommodate both groups well but with somewhat different outcomes.

* How do you run a site like this and not ask what their SAT / ACT scores are? This is most certainly the most predictive factor for where you'll go.

* How do you not ask where they live, and talk about in-state tuition rates?

Ultimately it's a nice idea with poor execution, but it's close.
Right, yeah, well, now I'm not sure if this is a joke/troll project.
My mistake, I must have set the bar for "damage" a bit too high, only considering the shot policeman and the two dead terrorists.
Controversy is obviously quite damaging to everyone involved. I can't even begin to imagine what it must feel like to read hateful tweets.

Hopefully his 20 years in prison will give him time to ponder over the harm he did to Jews, immigrants and transexuals.
> What is the expected salary of a MIT engineer ? Last time I checked it was 72,000 dollars per year.

I don't believe that as the average starting salary, let alone mid-career salary. Your average MIT engineering graduate has the skills to be very successful in the job market, and most often that's exactly what happens. They have a huge leg up over people that didn't go to MIT. The average mid-career salary of someone who got an MIT engineering degree is way, way higher than someone who didn't.
Aluminum is similarly abundant in the Earth's crust. Most common element after oxygen and silicon, twice as abundant as iron. Correctly tempered and hardened aluminum is lighter and much stronger than iron.

The sole reason aluminum isn't the "default metal" in the way iron is, is that it's so much harder and more expensive to smelt:

Electric power represents about 20% to 40% of the cost of
producing aluminium, depending on the location of the
smelter. Aluminium production consumes roughly 5% of
electricity generated in the U.S.[26]

I agree that pretty much everything manufactured on the Moon is going to be made of aluminum, for precisely those reasons, but needing a "little" solar power is underselling it a little.
Is virtual reality the future of hockey video games?
You're likely right, but they could always get crafty with Braintree APIs: https://developers.braintreepayments.com/ios+ruby/reference/...
Sift – a fast and powerful open source alternative to grep
Is this something we can change though?

As you mentioned, these conversations happen everywhere including offline meetings and hallway chats.
Your data isn't relational?
"System XVI has received unexpected publicity. Several commentators have written these glowing endorsements of System XVI:

This is probably the best example I've seen on how NOT to program in C. Unneeded typedefs, random macros for simple logic. Do not use."

Its nice to see a sense of humor and some humility. There is a healthy ecosystem of Linux distributions that do not use systemd and have no intention of doing so. Slackware, Void, Puppy, Crux and many others.
Read this in the book about him, Kennedy also had a "back pain" problem originating from the time where his patrol boat capsized and he barely lived through the WW2 war with Japan, and that drove him to stardom when he hit it off well with the moms who had their sons lost in the war.

The self prescription for Kennedy's back pain? Pussy from many different women.

The Cuban Missile Crisis was directly on Kennedy's hands, he directed the bombers and invasion based on his time zone and forgot to adjust it for cuban which resulted in b-52 bombers being decimated and the entire invasion blowing up.
How we can get people to care about the environment
IIRC the number of available windows can vary and isn't fixed at 8. The ISA says they exist, but not how many.
Scalock now provides container security for Microsoft Windows Containers
The problem isn't the argument, the problem is systems that aren't really wanted being rammed through by political means.
This tip is the equivalent to "Dial 0 when you reach an IVR." Having been in Support in the past I can tell you there is nothing worse than having someone email some random Exec because you're not getting anywhere with Support. While I'm not trying to defend what happened here, I can certainly empathize. I liken to someone who has worked as a Waiter/Waitress. When they go to a restaurant they'll have more empathy for someone than someone that hasn't done that job. But yeah, they should have noticed what the problem was in a better way and, if things were escalating, either pass it off to someone else or let their Manager know things we getting heated.

If you really want a "pro tip" about Support, ask your Rep to inform their Manager. If things aren't going well you have every right to keep going up the chain of command. If that doesn't work, keep going. Somehow you'll reach the right Exec instead of just guessing.
I'm pretty sure that's exactly what's under dispute: whther the funding actually improves access, or whether it just raises prices and debt loads all around while adding one more credential everyone has to get to take jobs that only needed high school in the 60s.

By equating funding and access, you're defining away a critical dynamic.
eating within a specific period of time long before you actually go to bed (become sedentary). I wake up anywhere between 7-10 am, immediately go top heavy with big breakfast -- you're going to be moving about the entire day. By dinner time (like 6 or 7), I'm only having a milkshake or something <200 calories. Go to bed around 1 or 2 am.
I think the most dangerous advice I got was to avoid DTOs and similarly domain-behaviour-free object graphs. That corner of the .NET world at the time called such a model an 'anaemic domain'. Instead, we were encouraged to model problems with objects for every noun, methods for every verb, arguments for every adjective, and all the code dealing with them attached to the class.

It worked fine while our domain remainded small, but got ghastly quickly.
I think the problem is that people seem to equate "Lisp" to "Common Lisp". Clojure is a Lisp, but Clojure is not Common Lisp.

LISP appeared in the late 50's/early 60's. Common Lisp only appeared in the early-to-mid 80's. There were many other lisps in between and many since. Common Lisp is only one of many dialects of Lisp. Clojure is another.

(Not saying that this is what lispm did in this case, (s)he seems to know a lot about lisp; rather this is a common confusion I've seen)
The asyncio example/benchmark snippet I linked above uses peewee-async:

https://peewee-async.readthedocs.org
I don't expect everyone to know all the names of all he thngs they should never do, although it does help to know which languages to avoid.
I'm glad to hear you had a more positive experience in that area. I'm speaking from my own experiences, and from conversations with degreeless peers over the years (started in 1997), whose opinions concur with mine; what I've witnessed may be more prevalent than you might think. Consider that not everyone may inclined to discuss it openly. It's not a particularly comfortable subject.
Again, recommending the angular style: https://github.com/angular/angular.js/blob/master/CONTRIBUTI...

As (IMHO) the most important thing is where (out of many modules) is the change and of which kind (fix? a new feature? refactoring? only some docs?).
> Snowboards, kayaks, boats, snowmobiles, guns, snowshoes... none of those are cheap.

I bought everything used, and I rent/borrow the snowmobiles and quads because my $400 Subaru won't pull them, and they're too expensive for me. Also keep in mind you only need one of each of those things, drop the plural, we're not interested in consuming for the sake of it.

I would guess I spent around $5000 on gear for my "Northern Life", and I actually just sold all of it for basically the same prices I paid.

> Here's what actually happens if you move north for 12 months: you go to work at a job.

If you want to keep consuming and living your "Southern" life, then yes, you're right.

Or, you live the Northern way, as follows:

Borrow a chainsaw and trailer off a friend for a case of beer, and put in a few hard weekends getting your own firewood. Cost of heating for the year = $0.

Borrow, or buy ONE used rifle, spend a week hunting and get yourself 500lbs+ of local, organic meat. Cost of bought meat per year = $0.

For a few hundred bucks throw a couple of solar panels on your roof connected to some old car batteries. Get rid of your TV, and pay almost nothing for electricity for the year.

Get some fishing gear for $75 and hit Alaksa whenever the salmon are running to put away tens of pounds of salmon.

Grow a bunch of vegetables yourself.

etc. etc.

You can rent a nice cabin up here for ~$500/mo, and (for example) registering a car is $35/year, and my insurance is $325/year, so you save a ton of money there. Drive something with good mileage, distances are big up here.

As you can see, pretty quickly your expenses are very, very low, meaning it's quite possible to hardly go to work at all.
Same experience here. I'm always shocked about the impact that small things, like coming across one of those pages when I was a teenager, can have on someone's life.
University teaches a lot of very expensive lessons. Ideally his is not one of them.
most people tend put more than one atomic change into a single commit,

That's a people problem. Correct it through proper training and mentoring, not letting it continue just because "that's what people do."

Historically, some people were afraid of "wasting" commit numbers (CVS, SVN, mock revision numbers in hg), but git has no concept of an incremental commit number, so you can burn through as many commits as you want without feeling guilting about running up an auto-incrementing counter.
I think we are in agreement, but you did say "2. Evolved resistance with an entirely new set of mutations”. I was pointing out that evolution is not coming about from the selection of new mutations, but the selection of pre-existing mutations present with the tumour before treatment.

>Drugging all of these targets in advance is impossible - we can barely drug one gene with patients tolerating it. We'll lose this game of whack-a-mole.

It is not impossible, just difficult. It will certainly be impossible if we keep trying to develop new treatments the way we have for the last 50 years. We need to change the entire way we screen and test new cancer treatments if we are going to be able to use the HAART approach in human cancer.

I agree with you that immunotherapy is looking the most promising approach right now, but done right chemotherapy has a lot of potential too. I would not rule one or the other out.
Make sure not to confuse lack in understanding of language with lack in understanding of the concept.
American Airlines accidentally flew the wrong plane from L.A. to Hawaii
OP here. You say this all, and yet, if I google for "unicode strip accents"...

Top-voted answer uses NFD, one below it uses NFKD: http://stackoverflow.com/questions/517923/what-is-the-best-w...

NFKD: http://www.perlmonks.org/?node_id=835238

NFD: http://www.perlmonks.org/?node_id=1105025

NFD: http://www.perlmonks.org/?node_id=485681

NFD: http://drillio.com/en/software/java/remove-accent-diacritic/

NFKD: https://gist.github.com/j4mie/557354

Two and a half of the first six results blindly apply NFKD to arbitrary text. All of them use normalization.

Sad state of affairs.