skysight-inc/HackerNews huggingface dataset:
Not Rust, but for C++ I have found a lot of memory and CPU perf can be realized by knowing what is being parsed into and using that. Most JSON parsing optimize on array/object/number/bool/null and not things like unsigned integer being much faster to parse than a float(floating point hit cpu bottlenecks around 1GB/s). Additionally, allowing for compile time options to further optimize is much easier. Essentially most JSON parsers are type erased. https://github.com/beached/daw_json_link

So this correlates with some of the findings the post has. One optimization that should show great promise is that if one knows that they have an array of some types like numbers/unsigned int/strings, that can greatly simplify and allow for SIMD'ification of it.
If you are insured, you should assume your annual out of pocket maximum is the cost at in network providers.

If you are insured, supposedly there are measures to limit costs due to out of network providers, but I am not sure if you are entitled to find out the costs beforehand. I presume you are entitled to get a “good faith estimate”.

https://www.cms.gov/nosurprises/consumer-protections/What-ar...

If you are not insured, healthcare providers are obliged to give you a “good faith estimate” upfront now:

https://www.cms.gov/nosurprises/consumers/understanding-cost...

https://www.cms.gov/nosurprises/Ending-Surprise-Medical-Bill...
> Over-reliance on automation and complacency

this is a training issue, is it not? So related to qualification to some degree
Russian phone dialler using interesting magnetic memory tech [video]
I wish there were vastly more online resources and papers dedicated to this topic. Almost every community of value on the Internet degrades into a cesspool. HN is one of the lucky exceptions, although early users might not see it that way.

How can an online community avoid this? What techniques can be used? What technology can be used? What skills are needed? How should communities be organized and staffed?

I've run online communities with hundreds of thousands of active users. The problem as an owner was that as soon as I wasn't able to moderate it myself I had to hire volunteer moderators from within the userbase. I would slowly step back as this staff took over my workload, but as I created a hierarchy and promoted staff they would all become increasingly power-hungry and dictatorial, without exception. I would end up in a constant churn of having to ban the most senior staff (who would then turn into demons of revenge trying to burn down everything) and again promoting less staff who swore they would not become what they had despised.

Surely there must be books on this shit?
Please don't use HN for ideological battle or repetitive flamewar. It's tedious, predictable, and nasty. If you don't find this article interesting, there are plenty of others to look at.

https://news.ycombinator.com/newsguidelines.html

Edit: we've had to warn you about this sort of thing before. We ban accounts that keep doing this, regardless of what they're warring for or against, so please stop doing it. We want curious conversation here.
Show HN: I made a pomodoro technique timer
Please don't perpetuate flamewars on HN. That's just as bad as starting them, and is explicitly against the site guidelines.

"Don't feed egregious comments by replying; flag them instead."

a.k.a. please don't feed the trolls

https://news.ycombinator.com/newsguidelines.html
For those who don’t know what pomodoro technique is, It is a time management method developed by Francesco Cirillo in the late 1980s. In this method work is divided in time intervals of 25 min and each pomodoro interval is followed by a short break of 5 min. After 4 - 5 pomodoro sittings we take a long break of 15 minutes.

The ui of pomotimer is very simple and minimal. (the entire screen is covered by big timer!) I personally use kanban board for my tasks, therefore I thought it would be awesome to add a kanban board inside pomotimer.

The website does not have any backend, everything is done on frontend. We have used tailwindcss for styling and Next.js as a frontend framework.

Any feedback is appreciated, thanks.
It's true that minor releases have been much less rocky, but I think the overall point that upgrading a lot of things at once is more annoying than updating a smaller number of things at once still holds.

It's unlikely a fuzzing library has a security issue anyway since it's for test code, so the more pragmatic concern is that new fuzzing features may be adopted slowly because i.e. the feature requires go 1.20, but go 1.20 broke some part of net/http for the 10th time.
In case anyone wanted a picture:

https://upload.wikimedia.org/wikipedia/commons/b/b2/AUTOVON_...

