skysight-inc/HackerNews huggingface dataset:
Maybe the 2020s will see an end to support for war in the US, but it will take the continuing reduction of the old white conservative white people class, that seems to lose about 1% of the voting population a year. I'm a white person but not conservative, and I do come from that group. These demographic changes take a while to percolate through the political leadership, because the folks that liked military action will have to age out of leadership. So while I'm voting for Hillary, I wish she was a lot less a part of the conservative dems that generally support military actions.

I think what will probably happen is that the decreasing political power of conservative older (mostly white) people will lead to even more national extremism, and then the demographic changes will force the republicans to change to attract conservatives who aren't white. It saddens me to feel this is all but inevitable. I'm from a southern state but now live in one of those economically successful liberal coastal tech hubs. I wish there was more opportunity in the state I grew up in, but mostly I just see them wasting time and passing laws against gay people and transgenders in my home state.

Interestingly there is a similar issue facing China. If China and the US can avoid fighting a war against each other for 15 years, then the population of China will experience a movement to having many fewer workers per retired person, partly caused by having had so many more male than female children, they will get older. For example, see http://www.theatlantic.com/magazine/archive/2016/06/chinas-t....

My fantasy then is China and the US don't destroy the world in a fight, and by 2030, China will be more focused on internal issues around retirement and economic retraction than trying to take small south China sea islands from the Philippines. Of course, US history shows that there's nothing that excites the population than a good war. Similar forces are at work in Russia too, with an aging population. And then China can gradually transition to being a real democracy (yeah, just like russia did, for a little while :-)). Putin is not going to live forever, but will he still be in power in 30 years?
John Cochrane made the best statement about this I've heard so far on Econtalk a few weeks ago: http://www.econtalk.org/archives/2016/09/john_cochrane_o.htm...

His point is that it's not about the quantity of regulation, but the type of regulation. In short he sees two types:
1. Regulation that I can read and now I know what to do and not do.
2. Regulation that requires me to consult an expert and apply to some government agency who then tells me if I am allowed to do something or not.

Obviously the second type is the bad one. You cannot properly plan. There often is no guaranteed time frame, you have no proper recourse and ideally have some kind of fixer. This type of regulation also tends to give large businesses an edge over small ones, creates large overhead for the system as a whole and ultimately hurts innovation.

I think it would help any discussion about regulation to carefully differentiate between these two types of regulation.
Yes, but it requires a court order ;) so you basically are making my point for me, danke.
Will this be a available for the vive?
Turkish government banned dropbox for hiding this torrent. please fork
Yes, it's still used in a variety of industries; however, given its nature, these uses are not always known.

For example, several prominent hardware companies embed Tcl in their firmware: Cisco, F5 Networks, and TiVo.

While it's true that Tcl was primarily intended to be used as an embedded scripting language, it can also be used for stand-alone application development. Also, the Tk toolkit may be used to create reasonable, cross-platform user interfaces.
It's probably his most seen art work.
The Agency (2015)
It depends on if you are expressing politically approved opinions and attacking politically approved targets, of course. I'm surprised there's any need to even ask.
Gizmodo? Really? PrisonPlanet or AlexJones weren't available?
That's pretty vague, he "feels something he might have tweeted about Clinton supporters"? That's not specific enough, that's why I said it was uncertain.
As stated in the "notes" section, you need to set the number of iterations to about 1 billion, and also adjust the temperature according to the picture's characteristics.
>I truly wonder if anyone is using Yahoo as anything other than a spam-catcher at this point, or for years now.

This is the generalization to the other people. "If I do not use Yahoo, then no one does".
It was just unsubstantiated. If you want to suggest something might have happened, linking to a debunker website that says its unproven makes your claim less likely, right?
The 25 Best Sites for Finding Remote Work
Faith isn't a logical process, from what I can tell, but it's also not a supposedly coherent system as most religions claim to be. Religions offer predictions (past and present), and supposedly consistent statements about morality and life, which are demonstrably inconsistent.
Linux (Ubuntu) Benchmarks for Server Side Swift vs. Node.js
It currently scores 96.8% on the ES6 Compatibility Table hosted by kangax[1], which is pretty good. That's native, no polyfills or transpiler.

EDIT: Kinoma claims ES6 compatibility is at 98% as of 2016-01-02.[2]

[1] https://kangax.github.io/compat-table/es6/
[2] http://www.kinoma.com/develop/documentation/js6/
The cooks are in the kitchen with their votes already, how could it be worse to have them actually know what the hell they're doing there?
A similarity score for a pair of columns doesn't give you an ordering that you can use for sorting.
> for an architecture that could never exist.

Interestingly, there is a real world equivalent to the TIS architecture: the GA144[1] has lots of memory-constrained Forth cores with software defined I/O between them.

