skysight-inc/HackerNews huggingface dataset:
I've always hated this bit of conventional wisdom, which has become less and less applicable over the past couple decades. STL implementations are now quite highly optimized within their spec. With the one little caveat that they're generally optimized for CPU cycles rather than per object memory usage.

But you should understand the performance characteristics of the STL. A std::vector is super fast for basically everything except for dynamic resizing. If performance is a concern, your first approach should be to see if you can avoid reallocation. Often it's very simple to just preallocate a reasonable maximum, or calculate an exact maximum based on your input.

Finally, if you truly need to do weird stuff with resizing, you can look at other containers or write your own.
Bit of a tangential rant: meth is actually truly really bad, and I wish our drug education growing up hadn’t painted this nebulous concept of “drugs”, because there’s gradations of harm.

I’m approaching 40. (Ugh, I hate to admit that.) I grew up during the D.A.R.E. era. Just Say No. Cartoon All-Stars to the Rescue. “Drugs” were this boogeyman, and whatever they were, they would turn you into a junkie instantly.

I have no idea how you’d study this, as I think this was a pretty much cross-cultural message, but I wonder what would have happened if we could have educated teenagers that, well, “we know you’re going to do drugs, they all have side effects, but some are not that bad, and some will absolutely ruin you.”

Because: I have done a lot drugs in my 30s. Pretty much the full club drug buffet, with the exception of meth and opiates. (Also never smoked a cigarette yet.) And you know what? There are varying degrees of bad. There’s this jaded sense that you build up, that you’re a bit bitter that you wasted quite a lot of your childhood education in D.A.R.E. I wonder if we could have possibly successfully pulled off harm reduction education in drugs, and given people a better set of mental tools to understand what drugs are truly bad, namely meth and opiates, and which drugs are quite honestly far less deleterious than vodka. (You cannot tell me, with a straight face, that weed is physically and socially more harmful than drinking.)
Ask HNs: Syncing multiple calendars from multiple domains
Hello! Trying to help a friend and my pre-emptive comment is that that Calendly does not work for him. He has several consulting customers, each of them in a separate domain with their own calendar. Since the organizations are big, they are used to scheduling time using their standard interfaces (GMail, Outlook, etc). It does not work to give them a custom interface (the calendly booking website) and asking them to book through that - this would be an uphill battle. What I am looking for is something that will grab the appts from different calendars and block the time in all of them (without details just showing busy). That way if a customer in Domain A books some time, it will show as "busy" in domain X, Y and Z. I can think of a few ways of writing something custom, but I would rather not. If there is a paid service or some script that I can run in a cron job it would be amazing. It doesn't matter if it is paid or an Open Source script that I need to run manually. How do you keep your calendars in sync?
The biggest business organizations in the world is one of the oldest: the Chinese Communist Party.
You can just ignore it if you are not in the EU
> understand why the thing at the end of a GET or PUT url should be a "thing" not an operation

what do you mean by this?
This is the crux of the debate in my opinion - it's old money (finance, journalism, entertainment) vs new money (tech) that threatens to eat all their businesses alive. This is nothing more than a power struggle between the ownership classes.
Fwiw Allwinner/Sochip do sell a CPU with 128MB of DDR3 in the package (S3). You do need to provide 1.5V supply for the DRAM.
Romantics yearn for a life where the highs are higher and the lows are lower... until they hit that first low.
Trials begin on lozenge that rebuilds tooth enamel

https://news.ycombinator.com/item?id=27328663
I think it’s a bit odd that “doorbell camera” gets its own entry. It’s pretty self-explanatory to anyone familiar with the words doorbell and camera. Is “ceiling fan” in the dictionary?
I was trying to understand when the metaverse concept started coming into more "popular" discussion.

Here's an interesting thread from June 10: https://news.ycombinator.com/item?id=27723460
Earn doesn't exist anymore. They were bought by Coinbase and is now Coinbase Earn which has nothing to do with emails.

