skysight-inc/HackerNews huggingface dataset:
Every time these sorts of things come up, we see contemporary Americans excusing the actions of their state as 'admissible under the circumstances' .. however, one has to wonder just what form of circumstances would be appropriate for this to be happening to the United States, i.e. - if a foreign state had done this to the US, would it be acceptable?

No, of course not - not ever.

So, the point of these stories seems to be to point out the hypocrisy of the current generation of Americans - who justify American supremacy at the cost of a great deal of moral altitude. Surely this bubble is going to burst, one day, and we won't have a generation of Americans who justify the crimes of their state against others', but rather accept responsibility and actually put the actors in jail? One can only hope.
Node-behaving--badly: A sandbox for writing terribly performing code in Node.js
For whatever it's worth, assert statements were also heavily used in embedded digital TV software. The philosophy is that things either work or they don't. With enough QA and field testing, those asserts will show up if state goes awry.
Well, let's clarify that by saying "if you want to own a house somewhere cool", because it's totally possible to buy a place on $120k. But it's going to be a condo, and in the far east/north bay if you work in SF (Pleasant Hill/Santa Rosa or further) or far south bay if you're in SV (morgan hill or gilroy).
the fact that US for decades openly and covertly supported such an plain evil regime as Pakistani one (on top of other similar all over the world) tells me all I need to know about lack of any morality of US foreign efforts.

I'm not buying some fairy tale of lesser of two evils while supporting the bigger one. they could do better if they wanted, which would incredibly affect millions and millions of human beings, but they've chosen not to.
So what is that supposed to do?
Nope, south east US. Trying to be vague here for privacy.
I know $20k seems like a lot of money, but if it wasn't enough to pay for your existing lifestyle in a new location, then it wasn't enough. The fact is that cost of living differs enough from place to place that what you can buy for 80k in one place might only cost 60k in another, but 120k in a third. Housing, of course, is the major culprit in this calculation.
Journalists these days really love "tell, don't show" don't they. In case anyone else wants to actually see what the Nine-Dash Line looks like:

https://en.wikipedia.org/wiki/Nine-dash_line#/media/File:9_d...
Inside the Obama tech surge as it hacks the Pentagon and VA
In addition to everything else mentioned here they spent a TON of money[1]. For example they spent what would be 3.6 billion 2016 dollars on Guidance and Navigation. If your current project could drop a few hundred million on QC I bet quality would go way up regardless of automated testing or not.

[1]http://history.nasa.gov/SP-4029/Apollo_18-16_Apollo_Program_...
Most valuable? I doubt it. Each of these partners shipping major chip volumes have likely ran a cost/benefit analysis of an in-house CPU vs paying the licensing fee.

Here's a more sobering set of numbers to compare ARM and Intel on:

Intel Corporation net income (2015): $11.4 billion [1]

ARM Holdings plc 2015 total assets (2016): $3.21 billion [2]

[1] https://en.wikipedia.org/wiki/Intel

[2] https://en.wikipedia.org/wiki/ARM_Holdings
Wasn't there one where you were given a plastic prism and you had to look at the screen through that prism to see a number which you typed in?

Without the prism it just looked like random dots.

I might be imagining this.
Not entirely certain if it's bad form to plug this here but I figured the cause was just.
Seriously doubt it.
The simplicity of the language and some of its choices really force you to do things a certain way that comes out almost universally legible instead of going with what may feel easier or "clever" to write. This is why it's so widely criticized (which doesn't mean that some of its criticism isn't fair).

Also gofmt having the last word on what code is acceptable and what isn't helps kill a lot of arguments that aren't worth having.
This made me laugh out loud. You're fearless!
Argentina is a good example of the extended misery you'll experience when your whole economy implodes and having a bunker you can huddle in isn't going to help at all. You'll have to go out and trade, eventually, for supplies.

Rwanda is another example of what happens when The Shit Hits The Fan where unless your bunker is invisible or utterly impregnable you're not going to survive for long. When word gets out about a huge stash of weapons and food guess who's first on the hit-list of an angry mob?

