skysight-inc/HackerNews huggingface dataset:
I (mostly) returned to C a little while ago, and for smaller things I sometimes create the entire application state as a single, big struct that's made of many smaller nested structs, maybe with one or very few "layers" of dynamically allocated data dangling off from the static "root structure" (but only when really needed).

A very simple example is an all-in-one application data structure like this:

https://github.com/floooh/v6502r/blob/1d2b79ac11d7828b2722b5...

This very simple approach has some downsides of course, mostly because C doesn't help much to solve some problems like a more specialized language could (but on the other hand, it also doesn't get in the way much):

- Every part of the program sees and is allowed to change everything, so it would be nice to have a simple syntax for fine-grained visibility and access rules (but not at all like C++ public/private, more like compile-time read-only and read-write access tokens).

- Not much compile- and runtime-protection from code scribbling over neighboring nested structs.

- Not much flexibility for dynamic arrays. It would be good to have 3 flavors: (1) compile-time max capacity which can be completely embedded, (2) a runtime max capacity array, which is allocated once but can never grow, and (3) a fully dynamic array which can grow (but maybe never shrink?). Such dynamic arrays should never change their base address, so that memory locations remain stable.

- It's not well suited for bigger programs built from many modules. It should be possible to have highly modular program code, but still end up with a single monolithic "root data layout".

One great side effect of this approach is that it feels completely natural to not do dynamic memory allocation all over the place (and one of the good features of C is that memory allocation is always very obvious - and thus easy to avoid).
> Some people think that in C, the integer literal 0xff is more "byte-like" than 255

When I'm doing bitwise arithmetic, or poking hardware registers, I think in hex. 0xff/255 isn't a good example because that's easy offhand but a lot of other values take longer to "parse" in base 10. It depends on the context whether base 10 or 16 literals are easier to read and parse for humans.
Nope, whats your viewing setup? OS, browser, device, etc? Still iterating on this from yall's feedback as we speak.
Welfare was slashed to the bone under Clinton. The largest expansion of gub'mnt care costs was under Bush when he expanded prescription drug care to the elderly.

Another $1 Trillion (not Billion, Trillion) is estimated for veterans care for those who were hurt in the endless wars in Iraq and Afghanistan.
just of out of curiosity, what size was your droplet and how was your asgi config?
> The optimist in me hopes to see people demand universal healthcare, social housing, food benefits, and more so that everyone at least has a baseline level of stability.

I doubt this will happen because one half believes this is all a hoax perpetrated by the other half.
It definitely takes a long view approach. A couple important aspects of building a steaming following are structure and consistency.

If you give people a clear idea of what to expect from your stream and when it will be live, and if you don't make too many drastic or sudden changes to either of those variables, then those who like your content enough to make time for it will do so.

If you keep making changes, show up late or just don't seem dedicated, then people won't feel like they can rely on you. Because of that, people won't factor you into their decisions about how they spend their time.

Glad to see you're giving it an effort! I wish you the best of luck.
Probably just an efficiency argument, since deque is designed to be efficient when used as a stack/queue. https://docs.python.org/3.8/library/collections.html#collect...
Why don’t y’all ever read the article before commenting? As if no one is going to notice
Interesting as well. I see the MLTon regions have issues with bounding space complexity. I wonder if a language could impose some reasonable restrictions to bound region space complexity. That would seem to make regions quite attractive.
"Created by the courts" is what opponents of any doctrine say about it. The Supreme Court's view of it is probably quite different. :-)

In other words, I think the only ways to get rid of qualified immunity are (1) to get SCOTUS to overrule their own quite recent precedent or (2) pass a constitutional amendment.
UI designers aren’t doing UI design anymore
Do you have a link?
With incubation periods of up to two weeks and cases without symptoms everything is possible.
There is a barrage of noise coming from a construction site next door to my apartment while I try to work from home. To block out the noise completely I do three things at once:

- Soft foam earplugs

