skysight-inc/HackerNews huggingface dataset:
It's true that there's a non-zero cost for each test, but overall I think tests speed up development rather than slow it down (unless you go crazy with the tests, and providing you're fairly decent at writing tests). I don't believe it's worth testing all paths through the code, but I'd aim for significantly over 50% coverage to have any degree of confidence in the codebase.

I estimate I write about 2:1 unit tests to code in terms of tests to functions but tests should be quite a bit faster to write than the code they're testing. I think I'm at the low end of how much I test my code compared to other engineers, however.

Perhaps it is different in game development. One of the big advantage of writing tests is that you can aggressively refactor with confidence; if you're planning to stop improving your codebase once the game is released maybe this isn't an issue? Plus bugs are perhaps less of an issue if you inconvenience the gamer rather than lose someone cash, and maybe you aren't expecting to hand code over to new developers.
Yep -- I understand what I'm buying (well, not buying yet...). Something like this would be a great for a Taleb-esque 90/10 barbell I think -- 90% in target-date vanguard funds and 10% in startup investments by proxy.
I literally have no idea what they're talking about.

SpaceX is providing the US government with cargo supply services at a fraction of the cost of previous alternatives and that's "free money from the government"?

Read all about it: http://www.nasa.gov/content/nasa-releases-cots-final-report
Really? My experience is that quite a few of the students I know who graduated in CS are underemployed in San Diego and you couldn't blast them out with a nuclear bomb. Most of them would benefit from a couple of year stint somewhere else and then coming back.

And, why would they want to live in downtown San Diego? It's a terribly boring place. SD is not NYC or Chicago. A lot of young people are into the beach, and there are mixed ethnic areas that are far more interesting than downtown. Although, to be fair, the real problem is that there is nowhere cheap for the artists who make an area interesting to live. Furthermore, my personal assessment is that the downtown areas in most tech cities aren't really that "interesting" unless you have a remarkable amount of money to spend--which young people don't.

On top of all that, San Diego salaries ALWAYS lag. I call it the Sun Tax, but you can generally go to the Bay Area for a 50+% (or more) bump. San Diego isn't THAT much cheaper than the Bay Area.
You can't really max out a Roth IRA (that's an illusion). Backdoor contributions are unlimited.
> Just wait till you're older and then it's pay back time.

Of course, the cardiovascular benefits of running mean you're a lot more likely to live long enough for pay back time.
Sure. Tons of revelations on actual clandestine activities (think ops NSA ran against other nation states, not US citizens, and not even US citizens indirectly) were compromised.

https://en.wikipedia.org/wiki/Global_surveillance_disclosure...

That's a mishmash of disclosures including those Snowden claimed to focus on, but there are plenty stemming from the Snowden leaks which had to do with run of the mill intercepts against foreign states and even against allies (because allies spy on allies all the time, let's be honest).

Whether "vast majority" is true isn't something I can say because I personally haven't actually read the leaks themselves, but it wouldn't surprise me given that most of the news after the big US revelations were all about NSA activities outside the US against non-US persons.

