skysight-inc/HackerNews huggingface dataset:
TDD is a subset of automated testing as a whole. You'll find proponents of testing who might not actually like TDD. It's more of an opinion about the best approach. Anyhow TDD is essentially writing the APIs, interfaces, and function signatures first, then writing tests, then implementing things under the hood, then getting tests to pass.

Automated testing (unit or integration tests) is an extension of taking those little one-off things we do during development to make sure things work, and formalizing them to be a permanent part of the code base. Some people go further then and try to add tests for every feature or (gasp) every single line and sub-line of code.

It's easy to get carried away with testing. And some people have valid arguments against testing. But it's nothing too hard or unapproachable. The point really is that everyone does testing already, but not everyone keeps all their tests and makes them nice.
> the department responsible for the preloaded junk is completely separate from the people doing security

Lenovo's CTO stated, "We're not trying to get into an argument with the security guys. They're dealing with theoretical concerns." If the CTO and the department that's responsible for choosing the default software are both "completely separate" from everyone at Lenovo who has a clue about security, what does that say about Lenovo?
This could already be done with the older ISAPI filter/module API.

This is how we integrated Tcl with IIS back in 2000 for our application server that was deployable into IIS and Apache.
Powershell is nothing like a Unix shell. It uses a completely different model of operation that is object based.
The most recent version of Microsoft Office for OS X is still 32-bit, still uses the deprecated event system, and still uses deprecated file I/O functions ... Remember resource forks?
Even then life will be on the "Earth like" part of the planet.
How can you still buy a lenovo product? Superfish was a VERY a dangerous software to have preloaded. I'm pretty sure lenovo engineers knew exactly how dangerous this is and did absolutely nothing about it. And if no one in lenovo knew then that is much worse.
In essence, the company installed software to spy on you, and I hear people defending their decision and say they will still buy their products. It does not matter if you use linux or not. This is not an honest mistake and I will never buy a lenovo product in my life. I will not sit here and defend them or try to associate with them and defend their incompetence/ignorance/maliciousness.
Counterfeiting and the 3D Printing Revolution
The Roman-derived justice systems are an attempt to stop this kind of behavior. The Rule of Law is the bulwark against "mob justice". It is utterly abhorrent.

It's also interesting how the perpetrators' victim-blame too.
Well, no. There is no requirement in the standard for how Etags are implemented, so there is no way to use them outside of treating them as server-specific opaque tokens. They are useless for the parent's concept.
Yes. Why:

* Good Linux support.

* Good price / performance ratio.

* Trackpoint.

Note that I only look at T series. The corporate-oriented T and X series were not affected with Superfish at all.
It could also be that someone from Google saw the post and put in a request for reconsideration on your behalf too. Unfortunately, a perk of working at Google means that any requests by Google employees get extra consideration (at least with several issues friends have had to deal with involving Google taking down videos/channels on YouTube)
Agreed, it's not hard to identify those at the source or root of most of the worlds problems. It would be great, but I think it would be very hard to permit and allow the Internet vengeance machine to only be unleashed on these select targets and to be restrained and forbidden on lesser offences, because the vengeance machine just wants righteous vengeance and doesn't care if the target is a lesser offender.
I thought they just banned the use of code not embedded in your app. You are free to Jit. Just not files downloaded from the net. Only files embedded In your app
Ask HN: Do you think software can be art?
Sometimes I see pieces of software that are so brilliant that they evoke emotions in me. e.g. when google maps came out, or when the first iphone came out. Do you consider any software to be art? If so, which one?
Thank you, I'll try this.

But why is it not in Lenovo's instructions? After following only their instructions, you are in a worse state than before, i.e. SuperFish still working, but without root CAs, browsers shouting (good so), and users panicking.
Sorry Ralf.

- I learned nothing from that post. It contains little new information.

- react-native.org makes it sound like it is official. Are they supporting this website?

- It would make more sense for the Core Team to write a "State of the Union" post, especially at a time when the project is still in infancy.
Take a look at Blacks. Legal dictionaries are not moral works. The language of a legal system does not dictate how that system is used. It doesn't define what is legal or not, or set punishments. All it does is provide a framework, a common starting point for building upon.
Ask HN: What is design thinking?
Recently the term 'design thinking' has come up much more frequently among the designers I interact with. As a software developer, Agile is really what I do in practice. Although I consider myself really new to Agile, I can already see the benefits of a tight customer feedback loop and having the ability to shift priority based on time and resources. Now 'design thinking' to me sounds a lot like an augmentation of customer feedback, which is really an emphasis of agile practice. So, what is design thinking? And what are your experiences with practicing 'design thinking'?
Xcode can help with that, as it says in the "Transitioning to ARC Release Notes":