Now we have the answer to one of lifes burning questions, what does the FO button do?
Labelling gas green is an example of just how tight Putin's grip on Europe is.
I thought this article might be about (and think it should've been about) games like:

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

https://en.wikipedia.org/wiki/Mao_(card_game)

https://en.wikipedia.org/wiki/Mornington_Crescent_(game)

...but especially Nomic, which has apparently been played online since the 1990s.
Leave it to HN to go immediately from "provide a sun-warmed refuge for snake basking" to a full-on snake housing crisis. :'D

No need to overthink this. Just pile some rocks and enjoy the benefits of ecosystem services.
Great idea, I was wondering if someone had started working on something like this. My thought was to use the identity for distributed social media (blogging platform where you can easily restrict viewership of your posts by granting revocable keys to your contacts).
I find the letter fascinating. I haven't followed China's economic progress closely, but one question I have that wasn't answered by the letter is:

Who shapes the CCP's ideology? It seems to be shifting all the time, Is it one person?

The clarity, conviction, speed, and alignment in which they execute the ideology is breathtaking. I can't imagine a group being able to do this over what seems to be a long period.
Application developers not system engineers. People who work on high performance servers will always look to reduce overhead as much as possible.
Terrible layout. Could not scroll on Chromium
It's an older computer, and that's what came pre-installed on it. I'm not interested in experimenting, just leave it with what works.

When browsing a handful of trusted sites from behind a NAT on a secure network, I don't think it's that much of a security risk.
Why not stub or double the external service?

For truly end to end that may be too fake but could help with less rigorous integration tests. Or could be an option for frequent ongoing testing, then be turned off to use real 3P services for final pre-deployment tests.
Yes it definitely seems like it could be a form of hazing inspired by people advertising themselves as noobs, or just by opening up a service.

I've posted many show HNs over the past 7 years and many provided some ways for people to do computation on the server (by design) but not some form of limiting that (by my inexperience).

I know everyone's experience can be different, and I know that sometimes, and for me personally, other things that people do on ShowHNs are particularly hurtful--Like being cruel or dismissive...I mean you're bearing your soul right? Your work; a little embryonic thing you're contributing to the world... And some people seem like they just want to try to kill that--but for me, that's been different to the security "hazing" my posts received. I've been personally grateful for those security hazings, because it gave me opportunities to test and improve those projects. Seriously the best free security audit you could get.

Sometimes it felt annoying .. because I thought I'd patch something but then I checked the server I found people found a way through or found a way to circumvent that.

But I saw it as a challenge and I imagined it was like a way to redteam and anticipate and prevent things that would end up happening in the real world anyway so it was incredibly valuable actually in hardening the products I made. Good learning experience too. :)

My favorite event to solve was people using my remote browser product to run cryptocurrency mining javascript. And overcoming that challenge was quite tricky at first, because cpulimit is more of a suggestion than a hard limit. And also because the cloud where I originally ran this (and most clouds have this rule too), disallowed using the compute resources for mining crypto so I almost got a strike on my account because other people were using this thing I had opened up to mine with. After discussing with the contact window everything was cool, but I still needed a way to block this. While there are CPU throttling apis I could use on a per tab basis via Chrome remote debugging protocol (and I may look into that more in future), there's also a chance that under high CPU load the debugging protocol becomes unresponsive and so you can't intervene via that route anyway.

What I went with was just operating system process monitoring and cgroups (now v2 in the latest kernels which are unfortunately for now more limited) plus killing processes that violated too many monitoring intervals. A cool thing about Google Chrome is it's pretty robust to killing some of its processes off so you can kill off the processes of a couple of tabs that are involved in cryptocurrency mining but it doesn't kill the entire browser.

The whole thing was a great way to learn more operating system internals as well as to discover the plethora of tools available for resource control in linux. Particularly impressive are the networking and bandwidth control options like iptables. So instead of dockerizing my apps I basically created these custom sandboxes by using operating system apis that's been incredibly effective at preventing abuse.
Can you be more specific here? I see no mechanism for this to happen. Difficulty will simply increase from that point.
Please don't take HN threads further into flamewar, regardless of how wrong someone else is or you feel they are. It only makes everything worse. Crossing into personal attack is particularly not cool.

https://news.ycombinator.com/newsguidelines.html
The shoe example seems closer to a weaker version of this effect:
https://www.illusionsindex.org/i/grey-strawberries
There's a lot of interesting stuff out there about the Ariane 5 failure, whose guidance system apparently was in Ada.
They're found in Bay Area. This thing is insane - it is still toxic after freezing or cooking it: http://bayareamushrooms.org/mushroommonth/amanita_phalloides...
"If we think of the world's future, we always mean the place it will get to if it keeps going as we see it going now and it doesn't occur to us that it is not going in a straight line but in a curve & that its direction is constantly changing." (Wittgenstein, from Culture and Value)
I hope you looped your mother into your new insights!
The first question people will ask is what kind of plane it was as it has a huge relevance on describing the incident and its potential for disaster.

Or you could put:

"Random plane had random incident. Somewhere. Airline."

/s.
I currently work in a place that does both, yet still find questionable things on a weekly basis!

Exhausting, lol
The solution is not atomic. the solution is smaller consumption. moving to slower travel (for sure?) with trains instead of cars (and that would reduce microplastics in sea cause its already proven tyres are biggest source of it). wear a tshirt for 6 years, not for 6 months. don't buy shitty stuff. dont buy stuff for buying stuff. in other words... stop being consumpionist. that's the solution. along with green power. its not about producing more and more energy, its about lowering our energy usage and stop being such a dickheads to our planet. stop taking planes for 2 freaking days of holidays or to save 3 hours you could spend on reading a book in train. take a slower, calmer life. that would reduce carbon.