I won't bring my own opinion into this, but given my reply, it's probably fairly easy to discern what I think should(n't) be done here.
Anyone who is refusing to see that the whole Snowden issue is not black and white in my opinion does not deserve serious attention.

Snowden has done an important public service there is no doubt about it. But without looking at all the information he has leaked we can not say for certain he might have erred or put lives of Americans at risk. That is still a crime.

Of course if Hillary can present "recklessness" as defense I think Snowden should be able to do the same. He was a bit reckless in his zeal for protecting rights of Americans.
What the NSA did was treason.

They systematically disregarded the constitution. Those responsible should be put in jail for life, for crimes against the American people and betraying our country.
Researchers see individual atoms keep away from each other or bunch up as pairs
I respectfully disagree.

When running on AWS you want CloudFormation controlling an AutoScaling Group for this.
Within your projection of reality, the sum total of all your qualia and awareness at any point in time, you call part of it "me", or "my body", and the rest of it "not me". But, this distinction is just a feeling, or more qualia, within the projection. In reality, you contain the projection.
I'm not sure, but I would guess that the "fight the good fight" part of the post might have contributed to the downvotes.

Just a guess though.
Distant languages have similar sounds for common words
Apple is surveying people about their headphone use on MacBook Pros
He was president of ALCOA in the mid-80s -- I cant find him online - but I posted a link to his son's profile page who is an architect. John Haymaker, JR. I also make mention of my dads other best friend: https://en.wikipedia.org/wiki/John_S._Herrington who happens to have a wiki page....

So, I dont know what to say about the fact that John SR doesnt have a page about him online as he was head of ALCOA in ~1985...

not my job to prove shit to the internet.... if you dont like my quote - then move on and dont attack me for it.
The government investments do not "go directly into the hands of a few individuals..."

The Federal tax credits for plug-in cars, for example, are available to all automakers (or more accurately, the customers of all automakers). You could start an electric car company today and your customers would be eligible for the credit. Nissan Motor Co. is the #1 beneficiary of the tax credits to date.

All automakers were eligible for the DOE's ATVM loan program. Tesla received (and paid back) about $500 million under the auspices of the program. Ford received $5.9 billion and Nissan received $1.4 billion. Neither Ford nor Nissan have paid back the loan.

The Federal government bailed out GM and Chrysler to the tune of about $20 billion.

We've spent trillions of dollars to secure our interests in the middle east, which keeps oil supplies stable to the benefit of ICE automakers.

People always complain about government subsidies when there are articles about Elon Musk, but it is hardly ever even-handed.
What's the point of making more if you have to pay more to rent/buy a place and to live?
My only concern is that he chose to flee. Staying would have been a very different statement.
Snowden http://www.imdb.com/title/tt3774114/
>While we're discussing how high tech isn't required in a game, I feel the need to say that they aren't mutually exculsive, either.

That's fair. I think part of the whole pixel art thing is a backlash against modern graphics tech, born of one-too-many experiences with a game that, while using the latest and greatest tech to achieve visually-stunning results, was no fun to play. Taken to the extreme, it can easily become a reverse-pixel-tax attitude: A game using modern graphics tech wont be fun, or at least, not as fun as it could have been.

Such an attitude is as equally silly as a pixel-tax attitude, and I think part of what drove the the author to write the original article is realizing such.
I haven't read the book, but this doesn't seem to fit with what's known about general intelligence, nor the examples of polymaths from the renaissance period.

I suspect the causes are societal, from the constraints placed on our time and freedom to explore and become well rounded.
If you pumped all of the Mediterranean into the rest of the world oceans, that would raise sea level about 7.4 meters. (The volume of the Mediterranean is about 3,750,000 km^3, the surface area of the rest of the world oceans is about 507,500,000 km^2.)

I think a few existing coastal cities might object...
Now this is an exercise in doublespeak:

1) Rather than avail himself of the many
lawful avenues to express legal, moral, or ethical qualms with U.S. intelligence activities, Mr.
Snowden stole 1.5 million classified documents from National Security Agency networks.

WRONG - He has stated many times that he did approach all manner of "Oversight" people who basically told him to shut up. What happened to Tomas Drake and the others who tired the insider approach - nothing ever came of it.

2)...vast majority ofthe documents had nothing to do with programs impacting individual privacy
interests

How do you verify this? you can't

3)..In the course of doing so, he infiringed on the privacy of thousands of his friends, colleagues, and fellow citizens

Meanwhile the NSA was illegally infringing the privacy of almost 310 million americans

4) The material Mr. Snowden stole pertains to lawful intelligence activities
authorized and overseen by all three branches of govemment.

- the activities were NOT lawful (as in legally defensible when challenged in a court), they were not overseen by anyone and some of them were unrelated to intelligence.