Does being a prepper save you from an ISIS-like take-over of your town? What about when the Russians role in and assume control like they've done in Georgia and Ukraine and you're now living in a whole different environment?

Anyone who hoards food and bullets is thinking that when society collapses it will be a little bit of chaos and then they can go back outdoors and carry on.

I'd challenge anyone to show when such a thing has happened in history.
Oh yes this. Accounting apps (home and small business) are horrible for cashflow forecasting. I really have no idea how most people accomplish this task without a complex spreadsheet like the one I've built for myself and my small business.

Perhaps most people don't appreciate the importance of cashflow forecasting and just think as long as they have a budget for this month and make a deposit to savings each month they're fine. If that's the case I would say they're probably misallocating.

YNAB? No YNAFSS.
This is something I do myself. As I build up the code, I write tons of self checking asserts so it fails quite quickly on the first sign of something wrong. At some point, I'll remove the less likely asserts as they just clutter up the code.
I wrote a book for Packt (and later for O'Reilly -- much better!) and I still cringe when I think about people reading it. They gave me three months to write it, and it's been out for three years now, so code samples are slowly breaking as technology moves forward, and some of the content is badly out of date. The principles are good, and there are definitely some useful things in it, but, my god, what I wouldn't have given for a copy editor and someone to actually review the code. It was all written in MS Word, as well, which made formatting and editing a nightmare. Their editors actually put mistakes into the book. I think I took most of them out, but, like I said, their deadlines are nuts.
K-armed bandit algo?
Unit testing is not a method of achieving reliability, but of accelerating development. They do not prove that a system functions correctly, which is more in the domain of systems and integration testing.

Also, testing is only one small part of building reliable systems. Instead, reliability requires actual engineering practice, which is non-existent in the software world except in a few life-critical domains.

NASA and their contractor's software engineering practices have been covered extensively elsewhere. Here are some links.

https://www.fastcompany.com/28121/they-write-right-stuff

http://history.nasa.gov/computers/Ch4-5.html
The biggest advantage of home ownership is the tax break. You can leverage capital 4:1 (with a 20% down payment) and your capital gains will be tax-free up to $250,000 per person.

The second biggest advantage is that you can fix your housing costs. Good luck finding a rental that will have the same monthly payment for 30 years, but it's not hard to get a 30-year fixed rate mortgage.
He's also responsible for numerous foreign policy failures (with genocidal results) as well. He's generally considered a polarizing figure. He doesn't strike me as a deserving candidate
I don't know that you're asking for it, but I'll share my approach. I use GNUCash for transaction recording, and I have two levels of budgeting:

Level 1: next 30 days. I have a couple dozen recurring transactions, generated 90 days out. If, based on the current balance plus expenses 30 days out, my checking account is projected to go negative, I do something about it. Otherwise, I think about shifting some money into higher interest savings, since I don't need it in checking. And if savings exceeds my emergency fund definition, additional Roth IRA contributions may be in order. The end result is that reducing float in checking can end up with a pretty high return.
Frequency: Once a month.

Level 2: Annual Budget. At a high level, I use a simple spreadsheet to budget all income for the year into savings and expenses. It's complexity has grown over the past six years to calculate things like income taxes, so I can compare job offers in other locations and states. I also use it to verify my very high retirement savings rates are viable. Because more savings contributions -> less taxes -> more contributions etc., a spreadsheet lets me "solve" for maximal savings. It also lets me target expensive areas, like rent, or dropping cable, phone plans, etc.
Frequency: Once a year.
In the same spirit, I wrote some functionally-flavored extensions for GLib a few months back. https://github.com/djcb/gxlib, taking a bit of inspiration from Rust and SRFI-1.

It's fun to get some of the functional flavor, while still being very near the bare pointers.
Entirely agreed on your second point.

Regarding your first part, I must mention that The Pragmatic Programmers are the exception to this rule. They offer 50% of royalties which adds up fast.
Is this it this: http://pixelscommander.com/wp-content/uploads/2014/12/P10.pd...?

If so it looks like functions can't be more than 60 lines (rule #4), and that the "assertion density" (rule #5) must be two asserts per function.
The popular programming languages seems like it's missing C++ and C#... surely they are more popular than Delphi. Did they just get absorbed into C?
I looked and saw million dollar houses as far as an hour's drive away from SV.

You mentioned Gilroy, the price situation (800k, 4M, 1M, 1M, 600k are the first 5 results) doesn't even look much better than in SF proper:

http://www.zillow.com/gilroy-ca/

Moreover, they don't really have condos in Gilroy.
Turkey coup: 15,200 education staff suspended
DayDream BBS used to have a copy protection mechanism where when it detected being a pirated copy, it silently enabled 'shell' command for all the BBS users. I imagine that gave a pause to a few Sysops! :)
I think it's important to remember that the kind of software written for any kind of flight control or guidance system are very very very far from the kind of dynamic software normally done today.

