skysight-inc/HackerNews huggingface dataset:
IMO it's endorsed and approved in the sense that Lam left them no choice. Her resignation leak was yesterday, partly to signal to Beijing that ERO will not happen under her watch without an attempt at reconciliation and within 24 hours we get this announcement. 5 days ago, Beijing instructed her not to give a single inch and hinted at ERO was on the horizon.

>For Mainland Chinese citizen the narrative will be altered, but will still be seen as symbolic defeat and for Hong Kong Chinese citizens it will be a symbolic win.

Any other time and I would agree, but Xi just scored "people's leader" on August 25th, 70th anniversary is on October 1st, "symbolic defeat" is not in the cards. Together with rejection of Lam's proposal and effort to appease protesters as little as last week, I think we can either view this development as Beijing dealing with Lam cracking without warning. Or this as a calculated ploy to justify ERO on the assumption that the olive branch will not be well received by protesters. Lam's speech politely but explicitly said 4/5 demands would not be met.
A revolution is round :-) Of course one can't generalise at all, but very frequently quick change results in replacing one system with another that resembles the first one an awful lot. Real, long lasting change requires a long time to influence culture and to wait until the time is right to move.

However, I will also agree that usually violence is involved, even if one side doesn't participate. Gandhi referred to the people who participated in non-violent protests as soldiers because he knew that many would die.

I don't think violence is the ultimate answer. The ultimate answer is the answer that works. There are many paths to the same location. It's probably best to review your options before you decide which ones to exclude.
This must surely be an instance of "add 'AI' to whatever topic" in order to get attention, rather than a serious proposal, right? I'm sure we'll see "put nuclear weapons on blockchain" soon.
Slavoj Zizek on MeToo Movement [video]
Who are you using for lead enhancement?
Working with the Red Hat Insights API
A century of “shrill”: how bias in technology has hurt women’s voices
The best camera is the one you have with you. I also usually don't carry my DSLR with me unless I have something very specific in mind.
>I suspect there is a strain of us at HN interested in sports analytics for financial gain

I would assume that people who post to Hacker News, as a rule, are less risk averse than the general populace due to Hacker News being more focused, in my mind, in the entrepreneurial side of technology.
My definition of a tech company, with respect to software engineering, is one with some combination of:

1. Software is the core product and/or not considered a cost center.

2. Technical decisions are made by technical people.

What these both come down to is that a tech company is one where software engineers are treated as full professionals rather than simply as labor.
> None of them compared to the freedom fighters in Hong Kong.

The Hong Kongese aren't protesting for freedom; so they probably aren't freedom fighters. If the Chinese had a legal tradition as sophisticated as what Hong Kong has acquired from the Western powers, there wouldn't be much to complain about. Of the now-famous '5 demands', at least 4 and arguably 5 center around a deep suspicion of mainland influence over the justice system.

As far as the reporting goes the spark for the protests was the idea that the Hong Kong judiciary would become more intertwined with the Chinese legal system, and that upset people. If the Chinese had a legal system that was regarded as 'pretty good' or 'world class' it isn't obvious why anyone in HK would care. They don't seem to have a problem with being Chinese. It isn't even obvious that they are protesting against the CCP.

> With some guns, some tanks, some international support, and the right leader, Hong Kong could win their independence from the monsters who run China.

I wouldn't try it in their shoes. They are physically a very small city compared to China and it wouldn't be very good for them in the long term.
You are buying and eating the so called sweet variety which is safe to eat after proper cooking. The ones used for making flour is called bitter and way more toxic thus the elaborate process.

https://en.m.wikipedia.org/wiki/Cassava
JavaScript Template Literals
Great project! Can you resubmit it without the 'Show HN' prefix and https://8-bit-sheep.com/summer-lambs-blog.html as URL?

