skysight-inc/HackerNews huggingface dataset:
Kate is a lovely editor. I wrote about half of Designing Sound with
Kate before switching to Emacs near the end (to better handle code
integration). What I appreciate is the ability to have a pane of files
open and very quickly cut and paste between them.

Even though I am a baptised and confirmed Emacs disciple, I still
never find the buffer orientation quite maps to files the way I want.
Kate hit that sweet-spot in a file based workflow,
It might be interesting also to consider why people with less money tend to be generous by nature and wave off small debts on account of a culture of mutual support. Bret Deveraux in the series about farming[1] has the insight that ancient and medieval subsistence farming operated at the absolute limit of survival on purpose, for the simple reason that any possible surplus would be taken away anyway by the tax collector and his henchmen to finance the king's endless wars. That's why the area of cultivated land for instance was kept at or near the absolute minimum.

This had the result that a single farmer was not able to cumulate any kind of a buffer of surplus against a lean year. As a countermeasure the subsistence farmers developed a culture of mutual help and solidarity, where it simply was not socially acceptable not to help the neighbor, who had lost their crops. As long as at least some of the members of the community had a decent yield, the whole community survived.

Reading this was very eye opening to me and it at least sounded plausible. ACOUP is often mentioned here, deservedly. This was one of the best gems I have found.

[1] https://acoup.blog/2020/07/24/collections-bread-how-did-they...
Encrypted DNS resolvers aren't trivial[0] for the ~99% of people who don't even know what they are, though.

[0] https://news.ycombinator.com/item?id=8863
There's a pretty big challenge, which is that you aren't turning off a grid at all -just particular transmission lines. Your typical power flows rely on those lines being up, and without them strange conditions can occur. Its sometimes just as bad to have an unusually lightly loaded line as it is to have an overloaded line. Lightly loaded lines with lots of generation end up messing up line voltages due to capacitive loading. You can end up having to shut down a line or taking other remedial action like shutting down generation because not enough power is flowing through a line.
Self-driving night buses on streets of Seoul [video]
Not really. These APIs are useful, but they’re still too primitive to make a dent in library usage. To do that you need things like highly capable “batteries included” (yet easily customizable) widgets and the more generally applicable parts of React (or similar) implemented as browser APIs, so for the majority use case few or no third party libraries or layers are necessary.

The end goal here would be to have a basic reactive UI development toolkit complete with a full spread of ready to use widgets with nothing but a plain text editor and a browser.

That won’t meet everybody’s needs of course, but even those still using third party libs would benefit since things like React could be lightweight “sugar” libraries built on the browser APIs instead of hulking behemoths with a fractal spiral of dependencies.
Warp Factory: numerical toolkit for analyzing warp drive spacetimes
Docs: https://applied-physics.gitbook.io/warp-factory

Commentary from Sabine: https://backreaction.blogspot.com/2024/04/warp-drives-new-si...
Since Redis is an in-memory cache, and already doesn't guarantee the data, would it make sense to set PRAGMA SYNCHRONOUS on nalgeon to OFF to boost performance to something closer to standard Redis?
https://archive.is/ug4an
This works a bit https://web.archive.org/web/20240414193245/nytimes.com/2024/...
Wouldn’t switching to something like Cloudflare’s 1.1.1.1 DNS mostly solve the DNS issue without going the VPN route? The user’s DNS provider would no longer be their ISP.
The overwhelming C++ priority beating both safety and performance, often to the consternation of the performance people, is backwards compatibility with dusty archaic code. If it was written by somebody whose funeral was last century, WG21 thinks it's important that it still compiles in your C++ 23 compiler whenever you get one of those. Not crucial. Not so that they actually defined the language sensibly to avoid compatibility problems, but important enough to trump mere performance or safety concerns.

Last century move didn't exist. The terrible C++ move (which is basically an actual "destructive move" plus a default create step) was invented for C++ 11 which was, as the name suggests, standardised only in 2011.