- Noise cancellation headphones (Sony WH1000XM3) over the earplugs

- White noise playing through the headphones

With this I can block out almost any amount of noise. The white noise can be turned up to any level necessary to drown out the sound. With the earplugs and noise cancellation headphones I usually don't have to turn the white noise up too loud and I forget that it's on.
Are there any resources for determining which US politicians support environmentalism (specifically meaningful, evidence-based policies as opposed to vapid virtue signalling) and/or where the "battleground" states are? I guess in general I'm looking to get involved more in climate politics, but I don't know where to start.
> It wasn’t actually a great sacrifice.

The direct personal cost was mentioned in the original public letter:

>> What with big-tech salaries and share vestings, this will probably cost me over a million (pre-tax) dollars, not to mention the best job I’ve ever had, working with awfully good people.

Even though it's unlikely to put the author in the poorhouse, that's not a trivial cost.
> We would like to use it for "good" projects, and not things like running bitcoin miners!

I was just about to say use it for mining, but then I read that. You could always use it as a CDN or mirror service to host Linux distro ISOs
I can't imagine what higher ups in Intel are feeling about the current state of things especially since they are spending nearly 10x on R+D as AMD is($1.5b AMD[0] vs $13.1b Intel[1]). Of course AMD doesn't need to spend R+D money on the process they're using from TSMC although I'm sure some of the money they're handing over to them goes to R+D.

I'd love to be a fly on the wall in the board meeting room.

[0] https://www.statista.com/statistics/267873/amds-expenditure-...

[1] https://www.investopedia.com/news/amazons-23b-rd-budget-sets...
> We're the first species to potentially cause a global extinction event

There's evidence that cyanobacteria did it earlier, on an even more massive scale:

"...biologically induced molecular oxygen (dioxygen, O2) started to accumulate in Earth's atmosphere... causing almost all life on Earth to go extinct." [0]

[0] https://en.wikipedia.org/wiki/Great_Oxidation_Event
Official GitHub theme for VS Code
The authors of the D614G paper do attempt to rule out a founder effect. I'm not saying their analysis is bullet proof, but the OP doesn't address its merits.

To differentiate between founder effects and a selective advantage driving the increasing frequency of the G clade in the GISAID data, we applied the suite of tools that we had been developing for the SARS-CoV-2 analysis pipeline (Fig. 2, Fig. 3, Fig. S2 and Fig. S3). A clear and consistent pattern was observed in almost every place where adequate sampling was available. In most countries and states where the COVID-19 epidemic was initiated and where sequences were sampled prior to March 1, the D614 form was the dominant local form early in the epidemic (orange in Figs. 2 and 3). Wherever G614 entered a population, a rapid rise in its frequency followed, and in many cases G614 became the dominant local form in a matter of only a few weeks (Fig. 3 and S3).
I wouldn't call your comment a call for introspection. It's a bit more of an ad hominem attack, really. I'm also Gen X. And thoroughly socialist. And also thoroughly anti-authoritarian. I don't fit the mould of your comment, but my opinions are a target of it, and so I take umbrage with its rather denigrating tone.
Earth has undergone lots of (short) periods of unsustainable ecosystems. They always crash and annihilate themselves. What is left has no choice but to gradually come into homeostasis, because the instability of too many aggressive species just leads to chaotic behavior and more crashes.
Totally second this notion as there is no actual transparency into the market so no-one (save for maybe a select few insiders) actually know whatsup.

Anyone who claims to know things (beyond an idea, theory, or speculation) about the equities market at large whether on HN or anywhere is outing themselves as full of it.

This underlying opacity cannot be ignored for flies in the face of all the 'already priced in' arguments and 'rational actor' notions.
The Carbon-Tax Opportunity – The pandemic-related collapse in oil prices (cont)
> Are there analogous feelings in other creative pursuits you practice?

