skysight-inc/HackerNews huggingface dataset:
Thanks for the image.

This shows how ridiculously irresponsible Google's decision is - to allow such a huge permission to be given via a single click in the same way as much less important permissions - and even worse, mixed in with other requests.

Alternatives they could have considered:

1. Don't do this at all - keep emails private and in your control. This is the sane solution. Make the user set up any apps with IMAP access as per a mail client. The friction here would make it much harder for the user to be deceived.

2. Allow it via the app permissions, but have a completely new approval screen for it to highlight just how important this is. The screen should have have a suitable graphic for a warning (stripes etc.) and say "WARNING - you about to...", following by a multi-click path to get around it. Then require a re-entry of password and TFA. Similar to Safari's certificate warnings when visiting websites [1].

3. Build an infrastructure whereby an app can access information without it leaving Google. A sort of sandbox/walled garden where the only ways in and out are strict APIs. So a company would be able to extract summary data, but not individual mails. Don't know if this is possible; depends on the use case. Would only be partially effective.

https://www.digicert.com/blog/safari-11-introduces-improved-...
> By using swap, determinism is bye-bye as disk access, unlike RAM, is not deterministic.

No, because what's driving this change is the rise of NVMe rather than disk, which has consistent access times.
WE can only hope they don't start a war to find those WMD's...
I used the library you mentioned in another project and didn't even notice the maintenance issue.

I used it for offline storage of video and audio files.

Didn't touch the code that interacts with that lib for half a year now.
Defining and prioritizing features for a MVP
GREAT NEWS AHEAD FOR E-COMMERCE SOLUTION PROVIDER IN 2018
Wow, this is a classic case of "don't trust someone who describes themselves as neutral".

To take the principal example under discussion, either you think lolicon is OK or you don't. "Neutrality" is actually the former position. The exact same thing holds true for the "Red vs Blue" thing. Either you believe Red harasses Blue or you don't. If you don't, fine, but don't pretend you didn't just pick a side.

"the mouse will not appreciate your neutrality"
I don't know, maybe because web components still aren't a thing across all deployment targets?

That Web designers are still playing catchup with native RAD tooling from the 90's?

That React devs so enthusiastically re-discovered how 90's UI were keeping up to speed with slow hardware?

Or maybe because GPU acceleration requires CSS tricks with Z-Order to actually work?
wx13p 7 hours ago [dead] [-]
It works.

Apparently not.
Is eating natural food the same as eating what's healthy?
The iterating over map(foo, stuff) version is much cleaner and readable imo
NDA configurator for startups
Is Firefox lying to users about viruses in downloads?
Tech-support scammers revive bug that sends Chrome users into a panic
German police raid homes of Tor-linked group's board members
I check out "modern" web development from time to time.

What's the state of the art in 2018? Can you have a DIV with a fixed aspect ratio fitted to the screen? Last time I've checked (in 2017) this was impossible without JS.
Learning More Vocabularies Using My Own Open Source Software
I recently taught myself more vocabularies using a hack while reading two books in three months. Here are some statistics and observations from the process.
What happens to fanfiction?
The biggest problem is, the most classic C bug is writing an array out of bounds. It would be almost impossible to efficiently add bounds checking to all C arrays, so let's assume we are going to leave that as undefined behaviour.

That out of bounds write could go anywhere. Into any other variable. Changing the code of the program (if it isn't write protected). So the most common C bug can lead to absolutely any change (hypothetically) to the running program.

That's one of the reasons writing text to "explain" what undefined behaviour can do is so hard.
"No one knows who put it there. No one knows who stocks it."

Is that statement real? If you live near it, have you never seen a truck, car or person restocking it? Thanks :)
Xmake-vscode v1.1.0 released, Support breakpoint debugging
Depending on the market, python is one of the most popular languages. JS is probably on top also alongside C but neither of those are better starters.
As of the last few months, one is hard pressed to tell the difference.
OK, sorry, I didn't notice that it was italicized. That hint was too subtle. Maybe dependent on screen.
Only tangentially related to the article, but where/how do researchers get global coverage SIM cards that you can just put on a stork and expect to get data/calling wherever it flies? I've looked for this before but only found what seemed like tourist scams with very high prices per MB/minute.
But "modern" with ironic air quotes is totally different than earnestly unquoted modern.
Video needs 2001 music
didn't you want to multiply your sizeof n by CHAR_BIT?
Of course that code is broken (relies on undefined behavior) when i is zero, which is a totally reasonable input for a rotate function. A nice illustration of the pitfalls of undefined behavior.

