skysight-inc/HackerNews huggingface dataset:
> Managing soft-deletes on a database table requires an attention to detail.

> Discipline aside, it's difficult for every developer on a team to remember which tables use soft-delete, and when checking that flag is or is not necessary.

That's the case where instead of "try harder not to make mistakes", you design a system so it is not possible to make them. One way would be to rename original table `raw_messages` and `create view messages as select * from raw_messages where not deleted`.
Stoomy brown, Gray Pubic, Dope all made me lol
This is offline cache, you can run your application even without internet connection.
Apply Checksum Validation on Codabar Barocde and Enhanced GS1DataMatrix Generation
Its only available on ios at the moment

https://incubator.duolingo.com/courses/ja/en/status

hideki
Japanese beta course available on iOS!
15 hours ago
We are thrilled to announce that our Japanese course is now available on iOS. It's coming to Android in a few weeks, and web will be next! Find more details at

https://www.duolingo.com/comment/22676285
http://making.duolingo.com/how-we-invented-a-new-way-to-teac...
https://www.reddit.com/r/IAmA/comments/6bxr2v/i_am_luis_von_...
https://www.forbes.com/sites/laurenorsini/2017/05/18/japanes...
> This would, IMO, signal the end of the internet. "Look up www.google.com" "which one?"

I'm not entirely sure if you know how DNS works.
Can confirm. I just received 100 I ordered from Alibaba at $1.60 each. My kids are selling them to friends and people in the neighborhood for $5-7 each. They're going quick.

Hadn't thought about wholesaling to gas stations. Maybe we'll try that.
Learn fest on Udemy from May 15 to 26
> Would Youtube have been possible under such a regime?

Assuming youtube is something desirable, let's not forget that it has been created for the sole purpose of selling to a giant company too big to be able to innovate and too slow to conquer users while youtube purposely used pirated content for its growth. Nowadays years after youtube has been bought to be the frontend UI of googlevideo.com youtube is considered to be an example of internet centralization, users tracking and spying, automated censorship, geolocalized blocking, among others criticisms.

Maybe consider a better suited example next time you want to take a stance for net neutrality, maybe peer-to-peer.
Yet this is the predicament that public companies know they are getting into once they go public. It's a tradeoff and the same applies to getting VC money (but at least you get to choose who your investors are). They've invested in YOUR company and if it's a significant amount of money, they ARE entitled to having some sort of say in things going forward because their money is on the line.
I just tested. It doesn't. If you leave "To" blank and just provide a BCC the email it sends is addressed to

To: undisclosed-recipients:;
This one comes to mind: https://news.ycombinator.com/item?id=14166966

> Raneri questioned my motivation and I said that I want to give the vendor ample time to resolve the issue and then I want to publish academically. He was very threatened by this and made thinly veiled threats that the FBI or other institutions would "protect him". Then he continued with statements including "we want to hire you but you must sign this NDA first." He also recommended that I only make disclosure through FINRA, SDI, NCTFA and other private fraud threat sharing organizations for financial institutions.
Why You Should Be Laughing All the Way to the Bank
I think the fidget cube is better than a spinner for actual adhd fidgeting.
I've been watching the PR for the error message overlay[1] off and on for several months, and it has been a stellar example of OSS community working together to make this feature possible. There were PRs spanning multiple projects, contributions from many users, and it ended up in a fantastic feature that seriously helps all users from novice to expert.

This feature really puts React on the next level, in my book. The CRA team is doing a wonderful job making React accessible to new users.

[1]: https://github.com/facebookincubator/create-react-app/pull/1...
I apologise. I made quick guesses based on pictures. Thank you for stepping in with facts.
You're going to get into trouble with the PC Police when trying to build an AI Hot or Not.