The "wow this was clever" feeling I'm sure exists in all kinds of creative pursuits, but for artistic creativity I doubt the "somehow it works!" feeling is the same. If it connects with an audience you probably wonder if it was just marketing and luck, and if it doesn't, you wonder if it's just your own personal taste.
The Sprint book seems to have a pretty accurate summary
https://www.thesprintbook.com/how
Is there a better alternative? I understand your criticism, but this is not a dataset that can be reasonably obtained in its entirety, so sampling is basically required.

Their methods have been largely consistent over the years, so even if it isn't complete, it's easy to compare to historical trends, which is more important in this context.
No - I'm hard on myself and so look back and always say "this is sh!t"
It may be wrong to say this is a disease of the over-70s, but it's not wrong to say that it's a killer of over-70s and the sick.

Most critical workers are not over 70, and most do not have long-term health issues.

So yes, there was always going to be economic damage. But that doesn't meant there would have been nearly this much.
Sick cows don't always mean lost money, and farmers don't work hard to preserve the aspects of the cow's health that doesn't cost them money. For example, it's actually cheaper to keep cows in conditions that would cause any animal to suffer from depression, than to care for their mental health.

It may seem weird to talk about the mental health of beef cattle, but we're not talking about beef cattle, we're talking about workers, whose mental health absolutely does matter.
Wow, HN is strange sometimes. Have covid19 strains become political/tribal somehow?

I'm just pointing out something interesting in the data I was curious about. It's a pity HN picks out one detail and ignores the interesting thing... but upon reflection, pedantry is typical of today's HN, and partly why pg withdrew.

Regarding Australia, it's often said we are in the Asia region. And for the specific purposes here, of initial transmission, we have much contact with China, through tourism, education, primary produce and trade in general. It's expected we'd get initial infection direct from China (which trwcing shows we did), rather than via Europe.
Having worked in finance as a non-trader, people underestimate how group think-y professional traders can be.
That's not true at all -- there have been countless problems similar to this, it's simply that in time life has rebounded, and that species without an "evolutionarily stable strategy" have died out. Here's just one example:

https://en.wikipedia.org/wiki/Great_Oxidation_Event

[edit]

A bit more info on ESS:

https://en.wikipedia.org/wiki/Evolutionarily_stable_strategy
Did anyone else read this and, experiences colored by startups, immediately begin thinking about an analogous effect in startup organizational developmental dynamics?

Anyways, to be more on topic, I read this quote from the article: "Because of the founder effect, showing that a particular mutation increases viral transmission in humans is very difficult." Does the author here mean that it is hard to determine whether a mutation increases viral transmission in humans or not because that mutation's survival may not necessarily be the result of genetic fitness but founder effect?
As someone who used to live in Finland, their "success" is mostly driven by an excellent student:teacher ratio and a phenomenal social services system. Any adult who is struggling through a crisis will be helped by a system that 1) doesn't stigmatize 2) is able to retain talent (because they probably only make 10% less than a software engineer so you have many more capable people interested in it). Conversely, education in America fails for people in low socio-economic conditions primarily because of a lack of these two, not because Finland's found a magical/effective way of teaching an average 10-year-old kid.
Not sure if I’m missing a joke somewhere, but “0xF” is 50% longer (by number of chars) than “15”...no?
Here's a link to a demo you can try in your browser. (not my demo). https://huningxin.github.io/opencv.js/samples/video-processi...
Too many comments explain what is going on. That should be obvious from well-written code. But comments why it's done that way can be extremely valuable.

And sometimes there is indeed something wrong with the code. In those cases, a comment saying so can save a lot of time analyzing what's wrong with the code.
We have an amendment, the 14th.

"...nor shall any State deprive any person of life, liberty, or property, without due process of law; nor deny to any person within its jurisdiction the equal protection of the laws".

