skysight-inc/HackerNews huggingface dataset:
I agree it does not look like a conspiracy, just poor infrastructure. That said, this is a general election with consequential down ballot races that are very much in play, even if the presidency is not.
How to fix a MacBook Air charging circuit after a water damage
Several vendors have objected to that when it's been brought up because it breaks encapsulation.

You can write such a utility in JavaScript in just a few lines though.
Re: systems are almost never explicitly designed with an exit plan in place.

How do you plan for the future when nobody can accurately predict the future? I remember where it was claimed that OOP UI api's could "last forever" because they were an abstract interface rather than implementation. However, they couldn't handle the stateless-ness of the web because OOP is inherently stateful. It's almost like having a printer API that assumes a color printer, and suddenly it's being asked to translate into black and white. You'll lose output meaning without reworking everything. Abstraction usually has to make assumptions, and these assumptions may turn out wrong down the road.

Re: no one wants to budget for those activities

True. That's one thing an org can and should plan for: money to pay for upgrading. In other words, you cannot predict future technology, but you can safely predict that adjusting to the future requires resources the vast majority of the time.
Those links cite primary sources which are actual orders - firnamas - issued by Mughal rulers for demolishing temples, slaughtering priests etc. This is Aurangzeb's order burying hundreds of idols below the Jama Majsid [1]. These edicts preserved in museums throughout India. History is done, through primary sources not quoting your favorite secondary sources or top level wikipedia articles.

As a Buddhist, whose traditions were destroyed, this level of Holocaust denial is mind-numbing. I didn't understand the reason behind the refusal to acknowledge the Holocaust visited by the Turkmen Islamic invaders (not Persian!!) upon the Indic traditions. Millennia old traditions wiped out, monasteries burnt and traces of whole civilizations erased. But I now realize there is something primal in Human nature which wants to bury Holocausts like the ones inflicted upon the Jews in Europe, the Armenian genocide, the Congo Holocaust. It allows us to pretend human nature is benign and nurturing. Your denial of the Mughal/Turkmen atrocities is just another facet of that human nature.

[1] https://twitter.com/VertigoWarrior/status/131521139031175577...
So I've commented more directly elsewhere, but I just want to point out that either A. You are correct, that distributed consensus is really simple and that you have stumbled upon an obvious truth that obviates decades of research by some of the brightest minds in this space, or B. You are incorrect, don't appreciate the complexity of the problem, that because you're blind to the the sharp edges believe they don't exist, and so look rather silly to anyone who -does- have knowledge in this space.
That's true, although as someone commented in the github thread, SVG diagrams are very much XML, with a namespace and everything.
Conversely, what is the point of a standard that just documents what 2 out of 3 multi-billion companies want to do anyway?
Well worth my donation https://kde.org/donations

A very happy user of KDE. Other DEs on Linux and other OSes seem so limiting compared to KDE.

Good job, fellas.
I was following along but after the first few code snippets it it says:

> You can see how nicely the div elements position itself horizontally. But if you notice, it doesn’t entirely take up all the space within the container. There’s a gap at the end.

There's no example outputs or screen shots or preview panes or anything so no, I don't "see".

I guess I'm supposed to be copying this code by hand into a CodePen or a sample HTML page but that wasn't made clear at the beginning. I started reading expecting an article explaining something but it turns out that it's a half-tutorial.

Luckily, people have posted a bunch of great links in these comment so I'm going to go and read those instead.
This assumes that facebook creates the problems that exist on their platform.

All of Facebook's problems exist independent of Facebook. Facebook's existence guarantees that those problems will become a part of them.

