skysight-inc/HackerNews huggingface dataset:
That's pretty much exactly my recommended approach for both training people who are new to software development and bringing an experienced developer onto an existing codebase (or language, or platform, etc) they haven't worked with before. The only difference, per individual, is how long they need to spend at each level before moving on to the next.

When you get into real-world software development, it's much easier to work with an existing codebase than to start from scratch on a new one. If the application is in production, then you know that the existing code works, so you've got a baseline. You can study it to figure out how it works, and you can compare that to requested changes in the way it should work, and then you just need to figure out how to change the code to make the behavior change. That leads you to asking the right questions, focusing on the right code. It's like the hand-holding phase, except it's real code instead of play code. Figuring out how the code works also teaches you a bunch of stuff on the side, like how to do debugging in this new codebase, how to set up and work within your development environment, the practices and patterns of your team, etc.
Time-series data modeling to save 235M litres of water per day
Looks great. I don't even use Stripe but if I did I would be interested. Surprised these features are not built into Stripe.
Probably not. Then again, for a long time was there anywhere in the world that didn't practice slavery? Is popularity really the best system to evaluate these laws?
No take backs on execution.

If (as too frequently is the case) original conviction is over turned you can say sorry and let the lifer out of prison.
It's worth pointing out that the author was a Stalinist, and so thought the solution to the problem of hierarchies forming implicitly was to make those hierarchies explicit and enshrine them.

The article describes a real problem; it speaks to my experience and the experiences of my comrades; but it offers no real solution and is essentially a defense of the status quo. It doesn't preclude a better solution.
People who are addicted have limited free will.
https://www.cs.berkeley.edu/~alig/papers/http.pdf
Or re-release windows 8... Sales weren't so high on that release
Nah, rather market needs to pay us more for knowing it. Then we'll learn it.
At the risk of being tarred and feathered. Did you consider a blackberry z30. I was given one through work and I wouldn't go back. Solid battery life, awesome inbox and phone capabilities. Browser is Essentially safari and the apps aren't too bad. You give up the App Store or google play but the upside is it just works.
He wasn't convicted of hiring a hitman, though.
This is what the future should look like when it comes to learning materials in k-12 schools. $9.99 is worth it. Please keep it up and make other resources like this for other areas of science!
Cómo Quitar Manchas De Sudor En Camisas, Ropa, Colchones Y Más
So in other words, this is not going to be usable for computers anytime soon.
Under Armour Acquires MyFitnessPal and Endomondo to Build Digital Health Ecosystem
Extremely interesting! Would love to see blog posts on debugging GPU stalling during browser render loops, but I suppose you are all probably too busy actually doing that really hard stuff to be writing blog posts about it!
That can easily be explained by the following example, which is much more sensible:

var a_number = 10;

a_number = { blah: 10 };

var a_plus_two = a_number + 4;

Better yet you can simply say "Javascript does not have strict typing" and point people at the wiki article on strict typing. This is clear and concise as an explanation.

Showing confusing examples and saying "oh look this is horrible types can change" does not make the point stronger.

The article uses a whole lot of words and examples to point out problems that professional JS developers are aware of and work hard to avoid.

It also implies that such languages without strict typing are "unreasonable". It's not unreasonable. It's that way on purpose.
> "But this guy was not doing anything to change those laws"

I disagree strongly. One of his primary objectives appears to have been to show that widespread use of drugs does not require violent criminal gangs, which is one of the main justifications for the drug war. In that regard, I think he succeeded. Simply demonstrating this and undermining that argument has done more to delegitimize the drug war than any vote or petition.
It probably wouldn't have mattered, because the overwhelming majority of the evidence in the trial came from Ulbricht's laptop, which the USG searched both under a warrant and incident to Ulbricht's arrest --- an arrest for which they had some probable cause prior to the SR server search. There's also a doctrine of "inevitable discovery" with implications here as well.

The prevailing wisdom about this case seems correct: what shattered Ulbricht's legal defense was his utterly slipshod OPSEC.
Using may be a self-harm. Acquisition is often not. And once use makes acquisition a problem, violence ensues. And even when it doesn't, the ability to defend oneself from the medical ravages against the body diminishes and the cost is places upon society. The society that chose, one way or another, to cut that off at the source.

Or attempt to.

Personally? I don't have much issue with the use of many (though not all) drugs, in and of themselves. But they aren't used in an isolated vacuum.
I am an author on the 2012 paper.
This is so true.

When my eldest was in 2nd grade I asked when they would be learning how to (finally) start learning cursive. The school's response was that they don't need cursive anymore because soon everyone will just be typing. Great, I said, so when are you starting your touch typing class? School response: oh, we won't need to teach that either, because in the future people will just talk to their computers...(this was in Florida, one of the top school districts, highly acclaimed A+ elementary school). I don't think banking on the Singularity and a benign AI should be the education system's only policy... I could barely decipher the 3rd-4th graders' texts. Spelling mistakes everywhere ("Don't want to stifle their creativity").

