skysight-inc/HackerNews huggingface dataset:
IP addresses can be spoofed. So you’d need some kind of handshake to verify you are the owner of that IP. Which is going to be tough to complete if your network is completely saturated from the DDoS in progress.

I do think your idea has merit though. But it’s still a long way from being a well thought-out solution.
I got curious and did this myself. Needed a bit of nudging to get where I wanted, but I even had it make an Electron wrapper:

https://chat.openai.com/share/29d695e6-7f23-4f03-b2be-29b7c9...
Academic research on user perception of different book recommender systems
Calling all book lovers!

Are you passionate about reading and curious about how technology can enhance your book recommendations? We invite you to take part in our exciting study on "User Perception of Book Recommender Systems." Your valuable insights will help us understand how these systems can better cater to your reading preferences.

Participating is easy and will only take a few minutes of your time. Click the link below to share your thoughts and help shape the future of book recommendations. Your input matters, and together, we can make reading even more enjoyable!

Join the study here: https://bookrec-3nre.onrender.com

Thank you for being a part of this research endeavor. Happy reading!
Nethack or code? You decide
As a tourist who just spent a week there, you either want to use your phone (though this is a bit harder with Android than iPhone AFAIK. All iPhones just work, only some Android devices do.) or get a passmo passport which works for the trains, but not anything else the IC cards work for.

I ignored the names and worked purely off the station numbers, knowing that my hotel was on the chiyoda line, and google maps.
Or ask the competitors to flip the coin in a manner they doesn’t allow for skill, like put it in a Yahtzee cup and toss from there.
Although the prose is beautiful, the word lovingkindness has a different meaning. It was an English word invented to translate hesed in Hebrew into English. The Word of God, esp in King James Bible, uses this word to explain how God loves His chosen people.

https://www.compellingtruth.org/lovingkindness.html

We are undeserving, evil people who deserve justice for our sins. Instead, God offers us a chance to repent and follow Him out of pure grace. He makes a covenant backed by His own name. Within that covenant, He preserves us in eternal life forever while using us to His glory in this life. If we fall, He’ll discipline us but never let us go. That’s out of His love and character.

This undeserved grace for those following Jesus Christ is what the Bible calls hesed, or lovingkindness.
Ask HN: Running Python code in Rust using RustPython
Hi!

I am currently considering moving a framework I built from Python to Rust to make it faster and take advantage of all the Rust safe features.
However, one of my requirements is to still allow users to use Python code, thus, I was thinking about using RustPython for that.
I have been doing basic experiment but I would like to ask if anyone has done that before, and the limitations you found on the road.
I have read somewhere that RustPython now seems to support pip packages, but I am also not sure about the limitations of it.

Thanks in advance
Most of the commit is changing indentation for the outer `if`... the core of the fix is `!doc->HasFocus(IgnoreErrors())`

Bug squashed!
If I were to dig through my comment history I would find I have already responded to this exact sort of comment before, so let me regurgitate :)

If the coin is resting on your hand waiting to be flipped, it is currently mid-way through being on side up. This is because the switch between being e.g. heads up to tails up is done when the coin is vertical. If it isn't a clear explanation, try imagining catching the coin and "flattening" it at different angles, while 50% of angles will match either side, at the moment the coin is flipped, it is already half-way through the angles representing the current side.

This means that the correct sequence you describe it not THTHTH but rather THHTTHHTTHH. Taken at even intervals, both sides will appear the same number of times. Taken at odd intervals, at half of the intervals there are more Ts and the other half have more Hs.
Could be different sets of people actually!

However. It will eventually, chunk by chunk, upload the full source code of the app you are writing. Complete with all typos and mis-pastes. Like youtube blocks videos with just a hint of copyrighted music, they may be able to detect use of "patented" algos or something like that and block you/ send a lawyer/etc.
SSDs with YMTC Flash Prone to Failure? Check Your SSDs
Yes, but cloud providers share that protection over all customers. Someone hosting their own websites needs the same level of protection just for themselves.