I'm not saying they shouldn't be held responsible for not doing their due diligence, but the argument that they ought to be charged for "offloading" problems on the "real world" isn't great. That's like saying car manufacturers need to be charged for offloading automotive deaths on society.
Ask HN: Why IP address can't be faked like MAC address?
I'm still unable to figure out why IP whitelisting works so well... How it's possible to have an unique ID(IP) without encryption?
The prepared are not the only people whose opinions are relevant to an election.
You could already do this by trawling the DOM and constructing whatever data structures you desire, and updating them by watching for modifications to the DOM with a MutationObserver. But performance would be somewhere between poor and execrable, and memory usage would skyrocket. Note also that this is doing batch updating, so you’ll be querying a potentially out-of-date DOM this way. I state confidently that there will never be a good way of doing this, because it fundamentally requires putting something that is unavoidably slow and memory-heavy onto the critical path (especially if you want it to operate synchronously rather than in asynchronous batch mode). No efficient implementation will ever be possible, given the design of the web.
Ask HN: How do you learn a new programming language?
I'm currently trying to teach programming to some people by doing live streams for the public where one can ask questions and give code reviews and general mentoring (See https://opensourc.es/blog/side-mentoring/)

Would like to know how you learn a new language and what would be beneficial for you if you would have a mentor.
I used to like that my tech was "smarter".

Last night my son took my earphones from the table to play with them, and I spent an inordinate amount of time looking for them (they ended up in the terrace!).

But this morning I got several ads on youtube for headphones.

