skysight-inc/HackerNews huggingface dataset:
I believe the police have also requested the MTR to add additional train services, so that people could get out of affected areas.

There's been a lot of push back on the police operating inside the MTR stations, especially after what happened last time. It's one thing to try and push people to leave the area, another thing to fire tear gas rounds at the entrances of MTR stations.

The protestors have already shown that they can cripple the MTR network within a couple of hours, I doubt the MTR want to be on the wrong side.
Only in German, http://dip21.bundestag.de/dip21/btd/19/116/1911619.pdf
How to set up and deploy your React app from scratch using Webpack and Babel
"Burn the boats."

If there is no way to successfully retreat until you've won, then you win or die. Great way to focus the mind on winning (success) once casual retreat is no longer an option.
Google stinks at customer service. Compare this to Slack, which answers everyone of their customer's /feedback's.
Thanks, Open Location Code looks like a great solution.

https://plus.codes/6PJ4CWRW+H3 for anyone who wants to play around with it.

Although I must say that '6PJ4CWRW+H3' is still harder to communicate than horse.cow.sheep for example. That is the clever thing about what3words, the design of the addresses. What I like about Open Location Code is that adjacent squares have a similar name.
Restoring what system - nature is not some harmonious place where everything just works and people came and ruined it - there were plenty of extinction events prior to humans, evolution can lead to dead ends and get stuck at local minima. It doesn't optimize for a lot and collects garbage allong the way (eg. eye optic nerve blind spot)

Man made climate change is showing us how vulnerable we are to changes in the Earth ecosystem - instead of putting our heads in the sand and hoping everything goes back to the way it was while we pray to the weather gods we could actually figure out ways to engineer our environment and become more resilient to such changes.

If we are so sensitive to climate change what would happen in another Chicxulub impactor scenario - another global extinction ? Not to mention much more probable global disasters like disease outbreaks.
or call a friend before calling the number
First of all, English is not my native language nor I live in an English speaking country. Second, I didn't choose to read those books, the education system made me :). I don't read them that much today, but did enjoy it. Third, this is not bragging as I don't consider myself being super duper educated. I just read some books from time to time. I honestly thought it was the proper way to spell it, because I've seen it like that.

The style just looked to me as people around me describe events, often starting with the look of the scene, including the person.

Nevertheless, thanks for learning me how to spell a new word.
> Is it a joke?

No?

> In Poland, for example, Youtube, in wholesale, blocks channels which are criticize on LGBTQUERTY.

YouTube is US based and hate speech is looked down upon in the US. Don't like it? Find a service not based in the US.

> The question is why the are able to censor content.

It's a private website, they can do whatever they want. Again, find another site if you want hate content.

> I don't expect that my supplier turn off gas for me, if he thinks, that I use it to kill people; it's not his business, ot's the matter of law enforcement, the police, etc.

???

A) if they know you're using it to kill people they would be an accomplice in the eyes of the law

B) they would have every right to refuse service
Patients who cannot eat food 'fear for lives'
This is not a response to "peaceful protests", which are common in Hongkong without any problem, including on very sensitive issues (e.g. the annual gathering to commemorate the 1989 protests on Tiananmen Square).

Let's not pretend that what has been happening are just peaceful protests: There has also been violence, ransacking of the LegCo, and blockade of the airport. Any of which would not have been accepted anywhere.

Protesters have won on the extradition bill. It's effectively gone. Now they have just made sure that the mainland's public opinion rally against them and behind the central government. That has been a strategic mistake, IMHO.
@IshKebab: Okay, I went ahead and tried. GMaps gives you both the GPS coordinates and the Open Location Code. That's significantly better than complaint above "it's popular because it's popular". Fair point.
Love how candid this is, real insight into the shady world of e-commerce.
You don't _need_ canonical representations for signing, but then you can't let go of the representation used for computing the signature. What is the argument against a requirement to only sign canonical data?
I'm sure those people don't have a problem with Twitter or Facebook banning conservatives.
Big huh? At the end of the article since there really wasn’t a conclusion.