There where more likely to be hardware errors than software errors, thats how close to the hardware they wrote.
Getting a handle on spam emanating from generic top-level domains
Sorry, I'm still not following your argument.
All they (the sales & marketing again) had to do was give devs time before opening their mouths and giving the impression that they are no longer pushing it, just as Sinofsky did with .Net and WPF.

Windows phone apps were the most profitable to write unless you had a blockbuster as your app was actually likely to be found in the app store but why bother when they kill it with what can only be called anti-marketing
As I understand it the tract record isn't actually that good.
I got a $10,000 advance on my first book. $0 advance on my second one. Guess which ones made me the most money?
> The death toll is commonly estimated between at 200,000 and 3 million. Kissinger’s tacit support for the massacres in Bangladesh is one of many incidents contributing to his poor record on human rights.

such a person should be sent for life in hardest prison or executed, not walking around with such an award.

I mean, read the article. he laughs about masacres being done. some days, I feel ashamed to be part of the mankind for what we're doing here or there. today is another day like that
Is that a helpful response to that person? Isn't that person (despite sounding like an ass) more or less right at any given time?

Excepting environments where performance is critical (games comes to mind), shouldn't we bias toward improving the code for human readability?
The nine-dash line is self-evident absurdity. One glance at it on a map is enough to know it's ridiculous. It's like if Spain claimed the entire Mediterranean Sea all the way to the Suez Canal. I'm sorry if China is upset by this Hague ruling, but the historical conditions of 500 years ago don't mean they get to extend a giant territorial pseudopod into a body of water and muscle out five other countries, many of which have more coastline on it.
Where in Time is Carmen Sandiego on the Amiga came with a pocket encyclopedia which was both part of the game and a copy protection mechanism.
"Say what you want about cryonics but the storage part is proven technology"

I've always wanted to say that cryonics as a field of study gives me indigestion. I would also like to say that all who study cryonics are villains and fiends. There. I said it. I feel so much better, thank you.
Tucows Is Hiring Interface Developer – Toronto
> Dr Otte reports read speeds of 1-2 minutes per block. He reckons he could boost those speeds drastically, to about a megabit per second. That would be a big improvement, but still thousands of times slower than modern hard drives.

Try tens of times slower. There would absolutely be applications for nonvolatile memory that reads at 1 Mbps but has this kind of insane memory density. For most applications you'd probably have to make the technology stable at room temperature though.
I cut my assembler/hardware teeth diagnosing and patching the scheme protecting a PC game called Zany Golf. All it had was a bad block check, and a Phrack article on catching INT13 was all I needed to short-circuit the validation routine. Good times.
Compared to history we have never has as much freedom of speech as we do today.
Should I Build or Buy Software?
Yes I reckon this thread is pointing at the whole client side frameworks landscape right now
These days Chromium use Blink, a fork of Webkit. I am unsure how many, if any, changes to Blink is ported over to Webkit.
YouTube API Getting Started C# Code
Because ESC is *just* too far away
All I can say is it absolutely wasn't my intent to belittle the work that went into the project. I only felt like sharing what went through my mind when seeing that all of the avatars were faces.

