skysight-inc/HackerNews huggingface dataset:
I tend to start DRYing up my code after five usages. I think it's a balance that has kept me away from the unnecessary complexity, although the Gateway drug is real- I catch myself wanting to DRY early now and then
Right, Money was around for a while, but it had no investor portfolio tooling for a while. They tried a couple of things, but eventually just used the ActiveX object to give them "insta-portfolio!".

Money was pretty impressive: easier to use than Quicken, but powerful in a lot of places that Quicken just struggled. Quicken couldn't figure out if it was an accounting package or a personal finance tool, while Money (and a few others) drilled down on real money solutions. My wife was a holdout for a long time as well, asking me to find ways to keep it running on each new system I installed in the house.
Thanks for the thought-provoking article. I think I agree with the conclusions even if the analogy isn't perfect. The connotations of under-utilization or over-provision are often negative - particularly in management - but I think as you point out are necessary in order to provide any sort of quality of service.

Qualitatively/subjectively, when I think about the times I've worked as an engineer in an "always busy" environment, I believe that I was often less productive - it's like you need space to breathe. It was certainly less rewarding as it was never possible to be as responsive as you'd like to requests.
yes, India
The World Needs Uncles, Too
Came here to say preact is pretty nice and the no build pipeline thing is wonderful.

I needed to make a little thing "with a few screens" once, and using a react-like model of rendering specific components based on state just felt right. But I really didn't want to get all the CLI and front end packages involved because it was such a small thing -- and preact was exactly the ticket!
When I hear “DRY”, I think of Django with its Models, ModelForms, etc., not enterprise Java where every piece of functionality is hidden behind 15 levels of indirection.
There's ways to reduce your risk in this sort of thing. The reason why people come after individuals is because BitTorrent is an insanely risky system. The achilles heel of P2P is that it has no privacy whatsoever, so whoever wants to extort[0] individual pirates can do so.

However, direct-download sites generally do not confer risk onto their users in the same way. Even if the site gets taken down or sued, copyright owners generally don't care about following their logs to find individual downloaders. While they still probably can be sued[1], there's no reason for a legitimate party to do so. At that point the copyright holder got what they wanted, and marching down to everyone in the server logs' house to make sure they delete their infringing movies is absolutely stupid.

For the same reason I've never liked the idea of "P2P YouTube alternatives". People rightfully complain about how they mishandle anything related to copyright, and they do, but the alternative is having every copyright holder with a chip on their shoulder financially cripple anyone who watched a video they didn't like.

[0] Legal scholars will probably object to my use of the word "extort". Yes, if you have a legal claim for relief then threatening to sue for it is not extortion, it's just the law. However, the only way to actually make antipiracy enforcement at an individual level not financially crippling is to cross the line into actual extortion. The Prenda Law and Strike 3 Holdings incidents are good examples of how easy it is to do so.

[1] The law is actually somewhat ambiguous on where the infringement actually is when you download something. I used to think "uploading equals infringement", but there's been some court opinions arguing that either both uploading and downloading are infringements, or that they infringe different parts of copyright. Nobody's bothered to prosecute a direct-download pirate to the point where this matters.

Of course there's also Japan which has a law that explicitly makes mere downloading infringing. There be dragons.
Seeing as they pass through the acid in your stomach (and will denature there, which is the point of your stomach) you must be primarily worried about any of the bits before that. These enzymes are made to go in your mouth. If they dissolved the tissues in there they wouldn't be appropriate for that, so this is not a concern.
Just so I am clear, if you want to be a validator, you need ~32,000 USD? Seems like that is out of reach for most people.
https://picocss.com/ is another option for a "classless" CSS
> I'm quite firmly in back end development.

What languages / platforms are you familiar with?

For example, if you do a lot of C#, you could look at Blazor. Server-side Blazor isn't 100% simple; but if you're already doing C#, it's very easy to learn. (In-browser Blazor compilers C# to WASM, Server-side Blazor sends all mouse clicks over a websocket and gets back partial HTML updates. It (server-side) has a bit of latency, but because all state is in the server, you can keep your implementation simple.)

