skysight-inc/HackerNews huggingface dataset:
> Bernie Sanders has three times as many houses as I do.

He has an estimated net worth of $3M. He is 82 years old and makes $174K a year. Even if he made substantially less than $174K (adjusted downward for inflation) before he became a representative in 1991, he can benefit from compound interest just like the rest of us. Hell, I have been investing for slightly less than 33 years myself and I have a substantially similar net worth, and for a good part my early career I definitely was not making the salary of a congressman. Hell, it hasn't even been all that many years since I started making more than a congressman made in 1992.

It's more surprising that $3M is all he's got. If I keep working until I'm 82, I should be deep into 8 digits of net worth. God I love compound interest. I hope my kids are listening enough of the time when I talk about it.
Example: reading a file line-by-line. You don’t, can’t, know how big a line is. Your best option is to allocate some random chunk of memory, like 4 kilobytes, read 4 kilobytes from the file into memory, and see if you happened across a newline in there. If you did, shuffle everything around a little / realloc / ringbuffer shenanigans; do your favourite. If you didn’t, make the buffer bigger (by 1.5x? 2x? Log2x?), and try again.

This dance is super common with variable length protocols over unframed streams - ie, most things over tcp. So this is an exceptionally common pattern in IO operations.

Other common times this pattern happens: finding all items in a list that satisfy a predicate; tracking items a user has added to an interface; cycle detection in graphs; …
Yeah I'm done trying to help this person understand the differences between Gits and CRDTs. They're being intentionally difficult by redefining CRDTs to "what Git does" rather than evaluating Git against the properties a CRDT is defined to have.
You can track them internally (pass through in process/request flow), but have 2 version of logs: pii and non-pii, and store pii in pii logs, with much stricter access restrictions. This alone considerably mitigates problem, as often you don't need details like userid to troubleshoot.
Another memory from the terrible South Korean Internet is how the national banks required customers to log in using Internet Explorer because of mandatory ActiveX blobs of code.
6-paragraph text post can’t show due to a database connection. Come on guys.
You don't need a lot, just something lined up on the correct axis with enough engines and fuel to slow the station down enough to fall out of orbit. The station has its own propulsion (on Zvezda & Zarya, I believe) even with most of its station keeping being down by Progress etc. There's no reason they couldn't loft something with an F9 (23t to LEO) or maybe FH (64t to LEO). With the fact that it's going to burn up in atmo anyways, you can strip a lot out of the existing cargo dragon.

You can slowly deorbit anything with enough time/fuel. It's just a matter of how fast NASA wants to make it happen to assure it lands in a specific spot and doesn't breakup too much while still in "orbit" (see also: atmo + solar panels).

According to https://forum.nasaspaceflight.com/index.php?action=dlattach;... (PDF)

> The deorbit vehicle will need to provide at least 3236 N thrust to hit the target
delta-v within a 60-minute time period.

Each Draco on Dragon can deliver 400N, there are 16, that's 6400N. So unless I've missed some math somewhere, a Dragon could do the deorbit. Ignoring the fact that they probably haven't burned those engines for an hour. Also fuel required for that manuver.
Hey, a whole class of "political commentators" like Hasanabi have made whole careers off reframing every possible conversation around the braindead regurgitation of "America bad".

And internet echo chambers are so bad that it substitutes for thoughtful commentary.
TCP over onemillioncheckboxes.com?
yes, and maybe xkl still makes pdp-10s, and kv10 may be ready soon. not sure what happened to conroy's pdp-10/x hdl. but there is value in artifacts too
> Ideally we could leave it derelict

Not possible. The ISS is in a low enough orbit that it experiences atmospheric drag and requires periodic reboosts to keep it where it is. Left alone, it'll deorbit on its own, potentially over a populated area.
>I'm asserting they have zero effect on climate change

This argument makes zero sense.

We know that the cattle produce methane via digestion. We know that methane is released into the atmosphere. We know that methane is a greenhouse gas. Thus, we know that these cattle, cattle that would otherwise not exist, are contributing to climate change.

This is a trivially demonstrable argument. The idea that you doubt it means that you are, at best, somehow deeply confused the relationship between GHG emission and climate change in general.
Yeah it's a bit of a stretch at the moment.

But the books also just have interesting descriptions of life in her imagined dystopian post- and pre-apocalyptic society.

It does seem sometimes that things are moving in such a direction, but the details of her "speculative fiction" might not match.

For me it was Ozempic recently, that reminded me of the trilogy's pre-apocalyptic society.
I hope to see it happen, mostly because they seem to have the right ideas in place at least.

In contrast, consider “Mountain House”, the similarly-located ridiculous “new town” that consists of literally nothing but single family homes. If it gets to exist, then why not this one? At least the California Forever people have a plan for trying to make it walkable.
No one expects Elon timelines to actually happen. Also, the other option is... Boeing? And they're doing SPECTACULARLY well right now. In Space, on a plane. If it's Boeing, you're better off not going.
Cases where the exact buffer size doesn't matter are ubiquitous, for example:

* read a file(-like) in streaming mode. Whenever the buffer is empty, fill it. The actual allocated size does not matter at all for most kinds of file.

* push objects onto a vector when the capacity is used up, reallocate at a larger size and keep pushing. The actual allocated capacity doesn't matter at any point.

* implement a bloom filter for approximate set membership. If the allocator happens to give you a little more than your mathematical estimation for the chances you want, you might as well use it.

In fact, I dare say: every allocation size that is neither `0` or `sizeof(T)` doesn't fundamentally care about the size (a given implementation may care, but if the standard bothered to implement useful new functionality we would change the implementations).

This is unlike, say, my desire for skewed-alignment allocators, which is but not particularly useful for most programs.
Still cheaper than the Baltimore Bridge
And let me add that this kind of attitude towards hard to make, well written desktop software makes me think people like you and the OP deserve every single one of the online-only Electron monstrosities on your desktop.
They are made for each other. NASA's not so good with their Artemis schedule either.
You can create something and have it be colonised too.
I think the author is also working on an amazing voxel physics engine : https://libgenis.net
Are you able to recommend any particular low end machines to have a look at in this space?
I had the same thought, i'm very confused about the details of the attacks.

As an ISP if they detect you doing it, and they control DNS servers, maybe they mark your account for death, and they could like randomly hijack you going to google.com to some download for malware, and unsuspecting user clicks accept? Not sure, i'm curious how they pulled this off.
A log aggregation store that can’t handle deletes in 2024 is a product that shouldn’t be utilized. GDPR and similar redaction laws are not new.

Efficient or fast is not a requirement for GDPR, so it can happen slowly and in the background just fine.
"The team used mice that develop a form of Alzheimer's. They exposed these mice to bursts of sound and light that occurred 40 times a second.

The stimulation induced brain waves in the animals that occurred at the same, slow frequency.

Tests showed that the waves increased the flow of clean cerebrospinal fluid into the brain and the flow of dirty fluid out of the brain. They also showed that the fluid was carrying amyloid, the substance that builds up in the brains of Alzheimer's patients."

Does this mean we might be able to use something like TMS instead of sleeping?

And could a failure or reduced functioning in this system explain those people "allergic" to electromagnetic radiation?
> Makes me wonder where this myth of "good Korean internet" even came from if everything ends up so bandwidth constrained.

It is not a myth! A decade ago, though. I would still consider it is "good" in terms of objective metrics, but other countries have since caught up.

> Is it because all the customers and services are in the same city so it appears low latency?

No, because it would only apply to a quarter of the entire population of South Korea if it were true.
I think blaming the US every time a developing nation screws up is a little bit of a tired trope.
No and no.

* At the time its decommissioned it will be over 30 years old, well past it's original planned lifespan.

* It was never designed for orbital maneuvers with that much delta-v.

* Due to how adjusting orbits works, it would require about as much energy to move it into such a different orbit as it would to just ship a new one from Earth. This is even more true when you consider we would have to ship all the fuel into orbit to perform the orbit shift.
According to wikipedia maybe:

Government of Luis Arce: 2020 - present

On 8 November 2020, Luis Arce was sworn in as President of Bolivia alongside his Vice President David Choquehuanca.[103] In February 2021, the Arce government returned an amount of around $351 million to the IMF. This comprised a loan of $327 million taken out by the interim government in April 2020 and interest of around $24 million. The government said it returned the loan to protect Bolivia's economic sovereignty and because the conditions attached to the loan were unacceptable.[95]
Mind providing a source? (Tried to Google it but didn’t find any relevant info.)

I can think of multiple situations where a vendor from SK has left things unpatched for months, and sometimes years..
Your W2 is sent to the irs from your employer, so them not matching would cause a giant red flag
At one point they planned on using ion thrusters to try and keep the ISS in a stable orbit. I wonder how many it would take to push it into a graveyard orbit? Most of the energy for ion thrusters comes from solar, which the ISS has plenty of.
“Likely” is not a diagnosis. And no meds either, just thinking good thoughts was all you needed?
If you want to think that then that's fine by me. Would be interesting to see the usage of Naver in 2001 versus Google in 2001 in terms of percentage of local population. (even if Google had 3 years head start)

Yahoo was before Google and Japan has been on Yahoo forever. Yahoo is American but they engorged on it in Japan.

Google is just a copy of a copy.

Koreans and Japanese were definitely ahead of the West in both phone and internet uptake.
They’re going to enter mars atmosphere with a full payload at a faster speed so I think it could handle it.
For perspective, the ISS is currently orbiting at 400km altitude. Typical graveyard orbits are just beyond geostationary, so lets call it 36500km.

Orbits get somewhat emptier beyond 2500km altitude, but you'd still risk spent rocket stages or defunct satellites hitting the ISS if you don't go all the way out beyond geostationary. Maybe you can stay at lower orbits if you dock a vehicle that can provide thrust for obstacle avoidance even after the main station powers off.
Getting there. Do you go outside?
So after 4 months, the company would lose more than their entire revenue?
Wild pig indicates formerly domestic pig that has gotten out and gone feral (which happens super quick in pigs) while boar are those swine that have either remained wild or are a generation or two removed from domesticated swine so as to be indistinguishable.
Did not know of this plugin but my life changed when I realized that pressing ALT+<key> registers as pressing Esc then pressing the key. Therefore in insert mode I just do ALT+I to go to start of line, ALT+A to go to end of line, ALT+o / ALT+O are also useful
A deorbit would create a huge amount of chemicals in the atmosphere that are very harmful to the ozone layer. It might be worth sending up a few more rockets to give a big enough push to send the ISS into the sun (along with said rockets).

https://www.space.com/starlink-satellite-reentry-ozone-deple...

https://www.space.com/deorbiting-impact-on-earth-atmosphere-...
What a Century (Plus a Pandemic) Does to Moviegoing and Why It Matters
lol, that's a good design goal
You don't think compensation is the bigger issue?
No one ever understands how far (in energy) different places (orbits, its all orbits) in space are and what that implies about moving stuff from one to the other.
Title should be: GCC's new (2022) fortification level... ;)
I don't think they're saying that properly prepared pork is a threat. I think they're saying that they don't trust themselves to do it perfectly correctly every single time.
>Also fuel required for that manuver.

Ah yes, that pesky detail of the rocket equation.
> I don’t know about the battery life as mine hasn’t been useful enough yet to last

Mine doesn't even last as a glorified spotify controller mostly chilling in idle.

> for $200 I’m not expecting edge compute

What _are_ you expecting then? The hardware doesn't let you replace your phone and it isn't more convenient either. Pixel phones respond to "OK Google" faster than you can press this thing's button.
Canonical will build Docker images and fix critical CVEs within 24h for 12+yrs
Full title: ‘Everything LTS’ – Canonical will build distroless Docker images to customer spec that include upstream components not packaged in Ubuntu, and fix critical CVEs within 24 hours, supported on RHEL, Ubuntu, VMware or public cloud K8s for 12+ years.
Though I am admittedly an AI pessimist, as regards your penultimate paragraph, I think AI evangelists would argue that the aforementioned technology may offer a pathway to the new paradigm that you allude to.

What consistently goes unremarked upon, however, is the massive political “realignment” (a polite term for revolution) that the proliferation of AI may lead to in the not-so distant future. Disruption and likely violence that may, at best, lead to such a “new vision” for human existence.
Right, because public transit cleanliness beats Taxis, Ubers, and Waymos.
How easy is it to integrate this with Sinatra?
Ubuntu/Kubuntu are my go to still. Snap isn't great, but you don't really have to use it if you don't want to.
Correct. I'm just noting that Cloudflare's mission to keep the internet secure doesn't make them a "safe bet" for any given company, no more so than any other provider.
The 24h timeline sounds very tight. I wonder how much they'll be able to stick to it.
Lately? HN is a forum derived from an American company and promoting Silicon Valley culture. Most of the points of view of everything (not only politics) are strongly skewed towards American culture and beliefs. I would find it surprising if it was different .
It's a shame this has to happen. I always hope that something could be salvaged and used for Lunar Gateway, or... something. It's still my hope that NASA uses the remaining return trips to bring back as many "souvenirs" as possible. The unfortunate reality is that it probably doesn't make sense to do anything with the station other than de-orbit, with the declining costs and the age of whats up there.

When ISS was lofted the cost to get into space was crazy high. 1981 Space Shuttle was $65k per KG to LEO. Falcon 9 is somewhere in the range of $2500 per KG to LEO. Falcon Heavy is even less than that at around $1000 per KG to LEO. It wouldn't surprise me if Starship is even cheaper.

So why spend millions of dollars trying to "save a buck" on components when you can launch newer/better/stronger/lighter (ex: Sierra Space's LIFE Hab) for orders of magnitude cheaper than you could "back in the day".
> Raise it a bit to a parking orbit

That's not “a bit” and the fact that it’s the ISS and not a typical satellite is among the reasons it is impractical.
Hi zdw, do you know why the url was changed?
I really like this pattern and have been using it in the rewrite for vdirsyncer.

One nice advantage is that an application can show me the whole plan for me to review before executing it. This is basically what terraform did too.

This pattern also makes coding and testing much much easier.
South Korean internet had been one of the best and fast network in the world; especially up to the point before KT was privatized. After privatization, three internet service providers have been focusing on exploiting profits, not on making better and faster network infrastructure because they don't have to.
You’ll be deep into 12 digits if inflation continues. And that’s if we somehow manage to avoid stagnation
Interested tidbit of historical information.
12 tones are not arbitrary, and it's no wonder pretty much any other note system mostly fits in. Musicians all over the world mostly made the bad career move and migrated to the western note system.

There seems to be just one sort of vibe in microtonal music for me, the discomfort vibe.
South Korea at least used to have blazingly fast internet infrastructure. Of course that didn't make up for shitty banking websites that you could only use by running Internet Explorer and allowing it to install "security plugins" that hook into Windows kernel, but at least the internet was fast, and it did give Korea an edge for its IT industry.

That was, I think, about twenty years ago.

I've been living in the US for 10+ years so I'm not very well informed, but basically the ISP industry ended up in an oligopoly where everybody's friends with the government, and they kept raising prices while neglecting infra upgrade. Until nobody can call Korea's internet "fast" any more.

Now all we've got is shitty websites. (To be fair, they are somewhat less shitty now... you can now access your banking websites on Mac!)
Timely article for me, since I'm thinking of using channels in a real-world application for the first time.
How can I pump? 3 months from now I should dump.
if you're foregoing proper preparation almost any food will kill you.
> According to the news report, KT said it directly planted the malware on its customers that use Webhard’s Grid Service, as it was a malicious program and that “it had no choice but to control it.”

Looks like the major ISP and some cloud service provider are having some kind of ridiculous fight, and they're using their customers' computers as the battlefield. I'd be pretty disgusted if I were a customer.
i'm a little rusty wrt facts at my fingertips, but broadly speaking (i'm using "you" to mean program author, but that entails sometimes being a program's victim):

when you want a program to get everything the keyboard sends (which means the program will have to handle everything the keyboard sends), your program needs to put your tty into "raw-mode". If you want the operating system to handle things like backspace or left-arrow to correct typos, instead of putting it into raw mode, your program just leaves it with the default in what-came-to-be-called "cooked mode"; cooked mode generally means a line will be sent at a time after ENTER, instead of char by char as keys are pressed (note, this is not the same as half and full duplex, though it is related).

Programs can be linked to use readline to read, while the rest of the program can be written as if the tty is in cooked mode; readline will handle the raw mode. Upon receiving characters typed and an ENT, readline will send cooked lines

If your program is getting char by char in raw mode, you need to realize that some keys don't send single chars, they send a series of chars, generally an "escape sequence", both because the sequence needs to be escaped, and also because the sequences escape with the ESC key-char.

you can get into weird modes where the ESC chars get swallowed but the rest of the key-chars pass through. That's what you are seeing when you see letters get typed but not interpreted as arrow key movements. if your keyboard is persistently screwed up, you can use stty to reset it, or if you are really fancy, set it the way your non-functioning program expects it to be set.
No. Pretty much all game animals eat a ton of non-organic agricultural products, so you couldn’t label them organic.
Mars has less gravity and less atmosphere, so its not a comparable situation.
Credentialism isn't really bullshit. For any decent entry-level job there will be an enormous surplus of applicants (elite overproduction). It isn't practical to evaluate them all in detail, the hiring managers simply don't have time. So they fall back on simple, somewhat arbitrary factors like educational degrees, school rankings, and GPA. It's imperfect but what else can work at scale?
Famous HN hug of death
I haven't had the pleasure to visit this specific museum, but I did manage to visit https://www.homecomputermuseum.nl/en/ in my native country of The Netherlands on my last trip to Europe, and it's a real gem, also allowing hands-on interaction. I also "adopted" my first PC.

(for those familiar with The Netherlands, it's located in Helmond)
Show HN: A SaaS to build forms and collect them in Google sheet
Hi Mohsin here, a 24-year-old from Pakistan.

So I was creating an anime blog on WordPress for my side hustle, (Don't Judge Me I am doing whatever so I don't have to do a job in this 3rd country). As I was building this blog it was time to add a newsletter, Just like in any good website.

But the process was a pain and I intended to have multiple websites on WordPress, there must be a human way of doing this.

So mainjoy was born out of my own itch, I am already using it on my personal website and on my WordPress anime blog. So I thought why not convert this into a saas,

Simply with Mainjoy you can build a form that collects names and emails by default you can add custom fields if you want and you get a button that you can copy and paste into your website HTML, That's it you can collect forms in your Google sheet.

I would love to know what you guys think and if should i work on this in the future.
Related SUSE upgrades its distros with 19 years of support (65 points, 6 days ago, 30 comments) https://news.ycombinator.com/item?id=40742764
Provenance might be used as justification now but the actual rules are simpler and stricter. After freeing (or reallocing) a pointer, the application must not inspect the pointer value anymore. Even `new_pointer == old_pointer` is not allowed.

IIRC, one justification for this was to account for systems with non-flat memory where inspecting the value of the old pointer might cause a processor exception.
It would be interesting if there was a global grid and market for (hopefully clean) energy so that a joule of energy could be sold anywhere instantaneously, just like any other commodity. This would allow countries to quickly power up without even building a power plant. It would also allow large base load power stations (like nuclear) to have permanent demand.

Of course there are technical challenges of building out UHVDC everywhere. This probably means a joule isn’t perfectly fungible.

Perhaps Europe’s problem was being overly reliant on only one supplier.