skysight-inc/HackerNews huggingface dataset:
Yeah this is hilarious. I feel like tech companies get away with this because the internet is more "mysterious".

This is no different than a chemical plant "accidentally" building a conduit a quarter mile and dumping waste into a river. Of course they know.
Well, it's less modular. Though with Intel CPUs needing a new mainboard for every single CPU generation, maybe not a big deal.
This brings up really good points. One of the best practices going forward is to minimize storage (and logging) of any personally identifiable information.

Under GDPR, IP addresses can be considered PII, so it makes sense to set up an anonymizer for nginx ip address logs. There is a great Stack Overflow answer on this: https://stackoverflow.com/questions/6477239/anonymize-ip-log...

But also there's some app hygeine involved. At least one of the recent "data breach" notifications involved not an actual leak of personal information, but unsanitized logs containing personal information that should not have been shared intra-organizationally. I forget the company that did this, but they notified as if it had been a breach even though passwords had just been logged internally.

When testing it's convenient to do stuff like
```
console.log('username: ', req.body.username);
console.log('password: ', req.body.password);
```
but it's all too easy to forget about it when you're working on a million things. So a big part of the solution is mindfulness (do I _really_ need to log this?)
Jim Gray, Why Do Computers Stop and What Can Be Done About It?, https://www.hpl.hp.com/techreports/tandem/TR-85.7.pdf

Joe Armstrong, Making reliable distributed systems in the presence of software errors, http://www.cs.otago.ac.nz/coursework/cosc461/armstrong_thesi...

But I’m heavily biased.
In this case, Twitter was lying (or more generously, not being entirely truthful) with what they were using the data for. Some users may have chosen not to give up their phone number or email if they had known it would be used for advertising in addition to account security.
Spiral dynamics stage GREEN vs stage ORANGE
Obviously writing an ads targeting system wasn't an accident. But why did it end up using data it wasn't supposed to? It seems unlikely that it was expressly written to work against data they weren't supposed to use for that purpose. It's much more likely that they had multiple data sources for email addresses and phone numbers, and had cross-contamination between the data sources.

E.g. maybe they at some point had dozens of databases for user data, all maintained by different teams and grown organically. And then had a big effort to merge them into a single system with a rationally designed schema. And maybe they ended up coalescing all phone numbers of each user from all sources together, with some kind of annotations for why each phone number was collected. And then it's very easy for somebody to screw up the code that's supposed to filtering out security-only phone numbers when ingesting data into the ads targeting system.

The above was totally theoretical scenario, but it should be easy to come up with lots of other ways for this to happen by mistake rather than intentionally. Don't think companies make these kinds of mistakes? Both Facebook and Google had issues with plaintext passwords this year. And it should be obvious that neither had anything to gain from that.
Twitter used two-factor phone numbers/emails to serving targeted ads
I'm quite surprised, as Firefox on iOS should be using WebKit…has Firefox linked against the iOS 13 SDK yet?
> ... for conversation and statements.

Statements, yes. Conversations, no. It's just a bunch of echo chambers, when people occasionally come out of their favorite chamber they simply yell at each other with their ears covered.
Modern China is like a dystopian alternate history novel where the bad guys won.
It isn't specific to tech, most people have things they decided it is ok to be bad at. Outside of tech it is very common to admit that you are bad at math or don't understand computers and so on in the hopes of getting someone else to solve the problem.
Mozilla announces PGP Support in Thunderbird, coming 2020
Communist hunter-gather societies have been studied extensively and it's the earliest forms of production.
I can't tell you all but among them:

- Using the murder in Taiwan as a pretext to introduce the bill when it could easily have been handled ad hoc with Taiwan.

- Claiming it was a loophole left over by the British when it was very clearly by design.

- Initially refusing to suspend the bill in the face of huge opposition.

- Taking months to fully withdraw the bill and proudly ignoring the protestors.

- Blanket refusing an independent enquiry and unwaveringly supporting police no matter how brutal and unprofessional they've become.

