skysight-inc/HackerNews huggingface dataset:
And something I had to learn the hard way and then teach quite a few people is that hard deletes don’t just turn your tables into Swiss cheese, they also can cause table scans.

When you delete a row, every inbound foreign key constraint has to be checked to look for any rows that refer to the deleted row, and most likely you didn’t set up an index for the foreign key, so now you have a table scan. Possibly several.

It’s not that much more work these days to set up a partial index on the table instead and add another WHERE clause, you have smaller problems with people accidentally deleting the wrong thing, and you’ve started down the path to audit trails.
Cite the data, cite the source of this outrageous assertion.
A mousetrap is still a mousetrap, though. They didn't copy the Air Pods, you should be able to see the differences for yourself if you just look at the product pages. Can you honestly not?
jfc i do not want to live in a world where people are constantly staring at their phone with their ears plugged.
One thing that D does better and that on C++ depends pretty much on the team and which compiler toolchain you use, bounds checking for strings and arrays.

You can get them in C++, and VC++ does it by default on debug code, but not all compilers do by default and it isn't required by the standard unless you explicitly make use of the at() variants.

On the other hand, every attempt to bring bounds checking to C has failed, lets see how far Microsoft goes with Checked C.
The Amazon Seller forums are a great educational tool, and also a window into the frustrations that many 3PS are experiencing on the platform and off (such as issues that relate to UPS and USPS).

There are lots of automated freezes on accounts, some legitimate (selling products from protected brands without permission) but lots of shutdowns for no clear reason and it's impossible to get an explanation from a human.
Scenario:

I'm living in a household with three roommates, unrelated to me. Maybe they're not granted the right to vote.

The mail-in ballot arrives and is completed by one other than myself, without my knowledge.

How do you prevent this?

Signing the envelope that you return the ballot in would further de-anonymize the vote.

I'm asking not out of snarkiness but because I don't know.
Lately (since the start of the COVID crisis), I find Amazon has become much worse. 2-week deliveries instead of 2-3 days, prices that are way too high, a lot of items out of stock, etc. For instance, I was looking at a cordless drill, and it was twice the price of Home Depot.

Maybe Amazon will just fall on its own at some point.
Hi there, I've been hooked on both and quit both.

Through all my years of university I drank at least one cup of coffee every single day until the last year. And that last year I picked up vaping, ramping up to 50mg nicotine cartridges vaping in the morning and evening every day.

To summarize, I've quit coffee since August 2019 (not a single cup) and vaping since two months ago.

Surprisingly, both were not a huge issue to quit physiologically. Lack of caffeine resulted in a hazy brain feeling for the first week or so. No perceived physiological effects from nicotine withdrawal.

The real challenge is habits you form from these addictions. I still drink some kind of hot liquid in the mornings.
For vaping, I first threw out all my high nicotine liquids and continued to vape with something like a 5mg until it ran out. Due to the COVID lock-down, going out to purchase juice luckily takes effort.
It's still an on-going mental battle of recognizing when I'm feeling a nicotine craving and dealing with that feeling (ex. re-affirming why I quit, not getting angry with myself for craving but just moving on).

For anyone reading this: I definitely recommend quitting anything you are doing that you feel you are addicted to (that you can live without, or is harming you).
For me personally, the entire experience was kind of like starting a homework assignment/project. Just starting it feels dreadful but somehow when you finally take the plunge it's not too bad.
Not the case for everyone, but it might motivate you to go for it!

Cheers

PS. AMA
Not enough people make it into their 80s to have a large vulnerable population. Mystery solved.
Don't forget there are also tens of millions of felons who are not eligible to vote as well.
It could have been passed through reconciliation IIRC. They didn't, in a bid to insulate the final bill against GOP objections to the legislation as a whole.

We all know how that turned out.
Drinking coffee appears to cause epigenetic changes to your DNA
I think I am missing something here, because I don't quite get how the wind does continual work on the device to generate power. I mean, at the start the device goes downwind unreeling a tether, so it is pulling on the tether and doing work, so far so good. Then it reaches the maximum extent and... starts more or less staying where it is, staying aloft? Okay. But it's not systematically moving, so no longer doing work. What am I missing?
I have had XXX,XXX funds locked and a business wrecked in this exact same way but I'm explaining why it happens. If they didn't do this, they would be exploited. The real issue here is that, because they're a monopoly, the customer service sucks, and they don't care at all to let you prove you aren't running a scam. To the sibling commenter: No, what Amazon is doing is not a legal requirement. Yes, they act like PayPal now.
Want to Loose Weight?
I use a terminal multiplexer (happens to be screen, but could as easily be tmux) to manage local contexts. A fresh terminal in the same context is then just three keys away. The contexts drive a number of things, but most importantly I set BASH_HISTFILE so each has its own history. I love it, but of course ymmv.
If you accept that