Just look at the Microsoft AI chatbot who turned racist.
Do you run the worker constantly? If not, there are autoscaling solutions which can shut it down while not in use. Heroku is pay per second, so this can save a lot for bursty/infrequent workloads.
I am very much the target demographic and I can definitely see a use. If nothing else an interactive web demo would make a great teaching tool.
Any framework built using this principles?
Inside Russia's social media war on America
F1 nerd here. The turbo and compressor are still mechanically linked. Mercedes pioneered this eras engine with the exchaust side and intake side on opposite ends of the engine, and still managed to connect them with a shaft. If you know anything about turbos, think about this for a moment. They have mechanically connected two components with a shaft along the entirety of the engine block, rotating with 100.000 rpm. That is amazing.

They have an electical motor on the same shaft that will either harvest or keep the turbo spinning. This beautiful arrangement means that they design the turbo to extract as much energy as posible, and control it with the motor, rather than rely exclusively on the wastegate. This as you state, means that they can recoupe quite a bit of extra energy. I would not be surprised if we see non turbo charged engines, with an exhaust energy recovery system for hybrid engines.
It's open source under the Apache Licence. Worst case scenario, the community would fork it and take over, but I don't think doing so would be remotely in Microsoft's interests. I genuinely believe the Microsoft of today is a totally different company in its attitude to open source software than it was even 10 years ago.
The Development of Jovial – Jules Schwartz (1978) [pdf]
Aren't those two mentioned in the death of transit ?

Besides, facebook is a fierce opposant to net neutrality, remember their facebook basics offer as an attempt to conquer more users in emergent markets ? Pay less than a regular ISP and have an internet access limited to facebook and its partners, the exact opposite of net neutrality.
> sometimes the money you pay is actually for a caching proxy

That would make sense, and I agree it could be sold and charged separately, though I don't like the conflict of interest (the temptation of prioritising proxy data at the expense of everything else).

More to the point, is that even possible with generalised TLS? Or are big streaming web sites tailored for this capability?
Homeless is still a choice.
Oberon?
The assumption that women three don't play chess and that village is traditional in extremly stereotypical cartoon way were really mine.

I apologise, I should have investigate before writing. Pics made me really assume that only men there play chess. Guess that original poster was right with his complaint then.
Not OP, but why do you need the 'let' at all?
Why not
x = 7
mut y = 3
?
Depends on the ISP, not for the federated local non profit ISPs for example.
>if you already understand ahead of time how tuning parameters changes performance.

I thought the whole point of automated tuning was because it's difficult to tell how some things change performance? Can you expound on this a bit?
I have some idea in optimization, but never got a grip of how it works with probabilistic and large scale stuff.
They offer English certification and now serve ads after each lesson
>I never made a point about not wanting to live in any kind of world. Please quote the exact piece of text where I said such a thing.

your initial reply:

>If everyone did what you suggest, we'd all be dead. Instead we cooperate because we're gifted with theory of mind.

This is moot because not everyone is doing as I suggest. A murderer doesn't think "wait, if I kill, that might lead to a world in which everyone would kill" because that's ridiculous and it won't happen.

Seeing as that's the only reason you can provide for the golden rule, and it's not a very logical reason, we can conclude that following the golden rule is not rational, regardless of whether it is innate.
> 7,700 Sherwin-Williams paint colors

The xkcd color survey is a much bigger data set: https://blog.xkcd.com/2010/05/03/color-survey-results/
There is also Power Gray which sounds really cool
So, you want an editor that doesn't do anything when you press a key? I'm not sure if such an app would have many users. :-)
It's funny because "DecemberSixteen" is very different from "MarchSeventeen" as a password from a characters point of view but is trivial to extrapolate if you know the guy has to change password every 3 months.
I assumed characters, based on this...

>In court, mobile developer uCool tried to argue that Dota All-stars is a collective work, because it "took the most popular Dota heroes and arranged them into a new game." Judge Breyer rejected that argument, saying that "by that logic, Star Wars: The Force Awakens would be a collective work because it arranged the most popular Star Wars heroes, settings, and one-liners into a new movie."