There's also a similar thing for Java, but I can't remember the name at the moment.
Which is how the system works. 109% of people can not run NK txs if they decide to. It is totally democratic.
We have no idea what the alternate histories would look like. We can guess - yours is a reasonable guess - but it is all guesses. I can come up with reasons thing would things went far worse, and if you think a little you should be able to as well - they may be somewhat unlikely, but that is all the more we can say.

What we do know is where we are today: Russia is not playing nice with the world despite our attempts to have beneficial economic exchanges. Would the not play nice with USSR scenarios be worse - we have no real idea.
It's not a drop in the bucket if you are living somewhere close, is the point, if I understood correctly.
I'm actually surprised that he has resigned (but apparently not left) and wonder if its misdirection as he plots a way back in. If there's a lesson that the last years have taught politicians, it seems to be that if you just violate norms, never admit defeat, and never back down and just ride things out, you can get away with an awful lot.

Edit to add an interesting article about who might replace him: https://www.axios.com/2022/07/06/uk-prime-minister-johnson-r...
I absolutely agree we should build infrastructure that allows people within oppressive regimes options with which they can resist, escape and co-ordinate.

Which is why this infrastructure, which is clearly designed to empower those regimes, is bad. Are North Koreans using crypto-currencies? Maybe, it doesn't seem like it. Is the North Korean regime using crypto-currencies? Absolutely, we repeatedly see the North Korean regime stealing, laundering and transferring crypto.

You're advocating for a theoretical possibility of helping dissidents to defend the actual reality which is that crypto is a tool of oppressive regimes.
Codegen is great for lots of sync between client and server (I just wish there were more standardized tools), but what if it's a complex algorithm that you need to be able to perform both client and server side, assuming they use different languages?
If I can be a little too honest here, I will admit that I just don't like making programs that are too simple. I can make an extremely simple program... But it doesn't feel good. I know there will be limitations to that simplicity, and I want to make functions that do things, and combine those functions, and let them override things, and pass state, transform state, etc. Making it complex just feels better.

I actually stand outside my body and watch myself make it more complex, and think, "Ugh, this is more complex than it needs to be, I should make this simpler. But I don't want to." I continue and hope that a refactor will make it less embarrassingly complicated.
lecuna (noun): An empty space in a list of citations where the works of Jürgen Schmidhuber should appear.
> since before you were born

Color TV didn't exist when I was born (or VCRs).

Your remark makes me think you don't know what you're talking about and just assume things without thinking for yourself.
It would be much scarier if it was decreasing or staying flat, though.
i'm a bit confused, do we need to know the nitty gritty details of how Math.random() is written, or that it will reliably give us a random double?
OT but why did you move back?
I had been using arrays the way I'd use vectors in c++ or arrays in matlab. For DSP type tasks you typically allocate a tensor on the heap, the size can be constant and even hardcoded, which allows lots of optimization. But when I modified the nbody implementation from the benchmark game from tuples to arrays for the position and velocity vectors it went from 5.3s to 3min+. That was with specifying the type and initializing them as part of a struct all at once.... And I just realized my mistake, everytime I made a new struct it was allocating a new array with all the overhead that entails. Simply ditching the structs for a single array and allowing them to mutate would have been more idiomatic to the way I use matlab and it would have avoided all that reallocation.
I respectfully disagree. While some cryptographic primitives are surely based on some sound math, building cryptographic systems is very hard, and when built, they ane not generally proven to be correct.
Some attacks involve influencing source of randomness, whereas proofs simply assume random unguessable numbers, for example. You correctly mention unintended degradation, that is another pretty serious concern, but even when built first, most systems are incorrect, faulty and unsafe.

Proving systems to be correct in computer science is far from settled matter.
Sorry, I've already disposed of them. I probably would be hesitant anyway since they are tied to my LLC and I'm sure, based on the stack of documents I signed, I could have gotten in a lot of trouble giving them away.
I don't know how you decided where to draw that line.