You can find a correct implementation in a blog post by John Regehr [1].

[1] https://blog.regehr.org/archives/1063
You invoke TLS 1.3 as your example, but the TLS WG spent over a _year_ on essentially nothing except finding a way to bodge the protocol so that it could get past middleboxes. Note that draft 22 in particular is focused on disguising TLS 1.3 connections as something middleboxes are least likely to meddle with.

The middlebox firmwares from this year including from prominent vendors like Symantec and often misdescribed as "implementing TLS 1.3" actually mostly do what they _should_ have been doing from the outset if they were correctly implemented, which is to say they refuse to negotiate TLS 1.3 and end up proxying TLS 1.2 instead.

"Oh but middleboxes" is exactly why we have TLS 1.3 and QUIC. You are correct that every bit is a new opportunity for middlebox vendors to mess it up, and that's why every possible bit is encrypted.

Consider certificate compression. A certificate is about a kilobyte sent on every new connection that has large boring repetitive structures inside it (as well as many bits of random key data that won't compress), so we should clearly compress it. But there was no point even trying in TLS 1.2 and below because the cert was cleartext, and so middleboxes would try to parse it, if you compressed it they'd get confused and close the connection, or worse. Only in TLS 1.3 where certificates are encrypted, and so middleboxes can't inspect them, are we finally able to offer compression.
John Titor?
> Extremely high performance, compact binaries, and its ability to be used both for cross-platform functionality, and for low-level and platform-specific functionality. All the reasons C took over the world (every major operating-system
and game-engine, for starters), rather than its competitors.

After 30 years of throwing money at it.
"Krawalltouristen" (riot-tourists) has been a term for a long time before G20. Sometimes it is applied to radical left wing antifa groups, sometime for right wing exremist groups, but more often than not to moderate groups, who achieved to mobilize lots of people for a demonstration like "Attac".
I'm an outsider to the whole story, but I read the article as detailing two different clashes, the blue/red and the English/Japanese, though partly intertwined.
I've always wondered how society would've developed if there were multiple species that were as intelligent (or close to) as homo sapiens, like if Neanderthals didn't go extinct.

Unfortunately, I think that they would've either been wiped out via genocide or used as slaves, given how willing we are to do that to fellow humans.
Unfortunately it's a theoretical impossibility to detect all instances of UB in a static-analysis. Rice's theorem strikes again.

These days we have pretty good static analysis tools, and tools like UBSan which can insert certain checks at runtime. Not perfect though.

I believe it's possible to approach it from the other side though: use MISRA C, a terribly strict C programming ruleset, which I believe can be mechanically verified, and which avoids any possible UB. (This is an 'overly strict' approach, as it forbids doing certain perfectly legal things.)
Making your whole language and code more complicated just to save one line of code? No thanks. Python to me has always been about clarity and simplicity. If i wanted to write cipher unreadable code, I'd just use C++
None of that has anything to do with my question, but okay. Never mind.
That's probably what they were paying. They probably used a very efficient protocol to keep bandwidth consumption low.
On launching and giving shotsnapp a real shot
Basic descriptive statistics with Python
How we solved GitLab's CHANGELOG conflict crisis
Awesome Powerpoint and Realtime collaboration
Yes, I thought so. The presentation of the article I had didn't finish the last paragraph, so I assumed it was part of the paid content on the website and deleted it.
The internet still relies on unpurged cookies.
Other considerations (individualism vs collectivism) are tightly related to the "human nature" consideration.
It's way far easier to control speech on a collectivist society, for example. You need a degree of totalitarianism to ban speech and ideas.
I can't read the entire article due to a paywall, but what I did read makes it clear what we're taking about here: a woman asked to be called 'doctor' (as all her male peers are) and the author feels this is the 'intellectual elites' taking over, calling it a dictatorship.

Heavens forbid a woman ask for the same respect to as her male peers. This truly must be the end of freedom.
You have to keep in mind too that the flow of oil will start slowing down long before we get the last drop out. In fact it should start to slow down when about half of the total oil is extracted.
Most countries have restrictions on when/where military planes are allowed to fly supersonic. If they have to cross the sound barrier over populated area (happened over southern Germany last year), this always causes a lot of publicity and can even result in shattered windows (which the military will pay for).
Maybe worth looking into how Amazon Kindle solved it years ago? They offered free GSM/3G? access to the internet, something like 150MB/monthly, unlimited access to Wikipedia, in so many countries, basically everywhere.
The things you see as a problem are not the things that annoyed me:

A) The Economist says that article limit is 5 per month. But they waive that limit for Google Crawler. So they mislead search engine into thinking that article is accessible, when actually it is not. They intentionally misrepresent as a free service to attract free SEO traffic.

