skysight-inc/HackerNews huggingface dataset:
Ask HN: How to host a personal website and not get shot in the face?
Attention-grabbing title.

What are the dos and don'ts when it comes to creating a public-facing personal website in terms of privacy, bandwidth and security (and what else there may be)? How do I make sure I won't get pwned? Can a static personal website get fucked over badly?

To be more specific: I've got a cheap droplet and $1 domain-name from Google and would like to put a personal blog on there. I am worried that by doing so I'm making myself a target in ways I would never expect.

There's unfortunately no proper landing ground on this topic from what I've seen (which doesn't try to convince me to buy into a hosting plan or using a specific static site generator).

Thank you.
Mastering React Context API in 2023
Wasn’t ever going to happen. The Germans were never even close.

https://en.wikipedia.org/wiki/German_nuclear_weapons_program
Exactly. What's even worse is that it takes a huge research grant to come up with this.

> With a new $1.2 million dollar grant from the National Science Foundation...
Didn't somebody prove the mov instruction is Turing-complete all by itself? I believe some code obfuscators actually take advantage of this.
Musk admits advertisers haven’t returned to Twitter, ad revenue down 50%
Tesla cars don't need a button to start
https://www.seriouseats.com/buttercreams-frosting

https://www.seriouseats.com/frostings-guide

The different kinds of buttercream are all amazing!

German buttercream is my comfy point in the effort-delicious matrix, as TFA says, it's so easy for how delicious it is.
The button was my go-to when I got a new car, I would defeat the lock cylinder without damaging the steering column, and place a button in a obscure spot to start my cars.
FIAT money.
Literally money printed out of nowhere, given at random for projects nobody really want or that should have failed, sucking out resources that would have instead been spent slowly in what people actually want, can afford and deserve.

Central banking is the number 1 polluter.
A friend had a car that required that you hold a magnet at a very specific spot in the back of the arm rest to be able to start ignition. Don't think he ever tried to valet that.
In real life, things are rarely zero-sum or have one correct answer.

Nearly all engineering is balancing different concerns - durability vs price, weight vs features, and so it goes.

Besides engineering, you also have game theory, political science, etc.
Yes, they probably want subsidies to remove the cable. Around here (VZ territory), they leave it to rot on the poles. Most of the area is on fiber now. If I walk around the block, I see broken copper cables, wires hanging out, squirrels nesting in the junctions, etc.
Making a really tight seam is its own problem-- ever encounter an old piano with keys that stick?
That is probably what I hate the most about today's technology.

"compiled a decade ago"

Listen here, kid. Two and a half decades ago I had Windows 95 and I could browse the Web, send and receive email (or fax!), play music, play videos (or movies), play games, use instant messaging, program in multiple languages, use databases, run a mail or Web server on my desktop, read and edit documents in formats such as doc, rtf, xls, ppt, pdf, xml, desktop publishing, view and edit images including high re photos, including porn of course, make international phone calls, and a few other things.

And every single Tcl/Tk script (cli or gui) I wrote two decades ago still run 100% unchanged.

If you refrain from using anything just because it was "compiled a decade ago" then you are a fool. Sadly, you are not alone. Far from it.
>It doesn't seem overly-cautious to wonder about lead placed under a water course 50 years to a century ago finding its way into the groundwater supply a half-mile away.

At that point wouldn't it be so diluted that it's basically indistinguishable from background levels?
I simply drive a manual - ultimate theft deterrent these days
> I think the keys are relatively common for those so maybe the thief has one.

I have a buddy who had an old Ford in San Francisco. Once in a while he'd get in the car in the morning and notice that it felt .... strange. He couldn't put a finger on it. Then one day he had to get to work a little early and showed up at his car much earlier than normal. He found a guy sleeping in his drivers seat. Needless to say, both were startled and the homeless dude ran off, leaving a big bunch of keys behind in a keychain. Those were "master" keys to get into a whole slew of older vehicles.
Exactly. Advertising revenue increases with more accurate consumer targeting. If you can show an ad of a product to a consumer who's most susceptible to make a purchase, at exactly the right time they need it, a sale is pretty much guaranteed. Currently advertisers spend millions on ad campaigns that have very low and innacurate conversion rates. The more they know about the potential consumer, the more their user data and thus a targeted ad is worth.

Microtargeting is a sickening trend enabled by adtech, but the fact it works much better than traditional ad campaigns is a reason advertisers would never want to go back.

And then there's the data broker market, which on its own is worth billions of dollars. This is an entire adjacent industry symbiotic with adtech. None of this is going away anytime soon.
You think Chrome has ~62% market share because ..Meets has blurred backgrounds ?

If anything, it is impressive how Chrome has managed to be the majority browser, given that by default we get Edge on Windows, Safari on MacOS/iOS and Firefox on Ubuntu.
Thus begins the spiral coming back to "physical" security vs abstracted tech. Imagine the sales of a new BMW M5... "Yup this baby has it all. Top of the line security. Worried the thieves will see your finger prints on the keypad no worries. Just manually hit the windshield 3x, run the blinkers so many times. Etc etc. And there she goes..."
300 Times a Day
Wikipedia dumps are publicly available, both from themselves and from the Internet archives.

There’s no “time or facility” constraint, only storage space.
It is a pop science magazine trope to wonder this. There is zero evidence for this.

A much more plausible speculation is that stone civilizations rose and fell that we don't know about. Cultivating crops among wild forest and domesticating animals that subsequently go feral is so much more likely to have happened in the time that Sapiens was physiologically modern.
Do you have a source for this claim? I don't understand how diversity and density would be opposed to one another.
> If you don't care about it, then pen and paper does seem to be ideal, but smartphones have a major advantage of portability.

For me, apps are a non-starter because I don't trust them to not collect and sell/exploit my personal info. Even if they insist there's zero telemetry collected because they don't care what types of tasks their users most often use the app for, a change of owner/management can change that situation without notice. The last place I want something like that is in the cloud.
> cancelled every company that ever hurt anyone with experimental drugs.

"This baby powder is an experimental drug and may have unknown and lethal side effects" - did it say this on the packaging?

If it did, fair play. Some people would be happy to try experimental and dangerous cure for cancer.

But somehow I have a suspicion that the potential market share for experimental and dangerous baby powder is about 0%.
Yes, you have heard this for months. It’s a progression that started in 2017. It’s a train moving very clearly in one direction and it’s not meandering or regressing, it’s advancing while most people aren’t paying attention. The UAP act this week basically assured disclosure in 2024 if it passes in the NDAA.
Granblue Fantasy Versus did similar stuff. It's Discord fighter by now... That locks creating room behind completing 5 matches against AI and 2 ranked matches against people.
Even if you just want to play with friends.
And in the worst case you can have module-private headers. No need to pollute your interface.
Plus DOS when the battery is exhausted after a couple of "turn lights on off, turn wipers on off".
> At some point, you need to have the mean to finance these services, so stagnating GDP is not that good.

Shouldn't a stagnating GDP translate to a stagnating quantity/quality of services? If things are getting worse while GDP stagnates, it appears that there is a gross mismanagement of the same amount of resources.

And I'd dare to say, that this mismanagement typically boils down to the privatization of (previously) predominantly publicly-operated sectors. A soon as the publicly-operated provider shuts down, profiteering starts.
Lol. I soldered in an alligator clip jumper wire for my friend to temporarily bypass the failing ignition switch and he left it like that, says he likes the sparking.
Cargo culting activities that improve mental or physical health in general.
Cython and pyyaml is breaking many builds
I struggled with the name of the post, sorry =/

Edit: I had originally wanted to go with something more dramatic like "cython and pyyaml breaks the python ecosystem" but decided on something more realistic. I have never seen a issue get upvoted so fast. In 40mins it had 100+ upvotes. Thought the HN community would enjoy a shortcut to the problem and the work-around fix.
Wikipedia doesn’t remove the old versions.

Otherwise you can find an archive there: https://archive.org/details/wikimediadownloads?and%5B%5D=sub...
And Jowett's translations are explicitly not recommended for anyone trying to study Plato's thought, which is what most people read Plato for (the same goes for all public domain translations of philosophy). At least with outdated translations of literature you can argue for some kind of added value: people don't read Chapman's or Pope's Homer for their accuracy. But philosophy is another matter.
>When you get a Google phone that already has Google's browser installed, and it works relatively well, why would you change?

I seem to recall Microsoft getting some unfavorable government attention when they did something similar in the 90s...
Why is this flagged? It's a position held by the majority of Americans and has been affirmed by public vote in places like California and San Francisco.

Who has their head so far in the sand that they are offended to see such a commonly held position stated
Security is always a trade-off. The most effective, and also most costly, way to avoid car theft is to not own a car at all (for example).
No, Grusch and the UAP act’s extensive citations of biological evidence.
there is pretty low overhead if you are opinionated - this is very similar to firecracker (AWS) tooling, so cut down hypervisor with ~ 0 devices, and a cut down guest OS means pretty quick boot times
West London is also the most expensive part, completely unaffordable for 95% of people. It's not a coincidence that the best amenities are there. Certainly not clear that you can have high amenity areas that are also affordable.
I think a lot of the XPS laptops are sold to executives that want an expensive machine for the optics but won’t do much more than basic office work with it. Those ones probably never call to complain about thermal management.

Meanwhile, I was trying to render video on mine and it was hitting 100C and blue screening constantly.
High security door keys commonly use magnets embedded in the key as an additional security layer. A lot harder to pick by hand, and also doesn't appear in photographs of the key.

For car keys manufacturers try to get away from physical keys for years, and for a remote keyfob it's just a cost question. Bidirectional communication allows for good cryptography with challenge-response protocol, but costs more than unidirectional. But then people want to be able to open their car when the battery of their fob is dead ...
So please name some of these extensive merits..

> reactionary agitprop.

Right...
For everyone who is saying "I have never had Covid and ...", given the high rate of asymptomatic spread - how do you know? Have you had a recent antibody test? Kinda fascinated to know.
Ask HN: Which are the best self study materials for learning mathematics?
If you have self learned any topic from mathematics either from books or from online courses, can you share a list of them and why do you think they are great?

There are such lists for CS but very few for mathematics.
A Comparative Perspective on AI Regulation
No, it's 100 people with 1 month each.
I know this at least used to be the case, but is it still? Using Safari, it seems like the GCP console has gotten far better in recent weeks, to the point that I no longer feel the need to reach for a Chromium browser.
I use neovim for my development. It has a bunch of plugins to facilitate using it as my primary code editor. I don't particularly enjoy typing things out over and over again (I have RSI) so to me a config that doesn't have things like autocomplete aren't going to be acceptable to me long term. LSP also makes it easier for autocomplete to function with the context of your development environment, which allows me to type even less.

I'm not going to sacrifice my 95% use case for the 5% of time (probably even less) that I am in a situation where I don't have access to my own config. If I am just editing a few lines in a config file on a server, it doesn't really matter that I don't have my config.

With that being said, not everyone wants or needs plugins and their needs are different from mine. Do what serves your needs. I would simply advise anyone to consider if their workflow is serving themselves or not. A lot of people get stuck in the mindset that they need to simplify in order to facilitate easy transitions to situations that just don't come up all that often.
I did similar, except wired into the ignition circuit and with the control being a little cheap ebay RFID thing with the sensor on the underside of the dash. I kept a little RFID tag on my keys, chuck my keys up onto the dash when i'm ready to go and the truck is started with a pushbutton. I also put a cheater switch in the glove box in case i forgot my RFID tags.

In my case it was motivated more by maintenance headache - the mechanical linkage that went from the ignition switch to the ignition control device at the base of the steering column was busted and I was too cheap to buy another one and it was a pain to replace.

Project trucks that nobody can drive but you are the best trucks, IMO.
>Or maybe inventing it for the purposes of killing people makes it immoral regardless of other possible applications.

this is the key. the atom bomb was made to kill people.

i also felt a mandate driven ie arm twisting people until they vaccinated themselves against covid was also immoral.
I was once told that you can buy on of those realistic baby doll and leave it on the back seat.
Commercial immobilizers do that, but with much more sophisticated technique than this amateur hour.

Mine sits straight near the car CPU and is protected by a metal box.
Automation exists so that is hardly a problem.

You are right, they are somewhat similar but the "why bother" attitude, same as with every startup doing support and documentation on discord.
Hayao Miyazaki’s How Do You Live is a beautiful relic – and the end of an era
This sounds like LinkedIn?

People pay X dollars to be able to spam your inbox.
This is the 2¢ solution to the problem... and usually doesn't even require you to pop the hood if the fuse is inside the car.
I remember the Web of the 1990s and early 2000s where there were plenty of sites operated by hobbyists and academics that had no ads at all. Of course, there were also e-commerce sites like eBay and Amazon that didn't have ads since their business models didn't rely on them.

The Web would look different without targeted ads, but not everything will be behind a paywall.
I also like Fagles, but when I said this to a classicist she made a face
This is the most absurd reasoning I've seen al week

"I am sorry, we cant imprison this murderer for life, what if he killed someone else and they need to sue him too, we can't i prison him for life twice!"
Baby's Second Garbage Collector
Hope you won't die in the process.

Like c'mon, I get there was a lore explanation behind saves but c'monnnnnn
> real life is not about solving puzzles

He says, before laying out the outline of the puzzle and giving suggestions on how to go about solving it

Everything can be about solving puzzles if you let it. Given enough time and patience you can understand anything - the only interesting question is, how to you decide what to focus on?

Navigating life is absolutely an exercise in puzzle solving, at every step you know where you’re at, you know where you want to be, and you know what resources are available to you - given all that, how do you plan your next step? If your first solution doesn’t work, you do a retro, learn your lessons, and move on to your second solution, and your third. It’s all engineering.
(But Py does have some nice features I miss in JS like generators and list/dict comp, making it overall nicer for data science type things.)
FTA: “What is more: An ASCII string is suitable input for the decompressor (which will return the exact same string, of course)”

At first, I thought that was giving up lots of valuable encoding space, as it would mean some ASCII strings can be encoded in multiple ways.

However, of the 256^n byte sequences of length n only 128^n are full-ASCII. That means the fraction is only 2^-n, and that goes to zero fairly rapidly as n increases.

In combination with the self imposed constraints of being a simple and fast compressor, it probably doesn’t matter.

What might matter, though, is that this encoder doesn’t round-trip in a decompress-compress cycle. That might cause issues in some use cases, for example, if you fuzz compressed data in testing and check such a decompress-compress cycle.

Also FTA: “If the buffer is not large enough for the output, the return value will be bufsize + 1. You might want to allocate a bigger output buffer”

That does surprise me. The convention in this kind of C API is to return a value that tells you how large the output buffer has to be to fit the compressed data.

That probably doesn’t matter much, though. The compressor guarantees that you won’t need more than twice the input size, and that will be small if you use the library for its intended purpose.
Short answer is different roles. F22 is specifically an air superiority platform, which is why only the Air Force has it. F35 is a multi role platform and a lot of its value comes from its ability to communicate with the infra surround its roles.
I hate to come off as rude here, but America is probably the absolute last first world country to do anything to protect its citizens from the open market. If this is surprising to you, you aren't paying much attention.
I have a shed in my backyard that contains a hobby electronics workbench. A couple of years ago, I could swear that I was going through through hole 104 capacitors faster than I could reconcile.

Around this time I noticed that a vent hole in the side of the shed was uncovered, and likely had been for some time, which I fixed.

A few months later I was doing a good spring cleaning, and I found in the eaves of the shed a nest made mostly of long pine needles (from outside the shed), but with a substantial spattering of through-hole components too!

A bird had found the broken vent, and made a home in the shed using whatever ‘sticks’ were handy to build its nest. Unfortunately I probably blocked it off from its home when I repaired the vent. I’m glad to say no eggs or dead baby chicks were in it when I found it…
> After all, when you're thinking hard you're burning extra calories.

When I think really hard, I get depressed that can't solve the problem and binge eat junk food for comfort.
Most locks on most residential facilities are not about security so much as a "tamper evident" seal for insurance purposes.
It sounds like they're suing them now.
Love how this shows the value of search and retrieval augmented generation! Perfectly shows the value of Weaviate's AutoCut, Re-Rankers, and Hybrid Rank Fusion feature. (:
Agree with everyone and then do what you think is right anyways.
I reject your premise.

I switched from Firefox to Vivaldi about 18 months ago because (mobile) Firefox scrolling would stutter on site like the New York Times, and it would force reload inactive tabs when I went back to them. On desktop I wanted the "reading list" and mail client of Vivaldi.

Firefox (or NYT) seems to have fixed the stuttering scroll on mobile. Multi account containers on Firefox are an incredible isolation mechanism that needs a little bit of UX refinement.

I'm probably switching back to FF for beta testing before cutting my defaults back to it.
How is this the most costly way?
In Germany the "default" buttercream is butter+pudding.

Funny how different countries refer to food.
This may be an artifact of where I live, but most rural areas have always had a centralized city (post office, bar, church), and the vast majority of folks who called that village/city their home lived miles away from it on their farms.

Horses and carriages were a practical requirement, since walking all day one way to visit the grocer was unrealistic.
To be fair, it started out as a set of ML notes and code snippets to piece together LLM applications. Its popularity resulted in more feature requests and contributions later on. Without a good up-front architecture (or spending time thinking about it), no wonder it starts making creaking noise.

My personal preference is Llama Index by Jerry Liu. It excels at clearer docs + better abstraction.
So, couldn't it be that the authors of the paper ran the model with a random tie break and got lucky? This blog post seems to assume they had the "rand" flag deactivated. Please correct me if I am wrong.
given the temperature of the oceans these days, that might be true
(1) if one day a nuke was used to deflect an asteroid and save the entire planet, would that then outweigh any deaths caused by nukes and ottenheimer would be a hero rather than a villain? That's a tricky road to go down.

(2) as is trying to focus on intent. Do you want to risk absolving Hitler or Pol Pot because they thought they were making the world a better place?
My grandmother has a toaster from 1958 that has the smoothest glide function I have ever witnessed on a toaster.

The toast doesn't pop up, it floats up, quietly. You have to pay attention to is so your toast doesn't go cold because it is so stealthy.

It broke after a few years of use way back in the day, roughly 1960 or so, as the story goes) and my granddad fixed it, losing a few screws from the toaster in the process, but it has worked for 63 years since its repair without a single fault or flaw.

I can guarantee that this is an entirely mechanical toaster, analogue only, no chips or ASICs involved, and no toaster you can get your hands on in the great wild world will toast better toast more elegantly than this one.
I mean, sure. Corruption exists. But the that's another issue entirely. Your comment doesn't add to the question of the GP - "does the existence of edge cases make implementing a law extremely difficult?" The answer is no. You could probably outline all the exceptions and applications of such a law in a few pages.