Tourism for the masses started in the 1800s. https://en.wikipedia.org/wiki/Tourism#Mass_tourism .

Atlantic City was a popular tourist city in the 1920s. https://en.wikipedia.org/wiki/Atlantic_City,_New_Jersey#Proh...

In the UK at the same time, Blackpool "claimed around eight million visitors per year, three times as many as its nearest British rivals, still drawn largely from the mill towns of East Lancashire and the West Riding of Yorkshire." https://en.wikipedia.org/wiki/Blackpool#Towards_the_present

My grandparents drove their entire family to the Grand Canyon back in the 1950s, and they were farmers/blue collar workers.
And it made me notice that StackOverflow has a banner on top. I literally have never known there was a search bar up there.

I think more than ignoring banners, we've become really good at just focusing at the content div. A bit like the Reader Mode in your browser.
Is VPN usage not common in HK as it in in China?
It's bidirectional and difference in governance absolutely produces differences in economies. After all, the economy is based on incentives, so when incentives change, so do economies.

In Why Nations Fail there was a great example of how certain sub-Saharan African peoples didn't use plows for agriculture. The Europeans assumed it was because they were unsophisticated but actually it was because their king taxed them in such a way as to leave them with the same amount of grain regardless of how much they produced. They had zero incentive to be productive and therefore had no use for plows. As soon as the tax system changed, they began to use plows.

Likewise, in highly corrupt systems, there is no reason to start a business, since the incentive monopolists will not permit it to compete anyway. That's why Ukraine, a country with relatively high levels of infrastructure and education, is so poor.
I have enjoyed D&D wiki before, and I admit that I have also missed the huge banner. Usually, I will read a page, get halfway down to the place where the rules get crazy, and then scroll up to the top to check if it's a homebrew. The banner is completely invisible!
Why? What does a system of voting have to with privacy?
EmailEngine allows you to build similar things on top of regular email accounts, so you would not have to use external services. EmailEngine would detect incoming emails from the account's IMAP server and send emails through that account's SMTP server + make it look like this was done using a regular email client (sent emails are uploaded to Sent Mail folder, replied messages get the \Answered flag in IMAP etc.
Data harvesting is moral for me, but not for thee.
Here in Germany we once had a guy have his apartment raided by 6 cops because he wrote a tweet to a local politician that said "You're such a dick". That's all he said.
Ask HN: Peer-to-peer consensus protocols / algorithms
If I want to architect a peer-to-peer application that needs to achieve consensus, what are some of the provably correct protocols/algorithms?

I am not interested in "web3/crypto" solutions. Just pure theoretical papers that describe how one might go about solving this problem from first principles. The closest analogy would be Two Phase Commit for distributed databases.

If you can cite the papers or provide links that would be great.
Indeed:

> Lalani Erika Walton ... got her first cellphone on her 8th birthday

> Arriani Jaileen Arroyo ... received a phone when she was 7
$1000/month insulin is not 100 years old. Your comment is like complaining that because penicillin was isolated in 1928, nobody should have a patent on any antibiotic.

Humalog insulin was patented in the 90s, and IIRC, is what Walmart sells for $25/vial. Novo Nordisk (among others) continually improves the product. Those improved products are where you see the $1k/month prices.
The hold up is with the FDA. The variant booster had been ready for months, it just takes a long time to approve.
3 years ago? So your case will be forfeit at the end of this year.

Expect a followup by them this December, which prevents forfeit.

Some asshat lawyers do actually drag you in front of a judge, and you can't ignore that.
You could say almost the same thing walking through an ancient Bazaar as sellers yell advertisements at you for their wares.
Make use of the 30 day return window.

I tried hp dev one, but the screen’s viewing angle was so bad I couldn’t position the screen so that I could see all four corners at once without color shift.

I owned it less than one week.
The dutch government is spending more time on virtue signaling towards eastern European countries and squashing its ideological opponents (beating up protestors and shooting farmers) than dealing with issues of their country.
How did you get this price? Can I get them somewhere? $3 per day to never have teeth issues again is an absolute bargain.
I'm thinking of trying ts + deno at some point since deno has built-in ts support.
For náhuatl, I found this: Wikipedia in nahuatl
https://nah.wikipedia.org/wiki/Cal%C4%ABxatl
A few notes that may or may not matter to people:

* great res/aspect ratio, but claimed 300 nits, which is good enough for most indoor usage, but not in brighter environments) - that being said, Notebookcheck tested theirs at 350 nits