B) The person who shared link to that article was not aware people like me will not able to read it. They were also mislead into thinking is an accessible resource, to get free shares.

C) Even if you don't have a problem with A and B, their UX is ridiculous. One message to subscribe is covering another message to subscribe. As the same time there is a newsletter popup which promises you a PDF.

I hope that now you better understands what annoys people. It's is not that business are trying to make money; it is how they approach it.
Deepl.com is an amazing automatic translator. I sometimes hesitate to post links online, thinking that it might be taken offline eventually due to popularity.

Thanks for taking the last paragraph through deepl.com. Also, if you look at the translation on deepl.com and click on the specific phrases, you will find various alternative translations that specific phrase. I am not sure if the specific meaning-distortion you mentioned would have the right alternative, but still I enjoy the fact that you can easily rephrase certain passages.
29 coredevs dislike PEP 572 vs. 3 coredevs like it
Having an intuitive eye for what's aerodynamic does not mean one is able to explain the physical mechanism behind it.
„Riottourism“ was used as term in english papers at the time of G20 iirc.

As for naming such Blogs, „Riot Travel Agency“ seems fitting... ;)
The Linked in Languages (Popularity?) Index
Is there an Electronic Frontier Foundation equivalent in Germany? If not, what stops police from conducting searches like this in future? (If this can even be shown as illegal in a court.) I doubt individuals or even small organization can properly fight legal battles.
I guess we'll end up creating fuel on the ground with renewable energy and use that for jets. This would go a long way towards reducing emissions and only needs minor adjustments to planes/engines. I believe some airlines already tested alt fuel sources as a mix (although they were based on plant oil iirc).
> We believe, the SNN is the correct representation of the how the mind works. In fact, we have mathematical proof that our representation is the most efficient representation.

No details on the website, though. This is either very poor marketing, or (much more likely) snake oil.
They should just send an undercover guy to pretend to be their friend like usual.. at least that's not as disruptive.
Here in Japan, an attendant at the local meetup works for a company that does just that:

https://soracom.io/en/
Update: Aspose.Words Cloud SDK for Ruby Source Code
There is still a long way to go until there's true equality on any level.
Why Laziness Matters
I first read your comment as: Google associates your browsing history with your Google account when your not logged in and using private browsing.

They can definitely tell it’s the same user who just opened a new private tab, but they’re not saving that, right?
>One of my devs was really sabotaging processes just because he hate JS.

Did you fire him/her?
Get GoogleFI - $10/GB worldwide
>> If for example I happen to stand in front of my window and witness a crime being committed in the street,