I don't like this one bit.
AFAIK the common issue is software written or configured to read the header but deployed without a reverse proxy. If the load balancer is configured to set it, are there still security issues?
One of the two major parties has economic policies that are so wildly unpopular (see e.g. https://www.vox.com/21502189/preexisting-conditions-trump-re... ) that they've resigned themselves to using gerrymandering, bigotry, voter suppression and inherent weaknesses in the US democratic system (votes in rural areas count more when electing presidents and senators) to rule using votes from an angry minority instead of a majority. It doesn't seem sustainable.
To be fair, if I recall it's only in the last 15-20 years that the Altaic theory seems to have gone from 'speculative' to 'not at all likely.' Those of us who studied this stuff 20 years ago could easily spout off this 'might-be fact' if we didn't bother to verify first.

I guess at this point similarities between the two languages are assumed to be a result of regional influence?
I've never claimed to be a good activist. But when it comes to matters like these, when fighting deeply entrenched systems, I think they usually only fix themselves after a massive correction and that correction usually involves a lot of pain and misery. So I settle for education and generally passive resistance. I don't think copyleft on its own is going to fix anything.

Otherwise, I just try to behave in a way that is consistent with my ethics, while balancing practical matters. In this case, that means opting out of monopoly copyright interest as much as I can.

And can I just say, I really wish it were possible to have discussions about why ought to be without getting dragged into a tangent about how to get there. Like, we've gone from my taking issue with equating laws and ethics all the way to a critique of my weak activism in pursuit of demolishing the IP regime.
but some time after WWII (I don't remember the exact dates) Japan and Mainland China adopted a simplified form.

I lived in Taiwan when I was younger and studied Mandarin there, and can read a limited vocabulary of traditional Chinese characters. I don't know enough about the history of simplified characters in Japan, but it doesn't seem to me that they are as widely used (with a few exceptions like 国) as traditional forms. Maybe someone knows the history?

Also, regarding this statement:

臺 (Korea/Taiwan) 台 (Japan/China)

In Taiwan, the latter form of tai (台) is used 99% of the time in colloquial, news, and signage. The complex form (臺) AFAIK is used almost exclusively in certain government situations (e.g. the name of a central government bureau) or on money. Street signs for famous buildings all use 台, i.e. 台北101, 台北松山機場, etc.
Not the same thing. When I fall asleep and wake up, I don't wake up a new copy of myself.
Good read, but it still doesn't address the issue of what happens when there are two of you - the copy and the original from the same pattern. Does consciousness split at the moment the patterns diverge? Is it shared?

The analogy to sleep really doesn't connect at all, at least not for me. Consciousness isn't fully interrupted by sleep. Your brain is still working and processing, even when you're not dreaming. Your physical self is continuous, it's not the same as it being disassembled and reassembled immediately out of different material.

And sure, even if the substance of your is being changed over, it happens as a gradual refactoring, not an instance decomposition and recomposition miles from the original point. The electrical patterns that make up your brain are never interrupted - not by sleep nor the gradual replacement of your body. They would be by (star trek style) teleportation. They would be ended and a (presumably) identical pattern started up at a different location.

Can you tell I've spent a lot of time thinking about this?
The US is not a beacon of democracy at this point, it's a beacon of minority rule. Between the electoral college and each state (no matter how many people live in that state) having 2 senators it's an archaic system that's way overdue for an update. However, the system is built in such a way as to make updates very, very difficult so, unfortunately, don't expect any significant changes anytime soon.

In the meantime, one party has managed to exploit the weaknesses of our system to override the will of the majority on many issues (healthcare, climate change, racial justice, gun control... etc.)
Asia's biggest adult entertainment site gets into yield farming
The problem with your thesis is "foreign" is a throwaway word that doesn't serve any non-inflammatory purpose. It is just as relevant that investors from Texas or Delaware are buying real estate, or, for that matter, SF landlords who live in Orinda.
"Wildly unpopular" ~= 49% of the voters approve [edit for clarity: of the party].

There's truly deeper systemic issues in the United States than the Republican's economic policies.
World War One Inspired Lord of the Rings
100% agree with this post, which I tried to get at saying that Korean and Japanese are distinct. Apologies for not making that clear. Your post is great to clarify this all more specifically.

The cultural side of things definitely requires a lot of time. And that’s fun.

What also takes time is learned how ideas are shared. Not just grammar, but which version of the multiple correct grammar options that is more common. How are paragraphs constructed? What is usually shared first in an idea or argument versus the end?

You can have someone with completely correct grammar and pronunciation that sounds odd to a native speak because the cultural / idea organization is not “native”.
Are there sites that have done this at scale? Reddit and Wikipedia come to mind as counter examples, where the people with the most time and desire for power end up doing almost all the moderation.
No that is not at all how it usually works. The essence of the scientific method is formulating a hypothesis and then conducting experiments in an attempt to falsify it. The more experiments that have failed to falsify a hypothesis, the more confidence we can have in it.

https://en.wikipedia.org/wiki/Falsifiability

As a basic matter of epistemology we can almost never really prove a hypothesis. All we can do is agree that it fits the available data until something better comes along.
Just one hardest part? Could be naming things and off by one errors.
Obligatory "not a quantum physicist," but the only way to observe something is to throw something at it (e.g. a photon) and see what bounces back. The problem is that when you throw something at it, you're interacting with and affecting the ball.
Loved, still do, this program growing up.
Your figures are hilariously off, there. If you look at Republican social policies, they're even more off.
All of my leases had buy-out provisions, usually one or two months of rent. I've never lived in SF, but I'm going to guess that tenant-friendly laws in California combined with historically good price growth provided landlords with an incentive to make it easy for tenants to break leases.

I know more than a few people from SF who were paid to break their leases. More churn means more "market adjustments" for rent prices, and market adjustment historically favored landlords.
Quantum Physics or a Grand Unified Theory of everything will not be explained for a long time, if ever. This is why i favor the Heisenberg Uncertainty Principle. These things will always be "our best guess", but always uncertain
This comment is going to be upvoted because it's America-in-its-current-form bashing and there's obviously truth to what you're saying the problems are. The dirty little secret is this IS American democracy at work. It has ALWAYS been rife with voter suppression tacts, and disenfranchisement at scale. The Internet and the current political chaos allows the world to see it all in its ugly glory, but there are many people alive who lived in a country with LAWS that prevented minorities from voting. If we were once the beacon of democracy, by those standards, we still are. It's just a pretty low bar.
I'll hold up the twin cities as a more affordable place with lots of people. In summer, it's very bike friendly. There's a bunch of lakes throughout Minneapolis and St. Paul. Mill City Museum is one of the best I've ever been too, and there's a ton of theatre all around.

Sure, winter gets cold, but it's easier to handle on the cities where downtowns have pedestrian subways, and the city clears the snow. Plus there are events like Luminary Loppet.

Sure, the summer is humid, but lots of folks have basements. And offices have AC. And the lakes are still cold once you get more than two feet down.

The only things it really needs are mountains and ocean nearby. Even then, it's got some excellent areas nearby
I think most people vastly overestimate the novelty of what they're working on. Most people writing software at Google actually aren't doing more than gluing APIs together on a day to day basis. In that sense it's much more important for them to have a solid understanding of reliable infrastructure and system design than algorithms and data structures. Indeed, this shows in the way they interview for people who aren't new grads.
HN has done some variant of this for a long time now with subdomains, but often you had to send an email to request sites with personal subdomains to be added to the list if they weren't already. It's because your rando personal blog is _not_ medium. It's just _on_ medium. Your rando personal github repository is _not_ github. It's just _on_ github.
It depends. Copying my response from farther down in the thread:

>In C, you're supposed to listen for a "destroy" event on the output and then in the handler you would delete all your references to the object.

If this wasn't satisfactory for whatever reason, then you could implement it as a weak pointer and check for null every time, but you wouldn't have to.
It's due to a fiber cut.
apt does try to keep track of unneeded packages/dependencies though - and will suggest you remove them with apt autoremove. This should always be safe... Unless a package is missing dependency information (has a packaging bug).
Might I suggest the wild and crazy idea that for us “prepared” citizens, who have the means and wherewithal to register instead of chiding those who do not, we look to address the situations where possible to maximize the ability for that class of voter, as is the good and prudent thing to do in a democratic society, Citizen Kepler?
I searched for the "famous paper" in question and could not find it - can you point us to a link?
So far I find two of Dijkstra's talks/writing on anthropomorphism

[1] https://www.cs.utexas.edu/users/EWD/transcriptions/EWD05xx/E...

[2] https://www.cs.utexas.edu/users/EWD/transcriptions/EWD09xx/E...
Has Google announced any plans for third generation Cloud SQL?
The second generation seemed to follow at about 5 years from the first, and it's been > 5 years since the second generation's hit GA
And while not directly HVAC, a comment elsewhere in the thread made me think of another point as far as indoor air quality - consider a central vacuum system. The noisy power unit with the blower can be in a garage or basement (instead of at your feet!), the hose and power head are light. If you don't have carpet and only hardwood/tile/solid surfaces then you can get a hose without electrical for the power head, and a brush wand head - extremely light! My hallways, kitchen and a few high traffic rooms are all solid surfaces and it takes me five minutes to get the hose out, plug it in, vacuum the floor and then put the hose back. Faster than sweeping or mopping and I have a flexible hose that expands/contracts as needed. Very convenient.

And best of all (especially since I have allergies) it exhausts all the vacuumed air outside.

Central vacuums are far more powerful than any hand operated vacuum you can get - and like a said a heck of a lot quieter too.
The school my son went to in Edinburgh has a large war memorial in the middle of the playground in front of their imposing main building - 70 names on it from WW1 and WW2.
Chrome is not "a different browser", it's the dominant browser. Google worked hard to achieve this state of things, and they now have a clear responsibility in terms of steering web standards. With great market share comes great responsibility.
Kim Stanley Robinson on inventing plausible utopias
People learn to hit a target by changing the structure of their brain to fit the task. Computers become better at hitting a target by changing a data structure. That seems directly analogous to me. Critically, learning doesn’t imply the ability to perfectly execute the task.
What you are describing is a hidden variable theory - i.e. there is some concrete state of the particles, but it is hidden.

John Bell demonstrated that in order for a hidden variable theory to make predictions in agreement with quantum mechanics, it must have nonlocal interactions, which means any workable hidden variable theory must also be pretty spooky.

https://en.wikipedia.org/wiki/Bell's_theorem
Throwing Wrenches at Autonomous Vehicles: an 80-20 rule test for viability
> The rest of the world used to see the US as a beacon of democracy.

lol wut. The US has always been a flawed democracy [0].

0.https://en.m.wikipedia.org/wiki/Democracy_Index
Disclosure: I work at Amazon where I build infrastructure servies for AWS

Since Amazon is frequently lumped in with Google et al., I think there is common belief that they are roughly the same. Amazon has an Outside Activity policy that covers some employees (certainly all tech employees). For the vast majority of outside work activity that triggers the policy, you simply fill out a notification form that logs an affirmation that the activity does not trigger further review.

The license of open-source software that you want to contribute to on your own time is not part of the policy that would trigger further review. In other words, so long as developing that software is permitted by the outside activity policy, you are free to develop and make software available under AGPL on your own time while being an Amazon employee.
It ensures that they do it the same way
> it's borderline useless for rear-view mirrors, which do not shine a light back at the cyclist.

Not sure I understand what you're getting at here. Retroreflective strips reflect light back from the source to the viewer. In the case of a rear-view mirror, the light source is the tail light of the vehicle, which will hit the retroreflective material, reflect that back towards the vehicle where it will be seen by the driver in their rear-view mirror.
Same problem here (different dialect though). Let me know if you found a solution.
Not the OP - looks like it's 21.7%[0], so close but you're right that it's lower than 30%.

https://www.seattletimes.com/seattle-news/data/more-than-1-i...
Disney wasn't the first to do that. A number of new movies have come out at that price point for a very short window this year before becoming available for purchase or rental. I don't think it's accurate to compare these movies to rentals in the $2-5 range. This scheme is clearly designed to replace some of the revenue from a theater run before it goes straight to rental. If you're looking at it that way, it's not such a bad deal for the consumer. We did the Mulan thing and it was half what it would have cost to take the family to the theater. It was a fun evening at our house and we would do it again as an alternative to going to theaters during covid. The only ones getting screwed by this setup are the theaters.
This is all very exaggerated due to the fact that access to voting has become a political issue.

Voting in the US is incredibly efficient and easy for the majority of people. In this case we are talking about registration not actually voting. You only need to register once when you move to a new area so most people don’t even need to register.

On top of that voter registration is available year round. This is just the last day to register and still be able to vote in the upcoming election. Again you don’t need to register for every election.

Also, numerous states also allow people to register and vote the same day.

It’s not perfect but what you read online is grossly exaggerated for political gain on both sides.
The current administration of Virginia is a Democrat governor, with Democrat control of both houses of the legislature.
The Republican platform is remarkably narrow and well defined. They are the party of 'free speech,' God, guns and eliminating abortions. The rest is ancillary to their voters. When you cast your opponents as God-hating, Christmas-fighting, Gun-stealing, baby-killing potheads, people don't really care about your economic policies, they're just voting to stop the anti-Christ.

The Democratic tent on the other hand is stretched about as broad as it possibly can be, and they don't really commit to anything. If they cast themselves as too progressive they risk alienating their right flank and the 'centrist undecideds' (I mean my lord who can't make up their mind about this). If they cast themselves as too conservative, they risk alienating the Bernie bros (who IMO swung the election for Trump last time).

So, they stand as a big blob. They espouse a kind of wink-wink-nudge-nudge progressivism: no clear support socialized medicine, a refusal to answer questions about court packing, and immigration doesn't even come up. Maybe more DACA? Where we just throw the problem under a rug again, instead of actually addressing it.

I personally wish the Democrats were half as progressive as Republicans are trying to make them out to be, but they're not. Not even close. Half of what the Republicans accuse them of I'm like damn, that's solid center to center-left policy, I wish the Dems were on board with that!