I agree with one of the article commenters - NYT writing about this minor inconsequential story since they are also complicit with the deep state.
It's curious to me that commonly in programmer discussion, we'll say on the one hand that the programming language you use doesn't matter, while on the other hand tout the benefits of adding types and static analysis.

There are some languages where types and static analysis are part of the language.

It's paradoxical that we as an industry hold these two things to be both equal and different.
Ask HN: Essential apps for real life extreme situations?
What are some essential apps that everyone should have for real life extreme situations, such as war outbreaks or sudden long term disconnectivity from the internet?

Assuming one has a small solar module or other means to charge his/her phone of course.

I know of the "Offline Survival Manual" from ligi and some First Aid apps. But are there any reliable apps for creating mesh networks for communication in case networks are down?
Or you could get a real computer to use on the go instead of relying on two devices and a cable
Note that this won't work concurrently if the promises are some kind of "lazy" promise implementation that executes the operation only when `.then` is called. Like with Knex, for example. I prefer

const [a, b] = await Promise.all([promiseA, promiseB])
Well, I like how the code can be shorter when using a location (I see "CWRW+H3 Segamat District, Johor, Malaysia") or unambiguous and terse when using the full code ("6PJ4CWRW+H3").
That programming needs reasoning doesn't mean that reasoning is the only thing you need if you want to do (automated) programming, or that reasoning is only useful in (automated) programming.

That is relevant to your comment. The work on automated reasoning (or "inference", etc) really started in the '50s with Church and Turing, then reached a peak in the late 80's and 90's with work on automated theorem proving (there was a great big push at the time to solve very hard problems to do with the soundness and completeness of inference procedures, particularly resolution) and is still going on (for example with Constraint Programming and Answer Set Programming etc). The result of this work was logic programming. I'm leaving out all the work on functional programming that was just another branch of the same tree, if you like, because I don't know it that well but I'm sure others on this board can complete the picture. Then of course there was all the other classical AI stuff on planning, grammar learning, game playing etc etc that you can read about in Russel & Norvig.

Now, all this work could potentially be turned to the task of automated programming- but automated programming was never the goal of all that research. There was a lot of work on program synthesis, but that was just another AI sub-field with its own specific goals, that were not the overarching goals of the field as a whole. That is why we don't have automated programming at the push of a button, today: because it was never the main subject of AI research.

Edit: bit of a plug. Like I say in another comment, my PhD is on algorithms that learn logic programs from examples and background knowledge (both of which are also logic programs). That's Inductive Logic Porgramming. Our stuff works. We can learn recursive programs and even invent sub-programs that are necessary to complete a programming task and that are not provided by the user. We are making big leaps all the time and we're way, way ahead of neural program synthesis and the like. There's also a whole field of Inductive Functional Programming that does the same stuff but with functional programming languages. Automating app development with that sort of technique is mainly a matter of engineering- the research is out there. But, you haven't heard anything about it because the hullaballoo about deep learning is covering everything else up and most people don't even know there is AI outside of deep learning. Hence my comments in this thread (rather obviously).
I helped my mother reformat her computer remotely. We successfully ported her mail client but managed to lose her gmail password - meaning we had enough access to send/receive emails but not create new sessions. The account was created some time in 2006. A week prior to the reformat she had changed jobs, and lost the mobile phone number associated with her account.

The second factor email was associated with my account, I could see reset codes come through which were relayed to her but would result in an 'oops, something went wrong'. My guess is a bug due to account age / whatever.

I figured we had enough evidence to obtain a password reset, so I googled for gmail support contact details. There are none.

I then tried repeatedly to contact Google via twitter, all my tweets were ignored - probably because I only have like 20 followers.

In the end, my mother ended up porting her old mobile number to a prepaid sim, as $previouscompany had disconnected the number entirely, and used that as the second factor to reset the account.