(Blog posts can't be Show HN as they can't be tried out. https://news.ycombinator.com/showhn.html). We also ask for original sources (the direct URL), the twitter URL adds little value.)
tiered_array
> The solution is to eliminate them entirely and stop creating such insane choices.

That solution entails magically ensuring that no one else has such weapons or will develop them.

If we had a way of doing that, we wouldn't even need armies protecting borders. You'd still need minimal border security to ensure individual intruders don't make it through, but why maintain a hugely expensive army if you could ensure that nobody else could create an army to invade you (or anyone else?)
I hope you know that black color light doesn’t mean less light.
Early Attempts to Photocompose Non-Latin Scripts [pdf]
thanks for bringing that up. everyone on a team needs to have the same working definitions, and yeah... "business logic" is a term that's used a lot, but I very often see people not really understanding that it's usually meant in opposition to "display logic", not just as an interchangeable term for "any code".
Nice to have this explained simply. Most people don’t believe it so to have a BoE link with the info is invaluable.
I figured this benefit would be much greater in a public-facing repo. After all, there’s often a few commits fixing minor linting errors etc just before the final merge. Rebasing these away is reducing noise by alot.

Rebasing on master/stable/release branches is another story altogether.
Yes – did not find a decent (up-to-date) adblocker yet.
A sad story indeed, but I've never felt any of my work has been "Snow Crashy" or monotonous or lacking the need for autonomy and creativity. I doubt it's representative of the entire industry, and it's not even fair to treat the industry as a monolith to begin with.
"private money" ... his salary, paid in small part by my donation to Mozilla, going to a cause that I definitely don't support. Seems we are full circle.
Off topic: is it common to hot-link images away from your own site to (in this case) imgur.com ?

On a corporate network it means I can read the post, but not see the blocked images.

Is it just for the author to save bandwidth on - what appears to be - a wordpress site?
If you’re using AWS as a more expensive colo and mostly just using VMs it’s fine. But once you start actually using AWS for anything else it’s s pain. You have to worry about the different service limits and they are all shared.

What’s the process for giving developers access to experiment? When you have different accounts, the development department can have basically unlimited access to the account and moving to production is basically getting a CloudFormation template approved and run by the Devops team.
We're 3/4 through.
I don’t believe any of it will help.

https://twitter.com/Shadow0pz/status/1168284101675298816
Normally I would attribute cold technocrat calculations to Beijing as well, but circumstance is dramatically different as of 10 days ago. Xi just scored "people's leader" on August 25th, announced they will not appease HK protesters a few days later, domestic nationalism as been endorsed and cultivated (extremely rare for HK / internal matters), 70th anniversary is on October 1st. I don't think Xi is going to start his first month as people's leader capitulating to HK when the mainland is already at a frenzy. There's a reason CPC doesn't usually play the nationalism card, it's extremely hard to walk back.
By all means, you are definitely oppressed at work for making a sexual joke. Let's ignore the fact that that joke may be seen as harassment of others in the office. You shouldn't be called a Nazi, but if you are contributing to an intolerant culture then the company you work for has a perogagitive to get rid of you.

And you are probably downvoted constantly because you are spewing beliefs and opinions that scream, "I would prefer to work in a Mad Men era office, than one that values and respects the opinions and beliefs of others."

Fact of the matter, our society is better by saying that beliefs about making a statement like, "there are only two genders", are inappropriate and have no place in modern society.

As always you are more than welcome to exercise your right to free speech, but that doesn't mean others can't exercise their freedoms to remove you from the equation.
Please add " (2014)" to the end of the title.
I'm not saying it's a good idea, but software can and has been written to evaluate the likelihood of the validity of certain facts using heuristics. Petrov said the official training taught that an American first attack would be massive, not just a few missiles; that same knowledge could be used in an algorithm.
I think you're right compared to the general "tech" populace, but I think tech people as a whole are more risk averse than the general populace.
Economic slowdown: As global recession looms, solutions seem out of reach
Not by trial and error methinks.
In postgres I would use tsrange to make it very explicit if I want to include the edges or not: '[2018-01-01 00:00:00, 2019-01-01 00:00:00)'::tsrange @> '2018-01-01 00:00:00'::timestamp
Show HN: Streaming Video Demos with Serverless
quote from the actual article:

> Unlike the game of Go, which the current world champion is a supercomputer, Alpha Go Zero, that learned through an iterative process, in nuclear conflict there is no iterative learning process.
Salesforce Integration Consulting
Not only should you be architecting your app to survive an az going down you should be planning on an entire region going down and maybe even an entire cloud provider.

It’s annoying when amazon has outages but they have local outages all the time and they give you all the tools you need to handle them.
> A breakthrough came when Benter hit on the idea of incorporating a data set hiding in plain sight: the Jockey Club’s publicly available betting odds. Building his own set of odds from scratch had been profitable, but he found that using the public odds as a starting point and refining them with his proprietary algorithm was dramatically more profitable. He considered the move his single most important innovation, and in the 1990-91 season, he said, he won about $3 million.

The article suggests he came up with arbitrage vs. other bettors in 1990, a kind hedge fund for horse racing “without precedent”.

On the contrary, my college roommate and I had Dr. Z’s Beat the Racetrack from 1987:

https://smile.amazon.com/Dr-Beat-Racetrack-William-Ziemba/dp...

> Benter had achieved something without known precedent: a kind of horse-racing hedge fund, and a quantitative one at that, using probabilistic modeling to beat the market and deliver returns to investors.

In fact the 1987 edition was even preceded by Beat the Racetrack by William Ziemba from 1983, a decade earlier than the innovation described in detail here:

http://www.betfairprotrader.co.uk/2012/05/beat-racetrack.htm...

From the book blurb:

William Ziemba and Donald Hausch explain the fundamentals of track racing and show how patterns of public inefficiency in betting pools can lead to you reaping big payoffs. Rather than focusing on the complicated details of thoroughbred handicapping, the groundbreaking “Dr. Z” system offers mathematical models based on stock-market analysis.

William T. Ziemba is professor of management science at the University of British Columbia, Vancouver, Canada. He is an expert in operations research and portfolio management and has served as consultant to the Canadian government on lotteries and pari-mutuel betting systems. Donald B. Hausch has a doctorate in managerial economics and decision sciences from Northwestern University, and is currently teaching in the School of Business at the University of Wisconsin, Madison.
I know a Romanian who was 18 at the Romenian revolution. He says it takes only 2 weeks to get used to dead bodies on the street.
How to generate and serve a static website in the year 2019
> "In the meantime I’ll still be here coding, maybe actually enjoying it again, and trying to find a life where I have true balance between my work and my other needs"

Women are underrepresented in tech only because it is a sexist boys club, not because of anything having to do with personal choices.
Imgur.com is free to host images and hot link embed them anywhere.

So yeah, I guess it's to save bandwidth.
The low contrast text on this site is impossible for me to read comfortably. Gave up trying to read it.
We're 2/3 through.
> Utterly false, but persistently preached by those in power

A non-violent protestor is a person who does not fear anything, and the person who doesn't fear is the most powerful one.

Violence is a result of fear, that's the reason need to use weapons and aids to fight back to increase the chances of survival. A true warrior is a fearless person who respond to violence with non-violence and make violent person ashamed of themselves.

It's very easy to fight violently, every animal do it including us. We are at least evolved to tame our violent urges and that's what makes us a human.

> All political power emanates from barrel of gun

This is the famous quote of Mao Zedong (毛泽东). "Power flows from the barrel of gun"

You might believe in it like every violent protestor. I don't. I believe power flows from the depth of heart and mind based on our connection with universe, nature and our endeavor to keep it balanced without resorting to violence.

> Second amendment

It's not a sacred thing, there are many places in this world way more safe and peaceful without the second amendment.
FPGA Design – What's on My Bookshelf?
Ineed, sadly. Rosling is one of the people on my "fantasy dinner-party" list.
If you're using a dynamic language, an ORM doesn't provide much. But in C# LINQ has the benefit of being strongly typed, this means your DB schema can be evolved. If you write raw SQL (or Python) and you rename a table/entity or column/property you gonna have a bad time. In C# you can just use a refactoring or, worst case, compile time errors.
Nowadays creating a product is much easier and effortless I think they're aiming to get that fast companies which doesn't have so much effort and money for design.
That's just foolish - you don't need passwords of any kind. In fact you don't need accounts. You can just store cookies, accessible from this browser only, which tells you what have you solved.
For comparison, the Yellow Vests movement in France obtained basically none of their demands after months of protests. Some demands were partially implemented by the government, but I can't think of any demand that has been effectively fully approved and implemented.
I mean, he probably is still their personal hero, despite having passed.
Brexit Impact on Travel Industry
You can't use jump tables in Objective-C because methods can be added to objects at runtime.
A few are powered by mains (I have a habit of using them to automate "dumb" appliances. So I put one in a cheap dehumidifier in place of the physical on switch), and the rest with repurposed small lithium ion rechargable batteries meant to be used with drones.

The battery powered ones need to be careful with how they sip power, but in most cases I can rig something up to get them to last. And the batteries I got off eBay all came with their own USB charger, so like 30 minutes of charging every few months and they are good.

I want to look into solar, but I just haven't had time to tinker with it yet.
Look into the American Revolution.
high performance =/= high quality. There's a threshold that something is decently good enough, no point in maximising everything. The same can be said about music (320 kbps vs flac), operating systems (8gb vs 32gb), wifi (4g vs 5g). Like how greedy do you need to be, to not be content?
Hiring and training high-school girls to program in six weeks
Perhaps OP feels that the specific strategy Mozilla employee for helping diversity is ineffective; in the same manner that refusing to donate to ineffective anti-poverty charities, is not the same as supporting poverty.

Edit: rather than trying to read OP's mind or surmise what they may be thinking, I'll give my own experience on this.
I have seen companies spend money on diversity as lip-service, or targeting groups that don't really aid diversity much.

As much as I support female/LGBTQ/race rights and diversity, I suspect many companies I have been a part of would have got a better number of "units of diversity per dollar spent" had they spent money on people from lower socio-economic classes, or countries with poorer education/access to facilities (or maybe combined with the previous groups; I suspect the middle+ classes of female/LGBTQ/different ethnic origin groups are far better catered for than their working class counterparts).

But perhaps people don't consider social class or country of origin diversity? Perhaps "we hired lots of underprivileged people" doesn't give as much political capital? I'm not sure.
Great point, thanks!

Fun story: A coworker and I are in the process of tracking down exactly violations of this in a misbehaving app, due to an accumulation of RPC within transactions across the entire app. (I used to be responsible for it as a greenhorn ~5years ago, but walked away for the last several years to work in a different part of the org.)

The approach is actually kinda interesting: we add an interceptor in the RPC layer for every outgoing call that asks the DB machinery “am I currently in a transaction?”, and emits a warning (containing at least the RPC being made, perhaps a (partial) stack trace) if so. We had so many occurrences of those warnings that our logging framework proactively started dropping log lines! So the next step is to only emit the warnings once per $duration per message.

Another day in the life...
Can you explain the exponential rise in mask costs with shrinking? My naive understanding is that you simply can't resolve features below some fraction of the wavelength. How do more expensive masks get beyond that?
Hy: Lisp embedded in Python
I came across this news article: https://www.theregister.co.uk/2019/09/04/aws_power_outage_da...

The headline sounded so clickbaity that I ignored it before seeing this thread
People will buy completely wrecked Teslas for $5-20k just to extract and resell the battery modules. Each of the 16 battery modules from an S goes for about $1200 a pop. The secondary market will buy essentially any quantity of lithium cells if the price is below $200/kWh, no questions asked.

Recycling efforts are almost always for show. If a cell or module has at least 30% of its original capacity remaining, people will reuse it for stationary storage or weight-insensitive vehicles. Shredding and recovering cathode materials from lithium cells is about as economically nonsensical as recovering silicon from cell phones.

There is such a massive worldwide shortage of batteries right now that worrying about dumping them in landfills is beyond pointless. You may as well worry that we're throwing away too many gold bars.
LovelyStay | Backend TypeScript Developer/DevOps | Lisbon, Portugal | ONSITE & REMOTE | LovelyStay.com

Help us develop our advanced Channel Manager / multi platform host CRM - and be a part of our small but ambitious team of developers that aims to tackle the challenges related with Short Term Rental Management of large number of properties on a user friendly platform.

We're currently looking for:
1. A backend developer that loves TypeScript, PostgreSQL & QueryBuilders (vs ORMs), and can help us on maintenance and incremental code improvements;
2. A DevOps who also loves to code in TypeScript (but has good knowledge of Postgres, Ansible, Azure, AWS, shell scripts);
3. A frontend React/Redux developer.

We are always open to new technologies, and we reward business focused test driven refactoring.

We tend to prefer partial ONSITE, but REMOTE can be an option for the right candidate. We strongly value independent, autonomous work, and a strong willingness to learn and to challenge yourself and others. We are also developers - and we like to be challenged by new, smart and effective technical solutions to our problems.

We have a great work environment, offer health insurance + parental leave + remote / flexible working + and we strongly encourage travel - we are a tourism centered company, after all!

Come and discover the Lovely Portugal, our weather is great, excellent travel locations, rent is still accessible (as long as you stay out of the city center - there are good transports), welcoming people (you'll get along fine knowing just English), liberal views.

Looking forward to hear from you at hn@lovelystay.com
The US is much less of a world leader than North Americans think it is. Europe doesn't even try to grab the spot.

Countries will do what is most efficient for them. Luckily, as solar is now cheaper than coal, it starts to look like the most efficient option is clean. Luckily, as I said before.
Slight off topic, but I wonder how accurate the references in novel/series "The Clan of the Cave Bear" where medicine man/woman skills are mainly handed down from one generation to next. However also handed down is the skill to take tiny amounts of unknown herbs or potential foodstuffs and observe effects on their own body before working out what to do/how to use to treat ailments etc and add to common body of knowledge.
I recently got an iPhone and had this issue for the first time ever, during the first week of usage. It only showed up in the phone-local calendar, so I'm guessing the phone picked it up from some e-mail that Google ignored as spam.
I'm not sure losing control of a subordinate counts as "saving face"
Texas gunman had been ruled 'mentally unfit', used loophole on background check
Firefox has a builtin user agent spoofer (not extension), and those helpful promotions just shut up.
"Meritocracy" is an unattainable goal, like "utopia". It sounds good in the abstract, but "merit" is such a subjective concept that it's useless for any practical purpose. Every person's life is as much a product of random chance as innate potential, so there's no objective measure of merit by which a meritocracy could be judged.

I'm sure there's reasonable arguments against affirmative diversity in general or Mozilla's diversity projects in specific, but incompatibility with meritocracy is not a strong one.
I'm not convinced by these claims:
> While Airbnb’s accounting suggests that its revenue has minimal marginal costs, a holistic view of Airbnb’s market shows that the company effectively pays hosts 86 percent of total revenue.
You could make the same statement about a payment processor (with 1% fees it would "effectively" pay users 99% of revenue) but I think in both cases the company has zero marginal costs in the sense that it can scale to additional revenue pretty much for free, in comparison with say a factory that has to hire new workers and buy more raw materials to get more revenue.
>>Of course, by aggressively introducing newer and newer cameras with marginal improvements, companies like Fuji and Sony are finding that they might have created a headache.

Yep, Sony shoot themselves in the foot with the RX100 series. Fantastic cameras, but for some reason they make a point of releasing a new model every single year with marginal improvements, but a much higher price point - so even though we are at Mk 7(?) now, the general recommendation is to just find a Mk 2 or Mk 3 model and save yourself a tonne of money compared to the latest model.
No, he wants to know what the punishment is for a gambler that breaks their own self-ban.
Is this all about making it possible to do delta debugging with git commits?