skysight-inc/HackerNews huggingface dataset:
Redesigning the HHVM JIT compiler for better performance
That was really fail mental math. Editing to fix.

And yeah, obsolete tech is a business disruption, as is perishable goods. I wanted to also include things like having to pay a premium to expedite replacement inventory so that your store or factory keeps working while the goods are stuck on a ship.
Renaming and moving is still more than you can get with a dynamic language.
That reminds me of the idea of training a neural net to express a function that, if used where the sigmoid function would be used in a neural net, would result in the neural networks using it being trained well and quickly.

I assumed training a neural net like that would be too expensive (each evaluation of it would require training a neural net), for not much benefit (I don't expect the result to be better than the sigmoid function).

I'm not sure quite what you mean by self-sustainability. What does it mean for a genetic-like algorithm to be self-sustainable?

This idea also sounds like it would be very computationally expensive, but it's possible I misunderstand.

If it could be modified to only use one layer of these algorithms, maybe that would be less expensive?

I am imagining neural nets that each do both image to label, and label to image, where I guess they would engage in a sort of challenge response thing, where one produces a label and requests an image, and evaluates the image received, and provides an image and requests a label (or level of confidence for each label) and evaluates the response, and then when both have evaluated the responses, they output whether or not to reproduce, and if both do, then the genetic part is done. Sort of like a mating dance I guess. (Of course, what challenges and responses they give, and whether they accept, would also be determined by things that are recombined like the other stuff.)

But having that by itself wouldn't be enough, because it needs some connection to real things in order for the "image recognition" to represent anything real. There has to be some sort of real fitness for the reproductive fitness evaluation for the bots to evaluate.

Idk how much that fits with your idea.
Unless you wrote the code yourself you pretty much have to run the program first and then REPL to see what the type actually is and the properties it exposes Slow, arduous, unnecessary.

If the code is well written, then no, to seeing what the type actually is. In a good environment like you have in many Smalltalks, you should be able to compose some implementors searches, then quickly know what you're dealing with. Then you quickly and easily debug the system just to be rigorous. In environments set up by smart people, these actions can be surprisingly quick and easy. (In the same way that git allows for using certain information much more quickly, quantity can become a different quality.)

Do people who prefer dynamic languages actually use the benefits of dynamic typing in the first place? Changing variables from one type to another mid-stream. Dynamically adding properties to objects, using == instead of === etc.. Those things are a recipe for bugs, inconsistency, and unmaintainability right from the get go.

None of those things are the benefits of a dynamic language, except maybe as super debugging tricks. No one who really knows how to write in a dynamic language puts stuff like that in typical code! That you say this makes me think you don't know what you're talking about, or your main exposure to dynamic langs has been through the code of yahoos.
I dunno, there's a lot of wisdom in books. The bigger issue as I see it is essentially that talk is cheap, and getting results takes action. The problem is when you read a self-help book you get a little dopamine boost which makes it feel like you're making progress when you aren't (at least not yet, not until you put the information into practice). I think a lot of people get stuck on these little micro-dopamine hits and never get beyond that.
Any duplicated human brain to which you can provide even the most basic sensory inputs like pain, is equivalent to torturing a real human..

I don't think these sort of experiments should be allowed.
Agreed. It is also amazing to think about what would happen if a city were to try to do something like this today. I think it could never happen and it would be all over the national media.
I'm legitimately curious: Did you actually buy the Chromebook Pixel at the normal RRP ($500-600)?

I've met people who have had one but most of them got them for free (either via Google employment or Google I/O). I'm yet to meet anyone in real life who purchased one retail.

PS - My question is about the Pixel range in particular, other Chromebooks sell very well.
Number portability helps you keep your same number with a different provider, I don't think it's relevant when you're talking about switching numbers. Also, email forwarding is easier to set up than call forwarding, and just overall I think switching email addresses is easier.
Implementing Secure Password Reset Protocols in Web Applications
Same. I had been super impressed by Donkey Kong Country not too long before, and was still satisfied with it being the state of the art (to my awareness anyway; I was still a kid at this time)—then I walked into a Game Force and saw it on the T.V. I was astonished. After an initial period of mesmerization I hurried to find my brother to tell him about the 'real 3D' I had just witnessed. I also remember being amazed seeing the bullet hole decals from Goldeneye while playing a demo at Target.
Shiny: A web application framework for R
You're ignoring, of course, that shipping is far and away the most efficient way to transport goods.
I sat next to someone who worked for a well-known company on a plane on the way back from re:invent last year. They were ripping out Oracle and switching to AWS with extreme prejudice after one too many 'guilty-until-proven-innocent' license audits.

The days of being able to treat their customers like dirt with impunity are well and truly over.
Good response https://www.ietf.org/mail-archive/web/tls/current/msg21278.h...
If you had to pick a place in the world to release radioactive contamination, you couldn't do much worse than the upper atmosphere. Which is exactly why nuclear weapons testing was done in places like high altitude atmosphere (launched from the pacific ocean).

Safety may have played a role but AFAIK these nukes were exploded in this part of the world mostly because it was remote enough from the countries doing the testing.

After a few decades of dumping radioactive waste in oceans, we came back from the belief that dumping radioactive waste in the ocean is mostly harmless and a ban on this practice was put up in 1993.
I agree that it is a stand in for a name. Some ideas on why that might be:

-- sometimes babies don't immediately have names, and we need a way to refer to them

-- professionals who work around babies and in birthing tend to address both the baby and the adults by their family relationships (it's Mom, Dad, Grandad, etc. instead of George and Laura). This is presumably because that helps it keep clear what everyone's the relationships is to the baby, and what role they should play in the whole process.

-- babies aren't really people with their own unique identities when they are first born, so maybe it is kind of awkward to address them with their full adult name.
Software licenses are a cornerstone of the free software movement because they are our only defense against copyright.

I agree that we need to keep thinking about what one person has the right to do with another person's code, but copyright is a terrible starting point for that thought process, centering as it does the business models of eighteenth-century stationers at the expense of the much broader interests of political dissidents, scientists, historians, patients dependent on medical devices, teachers, students, librarians, archivists, whistleblowers, anybody trying to fix broken things, tinkerers, and journalists.
I hadn't heard about that before, thanks for sharing it. The idea makes for a comically evil headline, but it isn't obvious to me that the concept is necessarily nefarious or exploitative. It seems very similar to the blood transfusions we already do today to stop people from dying.
I really enjoyed this, thank you.
Exactly. It happens almost everywhere. I claim moral superiority coming from a place where there are no over-the-counter antibiotics and none used in healthy livestock :)
Local food production is a noble goal. Just sort of hoping that some industries will fail and force people to grow food locally, or starve, is not a very good strategy for achieving that goal.

It's a delicate curve. Perhaps gradually increasing tariffs can support the actual increase of local production. Perhaps taxing oil consumption to subsidize poorer countries farmers is another way to go.
500m users is different than 500m active users, plus I wonder how many people use yahoo for fantasy sports and nothing else
I find this implausible. Surely pharmaceutical companies are as aware as anyone of the growing antibiotic-resistance problem and know that there will likely be a return on their investments in new antibiotic research. Sure, these companies sometimes exhibit a bias towards short-term gains, but they also aren't run by morons. And if they are run by morons, I see some great start-up opportunities...
Come on... "Most of the northern hemisphere... where nothing grows for 6 months"? In northern finland maybe, due to lack of sunlight. They grow greenhouse tomatoes and cucumbers all year round in the Netherlands, and cabbage, spinach, root vegetables can be grown in winter without heating.
Dynamic property addition is super useful.

With the == vs === thing, I think you're confusing dynamic typing with weak typing. Weak typing is why == and === exist, and it totally sucks.

>I'm looking at a function parameter in a random file. How do I even begin to work with it?

First off, Duck Typing: The type of the parameter is the intersection of the types the functions it is called with contain.

Secondly, this is why you document your code and choose prescriptive variable names. Honestly, this is pretty bad even with types (the first question I had when I looked at my first chunk of real world C was, "what the hell is the variable 'int rv;', and what's it being used for?).

Even I'll admit that type annotations can be useful sometimes, but I don't need them.
Hmm... I intended this to be understanding of the situation, but scathing in tone - as in, "FDA, at least to us, this makes it look like you are engaging in 'Diabolical Action Z,' and we don't really have a good way to discern differently without investing dozens of hours of effort, and even then it's uncertain, given our collective expertise level."

Maybe it's better if I put it this way, "I don't actually think the FDA is up to rotten fuckery here, but it sure as hell looks like they're being FUCKING EVIL, and without a method to for to tell that they aren't, they should FUCKING STOP IT."
If the code is well written...

In a good environment like you have in many Smalltalks...

No one who really knows how to write in a dynamic language puts stuff like that in typical code

That's the problem. You're talking about some hypothetical, Smalltalk environment, where some expert dynamic language programmers always do "the right thing".
How secure are Docker containers? [video]
Your example looks good as well. Opening gives more flexibility with how the code can be structured, say that you have two interfaces:

type I interface {
A()
}

type J interface {
B()
}

And you have two structs that implement them, you can then group methods from the same interface together:

type X struct{}
type Y struct{}

func (x X) A() {}
func (y Y) A() {}

func (x X) B() {}
func (y Y) B() {}

I've seen that used in the Golang codebase, and sometimes it does seem useful.
Yes, there's a good argument that the license would apply automatically to modifications to an existing file, but even in that case it is somewhat questionable. Is the modification substantial enough that it could be considered a new, stand-alone, derived work? If so, the pre-existing license may not apply. Was the modification submitted as a patch in a file format that does not incorporate all of the pre-existing code? If so, it may be a new, stand-alone work to which the pre-existing license does not apply. Etc., etc. Very little of this stuff has been well tested in court, so there's a lot of room for facially plausible legal challenges.

And it's fairly clear that new files are new works. So, really, in all cases, unless you're getting an explicit statement from contributors that they have placed their contributions under the relevant license, there will be a a lot of uncertainty about whether they really have been—particularly if the contributor (or his or her employer) later challenges your claim.

That's why Github and other platforms for projects on the pull-request model should really build explicit consent to licensing into the process.
Thanks. I definitely hear "nobody would want to actually pay for what their advertising value is actually worth" all the time. Personally, I'd happily pay more than $10 for the benefits.
> but were the 50's through the 70,s that much of a lower quality of life

For the vast majority of the people who don't live in the USA or Europe, life was certainly much worse back then. Foxconn might not be the best place in the world to work, but it beats the hell out of living in a small town under a Maoist government.

> even though they don't live here

We could have made a crapload of money off their insecurity by taxing non-occupied housing, perhaps even building ghost cities/property tax farms from scratch. We could have used the revenue on infrastructure or social services. But no, we didn't have the political will to do that.
Even the concept of happiness I find to be fraught. I'd be happier if I wasn't so worried about being happy.
Exactly. For someone interested in applying because they want to get in the actual figures on how advanced the companies that are accepted is very important.
A bit off-topic, but I'm curious what your experience with Smalltalk was professionally.

I've always viewed it with rose color glasses. It looks like a wonderful environment to work in, but I'm sure I'm missing something. It seems like Smalltalk was lightyears ahead with it's tooling.

What do you work in now, do you find lack of tooling to be challenging?
Best Chairs for Active Sitting Now in Canada
It doesn't look like TO will implement the foreigner tax. Just hear talk but no action. Frankly, the amount of the tax is so tiny, it makes me believe that there is something else afoot. In any case, I'm dreaming of the day housing becomes affordable in Canada once again.
And then, there is this http://www.offgrid-living.com/2016/09/canadian-town-will-giv...
If I was studying web development in 2016 with the hops of getting a good job, I'd also stay away form Perl and learn JavaScript.
I completely agree with you!
There's not really much difference between the idea of states and provinces. Just like US states, they have laws and elected officials to themselves. It's the same in many other countries as well. It's pure American exceptionalism to think their "states" are somehow unique in this.
Figures (for 2016) from the midwest university I went to:

14 credit hours:

$4206/semester in-state
$11,159/semester out-of-state

14 credit hours of engineering classes (includes additional per-hour fees...):

$5381/semester in-state
$12,335/semester out-of-state

[0] https://www.k-state.edu/admissions/finaid/
> If you are a great software engineer that can solve hard problems yourself [...] then people will hire with no questions asked.

False. Being a great software engineer is not enough to get a job in deep learning. For the same price, or a little more, you can hire an "expert" scientist or engineer with a PhD in CS/stats/ML.
It being closed source doesn't mean that they are any less trustworthy or competent. Trust me, I am totally on board with what you're saying. In this case though, I'd say there would be no need for concern. The developer behind BTT and BST has established trust with their users, great communication and good support.

Also, as for BetterTouchTool being able to replace Karabiner, I have to disagree. I have used both for as long as I can remember and consider them "must haves." But for me at least, they have always been separate in their use and function.

I made the unfortunate mistake of upgrading to Sierra before doing a more thorough check of all my application's compatibility with Sierra. I found out about Karabiner too late - total bummer. I hope an update rolls out soon. (I haven't tried the current "interim" application they created - I need the real thing)
> Do people who prefer dynamic languages actually use the benefits of dynamic typing in the first place? Changing variables from one type to another mid-stream.

I don't think people use dynamic languages for that ability. It's more for the ability to not have to explicitly think about types -- it's more natural that way.
> Do you really believe this? They are doing so using a private company.

Do you have to be a non-profit to do good?

> I hope the pitchforks come out against Chan Zuckerberg. They are doing everything possible to build exactly the opposite kind of world that they claim to promote.

I don't know enough specifics about Chan Zuckerberg to respond to this. Sounds like I need to do some more reading, are there any particular resources you've found useful?
Garbage collection is not a social service, it is a commercial paid service in most of the world. In Europe I don't pay taxes for garbage collection, I pay the garbage company for the quantity they pick up.
> (Leaving aside the accuracy of the tip for now.)

You hand-wave this part away too easily. It's precisely the reason that all protections in the legal system need to exist. If you hand-wave away uncertainty about facts, then there's no need to have warrants, reasonable suspicion, right to an attorney, trials, etc.
Isn't this analogous to trying to understand human cognition by using human responses to inputs, e.g. the endeavor of cognitive science? Just in the case of inferring the ML architecture, there's a smaller hypothesis space than for what we think people are doing.
What evidence do they have that it's a state sponsored attack?
Ask HN: People who looked down upon Node.js/JS, has ES6/etc. changed your views?
The JS ecosystem has gone through a lot of development recently, and with incredibly fast pace. ES2015, ES2015+, Babel, React, Angular, TypeScript.

People who looked down upon Node or JS in general, have your views changed?
Do they, though? Everything I've read over the past 5 years has claimed an 80-90% miss rate. On the other hand, often the first sign I see of an infection is that the virus scanner is disabled, so I suppose it acts as a kind of canary, in that sense.
Yep this, basically the things gpp mentioned just aren't problems day-to-day for Python developers.

And the 'halfway down the 1000 line file' one was just plain silly.
Will Disqus still surprise site owners by suddenly inserting ads?
The Typescript compiler (written in Typescript) uses no classes.
Missing disclaimer: you're one of the main authors of zappa and sell training and support packages.
The above post was with somewhat old data; I downloaded the relevant database from california, and using the most recent numbers (2014) updated things[1]. There are fewer schools because I originally included schools that were not geographically based, as we are talking about geographic segregation. The blue dots correspond to % hispanic students, the pink is % qualifying for free/reduced school lunch, and yellow is % English learners. The Y axis is state standardized test scores.

There are now not any schools with less than 20% hispanic student populations (there is still a charter school with under 20% hispanic, but it was excluded per above), but there is a huge hole between 45% and 75% hispanic, and 6 out of 10 are 80% or more hispanic. If children were assigned randomly to these schools, one would expect a normal distribution around the population mean.

And to clarify, all of these schools are within a single school district and pull from the same funding source.

1: http://imgur.com/a/8iLt9
In Toronto, I heard stories of brokers buying 5-10 pre-release condos and selling them all before taking possession. These people didn't have cash to pay more than the deposit and became millionaires overnight. I don't know how pervasive this was though. There are not too many asset classes where one can pull this off .. so I guess kudos to those people.
> Until about 10 years ago, hand crafted Assembler was still faster than C, and the speed improvements were actually needed.

It still is, especially when it comes to vectorization.
Couldn't agree more. I went to school in South Dakota for next to nothing compared to other schools, got involved in my program, did internships every summer I could, and now working a job I love with next-to-no college debt. I've been out of school for a little over 4 years and plan on paying off the rest of my debt by end of year.
Sure, the AST node for "when" is here: https://github.com/vrok/have/blob/master/have/ast.go#L159

Type checker checks the condition before every branch in "when" statements, and sets the "True" flag if it evaluated to true.

Then the code generator just skips over branches that don't have the "True" flag set:
https://github.com/vrok/have/blob/master/have/generator.go#L...
Some of those aren't even dynamic language things. And most of them are bad form.

But yeah, shoving a flag onto an object where there was no such flag can come in handy at times, if you're treating your objects as dicts or whatever (in JS). If you're doing Real OO, you'd want to put the flag into the class/prototype declaration, so that it's documented, but if you're not, or just need to attach some extra data to, say, a function, it's handy.

Also, in a well documented system, functions should note what types they except, even if it is just "any types that respond to these messages" in smalltalk, or your local equivalent.
Will Google find your React content?
Facebook and Intel reign supreme in 'Doom' AI deathmatch
If they claim it was a state-sponsored attack and then a non-state-sponsored hacking group makes a credible claim to have been the perpetrators, Yahoo will look even worse than they do now. I doubt Yahoo is saying 'state-sponsored' just for PR.
ReactOS Running on Fully Rugged Laptop of M1 Abrams Tank
Google to open Oakland tech lab amid diversity push
Oh yeah that makes sense, I was thinking there is browser storage but probably not when you turn off the browser/computer.
Okay then, but if you're not documenting your functions, which is the most important thing, you shouldn't be working on a large project with other people in any case.
Yeah, unfortunately I think this has become a trend. If a big company gets hacked, they can just say "Well, this sucks, but what could innocent helpless little us have done against a whole country like [Russia, NK, Iran, other stereotypical boogeyman to American audiences]?" It's quite transparent BS in every case I've seen thus far (prominently, Sony and the DNC), but it definitely earns the hacked company some sympathy, and it allows them to feel more important and make others think they're important enough for a nation-state to try to steal from them.

Since it's worked a couple of times, now everyone is going to pile on. I expect every major data breach over the next few years is going to be perpetrated by an ethereal "state-sponsored actor".