skysight-inc/HackerNews huggingface dataset:
You can’t. Merge sort copies data back and forth between two spaces the size of the data set. That’s O(n) extra space.

I spent some time four summers ago with merge sort. I had a PoC for an in-place algorithm that survived several rounds of poorly selected sample data. That was quite a disappointment.

In looking around I believe I ran across several implementations that required sqrt(n) extra space and one that I think claimed log n but was so complicated I never did figure out why it was supposed to work. At least one of these had higher time complexity, but often enough you need to work with data sets that dominate your memory footprint. Even a second array of pointers might push you over.
Surprisingly the tailored audience targeting had very little tests and certainly no end to end tests when I was there. Once the whole targeting / matching pipeline was down for 3 days and nobody noticed (I uncovered this)

Honestly, I wouldn't be surprised if the pipeline was set up wrong to match against the wrong field. These matching pipelines are just Hadoop jobs (written in Scalding (Scala library for Cascading) and orchestrated / scheduled by Apache Aurora.

Internally Twitter generally operated the way you would expect them to as an external user. User data and privacy was taken seriously and no data was given to third parties etc.

Source: I worked at Twitter in 2015 as in engineer on ads (on the programmatic ad buying side and partner integrations).
I recently added dark mode support with a new website for myself, using (prefers-color-scheme: dark) by default, but also allowing the user to switch between light and dark mode if they have JavaScript enabled. It also supports switching image sources in dark mode, so that I can use a dark mode screenshot in dark mode, and light in light. (I haven't yet published the draft article I have using this feature.)

I wrote about it at https://chrismorgan.info/blog/dark-theme-implementation/.
That’s correct. The problem is that the American agricultural industry has gotten laws that enable them to punish you for saying things that are, in fact, true, but inconvenient for them. These are specific laws handed out to prevent whistleblowers and researchers
Except they are not. They are nebulous catch-all clauses applied on a whim.
Because we invented it specifically to establish a system in which some answers were right (those which could be proven given a set of axioms and a set of legal reasoning techniques) and some were wrong. Why would it being invented affect whether it could have right and wrong answers?
https://en.wikipedia.org/wiki/The_Riddle_of_the_Universe_and...
The inventors of fascism cannot satisfy the claim "is widely regarded", for the two reasons that (1) they are a very small group confined to a restricted area; and (2) they're all dead and do not currently regard anything as anything.
why call it error ? there was no undefined behavior; someone actually implemented and tested whether it worked properly. why not call it a mistake? this was a mistake. calling it an error makes it sound like it was not on purpose.
True, but there are a lot of elements of the system that are not shared but are pervasive, and so the assumption that the bugginess of ios13 somehow must also be in Catalina is not valid.
China state newspaper criticizes Apple for app use by Hong Kong protesters
Libra before Libra – the rise and fall of Facebook Credits
> (And e-bikes are much, much more efficient than an electric car... if they last long enough).

Would this hold true for e-motorcycles as well, or are we really saying "slow moving vehicles are much more efficient than fast moving vehicles"?
POWER is getting there. Their OpenCAPI stuff allows one to attach all kinds of stuff, from coprocessors to memory. Large boxes will end up having separate connected CPU and memory drawers on the rack.

But that's no desktop computer.
What gets me up in the morning is that I want to be able to provide. Don't get me wrong I like my job. I like the people I work with. But I have to remind myself the reason I'm in the grind is to have enough money to make life better for my spouse and future kids.

When I keep this in mind I get motivated to have a better attitude at work, to focus. Else I lose hope and get down. But I have a purpose for work, it's to provide for my family. That fills me with joy because I get to work hard for people I love.
If you’re sentenced to pay a fine, then you’re sentenced to pay a fine. There’s really nothing to debate about that, and I haven’t seen any specifics mentioned in this thread or elsewhere that would suggest anything else is going on, only a lot of outraged speculation.
Over a decade of full stack experience. I've been working with React since its inception, and I have a strong knack for finding the best (simplest) solutions to complex problems.

Location: Colorado, USA

Remote: Yes

Willing to relocate: Yes

Technologies: Modern JavaScript/TypeScript (all the ES2016/ES6+ async/await, destructuring, etc. syntactic sugar), Node.js, React.js, Hooks (Redux is no longer necessary), NoSQL (Redis, MongoDB, etc.), SQL (Postgres, etc.), Git, Heroku, Real-time data replication, Serverless AWS, Google Cloud, Linux, Machine Learning (Tensorflow), Robots (automation in general), Unreal Engine

Résumé/CV: Email me

Email: [redacted]
Say what you want about the morals of their data collection practices, but at the very least they found it, deemed it inappropriate, removed it (hopefully), and apologized.
"China said the United States should stop interfering in its affairs. It will continue to take firm and resolute measures to protect its sovereign security, foreign ministry spokesman Geng Shuang told a regular media briefing without elaborating."

No government has the right to carry out a genocide.
Exactly. It's mind boggling to constantly hear, "The Government does so many bad things! We need to give them more money so they'll stop!"

Huh??

Case in point: https://www.youtube.com/watch?v=4gI-RbqHEKQ
> I would expect a consumer router to run without problem for not less than 10 years

That's not a realistic expectation. Nobody is selling consumer devices with a 10-year support lifecycle.
I think there is a simple solution: if the seller doesn't support it, then they have to open source it.

Own (key word) an old RPG that won't run because the publisher decided the servers were no longer profitable?

RPG gets opened sourced.

Have a John Deer remote operated tractor that John Deer won't fix a bug that allows attackers to operate remotely?

John Deer's tractor software gets open sourced.

No support? No legal IP protection.
'Not One Drop of Blood': Cattle Mysteriously Mutilated in Oregon
I agree the rate is silly, but it's worth noting the "10 hours per week" part.
> config.gateway.json
Yes you can do it in the json file, and that works on https://hostifi.net

> Internet down
There's not really anything you would need to change on the controller to fix a WAN issue that you couldn't fix by changing the WAN settings on the USG's web interface... Never had a problem so far with it anyway, with 25,000+ UniFi devices that people have connected to HostiFi. Also, one benefit of a WAN down situation with the cloud controller is you get a notification email about it. On a local controller you won't get a WAN down notification email because... well, it can't send it.
100% my favorite function of KeePassXC right there. It's unfortunately not very well highlighted in their docs even though it's the killer feature which keeps me with KeePass databases.
Donald Sterling settled multiple racial discrimination lawsuits related to his openly racist criteria for putative tenants in his apartment buildings...

See e.g. https://www.espn.com/nba/news/story?id=4619819
What's the conversion rate between likes vs. comments?
I was wondering what is the relative value for a like vs. a comment on a social media post (say Twitter or LinkedIn).

Let's say that value is measured in the number of views that an extra like generates vs. a comment generates.

Does anyone have a good calculation with logic to back up the result? (You can forget about causality and just make a case based on correlation)

As for my quick research: I ran a simple linear regression on an aggregate data set for about 800 random Instagram keywords where the variables were post views, likes, comments and found that the coefficient on a like is about 60 with P-value=0.012 but comments did not seem to be correlated with a P-value=0.47.

That would indicate that comments are basically worthless.

Of course, going back to causality: do likes increase views or do post with more views get more likes? More rigorous statistical analysis needed.
What I've learned from spending a year researching and collating California's hospital prices?

- Paying cash for services in California is often a very good idea, since cash prices for hospital services approach medicare reimbursement rates (or about 80-95% off hospital's list prices).

- The average insurer discount is low (only 30% off the lis price - a FAIR estimate) and often far, far above the medicare reimbursement rates.

- LA has way better cash prices than the Bay Area where a few hospital systems really dominate.
I'm not sure about processes at 'big' companies like Twitter but in my experience if an inexperienced developer sees a field in a DB or API it's fair game to use it even if inappropriate, and this could be the source of the mistake.

So perhaps one team forgot to secure it property (based on role authorisation) and another team saw the field and didn't think it was something they shouldn't use (maybe an OKR or some target as kicking them in the direction of being eager to use what they could get).

Obviously nothing happened accidentally at a coding level, but at a business-constraint understanding level a mistake may have been made.
<groan>

On the other hand, we recently had to build a thermal test fixture at work, and used off-the-shelf watercooling equipment from "enthusiast PCs". I think we used the cheap, no-LED version though :p
If she had a democratic senate, it’s easy. You tie it to highway funds and block grants.

The Federal government reigns supreme.
https://en.wikipedia.org/wiki/Classful_network
That link indicates that the second syllable is rhotic, a position which I and you have both claimed is false.
This one was fun:

DELETE FROM users;

Not so fun for my employer.
"never heard of"?? I would hope all Python devs at some point Google "What algorithm is Python's built-in sort function?"...

https://docs.python.org/2/howto/sorting.html#sort-stability-...

https://stackoverflow.com/questions/10948920/what-algorithm-...
I was thinking more of not using BackBlaze (the service) and using a B2 backed solution that runs as a native app on the NAS. I could always back up my workstation to the NAS.

Something like this:

https://www.backblaze.com/b2/partner-synology.html
So I'll tell you why I really hate the term in this context.

The common usage is to describe an unfair inequality. One person is feeding steak to their dog while another is starving. The spirit of the accusation is that the better off person is too well off and we need to even it out by knocking them down -- since we can't feed steak to every dog, since we can't give everyone a private jet and a mansion and a harem, the people who have those things are contemptible for not giving them up to help the less fortunate.

Human rights don't work like that. It isn't the case that people in free countries could help out people in authoritarian countries by giving up some of their free speech if only they weren't so greedy and selfish. They're not using up all the free speech so that nobody else can have any.

It's possible for more people to have free speech, and due process, and clean water, without taking any of it away from anybody who currently has it already.

Which makes the relativistic comparison counterproductive. It isn't a zero sum game. China should have it independent of whether or not New Zealand or America does, and they could all fully have it at the same time.
But without requiring an ID, how do they validate the name? How do they validate the address? How do they stop someone from giving a completely made up name and a somewhat plausible sounding address?

Serious questions, because I'm in a vote-by-mail state, so I don't actually have to go anywhere to vote. I don't know how that all works. I had assumed they required ID and checked it, but now I'm realizing I've given too much credit to the voting system.
People's overall quality of life matters, and it's nice to have a lawn...

Also, you realize plant life is an important carbon sink, right? Is watering backyard trees worthy of your spite as well?

>Here, water your grass with my tears.

Perhaps you're on the wrong site, with this sort of attitude.
Show HN: Minimalist Life Tracking
Sorry but I’m not clear what point you’re trying to make. I may provide a phone number for the express purpose of securing my account but that doesn’t mean I’ve authorised use of that data for marketing. Users are not liable for a company’s misuse of their data (which in this instance is possibly in contravention or Twitter’s privacy policy).
I think in this case it's small vehicles (low mass, low aerodynamic cross section) that are more efficient. Electric cars would only be marginally more efficient (~50% better) at low speeds due to rolling resistance (whose coefficient is basically constant with respect to speed) and parasitic loss from the computer, infotainment, climate control, etc.

Per seat, electric cars are generally much better than electric motorcycles and about half as good as much slower e-bikes (although if ridden at the same speed, almost as good).
"Twitter, Facebook, and any other entity that deplatformed Alex Jones are private companies and can deplatform whoever they want"

Would you feel the same way if the deplatforming was done by, say, AT&T, Verizon, or T-Mobile? Because Twitter and Facebook specifically get the same protection as if they are communication pipes (as opposed to being publishers).
Those aren’t necessarily bad for American workers. American manufacturing is high skill and involves precision equipment and manufacturing. What would have moved to Vietnam would have been more basic textiles and cnc/molding. Not sure why everyone glorifies basic manufacturing work like it’s the pinnacle of American labor.
An Introduction to Speech Recognition Using WFSTs
Argentina is poor because they elect populist leaders who spend more money on social programs than they collect in taxes and eventually default. Same as Greece. It is entirely self-inflicted.
I don't understand how this comment is related to my parent comment.
That's kind of the point. The consumer doesn't just get his money back, he gets what he ordered. Maybe allow a lump sum payout that's like 5x what they consumer payed just to cap the losses the insurer could incur, while keeping a strong incentive to repair/replace as that's less hassle for the consumer and thus his preferred option. It saves time otherwise spend on shopping for a replacement as well as getting accustomed to said replacement.
Then we have to wonder why the NBA let him own a team in the first place.
It takes less energy to accelerate less mass. So the lighter your vehicle the more fuel efficient it is for the same speed/acceleration.

Going a lower speed is also more fuel efficient (depending on the engine, but it takes less energy) as you have a lower air/road resistance.
Oregon has a "motor voter" act, where you are automatically registered to vote if you have a driver's license (and are of age). We also do vote by mail, so it doesn't matter when the election day is. Just send in (or drop off) your ballot before voting closes.
I chose an analogy that I felt would be reasonably familiar to most people and convey the reaction I wanted.

Is it the most appropriate of all possible analogies? No.

Is it contextually close enough? I thought so. A few people seem to agree.

If your contribution to the discussion is to critique the efficacy of my analogy, then I feel like you've missed the point a bit.
No? Doing maintenance is fine. Doing upgrades isn't.
Heapsort is a lovely, simple, O(NlogN) sort that sorts in place (so that it requires no extra space). (Explicitly stating something that is implied by an existing response).

Edit: Whoops, apparently heapsort is not "stable" (not sure what that means actually), sorry.
Has this kind of strategy ever worked, in trade negotiations? It seems about as likely to be effective as a bombing campaign: It'll reduce the other side's effectiveness, but from a negotiation perspective it'll only cause them to dig in harder.
The Pythagoreans believed the underlying substance of the universe was not water, air or fire but math. It is, I'd argue, the modern world view.

The key difference between hydrogen and helium, for instance, seems to be a matter of number.
You should factor in the human and environmetal cost that goes into constructing them, especially the batteries.

Comparing driving an existing gas/diesel burner for 10 years,
instead of buying a brand new electric car.

Comparing between a new gas car vs a new electric car is of course favorable for the electric car under most circumstances.
https://jtree.treenotation.org/treeComponentFramework/sweepe...
codegeek has a more useful answer than mine. If you're willing to pay for it, find a lawyer and they'll be able to walk you through it. As codegeek says a threatening letter may be enough to solve this.

If you want to file without a lawyer, I'm not sure. If it was New Zealand we have a small claims court for this sort of thing but in America I think you may have to know a lot about the legal system to sue there.
Thanks to GDPR, we're no longer allowed to count the rings to reveal PII.
I think the parent (chrischen's comment) was conflating the two.
It’s been 16 years and they still haven’t implemented ‘minimize to task tray’ function.

God I hate their philosophy so much.
The thing is that for a new device you only need hardware enablement in the kernel - something largely one off that manufacturers can do in the same cadence as device sales so their priorities align.

What should be happening is that the FCC / international communications bodies should be directly funding a project like OpenWRT and using regulation to compel device manufacturers seeking approval by the bureau to submit their requests contingent to providing device specific hardware enablement upstream and to default-ship their devices with this common OS. Then those certification costs fund the ongoing operating system project.

If a company then wanted to implement a new feature to push their hardware, they could... by submitting it upstream.

There have been so many billions of developer hours wasted in the pursuit of profit by reinventing every single damn wheel a trillion times over its disgusting to think about and governments should be recognizing this flaw in US-IP-driven software business models and work to correct it.
Who do we kill with that? Just who you say is okay? And we can't talk about it? Hmm, you know. I don't think I like this arrangement. It already seems like you don't like me.
If Twitter didn't distinguish between phone_2fa and phone_identifier then they really shouldn't be in business.
James Mickens’ Tenure Announcement
Now you officially can't fuck off in Russia without using a VPN
BREAKING NEWS: Today, Russia's communications agency Roscomnadzor, has blocked the famous satirical site belonging to Russian writer Leo Kaganov (natribu.org, you can try natribu.org/en for English language) on the grounds of spreading obscenities.

This site is basically a tribute to the expression 'Fuck off' ('нахуй' in Russian) and has been a staple of 1990's Runet, a very common destination for those in need of such an extravagant journey.

So, apparently you can't fuck off in Russia without using a VPN now.
WeWork Plans to Shed One-Third of Technology Employees
SteamDB also recently added this too, but it also doesn't require JavaScript, as it's based in the cookie. The toggle does use JavaScript if you do have it enabled
>biggest tech companies in the industry do it anyway.

because it provides identity.
Neighborly Tells Employees It Can’t Make Payroll
Im confused by the numbers cited. Gas only weighs 6 lbs per gallon. Assume a car gets 20 miles per gallon. How does a car produce 20 lbs of CO2 per mile?
Does backblaze co. have access to the contents of your backups or is it client side encrypted?
Many operating systems do somewhat under the hood, but UID/GUIDs instead of IPv6 addresses. You could just as easily use IPv6 addresses for the same thing, but you may introduce privacy leaks or have locally scoped resources leak onto an external IPv6 network.

Simply addressing things via IPv6 instead of UIDs is easy. The question I'd have is "then what?" Since presumably doing this has a specific purpose, and it isn't self evidence what that purpose is (e.g. Are you using IP coms for local IPC? Are you using it for diagnostics? Is this meant to solve interoperability? Etc).

It is neither a "bad" nor "good" idea. It is a neutral idea that could be used either way.
The Slave of Seriousness
I think it has to do with the wording of the law passed by the voters. Someone else linked the exact verbiage, but it basically hinges on the wording around having "completed" their sentence. If part of that sentence was repaying money, then until they've paid it they haven't really completed their sentence.

That doesn't cover why the state can't keep track and report out who needs to pay what, of course.
They likely mean since the list of blacklisted startups heavily (?) features surveillance companies, this whole situation is no big loss to anyone (presumbaly, the regular westerners as well as Chinese citizenry) as surveillance = absence of privacy = Orwellian = no bueno.
The Chinese people and Chinese government are different things. Why arbitrarily punish all of the citizens and organisations of one country?

Additionally this would punish anyone visiting China including humanitarian organisations and diplomats.
The site for the commons clause itself states that it's _not_ open source: https://commonsclause.com/
This kinda sucks, but what else are they supposed to do? It's already been established that any wildfires caused by their equipment will be their fault; cutting off power in case of potential wildfires would seem to be the only logical way to respond to that reality.
So did Lawrence Lessig in his ill-fated campaign in 2016.

https://en.wikipedia.org/wiki/Lawrence_Lessig_2016_president...
Once again, Parker and Stone are breaking the mould. Power to them.
This is where an $11 Billion wildfire settlement leads. If PG&E are being held financially responsible for the actions of their transmission and distribution lines in high wind events then I would expect them to fight for the right to not transmit and distribute power in those events. What's bad for consumers is even though you may not live in a high wind area the transmission lines ultimately serving you may be in one and subsequently shut off. On a more positive note, if these actions prevent wildfires that destroy property and claim lives then isn't it worth it?
Hopefully the FTC sees this comment and fines Twitter a couple billion for privacy violations.
It’s consistent with all of the bullshit that southern white people in power have used to suppress black voting since the end of reconstruction.
GDPR is supposed to allow retention of certain data for security purposes.