DDoS is really the only thing that you can't host yourself on your own machines in today's internet.
> Let's go back to username and password. 2FA forces scammers to up their game.

Let's do it. It works for the website you're using right now. 2FA was in large part motivated by limiting bot accounts and getting customers phone number.

I can't imagine how much productivity the economy loses every day due to 2FA.
Stating a opinion and calling out stupid comments (that later got edited to make them less stupid) is not "flamebait". How about you stop shadow-banning people?

If anything the OP of this thread was "unsubstantive" and "flamebait".

And if "Most stories about politics ... are probably off-topic" WTF is this bullshit? What is "probably". Who decides what "Political ... or other stories are not for this site and what are? This is so typical tech vague BS. There are political stories that have absolutely nothing to do with tech posted here on a daily basis, nobody respects or understands this stupid guideline. They all just tell themselves "my political story is totally not off-topic for HN" because the guidelines are so vague.
If it becomes this easy to block traffic couldn't malicious applications really mess up a user by spamming out reject packets for common IP?
I agree with all of what you said but having known Jim Whitehurst, he’s a guy who’s die hard about culture. Fixing the anxiety from within and giving people the space is what he’s known for. Whether he makes the right strategic decisions is up to him but if you have read anything from him you’ll know he seeks to improve excellence within to then champion externally. He did this with Red Hat before IBM. His book, The Open Organization is still relevant.
Excel showed me tooltips’ shadows on other desktops. Took me a few minutes to figure it out!
It is like saying effective spam filters are bad for email as a distributed system.

It's the spam that killed email, not the filters.
Profit is more important than revenue.
DNS is a small protocol and is abused by DDoS actors worldwide for relay attacks.
You are not wrong, but as always, reality is more nuanced than assigning utilities to a game. Russia would benefit in two ways:

a) Sending a message about capabilities and willingness to attack infrastructure (in NATO countries!),

b) Sowing distrust and misinformation (see e.g. Hersh article and US-Germany relations).

If you believe (big if!) Hersh's single source was a Russian asset, then b) worked wonderfully.

Overall I'm with you, current evidence doesn't point towards Russia.
You learn a lot more from generating an analytical solution than a simulation, so it's usually worth at least taking a stab at it analytically before jumping to monte carlo methods.
Hey HN! Myself and several members of the Polar Signals team have been long time Observability ecosystem maintainers of projects such as Prometheus, Thanos, Cortex, Kubernetes and many more. In 2018 we read the "Google-Wide Profiling" paper and immediately realized we have to treat profiling just like any other Observability data, by systematically and comprehensively collecting it for our entire infrastructure and applications and store that throughout time.

