skysight-inc/HackerNews huggingface dataset:
I think we're putting too much thought into making it natural via stuffing more data.

I would claim that game AI almost seems natural to some people even though some are basic FSMs but thats because they study the user and the experience first and add game design before creating the program. A lot of what people do now is create the AI program, feed data, train and then think about the user or not even think about the user and instead talk about recall or metrics etc.
10 Random Ideas for August 28, 2017
> "Pretty often"?

20 times a day in my case and 45 in case of another guy. If we suppose you code actively 6 hours a day it's like being interrupted 7.5 times a hour. That's "often" when compared to other errors.

> "Comparing to what?"

To other kinds of compilation errors (I think this point was clear in the article)

> "That’s good news"

If the compiler doesn't catch errors, most of them will go in production (you're usually not unit-testing all the possible type errors). I'm appealing to common sense here - It would be interesting to see if data confirm this.

This is a blog post, not a scientific paper.
This is far from complete - it's just meant to be a good starting point. Factchecking everything is stated here would require an entire research team.
Can we put "(Netherlands)" after the word "country" to overcome the clickbait title?
I think there is plenty of data to start drawing conclusions.

In the short term it can often work really well. Somewhat more rarely it can also work long term.

The trick IMO is to be hands on. Apple's approach to manufacturing is to be aware of what's going on even if they are not actually doing it.
Just a thought: Perhaps lessons about scientific fallacies that impact real life and to always think about experiments that challenge hidden assumptions.

