skysight-inc/HackerNews huggingface dataset:
Ask HN: How to do translations before release?
I am looking to implement translations of our web based products into 15 or more languages.

The assets consist of Javascript files, php templates, handlebars templates etc. I don't want to assume I have control over dns or even the webserver.

What is a good design pattern and version control flow to handle translations?

Should I use "themes" - like folders basically, and do automatic translation of text, and is there a program to do automatic translation of images??

When I push a changeset, some of the views or strings may have changed. What is a good way to detect the diffs, so I can automatically update the translations with Google Translate during the build process and then add issues to the translators to do just the new strings?
For the looks.

https://en.wikipedia.org/wiki/Media_Player_Classic#Black_Edi...
From some back-of-the-envelope subtraction, it'd make a dent in SF's boom but the overall story would be similar. The visible Q2 2016 mini-spike is all Uber: they raised $3.5b that quarter, and without that, SF would be at $20b rather than $23.5b for the quarter. But that wouldn't really change the overall shape of the graph (apart from smoothing out the spike). And Uber's impact in other quarters would be less, around $1b in the next largest.
They did, and they shipped it in VS2017.
TBH a native macOS Overcast client would be the best.
If you are reading this, thank you for your hard work all these years
IMHO, as someone who absolutely loves emacs, this is the biggest problem with emacs.
You have a point in that security firms and right-wing hooligans go together like peanut butter and jelly, so it's a bit like saying someone drinks soda which contains H2O, which Hitler also consumed daily. Even if true it says nothing.
Mini story: I got interested by Linux around 1999 when I was 15-16. I tried to install Slackware 3.4 and Red Hat 5.0 on my machine at home, but I did not know enough about computers and I did not understand English well enough to follow the instructions that came with those distros. I managed to get Linux installed and start XFree86, but I had no idea how to connect to the Internet or how to do anything really.

A few months later, I bought a copy of "Linux France" (or maybe it was another magazine?) that came with a CD of Mandrake 6.1. Thanks to the French instructions in the magazine, I was able to install Mandrake without issues and they gave instructions on how to use kppp to connect to the Internet. Since kppp looked similar to the modem connection utility from Windows 95/98, I felt comfortable and for the first time, I was able to go on the Internet with Linux! (Also, I believe that it detected my winmodem, which was probably the main problem I had with Slackware and Red Hat.)

From then on, I basically never looked back: I learned how to operate a Linux machine, I learned English, I learned to program, and 18 years later, though I haven't used Mandrake/Mandriva/Mageia in years, I am still very thankful that it existed when it did and opened up a whole new world to me. I hope that this release of Mageia can do the same for another 15-16 year-old who's interested in computers, wants to run Linux, but feels intimidated.
They may as well ban all files of random data of unknown origin. If it passes diehard tests with flying colors, confiscate it and arrest all known possessors of it.
Used GPUs flood the market as Ethereum's price drops below $150
> Paying all of my bills. All of them.

What kind of bills? Like grocery bills? or recurring bills?

Aren't you using direct debits/standing orders/credit cards for those?
What you said made me want to write surpisingly terse and concise code. It's what I shall try to do from hereon.
How can this come to an end :( - I am not a C/C++ dev. But I would like to support this project money wise if it would help?
I'm also getting the same (sort of) results:

CPU: 0.363s ±6.7%

GPU: 1.077s ±1.8%

Chromium 61, Windows 7, i7-5930k, Nvidia 1080. I did notice my GPU clock didn't move from the idle state.
What are you concerned about exactly?
> Lots of grey areas to think through in these sorts of things.

Smart people can come up with elaborate justifications for anything, if they take the time to "think it through". Arguments that "they could be doing a lot of good" is basically "the end justifies the means". That's the opposite of morality.

Maybe an executive is doing a lot of good and so it would be bad for society if he went to prison for a hit-and-run. Better cover up the crime so the good guy can keep doing the good things he so goodly does. All for the benefit of society, of course.
We live in societies designed to systematically select for greed and dog-eat-dog individualism, to which kindness is antithetical. Given this, for kindness to survive beyond the private/family sphere requires heroism. Heroism is lovely, but is by definition too much to expect on average.
To promote greed as the primary organising principle of mass societies was a reckless experiment. It failed, to which our world's collapsing ecosystems are primary witnesses.
One of those is to make a product that fills a heretofore unmet market need, and to do it better, faster, and cheaper than the competition

That's note quite true. You might choose to compete on, say, price, but that certainly isn't required. Likewise, you don't necessarily have to have a better product, if you are so much more operationally efficient that you can sell you product cheaper than the competition. It would be better to say that you need to be better than your competition in some combination of "better, faster and/or cheaper".

For more on this topic, I recommend The Discipline of Market Leaders by Fred Wiersema and Michael Treacy.
Downloading fan fiction from fanfiction.net

I have written a Python script that builds a HTML out of all chapters of a given fan fiction and then calls Calibre to convert it to MOBI for my Kindle.

Unfortunately, my life doesn't have too many automatable aspects... (I am a math researcher.)
Part three: https://rain-1.github.io/scheme-3
And in Spanish, "Matemáticas".

EDIT: also probably in a lot of European languages as well. I wonder to which extent this may be just a result of cultural exchange.
Nobody got rid of guns in Australia. We removed semi-automatic and pump-action shotguns. And when I say we "removed" them, we bought them back at a fair price.

You can still own a gun in Australia. We just have a gun-averse culture, we do background checks on those who do have guns, and we have a National Firearms Agreement across all states and territories. Something I note that you don't have in the U.S. (well, some states do background checks, which is irrelevant if you buy a gun in a state that does not and move to the state that does).

You could, of course, read the Agreement yourself:

https://www.ag.gov.au/LegalSystem/Firearms/Documents/2017-na...
I used MPC-HC for many years. It was great! For some reason I can't remember, I switched to PotPlayer some 2 years ago. RIP, and if some developer is watching: Thank you, I watched many hours of movies and series using your software.
Its much simplier. UN get North Korea into a tight corner. There was no way out of there. And there is no way out of there for now. North Korea have nothing left to do except surviving at all costs.

To defeat enemy make him to face difficult choices where all the options are equally bad. When you give him exactly one difficult option, there is not choice at all for him, and that allows him to concentrate on fighting. He still could lose, but it will be much harder for you to win.

To give different options to North Korea would mean for UN to admit ther mistakes, and that more important to hurt their ideologic feeling. Its a stalemate. Ideology against ideology.
The Origins of the (Modern) Blocksize Debate
And here's a very clear easy to understand blog about what's actually happening in the Charlie Gard case: http://barristerblogger.com/2017/07/16/open-letter-charlie-g...

Most of what you've read in some US papers is incorrect.
Immigrants are 42 percent of California’s STEM workforce
I just saw this show up on Netflix even though it has been out since the beginning of the year, but now it's giving me all sorts of doubts.

Part of me thinks this is clearly being peddled by the Gawker folks to give them a better image and look like they were the victims. And given the previous discussions (https://news.ycombinator.com/item?id=12203821) (https://news.ycombinator.com/item?id=12203821) on here, that seems like a plausible explanation.

The other thought has to do with the discussion on our mixed feelings after Peter Thiel funded the case (https://news.ycombinator.com/item?id=12293870). And this filmmaker, Knappenberger, has done documentaries about HN darlings such as Aaron Swartz. So on the other side, we have someone who is creating a film who has a level of credibility who is taking an interesting stance on seemingly empathizing with Gawker, and raising more questions about the precarious nature of the 1st Amendment.

I'm genuinely curious to hear what people think on here, particularly because when all of this was happening in real time, the sentiment seemed to be heavily anti-Gawker and then neutral-to-negative when Thiel was involved. It's making it very hard for me to discern what is going on in our media landscape and who is really to blame.
PRIVAT – The world's most secure smartphone
I can't say this often enough: http://pre-commit.com (minor disclaimer I've contributed a hook but not major source)
My professors absolutely did. Pascal was sincerely (but as a heretic) religious, and contributed to science. Descartes liked to stay alive, and was under pressure by the likes of Martin Schoock to show he wasn't an atheist and so should be tolerated. The church wasn't persuaded by Descartes and his books were ultimately banned.

Pretending to be in some way religious is necessary when the Church is in charge.

Egypt, today, holds a death penalty in store for those convicted of atheism; strong motivation for a little harmless pretence.
That may be true, but if that is the case and you want to define a "computer scientist's" job that way, not many people are actually interested in hiring computer scientists.

What most firms are interested in are software engineers. The dearth of software engineers has led them to hire computer scientists (and, in fact, a rather large percentage of computer scientists that I know are quite happy for this).

But if you proceed down that road, I am not sure that what's left over, in terms of value-add, for the pure-play "computer scientist" who doesn't want to deal with requirements or schedule or that other messy stuff, really is. Once you have the problem suitably defined and the requirements nailed down... you can offshore the hell out of that job, or farm it out to some bidding-war site, and let people chisel each other out of a living wage while you laugh all the way to the bank.

I wouldn't want to hang my career on that. If you're willing to deal with the messy human-factors stuff, and sit in on the requirements-gathering meetings and deal with the client and work on setting the schedule and doing the estimation with the BD guys and all of that other shit ... you're never going to have to worry about some dude in India taking your job. That's not to say you don't need the technical skill. But if you're gunning for a job and it's between two people and one is a little better on the technical side but the other person can get involved in the process that much earlier, maybe iterate on the problem as part of requirements development (as many modern methodologies basically require)... I think they're going to do a lot better.

If you're a "throw it over the wall" coder, well, good luck with that. There are certainly jobs around for pure coders, but I tend to be suspicious of exactly how many (particularly if you want to make a top-end First World salary), and I suspect strongly that supply is going to outstrip demand for a generation or two.

FWIW, some of the most highly-compensated people I know are the ones who have some combination of really impressive technical skills but also have the business understanding and can participate in the process from kickoff, or close to it. It's also easier for them to negotiate since they have the option of going out on their own at pretty much any point, vs. a pure-play coder essentially depends on having someone around to feed them requirements and technical problems to solve.

The good thing is that I think a lot of people who think of themselves as pure coders probably have more business understanding (in some area) than they give themselves credit for, it's just a matter of developing that understanding, which can be hard in an organization that intentionally tries to keep its developers away from "the business".
The article doesn't mention enabling unicode output.

\pset linestyle unicode

and other related formatting options. Some examples here:

http://postgres.cz/wiki/Pretty_borders_in_psql
http://okbob.blogspot.co.uk/2014/10/styles-for-unicode-borders-are-merged.html

It's off by default for compatibility, but makes much more readable tabular output. I wrote this back in 2009 for 9.0, but not many people are aware of its existence (at least, I see plenty of ASCII output, and only occasional use of unicode in public writing).
Ask HN: When one wears AirPods, does it change how you interact with him or her?
When someone is wearing AirPods, does it change how you interact with him or her?

If you're having a conversation with him or her? If you're on the elevator or just passing him or her? If you're waiting to cross the street together? If he or she is driving? Etc.

What I'm finding interesting about observing wearable tech entering our society is not only the classical Human-Computer Interaction (HCI) considerations, but also the Human-to-AugmentedHuman Interaction. Have you been noticing and thinking about this, too? I'd appreciate your thoughts!

Also, if you're a regular AirPod user, have you noticed changes in how you interact with others or how they interact with you when you have the AirPods in?

Thanks!
Mike
> But even if it were simply a "discourse marker"

What is a discourse marker? Not that I have a problem with the phrase "take a step back", I agree it depends on the environment, the context, on the person who is saying it, how they're saying it, and who they're saying it to. But if and when it's just filler, what stops it from turning into "can you go right ahead and take a step back and explain your ultimate goal target here?" If it's a "real social signal" (as opposed to a mere social signal?), what does it signal? Do I want to be signaling that?
There is a small cadre of people who actually have what it takes to successfully build an NBT, and experienced investors are pretty good at recognizing them.

I really do question this. The "problem of induction"[1] comes into play when you start talking about pattern matching and learning from "experience". That is, there's no guarantee that the future will look like the past.

Before Zuckerberg was Zuckerberg, I wonder how many people would have said "Hey, I recognize in this kid the innate capacity to be an NBT"? Of course they got funded, but I believe most of it was after they already had demonstrable traction.

On that note, one of the things that makes fund-raising such a drag, is that so many angels (at least in this area) want to see "traction" before investing. Even though, typically, you would thing that angels are investing at such an early stage that nobody would really have traction yet. Maybe it's just that the angels here on the East Coast are more risk averse.

[1]: https://plato.stanford.edu/entries/induction-problem/
Ah, good to know. Best of luck!
C is as unsuitable for the current world ad an axe or a hammer or a knife is. All of these are tools which, when wielded without care, are likely to cause a fair bit of damage. Then again, all of them are the go-to tools for their specific applications, in the case of C that would be systems programming one level above assembly (C is "structured assembly" and should be treated as such). Good luck using Rust (et al) to program that controller with a scant few bytes of memory, or the firmware for that wifi-controller, or ...
My concern is about what will happen if fraudulent activity happens, such as my account getting hacked somehow. Then they look into my account, discover I've been doing this somehow, tell me I've broken their TOS and I'm on my own.
Everything that's recurring: mortgage, electricity, insurance, internet, iphone payment plan, etc.

My wife handles our groceries and such. We actually have two separate accounts: "mine" gets the paycheck, pays the bills, and transfers money to "hers" twice a month.

We also have a third "giving" account that gets a bit of money set aside to give to or buy things for other people. This can be anything from a car repair to just buying someone lunch.

Direct debit is fine if you trust the other side not to screw up and charge too much, leak your credentials, etc, but I've seen exactly that happen several times. You're basically giving them to withdraw as much as they want from your bank account.
This is the first I've heard about Tropf-Blumat systems, sound s pretty great if it really works as promised.

I wonder why it isnt popular in US, price too high?
When we had a frontier, we had a surplus of habitable land and resources and immigration was a quick way to make the most use of it. That's over now, and we're spreading the same wealth among more and more people.

An migrant worker creates less demand than a native doing the same job, because they're trying to live austerely and remit as much of their income as they possibly can out of our economy and back to their family's. They aren't building out water and power homesteading our uninhabitable scrub, they're living ten to an apartment near the few jobs.
It's a media player. Frankly, it's pretty frickin "feature complete" as it is right now.

Maybe you want someone to update the ffmpeg it links to. Occasionally. But that's already well into "super power user" territory.
Secure-by-default, reliability, consistency, and good docs. There's lots of people who would appreciate that even if they weren't technical experts. From there, you have the split of who would be interested in it as-is versus who would use it if someone set up the UI, apps, and so on for them. Mac OS X is probably the ultimate example of layering a great UI for lay people with "just works" mentality over UNIX. I bet something like that on OpenBSD would have significant, even if single percent, market.
Dark market crashes. Leading to widespread crashes in the cryptocurrency market as well.
Let’s Encrypt Numbers to Know – all rate limits with explanation
I wonder how often VCs/angels are conned out of money (and I don't mean by delusional entrepreneurs, but by genuine con-artists). I assume it must happen, and with all the money sloshing around may be common.
Look at this dutch system, mentioned by another commenter, pretty interesting: http://www.blumat.com/en/startseite.html
If I had spent the time to learn a "proper" configuration management system, it would have been a loss. I had a very limited amount of time to make it worth automating what amounts to a few hours of manual work.

> you didn't learn anything substantially different

So what? Learning something substantially different wasn't one of my requirements. My goal was to automate a few simple deployments, including my personal laptop setup, which previously took at least a day. Ansible got the job done and I haven't looked back.

> You only added shell script SSH executor to your toolbelt

You've said this enough that I'll push back. That's definitely wrong. I can write shell scripts. I would have never attempted this in a shell script. Ansible was far easier than writing a shell script, and it does a lot more than just executing scripts via SSH. For one, it checks the current state of the system it is configuring to determine whether or not software needs to be installed.

> you're stuck with the approach that doesn't scale.

That wasn't one of my requirements either. Although I'm not even sure your claim is true considering that there are some pretty big companies using Ansible, and it was recommended to me by someone who is one of the better programmers I have met in my long career.

The whole point of my original post was that I actually tried products instead of reading about pros and cons. Based on my needs, Ansible was far superior to the other products I tried. Because my requirements aren't your requirements. I'm not so sure why it seems that it's so important to convince me and / or others that Ansible isn't a real tool. People should spend some time trying a few of the most popular tools and decide for themselves which tool best meets their needs. Which may include constraints like how much time they can budget towards learning a tool. "Proper" tool or not.
Actually, at the US/CAD borders culture and politics is generally pretty much the same.
Nestlé Health Science Partners on Microbiome Diagnostic Venture
The only thing I don't get is why the desktop version would be an IAP of the mobile one, that makes no sense.

Though it would probably have been a better idea to do that before they discover you've spent the last week publicly tweeting about unauthorised use of their internal API.
It's a trilogy.
The second part is called "Masters of Reality".
Since I have a toddler in longing for a house with a garden which starts ar 800k EUR in pleasant neighborhoods in Amsterdam now, which is above my paygrade. So i wrote a script that compares surrounding towns on a number of metrics (4+ rated restaurants per citizen for instance) and let's me know when there are houses for sale with a garden facing south (or north but only if it's sufficently long that we are likely to enjoy some sun (10m+), etc.

So far this has not resulted in us buying a house and the hours that went into the project would have probably long paid for a good real estate agent :)
SecureHeaders v2.0 for PHP
Oh, I do agree. The problem is - who's going to write it? I'm an one-man army so far, this is going to change once people get their hardware from the first batch I'm finishing now, but for now the project still needs contributors.
I'll admit that, based on what I heard before moving there, I felt the same thing. Joke's on me though, Lake Merrit's worst day is nicer than SOMA's best.
This wasn't an inevitable consequence of women working

How wasn't it? The supply of housing in family-friendly neighborhoods is limited. Increase every family's disposable income and they'll bid up housing prices.

In fact, if you look at the types of jobs women take it's exacerbated even further. The vast majority of women work in cities. Hardly any women work in remote areas. This puts even more upward pressure on home prices in cities.

I didn't say the 'proper cure' is for women to not work. I'm glad so many women are able to live with financial Independence today. My comment needs to be read in context with the article. Women who have reached a point of success in their careers but are obviously unhappy due to not 'having it all'. They've been sold a bill of goods. For women, the ability to work has become the necessity to work.
Always nice to be able to log your bodyweight when you exercised
Seconding PotPlayer.