skysight-inc/HackerNews huggingface dataset:
> Do we really have a great handle on things like swatting? The wave of ICO scams a few years back? Death threats to local government officials or public figures?

No, but none of those are free speech issues. Swatting involves deceiving law enforcement; ICOs were something nobody with any real law enforcement or policy power understood well at the time but they’ve been taking the time to learn (emphasis on time) and death threats are generally more an issue of resources. Any dumbass can create an anonymous email address and send threats. Unmasking all of the dumbasses willing to send them is generally more resource intensive than providing temporary protection and investigating the veracity of the threats or the likelihood they will be carried out; but if you did unmask them it would typically mean at minimum a trip to the psych ward for them to be held and evaluated.
If alcohol can damage your short term memory imagine the damage alcohol can do
We should have all of those, but right now we have those asymmetrically depending on your cause.
> Because maybe the 50 bytes are latency sensitive and need to be at the recipient as soon as possible?

The difference in latency between a 50 byte and 1500 byte packet is miniscule. If you have the data available in the socket buffer I don't see why you wouldn't want to send it in a single packet.

The latency benefit of TCP_NODELAY should be that it isn't waiting for user space to write more data, not that it is sending short packets.
Growing Your Book of Business
Another vote for PRK, and for the same reason: I didn't want the flap. You'll want to invest in a Costco sized box of those rewetting drops for the next several years because dry eye will be a constant thing

I do have halos, but I don't think I have light sensitivity and I have been constantly looking at a screen for the past innumerable years without ill effects. I'm coming up on the age where I'm going to have to consider a touch-up or something similar because my non-dominant eye has reverted a little. I only notice it when covering one eye at a time

If I had to do it over again, I 100% would still choose PRK
In a project I did long ago (having nothing to do with a compiler) I was dealing with many text compares and two dozen keywords

I heard of 'gperf' before but it wasn't giving me good results so I had to hand write my own solution. I quickly noticed many of the keywords start and end with the same few letters but the second and third last rarely matched up and when they did the word length was different