So back then everybody is using copy assignment semantics. Your compiler might be smart enough, especially for trivial cases, to spot the cheap way to deliver the required semantics, but it might not especially as things get tricky (e.g. a std::vector of std::list) and semantically it's definitely a copy, not a move.

As a result the "non-move" that you're astonished by is how all C++ code last century was written, the semantics you're just assuming as necessary didn't even exist in ISO C++ 98 and it is considered important that such code still works.
renting a car - better rate if you are local.
By the way, I noticed you're using SetMaxConnections(1), however in WAL mode (which you're using) SQLite does support writes that don't block reads, so you might benefit from allowing read concurrency (in theory).
Deblank Colors: Quick, customizable AI powered color palettes
Create customizable color palette with AI. visualize your colors on useful mockups.
I recently switched from windows to mac os for both work and personal use. Once I discovered I can have the same level of window and vm management and on mac os I was pretty satisfied. I have no reason to fire up windows save for a couple work tasks. Everything is bette
You aren't backing up your Mac Pro to this.
How do you achieve the same things without AI here using that tool?
Appreciate the feedback! You're totally right, that paragraph is a bit of a mix of what we want it to be down the line (when it's feature-complete for enterprise) and what we have right now (which should be enough for startups, especially B2C, but not everyone).

I've edited the paragraph a little to reflect that. Hopefully, at some point in the future we can really say "all the features" ;)

In the end, you've recognized correctly that we see ourselves as an open-source company first and foremost.
Mortgage interest is tax deductible, for one thing.
I believe at least one of the business models for "free" VPNs is to turn their users machines into exit nodes, and the real business is in selling those to people who want to spread their traffic across many residential IPs for usually dubious reasons (e.g. scalpers trying to scoop up concert tickets or limited edition sneakers or whatever without tripping bot detection).
Author is correct that TOR has better privacy than a better VPN because TOR means you are truly anonymous (assuming the network is not majority compromised).

However, bandwidth and latency on TOR suck, and in many cases the endpoint IPs are blacklisted to hell due to abuse. A VPN is a nice middle ground where your can put another entity between yourself and your traffic, which is valuable against most opportunist adversaries. If a TLA wants me and can get a warrant, not even TOR will save me, but a VPN keeps the ISP from selling my traffic and the media trolls from sending me grumpy letters because the neighbors keep using my wifi to watch free content.
Or even [1]. They also made dedicated keyboards for this one [2].

[1]: https://en.m.wikipedia.org/wiki/APL_(programming_language)
[2]: https://www.keyboardco.com/product-images/ibm_model_m_beige_...
My dotfiles for some productivity hacks - https://github.com/vs4vijay/dotfiles/blob/master/.zshrc
I only have 16 cores. Linux, windows and macOS already load about 50+ processes at startup. If we moved shared libraries into their own processes, we’d be talking hundreds or thousands of processes running all the time. They don’t get a core each.

But, if you’re interested in this architecture, smalltalk did something similar. Fire up a smalltalk vm and play around!
Is it possible that most terrorist groups understand the cost/benefit trade off? In other words, if you have folks capable of designing and/or assembling a nuclear device, those aren’t people you just throw away.

I understand that terrorists don’t value lives highly, but you don’t see experienced bombmakers actually conducting suicide attacks for a reason. They’re valuable alive.
My loans are paid off, and I'm getting the message that higher education is probably too expensive here. What sort of message are you getting?
I remember hearing this story on the Joe Rogan podcast. I was so astonished, I could not believe it until I looked it up myself.
Everyone is pointing out that the article shoots itself in the foot by giving three very good reasons for VPNs and dismissing them. But I think there's a fourth reason that isn't mentioned:

The US doesn't have reasonable privacy laws and I don't trust my VPN to not sell my browsing history to anybody with two pennies to rub together.

Yeah, I can (and do) use DNS over HTTP, but the ISP still knows what IPs I am connecting too. It's trivial to find out what domains are hosted there.
Switches are crazy expensive but optics are easily available... here's a 400G for less than $500

https://www.fs.com/products/110530.html

200G switches are about the cost of a small car, but if your buying this thing that is probably not a showstopper:

https://www.wiredzone.com/shop/product/10023793-supermicro-s...
Doesn't Firefox default to eDNS these days? I don't think it can get much more trivial than that
An issue is that they're sold as a way to stop your ISP tracking what you're doing.

But why would I trust a random company with this information over an ISP, who yes aren't always angels, but at least are somewhat accountable.
A lot of people have VPNs for single temporary reasons.

* In the Bible Belt (a.k.a. Chistianstan) and some Muslim countries it is to access porn.

* In Canada and Mexico is about accessing what Netflix doesn't provide to their countries.

* In hybrid offices it is about the second job that they do remote and hidden.

They want something simple for a couple of months and then just discard it. VPNs are good for that.
It's not that alien. We recently migrated to a different storage provider and used something like this to move 200TB of data. Seems like a fancier version of the Google transfer appliance (https://cloud.google.com/transfer-appliance/docs/4.0/overvie...).
Author linked to privacytools.io.

>even better, a browser built with privacy in mind

which is full of VPN ads https://www.privacytools.io/privacy-vpn. Browse https://www.privacyguides.org/en/vpn/ better.
Not as many as you'd think. Chrome's automatic update a decade and a half ago really changed the game from when folks had to manually upgrade. IE 11 installs are getting real small and typically have enterprise IT teams to help them out.

I'm sure there's some poor souls out there still using Windows XP, best wishes to them, but I'm not devoting any engineering hours on their behalf. Just like folks running a 57 Chevy, you're welcome to it, but you're responsible for its maintenance, upkeep, and road-worthiness from here on out. If that's how you want to spend your time, all the best. Just don't go complaining that the Bluetooth doesn't work.
I also made one like this a while back, you can extract to markdown, html, text or PDF. I found pages that are the straight tool are very hard to SEO-position since there's not a lot of text/content on the page, even if the tool could be very useful. Feedback welcome:

https://content-parser.com/

These are all "wrappers around readability" AFAIK (including mine), which is the Mozilla project to make sites look clean and I use often.
An article about startup employee stock options that doesn't mention the effect of liquidation prefs and only mentions dilution extremely briefly is really missing a huge amount of what anyone needs to actually value stock options. On a quick scan this doesn't look terrible [1], although it's focussed on the founder's perspective rather than the employee's.

[1] https://www.joinarc.com/guides/liquidation-preferences
Any more, I'd rather they just gave me lottery tickets. My payout rate has been the same.
That’s a bit like saying you know C++ but not streams or templates, or C but not floating point operations. It’s probably worth learning STL.

Anyway, the reason to use move instead of copy is for performance. Move constructors are faster because they can leave the source object modified (e.g., take over control of a pointer to deep contents). This falls apart when the move constructor can throw, because the container might be part way through a resize when this happens, leaving the object before the exception modified and the code in an unrecoverable state.

Basically, unless we can be super duper 100% certain we’re going to make it through the operation without throwing an exception, we’re going to copy, leaving the objects in question in an unaltered state, and holding to the promises of the standard.
I wonder if American cities with stand your ground laws have the same problem. Seems like an actually legitimate application
Yep, HN is definitely not the article's target audience.
Could be used for data migration between providers, like an AWS Snowball. https://aws.amazon.com/getting-started/projects/migrate-peta...

Or for selling the user-created content entrusted to your company, to a company doing ML training. (The metal "briefcase" suggests doing it like an illicit trafficker exchange, maybe meeting in the middle of a bridge, or in an abandoned industrial site.)
This has parallels to Roe v Wade in the US. The 14th amendment states that:

[...] nor shall any State deprive any person of life, liberty, or property, without due process of law.

which is interpreted as guaranteeing a "right to privacy" which was then interpreted as including the right to have an abortion.

Personally, I agree with both results, but not the process, since they're both judicial overreach.
Jim Gray talked about this idea in an ACM Queue interview in 2001 [1] calling it a TeraScale SneakerNet box:

Another option is to send whole computers. I’ve been sending NTFS disks (the Windows file system format), and not every Linux system can read NTFS. So lately I’m sending complete computers. We’re now into the 2-terabyte realm, so we can’t actually send a single disk; we need to send a bunch of disks. It’s convenient to send them packaged inside a metal box that just happens to have a processor in it. I know this sounds crazy—but you get an NFS or CIFS server and most people can just plug the thing into the wall and into the network and then copy the data.

[1] https://queue.acm.org/detail.cfm?id=864078
Unfortunately it's probably not meant for long-term storage, and thus they may be using the highest density flash available, which means relatively short retention.
I wonder if there was a conversion between HDR and standard image format to make the images look so dark, I'm not too familiar with this technology.
Would DiskCache work for you? Runs via SQLite memory or persisted file database. Thread safe, has various expiration controls, etc.

https://grantjenks.com/docs/diskcache/tutorial.html
AI will be applied to every possible thing it can be.
A word for it is "sehnsucht".
I just noticed newlines are rendered on Algolia: https://hn.algolia.com/?query=regex%20feed%20periods&type=co...
This can be useful when people attempt bullet point lists

Anyway is this comment a reference to the domain? I don't understand what you mean
VPN or not, the biggest MiTM threat to privacy on the web is Google. They may not be actively malicious and steal your bank info, or do other nefarious stuff, but they will always oppose end-end encryption. Google's stance is to lock out the competition under the guise of "protecting" users, so only they can spy on user data.
Haha Spain and Italy are like: rules are stupid and there to be broken
His style of leadership was what a good captain should be. Kind, caring, patient with everyone but also personally set and expected a higher standard. Mistakes were opportunities to learn, and you never felt belittled.
He was the kind of person that was the first to show up and the last to leave and knew every part of the business as if he had done it, and was busy but always had time for people and knew there names.

He was a leader not a manager or supervisor, a trait I’ve found common among military people.

He took cleanliness and safety seriously from the navy and applied that to the store, the store staff vacuumed and cleaned the store as it was his and we took pride in it from top to bottom and he lead workplace safety efforts very early on.

He ran the store like a family, and he shined his boots every morning.
Please write a section of a history book from the future, writing about the 2024 US presidential election and its fallout. Assume that Biden and Trump are the Democratic and Republican nominees respectively, and that there are no significant third-party candidates (unlike, say, Ross Perot in 1992). Include the result of key battleground states and subsequent events going through the end of January 2025.

---

Chapter 12: The 2024 U.S. Presidential Election and Its Aftermath

...

Election Night Drama
As the polls closed on November 5, 2024, the nation braced for a potentially prolonged count, reminiscent of 2020. However, results came in more swiftly this time. Florida, with its 30 electoral votes, was one of the first battlegrounds to declare, swinging in favor of Trump by a narrow margin. However, Biden captured Michigan and Wisconsin, states that were critical to his path to 270 electoral votes.

The turning point came with Pennsylvania. After a tense night of counting, Biden was declared the winner of the state by a slim margin. This victory secured his position beyond the required 270 electoral votes and effectively clinched his re-election.

The Results
President Biden's re-election was characterized by a deeply divided national vote, reflective of the entrenched partisan divide. The final electoral tally stood at 286 for Biden and 252 for Trump.

Post-Election Turmoil and Transition
The aftermath of the election was fraught with tension. Allegations of voting irregularities were promptly raised by Trump and his supporters, leading to a series of legal challenges. However, these claims were largely dismissed in court due to insufficient evidence, mirroring the post-2020 election landscape.

...

---

But if we'd run this in April 2016, would it have had Hillary winning?
Show HN: I built TUI for Alertmanager
I've built a terminal user interface application for alertmanager and would really appreciate any feedback.
Hospitals are terribly unhealthy places to be: stress, broken sleep, weird temperature and queer air, noise, light, sedentary, theft, viruses and bacteria, removal of choice, domineering doctors and nurses, drugging, and worse. A necessary evil, but much of the system is more evil than necessary.

Mental hospitals are even more unhealthy: violence, rape, threats, stress, forced submission, locked away from all comfort and familiarity, no family, no love, the vulnerable learning from completely whacko inmates (worse than YouTube LOL), trusting insane people, can't trust nurses or doctors. I try to always look after my friends and family. I would admit them into "professional" care only as a last resort: the mental health environments are dangerously toxic.

Hospitals are great places to meet people though. Deep intimacy is wonderful for getting to know people and we don't get many opportunities for knowing people properly. And usually an eclectic mixture of backgrounds - which I enjoy.
You mean like vibrating massagers?

Did you know the original vibrator was a medical device by doctors to automate treatment of Hysteria?
Or shard it - divide your objects up based on some criteria (hash the name of the object, use the first N digits of the hash to assign to a shard), and distribute them across multiple redis instances. Yes, you then need to maintain some client code to pick the right redis instance to fetch from, but you can now pick the most $/memory efficient instance types to run redis, and you don't have to worry about introducing disk read latency and the edge cases that brings with it.

Edit: looks like redis has some built-in support for data sharding when used as a cluster (https://redis.io/docs/latest/commands/cluster-shards/) - I haven't used that, so not sure how easy it is to apply, and exactly what you'd have to change.
Day 4 :D

Re: "stochastic" flawless copy pasta from Google but a Markov chain is still an example of a (finite) state machine and is not itself an implementation of anything.

ngram Language Models are an implementation though, and is not a competing concept:

With a language model, you could talk about "a three word Markov chain" or you can simply say "a trigram". You can say "A Markov chain of variable length" or you can say "an ngram". That is all that is meant regarding those 2.

If a Markov assumption is that you can predict the next word based on knowing all the previous words, then a bigram assumption would be that you can predict the next word based on the previous 1 word. A trigram assumption is that you can predict a word with 2 previous words, because they're all 3 part of the same trigram.

More from Stanford on language models (LM):

> "Models that assign probabilities to sequences of words are called language models or LMs. In this chapter we introduce the simplest model that assigns probabilities to sentences and sequences of words, the n-gram."

> "Markov models are the class of probabilistic models that assume we can predict the probability of some future unit without looking too far into the past. We can generalize the bigram (which looks one word into the past) to the trigram (which looks two words into the past) and thus to the n-gram."

https://web.stanford.edu/~jurafsky/slp3/old_jan23/3.pdf

Looking forward to your next comment!
My cat alerted me to a DDoS attack
Good to know. I didn’t know the contest has no limit on hyperthread.
No, you will find quite extensive social studies done on this, weirdly with usually no echo in the press. One that had echo was that they gave 10k to a selection of people, and those had to choose wether or not to share those 10k with a random someone they didn't know. The amount shared diminished the more wealthy people are.

Other studies are done on wealthy people, and it was also found that self made men where way more generous than nepo babies. Which is coherent with the monopoly study: people with unfair advantages tends to fall deep into the fondamental attribution error.
Explosives-filled shipwreck has safety work delayed as objects found
Ad blocking is personal infosec!
Curious about the choice to send requests with WebSocket connections instead of just plain old POST forms. This precludes anyone with javascript disabled from using any of these sites. I don't think there's anything in the business logic preventing it
Although i agree with the overall message, there are privacy concerns with OCSP[1] which are mitigated by using a VPN. When trying to use the web privacy conscious, it might actually be beneficial to your privacy. This is a very edge case though.

[1] https://en.wikipedia.org/wiki/Online_Certificate_Status_Prot...
Fuck that is a good domain name
You Need to Pay Better Attention
The CEO is an employee of the board. From a non-profit perspective that’s no different than spending $20 million on a building.
Minstrelsy? Pretendianism? Xenophilia? Autobiographical mythomania? Media addiction?

edit: weeaboo?
Until they determine what it is?
I buy them so I can have country specific ips
At that point why using Redis entirely? You can use any DBMS you want, either relational or NoSQL. The advantage of Redis is that it is a memory cache, if you take out the memory from it, just use Postgres or whatever DBMS you are using (I say Postgres because it has all the features of Redis).