Either way, it'll be interesting to see how this shakes down. Dota's history and eventual evolution from wc3 mod into massive commercial properties dota2 & hots is a pretty amazing journey.
I used to be in the auto industry and it probably has nothing to do with regulations.

It's a leap in technology, analogous to the jump from carburetors to electronic fuel injection.

Specifically, there's been a huge advancement in turbochargers in the last ten years. Advances like water cooling, ceramic bearings, and ceramic wheels. Turbos are far more efficient, durable, and well behaved than they were just ten year ago.

The massive advancements in turbochargers coupled with dual variable valve timing and direct injection means we can get huge amounts of efficiency and power out of the tiniest of motors.

Customers want power and fuel efficiency, the government mandating it did little to enhance that. There's plenty of loopholes for auto makers to skew their mileage numbers and make regulations basically useless. The driver behind faster and more efficient engines was customer demand and the technology to make it possible.
Consumer demand is endless. The more they have, the more they want. Machine Learning, or whatever it turns into, will just expand the opportunities and the requirements.
Yes, This Is a Particularly Horrendous Year for Seasonal Allergies
With PWA by default, does it mean react app will be mobile friendly by default and react native is no longer needed to build mobile apps?
How Smart People Stay Calm
If I were the author I would train another NN that compares the color with a huge set of photo+definition and decide from there. For instance "Coral Gray" looks quite accurate when compared with the average recreational diver photo of coral reefs (but not the real coral specimens, which tend to be very colorful when correctly photographed).
Stocks Surged as Trading Floors Watched “Fake News” Video
I found a bug in Go which turned into this CVE

https://www.cvedetails.com/cve/CVE-2015-8618/

I applied for a bug bounty, but alas was turned down as Go isn't a Google service and it wasn't in scope for the Patch Reward Program.

I did get into the hall of fame though!
Yes, although the windows desktop situation is such a clusterfuck that I could make a case that it's not ;) It all depends on if you consider the full desktop or the metro interface to be the native one.
Why Botmetric Chose InfluxDB – A Real-Time Metrics Data Store That Works
You can make any site have a narrow column like that - the site should give those of us who prefer wider text a way to get that too.
I'm not sure we will have a solution to climate change (or other types of pollution) before it's too late.

The main problem, in my view, with pollution is that we find ourselves in a situation where short term gains (or negligence) are creating long term problems with significant consequences that we have no inherent motivation or evolutionary reward pathways to address.

In the case of energy one could argue that markets will drive the cost of solar below fossil fuels, which I agree with, though not convinced about the time scale, especially on energy storage front. With other types of pollution I don't see the market doing much at all.
It's even worse when your primary keyboard is Dvorak!
That's very condescending of you. They may be just well informed of their use cases and know which database fits them well.
Poor Wikipedia and FB with their MySQL setups, they have no idea how much better of they'd be with postgres…
React Native is for building native mobile applications, React is for building (mobile) websites. So, no, not exactly, but it does make it simpler to create a nice mobile experience for users if a native app is not required.
A good NN should have no trouble modelling a simple perceptual transform like that on its own.
An essential guide to the serverless ecosystem
Emacs? It has a gajillion modes.
That's what I thought, but my wife is not allowing me to name our son Wintermute.
It's rather sad what set of behaviour is considered "professional".
Quote the article: “Basically, everybody’s myth is wrong, even the indigenous groups’”.

I never understood how one could try to argue one's "race superiority" by claiming one's blood to be pure.

