skysight-inc/HackerNews huggingface dataset:
I know you say this in jest but, now that you mention it, wouldn't git be a blockchain if it just had a decentralized consensus protocol to allow a cluster of repo servers to agree on the current state?

I'm usually the last person in the world to say anything should be on a blockchain but I feel something like this could be handy for hosting open source projects.
I have to say I love sqlite Fossil. Put it behind nginx and it works beautifully.
Diomidis Spinellis was General Secretary of Information Systems at the Greek Ministry of Finance for a while.

Also IOCCC winner, FreeBSD contributor and more.

Occasionally comments here on HN.

https://en.wikipedia.org/wiki/Diomidis_Spinellis
Really a big problem in Finland. Imagine having 6 centuries worth of churches slowly disappearing beacuse "church burning" seems to have become a common holiday activity.
If you want a feedback, I do not find |> versions much (if at all) easier to read. The noise is as high as in a regular function-based chaining:

await chain(
Object.keys(envars)
.map(envar => `${envar}=${envars[envar]}`)
.join(' '),
text => `$ ${text}`,
text => chalk.dim(text, 'node', args.join(' ')),
colored => console.log(colored),
)

I don’t want to sound too negative, but this seems like a pointless extension only to bring the burden of support for some syntactic flavor.

React example is special though. It feels like very helpful in expr-only context, but in-array ifs and fors would do better there:

<ul>
{[
for (v of vs) {
const text = foo(v)
yield <li>{text}</li>
},
if (vs.length == 0) {
yield <li>No items</li>
},
]}
What is it? Old Mercedes diesel?
My theory on gift giving is to get the person something they probably want but normally wouldn't, for whatever reason, buy themselves. Like a nice bottle of wine, a lot of people would love it, but would also feel silly spending money on it. It's obviously not always that easy to do this but anytime you can I've found it goes over really well. And yeah, it usually involves kinda silly luxuries like wine.
> it seems big Ag is on a similar path, but in a wildly different context.

Big Ag is indeed on a worse path, as they are literally depleting soils and biodiversity, engineering a monoculture propped up by fertilizers synthesized from fossil fuels. It's a completely unsustainable system that is sucking the Earth dry and carpeting it over with astro turf.
> "declined by 29 percent—or a total net loss of around three billion birds—since 1970."

> "estimates that our pet felines kill some 2.6 billion birds annually in the U.S. alone"

So is the net loss of 3B birds since 1970 a lot or not a lot? If 2.6B birds each year are killed just by house cats, then wouldn't the decline of 3B over 50 years be not that big of a difference? It sounds like banning outdoor cats would single handedly solve the decline and result in a bird population boom.
I think that exists in most languages, including English! I also don't think it's too much of a problem, since once you have exposure to a broader spectrum of people you start to pick up what is masculine / feminine speech and how different social classes talk.
All this are comical problems compared to what we'd had in a marxist regime. Instead of tens of thousands dying from lack of medical care, there would be tens of millions dead due to ideological cleanings (e.g. uygurs in china), and there won't be much of healthcare anyway because doctors don't like to work for free. This brings us to the education. In marxist regimes students are simply sent to work for a few years in places where the party needs them. No debts, but no freedom. The equivalent of the minimum wage problem in marxism is empty shelves: your salary buys a lot of stuff, on paper, but there's simply no goods to buy due to price control.

So far your arguments are just a wishlist: you say what you want, but don't explain how to get it.
Sure, and that would make it a very important story for WA residents. There have been stories that emphasize the impact on local communities, like those in ID and MT, that were sparsely populated and are experiencing an influx. But most of the nationwide stories are about the net flows in absolute terms, not considering the percentage of the local population.