What a bunch of gutless hypocrites.
No, I learned lots like that too. But the mere fact that "I've learned a lot from doing X" doesn't mean you wouldn't have learned more from doing Y.
Sublingual administration of certain chemicals allows for they bypass of first-pass metabolism; basically going from the thin membranes in your mouth directly into your bloodstream.
Patrick,

I used a random sampling of things... relax.

How would you mandate pen-tests for every router to eliminate your job? Wouldnt happen, huh?

Who gives a shit. My point is that if we are so concerned about one aspect of health, then why is "kids need good teeth" the only fucking vector we are addressing?
> React is the really the ideal rendering engine

Compared to what?
EFS on AWS is an interesting approach. It's a NFS mount that every instance and every container can share.

I wouldn't run a database off it but it's been great for simple file synchronization across containers and container restarts.
And I don't disagree! There's nothing wrong with that device as far as fiction writing goes, it's an interesting one. I'm just pointing out that while certain events unfolded there, we should always remember that it's a work of fiction, which means it, in and of itself, is not evidence that those events would unfold that way.
Am I the only one who actually uses caps-lock for its intended purpose on a regular basis? I use it pretty much any time I have to type more than two capital letters in a row, which is frequently when I'm programming.
I think that one of the NVRAM solutions in development like Intel and Micron's 3D xpoint might have lower power consumption per GB than DRAM given the non-volatility and thus the obviated need to continually refresh the value. So if we were to see DRAM replaced by NVRAM (or at least augmented, where all but the most critical data were shuffled from DRAM -> NVRAM each time the screen locked), that might be a pathway.

I tried to find some numbers on this, but this is outside of my area of expertise. Would love to hear somebody more knowledgable weigh in.
I disagree - psychoactive substances applied to the gum are absorbed into the blood steam much more rapidly than those ingested.
I don't know what you guys will do without Elon Musk. He's truly a gift to you all.
< $50 in parts (just a PIC24)
Manning: Ending hunger strike after Army approves treatment
USDCHF: Vulnerable to the Downside on More Weakness
Hmm that doesn't seem to make sense. Free markets (which include the vast majority of countries on the planet) enable people to create wealth. Maybe some sort of mix of a planet-wide initiative and the normal free markets we have would make sense. Calling free markets "the problem" doesn't really do anything for anybody.
> There was never, ever, the remotest chance in hell this was going to happen. Obama has nothing to gain from this

Neither of these have to be true. However,

1) Obama will certainly not do something this controversial before the election.

2) Obama absolutely has really nothing to lose either by pardoning Snowden at the end of his term. In fact, he actually has quite a bit of credibility to gain among the people who care.
I actually have fluorosis... I was shoved Fluride growing up and the damage it has done to my teeth is serve, add in my poor college choices and I will be having full on implants before I turn 40.
Of course. But the corollary to that is just because someone interprets something as sexist doesn't automatically make it sexist.

Given an ambiguous statement, people can (and should) judge the statement based on context, and that includes perceived intent of the speaker. Human communication is much more than just words. Context and intent absolutely matter.

IMHO, everyone should be given the benefit of the doubt when dealing with such serious allegations. Or, as they say innocent until proven guilty. I wouldn't want to work in a place, or live in a society that believes otherwise. There simply needs to be a higher burden of proof than "it's sexist because I felt it was sexist".

Can it be considered sexist to say what was said? Sure. Should it be considered sexist by default? I don't think that's been proven.
I've been making games for ~30 years, and I'm always curious about how people like to apply functional concepts to game development...and yet, when I look at this, I think "Why?"

As far as I can tell, it just starts out with a React tree and then says "put the game in the middle part." Meaning that how you write the game is almost orthogonal to any of React's key concepts like one directional data flow. Except that things like collisions seem to be handled at the global level, meaning that you have to filter them back down to the individual objects involved -- which is strictly worse than letting objects respond to their own collisions, and encourages the creation of "god objects" at the top level that are completely opaque.

