skysight-inc/HackerNews huggingface dataset:
But why would you rely on the filesystem to implement Type-Ahead? The File Manager just goes through that little list of files that it has already cached because it is displaying them anyway.

And it just goes through the list linearly, starting from the currently highlighted item, stopping at the first match.

It's a miniscule operation.

--

Speaking practically, have you ever experienced any file manager that has type-ahead (like most do) and the type ahead was not blazingly fast?

> The idea I got from reading the GNOME HIG is that if users accidentally type into the window, the behavior should be consistent and predictable with what the user was really trying to do (search). Doing a strange and inconsistent matching behavior that is not available through any other means and is essentially hidden functionality is only going to cause confusion.

If you're refusing to see that they achieved just the opposite and broke a totally sane implementation that was super predictable for any user that actually cared about their workflow, you can't be helped.
I had severe migraines in high school through my early 20's, in addition to a 1 month bout of cluster headaches (you don't want those!), my triggers were MSG (yes I know people say its perfectly fine, but I experimented and was able to show it affected me, all those years of studying Chemistry...) and bright sunshine reflections. I made sure I ate food with little or no MSG, and always wore strong sunglasses outside, which helped reduce them a lot.

The connection to MSG is clearly controversial given how much the food industry loves using it to smooth out taste in prepared foods, but it seems to not affect most people, so it didn't bother me as long as I could identify its inclusion.

In the the past 30+ years they have decreased in frequency and severity; now other than the aura (20 minutes of weird vision) the headache is at most a simple Tylenol one.

Triggers can be almost anything that affects the brain in some way; given this research it's clear that what affects people with migraine potential does not affect those with different genetics. Very often genetics plays a large role in how your body reacts to stimulus and food and diseases, but also that many genetic adaptations have both good and bad sides, so perhaps migraines gave our ancestors some benefit, and we pay the price lying on the couch in the dark.
Rock beats paper:

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

If it's true they could capture carbon at a cost of $10/ton by weathering rocks it should be much more efficient than trees. It also de-acidifies the oceans.
See you picked a side there. The US has done just as bad as PRC. Different turds but still turds.
getters and setters prevent other objects from modifying internal properties in unexpected ways. Having that encapsulation and abstraction is important for maintainable code.

Also, getters and setters don't always modify individual values. Imagine a class where we have:

private val firstName
private val lastName

fun returnFullName():
return firstName + lastName
That's... exactly the point?

Dying with COVID does not mean you would be alive today if you hadn't contracted COVID.
Just go buy carbon offsets to be carbon neutral.
The US is the third most populous country in the world. Even if the pandemic were over and COVID were incredibly rare and evenly distributed throughout the world, it would be the expected outcome for the USA to be #3 in the world for new cases because we are #3 in the world for total number of people.

>Would it be better to point out that just under a 1000 people a day are still dying from it in the US?

No, any sort of absolute count is going to be equally misleading. For example my city had 5 covid deaths yesterday. Does that mean that we're 200x safer than the rest of the US? Of course not, it just means that you're comparing two populations of different size.

>What's the better metric?

Anything that's normalized by population size. For example per capita new cases or per capita deaths.
If there had been no mitigation efforts the death toll would have skyrocketed as our healthcare systems collapsed.
First Aid Git
This is what all the fuss is about - the latest patch makes the ATT opt-in, instead of opt-out. Since iOS 14.5, ~2 weeks ago, it's now opt-in.
Right, but given all the debate about COVID, we still don't have a number and agree a 1-to-1 is ridiculous. Policy makers need a number to convert lost time to death time. What are they using? It seems one side is using infinite and the other side is using 1-to-1. As with everything, the answer probably is probably somewhere in between the extremes.
This headline is wildly click-baity and does not reflect the linked "study", however flawed, at all. The headline should be changed.