There are many sites where faces are expected, like Facebook or LinkedIn. The internet is larger than that, though, and some people prefer to identify in other ways. Maybe I should've been more explicit about the conversation starter.
I'm not saying it's necessarily cause and effect but when the people developing the products are enthusiastic and proud of the product it certainly helps.
Unit Tests are not the one and only metrics for software quality. Believe it or not, before unit tests were coined, we managed to build reliable software too. Actually a lot of the internet was actually built that way.

But your assumption is very interesting, because it states a very common misconception of quality (whatever that means, reliability, maintainability, resilience, etc):

* "Unit tests imply reliable software". Well, it does not, you'd need reliable unit tests for that, and from what I've seen in the industry, not every unit test out in the wild increases reliability.

* "Without unit tests, you can't have quality software". That is just not true either. First, not all tests are unit tests, end-to-end (integration/functional/whatever) test are extremely useful and raises the quality too. Even without any automated test, the quality of documentation, contract programming, manual testing, etc also help a lot.

Also, note that apart from testing, a lot of different practices contribute to reliability. Separation of concerns, the language level of abstraction, the overall experience and involvements of the developers, and many others.
The sales paradigm has changed – selling is much more than pitching facts
At $300k the costs (ie: time) involved in tracking your spending in the way accountants do it, or how an app like YNAB [1] is set up, is much too expensive where the ROI is questionable.

It's important to have a money-guy to handle taxes, corporate paperwork, etc and have a basic budget. But as far as tracking all expenditures manually, I believe this is the wrong approach.

It's good to watch your money and sit down once a monthly to review where your money went and plan your next 30 days. Biweekly would be even better. This is a good balance between the two extremes while giving me more time to focus on building up my side businesses and other revenue drivers.

[1] https://www.youneedabudget.com/
DIY biologists learned genetic engineering isn’t so easy after all
There's no conversation to be had with a racist: they are suffering from a mental and emotional disease. The relevant thing to do is offer medicine, or if they refuse to try to help themselves heal from their sickness, isolate them.

https://www.youtube.com/watch?v=gqH_0LPVoho

Good day.
Thank you for your work on the proxy middleware, Nimi! Hopefully in the future we can get it to the point where you won't have to go to all the work to maintain a fork.
What would happen if the US didn't support an evil regime?

It could collapse and be replaced by something better, or something worse. Or it could just be supported by another super power.

But you're right, fairy tales sound nice but aren't true.
The reason most JavaScript engines do it is because they have three or four ways of executing code that are all intended to offer maximal performance under different circumstances. If it takes longer to compile a function than to simply interpret it, don't bother compiling. If it's called frequently, compile it.

Your academic view of compilers work has no bearing on how ugly and complicated reality is.
I just replaced nginx with caddy on a staging server. Works flawlessly, very easy to install. The docs could use some improvement though, especially in the way of examples.
Or it's that non-specialists with only a vague understanding of what you're doing don't know what you're talking about. I don't consider stem cell researchers to be lacking in empathy because some of the hyper-religious accuse them of dangerous experiments and "playing god", even though their work "resembles a work of dystopian fiction."

Of course we can question where technology is going, but saying "gee, group x commits crimes at 27 times the rate of group y, on average we should consider them to be more at-risk" isn't 1984, it's how car insurance, the job market, dating, the stock market, almost everything works.

It's not optimally fair by a long shot, but neither is the alternative of analyzing no data and making social policy out of how you wish things were instead of how the data tell you they actually are. The solution to data telling you unpleasant facts is to try to change those facts with policy, not put your head in the sand and bleat "totalitarianism" every time a fact enters the conversation.
Equity Accrual Renting – A new form of home ownership — YC-R: New Cities
I worked and managed retail for several years. There was always more work that needed to be done. Retail stores are messy, and sales correlate positively with clean, attractive merchandising. Customers are needy, and sales correlate positively with customer service.
Also works fine on Android 4.3 with the latest Chrome version.
Doing this results in the company and HR having an inaccurate view of the organization. How long can a company last when employees don't make frustrations known and instead put on a happy face for display?
Please do give any feedback you have.
An Oral History of Unix
That would have been another shit move by Ballmer. He already destroyed Nokia and cost MS a fortune.