This article is from 2018.
Low budget P2P content distribution with Git
No faster way to clock up 1500 hours than flying for 63 straight days!
Who aren't billionaires, so I don't know why he brought up criticisms of a proposed new tax scheme that only targets a few hundred people.
ClickHouse Has Become a Unicorn
Seems like the incentive is opposite of what I would want. It says that you only pay if you get a response. Doesn't that mean that you should just spam as many people as possible since it's free unless you get a lead?
Those new prev/next buttons are hot Hot HOT tho
> Lack of masks last arguably killed people last year

I think that was the least of the problem. At the beginning of the pandemic in the US, hospitals, nursing homes, and many other companies would not allow their workers to bring in their own PPE. This continued for upwards of six months. Several outbreaks occurred in my area because management refused to allow their workers to use PPE. Fast food operators also had several outbreaks because they were not testing their employees temperatures until it was far too late.

As late as April, we had dental offices across the country refusing to allow receptionists to wear masks. Same went for supermarkets and restaurants. Upwards of 30% of lives could have been saved if corporate and management hadn’t setup major roadblocks for worker protections. One of the most common arguments I heard was, “we don’t want the customer to see our people behind a mask”. For companies, this wasn’t a pandemic with real health risks, this was a front-facing visibility problem for the organization. These people should all lose their jobs for the suffering they caused.
Without more parameters of your listening preferences there's no way of giving you accurate and valuable recommendations.
Also value-oriented builders probably wouldn't want to use the ITX form factor given they're always more expensive than mATX with a on-par feature set at best. ITX builders likely are not price conscious.

mATX cases can also be quite small (e.g. Fractal Node Define 7) but you get 2 more RAM slots, can use ATX PSU, and can get bigger coolers so not have to resort to price AIO.
Services revenue is at risk due to increased antitrust scrutiny worldwide. The more Apple focuses on services, the bigger the potential downside on their valuation.
I was on SSRIs for a time until my thoughts became so irreversibly cloudy that I weened off and stopped. After that I coincidentally stopped drinking, my weight dropped, and now I've stopped using weed for the most part. My anxiety doesn't go away, even if I go ride my bike for hours.

The things that give me anxiety are largely social. How people think of me at work, my appearance, what women think of me, and how they perceive how I act. The only thing that helps is shutting these thoughts down with CBT. I've dubbed this my, "Nobody cares Mother Fucker™" routine.

I've noticed relying on my friends to vent just sours relationships. As much as people gloat about support systems, it's mainly a farce. People will only tolerate hearing so much of your internal dissonance, concerns, and stressors. People want to enjoy you, for the most part. Maybe a partner will be there for you, but not likely in my experience (though, I'm unmarried, so take what I say with a grain of salt.)
Data safety in Play Console: Elevating privacy and security for your users
Virge fastest modes were around Pentium 100MHz software rendering speed.
This is the first time I'm hearing of the Pico. Is there any reason to use it, instead of the ESP32 or ESP8266 boards, or one of the many Arduino compatible uC's?

The competitors seem to be much more common than the Raspberry Pico (i.e. it is much easier to find expansion boards, examples etc. for them). They seem to cost roughly the same too, and the ESPs even include WiFi and in the case of the ESP32 even Bluetooth, which makes interfacing with them so much easier.

I'm kinda surprised they released that. The RPi was awesome because it was the first mass-produced SBC (making it both affordable and well documented/supported). There are many competitors, but none so universal and common. With microcontrollers, I don't see any unique selling point, nothing that could get them to that position.
> The state is legally allowed to spy

BJP government was misusing this power to spy on its political opponents which is a clear misuse of power and a subversion of the democratic principles.

> I do not think a court has any say in it.

Seems like they do.
I found "a day in the life of ivan devisionvitch" sufficient. It was on sale at Audible a little while ago too.
[dupe]

merge with main discussion over here: https://news.ycombinator.com/item?id=29029317
Demonstrated perfectly by the state of smartwatch processors.
Tracking Chris Chan started Kiwi Farms. Will her arrest be its end?
Easy: we've offloaded some of our information storage to external media, i.e. writing.
Not a networking expert by any means, but having built out a home network, my understanding is as follows:

Benefits-wise, your devices are addressable on the Internet, so it becomes simpler to create peer-to-peer connections, firewall traffic, and create segregated subnets.

Security-wise, your devices are addressable on the Internet, so all the workarounds to punch through NAT with terrible security implications aren't needed (I'm thinking UPnP mostly, but STUN/TURN/ICE are easy to get wrong). Essentially, under IPv4+NAT, your devices are already "addressable" via a combination of your router's IP and some form of session token, but securing such traffic depends on the successful implementation of a NAT-traversal protocol by a third party.
The sooner people realize this, the better off we'll all be. When companies use slack or other chat-like tools, instead of email, total organizational disaster inevitably ensues.
Libdatrie: Double-Array Trie
How is that different from what we have now?
Anthony Downs just died. His Median Voter Theorem organises a lot of understanding about political competition. Short version: elections get won in the centre.
It always had a lot of potential in terms of profitability, theoretically you can get the marginal cost of a digital item to nearly zero if you have a large scale.
This is very good news for them, since their services revenue looks to be at risk due to antitrust scrutiny.
What a poorly written article. This reads like the ramblings of a paranoid schizophrenic: No point, no argument, no conclusion.
Does anybody know if MW or another company offers things like:

