skysight-inc/HackerNews huggingface dataset:
It seems more genuine to have it remain a business/industry and not a museum.

I quite like having genuine Parmesan from the right place. I’m happy to see any amount of ham fisted protectionism to keep it that way too. So to me it’s an easy win.
> If/else expressions are in principle free to evaluate both branches, but that would be needless.

This is true only in a pure functional language; if you admit the existence of side effects, then it is a crucial part of an if statement that the code associated with the other branch is never executed.

My point is just that it makes no sense to say "some languages have no form of if statement; for example, Haskell doesn't have the concept of one thing happening after something else". That example is untrue. But if it were true, it still would not interfere with Haskell's ability to have an if statement. Thus, defending Haskell's ability to run one statement after another statement is unnecessary to refute the claim; the claim never worked in the first place.
The original SARS was contained and brought to zero.

Remember the beginning of the pandemic, a lot of countries thought that they could handle this in the same manner as hard flu season. Essentially "taking it on the chin" as Boris Johnson put it.

Now with vaccines, there is a possibility of returning to normalcy without eradicating the virus.

Interestingly China has implemented zero-covid, yet is now undergoing a massive vaccination campaign, and my guess they will change their policy at the end of it.
With both Mac and now Windows supporting these mobile-forced-to-desktop apps, I worry a bit about the poor UIs in our future.

On the one hand, maybe tablets will improve a bit because mobile apps will have even more incentive to spruce up their large-screen experiences.

On the other hand, literally every app I have seen auto-ported to desktop in this way has been awkward at best. Usually at least a few standard platform things just don’t work, like universal keyboard navigation. Having mobile UIs appear unaltered on the desktop is just jarring, at the very least requiring unnecessary scrolling and controls that do not resemble anything else.

And I am not convinced that this will improve with time; on the Mac side some of these pseudo-apps have had years to get better but they are still packed full of UI quirks.
Arguing to win.