Also, as others have pointed out, most of the TX influx has been in/around Austin, so it's not like people are moving from SF to the middle of nowhere in TX, and having no impact on the local communities. Real estate prices in Austin are skyrocketing, as would be expected, in the few areas where people are moving to.
I don't disagree with you necessarily, but I think what's different this time is that the entire system is build from the ground up with the explicit intention of replacing workers with machines. There isn't even the pretense of dignity in employment.
In my experience, the key is that you've triggered two decisions off of a single boolean condition. A single ternary will be a cmov, but two ternaries become a branch.
He says the app requires lots of permissions. Most likely you can't get the desired data in a PWA
Many cities are planned. Paris was planned in the 19th century, after it had been around for millenia, and they tore stuff down and rebuilt it.
I like how the article focuses on the change part. And the importance to include friends in the process.

When I finally started dating, it came with the acceptance that it was myself who needed to change. Addressing my insecurities was the hardest part of it. Having friends to talk about my experiences was very helpful.
> the references at the end of the paper should be split into two sections: stuff that was right and stuff that was wrong

I've seen stuff like this said before but I don't think it would work. Most citations are mixed in my experience. A few objections, a bunch of stuff you aren't commenting on, and some things you're building on. Or you agree with the raw data but completely disagree with the interpretation. Others are topical - see <work> for more information about <background>. Probably more patterns I'm not thinking of.
That sounds plausible. Cats can be very effective predators.
> What would help me is to have the old geezers consider GitHub issues, PRs, and commits as a type of citation

As a geezer myself I am imagining what this type of request would look like in less than 5 years from now.

"What would help me is to have the old geezers consider Tiktok videos and replies as a type of citation"

i.e. if you open this particular can of worms for a very restricted subset of users (not only programmers but specifically programmers who also happen to use github), you have to open it to everyone else. I am sure plenty of Youtube research qualifies as "citation" if you start counting Github commits.
Show HN: Another AWS EC2 instance comparison tool that's always up to date
Why not just contribute to windowmaker? This is such a duplication of effort for nothing.
Japanese is gendered

That is probably why.
Hi, author here.

Actually the sole reason I've built yet another EC2 instance comparison table is because my favorite "goto" app at "ec2instances.info" was acquired, became a bit slow, lags updates and has some bugs.

Also, most of the similar tools either hard-code or "cache" the pricing info in some way, this one just pulls the live data from AWS docs endpoints.
Sure, we did mount a concerted effort to solve the ozone problem. But that was a lot easier to do than what we need to do now. We needed to change the types of propellants used in aerosol spays and we needed to change the types of refrigerants we used - it was lucky that we had pretty equivalent and readily available replacements. But now to solve the myriad of challenges we face we need to reduce consumption of many different resources at once - sacrifices will need to be made. Big sacrifices in some cases. And given our current political climate, sacrifices aren't popular (not that they have ever been, but especially not now).
From the article:

> The study found that population decline was not limited to a few species but a wide range of species across every biome

In contrast, population dynamics is usually concerning either a single or a number of linked species. But on the greater scale, the planet as a whole will probably rebound after humans have destroyed everything including what has made their life possible and will hence have gone extinct.
2. It's legal in Houston,Tx too. And It's never been a problem. The only I remember anyone even taking advantage of this is the occasional neighbor walking their dog in the evening with a beer or a glass of wine.
> no issue with optional<T>

Didn't say there is (or, for that matter, that there isn't).

The author does say there is an issue with it: he would like optional<T&> but cannot have it. (That, of course, is not optional's fault, though).

> nor is the article complaining that T* is a bad optional<T>.

But it is poor (not just in comparison to a fictitious optional<T &>).

> So if you want to pass an optional reference to something, you're currently forced to pass T* instead (using null as the proxy for "not passed", of course). And thus, T* makes for a poor optional<T&>.

If you want an optional reference to something, maybe you don't entirely understand references. A reference isn't optional; it has to refer to something.

References in C++ are odd; they have limitations. For instance, you can't declare an array of them, either.

To simulate an optional reference, we use a pointer, and we can wrap that in a class:

class optional_int_ref {
const int *maybe_int; // null if we aren't referencing an int, otherwise valid pointer
};

Then of course we want that to be a template to make it generic.

std::optional is a container: it contains a value, which may be indicated as not being present. A reference isn't a value which is contained; it's a value which is somewhere else. If you contain a reference, the reference must be resolved to a valid object.

Basically, you don't want optional<T &>, but a parallel optional_ref<T>: something that optionally references a value, and if so, that value is somewhere else.

So, today, we could make optional_ref<T>. If we did so, then T * would be a poor optional_ref<T> for the same reasons that it's a poor optional_ref<T &> that we don't have. Therefore, T * is not the best optional we can have.
How so? My argument is the "initial planning" of many European cities never really happened. Plenty of planning has happened since, I'm sure!
I am not a big font guy, but the first image in that article is somehow stunningly beautiful.
Plant dense, heterogeneous local species in your garden, don't use herbicides or pesticides, and avoid prolonged or regular use of outdoor artificial lighting. Don't feed wild birds. Don't let cats out. If you have neighbours with cats, spray them with a hose until they learn to stay away. If that fails, trap them then spray them with a hose. That'll learn 'em.
RSS may be obsolete from a marketing perspective (i.e. lack of visible RoI), but its growing in other areas like media monitoring, podcast delivery, RSS-to-newsletter etc.

* Shameless plug *: our super-easy feed builder at New Sloth (formerly Feedity) - https://newsloth.com, helps create custom feeds for any public webpage. Our API can auto-magically detect relevant articles in most cases. The platform includes an integrated simple feed reader and clusterer/deduplicator, specially aimed for knowledge workers with hundreds and thousands of feeds to monitor daily.
How do you go about converting the papers?
Maybe establish a self-sufficient moonbase first? But before that, establish a self-sufficient (modulo raw materials) orbital base. But before that, establish a self-sufficient undersea base. But before that, establish a self-sufficient base at the South Pole. But before that, establish a self-sufficient base in the Atacama Desert. But before that, establish a self-sufficient base in Arizona.

A self-sufficient base in Arizona is beyond our current capability. Good luck with Mars.
> praying the compiler can remove the redundant check

It can in pretty much every single case even on -O1.
You can vouch for individual comments; turn on showdead and click on the time of the comment and then vouch.

I've done it a few times.
Seasoned users can (and do) also notice these cases and email to let us know. And of course we review as many submissions as we can and rescue the good ones that have been caught in software filters.

It's true that some good posts don't get recovered this way. But I'm not aware of an alternative that would fix that without also seriously diluting the quality of HN. Not all, but certainly most of those posts are dead for good reason.
GDP is a useful abstraction that can help guide policies. Do you have concrete examples of its unjust use that were supported by economists?

I don’t know any government that considers maximizing GDP as its primary goal.
The sad part is that nothing of that requires using exotic materials for the core that only a few foundries in china can make. A few spare generators and a emergency plans for blackout seems like pretty simple things.
Show HN: Deploy any ML models with 1 line
The whole point of Turing's original Immitation Game thought experiment, that Searle turned to understanding of Chinese rather than the more abstract notion of "thought", is that there is no reason to distinguish between what a person who answers questions does and what a machine that would give the same answers would do: they are both "thought" by any possible measure, as long as we accept that they produce the exact same outcomes.

Similarly, as long as we accept that that person outside the room can't distinguish by any means of inside the room there is a speaker of Chinese or a speaker of English following the magical Chinese-answering algorithm, then the distinction is, by definition, meaningless. There is no 'duping' because the notion of 'understanfing Chinese' as apart from 'runnkng the algorithm' is meaningless.
GH actions doesnt, Azure devops does
I was kind of hoping this was going to be some wonky bootleg, like the original "Super Mario Bros" for the C64, which was actually a resource edited Great Giana Sisters

https://dfarq.homeip.net/super-mario-bros-commodore-64-versi...
Some medical journals have done something very similar to this for quite some time. They also define any acronyms used and have a brief summary of the key results.
26 a year for an outdoor cat honestly seems low to me… that’s 1 every other week. I had one cat that I started keeping inside because it was approaching one per day.

Without us they’d be doing this for sustenance, so in theory multiple kills a day.
It's fine that they're optional but the specs for a device that doesn't support everything really should read:

HDMI 2.0+{the specific newer things supported}
I'd say them lying about timelines and selling a dream that's not here for thousands of dollars is not harming them
A subscription to the USA Fact-Check Algorithm from the Science Ministry can prevent any misinformation from appearing on the Internet.
> You've implied two separate false equivalences, here: • That "censorship" necessarily and only means "removing obvious child pornography"

I implied no such thing. Claiming strawman argument and following it up with a statement made out of thin air is silly at best. Read more carefully!
That would not be legal afaik. Whereas shorting + publishing probably is legal.
Especially when a mug costs about $1 and lasts just about forever. On the rare occasion you drop it, just chuck it. There are much more important things which could be fixed.
> is an almost solved problem right now.

I wish. We only halted its growth and it is only barely healed. From Wikipedia [1]:

> A 2005 IPCC review of ozone observations and model calculations concluded that the global amount of ozone has now approximately stabilized. Although considerable variability is expected from year to year, including in polar regions where depletion is largest, the ozone layer is expected to begin to recover in coming decades due to declining ozone-depleting substance concentrations, assuming full compliance with the Montreal Protocol.[107]

> The Antarctic ozone hole is expected to continue for decades. Ozone concentrations in the lower stratosphere over Antarctica will increase by 5–10 percent by 2020 and return to pre-1980 levels by about 2060–2075.

[1] https://en.wikipedia.org/wiki/Ozone_depletion#Prospects_of_o...
The differences between New York and Silicon Valley business culture
I remember in grade school reports seemed to logical. Propose something, create a hypothesis what you think you will see, record your data and what you observe during the experiment, summarize the results as to what actually happened vs what you initially expected. Most papers now seem like a foreign language and I can only glimpse at what is happening relying on some math genius to reply the significance.
> I just want papers now to “show me the data and the code.”

But the code is secondary to the idea. The idea and the discussion around how it was arrived at and what it means is the key thing. The code is just there to implement it. You could code the same idea ten different ways.
I work on a product called smartomix.com part of the doc.ai (recently acquired by Sharecare). We help researchers do just this. DM if you think this would be useful for you.
Especially passenger pigeons, not a single decline in 107 years.
Being able to share a URL with Figma. Getting feedback from anyone in the org regardless of whether they have a program installed is a killer feature.
> So you don't need to SSH to debug, you'd just re-deploy another container or something.

I've still never seen a place where this was true.

At some point you always run into a situation where you need to see what's happening inside the container in production at a level of detail that isn't available except by directly connecting. So you attach a sidecar with SSH, or you deploy a debug version of your container that runs SSH, and then you SSH into your container and see what's happening.
GS Quant
It was the first HN comment to give me a good laugh in a while
Sad that we've commercialized external perspective and wisdom.
50 years separates that from this: https://www.youtube.com/watch?v=fiShX2pTz9A
Fifty years! Just Half a Century! It's nothing, nada, niente, 0! compared to the scale of universe. The Idea of a simulation isn't absurd if we take this progress in consideration.
Because he is a spiritualist and Freud (wrong as he may be) was still trying to find naturalistic explanations.
Bullshit like this is why I had to go against my normal no-consumer-credit rules and just cop a loan to buy a (6 year old) "forever car" this year while they could still be had with reasonable mileage. I can't imagine any features that would tempt me into the malware, short-termism, and invasive surveillance that's going into cars these days. Leaving aside the fact that almost every new car is a boring SUV or imitation SUV and they're all a flat wide sea of generic blandness.
Ike said it well...

>... Yet in holding scientific discovery in respect, as we should, we must also be alert to the equal and opposite danger that public policy could itself become the captive of a scientific-technological elite.

https://en.wikipedia.org/wiki/Eisenhower%27s_farewell_addres...
I have been visiting Bosque Del Apache National Wildlife Refuge for about 5 years, once every winter.
It is depressing to experience this decline in such a short span.
I don't think that eco-fascism is the answer. The cause of this problem isn't people, it is capitalism and imperialism.

1/3rd of all emissions are produced by 20 companies

The US Military alone puts out more carbon than the top 60 carbon emitters.

“The Earth is not dying-it is being killed. And the people who are killing it have names and addresses.”
— Utah Phillips
> Note the original title is: T* makes for a poor optional<T&>

> The last `<T&>` there is key, but seems to have been removed from the HN version of the title.

HN seems to like stripping out HTML-tag-like blocks instead of escaping them. Why though?
I have not read all the book yet, but it definitely talks about some of these things (12factor app, canaries, scaling, logging, etc.).

It is a review of the most fundamental tools and strategies in Red Hat flavored Linux distros. Things like troubleshooting the entire stack would be far too advanced and specific.
> 2. This is false. Public "outdoor" alcohol consumption is generally acceptable and if put on the ballot would win in most places. It's legal where I live, in Austin TX.

https://www.wideopeneats.com/states-can-drink-public/

Scroll to the map.

Looks pretty mixed. California and Texas in the "mostly OK" bucket, but then you've got Illinois, New York, and Florida as high-pop states in the "mostly not OK" bucket. State-wide bans in Maryland, Virginia, and Washington, too. I'd guess, based on that, that more people live places with significant restrictions on open containers in public than not, but it may be fairly close to an even split.
I tend to avoid Quora mainly due to its login wall (I know how to bypass it, but to do it every time on mobile is time-consuming), only reading it if there's a "good" answer. Then again, many of the answers I found will contain (somewhat) subtle promotion to something hardly related to anything in the original question. It just doesn't get straight to the point.
> On most(all?) Modern cars you can't unlock the door from the inside if the door got locked from the outside.

Teslas have an (emergency?) mechanical release on their doors. At least the Model 3 does. Given that you can't 'lock from the outside' in the ordinary sense, if this law exists, there must be some leeway.
Not if there's exactly one person of exactly average intelligence. :-)
Square footage in prime locations is extremely valuable. One use of section of a street precludes another. Most land in America is privately owned. Way too much public space in cities has been devoted to roads, parking, and highways. So the precious little urban land available is fiercely contested. Should a section of a street be outdoor dining, greenery, parking, a bus lane, sidewalk, a utility box, product display, or a driveway? Who decides?

The law formalizes the boundaries between people. Without any restrictions people will consume as much land as possible until they come into conflict with others and use informal means to resolve disputes. Banning sleeping in your car or tents seems cruel until you experience the logical extreme of people settling permanently on public space. Stores would use the sidewalk as extensions of their sales floor and let pedestrians walk on the road.
Tiktok videos are primarily used for entertainment, rather unlike Jupyter notebooks and source code repositories. Surely you have a more serious objection.
Within the context of a Model. Models that don’t capture the very large scale effects are useless and therefore not worth talking about. What’s left is models that used to capture large scale effects and all the smaller effects that where never captured by the model.
Ouch. (they're exinct already).

https://en.wikipedia.org/wiki/Passenger_pigeon
Object.fromEntries takes iterable, so if you have a map from a handy iterator library you could get rid of the parent array returned from `bar.map`.

import { map } from "my-iter-lib";

Object.fromEntries(map((v) => [v.id, v], bar));

Or with the proposed iterator-helpers:

Object.fromEntries(
Iterator.from(bar).map((v) => [v.id, v]),
)

However the inner arrays are harder to get rid of... In fact even OP’s oneliner defines the inner arrays. I would hope there were some engine optimizations though which could minimize their footprint.
Don’t work alone. Establish formal and informal reasons to get together both online and receive. A morning coffee break group for example. Or a open rubber duck programming room.