That is probably not an instance, where a search warrant would be reasonable. But if for example you denounce someone for embezzlement, and during the investigation it comes to light that you have profited from this act of embezzlement yourself, a search warrant would be given (against you) despite of you beeing a witness.

>> they could search my house without any consent or warrant?

They do need a warrant, handed out by a judge. The idea is, that a judge gets a request for a warrant and decides if it is reasonable or not. The problem is, that the judiciary is so overwrought, that almost any judge will decide in favor of a warrant, even if its not reasonable.

I am almost certain, that this warrant would not be reasonable if a judge with time had thought about what actually happens here.
Doesn't tree have a way of iterating over nodes matching an xpath?

tree.xpath(TARGET_XPATH) I beleive. Aa

Point is the comprehension is flawed to start with. If you need f(x) on both side, then f(x) should happen first, rather than doing it inside and assigning it. That requires a new user to know the if part (at the end) gets executed first, which is dirty.
UI/UX best practices
I don't understand.

I added iPhone X support to an RN app rather ad-hoc a week before it was released.

While I had a few issues with the resolution, safe-area wasn't one.
ESA engineers have told me: If it looks good it will work well. So they seem to have a lot of experience with this, although their sense of aesthetics might be impacted by their work.
Apple is Mac-ing on enterprise: Plans strategic B2B alliance with HPE
Ya, that's one thing I did get right. My son always helped me in the kitchen.

At first, it was just help by "washing" the vegetables. What kid doesn't like to play in the water?

He'd eat anything he helped prepare, even if he didn't like it much (eg mushrooms). Because he had a relationship with his food.

Now he's quite the foodie. Makes serviceable Phad Thai, curries, etc.

Another house rule was "One 'No thank you' bite". I didn't make any of the kids choke down foods, like my parents did to us. But they had to try everything at least once. They were often happily surprised.
Top Five Reasons You’re Wrong About Needing a Large Backlog
Nah, it's had those advantages since year 1. Like the the other guy said, it's pretty much high level, portable assembly. It wasn't until later that modern languages introduced bounds checking, virtual machines, garbage collectors, and other things that improve safety but have performance and bloat tradeoffs.
We're not against ads per se, we're against tracking and profiling. If sites need to run ads it's their right to do so. As long as a) they're not abusing user's privacy, b) they're not sending malware and if they do there have to be consequences, and as optional, c) they don't run 15 ads on a page hurting UI and readability. If they can follow these 2+1 rules they can have as much ads as they like. I might even whitelist them on uBlock Origin.

On the other hand, and that's just my personal opinion, I don't give two shits if most media disappear. Nine out of 10 times a journalist writes about an issue that I know well they're just writing BS, which makes me wonder what happens with issues I'm ignorant about-chances are they're also writing BS. Every time I need an expert view on a subject I visit HN or some similar community site, not a news site. I'm not saying that I'm on a crusade to punish journalists, I just don't see what's the fuss with the scenario of most news sites going off business.
..USA?

Hello, DMCA?
I couldn't resist learning more about this.

> Passengers seated next to each other could have a conversation only with difficulty, and those seated two seats apart could not hear each other even when screaming and had to pass hand-written notes instead. Noise in the back of the aircraft was unbearable. Alexei Tupolev acknowledged the problem to foreign passengers and promised to fix it, but never had the means to do so.

https://en.m.wikipedia.org/wiki/Tupolev_Tu-144
If other countries had the same demographic development as Nigeria
I would expect that enabling the privacy mode of a browser also sets the DNT header and therefor at least suggests to google not to save the search history. If google honors this is another matter.
Hi. There are two options: 1. Hold `alt` key when press the commit button, 2. Enable 'Automatically push on commits' in Fork preferences.
This does not answer my question, so I checked -- comprehensions simply do not accept the `else` clause:

>>> [a for a in range(10) if True else range(2)]
File "<stdin>", line 1
[a for a in range(10) if True else range(2)]
^
SyntaxError: invalid syntax

And this is the argument why I can't have my wish, because the standard `for` loops have always accepted `if else`, so it would be a backward incompatible change.