* RAM is soldered so you're locked into 16GB (M.2 wifi and 2280 SSD can be replaced)

* no USB-A ports

Overall though it's a pretty great laptop, can't wait to see how the Ryzen 6000 version performs (and if it had a 32GB version would be high on my personal shopping list).

NBC review for those interested: https://www.notebookcheck.net/Huawei-MateBook-16-AMD-Review-...
This article is fine, though the headline is misleading. In the end, the author still seems to believe that DRY should be the rule, not the exception, and I agree with that.
That's why I don't buy ebooks on Amazon.

I download elsewhere, store somewhere safe and upload to my kindle for reading.

These corporations want us to be ethical and respectful to copyrights, but they act unethically when it comes to respecting consumers' basic rights.
You can simply ask the hospital to give you good faith estimates:

https://www.cms.gov/nosurprises/consumers/understanding-cost...
I’m full stack (infra, backend applications, mobile and web ui applications) engineer and I consider myself proficient in all of those things although my infra knowledge would be weakest since I’ve only been doing that in the last year or so.

IME most full stack people only know backend application development well, and the rest is knowing that the UI applications will make requests to the backend applications. Most self proclaimed full stack folks (again, IME) don’t know JavaScript well enough to build something good, and hardly anyone knows native application development. The only reason they call themselves full stack is they maybe used jquery a decade ago or have pressed F12 to see what happened in the network tab. Again, just my experience.

I take anyone who claims to be full stack at face value. More often than not, they’re not as full stack as they imagine they are. UI development is in my opinion much more involved than backend application development. Most paradigms on the backend have not changed in years, and most problems save database seem to be the same and already solved.
Is there a peer to peer way to stop nuclear proliferation?
I haven't given CSSBed or basscss a good try yet, but I do like tailwind enough to find it worth a build system. It doesn't require NPM/Node if you don't already use that; it has a standalone cli now[1].

HTMX has been a joy to work with.

[1] https://tailwindcss.com/blog/standalone-cli
Norway has been generating substantially more than 100% of their electricity demand from green sources (hydropower) for many decades. Some of the surplus is exported, but it's only in the past 3-4 years that the export capacity from the south towards Germany and Denmark has increased substantially.

So now the prices in the south are approaching those of the neighbouring countries, and everyone is up in arms about how electricity is suddenly expensive and politicians have been introducing subsidies. And politicians and grid operators alike are playing like they didn't know this was going to happen. Already one future export cable has been cancelled.
Tokenomics create a micro-economy complete with speculators, bad faith actors and legit users. Like economies, this can run well for a while and then completely collapse.

I just don't see why so much complexity is required. I want to help an initiative, not get burned because of rampant speculation.
What about something like this (in JS)?

// Option 1
const Pizzas = {
Hawaiian: {
type: 'hawaiian',
crust: 'thin',
sauce: 'tomato',
cheese: 'regular',
toppings: ['ham', 'pineapple'],
},
Pepperoni: {
type: 'pepperoni',
crust: 'thin',
sauce: 'tomato',
cheese: 'regular',
toppings: ['pepperoni'],
},
};

// Option 2
// Pizzas could be returned from an API, so that the pizza
types are configurable outside of the code
const response = [
{
type: 'hawaiian',
crust: 'thin',
sauce: 'tomato',
cheese: 'regular',
toppings: ['ham', 'pineapple'],
},
{
type: 'pepperoni',
crust: 'thin',
sauce: 'tomato',
cheese: 'regular',
toppings: ['pepperoni'],
},
];

const makePizza = (pizza) => requests.post(PIZZA_URL, pizza);