Especially in Europe where you have lots of migration and mingling even in recorded history. The Roman Empire was an early melting pot and the following Völkerwanderung added only to this mix.
I think it might also simplify the syntax if you want to update multiple columms from a composite type (which is essentially a ROW) so that writing sub query is not needed anymore.
If the algorithm is trained on English words, it will learn English phonotactics (i.e., syllable structure, what sounds are allowed at the beginning of words, etc). That makes it much more likely to generate valid words, as the set of strings that follow English phonotactic rules << the set of gibberish strings.
//Translated to C
#include <stdio.h>
#include <stdlib.h>
#define CurriedMultiply(m) multiply(n,m)
int multiply(int n,int m){return n*m;}
int triple(int n){return CurriedMultiply(3);}
int main(int argc,char**argv){
printf("result:%d\n",triple(strtol(argv[1],NULL,10)));
}
Of all the colors to follow "Homestar" I didn't expect Brown.
Mainly practice. Once you've got a sense of your play style you can find openings that fit it and study the books on them, and you should do the endgame drills at some point (at least you should know how to win vs a lone king with a king and rook (easy), king and two bishops (tricky), king and pawn (position-dependent, not always possible) - I've literally never needed to do king, bishop and knight). But the main thing is to just play a lot of games.
> On an ASR33 Teletype, backspace simply moved the carriage one character position to the left.

Exactly what a typewriter would do because it couldn't erase the ink on the paper.
Creating Max Diff in R
thanks for sharing it, WannaCry have really made us crazy recent days!
Finding an optimal sticky element solution
The problem with the previous blob emoji was that they weren't as neutral as you think. [0] For example, Information Desk Person all the way to the right in this image [1] is obviously a woman. The second emoji with dancing has a rose in its mouth, which is more often associated with men than women. Even the police officer to the left looks more like a man due to lack of feminine features. There are a lot of culture nuances you might not notice that will make people feel alienated, like gay men wanting men in leotards dancing. You can find issues with a lot of the old emoji and a big factor mentioned in this post was a loss of consistency. Not everyone views yellow skin as color-neutral, but rather as a default for white; many people would rather have emoji that match their own skin color. Lastly, emoji were culturally specific from the outset by virtue of originating from Japan so your whole premise is flawed.

[0]: http://blog.emojipedia.org/android-7-1-emoji-changelog/#whyg...
[1]: http://blog.emojipedia.org/content/images/2016/10/android-7-...
Well, does it? Even if you crack it you don't have the correct casing. So you don't have the original password. Of course doesn't help if every other website converts to lower case too.

But if you use bcrypt you can partially compensate by using a higher work factor.
Am I the only person who had to enlarge the page to read the article? Nice catch though.
One Step Closer to a Closed Internet ... in the USA

This probably means internet business will move outside the USA where it is way too centralized, some good could come out of such a move.

On the other hand we have mozilla not putting money where its mouth is, not giving a shit about non-majority users and using skewed users tracking to justify those decisions. Have a look at how they dropped alsa support and refused to admit they made a mistake rejecting the responsibility on people disabling their spying, refused to backtrack when someone came forward to fix their code and maintain it.

When mozilla's action will be in line with the air they push out of their lung, I'll pay attention and support them again. Right now and after 15+ years supporting them, I'm giving them the same support they give me, the faster mozilla fails and disappears the faster a competent body can replace them and start doing the right thing and give the right direction to firefox.
Ask HN: Similar Resources to a Master's in Product Management?
We're asking because it's fair to say that not everyone can pay $65k
It seems clear, to me at least, that the regulations were intended to motivate auto companies to create technology to improve fuel economy and then deploy that technology widely in production. That there has been subsequent technical advance is evidence that the regulations were effective, if anything, rather than the opposite.
It still has this feature. In fact, is built so deep into the system it cannot be used without inline C.