Direct access to raw word lists

Access to tagged word lists (e.g. words about geology; words that are socially not offensive)

API for results like newest word, next word, nearest word, definition, etymology, etc.

Paid is ok...Thanks!
Covid gave governments in free markets the ability to control capitalism.

The outcome is a less efficient supply chain.

Very simple.
You are picking up extra shifts on the Facebook PR defense today. I like the aggressive attitude. See you back at the Meta offices tomorrow! Can't wait for the company Halloween party over VR.
Wouldn't this still be constant-time today? It doesn't need to count the nodes because the other list already has a count of its nodes.
Yes because what people are taking now is super pure and potent where before what was common was “dirty” meth.
Zuckerberg no longer experiences risk except for in the most abstract of ways. Not in the way that the vast majority of people think about risk.

I would also suggest lack of conviction and lack of ability to complete the job look very similar, and you are likely to end up with the latter of you are surrounded by yes-men.
Speed of light can be calculated using only classical mechanics and experiments. Same for gravity and gravitational constant. Predicting relativistic effects of high speeds and huge masses that is another thing.
They are most likely using resolution via the Pope–Peachey Method. There was supporting evidence found in a laboratory in Guadalajara[0].

It is possible to do asymmetric reductive amination using enzymes but this is out of the scope of clandestine producers. Likewise a chemical and not enzymatic asymmetric reductive amination would be easy in a bench lab, probably to expensive and impractical in a clandestine setting.

[0] Joseph S. Bozenko, "Clandestine Enantiomeric Enrichment of d–Methamphetamine via Tartaric Acid Resolution", JCLIC, 2008, vol.3 (not publicly accessible but you can find this if you know where to look)
Do you know any monospace font that has slightly narrower capital letter glyphs and moved to the right in the space they occupy?

I'd like to have easier time with parsing snakeCaseFunctionNames()
I've worked with fluoride chemistry in the lab, which entails some specific safety protocols due to its effects on the human body if you make a mistake. Your characterization of the health risks to humans is misinformation, particularly at the exposure levels in water regardless of how much you drink.

Fluoride aggressively and preferentially binds to calcium in the human body. That's how it protects teeth, the chemicals that cause tooth decay have a weaker affinity for calcium than fluorine, and therefore can't displace it.

The mechanism of action for its lethality is the same. Calcium ions are used throughout the human body, notably in the heart for critical signaling functions. If you are exposed to sufficient quantities of fluoride, it will circulate until it finds some calcium in your body, including readily depleting your calcium ion channels which causes your heart to stop working.