// Then, for Option 1
makePizza(Pizzas.Hawaiian);
makePizza(Pizzas.Pepperoni);

// Or, for Option 2 (e.g. user selected via a menu)
makePizza(selectedPizza);
So how long will this mania last? They were sold during a bear market and at one of the lowest points of NFT market volume, but still did pretty well. If NFTs continue to be seen as tulips or beanie babies* for the next several years, and wildly outperform regular band merch sold through a distributor, maybe it’s worth considering as a new model for artists and creators. If NFTs crash to zero next month and artists stop earning from them, then I will agree with you.

* by you, I should add. Others see it as a digital object worth owning that is not tied to a single speculative bubble.
thats why things like rocket pool exist
Especially if the Bazaar sellers followed you throughout the day through your work and leisure time.
Anyone can buy HSA eligible high deductible health plans on healthcare.gov too.
Heh they probably know their users better than us...
For the same reason why people turn a blind eye to oil, coal, guns, alcohol and cigarettes yet have a problem with cannabis, abortions, nuclear power, gun control and until recently electric cars.

PR/marketing trumps all because people aren't sufficiently educated in science and statistics to understand what represents risk vs what is feasible, etc.

Because they can't interpret the data themselves they defer to media and public figures and unfortunately in our world those people aren't incentivised to present things honestly - even in the rare cases they are educated enough to do so.
> It would solve the Sony problem.

It solves what part of Sony saying they are aware that people have bought things, but that they will no longer distribute those things?

There is no archive where you get to download the things. Sony is the sole distributor of the purchase. They've said they will no longer provide access. Fin. End of story.
currently on a Lenovo P14s with an excellent matte 4k, color calibrated, bright display and Ryzen Pro 5850u.

EndeavourOS (Arch) with KDE/Plasma works great.
PoS does not give you any power to change the rules of the system, it only makes sure that those who are invested in the system get (slightly) rewarded for good behavior and (heavily) penalized for bad behavior.
> Let's all just use it.

How about you use the software you want to use, and I'll use the software I want to use?
You get 2 x SODIMM slots. I run my last-gen (4800H) version w/ 64GB of DDR4-3200 w/o any issues.
In many cases the licensees would actually prefer to not have foreign language options available at all, because it naturally geoblocks the content.
I don’t understand this comment. We are in the early planning stages of a solar roof and battery solution for our home here in Australia, which we expect to provide us with 100% of our full time energy requirements for hearing, cooling, transport, and more - 24/7.

The capex (and payback time) for such a system installed today will be greater than some people will care for, but our opex will be effectively zero, and the capex costs are falling rapidly such that we are just earlyish adopters. So there’s every reason to think that the “electricity and heating in Australia should be effectively free” in the future, because that future is already here; “it’s just not evenly distributed”.
https://svelte.dev/tutorial/basics - easy to get started with but really powerful for complex stuff too

For layout, don't use any CSS framework, but instead refer to https://css-tricks.com/snippets/css/a-guide-to-flexbox/ often - every time I use some big CSS framework I end up fighting it at some point.

https://vitejs.dev/ for packaging - I got really grumpy when frontend stuff started needing build and packaging tools, but it's the nature of things so you just have to deal with it, and vite is fast, not overly complicated, and supports fast hot reloading.
Ed is the standard text editor (2014)
Turns out North Korea are using crypto! To fund missile programs
https://www.bbc.com/news/world-asia-60281129.amp

The more I think on these things, the more I think trust is a feature, not a bug
I think they mean that lower base GHz is better because the laptop drains less battery when idle or doing low effort tasks.
This is what I call "preloopsarian": a state of coding innocence in which one has discovered assignment and alternation, but not iteration.
They have to keep the walls up on their garden so they can get maximum value from harvesting.
Not so fast. Every contract must be balanced, otherwise it can be challenged (and likely overruled) in courts.

If they have the right to terminate your license and withdraw access to the content, you should also have the right to terminate the contract and withdraw your money.

It cannot work just for one side without any practical reason.