1/∞ = 0

Then you accept that

∞ * 0 = 1

But the definition of 0 is exactly that anything multiplied by it must be 0. So this cannot be true.

To take a more verbal route: you cannot take nothingness and repeat it. Repeating (or multiplying) nothingness (or 0) is fundamentally nonsense.

Programmer explanation: one cannot loop through `null` even once, let alone a large number.
Covid-19 APIs
Where do you live? Are you registered to vote, and have you actually voted in local, state and fed elections? Serious question.
I've tried them, it's definitely an issue still. If I place them at the edge of my ear they just fall out. Tried the different sizes too. I never used in-ear prior in my life, so I assume I'm just not used to it.
Horny lemurs use body odor as a pick-up line
Today there is a nice GIS plugin for blender which makes life much easier:

https://github.com/domlysz/BlenderGIS/blob/master/README.md
You are the only one making such a racist claim. Don't put words into other people's mouths, when it's actually just the first thing that popped into YOUR head, and you apparently don't know the true history of racism and voter suppression and Jim Crow laws and poll taxes and the Southern Strategy and dog whistle politics in America. It's pretty racist to deny that history, and pretty ignorant not to know it.

It's pretty racist that Republicans pass laws and close DMVs in areas that make it harder for certain groups to get a driver's license.

It's also pretty racist of Republicans that they desperately don't want blacks to vote and do everything they can to prevent it, any way they can. That kind of Republican racism is why blacks are predominantly Democratic. Not because blacks foolishly let themselves get "tricked" into voting for Democrats, as the racist right-wing narrative goes.

And it's pretty racist for Republicans to try to explain away the reason that most blacks vote Democrat as the result of Democrats trying to "keep them on the plantation", when blacks are perfectly capable of deciding who to vote for all by themselves, and are not "mentally enslaved" children lacking agency who can't be trusted to decide for themselves who has their best interests in mind (and run for office themselves), otherwise they'd be tricked by those sneaky Democrats who want them to vote.

https://www.washingtonpost.com/outlook/2019/01/08/how-democr...

>How the ‘Democratic plantation’ became one of conservatives’ favorite slurs

>Since the 1960s, the right has explained away black Democrats by denying them agency.

>In 2017, Candace Owens, then known as the YouTuber Red Pill Black, posted a short video called “How to Escape the Democrat Plantation (an easy guide).” In it, she compared African Americans who were physically enslaved before 1865 to their present-day descendants who, she argued, are mentally enslaved by the Democratic Party. She slammed the unquestionable loyalty that black people hold toward the party, which she argued functions as a plantation, in which people of African descent do the ground level work and receive nothing (or perhaps, just enough) in return. Her efforts eventually spawned the “Blexit” movement, a portmanteau that encouraged black Americans to exit the Democratic Party. [...]

>A closer look at the phrase “Democrat plantation” and the divisions that accompany it, however, make clear much of this rhetoric is shallow and ahistorical. It distorts the current state of the relationship between Democrats and African American voters, and deprives the latter of agency, in part because of a failure to adequately understand the historical comparison that this rhetoric purports to make.
Yeah I always wonder why devs for such popular programs don't pause dev for a while and generate such utilities. Clearly they have the skills to do it if they can write tmux.
> What am I looking at there? Are those all traits on Vec that I then have to parse mentally so I can understand what I can do with it? Are all those pages basically to say "Vec works like an array of T"?

No. The type which tells you that Vec works like a slice of T is https://doc.rust-lang.org/std/vec/struct.Vec.html#impl-Deref