There are far more capable game engines out there, ones that give you sprites, canvas or WebGL rendering, and far more sophisticated control of game objects.

Basically all game engines work in a "display the current state" manner (except for old school "put your draw function here" engines like Love2d), and many have built in physics abstractions as well. Can't see any reason to use React for something it's clearly not well matched to.
I mapped caps lock to ctrl on Windows and to command on MacOS. Using the system wide default shortcuts feels much easier this way, because caps lock is on the same middle row where my fingers usually rest.

I got this idea from the custom layout of the HHKB keyboard: https://elitekeyboards.com/proddata/doc/hhkbp2_basic_layout1...
There are more than a few old routers still in use, RAM maxed out, that are bumping into their limit. Whenever an aggregated net gets accidentally split, they start failing.
WTF am I supposed to be helping. Reading comprehension apparently fails this audience.

so yeah. Fuck that. Read a quote. Did I say it no, hence we have the term in english called "quote" - we even have fricken literal characters on our keyboards and in our lexicon called "quotes"

Let me try this for you: "Don't kill the messenger" -- SamStave

Kill me for that.
It's not a stretch, generations generally span about 15 years and millennial is what people settled on. I'm 32 and we were always part of generation Y/millennials.

Most sources put the end of generation X as 1980. So unless you want to come up with a micro-generation for people born between 1980-1985, we're stuck in the millennial group.

The thing is that if we stick with a 15 year span, the youngest people who should really be called millennials are around 21 or 22, but it seems like each year the lower bound for millennial grows (I occasionally see news reports referring to children as millennials).

I'm assuming this trend will stop when we settle on a name for the next generation.
I'd say the most important part of this statement:

> Rather than avail himselfofthe many lawful avenues to express legal, moral, or ethical qualms...

Is patently false. He did attempt to use those channels and was ignored [1] - at least once as confirmed by the NSA itself, and many other times according to him, which the NSA disputes.

[1] - http://www.nbcnews.com/feature/edward-snowden-interview/edwa...
That strategy is similar to our current best strategy for bringing peace by killing more people than the enemy. It's proven to work but it is very wasteful on both sides.
I guess the entire cognitive dissonance com from this line:

> How soon can it happen? Since the trend is exponential. It can happen within 100 years.

Some people think "well, it's likely to happen within 100 years -> it's up to us to be prepared".

Other people think "well, it's unlikely to happen within 10 years -> it's not worth it to begin to prepare".

I don't even know if one of those is wrong!
Yep, my grandma had a rotary phone until well into the 90s. She was still paying the phone company to rent it as well.
You are being attacked?
I interpreted the author's hypothetical future to be an extension of post-modern ideals. It would be weird to call all of art history up to that point of supposed enlightenment "post-modern".

The irony of the article I was trying to point out is that even if there is a future where all media and styles are equally respected and not held as having any intrinsic value, historians will still need to come up with terms to describe the past and present; and whatever those terms actually are, they'll likely imply a narrative of progress.
Many billionaire doesn't give a damn about humanity or earth in general. In fact this precise trait had made them billionaire in the first place.
NOT TO MENTION ALL THE SHOUTING ONE DOES IN COMMENT SECTIONS
Has it ever been a problem in practice? I'm not aware of it ever being one. Worst case scenario some malicious software destroys a game install and some saves, unpleasant but not the end of the world.

It comes with some great benefits though, like easy modding. Imagine if my text editor couldn't access my games folder?
I am in Apache County.
> 90% of the people voted for Mein Kampf and the Nuremberg rallies and the repudiation of the Treaty of Versailles and Kristallnacht; the mandate was overwhelming.

> Since I first published this essay, some people have cited Shirer to different effect, that Hitler actually gained supreme power by an act of the Reichstag on Match 23 1933, and was already dictator at the time of the 1934 elections. This is a quibble. The particular route by which Hitler was able to subvert the Weimar Republic's democracy is far less important than the simple fact that he was able to do so.