The "study" (really it's just a model) primarily investigated excess mortalities related to our response to COVID-19, NOT COVID-19 itself. The second paragraph states six drivers of all-cause mortality that were taken into consideration:

a) the total COVID-19 death rate, that is, all deaths directly related to COVID-19 infection

b) the increase in mortality due to needed health care being delayed or deferred during the pandemic

c) the increase in mortality due to increases in mental health disorders including depression, increased alcohol use, and increased opioid use

d) the reduction in mortality due to decreases in injuries because of general reductions in mobility associated with social distancing mandates

e) the reductions in mortality due to reduced transmission of other viruses, most notably influenza, respiratory syncytial virus, and measles

f) the reductions in mortality due to some chronic conditions, such as cardiovascular disease and chronic respiratory disease, that occur when frail individuals who would have died from these conditions died earlier from COVID-19 instead.

Only 2 of these 6 factors are related to the virus itself; the rest are related to our response.

If anything, this model highlights how destructive our response was.
Ok, I checked. The users who downvoted the comment are well-established users with no obvious concentration on the topics you're posting about, and I didn't see any of the signs of suspicious behavior that we normally look for. Actually I recognize some of the usernames as good HN contributors, who are interested in and participating on a variety of topics. You might recognize some of them too.

I also downvoted the comment, by the way, so I can explain at least one of the downvotes. It wasn't because I disagree with you. It was because ideological battle is against the HN guidelines: https://news.ycombinator.com/newsguidelines.html.

When your blood is boiling, that's not a good state in which to post to HN. Better to wait for it to cool and then post in the key of curiosity. That's what HN is supposed to be for. I mean, I know you know this. But it's not so easy in practice, especially when you feel like you're under attack and your side is losing [1].

It's in your interest, though. Boiling-blood comments are like a Maxwell's demon who not only has energy to separate molecules into disjoint compartments, but enough left over to keep them buzzing angrily. You'll get upvotes and praise from people who already agree with you, and downvotes and anger from people who already disagree. But what you should be doing instead, if you want to help your own view, is trying to persuade the persuadable. That requires an entirely different, molecule-enticing strategy. A Maxwell's angel perhaps?

---

[1] I don't know how many of us would have guessed it, but one thing has become apparent from trying to keep HN interesting: functioning curiously requires developing one's ability to experience difficult feelings and somehow carry them and not let them drive you into reaction—which is a pretty deep human task. It turns out that simply trying to optimize HN for one thing—curiosity—has counterintuitive consequences, some of which ask a lot of us.

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...

I wrote about some of those consequences here, if anyone is interested in reading further: https://news.ycombinator.com/item?id=23308098.
There is some irony in invoking ad hominem arguments while claiming my critique is a distraction. I'm simply acting as an arbiter of which intellectual sausage makes the world worse, just as you are. We have different opinions about which wurst is worse. If your view of reality is that these people don't idolize a gambler masquerading as a philosopher, then I'd absolutely love to agree with you if I could.
Generally, products from online shopping come from further away.
I understand Musk’s point on parts not being available now (then? Model 3) but I’d like to see a deep dive on 48v vs 12v.
In the absence of evidence-you-know-you-need-Y: the odds are often HEAVILY skewed towards you not knowing about X, or being confused about either X or Y's purpose.

If you do tech support of any kind with random people, it's pretty clear that a majority simply don't know what's available, or why Y may not be a good idea. They need to do a thing, heard that Y can do it, and now they're asking how to use Y - reasonable, but frequently misguided. When Y is dramatically more complex (either harder to set up, or more error-prone to use), recommending X before sinking a ton of effort into explaining Y solves a lot of cases quickly, for both parties.
The USA, Canada, most the EU...

Compare those to that of India, China, ...
I don't know that for a fact.

Do you have any idea of how many emissions are caused by people driving 'across town' to buy very little? What about people who drive to the store to buy one thing? How about the air conditioning in the mall?

Warehouses are much more efficient places to store things than malls and stores.