I read "Crucial Conversations" around the time I turned 35 and it changed how I manage conflict in my relationships. These days I always first try and understand why someone is upset (pro-tip: it's frequently not what they lead with).
It doesn't matter if it impacts them or not. It's a violation of the social privacy standards that have existed for centuries.

Someone looking in the window and making an inventory of all my furniture doesn't impact me in any way. But it's still an invasion of privacy and wrong from the standpoint of common human decency. A concept that has become lost to a generation that's become acclimated to thinking this is normal. It is not.
All that vitriol for not adding a clause to make you feel included?

The majority of HN posters are probably in the US.

I don't get upset when articles are posted about the Bay Area, where I don't happen to live.
Somehow hundreds of package manager repos and all their mirrors work flawlessly on Linux.
Yes, they are unbelievable dangerous. They can kill you at 1 rpm, speed doesn't matter. I've heard (and seen myself) many horror stories. Long hair, or anything dangling, can easily get caught in the chuck of a lathe, even of only going a 1 rpm, and pull the operators head into the moving machinery before anyone has time to react. Metal working machines are among the most dangerous equipment one can operate.
> I doubt food scarcity, when it occurred, was for lack of land.

Food scarcity was a constant reality of premodern times. I’m not talking about occasional famines, where people literally died en masse, but rather about normal times. The food had to be scarce, otherwise the population wouldn’t have been a small fraction of the current one.

> Also, not all forest land can be used well for agriculture,

Sure, but back then people used even marginal lands if at all possible, precisely because of land scarcity. Ever seen those terraced farms on mountain slopes in China? We don’t do that anymore, but it made sense back then. Moreover, land that wasn’t good enough for farming was mostly used for animal grazing, not forest.

> and if there wasn’t much forest, there weren’t many twigs, either.

No, as I said, you can get twigs from coppiced or pollarded trees, which yield more fuel per acre than normal forest, but don’t yield any structural lumber.
Appreciate the answer!

> But we can’t move the notion of time to an element of it’s own. And if we could, and then compose it with an element of value, we’d end up right back where we started with some state.

I see this differently. If you compose a timestamp with a value, it is still a value. This is the essence of temporal data modelling and accounting.

> You can’t create anything in a stateless system.

Agreed. The idea is however to avoid state whenever possible, pushing it to the edges.

> Methods vs namespaces functions does not have a meaningful difference in this context

Depends on how you use them. Classes and methods can be used as quasi namespaces. The nice thing about namespaces is that they provide you with that one, "simple" thing, while classes and methods are overloaded with semantics and utility.

> Data vs Syntax is not a choice in any programming language that exists, all of them have both.

The question is the degree. There are languages with minimal syntax that express more via data and there are languages with differing degrees of homoiconicity.

I agree with the rest of your critique generally, as in that the context and the assumptions around a given model are typically subjective, we objectively deduce the parts from these assumptions.

Say for example from my point of view a given tool might be simple, because I only use it to do that one thing, but you have to use it for that other (maybe intended) purpose as well, so you perceive it as complected.
In India, nuclear power is part of the country's energy policy. A decade or two after independence, India was one of the few countries that focused on nuclear energy with the support of the US, and went on to build nuclear power plants. In fact, after the US-India Civil Nuclear Agreement in 2005, and the subsequent NSG waiver to India in 2008, India also signed deals with many countries to build new, safeguarded nuclear power plants. Currently India has 22 nuclear reactors in 7 nuclear power plants - https://en.wikipedia.org/wiki/Nuclear_power_in_India

I guess the reason it is not popular is because once you master the technology to build a nuclear reactor, you are one more step closer to build a nuclear bomb. And the powers be do not want any more country to have nuclear bombs.

And you are absolutely right - the weak point in home solar power generation is the battery. They are a huge recurring expense.
> Quic implementations usually do that via dynamic allocations - and pretty much all the libraries do a lot of them.

Any mission critical system or true embedded system will have some maximum limits defined and will reserve a table in memory with static allocation. It’ll be well packed and cache friendly too.

I bet within a few years there will be a « Show HN » for some uQUIC written in zig that does just this.
> On the other hand, what evidence there that this effect is not more pronounced than it was in the past?

The viability of your claim that petty crimes are less likely to be reported now than they were in the past depends on you producing evidence to support it. You haven't offered this, or even a hypothesis to explain why you think it might be true.

Again, I'm not debating that petty crimes are under-reported, but whether this phenomenon of under-reporting has increased over the past few decades to the point that police statistics are now "completely unreliable," as you put it. On a personal level, 20 years ago, I had something stolen from me in SF. I didn't report it, but I'd be just as likely not to report a similar theft now- no more, no less. What changed for Walgreens?

I think a much more reasonable explanation for the perceived surge in crime in the face of police data indicating the opposite is 1) Walgreens was one of the few retailers that remained open during the pandemic, thus raising their risk profile, and 2) there's a self-reinforcing effect of viral videos showing people getting away with brazen shoplifting at Walgreens.
If you want your software improved, open source it, and people will post gitlab issues. We all saw what happened with MS Calculator. It was a successful experiment.
It doesn't matter if it's PII or not. You ask before collecting. That's basic decency.