Pretty damn frustrating that Google doesn't have any unpaid inbound support _AT ALL_.

Next time I'll consider paying a twitter influencer to impersonate me (or my mother), or paying for adspace, or using a mail service that exposes at least some form of support.
Automating capture of airplane pics with Raspberry Pis, ADS-B and IoT software
The Bionic Boot? https://www.youtube.com/watch?v=B5V356k-9a8&t=300
For a 17 year old, that is brilliant. But he has to look after himself because obesity problems create bigger problems. You can not spend so much time in front of a computer. Take a walk. Do some sports. You can be a good hacker too. Peace man.
https://www.wired.com/story/teen-hacker-school-software-blac...
I guess it's a part of human nature.

I don't think this is true. I have read that most parents use either a shame model or a guilt model to try to keep the kids in line. So most people are brainwashed from an extremely early age to either feel shame or guilt, hide things from authority figures for fear of getting in trouble, etc.

That's not actually necessary.
There are great engineers for sure in Germany. Not everybody left for Valley or Switzerland. But having 2nd most expensive electricity in Europe is a crystal clear result of bad engineering.
I was replying to repairisntcheap, language please
One BIG thing missing: xteddy! It was xteddy shown in parallel on multiple HP 9000 screens in the early 90ies, which sparked my love for UNIX.

http://weber.itn.liu.se/~stegu/xteddy/

see also

https://xteddy.org/

Also xon (very handy for non-ssh users), jwz's xdaliclock and xkeycaps.
> Erie Insurance, one of the nation’s largest auto insurers, had not only provided the cops with evidence against its own loyal customer — it had actively worked with them to try to convict him of insurance fraud.

OK, but there is no "loyal customer". There is only the prospect of a payout. And the incentive to avoid it.
I was worried about that for senior candidates, and if I had a good recommendation or had some sort of screen call with them I’d usually skip the takehome.

Very occasionally the candidate came in and just was wildly off, but usually it was fine.

Later on we changed to having all candidates submit the takehome under the logic that if they’re a, “positive” candidate that they’ll be inclined to see this as an opportunity to strut their stuff. I was a little unsure about this approach but we went with it.

I’m curious how senior folks feel about these different attitudes.
Apple might launch new iPhones on September 10
The craziest thing about this is that programmers will often think "well, this tech can't prevent every possible kind of bug, therefore it's useless and we may as well use Python/Ruby/JS/whatever".

Programming usually happens in the context of a business, and the technology used has implications in a cost/benefit analysis.

Being able to express invariants at the type level is cheaper for a business at scale.
> For example, YouTube doesn't want violent content. Just having the word "kill" in your title can get the content demonetized, even if the content is about a video game and properly categorized as such. It's been this way for years.

I think that this actully is violent content - so this is actually an example where the algorithm worked fine (which does not contradict your argument that there exist false positives - they are just a lot more subtle).
America's Fundamental Misunderstanding of China

https://www.youtube.com/watch?v=Ojr-tqaQQOQ
The issue is that a large majority believe it to be the result of gov research done on biological weapons spread via tick carriers during the Cold War. If it actually is the case of a biological exp gone out of control then I would think that a lot of deep seated interests would want to keep it hush hush. There is a recent freedom of info act submitted to determine if the gov knew anything.
I agree. But the headline was not referring to a concept (Dependent Types) but specifically to "Dependent Haskell" as the future of software development. Making it sound like we all are going to be Haskell programmers in the future.
The thing about Haskell is you shouldn’t consider it a finished product. Yes, there are people using it and their experience is invaluable, but it’s also a huge research project into what a programming language could look like. It isn’t mainstream ready yet, but you can see the future come into view.
Please don't linke to elsevier after all they have "done" for the scientific community.
That's true. But you have to understand that Rust doesn't complicate things: Things are complicated. The difference between Rust and say, Python, is that Python hides lots of these complexities for you. This can have two sides effects: Performance and unintended consequences (bugs/hard to refactor/etc...)