That said, I have another idea: an update to the comprehension syntax which would omitting duplication of variables, using a new "for in" construct. For example, this line:

(x for x in range(100) if x%2)

...could be written as:

(x for in range(100) if x%2)

Just an idea... :D
Show HN: Pingu – Tiny tool that notifies when your process finishes
If so, it needs to do a better job.

(Or maybe it's the way that people use #Slack. Which isn't strictly Slack's fault, but still, ...)

I sort of miss when we would have internal WG-specific mailing lists, which were archived, web-available and searchable. Anyone could join (almost) any group they wanted. It was threaded (of course), and people tended to write longer more complete responses (with no reaction emoji!).

Don't get me wrong - I love slack for the CI/CD stuff, and as a monitoring dashboard for all sorts of alerts that various parts of the various teams might be interested in, but it doesn't really replace the use-cases that email is actually pretty good at (in my opinion).
> My understanding is that C has undefined behaviour where there is no universally sensible implementation across all architectures.

That's somewhat true for things like signed integer overflow, but it's more than that. For instance, if there wasn't UB around pointers being "in bounds", then either there would have to be expensive checking of every pointer dereference ever (both read and write), or other performance drains like values never ending up in registers (both literally and conceptually) for extended periods, they'd have to be loaded from memory every time they're used, effectively treated as `volatile`. (And, this inhibits other optimizations like breaking up structs via SROA.)

For instance,

int f(int *p) {
int x = 0;
*p = 10;
if (x != 0) { ... }
}

The compiler can't optimize out the branch unless it can assume (or dynamically ensure) that the dereference of the pointer p won't point to an unrelated object (x). Arbitrary transformations on pointers (including constructing them directly from integers, and one might guess the stack address of x) are "only" undefined behaviour in C, not prohibited statically.
> Exactly. React native shines exactly in your situation

It also works well when you have thousands of developers with established apps (Facebook). This React Native bashing storm is more a cultural thing as the other solutions (native, swift/objc, java/kotlin) are not technically superior, with obvious up and downs compared to RN.
How can we send you $/BTC donations for funding support? Couldn't find it anywhere on fast.ai.
This is such a simple counterargument to OP, It's funny to see you down-voted.

I guess we all need a system these days to validate our actions, even how we should spend our free time.
And car companies presumably have global agreements e.g. I can drive my car across Europe and have all the navigation related stuff continue to work.

But easier for Amazon or big car company to broker such an agreement. I think the question is how would Joe Public get something like this.
Evaluating the evaluation: a benchmarking checklist
Except the Onion friends do not have a donation page up to support "a terrorist group"... that is stretching things a bit far.
Why don't you link the source, some people might find it interesting...
If you host your blog on a free host, where the host inserts ads to offset the cost of the free hosting - is that commercial use?
Actually a lot of the comments confirm that in the west it's teh same. It's just happening behind closed doors and there are really people (e.g. engineers) who don't know about this at all.
#SaveYourInternet – Fight the #censorshipmachine
Is Bezos holding Seattle hostage? The cost of being Amazon's home
Author here. Happy to take any questions or clarify any vagueness in the text. It's a common problem that people tend to have a lot of baggage around.
Something I'd consider strange and unexpected is that passing NULL pointers as destination to `memset` or `memcpy` is undefined behavior, even if the `size` argument is zero. So compilers are allowed to remove null checks after calls to such functions and AFAIK already implement such optimizations:

memset(dest, value, size);
if (dest == NULL) {
// will be optimized away, although size could be 0.
}

I think most people would agree that `memset(NULL, v, 0)` should simply be a (well-defined) no-op and not result in undefined behavior.
Works fine in xen and esxi though.
Did This Jeweler to the Stars Commit the Biggest Bank Fraud in India’s History?
Protonmail isn't bad, agree. But I don't like their mobile Android client because it can't group emails (each email even response is new one). But again I am using free version, so no complains. :)

Google mail is more feature-rich of course.