Consumers are very bad at logistics, whereas logistics companies (like couriers) are very efficient at logistics.
It would be better if the default were to not write setters or getters for any properties by default, but instead to write a logical interface that properly encapsulates the properties. Unfortunately, that ship sailed a long time ago for Java.
completely breaks text selection for me :(
What space exactly?

Individual niches are not as interesting because you might think that the market for your calligraphy kit is a forum for Japanese speakers (10% conversion rate, 10k people largest forum) but Manga-watchers have a much better potential (2%, 5M). It’s easy to assume who your niche is, but almost every campaign is a surprise. This is why Custom Audience powers most ads. Therefore your market is a service that knows about many people’s niche interest, but is itself quite generic: that’s Wordpress·com (freemium, not interested in ads), reddit (not good at monetisation for a long time), twitter (same delay), GMail to some extend and much later Slack, Discord, maybe SnapChat and TikTok.

There is a duopoly in ads platforms because there’s a duopoly in effective ideas that scale to any support and any advertiser: keyword (Google) and personalisation. Many platforms have tried to base ads on the content of the page, but it’s hard to find ads that pair well with the war in Darfur. Many YouTube creators get away with promoted content, but it is murky more often than not. The most successful “editorial” attempt is OutBrain and Taboola that are essentially auto-generated articles with super-optimised clic-bait-y garbage.

You can imagine hosting that information yourself, edit it, expose it to ad slots in your browser with a protocol. Dave Winner certainly dreams of it. But for me, the proof that this could work was Facebook letting anyone edit their ad preference and information: for years, you could just tell Facebook that you were _not_ into cars, baby clothes or stamp collection. No one used it. It was linked on every ad; you were linked to it if you right-clic to say an ad wasn’t relevant; it was easily findable on the website and the app… No one touched it. So much so that improving it was impossible without traffic. Privacy advocate who claimed this needed to exist ignored my comments when I told them it already did. There was major internal support for it, but even VPs can’t argue against data.

You can look at the history: Facebook was created in 2004; they immediately had ads, but they only became a significant player on targeting from 2008 onwards. At that point, ads had been around since 1995 with Viaweb, so more than 15 years; Google had been around for since 1998, so 10 years and the acquisition that created AdWords five years earlier in 2003. If an alternative direction was easy, there was time to build something.

I’m not saying another reality isn’t possible — I dream of a protocol emerging from Facebook opening its preference embeddings, after realising that there’s a worthwhile ecosystem of apps to let people optimise it the way they want. But not enough people wanted it, while billions of people seem comfortable with delegating decisions and targeting entirely.
I'm very curious how this will look like.

I paid my co2 for 2 people from and back Germany Japan.

200$

That's nothing.

Will this create a hard barrier or do I need to stop flyibg?

Will we all accept to fly less? And consume much less?

Somehow I doubt it and will prepare myself the worst
The time based algorithm is standardized though in https://tools.ietf.org/html/rfc6238
> What people complain about with garbage collection are: (1) a fixed constant overhead they think is too high and will probably always think to high, (2) long pauses that are manageable in practice unless you are timing events with millisecond precision with a microcontroller.

I keep hearing this about "modern" GC and it keeps being very much not true in practice. I'm running IntelliJ IDEA (Java) on a laptop with 8GB of RAM, and it keeps freezing every so often. I'm suspecting GC causing paging. This is something that is obviously avoided with reference counting or manual memory management.
Adding to this, pneumonia is merely inflammation of the (aveoli in the) lungs and it is almost always caused by some external factor, such as infection or illness.
The carnivore paradigm is a great example, Paul. It's infeasible to diehard carnivores that one could live (and thrive) without animal protein. We evolved as humans on animal protein. Our deep addiction to this results in massive environmental damage using modern technologies to raise and hunt (obliterate) animal populations at scale- 77 billion land animals and 2.4 trillion fish annually. I'm betting on Impossible Foods, Beyond Meat, and all the new startups in the plant/lab meat space!
I am pretty sure it's not methane in, methane out. There's a digestive process and bacteria involved that produce methane from sugars and cellulose. So CO2 in via plants, methane (a much more potent greenhouse has) out.

I think you need to research this "sham accounting" idea, maybe do some studies, collect some data, publish in a peer reviewed journal, before you go about spouting it as gospel.
Can you explain in more detail? Who are the biased organizations who funded this publication?
This seems detached from reality.

* Governments can and have confiscated bitcoin

* they can stop transactions by blocking access to wallets and exchanges etc

* They're a terrible medium for savings, unless you want your savings account to routinely swing wildly up and down in value

* 99.9% of people interested in Bitcoin do not care about these supposed benefits (which I'm skeptical even exist.) Yes there are the handful of goldbugs and libertarians, but most just want to see the number go up.
I doubt that, but would be receptive to any evidence in your favor.
This is exactly why it's a hard question to answer.

Innovation is not always "new problems to solve", but more often "new clever ways to solve a problem", which rules out number 2 IMHO.

For example, Kubernetes was an innovation in the cluster management field where many had already solved that problem with other means, and many still do today.

When you're trying to innovate, it's easy to fall in number 1 (being blind to the competition: current means to solve the problem).
I happen to live in the US, so maybe you can enlighten me. What federal regulations about CO2 emissions here are you talking about? As far as I am aware, factories can emit as much carbon as they wish.
It's being pragmatic. Linux has typically placed freedom ahead of pretty much everything else.[1] All else being equal, sure you want the best technical solution. But if it doesn't fit the definition of freedom that Linux requires, how otherwise good a solution is doesn't matter. So the main 'killer' feature of BTRFS is that it fits the licensing requirements for integration into Linux. Linux has a great many problems, but being sticklers for a particular type of license isn't one of them IMO.

[1] This isn't just idealism. See Oracle v. Google for an example of what happens if you play fast and loose with licenses and a malicious actor. Google eventually won, but how many millions of dollars did that victory cost them? Oracle would love Linux developers to blunder their way into the receiving end of a lawsuit.
I hadn't considered that. That would be evil, so I need to pay more attention to when this happens and try to understand it better.
It includes deaths caused by the response to covid, such as people avoiding hospital for other diseases and whatever the deathy consequences of lockdowns might be.
They’d be forgoing a huge upfront cash injection when the user pays for the device. And by targeting consumers that can shell out circa $1k for a premium device without too much bother, they not only collect a high-income user base, but create an aura of exclusivity around their devices and ecosystem. Giving hoi polloi free iPhones would throw a spanner in these highly profitable works
Me, just because I don't want to drive.
Poor phrasing on my part.

They actually thought risk was lower than it was, went to Florida and unfortunately caught the bug.

Edit made, since all this happened in the window.
I'm not sure it's that you're a woman or that you're empathetic, good natured, choose to avoid conflict, in addition to being technically skilled. There does seem to be a correlation between the two, but in my experience, what you're discussing here isn't unique to women. I see it happen to a lot of men as well, including myself.

They are manipulators. Their skill isn't in getting their job done, it's in manipulating other people into doing it for them.

I think for me, it's about boundaries. If someone continually pushes or crosses my boundaries, then that's the biggest red flag. If I push back and they push harder, then something is going wrong.

You giving of yourself should be an act of freewill in pursuit of something greater for all, not to avoid the negative repercussions of saying no.

When I find myself saying yes to avoid being lashed out at, threatened, extorted, coerced, insulted, etc, then it's time to go.

I'll tolerate it once or twice or even more times than that. I excuse bad behavior from others away with "I'm too sensitive" or "I know what they say isn't true" or "they don't understand what they just did."

But after too much of it, it doesn't matter. At some point, the math tips to it being worse to be around them than not, so I won't be around them anymore. In fact, I suppose, it adds up somehow, I don't know the formula.

Like... if someone does something, I let it slide, but if they do it again, then it's not just 1 + 1 = 2, it's more like 1 + 1.25 = 2.25. When it gets to 10, I'm done.

A memory multiplier, if you will.

"You've done this twice now. I laughed it off the first time, but I'm noticing a trend and I don't appreciate it."

Then the third time, it's 1 + 1.25 + 2.50 = 4.75.

Why?

1 for the first strike.
1 + 0.25 for the second strike, because it includes the memory of the first one.
2.50 for the third strike, because 2 memories, plus violating a direct ask to avoid repeating the bad behavior.

Something like that.
"Continuing to live" is a very different state than "being brought into existence," and I struggle to see how the desire for the former implies the latter. You can't ask anyone who was never born if they would prefer to have been created, nor can someone who was created observe what it would have been like to have never been born. It's difficult to even conceptualize non-existence!
Most trees planted in the world are already cut down too young, while they're still net carbon sinks. A tree planted right now is going to absorb carbon for at least a hundred years. And most timber is used in ways that releases all the stored carbon much sooner than it would happen in a natural forest. Basically the only reasonably sustainable ways to use timber is to either build something lasting out of it or bury it underground.
How is this relevant to the tracking popup that shows up when you open a newly installed app? The source of that app isn't relevant here.
That makes more sense to me, thank you.

With the attitude "fine but I will do it my way anyway" I'm surprised you didn't fire him. Probably a good thing he left? It wasn't a good fit.
I would in fact blame whatever country if they decided to rug vital informed under the carpet and let the disease spread in and out of their borders.
Echo chamber is one term, another would be tribe.

An insecure group member feels threatened by an outsider and lashes out. Another group member sees an outsider triggering a group member and he immediately jumps into help. Together, they attack the outsider and drive him off.

I think if the maintainer was less insecure and more able to take critique, the exchange wouldn't have aroused the "fight or flight" instincts of the group.
Sounds like a very scientific rap video.
Considering how close the NAND / SSD are to CPU in most Laptop and MacBook. I wonder if this could be a problem in the future. Especially recent MacBook which has no cooling Fan.
When using spread-spectrum transmission it would be counterproductive to utilize harmonics. Non-sinusoidal noise at frequency F would pollute frequencies k*F. Also the transmission band is likely less than an octave.
Techniques to scale your Relational Databases – Part 1
Similarly, I think A/B testing early on in a product is an excuse to half ass too (kinda literally): https://zuhayeer.com/writing/abtest.html
I doubt that. People would naturally follow social distancing protocols (out of fear for their own lives). They would still hang out, but less and more in the open, and still go to the doctor, but less and only for the necessary issues. Literally the only place where "healthcare systems collapsed" (in the West) was Italy, which was caught completely unprepared.

There's a sensible middle ground between life-as-normal and enforced lockdowns.
> Also, a massive thing people overlook is that AWS is fairly well documented. I can Google exactly how to set up permissions on an S3 bucket, or how to use an S3 bucket as a website.

> In-house systems tend to be poorly documented, and doing anything slightly outside the norm becomes a "set up a meeting with the infra team" kind of thing.

I usually wasn’t really happy with AWS’ documentation. But now, considering the alternative, it find it quite lovely. Thank you for making me realize that.
OK. You can start.
Absence of evidence is not evidence of absence.

It’s simply incentives, it doesn’t take a top-down conspiracy to have independent actors try to game a system in order to profit financially.
3D Printed 'Artificial Leaves' Could Provide Sustainable Energy on Mars
> China and India are the number one polluters and as usual the UN and other supranational organization will look the other way

US: 16t per capita

China: 8t per capita

India: 2t per capita

I think it is pretty clear who is fucking things up right now. Yes, there are a lot of Indians, but that only means that the US (and their rich peers) have to move even further to stop being the bad guy.

https://en.wikipedia.org/wiki/List_of_countries_by_carbon_di...
Berkshire Hathaway's price on Nasdaq is getting close to 32 bit overflow