- Seeking permission from Xi to withdraw the bill.

- Introducing an anti-mask law instead of attempting serious reform.

- Threatening internet lock downs instead of attempting serious reform.

- Not criticising the central government for threatening military violence and flagrantly manipulating coverage of HK on the mainland.

Those are just a few that stand out to me though I'm sure there are more I've missed.
MetaEthical.ai: AI that does what we should want it to do
Similarly there are Mexican food shops in gas stations out west. When I was looking at the Fine Article and thinking about that I saw that one of the Southern foods at the shops was hot tamales. Out west it's mostly tacos, burritos and quesadillas and I don't even know if they have tamales.
The article is light on technical details, but it looks like an "oracle" is being used to arbitrate the contract.

The Bitcoin block chain (or Ethereum for that matter) knows nothing about options prices or rules. The oracle would programmed to provide a signature (or reveal an outcome-dependent hash preimage) at various points in the option's lifetime. This allows the winning party to claim the money in the contract.

The same concept can be used for prediction markets and gambling. The limitation in each case is that the oracle becomes a point of attack. The larger the value in the contract, the more incentive to attack.
So "interpreter time" is defined as "time not spent parsing JSON" and thus "the less time you spend parsing JSON the less time you spend parsing JSON"? Of course that's correct, but it's so obvious as to be unsubstantial. Surely the OP is making a more interesting point...
Jest integration with Tesults now requires no code
git will append all remaining command line arguments to the end of the aliased command. Therefore `!f() { ... }; f` is the usual style for this kind of git alias to get access to the arguments as needed with $1, $2, etc. in the shell function.
He ended up discovering something new about the mechanism and has spent the past few months working on a research paper about it. Hopefully it'll come out soon.
> Harvesting data and using it for marketing purposes?