Let's hope LinkedIn brings value with a deeper integration in office.
I bought a copy of Quicken on sale a few years ago. Once everything was set up, it's been pretty darn minimal effort. I spend 5 minutes downloading & categorizing transactions every couple weeks. (needs to be fresh in my mind to categorize, and some banks only let you download 3 months back). Overview is continually available on a running basis.

A spreadsheet might work better, if I didn't have 20-30 accounts, and money constantly flowing around them.
The worst example of this I ever saw was an old macOS helpdesk application (@1995) that had a 14,000 line main event loop and the entire application was a single 29,000 line C file. Just typing at the bottom of the file was agonizing. We tore the whole thing apart and put it back together as a real app with include files and everything.
Best PC Laptop for Development (July 2016)?
Hi, I am looking for a good Laptop to do web development (RoR, NodeJS, Python, Docker). My budget is less than 1000€ (~$1100) to install ubuntu on it any idea ?
Will second the "look for good rates on e-books" People often underestimate income from ebooks, but it's huge. I was offered a $5,000 advance with 10% of ebook sales, or no advance with 25% of ebook sales, and it was one of the best decisions of my life to take 25% with no advance. For the past year, I've received an average monthly royalty check of $3k (albeit before taxes, which I have to pay quarterly), with most of the income from ebooks. Not only do I earn a higher royalty rate for them, but the "wholesale" price from the publisher for print books is smaller than you think it would be (not shelf price), and my ebook/print book sales are about half and half.

I also get a few hundred dollars a month from licensing it out through Safari -- each page read through the platform earns me money, which they calculate through some wizardry (all revenue, divided by all page reads, times the page reads your book got, times 25%). So really think hard about the royalty rates for online access, licensing (the book's been purchased by five international translators, and each one is another $500-$1000 for me, on top of 5% of the revenue from foreign translation sales). Those things really add up.
I think your number includes design and building one of the first solid state computers.
Overal LE increased at twice the rate 1900-1950 as 1950-2000. Source: Gordon 2016.

One of the NYTime health reporters had a statistc in a 1990s book that 85% of human L.E. improvements were from public health, not diect medical, meaasures. Laurie Garret IIRC.

https://www.goodreads.com/author/quotes/12627.Laurie_Garrett

"In all, 86 per cent of the increased life expectancy was due to decreases in infectious diseases. And the bulk of the decline in infectious disease deaths occurred prior to the age of antibiotics. Less than 4 per cent of the total improvement in life expectancy since 1700s can be credited to twentieth-century advances in medical care.”

― Laurie Garrett, Betrayal of Trust: The Collapse of Global Public Health

Intensive methods have worked in some areas. Sanitation, clean water, waste disposal, nutrition, vaccinations, hazard and toxin removal, and general preventive care -- all the nonsexy stuff, matter far more.
How to be funny and write funny?
That's exactly what it's doing. There's no benefit to using these macros except that it's shorter and maybe (?) therefore clearer.
So you're saying "it was already broken when I got here, who cares if I make it worse"? Sounds like a really selfish and unenlightened attitude.
To be fair, though, the first 15 (27?) years of the web were terrible. There was no way Sears was going to go whole-hog on 1990's web. Or 1993's web. Or 1999's web. It's barely usable now (he says, typing this into a web forum in 2016). A cow-orker of mine has a paper copy of the "1994 Internet yellow pages" and guess how many web sites are included? 0!

Yes, somebody should have come up with Amazon before Amazon did. But they didn't, and here we are now.
haha true. However was the parent who referenced geocities selling a lot of shares or a small amount? I bet someone selling under a million $ in shares might not have the same advisory level as Mark Cuban.
Asserting about involved variables each 10 lines of code (: