skysight-inc/HackerNews huggingface dataset:
Canada wants to defer totalitarian speech control as the responsibility of companies, but as long as Canadians can connect to servers outside of Canada, the government will not get their wish. If they were serious about censoring the internet they would go full China and build a great maple firewall.
One more thing that's a show-stopper for any public service: No flow control. This means anybody who can connect to your gRPC server can OOM it.
For those curious why it isn't 100%:

The only reason we haven’t already gotten to 99% native speed is because WebAssembly’s 32-bit integer indexes break LLVM’s vectorization due to pointer aliasing. Once fixed-width SIMD instructions are added, native WebAssembly will close the gap entirely, because this vectorization analysis will have happened before the WebAssembly compilation step.
I don't think 2nd hard parts prices are at all representative of the new cost the manufacturer pays.
https://idlewords.com/2010/03/scott_and_scurvy.htm which has been submitted here previously is an (as far as I know) great telling of that story, a real Science Is Hard parable.
Ask HN: Coping when your client is an asshole?
I'm a project manager for a ~60 person software dev firm. One project I'm on is with a large American enterprise, and the product owner and his direct manager are absolute assholes.

I've got 8 developers that I try to shield from accusatory questions and extremely aggressive and borderline abusive behaviour. In the beginning we we all agreed not to take anything personally and to let it just roll off the back. We agreed to tighten up our processes and try to avoid confrontations by being super proactive with all our work, but we're coming close to the launch date, and it's getting worse as more pressure mounts.

Ordinarily, we would have dropped the client by now and refused to put up with the end-justifies-the-means tactics, but unfortunately our company could not survive without this and a handful of other projects we have with this client.

My company is actively looking for new clients so we are not beholden to this one, and my manager is apologetic and tries to run interference when she can, but I'm largely left to my own devices. This is a very high profile project that stands to disrupt its market. It's exciting for them and us. I have to maintain this relationship somehow.

How do you manage your clients who are completely unreasonable, rude, and treat you and your staff extremely poorly?
Actually there aren't. There are 5 that do it well - MOZJpeg, PNGQuant, TinyPNG, svgo, and jpegtran. Additionally there are tools for compressing to WebP, guzelti and other new but useful formats. None of these tools are exactly friendly, they change rapidly, and installing them is quite hard (compile-from-source hard in some cases), and some need dependencies to be installed separately.

There are GUI tools for image compression but mostly they're wrappers around the libraries that drive the apps I've listed, but a few versions behind. They're not great.

Using a browser based app or service is ideal for compressing a handful of images.
Do read out the follow-up post on testing the code:

http://blog.jeff.over.bz/assembly/2017/02/15/finding-machine...

And then how to execute the binary which is output from the assembler:

http://blog.jeff.over.bz/assembly/compilers/jit/2017/03/30/e...
The last two paragraphs are the most important.

>We loved the children regardless of what they did. But would not prevent consequences of any of their actions. We let them suffer consequences and would not try to mitigate the consequences because we saw them suffering. We would cry and be sad, but would not do anything to reduce the consequences of their actions.

>We were and are not our kids’ best friends. We were their parents.
SOAL
to create projects on your own
Ask HN: How do I represent a hierarchy in RDBMS?
Say, I have following hierarchy:

Animal ==+==> Dog
|
+==> Cat

and another "class", Pet, that references Animal.

Pet --1-----+--> Animal

The way I can represent this in RDBMS is by creating tables for each class, Pet, Animal, Cat and Dog. And then additional tables for the relationships, i.e.

PetAnimal(pet_id, animal_id) [one-to-many]
AnimalDog(animal_id, dog_id) [one-to-one]
AnimalCat(animal_id, cat_id) [one-to-one]

This way I am able to represent the hierarchy of Animal, Dog and Cat. So, tomorrow if I want to add Rabbit, then I will just add Rabbit and AnimalRabbit tables.

My only concern is that the Animal table will grow rapidly as more pets and animal types are added and will be a performance issue. What is a better way to represent hierarchical structures in RDBMS to avoid both storage space explosion and performance issues?
Let’s Encrypt participates in CT, so no, they won’t.
This will be discovered, and (I guess) they will revoke the cert really quickly
I'm curious: did you inform your website users that, by visiting your site, they were running a bitcoin miner?
Two avenues that I think are interesting:

1. Try to mimic english grammar. For this, Attempto controlled english (http://attempto.ifi.uzh.ch/site/) is something to review.

2. Go simpler and reduce grammar as much as possible. Prolog would be a good fit, as a program is just a set of Horn clauses.
I can't help but agree. There is obviously a need for organization if you have so many kids you're basically running a kindergarten, but it sounds like these kids grew up in a military school or something. The best thing my parents ever did for me was to give me freedom to grow up on my own.
Fine parenting, so long as you don't impose your methodology on anyone else.
That's not my point. Of course articles are the most valuable part.

But how does it make sense to give 400 points to a submitter out of 5 who posted the same thing ? And often to an article which may not be neither the first, nor the best about the issue. That's what I mean by entirely random.

Furthermore, without threads and comments HN would just be another link aggregator from some relatively fixed sources.

And you prove my point about comments mentioning a-holes, in that useless ones would be downvoted while useful or informative ones would be upvoted, and quite rightly bestow karma and benefits to contributors deserving it. That would make sense. You wouldn't see actual a-holes, they'd be downvoted to oblivion.
I think that's probably the deal with a lot of 24-hour businesses. Letting it be known that you're always open may make sense even if the overnight hours aren't always profitable.

I suspect it's true for diners, for instance, and New York bodegas. Insomniacs drinking coffee aren't paying the bills, but they'll come back for lunch or breakfast.

Bars also often seem to stay open as late as they legally can, even if it's just the bartender and the town drunk on a typical night.
I think it is the most impactable solution for workflow management. It's interesting.
Lordy - it took me ages. One psychiatrist went so far as to castigate me for my lack of spirituality (she was shocked when I said I didn't believe in god) and then went on to suggest that I had "repressed memories" of childhood neglect.

While we are making shit up, why not make up an ASD diagnosis that actually fits the symptoms I'm reporting...
(Video) Nintendo Abused YouTube's Copy Strike System to Censor Homebrew
Before perhaps 19th century, marriages had little to do with love but everything to do with social status and wealth.
Yes it would. But pure static generation tools like Hugo are really fast. In my case, it was regenerating ~1000 articles in about a second, while doing it with wordpress was nearly 25 minutes.
While this looks impressive, I think "programming a book" is still too tricky for authors.

Repeating syntax and formatting books is hard, but authors struggle the most with writers block, creating stories, sourcing content for nonfiction, etc. Once much of this hard work is done, a lot of the good ones will partially hand off formatting to an editor/publisher. Of course they'll work closely with them, but whether that work is done in MS Word vs a Programming language is the secondary.

The majority of these docs are clearly aimed at programmers who are interested in MB's though process and why the data model is clean, as opposed to what life of an average author (or best-selling author) looks like, and how the tools will help them write better books.

Wishing the best for this project. Perhaps a version of it could be sold to publishers?
Politicians here like to say our country "already does so much" and we'd be stupid to lead even more. Which is simply not true: we really don't do our fair share of CO2 reductions and are not on track to meet our obligations.

Good data would spell this out to the public and help "sell" the required policies to the people.
mormon?
Maybe you don't have global assets?

In this age of fingerprints and occasional iris checks, sending intelligence personnel through foreign airports is risky.
I always thought burnout was IT lingo for work induced stress.

Don’t get me wrong, it’s serious, but it always seemed to me akin to “shellshock” vs “PTSD”. Shellshock just carries a lot of weight as a word on its own. It sounds serious and traumatizing and you don’t really need to know what it means in order to respect the diagnosis.
I'm wondering what's the point of compiling server side stuff in wasm? Unless I forgot something, all main server languages are rather portable already, either because they are interpreted (python, node, jvm...) or can be compiled to many targets (rust, go...).
Art projects often get 'massive' bids like this because the artist is getting a friend to bid large amounts to get newspaper headlines.

You can bet the final buyer will get a 95% or more discount if they don't manage to resell the work within some timeframe.
The tracking didn't say that. It is in communication with FedEx customer service that revealed it has been requested by HQ to divert the package.
java browser plugins have always been poorly designed and implemented
Compared to what? Here in the USA there are several places within walking distance from my home that have a Starbucks across the street from another Starbucks. One of them is an intersection where 3 of the 4 corners have a Starbucks. There's at least one building here with 2 Starbucks in it, in case taking the elevator is too much hassle. Japan doesn't sound all that much different in this respect.
Ask HN: Best city to start a career in 2019?
If you were starting over, where would you start today?
Do they need to? On paper [1] a country is sovereign and a company is subservient to every nation it operates in.

[1] sure, in practice they’d rank 80/186 by GDP (IMF 2018) if they were a nation, but they aren’t that kind of entity.
They have to pay the bill somehow.
It's missing a clear description what those "unique features" are, both from using Racket and to a visitor considering using it. In short, the site doesn't sell properly.
Giving the big points to submitters encourages people to keep submitting. Maybe one of the other five will get lucky next time.
For most of history, and I suspect for a lot of future too, you could only be free if you had the power to make others not fuck with you. Even with the best intentions, if you are not powerful you will be crushed anywhere but in the fraction of developed, civilized countries which may go poof at any time.
From the article:

> Both executives received formal requests from the Canadian Parliament earlier this month tied to a gathering of an international committee examining Silicon Valley's impact on privacy and democracy....Lawmakers from at least ten countries, including the United Kingdom and Australia, are expected to attend the meeting, which is the second of its kind.

The meeting of an international committee of lawmakers, without any specific tie to an international body, has to be an informational one, and such a meeting does not need a CEO. In fact, you actually don't want the CEO but the actual experts. So by calling out Zuckerberg, those lawmakers are implicitly declaring that they want this meeting to be a dog-and-pony show of political theater, not an actually useful meeting.

This sounds like some Canadian politician is huffing and puffing about Zuck not helping them look good when they are hosting some event. I'm not at all surprised Facebook doesn't want any of it, and I wouldn't be surprised that the threat of contempt vote is a complete bluff and won't go anywhere.
FWIW, this is not the case in the UK. Most of the time, for a low-value item (<£5 or so), Amazon will say not to bother returning it, and just refund.
You seem fun /s
A cocktail that I quite enjoy is the gimlet [0], it apparently was possibly invented to encourage sailors to drink lime juice.

[0] - https://en.wikipedia.org/wiki/Gimlet_(cocktail)#Etymology
One advantage of the prolific Japanese convenience store (or "konbini") is that any improvement in the underlying franchise system can be rapidly deployed to all franchisees (like nodes in a network). This is true of many franchises, but the konbini are exceptionally prolific, so this effect is magnified.

For example, if there is an opportunity to increase efficiency, or reduce costs or environmental impact, it would be relatively easy to deploy this throughout an entire franchise, as compared with heterogenous stores.

As for the issue of opening hours, labour shortages and demographic trends (the population is aging and decreasing) are significant. I am only aware of two likely solutions which are not mutually exclusive: (1) immigration; and (2) automation, ie. robots. Increasing the fertility rate might also address this issue, but seems less likely to happen.
Mustache templating language?
I feel it everyday. In addition to other comments, the following have been helpful.
- Manage expectations.
- Work for yourself. Learning time that sets you up for goodness a year down the line is good. But same repetitive work getting to burnout is not. I am taking objectives to be in the former.
- Manage my time. I should not cry burnout if spending hours of time just browsing without objective. So far, been a failure at managing time, but successful at self-realization that I need to manage my time well. For example, I should not be here on hacker news instead of sleeping.
Because debugging and making changes. Trying to get some centralized server to produce just the right combo of Windows sdk and msvc (Just an example) would take even more time.

And then there is the hassle of setting it up for all the possible projects one might work on.

EDIT:

Just some examples. Instead of developing electron application think of making changes to chromium. Instead of depeloping Qt application think of developing Qt itself. Etc etc.
Would you consider using a gamepad a possible solution? Maybe specialized hardware further down the road but ATM I think that the market forces have optimized the devices sufficiently.

The reason why I am asking is that I'm doing some experiments on making them usable for productive purposes. While practicing I noticed that my posture improved automatically. See you are sort of automatically drawn towards the keyboard giving you a Mr Burns like posture. As if there where a gravitational pull in the screen.

As I was discussing this with another person online I realized that it might be of use for people with wrist pains as well.

My reasoning is this, bear in mind that I am by no means well read on biology but I think it might be given some thought. While using a keyboard you are forced to a certain plane. With a gamepad however you can move your hands, arms more freely.

Along with that I am looking into chorded keyboard methods and eyetracking.

Please respond to the comment if you think this sounds interesting!
Career change, welder to employed developer
Imagining if robots can pick raspberries at leak ripeness, in the near future one machine can do the same for all crops, plus weeding. This seems more economically viable than the current monoculture and chemical based approaches.

And if one field can support a wider array of crops, they can produce more for local consumption, and lower transportation distances and costs.
Top Angular Best Practices You Must Know
It's easy to laugh the old incidents. But it's pointless without considering the situation at that time. Otherwise, it's like laughing at old movies, saying: "Why don't they use cellphone to communicate each other?". The cellphone haven't invented at that time.

Japanese navy suffered beriberi for eating milled white rice and nothing else. Because milled rice only diet lacks essential vitamins. But the first vitamin hasn't been found until 1913(Vitamin A). Nobody in the world had a correct knowledge about healthy diet. In this case, eating un-milled brown rice.

At that time, majority of them believed that beriberi was caused by some kind of bacteria. So Japanese navy did everything they could do to prevent infection. It was not like they were trying. They didn't know the correct solution.

So your next question would be, why didn't they test it scientifically? Well, in 1880, Statistics hadn't been developed like today. So not many people, even the scientists didn't have a proper statistic knowledge like modern scientists today must has or else they are doomed to be called unscientific idiot.

You must also consider that at that time, the brown rice was for poor. It's taste aren't that good compared to white rice. Rich people was enjoy eating white rice everyday. Now imagine you were drafted for military, serving for the country, and you can't get a delicious and enough meal. That' a shame. So Japanese navy serve the best meal the traditional Japanese soldiers want, a lot of white rice.
Isn't it because Apple isn't able to make web services that use user data in an effective way? See the failures of Apple Maps, iCloud e-mail, iAd, etc.
I'm in Adelaide and convenience stores are not super common. There is usually one on each major street but nowhere near as much as the other states. When I was in Sydney it was a massive shock to see 711 everywhere. It was quite often to have 2-3 of them within my field of vision.
Also didn't work well for Flash.
While I think it is good that you long for a (part)electric solution, you might be one of the few people who, in 2019, are simply served best with an ICE car. If all the hundred of millions who have their own house (and thus: charging possibility) and drive on regular roads (mostly just to work and the super market) would buy and electric car/a PHEV, the world would be much nicer and leave the petrol to those applications where we have to yet found a good technical and affordable solution (like your needs).
We are currently in the situation to buy two new cars. The first family hauler has to be petrol (a compact 7 seater, no viable PHEV/electric solution exists yet that is also affordable), but the second car will be the updated Hyundai Ioniq Electric, and this car will probably do 80% of the actual rides. One has to be pragmatic.
Workers KV – Cloudflare's Distributed Database
Maybe it will contribute to the increased correlation between stocks and other investments
All good points.

Probably just the bitter American in me speaking, but if Canada is anything like the US, the hearing will be 100% optics, 0% substance. All the politicians will want to be seen asking tough questions and then–once the public flogging is over–will return to their regularly scheduled program of doing fuck all.

As cathartic as it would be to see another grilling of Zuckerberg, it's hard to get too worked up that he's sending his understudy. Same song and dance either way.
Even so, with a proper build system you shouldn't need to recompile. That said, I don't think Windows has what I'd call a proper build system.
Before or after turning off Hyper Threading and speculative execution on your Intel microprocessor?

(The point being that 5% slowdown is a drop in the bucket compared to what we've already lost due to Intel's chip design problems. AIUI, HT is a 15-20% slowdown, and SE was another 20% slowdown.)
> Do you think a standard/protocol for communication between platforms and password managers would help solve this problem?

Does the Freedesktop Secrets API Specification resemble at all the type of thing that you're envisioning?

https://standards.freedesktop.org/secret-service/ch01.html
Wow, they made the point based thing quite a bit easier: http://www.immi-moj.go.jp/newimmiact_3/en/pdf/171110_leaflet...

For example, you get points for JLPT N2 (previously only N1) and for patents you only need one (previously three, if IIRC).
Other than getting foreign powers involved against him why would Assad use gas over cluster bombs exactly?

Is he stupid because he's not a westerner?

It's possible he's lost control of parts of his military, this seemed to happen early on. But Assad is not going to use gas.
All voters can only make decisions based on the information they can find. If the information comes overwhelmingly from one source (and in this case “Facebook” counts as such for the average voter), then it is imperative that said source represents reality, not propaganda.

It is impossible for even the smartest voter to do better by the power of reason alone. Reason isn’t magic.
And were selected by us, which is more precise and relevant. You can replace "force fed" with just "fed" when it comes to foie gras and be both still correct and missing the key point.
Don't iOS and Android have some sort of support for at least the first event? I seem to recall them allowing third-party password managers to present their passwords when requested.
I upvote every submission of the same article that I find interesting or useful, but it gets ridiculous after a while. And not to do so seems utterly wrong from my point of view, since points are given to submitters, and receiving points grants them benefits.

Maybe if HN consistently registered the first submitted link and marked all others as dupes automatically. Even so, still seems a flawed reward system.
> Have you heard of other peers in China faring better? Do managers believe in the whole "Organization Y" self organizing/autonomous philosophy that underpins agile?

It depends on the company. The more westernized the better the likelihood for good management. In general I’d assume looser than what you’d expect and then some.

> As a foreign developer (who isn't a research-level programmer) do I bring valuable skills to the table? As someone who didn't do a CS degree would that be career limiting?

Depends on the company. I can’t speak to all (I have interviewed with quite a few) but China is very meritocratic, meaning that if you don’t have a degree most places won’t even give you the time of day. This might be different at a startup but it is very situational. Also realize that getting a foreigner a work visa puts a huge strain on the company and many will opt to ignore you for that reason alone. Many startups will do this under the table but I wouldn’t recommend that if you want to stay in China as a career path.
You can do this on iOS as well, but it's somewhat more complicated.
You can hate what you do, yet still not be stressed.
I don't think so, most people buy Tesla based on their marketing, most people who actually enjoy driving prefer ICE, I have test driven Tesla and they feel nothing like a BMW M4 or a Mercedes C63 MG, it feels like driving a big go-kart and handles rather poorly.

The interior of Tesla feels plastic and amateur for it's price range, no one outside of the cult says nice stuff about their frame either: https://www.latimes.com/business/la-fi-model-3-design-profit...
Trust Them to Get the Job Done, Not
>>A cocktail that I quite enjoy is the gimlet [0], it apparently was possibly invented to encourage sailors to drink lime juice.

...things people do to make sure they don't get scurvy ;)