Not your computer. Not your data.
As a tourist, Italian sockets always made me furious with those sideways grounding pads/pins. Any UK->EU adapter would be pushed out by those instantly. At one point, in a fit of rage, I ripped them out of the socket of a hostel I was staying at so I could use the socket (I wouldn't ever vandalise public property like that under any circumstances). I like to think that they wouldn't be missed.
That's the brilliant thing about programming: you can do it however you want. If you want to write your code in such a way that an Anglophone spends half their time looking up ALT key combinations to type the characters, go ahead. I'm just saying that I'm not touching that code with a ten foot pole, nor is anyone I know, nor would any of my customers. There's too much talent in the world for me to put up with one iota more hassle than necessary.
I agree, but it's my company's laptop :(
I don't see how any amount of money will fix climate change. The planets stable equilibrium carrying capacity has been surpassed.
UK plugs are the best plugs. Apart from when you tread on one...

(The requirement to have a fuse in every plug is a necessity for UK ring mains, but makes the things even bigger than they otherwise would be.)
Mobile World Congress highlights telco transformation
It’s not the small scaledness or local ownership that’s protected. It’s the tradition of making X in the region where X is traditionally made, and some of the how it’s made. Nothing else.
Yes, the concerns raised about resigning apps and sideloading capability is not something the average Windows user will care about.

Android apps are also inferior to Windows apps, so the real question is: Who is going to use Android apps on Windows.

Android app developers seem to be the target group.
Using wind to propel a ship? That's a very radical idea. I wonder why no one has thought of that before...
Just put where it's manufactured on the label - that's really all that matters.
Beats having a million proprietary charging cables.
In the extreme case people will set up a paper wallet using a computer that’s disconnected from the internet. Once they have the keys, they can typically keep them non-digitally and transfer coins to that address as safe cold storage
Then consuming any medicine -- or food! -- is also "genetic treatment", because all those organisms we consume have had their DNA altered by selective breeding. You're spouting silliness.
I hope I'm not taken the wrong way - but in certain geographies technologist salaries/total-comp are such that it costs us more money to search for bargains than it does to plonk down $hundreds for brand-name SMB hardware for our SOHO gear.

That is is why we buy new kit instead of used. I could spend 2-3 hours of my time scanning eBay and Craigslist and comparing spreadsheets of compatible equipement and then waiting for USPS mail deliveries (at my $200/hr consulting rate) or I could spent 5-10 minutes on Ubiquiti's online store and be done with it.

It's ugly and I dislike it (the thrill of the chase...). But that's capitalism. Frankly I won't be able to "enjoy" this again until I'm after retirement...
Not that i disagree with your point, but that's not exactly part of tor's threat model that it would be setup by a random application trying to leverage it. Usually, you set it up once on your system then apps access it.

Auto-setup may be easier if you're targeting a certain platforms, for example on Android you can keep a local copy of the F-Droid PGP key, download the latest installer, set it up, and from there enable Guardian Project repository and setup Orbot (tor for Android). On Debian, you could just run "apt install tor" (acquiring privileges on the go) from your program and then start proxying through localhost:9050. But if you're targeting many systems the problem becomes hairier.

If you have better suggestions about how to ease this process, i'm sure folks from the Tor community will be very interested! :)
In my case it led to a reputation for getting things done correctly on time.

Because I'd only say yes if I actually thought it was possible - the thing I realised is that the push back on estimations is only at the start of a project, all they remember at the end is you said X, it took X.
> Will Amazon agree to distribute Android apps unmodified from what developers upload, with the original signatures intact? Amazon’s behavior is policy, and policies can be rescinded.

Removing signatures by design in the face of a recent huge impact supply chain attack? Hopefully US Gov can leverage some simple purchasing controls (that don't require 'an act of congress') to convince Amazon to stop this behavior.
Trading Strategy and Risks on the Cryptocurrency Market
Can you expand on this? Do you mean a paperback copy of a book somehow competes with a later sale of the same book?
For all practical intents and purposes, nuclear waste is a solved problem. About 96% of spent nuclear fuel is recycled [0] and of the remainder, there's so little high level waste that so far most countries haven't found it cost effective to even build long-term storage facilities yet [1]: there's only one worldwide. There are ongoing projects to build more though, and the general approach is deep geological burial.

[0] https://en.wikipedia.org/wiki/Radioactive_waste

[0] https://en.wikipedia.org/wiki/Radioactive_waste#High-level_w...
Theres no such thing as "terroir" the whole concept is bullshit intended to justify the unjustifiable.
Yes. The wood will twist and bend as it dries.
Watch Navy's MQ-25 Stingray Refuel F/A-18 for First Time
You're thinking at the wrong level of abstraction. Sure, Microsoft is permitting it now, but what about later?
Pressure cooker cuts carmelizing time down dramatically.
Fair enough. Chainlink’s solution to the consensus problem is to have a large number of independent sources of real-world data for any variable. This redundancy makes it difficult for a single or a few bad actors to collude to mis-quote.

To your point though most of Chainlink’s current activity is tied to crypto-asset prices, not the broader use cases mentioned (such as weather oracles). I suspect this is due to the more lucrative short-term returns available from speculation vs other use cases.

I love the potential of crypto but would like to see more real-world use-cases. I suspect they will come in time and that short-term speculation is the use case to drive adoption.
> But system init is a hard, complex problem. [...] a bunch of bash scripts trying to do service restart, logging, dependency management and failing at it.

Playing devil's advocate: system init by itself is easy, just have a single script starting each daemon in sequence, like it was done in the distant past (IIRC, "init" started both the getty for each terminal, and ran a single startup script). It's the "service restart, logging, dependency management" part that's complicated. And unfortunately, since nowadays devices are often hot-pluggable, you can't really escape from the "dependency management" part.
> With both Mac and now Windows supporting these mobile-forced-to-desktop apps, I worry a bit about the poor UIs in our future.

The operating systems aren't the only ones to blame here. Haven't you seen desktop sites using hamburger menu? That abomination came to life thanks to mobile web.
The world of data science, ML and computer vision research. It's very academic-heavy, which has two effects. There's an insulation between commercial software dev and it, which results in a lot of NIH, a lot of reinforcement of bad habits, and a lag in propagation of best practices. Second, and related to this, there is a tendency to just piecemeal hack towards the solution, rather than architect the system from the ground up.

It's not zero consideration of data structures, it's mostly a focus on the main data type (arrays and data frames) and not really thinking about typed records, data models and such. The majority of types are float, str, dict, np.ndarray, pd.DataFrame. No dataclasses, minimal classes, and when classes are used, it's Java101 style "all the bad parts of OOP" programming. Sadly, I've spent years in this space before learning better.
The pictures are amazing. I know a newish SEM that isn't being used anymore, it's a tragedy.
Consider a hardware wallet like Ledger or Trezor, both are pretty easy to use and have extensive documentation. I'm sure there are OSS/hardware solutions you can roll yourself, too.
Does anyone know how sustainable lumber is now?

I hope empress trees become usable in construction, they grow insanely fast.
I sometimes wonder how profitable it actually is for Microsoft to be so pushy on data. What I mean is: I understand that MS is quite zealous internally about telemetry, but how effective is this data in terms of actually improving their profitability?

From the user side, I am quite sure it is hurting the experience. One example is logins. MS is pretty bad about requiring logins for products which don't really require it in order to complete the user journey - for instance I bought the Halo collection on Steam, and in order to play an offline, single-player game I have to log into an MS account. As a result I haven't played the game in months, because I have to use this MS account that I don't even want to have, and I can't be bothered to reset the password for when there are other games I can play which just start up with no arbitrary hoop to jump through.

And what does MS actually get out of it? I guess they can optimize their dark UI patterns to be better at tricking people into setting Edge as their default browser?

Being data driven is good, but it seems to me it's not working if the end result is compromising the core user experience.
You can buy something like Ledger Nano which is a hardware wallet. Essentially, the private keys never leave the device, you can instead just sign messages directly with it.

You can also have normal software wallets (don't recommend it for larger amounts) or paper wallets.
> The main problem of energy is batteries.

The main problem of energy is cost, NREs, capex, and long term support.

The Big Energy (gigawatt scale powerplants,) works well on big scales. But 9 out of 10 countries don't have that.

Big economy, big population, big industry, big infrastructure — you need all 4, or it doesn't work.

Solar is extremely efficient at small scales if you think of capital costs. A single panel atop of a tent in the desert is just few percents behind a gigawatt scale solar powerplant in efficiency.

Now think of any 2 stroke generator you see in a 3rd world country. Costs many times more for the power if you look at ones capable of 24/7 operation. Heavy duty diesel ones are even more so.
How many countries have infection rates as low as Singapore, and vaccination rates as high?
Well, if you're using Windows you're stuck with Microsoft anyway. It's preferable not to add Amazon to the mix.

I'm not sure how the terms of the integration go, this could be avoidable - and it would be awesome if it was possible to port F-Droid to Windows.
I rather have UIKit/Android apps on macOS/Windows than yet another web-bloated electron RAM eater.
Show HN: Git Line Endings Configurator
The red dot on the builtin privacy slider I have a work is behind the camera's outer lens.

I can't paint on it without trying to unglue that and ultimately break it.
If so, then I would prefer to make all the outlets in my hypothetical American home 240V. Why don't actual Americans do?
But it's not a trademark - it's a location.

Can beef made outside of England be called beef? Can any english name for food be used outside of England? Can french onion soup be sold outside of France?
You can watch Bittman making kasha varniskes here. He's not a stickler for timing which is the correct approach. He says, 20 minutes in a dry cast iron pot with a lid just to get them soft enough. Then lid off, add a bunch of fat and go until they look right.

https://youtu.be/ugeNF_WrUPU
> Use NixOS and you'll love systemd.

I use NixOS but certainly not love systemd. Instead, I've created a way to replace it with s6.[1]

1: https://sr.ht/~guido/nixos-init-freedom/

Cheers, Guido.
Mamagement has 99 problems. Holding a status quo is about minimizing the backlog more than hating change as such.

Even when we can show am improvement in security and usability, and lower training cost because of consistency, it's still another mouth to feed.
How can you possibly think this is a rebuttal? Whoop de do, there exists an also-ran OSS marketplace on the platform. In what way does that rebut what the grandparent said?
If you're not familiar with Frontier -- they currently aren't profitable and recently filed bankruptcy. Their network consists mainly of the old rural systems that the big telecoms didn't want due to a lack of profitability. The big and profitable telecoms have concentrated their service to denser areas, and pulled out of lesser profitable rural areas entirely, even though they had a monopoly in those areas.

Their bad service is not the result of a lack of competition, it's a lack of a profitable business model. It is simply more expensive to connect 1 customer with a mile of wire than it is to connect 100 or 1000 customers with a mile of wire. I don't think there's any way to solve this problem without subsidization of rural internet.
I don’t like your technique because:

1- As you say yourself, there is some amount of subjectivity about when « handleX » is the best description (when the effect is extensive enough) and when it is not.

2- The whole point of calling handlers « handleX » is that you DO get to know what happens when the event X happen: you just have to read the content of « handleX » function.

So here is my solution: follow conventions. If your handler is a simple thing like « setServer » you’ll see that the function content is one line of code. If it’s more complex, you will see it also.

It works 100% of the time, ensures that people won’t loose their mind reading your code, and prevent useless debates about form.
Ultralight Material Withstands Supersonic Microparticle Impacts
i recently tried to install amoung us exe on phoenecis play on linux. there is this starting bug that is caused by shaders. i tried a few fixes but none worked. It looks like i need to wait for 6.11
That's why I use it with git. Not only do I get the ability to revert a catastrophic fuckup, I also get the ability to securely sync across all of my computers.

The only thing missing to make it perfect would be a mobile client, but that's not huge deal for how I use it.

The thing I don't like though is that, because it's all in a single giant html file, it is prone to getting huge. Mine is pretty big, and every time I open it (in Firefox or TiddlyDesktop) there's a noticeable delay.

I'll have to look into breaking the monolith up into smaller files to avoid that.
Cost is a non-answer. The cost of nuclear plants has gone up about 5x since the 70's due to regulation, which is entirely in the hands of the government.
If I see a character I can't enter in someone's code, I think I'll run away. It's cool and all for your code, but sooner or later someone else is going to have to deal with it.