I ended up writing `memcpy(&myint, (input_ptr+input_size-4), 4)` then adding size to myint. I then had a unique int so I used a switch and did a memcmp on each case. Memcmp was expensive because many words and keywords were the same length and 20+ letters. The function went from the slowest to fastest on that change. If I had to rewrite it today I would use SIMD and a 16bit compare
Article title is clickbait: author actually made a parody account of Musk (modified Musk's photo), which is more likely what got him banned.
indeed. They should realize how ridiculous the whole net 30 days is .
> Before electronic copies, the only way to do that would be to physically steal such a thing.

Or buy a knockoff for cheap.
> and even Amazon

But how? Amazon's strength in the retail is their own automated warehouses, their own fleet of delivery vehicles, and various agreements with shippers and larger-scale producers of goods. It all benefits from scale, and not from decentralization into a network of independent nodes.
> There’s benchmarks and code example both on this post and on the rest of the site showing this (...)

I feel this sort of approach lacks honesty and fails to be objective. Anyone can cherry-pick a customized test where their stuff comes out as the best of class, no matter how underperforming it is.

To have a proper apples-to-apples comparison, standard benchmarks are the way to go. Everything else sounds like snake oil and hand-waving.
Just to add color to the discussion above, what distinguishes a microcontroller from other chips is that the volatile memory is on the same piece of silicon as the processing cores.

This allows for power saving because you don’t have to condition signals as they jump from silicon piece to silicon piece (oversimplification).

It is somewhat harder to make the above on smaller nodes than it is to make just processing cores or just memory.

That fact (in addition to a number of other cost and technical factors) is why microcontrollers lag process nodes.
This isn't even true now. There are all sorts of limits including but not limited to gag orders, no contact orders, defamation, harassment, malicious use of a telephone device, obscene phone calls and so forth.

You imply that it is utterly impossible to draft a law forbidding some speech without handing the tools of oppression to the next fellow to hold office but we already deal with plenty of nuanced situations now many odious examples of speech that aren't nuanced at all.

Calls for stochastic violence or terrorism are just as worrying as specific threats even when the target is not specifically called out. Someone should murder all the jews is no more acceptable than lets get together at the bar next Tuesday and kill Bob the Jew with the candlestick.

Hand in glove with the above is false information designed to spread hate. Ex The jews are setting our forests ablaze with jewish space lasers! Do you know who snuck in and stole my breakfast? Jews! Why am I going bald? Jewish space lasers pointed at my head! If you constantly spew hateful nonsense while others directly call for violence its pretty clearly part of the same shtick and you ought to be treated similarly.

This is trivially defined as clearly false information about a group of people defined by cultural, ethnic, religion, national origin, gender, sexual orientation yada yada yada designed to promote hatred towards a group of people.

You may trivially point out that grey areas exist. This is hardly a barrier to dealing with the numerous black and white scenarios so evident around us.

Lastly I don't want to employ or work with a "non violent nazi" just because he promotes mass murder only on his own time because such a person is an odious human being and regarding minorities as subhuman is inherently going to color his decision making even if he presents as objective. I really don't think I or any manager ought to be obliged to overlook the fact that applicant has already publicly announced that he is an odious human being.

Even were he to fully separate his odious being from the job he does his coworkers will inevitably come to understand who he is if he keeps putting it out there online under his own name and you'll find yourself at a disadvantage in terms of retaining good help and clients if everyone knows you employ nazis.

Free speech absolutism is an indefensible position. It is so far as I'm aware practiced nowhere in the world.
Ye well Linux is moving from GNU C89 to GNU C11 so maybe it is time for me to move on.

I don't think there is any reason to choose C89 over C11 other than fear of new compiler bugs and compatibility with old compilers?
When you sell to a big chain, they don't necessarily put the products in every store. I have a friend in the food business and when he was getting started, the big chains would put his product in a small number of stores to see how they sold before putting in larger orders.
Which makes perfect sense, because Russia wants Ukraine's energy generation/transportation infrastructure.
I agree, and there's something to be said for not having a table with 70 or 80 columns.

Honestly it cuts both ways, I regularly see databases with enough tables AND enough columns to make them nearly incomprehensible.
> It is taken whole-cloth from an input, and reproduced as-is on an output.

I respectfully disagree with this claim. It’s not as-is. It’s remarkably similar. That’s a big difference.

> Stable diffusion is more like a paintshop artist who grabs bits and pieces of other art and melds them together, and less like a painter who creates from their imagination.

I also disagree with this. The uncomfortable truth, imho, is that what Stable Diffusion does is FAR closer to what human artists do than we’d like to admit.

Human artists are perfectly capable of reproducing copyright infringing images. They just generally choose not to for legal/moral reasons.
That's completely true. But my point is that comparing them to Nazis is at best misleading and at worst actively harmful if you want to reason about what happened then and what's happening.

Perhaps it's more useful to look at figures like Stalin and Pol Pot to understand what happened in the Great Leap Forward. Or from Chinese history itself.

And to understand the current situation and how to react to it (from the point of view of American strategy) you need to look at comparisons that include nuclear and naval power. In some ways what's going on now in the Eastern Pacific looks like a replay of the Japan/US rivalry with a more formidable adversary operating on interior lines. As for nuclear issues, look at the Cold War. (If only because we got out of that one without incinerating the planet.)

<rant>
I'm an American and find the constant Nazi analogies really tiresome. It's as if everyone's knowledge of history comes from WW II movies. GGPs post was a thoughtful and enjoyable contrast.
</rant>
"Here is an outline of a quantum algorithm that can be used to sort a list of integers:

"Initialize a quantum register with the input list of integers. Each integer in the list can be represented as a qubit (quantum bit) in the quantum register.

"Use a quantum circuit to apply a quantum Fourier transform (QFT) to the quantum register. The QFT is a quantum algorithm that can be used to perform a transformation on the quantum register that maps the integers in the list to their corresponding frequencies in the frequency domain.

"Use a classical computer to measure the output of the QFT. This will result in a list of integers in the frequency domain, which can be sorted using a classical sorting algorithm.

"Use a quantum circuit to apply an inverse QFT to the sorted list of integers in the frequency domain. This will transform the list back to the original domain, resulting in a sorted list of integers.

"This is just a high-level overview of the algorithm, and there are many details and considerations that would need to be addressed in order to fully implement it. However, I hope this gives you a general idea of how a quantum algorithm can be used to sort a list of integers."
The US First Amendment does not say anything about libel or calls to violence. I am not aware of other amendments doing so either. What is the rationale for allowing these limitations on speech that cannot equally be applied to hate speech?
“I don’t care, I’m not leaving until you get me on my flight.”

Now what?

You’re making the flawed assumption that you’re dealing with reasonable people who will simply obey whatever someone without legal authority says (and even then, they’ll argue with the cops).
Per my other comment, you cannot hide behind "speech alone is harmless". If a reasonable person would think you were joking it might be a defense but if you took the money anyway, I doubt that defense would hold up.

We could easily make the penalty for SWATting life in prison. If you got caught the only free speech defense I could imagine would be that you sincerely believed that SWAT was needed and you were mistaken. Sometimes that defense would work, but I can imagine all kinds of scenarios in which the defense would be useless, e.g. you did it to the same guy multiple times, or you don't live anywhere near the location you sent SWAT to
I tried it using String instead of StringView and it didn't do the comparison optimisation either. For GCC it did inline one of the comparisons (https://godbolt.org/z/G3Ydfoxqc). Probably, its not possible to do the optimisation with the standard library because the standard library doesn't guarantee that small strings will be in small string form so you always have to fallback on failure. Also, it doesn't work for swift because swift string comparison is based on some kind of normalisation. So there is a fast path check using the small string optimisation but if that fails it falls back to a slow check that tries to do normalisation. (https://swift.godbolt.org/z/fscsarGjb)
People use 'engineer' differently in different parts of the world.
>Western European countries don't share the same idea of free speech as in America, yet they continue to be democratic.

But are they really?

Can you really claim to be democratic when you have wholesale determined that only approved speech can be uttered? How does democracy work when some can speak and others cannot?
It's a pretty big deal for me too, but:

1. I was told to ~piss off~ because i use Nvidia for Blender and don't want to switch to AMD. The hostility was very discouraging.

2. I adjusted my workstation accordingly to not deal with the screen issue long ago. Yea, it would be nice to use differing monitors, but before Wayland was really viable i had to solve the problem properly to keep working. The net result is this killer feature had to be solved by me with hardware before Wayland could even have a chance to solve it with software.
There are also options for asymmetric tit for tat escalation that Russia could take. E.g. there are numerous militias in the Middle East that would happily accept high-end Russia weaponry to attack American troops.
It seems to work for a lot of people, but I still get constant crashes using xdg-desktop-portal-wlr, despite trying multiple GPUs, extensive testing etc. I will probably dive into the code when I get some time.
I work at Stytch, a company that provides an authentication API

> Seems like many people are trying to shoehorn their codebase...

This is something we're always thinking about in our product; write API first and flexibly enough so developers don't have to do cartwheels to use our product.

If you ever need to jump into authentication in Node again, give us a look!
After reading the book, I use the exponential backoff approach to relationships that seem one-sided.
I got my PRK done few weeks ago and my advice to people is take at least 2 week PTO.

My recovery was interesting because my left and right eye healed at a very different pace.

Your vision at 5 days is going to be... non-optimal. Yes, the protective lens comes off usually by 5 days but that's purely because the epithelium should have grown back by then.

I saw 20/25 on my left eye from day 2 but saw 20/80 on my right eye around the same time frame. It also was super hazy even after the lens came off. I was afraid that I would need a "touch-up". The first week is all about epithelium recovery so you won't be able to see much or see things well. I personally had to zoom in everything in low brightness and even then reading was a struggle.

Second week I think is where the "interesting recovery" happens. You start seeing less weird artifacts from surgery (starbursts, halos, dry eyes, etc if you have them) and the vision seems to band quite a bit. I was able to see more comfortably and was willing to go outside (with shades though).

By 4th week+ - All the artifacts have pretty much gone away aside from occasional dry eyes. I'm in east coast right now where it's super dry and cold so I'm sure that also plays a role too.

Here's my prescription before surgery:

Sphere, Cylinder, Axis:
R -2.50 -1.75 172
L -2.75 -1.75 8

No info or corneal thickness but it was super thick according to my ophthalmologist and was a candidate for PRK, LASIK, and SMILE.
And that's an expression without any escaped parens, braces, etc.
Thanks for these guidelines. I think the "intellectual curiosity" criteria hits the nail on the head of what I was looking for to describe what I like to see on HN.

Agree this post is a gray area.
No evaluation of a decentralized idea is complete without an economic assessment because we know that the economics are a serious potential issue. If you do that and it makes sense, go with god, but the burden of proof is on the proposer that the business makes even the slightest bit of sense.
Reading the docs, there seems to be a large amount of magical component creation going on that I find difficult to read. A key benefit of React is the simplicity of a component accepting props and using them in its render function. This library seems to dynamically create a component with a custom configuration language such that it requires a lot of thought to understand what is actually going on. It defines newly available props and their usage differently to other React components, reducing readability considerably.

Of course a person can get used to these things, but I question whether it scales to non-tiny teams. There’s a real smell of ye olde dynamic class creation here which React moved away from for very good reasons
A first big electrolysis -> ammonia plant is under construction there. Another one of similar magnitude meant to provide fuel for ships is supposed to be done in 2026. We will need hundreds more, almost all of which won't break ground until after these start delivering.
I have a Kagi account, and am pretty happy with the search results. But I don't like that I have to trust them not to keep a record of my search history, tied to my account. I have no reason to believe they are malicious, but I also have nothing -- aside from their word, which is worthless coming from someone I don't personally know -- to give me a reason to trust them.

If I'm doing something in private browsing mode, I fall back to DDG. Not only do I feel weird about being signed into something when I'm supposedly doing something "private", either I have to manually sign into Kagi each time I open a private browsing window, or install their extension, neither of which I really want to do.

So I'm torn; I'm not sure if I'll keep paying for the account, or cancel it and go back to DDG.

Then again, I also pay Fastmail for email, which gives them access to all my email. Arguably that's just as bad (if not worse) for my privacy than giving someone my search history. It's not clear to me why I'm ok with that, but uncomfortable when it comes to Kagi. I suppose email is inherently tied to me, whereas search results need not be? I dunno.

Regardless, this is the big issue with paying for something on the internet that you can also get for free. In some ways my search privacy can be "trustably" better with Google (via private browsing + Tor or at least a VPN) than it can ever be with Kagi, which is weird.
Is this because of the economic slowdown as the article suggests, or simply because 2020-2021 covid lockdowns lead to a big surge in buying of computer hardware, and therefore a big drop now given that modern computers last a lot longer and everyone is equipped?
Why do C programmers hate bcmp?
If I believe that people whose name is ohCh6zos should be made into bacon ought the law force you to employ me or do you think adults should be able to choose who they associate with?
>So I recommend everyone to unpack what 'fair' means to them and explain that thing instead of using the word 'fair'

Yes, that's basically how I do it, although I don't have any reservations about using the word 'fair'. I don't think this is problematic unless you're attempting to unilaterally declare what "fair" is without offering up all of your assumptions in detail with the explicit declaration that they're up for debate. It's more like: "Hey so I've tried really hard to define what I think a fair deal would look like in this situation and here's the exact methodology, angles, and assumptions I came up with to do that. When I applied that methodology, here is the number I came up with. I'd love to hear your thoughts on that, or if you can think of any criticism or omissions in my assumptions or methods, or if you have any different methodology you'd like to consider, please let me know. Let's chat."

Usually when I go over all the different ways in which I have already considered their viewpoint, needs, benefits, and drawbacks, that's enough for a yes. Sometimes though, people will take issue with one of the assumptions or criteria and then we can debate about that, but the whole discussion at that point tends to already be framed on defining what fair is, rather that what they want, or what gripes they have with the opposing party.
> i can't help but wonder if today's tech gadgets that both work consistently, have beautifully polished ux and are geared towards consumption deny kids this kind of skill development opportunity.

Certainly the case. Watching inane youtube videos on an ipad won't teach you anything more about technology than being a couch potato in front of a TV. Using a technological artifact is not intrinsically educational.

I've heard plenty of stories about "I was a gamer and that's why I learned how to use computers", but those stories are from a time when getting a game to run required troubleshooting, finding and reading informational resources, etc. The iOS appstore isn't teaching any of this.
Would you care to mention such a book? In the unlikely event that I ever encounter an individual that would need it.
This article has nothing to do with "Full Self Driving".
I was team Lantastic. Still have the swag.
Thank you, this is good advice.
I still don't know what you're talking about. I didn't say anything about type safety? Nobody else did? I guess you're probably talking about a combinator API... Like this one: https://docs.rs/regex-syntax/latest/regex_syntax/hir/struct....

My original comment was talking about adding variables to the regex language itself. String interpolation and combinator APIs and enums and type safety are all beside the point. They surely solve a similar problem as regex variables in certain contexts, but they go about it in a very different way and are specific to the context in which the regex is created.
No you don't have to structure your project that way. You can have all your logic (views/functions) stay in a single file per, and use git like usual with the standard diff you are used to. Your changelog xml just needs to be setup for it.
Monkeys don't even have paws.
It was my understanding that the site itself was written in the framework, so if I have that experience while reading the docs, it's not a great selling point, right?

I can see we just have different expectations for a website, so I wish you all the best with your project
I lease a Tesla Model S and my app currently advertises all of this for "Full Self-Driving Capability": "Navigate on Autopilot", "Auto Lane Change", "Autopark", "Summon", "Smart Summon", "Traffic light and stop sign Sign Control", "Coming Soon: Autosteer on city streets" for a $15,000 upgrade.

There's a separate $6,000 "Enhanced Autopilot" upgrade option that covers the first five features ("Navigate on Autopilot" ... "Smart Summon").

That's all the detail I get. I presume that at least auto park and summon are unlocked immediately, because those worked on my previous leased Model S without being in a beta. The the first feature "Navigate on Autopilot", which is in both options, sounds like has to be an over-sell. How that doesn't imply autosteering is beyond me.
List Comprehension is just syntax for functional coding (filter, map) but a very good one!
Sorry for the tangent, but medium is so bad. Can’t read content without installing the app or logging in. Part of the reason I stopped writing on medium and jumped to Substack.
How on earth do you accept an order for X “units” without ever double checking what a unit means? Even if it was really individual bags, wouldn’t you at least want to know what weight the distributor expects?

They use the word “grift” so many times, but really it was just stupidity on their part. It’s your job to understand how the industry you are entering works.

The only grift is this fake sob story to get sympathy and get rid of excess inventory (and of course the internet ate it up).
Do you know any people who actually limit screen time, without making a bizarre exception for social media?