Is it a quibble? I do not know sufficient history, so: how reliable are the results of those 1934 elections, how rigged were they? If the people didn't actually vote, thenh a large part of his argument falls away.

I do think we'll end up with anarchism as our form of "government" (at least in some places) far in the future when (/if) we achieve post-scarcity society (a la Culture novels). Or we might get benevolent-AI-controlled governments (might become possible within a few hundred years!), or perhaps a combination of both. Interesting times to live in - and perhaps some or many of us will get to live through those, if Calico or BioViva achieve some of their goals.
Building a blazing fast ETC2 compressor
Have you tried the jk chord? for me, it feels faster because the j key is where my right index finger parks.

:inoremap jk <esc>
http://learnvimscriptthehardway.stevelosh.com/chapters/10.ht...
If you encounter a business still wanting your social security number as proof of identity, just generate and give them a random one and store it in a password manager like you would any other password.
This is amazing...

I didnt realize that there was enough elevation diff in order for such a plan to occur. Off-hand, do you know what the elevation difference is??
> So in a way this is game programming without the concept of time.

A. You can't have a real time game without the concept of time. If you're making a turn based game, time is ignored equally in a traditional game engine.

B. Most game engines that have a built-in physics engine abstract away time to the exact same degree that React Game Kit does. Everything is about responding to collision events, applying forces, spawning animations, etc.
I'm Thomas, not Patrick.

We fluoridate because the cost/benefit works out. Mandatory mammograms would have a poor cost/benefit relationship.
To be fair, pc games running at 320*200 most certainly did look like that - big pixels with hard edges. But very few games ape the EGA palette, all the NES-looking pixel games look like tech thst never existed. EGA was a pretty short period between cga and VGA, much of PC gaming was blocky, but high color... and had a bigger focus on strategy and puzzle games because of the keyboard/mouse input, which isn't really reflected in the indie world's love for pixelly platformers.
Why is that relevant? Is he a whistleblower or not is the question. Whether he gets pardoned from a jail cell or Russia makes no difference. Avoiding a trial isn't the central issue.
I'm a member of plenty of discussion groups that run on a VBulletin board or something where you can register and start posting. Why doesn't the local university feminist organization do that, why do I have to give give up my private info to Zuckerberg et al just to be part of it?

Maybe I'm weird but my larger social groups are usually focused on specific things and I'm happy to interact with them in a forum designed specifically for that purpose, not owned by a huge information-sucking company.

In fact, I find the requirement to be a member of Facebook as a condition of productively working with that feminist org to be really exclusionary.
Do you program in SQL? (I've just pressed Shift and released it after I typed SQL, hey)

Using Caps Lock for its intended purpose means that it's another mode that you need mental resources to keep track of.

Historical aside that's not related to your comment: early Soviet computers modeled after IBM PC had Latin key, that basically worked like Shift, but it changed layout from Cyrillic to Latin and vice versa. This idea died after MS Windows, that didn't (and still doesn't? I don't know) have this option, took over the market.
> a faulty conclusion reached by the free humans

I dislike that interpretation because it's really insulting to the intelligence of those humans. (Specifically the idea that they would conclude that as a group, with years of consideration. I'm not disparaging any individual that would find it plausible.)
> Of course not, because it's supposed to also work on mobile. Does your iPad let applications prevent you from going back to the home screen?

You don't see the problem here? Why do I want the restrictions of mobile phones limiting my desktop applications?
Yeah, get bent dude. It sort of is your job to prove who you're quoting or get called out on it. The nearest I can tell is the guy you're talking about is George Haymaker, and if that is who it is, he was CEO of Kaiser, not Alcoa.

But when you do things like this:
"FFS; I am relaying a quote I heard from the head of fucking ALCOA! y'all motherfuckers know what ALCOA is? and how far their reach is...."

That detail mattered because you made it matter. No one attacked you for that.