[1] http://www.greenarraychips.com/
>mansplain

Please don't use sexist language on HN.
The next step is perhaps to understand how the nanotubes are incorporated and how they contribute to the strength of the silk.

Or perhaps, we start breeding silkworms for greater and greater tensile strength silk? Perhaps we could get some of nature's nano-machinery to align and interweave nanotubes in a durable matrix for us?
This presentation looks like it's mostly about how Docker Inc leveraged software from their MirageOS acquisiton while writing Docker For Mac. For the unfamiliar, Docker For Mac is an attempt to make the Docker Engine appear native for macOS users by running an Alpine Linux VM on top of macOS's native Hypervisor.framework.

From what I can tell from this talk and from using the software, the only usage of "unikernel infrastructure" is essentially to hack around elevating privileges for networking in macOS. It sounds like MirageOS was only used because it was a reasonably portable network stack.
No, support for trump is not enough to get banned of course. That guy from brietbart who got banned from twitter had been attacking people for a long time, and urging others to attack people like leslie jones. I thing this is the kind of thing that eventually adds up to a ban on twitter.
Actually IIRC the article described using MRI's to find those particles, but I don't exactly remember. Either way, no, they're just too small. What effect they have in the production of free radicals and the like though? Who knows yet.
Manufactoria (a game about building finite-state automotons)
im a fan of built in tests/traps, like assertions that makes bugs "explode": file x, line 22 did not expect state x to be y. Call Allen. When discovered, make a test that repeats the steps that lead up to the error.
I also am not sure how you would identify this with confidence. Sure, I can see the tests haven't failed on CI. However, maybe the tests fail all the time while the tests are being run during development.
This is nice! Would it be possible to run the code with other language models? (Spanish, German, and any other CoreNLP language model)
The State Department especially are training foreign activists the CIA needs to look no further then there for 80% of where the unrest is fostered from.
You may want to take the Wender-Utah Adult Rating Scale:

http://www1.psykiatristod.se/Global/Psykiatristod/Bilagor/AD...
I don't understand why they don't give inmates access to a computer for a few hours per day.

When they're out the hard working ones will have programming skills which will help with the job hunt.
Exactly. State the conditions and evaluate conformance to the stated conditions, not something else.

It may be a good idea to ask for clarifications before or even when you've started the assignment. (Applies to real work as much or even more.)
You could improve this greatly by adding another type of change to the annealing function. Instead of just swapping columns sometimes (I.e. at random) it should evaluate flips. A flip is performed by choosing two columns at random and then reversing the order of all the columns between them. Annealing algorithms in general benefit from a diverse set of change functions.
For those of you too lazy to open up a Javascript console, it's a function that returns "42".
I'll be buying it. X-Plane is amazing.
I don't think planes are not that shiny in real life. I get that it makes for a cool demo, but I hope we can turn the specularity down a tad.
When you change the user agent in Docs, the JS app tries to use a webkit-specific selection API and just crashes. The timing results for that test seem bogus.
Not that, boiling is a step to produce silk: https://en.wikipedia.org/wiki/Silk#Production_process
Questions to ask before automating
The most dangerous tools in the shop are often the deceptively simple and familiar ones.
Thanks for this. Much appreciated.
Because like FP it requires a different way of thinking.

It also didn't help that the Japan project to use Prolog a systems language for a so called 5th generation computer didn't work out.

https://en.m.wikipedia.org/wiki/Fifth_generation_computer
Meet one of the world's most groundbreaking scientists. He's 34. (2015)
“So I Bought an Electric Car”
This is almost embarrassingly naive. GWB years saw the house, senate, and white house controlled by republicans, yet regulations continued to grow apace.

Furthermore, Republicans have long given up any pretext of wanting to reduce government control. No Child Left Behind, Sarbox, the entire mess that is Homeland Security, Defense of Marriage, "religious freedoms", increasing layers of drug regulation... it's just that Republicans want to regulate how people live their lives, instead of focusing on major corporations.