“It takes around 1,800 gallons of water to grow enough cotton to produce just one pair of regular ol' blue jeans." - this is the problem and solution is not getting new jeans every year, not building atomic power plants (or at least not until we're 100% sure we can do it safely).

Dont buy stuff to show off your status and high pay because you have small one. Go to therapist. Stop using SUV's or 4x4 cars IF you don't live in mountains or areas where having 4x4 actually matters.

What is killing us is complexes and empty lives that we try to avoid to not think about by buying ourselves more and more toys and shit.
There is already a demand /production problem with, even without gas plants.. No idea what the plan is here..
Because the end game is expanding access to healthcare by increasing supply of less qualified (or lower quality) healthcare providers, and then price segmenting different populations to different qualities of healthcare.

You pay more, you get higher probability of access to MDs. You pay less, you get higher probability of access to PA/NP. And many other variations of that.

You can accomplish the goal of politically expanding access to healthcare, but without the costs of getting everyone access to the same healthcare.
Don’t even stop there. Instead of typing in a username and password, have my browser give me a drop down with my identities so I can use just one of them. Then have the browser sync my (encrypted with my pass phrase) identities across all my browsers/devices. No more passwords.
I am sad to say this, but the insurance probably did not pay for the last $10K, that probably magically disappeared after the insurance paid for what they paid for. Again the explanation in the form of an example:

My wife's dentist always puts in big bills to our insurance company. We then get a check in the mail along with records detailing how much the dentist billed, and then how much they are paying (though us). We then send the check along, and every time that we have then talked to them they say that we don't have to pay the remainder.

This is just a negotiation tactic between our dentist and the insurance company. They are just trying to make sure that they capture every dollar that the insurance company will possibly pay. They never expected to get everything that they billed, that was more like an opening position in bargaining.
Are you at all interested in non-chain name registration? You could always allow nonunique names and just leave it up to users to verify .

One big advantage of P2P is partition tolerance and ability to work on isolated networks in an emergency.
You can do an outbound allow list with apps like Little Snitch.
We usually call this "organized crime": a gangster in a white suit, pretending to be a psychiatrist, commits fraud and enjoys the protection of the mafia bosses who run the casino 'Hospital'.
This is kinda an absurd take. On one hand you have people saying 'hey if you want x congress should make it law, the courts can't do anything about it.' but you're saying 'if Congress passes a law it won't work and only the courts can do something about x' it can't be both...
Ten Minutes with Sam Altman
Depending on radiation level this may be actually healthy:

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3526327/

The cancer mortality ratios (CMRs) in Poland in high and low level radiation areas were analyzed based on information from national cancer registry. Presented ecological study concerned six regions, extending from the largest administration areas (a group of voivodeships), to the smallest regions (single counties). The data show that the relative risk of cancer deaths is lower in the higher radiation level areas. The decrease by 1.17%/mSv/year (p = 0.02) of all cancer deaths and by 0.82%/mSv/year (p = 0.2) of lung cancers only are observed.
Isn't it because of Nord Stream 2?
If you like hiking in the woods, hunting for morels is challenging but also a lot of fun.
Had a similar experience & some of those bills turned out to be scams. I think some scammers somehow obtain that info & rush to send you fake bills.
I've done this, and I feel great. I stopped buying things almost entirely, stopped flying, and live a much happier and more fulfilled life now.

Highly recommend it.
In my experience, doing this in C++, disabling checks is maybe 5-20%, more often around 10%, not really worth doing outside benchmarks. When it's already going at GB/s, just do the checks and use the types to get more checks.

Allocations, have been a huge win. Parsing to a vector in many of the JSON benchmarks benefitted from reserving the memory up front, even if not known. In testing the cost of them, it was around 50% of the bench time. Using a bump allocator to test doubled the perf when I did it.
Nice catch, that was a neat rabbit hole [1]! I run an Ubuntu derivative so you're correct that /tmp is not mounted using tmpfs. Looks like Arch and Fedora use tmpfs and the Debian flavors do not.

[1]: https://lwn.net/Articles/499410/
Thank you for this - I like your perspective on what I said a lot. That’s a genuinely useful insight. It’s not particularly negative or positive, but very sensible.
Covid is endemic - it will never leave us. Even if all vaccines worked perfectly and forever and every single person got vaccinated - we would still see new infections, because animals also get and transmit covid.

I don't think I've seen anyone with any reputation make any claim about "zero covid".
Your first comment suggests that she merely wasn't getting good criticism because men were fawning over her, and that's why her technology didn't work. We'll see the verdict from the trial, but at this point it is pretty solidly documented that the technology and company she built around it were a deliberate fraud. It seems rather cut and dry.