The daughter of a neighboring family did terribly at math. The school thought she needed to repeat 5th grade. They got a tutor who concluded that she did not know her multiplication table. Are you serious? Five years and no basic, fundamental skills taught (but it's all about self-esteem, creativity, exploration...). The girl started memorizing the times table, finally, passed the last exams already improved. At the middle school they evaluated her 6 months later and found that she was "way ahead of the class" - this is sad!

The ongoing war on memorization and lack of basic and elementary skills like proper writing and mental math (from what I could see as a German expatriate) makes it all unnecessarily hard for students.
And probably the silk road decreased by some degree gang violence.

Sure, so did Walter White.
Eat your own dog food, they say.
I hate when "fonts" are lazy loaded

.. whenever the fonts are loaded, the whole page changes, and I cannot longer keep a sane reference of what I was reading
How the Sun Shines
Something others haven't mentioned is better quality of life as you age. One of the biggest causes of decrease in life quality in the elderly is reduced mobility. As you age your muscle mass decreases. By increasing your muscle mass when you're younger (and able) and maintaining physical activity you will have a much better life when you're older.
I've long wondered what's in it for Oracle and now Microsoft. Microsoft stands to profit from applications written for Windows that are hard to port, but they seem to be abandoning that approach. Oracle seems to have no real upside to maintaining Java. No one is paying for C# and Java directly, so I don't get it.
Throw a rock at it, collect the pizza. Drones are very fragile.
This is politically impossible because politicians would lose too much power and influence.
What is the C# role doing? Is it moving your career/knowledge forward in any way (other than learning C#)?

It just seems like an odd choice (C#) given what you want to do. Scientific computing is C++, Fortran, and Python, along with some Matlab, R, maybe Julia. A ton of machine learning is in R and Python. Of course Java is heavily used in data analytics due to Hadoop, so C## will help you there.

But really, it's pretty trivial to learn a language. C# is a fantastic language, but it seems that it is likely that your role will be taking you further away from your future plans, not nearer them.

I don't feel super strongly about either choice, other than pick the work that is most interesting, rather than pick based on language. I'm posting mostly because all other replies are pro C# at the moment, and I wanted to offer a contrast.
Not a very fair comparison due to Go's (mostly) static typing and Ruby's very dynamic typing.

In this case, the author wants to use a struct with custom user-defined types as members, while JSON only has concepts of primitive types. That's why you're going to need a lot more code than you would otherwise.

I agree there needs to be a better way to do it though. And "go generate" seems like the hackiest thing in the world for 95% of use cases, including this one.
Token in your pocket that auto locks the computer the instant you are pulled away from it? Google "proximity lock"; they cost like $20.
On slide 16, which talks about cache, there is this:

> Rule #1: Cache lines should contain 50% of each bit (1/0)
> – E.g., if cache lines are 75% zeroes, your D$ size is effectively halved

Can anyone explain this?
> If the GOP wins 2016, however, the future may not be so bright

Can we please stop trying to make this a "GOP is evil and hates America" and "DEM is right and loves America" thing?

The GOP standpoint is to put policy in place that naturally overtime encourages small business to bring competition to the bigger guys. The problem with this plan is it takes time and people want an immediate result.

That's not "hating america" and it's not "doomsday" if GOP wins in 2016.

Nor is the President a king -- ie. the President has Zero control over what the FCC does. So it really doesn't matter who wins in 2016 since you already have a strongly led GOP congress... who does have power over the FCC.
That's what you get when you let designers loose over your product.
> This is where the beauty/simplicity of some programming languages, namely, intepreted languages (e.g., Python), comes in: if a bad line of code never gets executed, then the program itself will run fine. In other words, if the line is never called in the program, then you'll not know that the functionality that that line presented was bad. In this case, the analogy breaks down a bit - and also shows why certain languages are easier to learn than others (e.g., Python vs. C++).

Actually, that's one of the pitfalls of interpreted languages.

You want to Crash Early & Crash Often [1] or you'll move along, merrily ignorant of a serious problem just because it doesn't get executed.

I try to solve this shortcoming of languages like Python with proper unit testing. It gives me the confidence that there's a decent coverage of the different code paths so that I won't learn about the problem in production.

[1] - https://pragprog.com/the-pragmatic-programmer/extracts/tips
What you're describing is "homeschooling" used as code for "no schooling".

Both I and many of my friends were homeschooled. In the circles I was in, most homeschool parents were ambitious and committed to their kid's educations. It is indeed a full job for the parent.
I've heard that Valve has horrific internal politics, though.
> "No quality control to even know you're getting what you ordered.

I mean, seriously, you can't just do that. Society is the victim."

This is a somewhat hypocritical claim. Society is only the victim of poor drug quality control because their sale and manufacture is illegal. Underground markets of any kind have problems with quality control; the solution to that problem is to make them legal.
The 47 Sins of Isaac Newton, as Recorded by Himself (2011)
WWII motherfucker
Could you refine point two more?

I don't understand how you distribute decision making without consensus? In that scenario "leader" types would make the decisions for the group, right? And then it's not "distributed".

I guess I don't understand that point.
Did you start an accredited Math degree? If so, how did that work for you, and how did you get into the program?
The BTC payments to the supposed assassins were also sourced directly to Ulbricht's wallet, so if you're going to indulge in counterfactuals about the "hit man" story, they need to revolve around Ulbricht twice staging elaborate hits in order to... what? What's the thing a staged assassination could cover up that's worse than an assassination?
It's not though because it changes nothing. The government can already stop traffic via a court order. Besides, the FCC is not a legislative body. A set of rules which allowed, for example, unimpeded access to child pornography would never be allowed, nor should it. Net neutrality can exist alongside the laws which govern what is and is not ok to do on the internet.
I did say I'm not opposed to all regulation. Free markets only work perfectly with perfect information, so I support almost any regulation that's about making information public. I've got no problem with forcing companies to put nutrition information on all their products, for example.

I'm not the one who's deciding on things solely based on whether they are regulation or not.

Also, you didn't answer my question about whether you would support my proposal over the net neutrality one.
We can get smarter and dumber at the same time:

By thinking that we are getting smarter, when in fact we are actually getting dumber.
I think a heroin dealer who is convicted of telling his lackies to beat up the competition should face a longer sentence than a heroin dealer who initiates no violence. Increasing the sentence based on unproven allegations just sounds like bad justice to me.
It depends on the various statutes (which I'm just not sure of in this case), but judges at their discretion can usually sentence concurrently or consecutively. It wouldn't be unheard of for some of his charges to be concurrent and others to be consecutive, but that'll depend on the statute, the judge and potentially, the other jurisdictions where he continues to await trial (i.e., if he's convicted in his next trial, assuming that still takes place, that sentencing could happen consecutively or concurrently, depending on any number of variables).
A crap ton of themes for your CodeMirror editor
"Anything worth keeping will be translated into English. "

http://harmful.cat-v.org/society/cultural_protectionism
The contrast between the font and the background is low for the body text (65% alpha black text on solid white background), which makes it harder to read for people with poor vision.
he will be in another trial
>Miaow, nice passive aggression.

I think you conflate passive aggression with open derision.

Regarding the former "passive-aggressive behavior is characterized by a habitual pattern of passive resistance to expected work requirements, opposition, stubbornness, and negativistic attitudes in response to requirements for normal performance levels expected of others".

I don't think a snarky response qualifies.

>It's the first one people have come across with no way to navigate without a keyboard.

Lots of web slideshows only navigate with a keyboard. I've seen the same question/answer several times in the past on HN.

It's not like it should take more than 5 seconds to try to press "->" and see what happens....
5.4+ Version, which is currently being actively developed (RC2 around the corner): https://github.com/cakephp/cakephp/tree/3.0

And a general list of changes between the current stable and our upcoming release: https://github.com/cakephp/cakephp/wiki/3.0-Roadmap
It's quite a different and useful language but definitely not a better one. You have to be forgiving, as F# is struggling to get more traction, especially in terms of tooling... No ReSharper, no CodeRush, no Roslyn. But I've heard that F# compiler implementation is quite elegant - that's something, right?
In Plato's writings Apology and Crito he documents Socrates views on this. Ultimately Socrates agrees it is only just to accept his sentence as undermining one law is as bad as undermining all laws. Really great readings on the relationship between individual and society.
I'm intrigued by this test - what did it involve? Obviously his quant skills are up to par if he's studying aerospace.
Isn't this trial the sort of thing that "discourages criminal activity"? There were a lot of people who thought they could violate federal law under the anonymity of Tor, and now a lot of would-be perpetrators are aware that federal investigators do have the resources to find you.

They're definitely making an example of DPR, and I don't have a problem with that. Money laundering? Drug trafficking? Hiring hit men? If a New Jersey mobster had faced these charges for meatspace crimes, he'd certainly be spending the rest of his life in jail. (We can have a conversation about whether consenting adults should be able to purchase and use drugs, but there's no doubt he intentionally and repeatedly violated many existing federal laws.)
fj / jsr166 is in 7

sample code: http://docs.oracle.com/javase/tutorial/essential/concurrency...
> "Society is the victim" and "No quality control"

They had, apparently, the same customers-rating-sellers quality control mechanism that Amazon itself uses, and by introducing those and removing the need for physical interactions between buyers and sellers I'd imagine that the Silk Road offered a significantly safer, less damaging marketplace than the physical one that it encroached on and will presumably now once again be replaced by.

That said, there are very different reasons why allowing him to get away with it would be difficult - it would undermine the entire "war on drugs" and the efficacy and power of the legal system. Something that HN would be sure to have a volatile view on.
Consecutive is the default if the judge doesn't specify. Some laws require consecutive. Other than that it is up to the judge to specify.

http://criminal.lawyers.com/criminal-law-basics/how-do-multi...

>If a judge wants to order the sentences to run consecutively or concurrently, she must state so specifically in the sentencing order, which is the court document that sets a defendant's sentences. If she doesn't do so, the sentences will run consecutively automatically.
> Probably for the same reason they mostly don't now, they lack the financial resources.

I'm self-employed, my family history includes a fair share of entrepreneurs. Even so, saying you intend to start your own company is met with strong skepticism.

Trust me when I say, the thing stopping most workers from starting their own company is not just the lack of financial resources (as a matter of fact, I became self-employed without any savings to speak of and no financial support at all).

Although it's becoming increasingly less realistic, a lot of people still have the mentality that having a regular job provides financial safety and a guaranteed income while starting your own company creates a huge risk.
> But this guy was not doing anything to change those laws.

I can't understand how you can say that. I never used Silk Road - I buy my weed locally. But I was definitely inspired by a lot of what DPR wrote and advocated.

“If prohibition is lifted, where will you be? Will you forget about all this revolution stuff? Will you go back to ignoring that itching feeling that something isn’t right, that men in uniforms and behind desks have just a bit too much control over your life, and are taking more and more of your sovereignty every day? Will you go back to thinking that taxes are as inevitable as death and the best you can do is to pull as hard as you can for them until you mind, body and spirit are all used up? Or will you feel the loss, as one more wild west frontier comes under the dominion of the enemy, and redouble your efforts to stop it?

I know where I’ll be. I won’t rest until children are born into a world where oppression, institutional violence and control, world war, and all the other hallmarks of the state are as ancient history as pharaohs commanding armies of slaves. The drug war merely brings to light their nature and shows us who they really are. Legalizing it won’t change that and will only make them stronger. Hold on to what you DO have, and stand for the freedom you deserve!” - Dread Pirate Roberts
Really love MyFitnessPal, hopefully they won't just kill the app.
MongoDB 3.0: Testing On-Disk Compression
Users won't get to use the site at all.
What you're saying is true and I used to be optimistic about it like you, however I stopped believing that it is feasible for most adults after failing to teach family members the basics or junior colleagues to become better.

Maybe I've been a bad teacher, however the thing I noticed is this - yes, if you put enough effort, Ok, we can probably do anything, like learning to play the violin or do programming, except that's easier said than done. The effort required is actually enormous. Put in that equation real-world concerns, like a social life, a day job, raising children and so on and it becomes next to impossible.

For a child it is easier - he has the time available and that desert of despair mentioned can be actually fun. Because to a child, making the computer do stuff can feel like magic, whereas to an adult it feels like a chore to get somewhere, a chore that eats all of the available time.

Knowledge is accessible and that's great. The noise is also great though and one still has to filter, analyze, learn and work. The Internet is indeed disruptive, like you get access to books or to online courses from reputable universities without being there and without paying a single dime. But I still see this as helping children in impoverished nations, rather than adults in first world countries.

Note that I'm not discarding the possibility of adults actually making it over the learning curve. I'm sure there are people out there that have succeeded. But those are super-humans and I think they represent the exception.

There's also another thing that's starting to piss me off. Some of the problems we end up working on are extremely difficult, yet because we are idealists, we go around telling everybody that everybody can do it, probably out of sheer enthusiasm for the things we do, because we believe the world would be better and maybe because we want to share with others our passion. But you know what, some of the stuff we do can be really challenging, objectively speaking not everybody can do it and going around and saying that opens us up for abuse. And then we start complaining about agism or about companies fixing salaries and entering no poaching agreements. How stupid can we get? Oh, so you want more or better software developers? Capitalism works both ways, demand and supply is a bitch, so fucking pay up.
8 Ways to Boost Your Social Media Optimization
There is plenty of water. Fresh water near farmland is the problem. This is fixable by a relatively straightforward application of infrastructure and energy consumption (desalinization and pumping. Hydroponics may be preferable over pumping long distances, but it's still fundamentally an infrastructure and energy problem.)
Youthful indiscretion? Come on, he's about to turn thirty.

It's not an indiscretion to spend a few years running a drug dealing marketplace and planning to find fame through publicity deals, books, movies, beyond the mere quarter of a billion dollar fortune amassed.
He seems like a smart guy and a good guy overall...(yes, I know he allegedly attempted to hire a hit-man and we can't tolerate crime etc. etc.)

This is one of the all-time great HN quotes.