Human bodies have significant excess calcium floating around. There is simply not enough fluoride in water, no matter how much you drink, to tax those calcium reserves. People have been drinking naturally fluoridated water, some at much higher concentrations than municipal water, for millennia.
The quality of journalism(both left and right) was degrading before trump, accelerated during trump, and is continuing to degrade.
I am a fan of systems/tools which reward those with better models of objective reality and the likely future.

I am intrigued by prediction markets as a way to give feedback to people's models of reality and how accurate they are in extrapolating trends, and to reward those who are better able to predict the future. It's a potential way to introduce 'skin in the game', both from a reputational and financial perspective.

Is that 'media expert' claiming Country X will be a dictatorship in 2 years because their political opposition won an election? Define terms and ask them to make a bet, and let's see how that plays out.

After awhile, you can start to see people's track records, and the skin in the game pressure may incentivize better epistemics before making claims.
> In a democracy the only thing that matters is the mandate of the people.

No it doesn't. Freedom of press and speech are a key component of democracy.
Presumably Sharkleap was taken.

Suck always struck me as slightly disconnected from real life, but this is him floating off into fantasy land, and not just metaphorically. If you think the Metaverse is the next big thing, I’ve got an NFT of some valuable real estate in Second Life I’d like to sell you.
To me, you're raising the question of: why are ports in locations like Long Beach and LA (and SF/Oakland)? They seem like terrible locations for ports. There's a lot of coastline on the western US. Why pick places where land is astronomically expensive, and transportation options aren't great?

One reason I can think of is availability of labor, but how many people does it take to run a good-sized port? Not saying we build a new port out in the middle of nowhere, but a location where there is already a small- to mid-sized town nearby might be suitable. And also consider that the existing port locations have housing costs that are probably too high for many/most port workers anyway.

It seems like we need more ports in the US in places similar to Prince Rupert.
Interesting that all four of these posts (including this one) are from 2016. Have things been changing?
That brings me to wonder...who has the most cash on hand at any given time and how much cash do they have? I'm really quite curious about that.
Ask HN: Programming talks that made something click for you?
Hi I am an avid learner and mostly work with JS ecosystem. Throughout my career here and there I have stumbled upon few programming talks from Youtube, which just make something click in my mind and I consider them as things which made the mental models clear in my head.

Do you guys also have something in your mind ?

Here is are few famous ones to start with.