(Then, this doesn't even begin to get into the fact that many regulations are state level!)
I think most unit testing is a waste because it duplicates what a good type checker would do for you. I'm using TypeScript now, and after a break from using typed languages, it's a huge breath of fresh air.

Much of the code I write doesn't get unit tests at all, because it's simple enough that it won't ever fail. Refactoring major blocks of code is safe, even without unit tests, because the type checker ensures that everything is wired up in a sane manner when you're done. Good design can obviate the need for many unit tests.

When people talk about test code coverage in JavaScript/Ruby/Python, I think the main reason they want close to 100% coverage is that many runtime failures in those languages occur because some line of code somewhere is accessing a type incorrectly. That doesn't happen if you're using static typing.

If you've got some complex logic, making sure it works using unit tests is fine. I still do that with anything I consider non-trivial. But if you've got a really simple function that obviously works, and TypeScript ensures the function will always get the types it's expecting, writing tests to ensure it will keep working forever is just a waste of time, unless it's to verify for your own sake that the "obvious" function does what you think it should. But in that "TDD" case, keeping the test around just makes the code base more brittle, since if you decide you need to change the way the function works you now have two functions to maintain instead of just one.
Frankly, coming up with an inefficient but simple algorithm for finding primes from first principles should work. That is, accumulate primes found so far, check if the next number is divisible by any of them, or even by any number lower than the latest scanned, if you're really bad at number theory, but fine with logic.

Many Project Euler problems are about such special things that you likely didn't know before encountering the problem, but the definition suffices.
In my ideal world, when requirements change, you first change the tests to reflect the new requirements. Then you change code till all the tests pass. Then you're done.

Things don't always work in this manner, but it feels great when they do. UI tests are probably the hardest to write this way.
This caught my eye:

Driving home in the gathering dark one autumn evening, mother and son were struck by the sight of falling leaves, dead and dying after lives measured in mere months. They spoke about how little time anyone has, she recalled, and how easy it is for a life to disappear without the slightest trace that it had ever been. "It just seemed important to me to try my best to make a difference," Zhang said.
Track Hurricane Matthew
You would be better off. I love JavaScript, it's my favorite language (I like things that are accessible to everyone), so I would be worse off.
Is this the AKP Mail leak from Wikileaks?
If someone uploads this torrent file to the Internet Archive, the Archive will immediately retrieve and store the torrent contents.
I'd be interested to see how a Genetic algorithm with carefully chosen mutation/recombination operators would suit this problem.

Mutations could be flips and random swaps. Recombination would be combining chunks of already partially optimised solutions (breeding).

Genetic algorithms do suffer a cost of having to keep a population of solutions in memory so it would be interesting to see how the end results compares in performance to annealing.
Absolutely agree with this comment. If you get beyond the title, what Gowers is talking about specifically is "If everyone were compelled to take 2 more years of mathematics, what should it be?" It is very different from what we would teach undergraduates getting engineering degrees; it would also be very different from what we would teach math majors. If we were to replace "mathematics" by, say, "programming," it would also not be surprising that one might come up with a list of topics differing from what we would want an aspiring computer scientist to know.

I did not find anything really surprising in the first part of Gowers's essay, but I thought the list of questions was great, independent of whether or not it is really appropriate for a required course.
Not sure if this is sensitive or not, but a description would be helpful.
I think the cost of unit tests when changing code also varies with the quality of the design. If your code manages to some degree to follow the open/closed principle you should be able to just throw out some of your classes. On the other hand that also implies that maybe in those cases the unit tests could have been tossed earlier. However, there always will be things that won't be extended but actually need to be changed and you won't know in advance which is which.
I do however like the idea of unit tests as a scaffold that guide you to build the right thing and then you toss them. Usually I have only very few construction sides in my code base that I am confident enough to burn the scaffold down. It would be an interesting idea to TDD a project and always delete all unit tests after you are done with them and only keep cheaper acceptance tests around. Maybe you would actually ho faster
Unit tests can take ages to write and if the project requirements are changing constantly, then you keep having to update them and it slows down development and kills productivity - I've seen this happen many times in previous companies.

In some environments, refactorings to the code will also refactor the tests. Doing test first is only a win in the situation where you don't have to duplicate work, and only if management wouldn't otherwise give you the time to write tests after the fact. Unfortunately, the former is less common, and the latter is more common.
That's why I answered it from my own perspective and was careful to contextualize it to American politics. If you don't like it you are free to ignore it.
> For example, if you ever intend to pursue entrepreneurship or aspire to CTO rank, you can expect to be interrupted often.

If you are at CTO rank, your job is not to program. You may still do that at times, or other things that require quiet time, of course. For that, you need "office hours" or "quiet hours." You simply make yourself unavailable and go somewhere you can have uninterrupted time.

If you are trying to be a developer that gets interrupted all the time as a CTO, you are definitely not doing your job right.
I think it would be worth considering that we are long ways from the punch card days.

There are programming languages, frameworks and tools which would be unlikely to exist without "advances" such as TDD.
> I try to be clear in there that I'm not rebutting your work, which I respect, so much as the extreme amount of focus by all the IT forums on just a few problems that cause almost no failures in real-world vs the ones that cause all sorts of compiler & app issues (including security). I also present an alternative that addresses root causes, leveraging two of your own articles, that knocks out the interception risk as a side effect of just doing the computation and distribution securely.

You can see some of my comments below. This discussion is a little subtle, because I agree with you that many other activities need to be done, and you respect my work (thanks!). I don't think there's an "extreme" focus; to my knowledge nearly no money has been spent on DDC, and the amount of funding spent on reproducible builds is dwarfed by the funding spent on formal methods and related work (by orders of magnitude). I think the "focus" that you see is more the excitement about things that can be done now, without radical retooling.
What does Russia care? If anything, they're probably flattered by the idea that they have so much influence. They're normally quite blunt: dropping polonium in someone's tea or pointing sniper rifles at the president of Georgia or whatnot. The idea that they'd merely throw out some dirty laundry that won't really accomplish anything seems more like an inoculation than trying to take someone out.
Ha, I was wondering why my Dropbox-sync did not work.
Because when there's these useless unit tests covering everything, it makes refactoring very difficult.

We had this solved in Smalltalk in the early 2000's. Why has the rest of the programming industry screwed the pooch on this, since?
I think music is the best example. There are two ways of learning music:

* learning solfege

* learning how to play directly

Most great school of musics will teach you solfege first, and you will have to go through hardcore solfege classes while you start learning how to play an instrument. Some teacher will do the same, or some family will make their kid do the same.

Now I can tell you this is not fun, but this is the way to become a great musician. You need the theory, you need to know how to read that stuff like you're reading English. But this is not fun, and I've known many in my youth who gave up learning an instrument because of this.

Now if you would teach every kid to play an instrument first, and have fun with it, and actually producing music with their fingers/mouth then... they would maybe enjoy it enough to get interested into taking solfege classes and music theory later on.
>> But Spolsky played down those surveys, saying programmers have “a desire to use the latest, cool new thing” and tend to move on from programming quickly, so that their ranks are filled by “new kids showing up with newfangled things they just invented, usually reinventing the wheel.”

Odd and sad, and I think mostly true. As a 55 year-old working engineer I consider software my trade, and it's given me a life most people around the world would envy. I think how strange it would be to say "most carpenters quickly move on from woodworking," or "most architects quickly give up designing structures."
Are you implying nation states are going to prevent browser vendors from implementing mandatory Certificate Transparency? Why haven't they done that for HPKP, which would allow ISIS to prevent being MitM'd as well? What about all those E2E-crypto messengers out there?
Why do you say that? do you have poor self esteem or are you just trolling.
Thank you!

It's a solid intro - description, but the only tool referenced is their own product, which makes it somehow biased. But will give it a try.
It is baffling that machine translation on human language is approaching human accuracy but it is still far behind on programming language, given that it is supposed to be more closed/matching to metal/machine.
I've seen it, it looks great. Do you have any idea how useful it is for actually learning how microcontrollers work?
If they banned a service as popular as Dropbox (I assume for hosting rather than "hiding") I doubt they would have any issue with banning Github. This repository becoming well known just sounds like a recipe to get Github banned in Turkey as well. But I'm no censorship analyst and I don't even know what this torrent is.
True. But if they missed finding one thing that's publicly available, how can we say they missed nothing else? It's a big internet out there. I don't think anyone can say that things are unavailable, only that they haven't seen them.
Taking the sarcasm out, your point is that such thing exists. Agreed. But usually it is just a single course, it does not cover everything. And why it is a separate course at all? Why should you study some field with pencil and paper and then (possibly, after a couple of years) study a subset of that field "numerically"?

As an example of what I am talking about, the book "Structure and Interpretation of Classical Mechanics" (a cousin to SICP) tries to teach classical mechanics with the help of computer programs. But this approach remains unconventional.
Its very widely used in EDA. Companies like Cadence, Synopsys, Mentor etc. This software is used to design the chips in cell phones etc.
Please add a description here or on Github for context.

From what I understand, this contains leaked emails from the Turkish Minister of Energy, who happens to be President Erdogan's son-in-law.

Source: https://www.reddit.com/r/europe/comments/56h0s3/they_just_bl...
Foundations of Multidimensional and Metric Data Structures

Hanan Samet
Welcome to planet Earth and the immutable human condition that's persisted in every society since the dawn of civilization.

Their findings could have big implications for how the government addresses poverty.

This is only of interest to anyone because it's used as ammunition for various political agendas.
Sounds like a great opportunity to learn set theory, abstract algebra, number theory, linear algebra. You could get a working comprehension of cryptography or computer graphics. You could get a handle on category theory.

Those are topics that one could make progress on with only a pencil, paper, and the occasional phone call to a mentor.

I cannot imagine submitting punch cards and reading JavaScript stack traces by mail.
The Datomic database is a great datalog implementation
Apple Weekly 2016/40 is out, have a great week-end
Isn't Albania the distribution center for heroin for Europe?
TDD "got mainstream" with Java which is a compiled language. Therefore I don't think you're correct.

It's usually the most simple functions that hide the most subtle bugs.