Smalltalk/X does not support primitives (or native methods if you come from Java world). Instead, you use inline C to escape Smalltalk world.
HN is behind Cloudflare; if you're not logged in the pages can be cached so I wouldn't expect small-scale scrapping to have any effect. Cloudflare might stop you though.
it's very useful, thank for sharing!
Volvo will stop with diesel engines to focus on EVs (thanks to Tesla)
I use eslint-plugin-auto-import and eslint-plugin-jsx-import (the latter I have hacked together for myself, it's undocumented and brittle)

It get's triggered on each save in TextMate, which I use.
>> How insecure and in need of validation someone needs to be to seek career advice from a chatbot four times a month?

Let me rephrase that: "How long does one need to go without finding a job - perhaps any job, or one that is satisfying, or that pays well - before one seeks career advice from a chatbot?"

I have been fortunate with my career opportunities; your dismissive tone tells me you've also never truly struggled. Not everyone is in the same boat. Some go for years unemployed, or are stuck in a spiral of being paid far below market salary. I can understand why some people might be attracted to this service.

That said, I have some criticism for this business:

1. Your market isn't large enough. Those who would find this the most useful are unemployed, and cannot afford to pay. This will hold back growth more than anything - your best customers are those you cannot acquire. This leaves people who already have successful careers, and are only looking for an edge to improve their success the next time they are job hunting, or to "game" their current employer. I imagine the number of people in this category to be far less numerous.

2. From the home page: "A team of career coaches, industry experts & AI". Sorry, we're not naive. With that misleading phrasing, I'm almost certain that the "career coaches and industry experts" are never personally in contact with the customers. You simply trained the AI with their input, and these professionals are not on board to personally assist anyone. You're selling the AI rather than personal advisers, paying a modest fee to curate content instead of matching people with human beings who can offer informed advice. That is the real shame here: marketing "career coaches" and "industry expects", while that is a half-truth. Artificial intelligence as it exists today is not good enough for one-on-one coaching. For a service this important, where people are hanging their hopes and dreams of a career on the line, only an expert in the field is capable of tailoring their advice to each client in a way that is appropriate - perhaps even moral.

3. Regarding the "AI" (too many companies claim to have real artificial intelligence, when all they have is a precomputed index of lookup terms), I bet that the database is extremely generic. If you are looking for advice on the interview process, you would get similar information by Googling for interview tips. The odds that you can narrow the context down to get at information that is specifically tailored to your exact situation, rather than a generic scenario that matches problems facing the majority of the population, is slim. This service is likely nothing more than a search engine for curated content related to career advice - with a bit of interface design sugar making it seem more like a conversation than a search result.
> The platform maintains an average signal rating for each hacker (aka security researcher). Companies can limit access to their programs to hackers with a certain signal or higher. This will significantly increase SNR for the program.

So if a new user of the platform, finds a valid or high impact bug, will be unable to report... less noise but a high value bug unreported in that case...
What are some examples where offline works for a web app? It seems like the utility is really niched so I don't understand why they make this default. None of the things I've made would make sense using offline (completely anecdotal but still).
StarCraft Pros Are Ready to Battle AI
Εθισμός Στο Σεξ: Ποια Είναι Τα Συμπτώματα; – ESCORTS – ESCORT ATHENS
> The environment is an unpriced externality so it has to be controlled by the government.

Yes, and a commons, and must be protected for that reason. https://en.wikipedia.org/wiki/Tragedy_of_the_commons
it sounds very interesting to me!
This misses the point that grant agencies are rubbish at funding great ideas. And also that some scientists shamelessly oversell their ideas and even falsify data - behaviour which is of course encouraged by the system of perverse incentives you advocate.
My career feels significantly less meaningful after reading this.

Google, if you can hear this please hire me. I'll mow the lawn or whatever.

Can we just admit Google is the new Bell Labs?
copying others is a sign of intelligence, being unwilling to choose something of value to copy is a sign of a lesser intelligence
But that criticism wasn't constructive, so...
I miss the distributed social pingback days!

Implemented: http://sprout.rupy.se/feed?json
How can you measure which language is most difficult to learn? It is not an universal fact. It depends on many factors. Title is click bait obviously.
A language doesn't gain traction cause of syntax or anything like that. It gains traction because a platform developer promotes it.

C# and Java had what amounted to trivial differences, when they started.

Kotlin and Swift also aren't very far apart, both in terms of syntax and power (in Blub power continuum terms).

There's very Computer Science-y reasons for these languages to exist as separate languages, but they do cause of product differentiation and platform lock-in efforts.