Twitter's actions make everyone less secure. The next time an online service asks me to enable 2FA to protect my account, I'll have to consider whether the potential for abuse of my 2nd factor information is worth the additional risk to my account.
The 4 Billion Dollar Tweet. That will surely end up as the title on some future youtube video.
I could see probation and/or a required (and taxpayer funded) civics education course as part of a conviction; but I agree. Either the civil restitution and rehabilitation (I can dream we'll be a first world nation someday) are completed by the sentencing or the sentencing is insufficient and should be fixed in the law.

Permanent dis-enfranchisement is a way of ensuring someone remains ostracized from society and is forever given reason to work against it.
I have chrome updates restricted by my organization and can't use this feature. Instead I'll occasionally use this bookmarklet to invert colors on very bright pages:

javascript:(function() { var tag = document.createElement('style'); tag.type = 'text/css'; document.getElementsByTagName('head')[0].appendChild(tag); tag[ (typeof document.body.style.WebkitAppearance=='string') ? 'innerText' : 'innerHTML'] = '* { background-color: white !important; color: #444 !important; } html { filter: invert(100%) grayscale(100%); }'; })();
Ditto. Duckduckgo seems to have added support, but has a preference to keep it light. I enabled light (despite system dark for reason above) but it means any new tab search flashes dark for a fraction of a second, before it reads the lightness preference cookie or whatever.
This is a very specific instance of a much more general problem.

A lot of private companies control exclusive access to something with a value that dwarfs what you pay for it. I pay nothing for access to Twitter; if I build a business or a social life on the platform, it becomes something I would pay thousands of dollars to prevent losing. I pay nothing for access to Facebook; the memories they store at this point in my life may be nearly priceless. I've paid a low triple digit sum for Blizzard games, yet the time and social investments I have made in those games make them a couple of orders of magnitude more valuable to me, now.

The problem is that since these companies control services so valuable to me, anyone who wishes to hurt me for any reason can do it through them. Since no one is paying them to defend me -- I'm certainly not -- they have no resources commensurate with the value of what they're defending.

The situation we're in now is one in which political thugs apply pressure to private companies to hurt individuals, in an attempt to chill free speech.

Free speech is expensive and valuable, and defending it from those who would wish to destroy it requires commensurate resources. We should not expect Blizzard to stand up to the Chinese government; that is the job of the Chinese people, of other goverments, of perhaps the whole world.

To my view, Blizzard is like a store clerk who gives up the store's money to a robber. It would be nice if he was a hero, but he's not equipped for it. Nobody is paying 7-11 to stand up to violent crime. The problem is too big and expensive to ask individuals to deal with. Society paying for police and courts is at least a response on the right scale.

The mechanisms we have for protecting individual rights are antiquaited, and need to be rethought to deal with the current situation. Perhaps a model like the unified response to patent trolls could work? I think, if we want free speech to exist in the current environment, it will have to be something that big.
The problem is very simple: if you have diagrams with black lines on transparent background it doesn't work with dark background. Many colour choices we do make less sense for dark backgrounds than for light ones. The comment above properly describes the breadth of real problems you might face.
(shameless plug): https://github.com/dandavison/delta is a syntax-highlighting pager for git that adds syntax highlighting and within-line edit detection to all diffs displayed by git.

I agree about `git log -p`. A good trick with that is to use it as a quick way to search for a commit that includes a certain string (since the pager is less, one can search back in time with `/`).

Same trick for `git reflog -p`.

`git stash show -p` is another less-known diff command (look at a stash without applying it).
In the discussing the "acid rain scare" and Scandinavia, the situation with fish and lakes there is worthwhile understanding. I did a quick google, but my searching is probably no better than yours:

https://link.springer.com/chapter/10.1007/978-94-009-3385-9_...

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3698327/

There may or may not be be a story on acidification of lakes in the USA, but I am ignorant on that.
Ah. I'm sitting at 297 right now, so that does make sense... and thanks for clearing that up for me!
Not parent, but thanks for the reply. In response to my own sibling comment I say, "hmm, I apparently was not hearing you right."
only for ajax requests that are not "simple", that is requests that cannot be sent w/out JavaScript. The sending of this OPTIONS request is referred to as a pre-flight. A more through description at https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
> their shareholders might sue them for shirking their fiduciary duty

Then be laughed out of court right after filing for having no legal basis.
You can also just do a normal form post request into an invisible iframe that is generated by the attacker's javascript.
Saying "It's ok to be white" is considered hate speech by many. Saying "It's ok to be black" is a statement of empowerment.
My wife would be very grateful as I read Hacker News in bed every night and it lights the whole room up with all its white pixels.
The main difference between EVs and standard cars is the battery. Estimates of battery emissions vary widely, but reviews show an average of about 110kg of CO2 per kWh of capacity: https://theicct.org/sites/default/files/publications/EV-life...

(Although this is improving with time and may be as low as 56kgCO2/kWhcapacity).

So a 50kWh Model 3 has about 5.5mT of emissions from its battery. The rest of it may have lower emissions than a conventional car (since there's no engine, exhaust, fuel tank, etc), but pessimistically we can just assume that the difference in manufacturing emissions between EV and standard is just the battery.

Over a 175,000 mile lifetime, a 35mpg gas car will emit 45.4 tonnes of CO2. And a Model 3 (4.1kWh/mile) will emit about 8.5 tonnes with Californian electricity or 17 tonnes with US average grid electricity. In either case, the vast majority of emissions is in the actual energy to fill up the vehicle, not the battery, and electric cars are FAR better (even with a >200 mile range battery which is considered very large in much of the literature) in this respect.

A factor of 3.2 times better in California (including the battery) and still a respectable factor of 2 times better in the US with current electricity mix. But of course, if you buy the EV now and it lasts 10-15 years (including secondary and tertiary owners), the US and Californian electric grid will be much better as coal (and later natural gas) is phased out.
If anyone is curious about what the pro China arguments look like: https://www.reddit.com/r/Sino/comments/df2mym/blizzard_pulls...
Bollocks. A phone number is an ideal identifier to match on, they've done exactly the same as FB - pretended it's something for security then gone 'oops'.

I've never worked on the same scale as FB or Twitter and I know that this is a no-go area.
The author has also written related tools. One to convert XML to JSON and back (https://github.com/ldn-softdev/jtm) and another to convert JSON to SQLite tables (https://github.com/ldn-softdev/jsl). Combining these with the hxnormalize tool ( https://www.w3.org/Tools/HTML-XML-utils/man1/hxnormalize.htm...), one can do very sophisticated manipulation on HTML web pages.

HTML -> XML (via hxnormalize) -> JSON (via jtm) -> process using jtc (or even jq)
"After World War II, the Chinese Communist Party under MAO Zedong established an autocratic socialist system that, while ensuring China's sovereignty, imposed strict controls over everyday life and cost the lives of tens of millions of people. After 1978, MAO's successor DENG Xiaoping and other leaders focused on market-oriented economic development and by 2000 output had quadrupled. For much of the population, living standards have improved dramatically but political controls remain tight. Since the early 1990s, China has increased its global outreach and participation in international organizations."
>What should they include ?

Languages, technologies used, with relative experience in each, as well as projects you've worked on and what YOU contributed.

>What are the most common mistakes developers make when talking about themselves ?

1. Not being specific about what the 'team' achieved and what you contributed for a given project you're describing.

2. Listing too many things, if I want a specialist in one area you're damaging your chances if you come across as too much of an all rounder. There's value in being able to pick up new things, but you don't want to look like you only work on each thing for 6 months.

>What do you look for ?

Technical competency in the area I'm looking at (completed projects), followed by the ability to communicate what you've actually worked on to demonstrate you understand the design decisions and trade-offs and how it actually works. It's not a bad thing if you've just plugged module A into module B, but that's not something you should be spending time telling me about if there's nothing interesting you've done.

>Are there things that can influence you favorably ?

Good organisation of the information is key.
No, it is saying that it is worth it to clean up after ignorance and folly.

And there are eventually gains to be had.

Those clean areas are worth more, the money paid to labor means demand, growth, etc...
Depends on why you kill them.

Q: If the govt tells you to kill someone is it wrong ?

A : it depends :)
One thing and another thing just exist. They don't perform abstract operations on one another. They may engage in physical interaction but that behavior is only modeled by mathematics. There is nothing to do a "plus" without man to account for it. It is not an inherent attribute of the universe.
NBA used to be pretty big in Europe too in the early 1990s, especially after the 1992 Olympics and its Dream Team, but I think poor/unhappy TV deals have killed that momentum and now football is all-dominating.

Not saying that NBA and basket generally speaking is not important anymore for Europeans, because it is, but there was a slight moment during the timeframe I mentioned when the likes of Jordan, Scottie Pippen, Larry Bird, Sabonis or Toni Kukoc were more famous than many footballers of that time. But in the second part of the '90s something happened and apart from a few exceptions (like LeBron or Kobe) no big NBA names from across the Atlantic have been widely known in here. Which is to say that it's totally possible for the NBA to lose the Chinese market.
Sorry still do not understand. So you are saying that I screw over a person which uses n8n (else he would probably not contribute anyway), for whom I assume n8n is in some way helpful (so makes his life easier, saves him time, the company makes more money, ...), who can use all the code I wrote for free? And just because he contributed some code and I do not allow other people (which is in 99.999%, not the contributor) to make money directly with n8n?
Same happened to me. However, I did do a support request which 2 days later agreed to let me in without a phone number. 2 days.

I think we can file this under 'dark patterns' and finally realise Twitter is attempting to be as abusive as Facebook.
If you're curious on how to avoid this in your applications, take a look at universal hashing: https://en.wikipedia.org/wiki/Universal_hashing
Please don't take HN threads further into flamewar. You seem to have been doing that a lot, and it's not cool here. Please review the site guidelines and note: "Comments should get more thoughtful and substantive, not less, as a topic gets more divisive."

https://news.ycombinator.com/newsguidelines.html

We detached this subthread from https://news.ycombinator.com/item?id=21194189 and marked it off-topic.
As will Linux/Gnome.
Trade Rules Emerge as Weapon to Fight Climate Change in Europe
You can say whatever you want, but they might not want to throw money at you if you start shit talking their regime and it's values. Is that not free speech?
> We asked about RGB LEDs

Nobody can say Anandtech has lost sight of the priorities of the enthusiast community :-D
No one said anything about political discourse, just about differing opinions on various issues. Surely, racism is one of them.

And just so you know, the prevailing Chinese opinion on that is quite a bit different that what we believe in the West.
Avoidance as a compensation strategy for weaknesses isn't particular to just tech culture; it exists in pretty much every discipline.

I've taken the opposite approach: from what I went to school for to how my career has developed, I've generally made choices that allow me to capitalize on my strengths while shoring up my weaknesses. And along the way I've recognized that such an approach in itself is a strength of mine, as not everyone that attempts to do so can be successful at it.

It's also a meandering path to success. At least from a professional standpoint, it's far more straightforward to avoid your weaknesses and hone your strengths. And such specialization is embodied in the organizational structures of most businesses.
> Yea - I must have missed the "who have cleared any debts and fines outstanding" clause following the reinfranchisement of felons.

Apparently they have to complete all terms of their sentences:

> > No. 4 Constitutional Amendment Article VI, Section 4. Voting Restoration Amendment This amendment restores the voting rights of Floridians with felony convictions after they complete all terms of their sentence including parole or probation.
Sure, I guess the column was named "twitter_mobile" instead of "twitter_mobile_2fa".
Flamewar comments and personal attacks like this will get you banned here. Please review the site guidelines and either make kind, thoughtful posts to HN, or no posts to HN.

https://news.ycombinator.com/newsguidelines.html
Not even in that case. Heapsort guarantees worst case n log n, and so does quicksort if you use an O(n) median selecting algorithm.

Stable sorts often do require that, (mergesort is usually stabble, heapsort and quicksort are inherently not), but even that's not required - there is a completely in-place variant of merge sort that only requires O(log n) space for stack (like quicksort; heapsort is O(1)). See e.g. https://xinok.wordpress.com/2014/08/17/in-place-merge-sort-d...
I guess partially I am, particularly with junior people. Although often they don't really track their time precisely enough to see where it is going.

I say partially because much of the time it isn't "I'm not getting assigned tasks done". With junior people it's often "I don't know why /my estimates are off/i am slow/i get stuck/". With more senior people it often boils down to "How can I have more impact".
Walrus Operator Coming in Python 3.8
Mapped – the dragons that surround London
It's not a poll tax — it is apparently an element of the amendment Florida's voters passed, which requires that felons fulfill all elements of their sentences.
> What I won't stand for is lying about that software's status as open source. He may not be an expert on licensing but he's had it explained to him by experts and chooses to continue lying. That's not acceptable behavior.

How do you know this? What makes you assume that following the poll he won’t change the wording? Maybe even the license?

Why do you still accuse him of lying? Maybe it’s just an honest mistake?

In dubio pro reo, right?

> It's even worse to see projects like this misleading contributors into giving to a project which isn't even open source in the first place and asks for more than it gives.

I disagree. We need to be respectful in the way we interact with each other. Proper social intercourse is more important than the the topics we discuss.

I think everyone sees and respects how you feel about free / open source licensing.

Why can’t you just be a little bit more respectful towards the choices and opinions of others?
why would afghanistan be justified?
>Though even if they did, apparently it didn't cause them to go back into China

https://en.wikipedia.org/wiki/Dragonfly_(search_engine)
Climate Technology Primer
Gerrymandering is only possible in first-past-the-post systems, if you have several mandates per district, the problem goes away completely.

Another nice side-effect is that proportional representation breaks the two-party system.
Is this against GDPR?
Read the introduction to MetaEthical.AI: https://medium.com/@june_ku/formal-metaethics-and-metasemant...