Rust instead puts all of these complexities in front of you: Deal with it now.

So you have a choice: Deal with it now. Or deal with it later. And Rust has picked the former.
It was, it has been sold by GE a long time ago (at least 5 years). Maybe some of the staff still feels some sort of loyalty (or relief) I don't know but there is no reason now that CNBC should be more harsh or gentle on GE news.
>> There are major behavioral changes needed that can't be left to incentives or voluntary changes when survival is at stake.

This was tried several times in different contexts (prohibition, war on drugs, etc), and it fails every time.

Make alternatives appealing and people will run to them in droves. That is the only feasible path forward if you're hoping any change will be adopted by a large majority of people.

Very few people will give up steaks or Hawaii vacations when all is said and done, unless you offer them a better alternative.
my fvwm "desktop" consists for years only of FvwmPager, rclock, and multiple xload running on different machines.
Yes, should be C₁₈ to denote a molecule with 18 atoms of carbon, and ¹⁸C to denote the isotope IIRC
I think it's a perfectly valid observation if an article that purports to talk about the problems faced by girls ends up talking about problems shared by both sexes (especially if by doing so there's a hidden implication that boys don't have those problems). Parent's example wasn't cherry picked, the whole article is like that - you can substitute 'teen' for 'girl' in almost every sentence. I know that young girls have problems unique to their sex - why not talk more about them? My intellectual curiosity is not very gratified by this article.
Nope, we won’t put your app to sleep.
Do you think it's been proven enough to be sure that plant based diet is better in terms of GHGE than meat based diet? There are also health concerns that come along with cutting meat entirely from ones diet. Would you say it's easy to hit all required protein's targets while eating only plant foods?
> In Poland

A month ago LGBT people were being punched and kicked in the head and had bricks thrown at them while walking down the street for a parade:

https://streamable.com/hflsx

"Fuck off, we will kill you, there is no place for you in society"

https://streamable.com/f1c7c

https://www.youtube.com/watch?v=hlXWhSE9kAM

You should be ashamed of your country for the way LGBT people get treated.
Thanks for your confirmation, and addition for a feature request (sorry for a bit late response).
So, it will be more practical that I rethink my requirements first. Will send you email if there is further question!
Your argument is flawed.

You make an unsubstantiated claim about correctness:

> Indeed it is "correct" in the sense that it has a very high likelihood (maybe 90% ?)

and then you claim it's poor:

> However, that is a poor definition of "correct".

and therefore blame the language by implication.

Furthermore, you make the false suggestion that the challenges:

> How can I avoid silly mistakes?" but rather "How do I capture this extremely complicated real world semantics in code?"

are mutually exclusive.

In two words: amateur analysis.
Json has a perfectly fine order preserving key-value map:

[["Key1", "value1"], ["key2", ...

You just need to deserialise it into a specific collection on the receiver. It's within standards and there are no weird parser issues.
> and didn't yet revolutionise the world of software design

Well, they have. There's a reason why the companies who have adopted these technologies have adopted them.

The future is here, it's just not evenly distributed.
Corellium is an amazing product and I wish they win. They fill a massive gap that Apple is not addressing. Apple is not very good at doing good dev tools (cough xcode monolith cough), so when somebody enters the game and gets dev excited again about their platform, I think they should embrace it and buy them.
India Shut Down Kashmir's Internet Access
I'm always suspicious of one tool, that is supposed to make work easier, needing another tool that makes the tool easier.
Actually I don't think so.

It is much more than losing face. Losing sovereignity in East Asian countries, where nationalism is hyper active, is an attack directly on national identity.

The Chinese government now will cease to exist if it yields to independence demands from any of the separationist region. The nationalistic education has been ingrained into society at large, something nobody dares to question.
possibly, they should have LGBTQ humans do the rating on what is homophobic etc
Reposting my comment from the duplicate earlier:

Reminder that you should avoid what3words. Still unfortunate that some governments fell into using them.

https://shkspr.mobi/blog/2019/03/why-bother-with-what-three-....

> The algorithm used to generate the words is proprietary. You are not allowed to see it. You cannot find out your location without asking W3W for permission.

> If you want permission, you have to agree to some pretty long terms and conditions. And understand their privacy policy. Oh, and an API agreement. And then make sure you don't infringe their patents.

> You cannot store locations. You have to let them analyse the locations you look up. Want to use more than 10,000 addresses? Contact them for prices!
IATSE is a better model for tech SAG / Equity.

Also entertainment unions provide way more services eg training, chasing late payers for freelancers and running the "call first list" - this is the list of problem employers.
Not all programmers build WordPress plugins.

Some programmers write software for aircraft. The "ship it now" maxim doesn't exist in that context.
I'm also curious what it does or why it is so vital. I've never needed to unblock it in NoScript, and as best I can tell nothing suffers. Does it do something useful server side instead?
Well my initial thought was more along the lines of using some wireless headphones :)
European Central Bank Breach: ECB Confirms Hack and Shuts Down Website
If you cover an area with trees that is today not covered with trees, that area will absorb CO2 from the atomsphere.

Even if the trees die or are cut down, as long as new ones are allowed to grow, that area will absorb roughly constant amount of CO2.

Now, if we can harvest some trees regularly, and use them to replace plastics or fossil fuels, then that's a win for the environment even if those harvested trees end up releasing their CO2 back to the atmosphere, because we didn't introduce any _more_ CO2, we just recycled what we already have.
REALLY? Someone flagged this?

Fucking hell HN, you need to chill.
I appreciate what they did and why. But no, that's not the exact same thing as the raspberry pi with it's ports de-populated. You need to provide power and ethernet (if required) yourself, I think.

The compute model is the right choice for an actual product (i.e. making more than one), but for someone trying to jam a pi into a thin space, removing the ports is almost as thin. Plus you don't also need a motherboard.

The compute module is also still waiting for it's BCM2711 refresh, another reason it's not the same thing. But when that does arrive, if it's just a case of swapping the modules that'll be a brilliant upgrade for this project.
Are there examples of societies radically changing their lifestyles in order to prevent a disaster?
Unless it's Boeing.
I Organize Documentation
I just recently dealt with a JS library that was expecting object properties to be in a certain order ("works" in ES2015 [1]), and that object was loaded via JSON. Was a huge pain getting the object in the required order.

[1] https://stackoverflow.com/questions/5525795/does-javascript-...
In my 20s I would have completely agreed with you. Now in my 50s, these toys don't seem quite as attractive. What I crave now is understanding. Being able to get a whole day without distraction to understand an algorithm or a theorem is vastly more valuable to me.
In both cases, the sentence is not unreasonable if you understand all the words it contains (and I'm not suggesting you specifically don't understand those words).

Those sentences are both very dense in information, but they're disguised as sentences intended to simplify/summarise an idea.
I'll hope and assume it's as a percentage of sales.

To be clear, I'm not 'taking advantage' like buying something I need to use once and then returning it out whatever - I just appreciate that if the item arrives broken, or not as described/fit for purpose that I can return it with minimal hassle.
I don't see whether the cops are doing this on their own time or not. I'm betting it's on their own time but it's unclear to me but cops pick up a lot of work for private companies on their own time so this would be nothing new.
> During Paris protest earlier this year the gov would just shut down public transports for about 5~10 km around

10km is nearly Paris' width so I'd say that's a bit much.
If I remember correctly, they closed the main stations around the protests but not much more.
idlewords... this won't have any liberal bias at all.
It's fucking shit. Despite the negative publicity, and I just checked as their API rate resets midnight PST, annnd.... Still at 25 per second. Google are fucking shit and their contempt is palpable. I'm seething.