If the law is interpreted as granting qualified immunity to police officers under certain circumstances then it should apply to anyone else who meets those same criteria. To carve out criteria that only applies to cops should run afoul of the 14th amendment.
That makes sense to me. The lockdown has reduced people getting infected from being out. There are still people getting infected and that is people in institutions (care homes, prisons, hospitals) and people in houses. Ie if one person in a house of 4 gets the virus and passes it on to the rest of the family 75% of people infected were staying at home.
One year between the acquisition and the take down seems a lot of time. It may seem they were not even trying?
Their website already looks good as it is.
> meaningful, evidence-based policies as opposed to vapid virtue signalling

You would need to define what set of policies you consider which first.
> Under the current google model, as long as you have a play store compatible device, you get chrome webview updates through the play store, even if the device fw is eol.

lol I have a shitty tablet at home with Android 7 to tinker with and when I go on the Play Store is says that Google Chrome is not compatible with the device. It has something like Google Chrome 50 preinstalled and can't be updated.

Good luck getting an updated version of WebView.
With very few exceptions, any affordances technology brings are consumed by humanity's insatiable appetite before they can benefit the environment. If technology figures out how to make $X more energy efficient, we just run more $Xs such that the (trajectory of) energy consumption is constant.
My 2014 MacBook Pro with Intel graphics can play lots of Unity games just fine, including Kerbal Space Program. Can't crank the graphics all the way up on all of them (can on some!) but it's fine. Minecraft's good, maxed out. Any older games, of course. Most of the new wave of Baldur's Gate-alikes and sequels, if I don't max out the pretty, run fine. And that's on 6-year-old Intel graphics. Definitely no problem with PS2/N64 emulation or earlier.

Only reason I do almost zero gaming on it these days is that they killed 32-bit support, and with it most of my library.
Haha yes of course! My bad, thanks.
Part of it is community agreement. In order to mutually trust what we do on each others' machines, we give up some rights, including the ability to lie about what you executed on your own machine. It is the implicit agreement in Folding @home and many community computation projects, only this is better enforced.

Peer-to-peer computation is hard to implement because of the quite hairy social aspect of requiring a trust root that is out of direct control of the owner of the equipment.
You should use "Show HN" if you built it, it's more topical
Ask HN: How to educate clients in Software Development process
Hello HN community, I'm having issues dealing with a client who paid me to develop their digital product. The client is no a tech guy, so he pressure us to get thing faster but without any logic behind, and we are working just to deliver, and i don't like to work like that. What's the best way to onboard my client in the in and outs of software development?
Analysis of dev agencies with hourly rates, team size and tech stack
When people talk about climate, resources, ecology etc. people are typically quite optimistic until you bring up the idea of "sustainability". The typical reply is something like "oh, we'll get there one day, it's certainly possible in the future.." but the idea of that sustainability is something we can put off is rather absurd, in the most technical sense.

Sustainability is the border between two ways of life. The side we're on, is by definition, unsustainable. It literally cannot be maintained. When you are in a state that no one on earth would argue can be maintained, pessimism and existential concern should be the default, predominate way of thinking.

If a subsistence farmer needed 1000 lbs of potatoes to feed his family each year, but was only capable of growing 700 this year, and was estimably 650 for next, you would be deeply concerned. Even if his estimate was 850 for next year, you would still bet that he was not going to survive. But this is how we live our lives, the sustainability is often talked about as some sort of moonshot goal.

The irony is that we do scream "the economy!" but when you think of the basic logic of sustainability there is the one side where you cannot survive on your current path, and the other where you produce a surplus of what you need. If our farmer expects to grow 1200 lbs of potatoes he can survive unexpected events, sell his potatoes to a neighbor, expand his family etc. Clearly the real economy only exists on the other side of sustainable.

If the economy is unsustainable, in any situation other than the world we live in, anyone would clearly state that such an economy is an illusion, since by living in an unsustainable way you have less than you need to survive, let alone enough to worry about what you want.
here's a graph for pinterest

https://techcrunch.com/2011/11/26/pinterest-viral/
Whoops, I ninja'd an edit right as you commented. I'm running my gateway on 5080 so it didn't load, but I can access the image after updating the url.
There absolutely is more nuance to this and you seem to be missing all of it.