Your second comment (double quoted here to emphasize that it's a quote you made up) says ""Yup, that's what happens when a woman is in charge of a business"" which I would also describe as a pretty extreme mischaracterization of the reaction to her behavior.
The value of cheap, ubiquitous antigen testing is that you can be pretty sure that you don't have the virus, which allows scared people to have some sense of control. Even though these tests have a high false-positive rate, it's pretty unlikely that you'll test negative on multiple independent tests, so the cheap and ubiquitous part is important. Scared people can fixate their fear on a metric that actually correlates with transmission. Negative test? No need to freak out about going to the store.

That said, your point is well-taken that people can be idiots about testing positive. We do need to get over this fear and accept that the virus is endemic, and that vaccines work to prevent serious illness. We're now talking about miniscule risks that we would have rightfully shrugged off in any previous year, but folks have been terrorized, and they're desperately looking for control. Any tool that can calm that fear is a good tool.
It's like an extra powerful downvote button when someone disagrees with you.
Doubting a vaccine that is developed in a few months instead of years like how it was done in the past, is already reasonable doubt
Don't get me wrong, I mostly agree to what the talk wants to say, but the talk itself doesn't do a good job at giving convincing reasons. In fact I think the OP is a much better replacement for that talk.

There are several factual inaccuracies in the talk. For example on-demand or in-situ parsing has been a thing especially for many high-performance C++ JSON parsers, and they are exactly designed for the constraints described in the talk (no needs for parse tree, in-place mutation or cross referencing). So everything before the specialized integer array parsing can be mostly automated without heavy hammers like SIMD---those parsers would likely use that, but I don't care. You still need to recognizes those constraints in the first place but you don't always need to write your own code for making use of them.

He did mention that dependencies are or can be liabilities, yet failed to state that more codes and contexts are also liabilities. It is correct to recognize implicit contexts that may be useful for the optimization, but it doesn't mean that every context should be utilized. For example later examples assume x86(-64), which is increasingly becoming a bad decision in general thanks to ARM servers. It is a balancing act to choose which context to utilize and which to ignore (so that the code can remain more generic for later uses or easier to understand) and the talk is mostly silent about this aspect.

He also fails to mention testing, which is the main reason I believe the OP is a better substitute for the talk. You can't exactly compare your shiny optimized code with an older version of it, because you have distilled implicit contexts into the new code so they can be functionally different. You need to somehow make those implicit contexts into explicit contracts, probably using some other codes that are not continuously run, documentations (which everyone seem to overlook!) or folk, eh, collective team knowledge. This is a hard problem by its own and again the talk is pretty much oblivious about that.
If you like vi-style motion and ranger[0], check feedranger[1]

0. https://ranger.github.io

1. https://github.com/stefandtw/feedranger
Indeed. one of my favorite learnings in life is the power of admitting when I'm wrong (which is often enough). Quite an empowering decision and also relationahip building.

However there are times when people find it so unusual that they see it as weakness and instead of admitting their own wrong, try to capitalise on an opprtunity (perceived weakness).

One exception though is playing chess online, where my ego is yet to be mastered.
> The upside of those tradeoffs are that it improves our query throughput by about 20% compared to simd_json

Woah, that's impressive.

I wonder if `str` is maybe an antipattern for a lot of JSON use cases where you can perform utf8 validation lazily or avoid it altogether for data you don't need.

Given a service architecture with mTLS, and so long as you aren't doing anything sensitive based on the data, I could see an approach like this being valuable.

That said, I also wonder if it's worth pushing JSON into use cases like this to begin with?
Aquifer tides sound like a fascinating concept that didn't occur to me before, but tides require a lot of fast lateral mass transfer thats usually not possible in most aquifers.
This is quite common, infact this has been the original purpose of VPN software all the way through, You don't need to route all packets thru the tunnel either, you can usually route to a subset of IPs in most VPN software.
> Yes, if you think sale prices are going to stay much higher than manufacturing costs it is a great time to start a new GPU factory.

So then as PoW difficulty increases, demand for GPS increases. Necessitating more factories until the primary output of world industry is GPU factories.

Does nobody see how absurd this is?

The market is stuck in a feedback loop. People are naievely looking at this and saying "Aha, just follow the rules of capitalism and the market and it will work out well. That's the religion." Not seeing this is a spiral. There is no market solution here.

It's like we're looking at a while loop, with condition "true == true", the body of the loop doubles the length of a string each time. Somewhere here is saying, this will not end well, we're gonna use up all of our heap trying to double the string size. And somebody else's solution is, "close some running programs so that ram can be allocated to the string doubling program".

Ok yah, we can run a bit longer, but the end result is still 70%+ of RAM being used to allocated these strings and eventually program crash.

Building more GPU factories isn't a solution is crypto's exponential consumption of resources.