What the hack is event loop anyway ? (https://www.youtube.com/watch?v=8aGhZQkoFbQ&t=265s)

Recursion (https://youtu.be/IJDJ0kBx2LM)

Functional Programming toolkit(https://youtu.be/Nrp_LZ-XGsY)
27 Club
Mark Zuckerberg could not make his salary $800 billion, or donate the entire company to charity. That’s what that means, nothing about business decisions
Not Devuan, normal vanilla Debian (and one Debian-Xen VM host).

There are instructions online for removing systemd; I think it is cause for regret that there isn't an install option and a commandline tool to "just do it". It's not tricky; it's just a nuisance that you have to do it at all.

[Edit] And a debconfig thing. It should be that easy to switch.

[Edit 2] I deserve to be voted down, I realise! I called for a change that I claimed was easy, without offering a patch! I should shut up, and my remarks should be very pale grey.
For quiet with integrated graphics I find this non-commercial 3d printed option quite nice:

https://github.com/phkahler/mellori_ITX

The one and only fan is the CPU fan, which is also used to blow air through the case and out holes in the bottom. I look forward to the next iteration, but my current system does everything I need without missing a beat.

But then I'm biased in this area...
Business ideas you can generate with Bitcoin
Isn't this more of question on redundancy, ie: "two is one and one is none"? RPi's aren't technically best known for general purpose usage.
so evidently they failed and email was saved?
Also goes to show how much would it cost.
The big difference is number of cores you have to work with, and to a lesser extent the amount of RAM. For say 800€ you can get probably a 4 core CPU, maybe 8. I guess 8GB RAM? Or you can get 10 raspberry pi 4s for a total of 40 cores and 40GB RAM.

What makes more sense for you will depend on your workload and scaling requirements.
The thing that's interesting about digital data, such as the CDs, but also say a stone tablet with carved lettering - is that this is a binary occurrence.

With non-digital data (e.g. a painting like the Mona Lisa) from the moment it's constructed it's also degrading, so the analogue to "bit rot" isn't really meaningful

But in contrast with digital data (e.g. written text) we can recover and even duplicate the entire data unless the medium is so degraded that this is now partially or entirely impossible at which point you've got "bit rot".

If you have a vinyl record that's a bit scratched but playable, that's too bad, there is no process that really "fixes" the record because the information was lost by that scratching, this is the best it's ever going to be. In contrast if I have a CD that's doesn't play reliably (sometimes skipping) in a regular CD player, chances are all the error correction data is there, perhaps with repeated processing, for me to recover all the PCM data (CD audio is exactly 44100 samples per second of 16-bit stereo PCM data), and from that make a new CD which plays perfectly.
And when he says 'ruin email', he means 'ruin how he makes money using email.

For the rest of us that are tired of having our time wasted, it could be quite nice.
That’s not usually how standards are supposed to work — a POSIX operating system should not reimplement Linux, it should only have to reimplement what’s portable to existing systems.
The space is evolving. https://www.winterdesign.co/ -- this ultimately proved too expensive to produce in large quantities (due to the massive spike in the price of Aluminium), but it's a mini-ITX case with 2x280mm radiators.

I managed get one cheap-ish from the Kickstarter, and while it's got some flaws (and was a total bastard to build in -- it's a very small space to do a custom loop), it's everything promised on the tin; small, quiet, powerful (5600X and a 6800XT -- even when gaming the fans don't ramp above 40%, though admittedly that may change in summer).
https://ourworldindata.org/covid-deaths

Compare cumulative for Sweden and UK. It's two countries away.
A lot of these are phrases? Vaccine passport is two words, the definition of which essentially make clear the meaning of the phrase?
Lol, do you how many homeless drug addicts there are? It doesn’t take that much money to go off the rails and sustain a habit. Even if you’re going broke and can’t get the expensive stuff, there’s always alcohol which can be had for as little as $1.50 for a 24oz.
> GitHub's intention isn't for Copilot to hold the code's copyright, but for the user to.

That is true, so I have two things I can do:

1) I can argue that Copilot is actually the distributor of the code, which means Copilot is infringing, or

2) I can go after the user for infringing, and if I win, that user would not want to use Copilot anymore for liability reasons. Or they could go after Microsoft themselves.

Why not do both? So that's what I am doing, or rather, will do.
It was $1 on a two-year contract. It was also a bad phone. That really doesn’t say much
An interview with Mark Zuckerberg about the Metaverse
Makes no difference, you are just as identifiable by your gateway's IPv4 address as you are by your ISP-assigned IPv6 prefix.
I think the broader (meta-?)point of Chesterton's fence is that our beliefs about the reason for the fence can still be wrong because we lost the tacit knowledge that produced and kept the fence there.

So even if the rule shows up in some "city aesthetic code" where they wrote down "yep more than two is ugly", it may very well be satisfying some other desideratum that no one wrote down.

That's not to say this rule really does have other reasons, but you can't stop at "yup that's what our records show". And indeed, some of them mentioned possible safety issues that arise with greater depths.
Product use case is eliminating the need for physical co-presence to experience being together. It's going to happen, soon, so don't let the mis-predictions you cite mislead you (which, btw, weren't made by me, since mine are grounded in falsifiable metrics of social presence delivery.)

You're confusing "hardware you wear on your face" with the technology stack which eliminates the need for physical proximity to deliver the feeling of unmediated communication.