> To aid in migrating existing applications, the ARC migration tool in Xcode 4.3 and later supports migration of garbage collected OS X applications to ARC.
Target practice plus bird hunting, which can use a lot of shotshells with little to show for it if you're not so good at it like me ^_^. I don't think most other forms of hunting use that very many rounds.

US civilian production is between 13-14 billion rounds per year (military production at Lake City, I don't know, but we get sold canceled orders and lots that fail milspec tests but are otherwise good ammo). Rimfire production alone is 3 billion. For some time a lot of that has been getting stored for ... a rainy day. And if you do the math that's only a bit more than 40 rounds/person/year.

But the number is still very very large. Heck, in one high school academic year on the JROTC rifle team I probably shot over 2,000 rounds of .22 LR (for every morning of practice, 3 sighting in shots plus 10 rounds each in two positions).

As for "saturation", yeah. In the last three years, the number of Missouri state issued concealed carry licenses (note any state's is good, and many are cheaper) in my county has almost doubled, to the point where 5% of the age eligible adults have one. And the 19-20 age range has only been eligible for about a year, while those getting them are largely the older, age and less ability to defend yourself + the Baby Boomers entering retirement age is a major driver.

42-3 states have "shall issue" concealed carry regimes, and California and Hawaii look to be following soon (it's being litigated, but some large population counties have already thrown in the towel); the Supremes could extend that to all states. In the last 4 years, Chicago went from nobody but the anointed being allowed to own handguns to shall issue concealed carry and more than a few incidents of legal self-defense with them.... Etc. etc.
I never understand why the double slit experiment puzzles people. Is it not clear that we are dealing with particles guided by a wave? This is Bohm's theory and it works perfectly well for answering these questions.
Distribution Tactics I used to go from 0 to 20,000, Real Quick
This mob mentality is horrifying. The response is always disproportionate. The instigators, these antagonists, seem to be purposely unaware of the magnifying effect of their actions. This is the same ugliness which reared its head when the PR person tweeted a few tweets which were a bjt too clever, and upon arrival in South Africa the pitchforks were eagerly awaiting.

People trip over themselves to point out the transgressions in others, especially when there is little consequence to the accuser for being incorrect in their assumptions.

Like I said before, not only should the shamed suffer consequences, by definition in these cases, but these mob components should face consequences too. They should also face scrutiny when searching for jobs, etc.

People involved in asymmetrical bullying should experience some sort of consequence for their irresponsibility.

I think this is another example of the undesirability of politically correct attitudes. Here in this case it was politically incorrect to 'desecrate' a sign which symbolized respect for the dead. ironically, I think most of those dead, would have found in life retrospectively, fun in the statement of the photo. But I'm assuming feelings I should refrain from.
Linguists are language analysts whereas programming language people are language creators; perhaps this explains why the later create more wordplay?
There's probably a bit of a Poe's Law thing going on. You see it in one context, your reaction is that it's a joke about the sign. You see it in another context, you think it's a comment about the cemetery.
TDD without refactoring is like sex without orgasm. Okay, maybe it's not that bad.. ;)

Seriously, the most fun I ever had with TDD was when using a language that my IDE had great refactoring tools for. Just write all your code inside a test to start with, don't bother with production anything. The test becomes a little like a command line program, launches immediately from the IDE and you can iterate super quickly. Your output is whether the test (with the test data) passes or fails. I'd pick the test framework by whatever the IDE liked best. Pursue solutions that viscerally satisfy until you know better.

Once you have a test working like that, do "Extract Method" followed immediately by "Move Method". The destination of the move is the production class. With two menu selections, you have a perfectly testable interface, called perfectly by the test. A good extract refactoring always proposes parameters for the method and lets you order and rename them. It will also recognize extractions that can't work, like when two results are generated by the selected code. In that case, extract more than one method and move all the methods to the production code.

Want to add more code? Do the same thing again and again and again, each time as a new test.

When you are done, you'll have production classes that are the composite of the extractions and all the tests that once contained inline code (but now contain method calls to the production code).

At some point, you will ask "how can I improve my tests?" The answer is easy: Code coverage tools. You should shoot for > 80% of your production code having test coverage. Some say more, few say less. Make some rules for yourself about things you don't bother testing, like getters and setters, use the 20% leeway so you aren't flogging yourself. Keep having fun, don't make a death march out of testing every last line of code.

This habit becomes really fun. You'll start telling your friends. Nirvana will ensue.
Better graphics code does mean what I'm on about. It's about removing any triggers for GC, which means removing allocations.

If you're blocking your UI thread with deallocating a giant graph of doom then you have other problems. Deferring pauses, however, is not a realistic option.
You're mixing patriotism with nationalism.

I'm a patriot because I love my country. I'm not a nationalist because I love my son.
This seems likely:

"fixing the error is within my power but talking to the customer is not."
How dangerous software maker Superfish kicked me out
From the article: "The cost savings startups achieve from cloud computing infrastructure or other technology cost reductions are dwarfed by the steady cost increases of labor in particular."

I don't have hard data, but my intuition is that this is not the case. The raw price of storage / compute has only declined a little bit since 2009, but the number and variety of development tasks you can outsource to (broadly speaking) "cloud services" has dramatically increased.

In 2009, Heroku was still a relatively primitive platform with only Ruby support - today, it can save you the cost of a sysadmin or two. Mailgun didn't exist and SendGrid was just coming out of TechStars - if you wanted email in your app, you needed a dev to build it. Twilio couldn't do text messages yet, and we didn't have Stripe for payments or Mixpanel for analytics - both were glimmers in their founders' eyes.

The sheer amount of grunt work you need to do to get you app up and running has plunged since 2009 - now you can buy these core services for 1-2% of what you had to pay to develop them. These wins are most pronounced for seed- and A-stage companies, but they substantially cut your development and operations costs throughout your scaling lifecycle.

I'm willing to bet that if you plot the median number of employees it takes to reach a seed, A, B, or even C round, you'd find that the leverage gained from this ecosystem of services more than makes up for increasing personnel costs. Of course, startups everywhere benefit from these cost reductions - this has nothing to do with San Francisco - but it certainly makes the increase in salaries and real estate expenses an easier pill to swallow.
I personally got started with Gary Bernhardt's excellent Destroy All Software screencasts. I started with the third season for his series on untested code, and got the other four soon after.

https://www.destroyallsoftware.com
Don't get a therapist, get a manager! Working at a company will help with several of your problems, some of which you already clearly identified (lack of discipline, lack of socialization) and others which apparently are just dawning on you (getting paid peanuts with things like elance, not earning enough to take real week-end breaks and holidays, and probably not having yet started with retirement discounts, hoping you will hit it big before you need them).

By all means, keep learning on your spare time and keep planning for a personal piece of work which will bring you pride/recognition/profit (or if possible all three), but at the same time just accept that you may also remain an honest craftsman for a long time, and organize you life accordingly.

If you stop living like the solitary genius that you're discovering you're not, and start caring also for more down to earth goals, your life will get more structured, and this will also make it easier to get more friendship and love into your life.
Don't get a therapist, get a manager! Working at a company will help with several of your problems, some of which you already clearly identified (lack of discipline, lack of socialization) and others which apparently are just dawning on you (getting paid peanuts with things like elance, not earning enough to take real week-end breaks and holidays, and probably not having yet started with retirement discounts, hoping you will hit it big before you need them).

By all means, keep learning on your spare time and keep planning for a personal piece of work which will bring you pride/recognition/profit (or if possible all three), but at the same time just accept that you may also remain an honest craftsman for a long time, and organize you life accordingly.

If you stop living like the solitary genius that you're discovering you're not, and start caring also for more down-to-earth goals, your life will get more structured, and this will also make it easier to get more friendship and love into your life.
Four ways to use React.js in ClojureScript
Why not the Constitution rather than Magna Carta (no article is properly necessary)?

http://www.newyorker.com/news/news-desk/al-qaeda-vs-magna-ca...
Looking for midlevel frontend or fullstack developer job.
Location: San Francisco City
Remote: No
Willing to relocate: No
Technologies: HTML5, CSS3, Sass, jQuery, Angular.js
Résumé/CV: www.linkedin.com/in/winstonyee/
Email: winsyee@gmail.com
Basic Vim Commands Reference
I think it's more of a problem of misaligned incentives rather than the method itself. There's a lot of room for politics, ass-covering, etc. Studies that fail to replicate something are shelved, even though they're useful information. Studies that indicate a negative, ditto. Studies are "nudged" to show something so the author can show that it wasn't a complete waste of time, etc.

They're understandable, but they're bad for science.
The Old New Old New Things (presentation better than title)
Wow, the OP opens with the longest side-anecdote I can recall from such an essay...it should be an essay in itself...though it doesn't really add much to the overall message of the piece. The public shaming that he instigated/felt happiness with was of a whole different magnitude than the kind Lindsey Stone underwent.

The academics as portrayed by OP are insufferable...they did write a kind of mea culpa afterwards (including claiming that they weren't behind the bot http://www.theguardian.com/commentisfree/2012/mar/30/how-bot...)...actually, OP's reaction to the spambot seemed a little over-the-top, though I'm only saying that in the context of Twitter abuse that people face today.

Edit: Maybe I shouldn't think of the headline as being the full representation of what this essay (book excerpt actually) is meant to cover...I'm surprised no one has discussed the Hacker News mention in the OP, specifically relating to the "dongle incident" at PyCon (maybe because most of us stopped reading after the comical description of what Reputation.com claims to do?)...I've always felt bad for Adria Richards, but equally bad for "Hank"...Richards did what those thousands of Lindsey-Stone haters did...make a snap judgement off of a seconds-long observation of someone much more complex than just his race, gender, and snarky jokes. And she nearly ruined his life. Let's not forget that...The harassment that happened to Richards is unconscionable, and I have no doubt that it ruined her life...but what she did also wrecked someone else's life...the fact that he was in a position to be able to recoup and stay anonymous (Richards waived that right when she tweeted to her followers) doesn't change that he, too, was unfairly punished by the Internet mob.

It's terrible what happened to Richards but she comes off extremely poorly in this article, like a caricature drawn by the stereotypical mens-rights-anti-feminist advocate.

> “Maybe it was [Hank] who started all of this,” Adria told me in the cafe at San Francisco airport. “No one would have known he got fired until he complained... Maybe he’s to blame for complaining that he got fired. Maybe he secretly seeded the hate groups. Right?”...Adria replied that she was happy to hear that Hank “wasn’t active in driving their interests to mount the raid attack”, but that she held him responsible for it anyway. It was “his own actions that resulted in his own firing, yet he framed it in a way to blame me… If I had a spouse and two kids to support, I certainly would not be telling ‘jokes’ like he was doing at a conference. Oh, but wait, I have compassion, empathy, morals and ethics to guide my daily life choices. I often wonder how people like Hank make it through life seemingly unaware of how ‘the other’ lives in the same world he does, but with countless fewer opportunities.”

I empathize with Richards as she thinks she was standing up against oppressive effects at a tech conference...but just because someone's a white guy with more privilege doesn't make them less human.
The most recent released version of Office for Mac is also from 2010.
For those wondering: "React Native Nation is not affiliated in any way with Facebook."
HTTP/2, the first major change to HTTP in 16 years, has been finalized
The alt text of that XKCD is:

Now, if it selectively kills cancer cells in a petri dish, you can be sure it's at least a great breakthrough for everyone suffering from petri dish cancer.

so it's still relevant.
The old website absurd.org. Unfortunately it doesn't exist now.
Perhaps it would be more productive and realistic to focus on books that could help prevent our demise? Our current position is not a loop that one can comment out.
Yeah, I know that feeling. For me medium.com is art. It's crafted so beautifully, that it makes me smile. They care about the smallest details, for example crafting link underlines: https://medium.com/designing-medium/crafting-link-underlines...
Recruiters only make sense in an environment where labor supply is short. Potential employees are not going to accept lower salaries simply because the recruiter's client has a recruitment fee to pay on top of it. So the client ends up paying both.
Quantum mechanics is not that hard, the only thing we lack is direct experience with it. So, I am developing http://quantumgame.io/ - a game governed by true quantum rules, yet accessible to a child.
Dividend Kings
Stocks With The Longest Dividend Growth Track Record - http://long-term-investments.blogspot.co.uk/2013/02/15-Best-Dividend-Kings-To-Buy-Now.html $KO $LANC $PG $VVC $MMM $LOW $DOV $EMR
No you can't jit. For a very simple reason: you cannot allocate memory that is both writable and executable.
all news and entertainment media -- not just static images, but video, audio, text, human interactions -- are tightly controlled, manipulated, and very often scripted.

What could/would be a solution?
And then you bootstrap with that. Maybe with coal, or maybe go straight to nuclear. You might even be able to refurbish/restart a reactor complex. Or a carrier's or sub's. And single one of these surviving whatever the disaster is would really change the picture, that's a background theme of Lucifer's Hammer.