> the consumption of electricity is not a side effect, it's the whole point.

The OP would argue that it's about the consumption of resources in general. The interesting point of discussion here is CAPEX vs. OPEX dynamics in mining. The CAPEX of creating ASICs is a huge factor in Bitcoin mining.

One of the arguments for using photonic ASICs for mining is that it actually decreases centralization in hardware manufacturing. Photonic circuits are printed using older processes which are cheaper and more widely available than 5nm ASICs that will be made for Bitcoin.

I recommend you read the paper linked by the OP or watch his talk. Personally I don't know if I really believe in the idea, but there are definitely interesting points being made that are worth studying.
It's what I did in other parts of the project but I haven't noticed any performance increase. I guess standard lists are already fast enough for implementing stacks.
> who want to have a major impact, and are willing & able, should find a new employer

(These views are my own and I don't in any way represent Amazon, my employer. I wasn't paid to say them either.)

It's easier said than done. There's a pandemic on and most of us are just glad to not be in the ~20% unemployment rate. We have mortgages to pay, children to feed, etc. Many of us just became single-income households. Taking on risks now is hard.

I truly respect Tim's actions. I hope it sparks change.
I'm trying to get my public key available to others by more reliable sources than the traditional PKS, mostly because I'm signing git commits and Linux packages. I've an encryption key as well that I use to encrypt server backups, but I'm not expecting it to be used much for emails (actually, every single email I've received with sensible information was /not/ encrypted — people just don't understand / care).

Not all my private keys are air-gapped, but the encryption key is, since I don't need to decrypt my backups, and don't expect to receive encrypted email very often, so why take the risk? I have an old laptop which is not connected to any network and that I only use for this now: I plug the USB key with the private key, decrypt / sign whatever I need to and that's all. It takes me a lot of time, but I don't do that more than a few times every year.
Personally demand for chips is not the measure I’d want them to use.

Stabilizing employee mindset is the measure they should care about.

Hard to ship chips if they feel the company doesn’t care about their demand to stay alive and they all quit. AMD wouldn’t mind a bunch of chip experts being suddenly available.

Ogling market economics first and foremost is really not the priority for agency these days.

If demand falls such that we’re just generating chips for science and industry, so be it.

No one owes tech nerds tech to fetishize.
We Need a Remdesivir Pill. Badly
Do you how to overcome the need for adulation. I for one constantly seek adulation. For the good of one's career, some say one has to constantly repeat their achievements. Evolutionarily we may do it because some will fall for it and support us thereby enhancing our chances of survival. But, I think I love adulation to the point of being mentally sick.
Can someone explain to me like I'm 5yo why a virus is not considered alive?
The Biomass of mammals on Earth is sobering.

Livestock, mostly cattle and pigs (60%)
Humans (36%)
Wild animals (4%)
'Ecologically, humanity has been noted as an unprecedented "global superpredator"'...

</sigh>
Show HN: Indie Game – Make your friends guess the most movies using 3 emoji
Many years ago, I used expect to automate WiFi devices configuration before bringing them to customers. I still remember myself watching those scripts running while drinking coffee :D
Gruber hasn't said what it'll be about, but judging from the episodes list he links to, it seems to be roughly the same sort of content as on the Daring Fireball blog.
> 2. Static vs Dynamic webpages are irrelevant, if the pages themselves are small. Dynamic of course incurs some CPU on the server-side, but that is a machine not bandwidth issue.

Huh? Sure, it's not a bandwidth issue, but the article is about more than serving on low-bandwidth. It's about using limited hardware more generally.

From the first two sentences:

> The cheapest way to run a website is from the home Internet connection that you already have. It's essentially free if you host your website on a very low-power computer like a Raspberry Pi.

I guess the headline refers to bandwidth, and there's some bandwidth-specific framing, but the article is discussing more than just low-bandwidth situations.