Harry Potter and the Methods of Rationality (http://www.hpmor.com/) could give an idea how this might look like.
I wonder how necessary it really is for a conversation to be involved at all, if the bot can only have a set range of outcomes then what benefit over the traditional dial tone based selection does it add?

It feels a bit like moving the car aircon controls to a digital touchscreen display, sure it sounded like progress, but it really just made things more ambiguous and harder to use.
Ask HN: Best resources to learn about AI and ML
Apart from just technical viewpoint, I'm working more on philosophical and cultural perspective of Machine Learning and AI, with the basic question, How would our life become in near future(10-15 years)?

Can you share any books/articles/blogs/papers over the history or anything reading material related to AI and ML?

PS : This is my thesis project which I'll opensource once I complete the research about AI
Real time coding interviews are really necessary to avoid hiring people who dont have basic proficiency in coding ( https://blog.codinghorror.com/why-cant-programmers-program/)

The problem given in a coding interview should be a simple one and the candidate should be allowed to choose the solution language.
Offtopic:

Why is paid busywork or a job guarantee more acceptable than basic income? Apparently the risk of basic income is that people end up only playing video games. But aren't video games the definition of busywork?
That's not a nitpick. "ethyl-4-(methylthio)phenyl phosphine atoms" can go right next to "dihydrogen monoxide atoms" on the list of things that aren't.
Inheritance tax was the original solution to this. Someone could be as rich as Croesus during their lifetime, but on their death returned the money from whence it came.

Their offspring could benefit from a generous endowment of a proportion of this wealth, say 10%-20%.

Edit: and no sneaking about with Trusts, either.
It would be insane if it did.
Whose speech recognition libraries are used to detect expletives, and who defines the list?
I think Microsoft did that in their Roslyn dot.net compiler. There is a server that is fed source code changes and it updates the AST internally incrementally. The text editor can then make queries against that AST. I believe Microsoft also took a portion of this as added it to Visual Studio Code.
And what about all the other companies funded by the same people who funded Apple, Google, and Facebook, that never became profitable? I'm curious how much capital is spent on failures in addition to the companies that pan out.
I think this relates to an important concept which is the difference between thinking as an individual and a corporation. If an individual breaks the law (feloniously) or gets sued he probably f'ed up pretty bad. However even your most well managed and proper corporation is probably breaking more laws than you could ever count. When running a company you have to have a different mindset than as a individual when it comes to the law.
Why do they have to be mutually exclusive? Transpires are the subset of compilers that target high level languages.
>> That would assume that the other customer location is currently underserved or not served at all.

sure. but it's a potential option as opposed to being let go flat out.

If Kodak went belly up before that "rags to riches" story of a janitor becoming an exec proceeded beyond the janitor stage - she'd be looking for another job elsewhere, whereas in contractor's case there's a chance of getting reassigned to another "project".

It's not as much about "depersonalizing" as it is about convenience of not having to deal with the domain that has nothing to do with core business.
The cost factor is also not linear - in terms of straight up cash figures sometimes it costs the same or more to outsource maintenance, security etc vs hiring your own.

Works both ways - car dealership for example isn't going to hire a web designer for their site full time.
Well, sort of. A transistor is something with an 'on' state and and 'off' state (and a whole range in between for analog purposes). This one apparently also has an 'on' and an 'off' state but the mechanism by which they change the state does not really spell 'transistor' though if there is an electrical way to do it it might qualify.

The relevant bit from TFA:

"The device can reliably switch from insulator to conductor when charge is added or removed, one electron at a time (known as “current blockade”)."

So it is more like a FET and the charge placeholder would be the gate. It's not clear to me whether or not they had anything wired up to that spot or how they added or removed the electrons.
If you only get Z-shapes (of the same orientation) forever, then no. The game's not winnable.

Proving the least favourable distribution of z-shapes to other shapes which would allow a game to continue indefinitely would be really interesting. :)
Wait, you're saying US customs looked through the contents of your laptop and electronics before letting you through? They checked your social media profiles?
The therapeutic effects of psychedelic drugs
The table at the bottom is neat, and the article is well written.
China's $900B New Silk Road. What you need to know.
> if you're an experienced sysadmin it spells 'fixed what wasn't broken' and it re-introduces many issues that were already thought about, taken care of and laid to rest

As an experienced sysadmin that's a really sweeping claim to toss out without details or supporting evidence — the latter being especially important given the amount of hyperbole bandied about.

The next largest SysV replacement was Upstart, which solved many problems but had curious oversights (e.g. restart with a delay or backoff, needing many releases before adding stdout/ stderr logging or launching as a user other than root), and SMF/launchd which weren't compelling enough to overcome their respective platforms’ drawbacks. Yes, you can install alternate init systems or run things under something like supervisord but supporting that was quite tedious compared to a solid standard init.

As a software developer, being able to target one init system which has all of the features I need and no real drawbacks is similarly a very nice change from the past needing to support variants for each major Linux distribution while wishing they'd hit feature-parity with Windows NT 3.1 (1993!).

The fact that every major Linux distribution has adopted systemd suggests that whatever reintroduced issues aren't gross exaggerations aren't as important as claimed; similarly, the features commonly dismissed as unnecessary inevitably turn out to be useful to part of the larger Linux community even if a particular detractor doesn't share those needs.
I'd say AST to AST translation is a transpiler. It keeps the high-level structure of the program intact.

Once you break down the AST into basic blocks/CFG, then you have a compiler (if the output is from the "lowered" representation that has lost its high-level shape).
Game AI also has the benefit of knowing all possible constraints and configurations ahead of time, and having access to exact data carefully organised and labelled. A game character can only move in ways and to areas that the developers allow them to.

Human speech and language itself is significantly more nuanced and also evolving over time.
> As for the "memory leaks" --- I haven't looked at the source, but something whose runtime is very short-lived, like pkg-config...

To be fair in the other direction, it's a minority of interesting software projects that don't care about memory leaks. Also, there are ways to "skip" freeing memory in C++ safely using appropriate allocators. In actuality, you'd have your allocator, in its destructor, clean up itself and all its objects at the same time. It's nearly the same performance without sacrificing correctness or lowering standards with respect to leaking memory.
Im not completely dismissing your argument; I agree with you that something has to be done with unprecedented inequality. Also, Im not suggesting that is an all-or-nothing dichotomy, Im asking you to think of the investor behavioural consequences of that type of tax policy. We of course can never know what those investors would have done given those circumstances, but its important to try to understand what the possibly nonlinear effects would be.
Exactly; a string is not conceptually a "series of bytes" -- yes, there are languages that have a series-of-bytes type called "string" for historical reasons, but that's irrelevant to how to think of the string type in JavaScript, or in an ideal world.

One level of abstraction that works is to think of a string as a series of integers (which may be much larger than 65535) representing code points. Whether your VM uses a fixed-length or variable-length encoding to encode this series of integers should be irrelevant, aside from performance and memory consumption concerns. JavaScript's "charAt" and numeric indexing of strings violate this abstraction, making them not useful in Unicode-aware code. Of course, the "series of code points" abstraction has limits too, since what we think of as a single "character" can be composed of multiple code points, which calls into the question the whole concept of a "character," which is fuzzy in the first place.

This is all massively inefficient, of course. Most strings are representable as UTF-8, and using two bytes to represent their characters means you are using more memory than you need to, as well as paying an O(n) tax to re-encode the string any time you encounter a HTTP or filesystem boundary.

There's nothing stopping us from packing UTF-8 bytes into a UTF-16 string: to use each of the two bytes to store one UTF-8 character. We would need custom encoders and decoders, but it's possible. And it would avoid the need to re-encode the string at any system boundary.

This line of thinking does not make sense to me, and I'm not sure what scheme is being proposed. First of all, "most strings" are representable as UTF-8? All strings are representable as UTF-8. And if you are reading data from a UTF-8 source and you don't want to pay the time and memory cost of decoding it and re-encoding it in a less space-efficient code, leave it as a Buffer of bytes! Don't decode it.

Because everything else in the world is moving to UTF-8, Node is also trying to move to UTF-8.

Node does make you specify which encoding you want when converting between strings and Buffers, but it's always embraced UTF-8 as its primary encoding, as far as I'm aware.

Because Javascript was invented twenty years ago in the space of ten days, it uses an encoding that uses two bytes to store each character, which translates roughly to an encoding called UCS-2, or another one called UTF-16.

This is kind of silly. Java made the same decision and was certainly not "invented" in ten man-days!
I'm guessing it would be a modernized version of the way things were before every jackass with a selfie stick or a blog decided that they deserve to make a living shitting their thoughts and lunch pictures onto the internet.
Ac works by pumping heat out of the house and pulling Air in that passes by coils with compressed solvent. When solvent changes from liquid to gas when released into the coils under less pressure, the molecules absorb heat energy from the incoming air (gasses inheritely have more energy because the molecules are moving around faster). The gasses used are greenhouse gasses which contribute to making the world hotter. You say it's on a small scale, and I agree with you, but so is an individual cow, but cattle contribute a large percentage of the greenhouse gasses. The collective use of air conditioning does indeed contribute to climate change. While it does push out hot air, I don't think this would have a noticeable immediate effect on the local temperature.

Oh and btw I love AC and am totally wtfing about not having AC now that it's hot and all the fans being sold out wrf.
What's the difference between apps we cherish vs. regret?
Fire Ants Yet Another Hazard in Houston's Flooded Streets
Show HN: Terminal Reading Mode or Reader View
I find it interesting when organizations use the 'few bad apples'analogy for this kind of thing.

The full statement is 'A few bad apples spoil the barrel' - which comes from the concept that a rotting apple lets off ethylene gas which will cause the apples surrounding it to also turn.

This is probably a better analogy than intended for the companies that incorrectly use it since bad behavior spreads like a corrupting influence through an organization and fixing it would really require larger changes than just getting rid of a couple people.
This is pretty good advice. The person who sued me had also sued other people. If your local court(s) have a searchable online database, search for the person's name and/or the name of their company.

I'd also recommend trying to not putt yourself in a position where you can only pay a subcontractor when you get paid. When you're client is late on payment, and your subcontractor starts hounding you for cash, you won't have a good time.
> As for the "memory leaks" --- I haven't looked at the source, but something whose runtime is very short-lived, like pkg-config, may be very well justified in allocating and never freeing, letting the process exit itself be the "ultimate free".

But sometimes the code grows and what was once a stand-alone executable is about to become a component in a larger executable. With C++ you get a correct component out of the box (if you use RAII consistently), but with C you have to audit all of the code and clean up the leaks.
How would you change it short of overthrowing capitalism? Capitalism, almost by definition, "allows the rich to increase their wealth without actually working" (although of course less wealthy people can do the same).

Parent poster proposed a way to help workers by changing the incentives in the system to reinvest more into productivity/research, without throwing out the system that has made our society propsperous.
Remember that these algorithms are attempting to predict the future based on past results. What the author calls a "true fact about reality" is a fact about the present or past. We then use this understanding of the past to try to predict the future. But as they say in finance, past performance is no guarantee of future results.

The whole idea behind "debiasing" is to avoid writing people off based on history of their group. Yes, taking chances on people who haven't done anything yet can cost money and a profit-maximizing algorithm will sometimes automatically avoid the risk by reproducing biases.

And that's why the algorithm designers need to watch over the algorithm and make sure it's not writing people off based on inferring the group they're in. As a society we've decided that giving people a chance to defy the historical odds of their group is worth the cost. Maintaining the status quo may be profit-maximizing but profit isn't actually the only goal. (Any more than paperclip-maximizing is.)

On the other hand these inferences can often be used in better ways. For example, colleges can identify "at risk" students and make sure they get extra help.
Decisions like that trickle up from what developers and IT guys want. There was a generation that was raised on Solaris, and those folks built the first generation web on Solaris-on-SPARC with Oracle databases. But, then the next generation came along, and they hadn't learned UNIX in college on Solaris boxes. They'd learned on Linux in their parent's basement.

I came up during that middle era when the shift was happening. I was an early adopter of Linux, but all of the real training I got (my employer at the time paid for it) was Solaris-based. But, even with the training and access to Solaris, I prefered Linux. I just had more comfort with it because it was my daily driver. When people I worked for were making decisions about OS, the recommendation they nearly always got from me was "Linux". And, I believe that played out millions of times to get us to the world we're in today.

So, yeah, Solaris was competing with free, but not always at the business level...the part that mattered was "how many people with influence are using this OS as their daily driver?" And, Linux was/is a phenomenon. People love Linux. People loved Solaris, too, but it was a much lower number due to lack of access...early days of Linux, you couldn't even get Solaris without a SPARC box to run it on. Later, they made x86 Solaris free, but it was too little too late, and by that time Linux was better than Solaris on a number of extremely important metrics (package management and package selection, for example, but also in terms of just plain fun).
>> Ms. Ramos, the Apple janitor, lives down the road in San Jose. She

>> pays $2,300 monthly for a two-bedroom apartment where she and her

>> four children live. Before overtime and taxes, her $16.60 an hour

>> works out to $34,520 a year. Her rent alone is $27,600 a year,

>> leaving less than $600 a month once the rent is paid.

Assuming she's only losing 20% to taxes and other deductions, she can't even cover rent. How is she paying her rent? Is there another person or public assistance?
Checked it out.
Nothing of great interest. No curation or comments at all. Just seems to be a repackaging of youtube search results channels?
> It's only when you need protection and class heirarchies that C++ benefits you.

Well, need is a strong word. You might not need better correctness while still coming out way ahead by using C++.
Well, even counting the number of code units is straight forward for UTF-8:

while (*c) count += ((*(c++) & 0xC0) == 0x80) ? 0 : 1;

See https://stackoverflow.com/questions/9356169/utf-8-continuati... for more details.
Perhaps you forgot the question, and your answer

>> What rights are being trampled on here?

> Clearly, it's the rights of small communities, with significant material and cultural differences from large cities, to have a degree of self-determination and a real say in how they are governed. Your choice of words shows a view that it's somehow unjust for these communities not to be dominated by distant, populous, and likely unsympathetic overlords.

That's rich and hilariously wrong. My choice of words reflected the original question.
You can name that character after his chief trait. It could be "John Slow", "Lazy Daisy", "Tardy Hardy", "Hagar, the Laggard" or whatever else you might think of. Or even literally name them after the trait and make it an allegory.

Enmity, on the other hand, can be inferred from the either from the story or from the context, by having one character hurt another another at some point in a way that sets them up for a grudge or by having them compete in a contest.

It really isn't necessary to have animals in children stories.
Sorry but I don't agree with the statistic of the Status feature.

> the company announced that 250 million people—a quarter of all members—were using it daily

Just had a quick look, and I have around 150 contacts on WhatsApp (mainly the Snapchat/Instagram users age group) and not a single person has set one of these photo statuses right now. I only ever recall seeing one once, since the feature launched.

If I open up Snapchat/Instagram I will literally see hundreds. Unless it's become very popular within a certain country, or another age group I find it hard to believe that it's reached anywhere near the size of Snapchat's user base.
One of my friends kids had James and the Giant Peach lying around and it's really thin and I had never read it so I read it during a car drive. SPOILERS - It's hard to get darker than having your parents die while you are a child, or empathizing with a character and being happy when his evil aunts are killed.
Ah yes, my bad. And it is not even that long since i read the history on Filfre. Guess i have been reading so much about the 11 i got the two mixed...
A Web of Interoperable Blockchain Platforms
Well, that's one thing where he's right. Agree to disagree, I guess. ;-)

I had two online interactions with him that formed my opinion of him.

When I started being interested in typefaces, but not really able to discern one from another, I wrote him an email asking for the title of one or two books where I could see his FF Meta used for the body text. He's a busy man, so I only half expected him to reply, but I certainly didn't expect his condescending abusive email that he wouldn't help a lazy student with his homework. Great way to inspire people interested in your work!

The other time was in a type aficionado web forum where I mentioned that I had bought the Adobe Type Classics collection CD for much less than retail price (second hand). He accused me of piracy, again in pretty abusive manner.

Taken together with his holier-than-thou attitude, riling against "spec work" (https://www.nospec.com/), but then asking designers for spec work, because "it's for the UN" (and he was on the jury).

Or with his blatant lie in a Fontshop brochure I have on my shelf, claiming that there is virtually no intellectual property protection for fonts in Germany, and how it would have been impossibly expensive to register for type protection… but somehow a lot of hobbyists and small fish managed to do it.

Erik Spiekermann is a very important designer who did lots and lots of outstanding work, but I've found him to be a deeply unpleasant person.