The others are separate abstract operations which are available (implemented) on vecs e.g. AsRef/AsMut denote that you can trivially get a (mutable) reference to the parameter from a vec. The implementations are similarly trivial (https://doc.rust-lang.org/src/alloc/vec.rs.html#2348-2374).

> I'm sure some people find this documentation helpful, but it doesn't look as useful to me as map's simple one-liner.

Do you mean this one?

auto auto map(Range) (Range r)
I agree. These are consulting platitudes and can be ignored. The real reasons Amazon is successful:

* They ship super fast

* They sell almost everything at reasonable prices

* They have more user-provided content (reviews, photos) than anyone
He joined the navy at 18, in 1991 - immediately after getting off the street and out of the gang.

Did you expect his transformation to be instantaneous?
Bringing Gnu Emacs to native code
By the people under 18. It's worked for 2 decades now-- issue massive debt and let our children figure out how to pay it.
See also: reducing congressional staff budgets, and congressional term limits, both of which, whatever their merits, tend to empower lobbyists.
How to set user-agent header with puppeteer JavaScript and not fail
Still worth upvoting to spread awareness. The more people are aware of horror stories of interacting with digital monopolies, the better. Even if they solved this particular case, in may cases they just shut you away.
The federal budget was $4.11 trillion in 2018. Quick Googling doesn't give me a number for population over 18, but I'm going to guess >= 200 million (>= 300 million total in the US).

So that's 200M people * (12 months / year) * 1000 / person = 2.4 trillion.

Most of the budget is defense, social security, medicare and interest on the debt (https://en.wikipedia.org/wiki/United_States_federal_budget#/...).

Yang's plan would've required major tax increases, and/or cuts to core programs. This isn't me editorializing, just stating what would be required.
No.

I live in a vote-by-mail state. You can only cast a ballot after you have registered. It is validated against your own registration. So at the time of voting, there is a hard limit on how much fraud is possible.

To have an undocumented immigrant casting a vote, they'd have to register to vote and not get caught. Except the state absolutely does check the voter registration rolls to ensure only qualified citizens are on them.

It is unnecessary to require ID every time you approach the ballot box. Invalid registrations are caught well before then.
What? Signatures are and remain the best way to verify a ballot. It seems you are stuck in digital, the real world is analog, always will be.
> When those problems manifest, we should deal with them

I think this is one of the key problems with a hyper-conservative government.

If your default position is "don't change it" on every issue, then you have a very difficult time solving problems.

More liberal governments that frequently change the rules are like startups vs very large corporations. They are more agile and better able to quickly deal with problems as they arise. They are "responsive" in a way conservative government is not.

Look at recent statewide rent control measures in California. There was a lot of hand-wringing about what it could mean in this scenario or that scenario, but in the end the response is

> When those problems manifest, we should deal with them

Which I think is the sentiment of a people who really feel like they have a handle on their government and that it responds to their will.
Hats Off Mumos (Teaser 2)
Here are a few, from three days ago:

https://news.ycombinator.com/item?id=22978814
Secondary market reselling as an "absolutely massive [problem]" with universal healthcare?

Do you have any credible sources on that?
How are they reacting that way for an established seller, yet they are apparently incapable of getting rid of the "don't buy via amazon, contact me at my email address first, I will reject all orders via amazon" scammers that put fake offers at half market price in? That sounds more like an intern clicking on a few things. If their scam-hunting-systems (which I'd reason are an important part) are fully automatic and that bad, it's a miracle how AWS works.
US consumer debt is exceptionally high [1]. This was true long before the pandemic. There is plenty of demand for money on the books and the underclass has a long way to catch up even after that.

1. https://www.thebalance.com/consumer-debt-statistics-causes-a...
I don't agree that there aren't multiple premium brands within the phone, computer, and media player spaces, but humoring you, I would say that platform lock-in is a factor. If I sell my Ferrari to buy a Lambo, I don't have to find new gas stations and roads to use.
Businesses hate competition.
Management is being vague on purpose, due to HIPAA.
Sure, communication by itself is not unhealthy. The question is should it be done right after waking up. The brain has no time to gather thoughts, plan the day, etc. It's anything but a graceful boot up. By reaching for the phone first thing in the morning you're telling your brain "you're nothing but a social media content processor." Not only that, but with news being mostly negative (a major reason of why people reach for their phones first thing in the morning), it's not a good recipe for mental health.
Early on (around 2006) xkcd.com was hosted on our former family computer which my brother left running in his bedroom while he was away at college. One day I was playing Counter-Strike when suddenly my connection got interrupted and wouldn't come back. The cause was https://xkcd.com/10/ being linked to on either Boing Boing or Slashdot (I can't remember the exact details). If I'm remembering this right, the computer it was running on was an old HP desktop, probably purchased around 1998-2000.
Just one person, but I didn't find this "very misleading". On first read of the title I assumed it was allowing senators to vote on senate votes remotely. Neither the current title nor your proposed title is the original I currently see on the article and I could imagine the title being improved, but I think it's unfair to characterize it as "very misleading".
That would not guarantee you receive a product procured and vetted by Newegg because Newegg commingles per my reading of section 4.1:

https://www.newegg.com/promotions/marketplace/sbn/doc/Agreem...

>We will not be required to physically mark or segregate Units from other inventory units (e.g., products with the same standard identification number) owned by us, our affiliates or third parties in the applicable fulfillment center(s).
Are healthcare outcomes worse in the US than other first world countries? Life expectancy is endogenous to variables like diet and exercise. Looking at cancer survival rates, the US is best at some and mediocre at others but other countries are not "objectively better"[0].

Is health expenditure in the US higher than in other countries? Yes, but that is because the US is rich, really rich. If we plot US Real Household Income against healthcare consumption, the US is perfectly inline with global trends[1].

[0] https://www.cdc.gov/cancer/dcpc/research/articles/concord-2....

[1] https://randomcriticalanalysis.com/2018/11/19/why-everything...
Isn't that the approach that Venezuela took? To me, any proposal to fund UBI by printing money has to explain why Venezuela failed, and how the new proposal is different in a way that matters.
Even if you took all the money from all the billionaires, and we're assuming frictionless transaction and 100% liquidity, you can't afford it for more than a couple years. The money just runs out.
Go try taking a FM transmitter and attempt to disrupt a local FM station. Guess what you can’t because they are transmitting 100x of your power.
> This is the dark side of monopolies.

Tech monopolies are particularly good at it, online support tickets and "community" forums are fantastic decoys for real support.
The culture of hackernews is being poisoned by the culture of reddit during this pandemic.
Necessity is the mother of invention. But I think you'll find that when you start writing something like that, you'll eventually learn enough about the config format that you'll no longer need a wizard to create the config for you. Then, it becomes hard to work on the wizard, because the necessity aspect is gone.

Another question to ask is, who would pay for it? A lot of people buy services for things that they can do themselves. But "we'll manage your datacenter" saves a lot more time than "we'll manage your tmux config file", and so is an easier sell. That is why there are an infinite number of cloud providers, or software for being your own cloud provider, relative to tmux config generators.

My point is... there is very little incentive to write such a thing. You won't make any money, and you won't use it yourself. Writing any software takes a long time, so you need some goal at the end. Payment and personal interest both generate a lot of motivation, but "some person I've never met saving a few minutes for free" rarely does. Thus, such a thing does not exist.
Toiletpaperfullerenes and Charmin Nanotubes
What are you saying is the vulnerability introduced by mail-in voting, a method that has been working successfully in Oregon for years?

It may be relatively easy to commit a single act of mail voting fraud, but if it's not scalable, it doesn't really matter.

You mention election reporting servers being hacked, but that has nothing to do with mail-in vs. in-person voting.

Sounds like FUD to me.
Wait, this merchant sells $1MM/month and his business has no LOC (line of credit)? No lawyers? Something's not right here.
Is it that prominent? You can't even see it in many of the images since it's always the same color as its background.
Sure, some teams might have their codebase in a really poor condition. Would be hard not to, given the size of the company.

But the core engineering stuff is high quality there. The build system that the whole company uses seems extremely well made. And I doubt that such a core thing can be done so well by a company with an overall poor engineering culture.

And the inverse seems to ring true as well. Even in large companies with overall poor engineering culture, you can find a few small pockets of teams that produce great small stuff. But they are fighting against the overall inefficiency of the company, while with Amazon, the opposite is happening, as poorly performing teams are being boosted by the core things (such as build systems) being done really well.
Some would be wrong.
Thanks to a commenter who pointed out that my sum above should be

sum(n=1 ... N)(9*10^-n).

I can't, uh ... fully endorse that comment, which is not entirely accurate and doesn't answer my question. But I sure did miss the '9'.
Why did is-promise happen and what can we learn from it
Cheap or free money tends to get captured by for-profit service providers, who raise their prices accordingly. Example: The upward spiral of for-profit college tuition cost is widely thought to have been driven in large part by the availability of federally-guaranteed student loans and Pell grants. [0]

[0] https://www.npr.org/2018/12/13/672952507/does-more-federal-a...
nearly all of them have already taken place.
It has not. Oregon has had vote by mail exclusively for over twenty years and, in the 2016, with over two million votes cast, 54 problematic votes (according to an audit done by the then-republican secretary of state.)
Not just Reddit. The other day I googled a fish my brother was interested in for his aquarium. There was a YT vid composed of a text-to-speech of a popular aquarium site's page on the fish, along with scrolling images from a Google image search on the fish variety.

It's been going on for a few years, but seems to have gotten worse lately.
I used to be a regular on D forums. :)

Yes, betterC does not use the GC, but I was speaking about the whole language, and many anti-GC folks eventually discover that they can stick to regular D and still deliver what they were trying to do.

You can imagine an OS written in D, where BetterC mode gets used in the layers that for whatever reason cannot afford a GC, while all the remaning layers can happily take advantage of it.
There are many companies that give out Software for free with their hardware. We sold sensor chips with sw solution included. The SW was free and our team has negative margins but was essential to present a competitive product vs the low cost leader. We were hardly a monopoly.
Fine structure constant may vary with space, constant in time
In almost all instances, the readership of this site would count under "the rich" for the purposes of government programs.
I don't know anymore than what was on their site, but my reading of it was that it works by moving the airframe (plane? glider?) around in the wind-stream. The tether would then be continuously moving back and forth (or in and out). I think this the meaning behind the figure-eight pattern they show.

If it's anything like some ocean wave generators, it might be able to generate power when moving in either direction, but I'm not sure about that.
Maybe I watch too much Simpsons, but if I were writing features and benefits, I'd put:
"Makes you look like a robot"
Name one thing on the cloud that isn't more expensive compared to owning the hardware and having the expertise to do it yourself?