At the same time eBPF was on the rise and it was a match made in heaven, we can provide an incredible user experience without requiring any code changes, and all our users need to do is deploy an agent (a single command to run against a Kubernetes cluster), and we can profile just about any popular language (and those that we can't profile yet we have on the roadmap). Not only does eBPF get us an incredible user experience, it also allows us to collect this data at never-before-seen low overhead (<1%) since we can grab exactly the data we need and nothing more.

In addition to that we built a custom columnar database to back this product to allow a Prometheus-style label-based query language to work on this very high cardinality data.

In a world where the economics of Moore's Law have already stagnated, everyone is going to have to learn to build more efficient software, and the root of all evil performance optimizations are those that are not based on measurements.

We're going to be hanging out in the comments all day, so please feel free to ask us any questions you might have, as well as any feedback you have for us!
Netflix themselves have moved off falcor though

https://netflixtechblog.com/migrating-netflix-to-graphql-saf...
Ok, but that's not shocking or amusing because that's the already-known archaeological situation of the pre-Roman Levant understood by anybody who was paying attention and didn't have an ethno-supremacist or religious axe to grind?

There were probably dozens of different West Semitic speaking cultures/groupings, with plenty of cultural mixing. Hebrew (and Aramaic) speakers were only one of many in the region, all with competing claims over grazing and growing lands, etc. The Bible basically alludes to this all over.

What you have there is the stories of various fragments of it that distilled into more or less powerful tribal federations and, eventually, kingdoms. Told from their vantage, because the others did not commit theirs to writing.

And by the 3rd or 4th century AD, all West Semitic languages had basically gone functionally (but not liturgically) extinct, but the cultural and religious traditions of one of them tenaciously held on through the diaspora.
Outrageous. They should have used the well-paid, high social status and totally legal Central Americans who normally do construction in New Jersey amirite?

Actually knowing how corrupt the construction industry is around here I would not be shocked if there was funny business going on. By the same token, shakedowns by “community activists” are also a thing. So who knows? Let the courts figure it out.
Global symmetries like translation or rotation are simple and follow from the isoprophy of space: it's basically the same everywhere.

No symmetry is much harder to explain: there'd have to a casual event history to explain why i.e. where's all the anti-matter, a real example? How come energy is conserved there not here (which never happens for all intents and purposes)

In my read Vopson tries to make is sound more mystical than it is.

Also let's not confuse the description of the thing (the menu if you will) with the thing (the meal). An algorithmic compression like take on physics is an grand abstraction.
You can't run a national "$5 footlong" or "dollar menu" national ad campaign if some states charge taxes on prepared food and some don't, and of those states that charge taxes, some require tax inclusive pricing and some don't. Tax-inclusive pricing isn't something that can be solved with a state law.
You can send thousands of such Request+RST to an Apache httpd per connection, but it will only work on 2 of them at a time.

We are an old server. You have to be nice to us before we do more for you. -.-
7 Popular Self-Discipline Quotes Explained
Wow thanks for sharing this!
> Giving $100M was trivial for him to do.

So? Expecting altruism to the point of self-sacrifice is narcissistic and selfish. I can appreciate however why humans have evolved to foster altruistic attitudes. The problem is that people with less affable personality types often manipulate, abuse or control such altruism, which is dangerous, counterproductive and inhumane.
I don't know this authoritatively, but I believe vim uses a simple array internally. And it works well.
Correction, the media query should have been:

@media (prefers-color-scheme: dark) {
:root {
--light: ; --dark:initial;
}
}

Missed the selector.
> It's the same reason why you probably don't need RAID on a computer with one or two disks

No, it is not "the same reason"

Disks have ECC, even consumer hard drives have checksummed blocks, that's how you get media errors detected. RAM does not. Well, technically with DDR5 it has internal one but it does not give any feedback to the machine so you might not know your RAM has any problems.

> It's why you don't need an automatic fire suppression system in or homelab

But you want smoke sensors. ECC is the smoke sensor too

> That, and most memory problems in PCs tend to be from dodgy overclocking or just bad sticks rather than cosmic rays. ECC won't really save you from that.

But it will tell you the problem

Very ignorant take
You can’t.
If your webserver receives 400m rps it dies, end if story.

Mitigations are just that, mitigations. They are as effective as buying a better door lock to protect your apartment from a nuke.
Exactly. Who’s going to say no to revenue?
No. It’s not.

The only time that’s true is if your revenues are flat year over year.
GitHub’s CoPilot is the most disappointing of AI products out there.
Android would not work anyways unless you have local phone or modified firmware as the FeliCa is usually disabled by default otherwise.
Not only was it clear but it's the approach that popped into my head immediately while reading the article.
It's widely forgotten but the Nord Stream attackers actually messed up and missed the Nord Stream 2B pipe, so in fact to this day Germany is refusing gas delivery.

The B pipe of Nord Stream 2, meanwhile, wasn't harmed at all – and could easily be put into use even today. But why did the perpetrators leave one of the four pipes undamaged? There are some indications that the saboteurs confused the A and B pipes of Nord Stream 2 in the darkness and unintentionally attacked the same pipe twice.

https://www.spiegel.de/international/europe/investigating-th...
All discussions of generic types seem to end at recursive types “type T[P T[P]]”.

I don’t know if Go has an equivalent “super” operator, but in Java you can define:

class Type<T extends Type<? super T>>

Which puts an upper and lower bound on T. It has some interesting behavior with inheritance but I haven’t found it discussed anywhere.
Most issues with car don't matter for driving, till it catches on fire or crashes due to catastrophic failure. Why ever go to mechanic ?
That is their problem. Maybe the price needs to go up if you don't secure all your devices as the ISP is going to send a tech to your house. Or maybe the ISP has deep enough pockets to find a sue those cheap IOT device makers for not being secure thus funding their tech support team.
It makes sense if Russians were contractually required to deliver the gas, but couldn't benefit from it due to sanctions.
No separate linters needed, but details differ between compilers.

GCC has a warning in the '-Wextra' warning set, Clang requires the explicit option `-Wimplicit-fallthrough', MSVC is completely silent (apparently it's in the CppCoreCheck rules though).

This should really be in the default warning set with an annotation that the fallthrough is intended (unless the case-branch is completely empty).
I don't understand why there is a need or requirement to induce any kind of suffering.
Seconded! With pandoc, you'll probably be able to establish a workflow where you can go from markdown to epub and also from the same markdown to a web-ready html and a print-ready html. You can then use weasyprint to go from the print-ready html to pdf. You can convert epub into azw for kindle using calibre, or use the epub to get into the various store ecosystems using the proprietary tools that come with those.
>On the other hand, not one person I know who used to pirate Photoshop, has ever then personally paid for it once they started making money. (Their employer often did, though.)

Hi! Nice to meet you. With the much derided (on HN) monthly plan, I have been paying for Photoshop (and its cohorts) for my own personal use without an employer paying for it. I even have a paid for version of Office. In fact, I no longer have any software illicitly obtained. It's either a fully paid version or something offered for free. Why? Because I can afford it in direct counter to your argument.
As did attackers, how many years has http/2 been around?
This has been true for 20+ years. The biggest pirates are also the biggest spenders on content.

All the crying about piracy is greed: nothing more, nothing less.

These media cartels are going the way of the dinosaur anyway, both with AI generation supplanting them in the next decade (Alexa, generate a crossover episode of SVU and the X-Files), and 'piracy' being normalized with each new generation.
I would love for Copilot to receive lsp information together with the raw code, I think that could already provide it with enough context, especially in strongly typed codebases.
I have mixed feeling on this. On the one hand, sometimes it's able to guess correctly and save me a couple of seconds, up to half a minute I think. On the other hand, very often it's completely wrong, so I needed to constantly verify the suggestions and I found out it interrupted my flow and in the end I'd code faster without it.
Nothing to elaborate, a brave HN user just needed to finally take a stance and let everyone on the English speaking internet know they agree with one of the most popular opinions on the English speaking internet.
The most frequent case would be increment by 1, so:

for (I=0;I<N;I+=1)

versus

for I from 0 to N do
I've actually had the opposite happen to me several times - of trying to get Copilot to help me fix something I wrote that isn't quite working, and instead of giving me an alternative solution, it just returns my bad code.
The current situation of gaming with Apple computers makes complete sense.
Most of the people dedicated to playing games on their computer will at least want to upgrade the occasional part from time to time to keep up, which is impossible when everything is soldered together.

It simply has never been a decent platform for games, bar some mobile ports, due to its closeness.
As a proof the math is entirely sufficient, but for those who may struggle with it the simulation is persuasive.
Ha, if logical inconsistencies could "flip the scripture" the world would be very different place than it is...
OK, I believe that you are right and if implicit dereferencing had been done only when this is the only interpretation that leads to a valid expression, then "->" would not have been necessary.

However, I assume that this would have been a too complex solution for compilers that had to work in a few tens of kilobytes of memory, while a postfix "*", as already used a decade before C, would have been a trivial solution.
> We are undeserving, evil people who deserve justice for our sins.

I'm not an evil person.
+1.

Also IntelliJ/IDEA is fantastic for asciidoc editing...
> One clear conclusion is that modern popular concepts of human racial and ethnic groups have little connection with the actual biological-genetic history of individual modern humans, they're mostly artificial (which is why claims about 'race-based biological weapons' are nonsense, for example).

This isn't really clear at all and there is plenty of evidence to the contrary. For example, consumer DNA testing pretty reliably agrees with self-reported genealogical claims. Race has become a loaded word, but we understand population genetics pretty well and the effects of long periods of genetic isolation between different population groups are very much measurable.

The claim that it's impossible to develop a bioweapon that targets some genomic pattern that's common in descendants of some formerly long term isolated population and uncommon in others doesn't appear well-supported. In fact, nature already did this herself, as is well attested by the introduction of Eurasian diseases to the Americas.
> After all, a 8x8 matrix multiplication is just four of the smaller 4x4 matrix multiplications

Isn't it 8 of them? That's why you can't go the other way around and use your 8x8 multiplier to efficiently multiply 4x4s in parallel.
Firebird 5.0 Release Candidate 1 is available for testing
Thank you, I was looking for something like this for my Spanish
In less words, it’s DDoS attackers that make the internet a worst place
Yes, and as the second coin carries no information (because we are focusing now on sets of two different consecutive outcomes) both your and JvN's protocols are equivalent.
continue.dev can complete code as well, but it is not a mere code completion plugin like copilot, it is more like an interactive chatbot where you can edit and talk about parts of the code which you have selected.

for mere code completion there is this: https://github.com/FarisHijazi/PrivateGitHubCopilot

but I haven't tested it.
So you’re basically trying to say that it is not possible to build a city bigger than Munich.

Tokyo is a city that is both

* bigger than Munich and

* more affordable for low-income residents than Munich.
This is awesome, thanks for sharing.

Do you (or anyone) know of any products that allow for iterating on the generated output through further chatting with the ai? What I mean, is that each subsequent prompt here either generated a new whole output, or new chunks to add to the output. Ideally, whether generating code or prose, I’d want to keep prompting about the generated output and the AI further modifies the existing output until it’s refined to the degree I want it.

Or is that effectively what Copilot/cursor do and I’m just a bad operator?
> How came that usually privacy-minded hn crowd

HN has never been a privacy-minded crowd. It's been a collection of random people, and depending on the threads of topic, you'll get more people speaking out than others. See the Dropbox post from 2007. Nary a privacy concern. HN isn't a single voice.

Why do you think it's a privacy-minded crowd? Because you probably react and respond to similar posts, and you see people with a like-mind there.

> How came that usually privacy-minded hn crowd uses run-by-someone-else models so cheerfully and carelessly?

Let's answer this question: they probably aren't doing it carelessly. Consider that Copilot is run by Microsoft, who owns GitHub and your code already. So, they already have the code. I'm not sending them something they don't already have.

Anyways, when I see something I didn't expect to see on HN, my initial thought isn't how it's wrong, but rather, what am I missing? And rather than post an antagonistic question, I instead try to research more to get a better understanding of what I'm missing.
I don’t know of anyone who has such a negative experience as this. But also I don’t know many people who are such snobs about the bitrate of the movies they watch. With that said I imagine you skip all but the last step and are just trying to rationalize why you do so.
I’m glad that it’s helpful as someone who works on making the fMRI and media displays on MRI machines work. I’m glad that my software work has made that a bearable process for your daughter and other kids.
Community yes. Government protection no. When was the last time you heard of police stopping a break-in or making a successful investigation ?

Independent of police, in bad communities your neighbors are willing to break in. In good communities they don't.
Clang actually doesn't warn in -Wextra:

https://www.godbolt.org/z/99ejvY9Pc

It requires the separate option -Wimplicit-fallthrough:

https://www.godbolt.org/z/GP576zG9h

(which tbh sounds like a bug, because usually Clang tries to emulate GCC behaviour)