skysight-inc/HackerNews huggingface dataset:
I wrote this:

> So, yes, it's absolutely impossible to get key up events in tty context, and at this point it will almost certainly stay that way forever, as it's too late to retrofit terminal emulators, drivers, and applications to understand whatever protocol for communicating key up events. (The right way to do this would be to develop an escape sequence protocol that the tty/pty drivers could decode and turn events into out-of-band events to be delivered via ioctl()s, that way applications that don't care about key up events don't see them and don't need to be modified. But who is going to do all that work?)

So "it's impossible [right now]" and "it can be done" but "it's not gonna happen". Is that not a fair summary? Perhaps we can disagree as to the last part.

EDIT: Ah yes, further below I wrote this:

> Eh? No, no one can fix this. Oracle couldn't fix this in Solaris. Microsoft can't fix this either (in Windows, in Linux, not at all).

> It's not a question of money, or managerial will-power. You're asking to boil a great lake, and if you have the money for it, you will almost certainly find better uses for it. There is no market demand for a "fix" here, so there cannot be any managerial will-power either.

That's overbroad, yes. The fix I outlined is not as much as boiling great lakes.
> of course, the obvious follow-up question is how do you identify which teams and businesses will grow fast?

I think his point was: when you're certain that the current team isn't, find a new one. You can't reliably identify what will grow fast, but you can identify what won't
There is no 'class' type. That doesn't make classes fake, any more than a linked list or B-tree is 'fake' in C.

As that link says, objects are not fundamentally class-based because objects don't have to have a class. But you could add classless objects to almost any language without making their classes fake. And when it talks about inheritance, well, you can inherit state in C++ too, it's called 'static'.

Or in shorter form: It's not class-based but it does have classes.
>I was arrested on a minor misdemeanor and ... got thrown in jail for 35-days when my plea deal was 0...

And...

>This was my 1st arrest...

Wait?

What?

Are you a black guy or something? Because if not, I'm not understanding how that could have happened to you?
The question is, who has the time?

I already have a two to three year agenda to improve up the stack ($cool_kids_front_end framework of the week), down the stack (AWS cloud infrastructure from a developer, infrastructure, devops viewpoint), more breadth at certain levels (get better at Python, big data, ElasticSearch and Kibana) and staying fluent when it comes to architecture (scalability, high availability, security, etc). Why would I take the time that doesn’t help in that goal?

I don’t need to be an expert in all of those areas, but I at least need to be good at some, average at some, and be conversant in other areas to at least know the what if I don’t know the how to be able to command higher than market salaries as either “adult supervision” at smaller companies or an overpriced consultant - and I am not talking about Silicon Valley/West coast salaries.
I think maxk42 is worried about the TLS certificate root zone which contains many governments. Just look here [1] and search for "government", you'll find various governments mentioned directly. Others are present indirectly, like the german government through the D-TRUST certificates that are operated by the 100% federally-owned company Bundesdruckerei.

In the days before things like Certificate Transparency and HSTS preload lists, this was very worrysome because any of these governments could just freely impersonate any website they wanted to decrypt their access to. TLS is very vulnerable to this. SSH still has the TOFU model that is less vulnerable and TLS+TOFU is possible with HPKP but Chrome removed it. I can understand the reasons for the removal but it still had negative consequences. However, Google/Chrome is very avid about Certificate Transparency and many high-value domains are in the HSTS preload list with hardcoded CAs so we are in a better situation than just 5 years ago and I think it is going to improve going forward.

So no reason to discard TLS entirely with some kind of nirvana fallacy, but of course, being aware of the problems is always a good thing.

[1]: https://ccadb-public.secure.force.com/mozilla/IncludedCACert...
Can we get an image off any reflection, it's just a matter of decoding/filtering? Is that the news?

Because I would love to take an image of earth off of, say, Pluto. Or something further.
To some extent that's because, apart from construction, we're outsourcing the manipulating-atoms business to other countries which results in higher energy intensity abroad.
Wow. I'd guess that this one which is has dark-colored edges with an air-brushed lighter area in the middle solid-body is from about 1968.
Search for system.io.pipeline. big stuff is coming there.
There are two interpretations. The first is that energy doesn't matter, and the second is GDP doesn't matter. GDP was only important when it was a proxy for energy (for a long time, the correlation between energy /capita and gdp/capita was very strong).

IF you assume that GDP is no longer a good measure of energy but that the people care about energy more, it provides an interesting interpretation of Trump's 2016 victory, the fracturing of politics and the widespread condemnation of politicians. People's lifestyles are no longer being buoyed by a rising quantity of cheap energy, and they are angry without quite understanding why their lives don't seem to be improving.

It is easier to put tensions aside and work together when you are seeing an increase in your living standards each year - even if you don't agree, it obviously works. Harder to do when they are falling - even if you agree, something seems to be going wrong.
Server-sent events (SSE) is an option.

https://blog.sessionstack.com/how-javascript-works-deep-dive...
The are millions of Wordpress blogs/sites out there doing fine?

What I also mean is that any complaints go to the host/owner of the self-hosted system.

Not to the people writing and supporting the software they run.
Well, too bad fracking in the US is on its way down. By the looks of it, it will last maybe 3 years before it peaks out. Then the barrels/day will crash. Not kidding though, and higher ups know... which is probably why the US is intervening in Venezuela, for example.
This physicist has done a number of blogs on physical restraints on economic growth.

https://dothemath.ucsd.edu/2012/04/economist-meets-physicist...

For example, if economic growth persists black body ration independent of power source raises the surface temperature of the earth to boiling in a few hundred years.
Embedded Rust Experiments: Is My STM32 MCU Running Fast?
Most of it was stockpiled in US dollars.

End of the day, the dollar will inflate away in the long run. We will have created more value with oil than the shieks and Russian mob bosses yielded in dollar terms.
Given that there's a WASM backend to LLVM, once WASM can be used without the need to interface with JS then any language with a WASM frontend (there'll probably be the need for some basic library support) will become a viable replacement.

At the moment however (I believe that it's still the case), WASM still needs to interact with the DOM via JS, so there's a minimum amount of JS boilerplate required for bootstrapping.
Can't you?

Growth just means the human race getting smarter at being productive, so we can grow more food with less effort, get around in transportation with less cars and drivers, buy the things we need at lower prices and with less friction.

You could argue that once literally everything is roboticized and automated with strong AI then there's no more growth... except humans will be looking for even better real-life experiences, better art, better teaching, better personal connections... and robots and technology will still evolve to be better designed, use less energy, use less resources...

I'm not sure I can imagine a world in which people didn't want anything else to be improved that could possibly be improved, which is what a world with no growth would have to be.
User ratings? It's not a great dataset though.
I agree Netflix is trending towards failure, but I couldn’t disagree more about why and the path leading them there. Netflix is and has been the least attractive of these services for a long time, specifically because other platforms have far expanded inventory and integrate the ability to instantly rent or buy additional content not directly included.

Ultimately what everyone wants is a super easy interface to pay for precise a la carte content, never bundled, never subscription-based. If a given person wants to buy everything from HBO, they still could, and maybe could get a discount for subscribing, but nobody wants to be forced to subscribe to watch just a handful of content items.

It doesn’t matter if it’s Disney streaming, Netflix, Premier League soccer, or anything else. It’s clear rent-seeking to create walled gardens of content only unlockable by bundled subscriptions, and the clear consumer drive existentially threatening the TV industry is that all anybody wants is a dumb pipe with an easy interface to individually purchase each content item on its own merit, flat out.

Many streaming services, particularly Amazon’s, offer this to a way higher degree than Netflix, especially in terms of sports access and new release films.

Netflix is betting that it can create locked-in content that will compel people to stay subscribing, but I think this is a long-term failing idea. Bird Box is a great example: really poor production, sloppy writing with contrived villains, lowest common denominator stuff. Stranger Things? I couldn’t see one reason to care about it. Not exceptionally bad, just overproduced blandness. The gimmick of making things into viral phenomena is not a stable business plan in this area.

As prices rise, Netflix just becomes another HBO. A walled garden of content, except HBO actually makes good television and knows how to do it. Netflix is trashing its own brand with mindless crap. It’s network quality for premium add-on prices. Especially if economic hard times hit, this is exactly something people are going to realize they can live without.
Virtual Apollo Guidance Computer
If you want to hear a perspectives that you do not have, find a person that is furthest from your social economic class. Stop and talk to a homeless person on the street.
Not an American, so can't tell if you think 35-days custody is a lot or a little for a first offence?
What has that to do with TLS? TLS doesn't specify where you get information which certs to trust from (indeed your "put keys in DNS" proposal exists as a standard, to be used with TLS, but used by nobody for HTTPS because DNS is either untrusted or secured by even more centralized structures)

And protocols are typically stacked cleanly enough that it'd not be a big problem to replace TLS if another standard comes along to replace it.
Because they only added it recently. About a week before the livestream. The other games were recorded last year.
In a lecture to senior business executives on Dec. 16, Renmin University economics professor Xiang Songzuo, said that a “very important institute” in China estimated that China’s GDP growth for 2018 should be about 1.67 percent or even negative, and not the statistics bureau’s official figure of 6.5 percent.

https://sinoinsider.com/2018/12/politics-watch-xis-reform-an...
Code Highlighting Within Squarespace Personal
I really miss the simpler times of ES3/5.

function memoize = function (fn) {
var value
return function() {
return value !== undefined ? value : (value = fn())
}
}

var func = memoize(someComputation)

Why would anyone want to write that do/iife abomination inline?
Although I would prefer to not ever see Fortran code (as I don't know how to call into it easily, C implementations are easier to embed in any language), some numerical methods with simple code but heavy math are just not reimplemented too often.

I believe the real value in Fortran is in these libraries that handle numerical edge cases as well. It would be much easier to move them to a newer language if they would contain unit tests, but they usually don't, so it's just not worth the risk sometimes.
The terminology, the terminal emulator from enlightenment, will display images and do other things tgat xterm never could:

https://www.enlightenment.org/about-terminology.md
What is "a deflation"? Do you mean a recession?

Or if you're talking about the phenomenon of economic deflation in general (the opposite of inflation), what does that have to do with nature? Is there a proven link that higher inflation rates lead to further negative environment impact? It's not clear to me why that would be the case.
Not common. However, don't bother validating emails in anyway other than attempting to send them. Does it have an at-sign? Decent check. You can get fancy and check MX and A records. Ignore everything before the last at-sign. Yes, last at-sign. A valid email address can have multiple :). Just try send an email to validate it.
The advantage of straight JS is that you don't have to compile it. Once you accept a compilation step you have quite a few pretty good alternatives like TypeScript.
On a micro note, give YNAB a try. Diligent measurement has impressed on me how unconstrained our spending was. Cutting down the number of channels for payment goes a long way. There's a reason all the FAANG companies are happy to handle your credit cards.
For some reason Pages must still be backed by a public repo for free accounts.
Wikipedia "handjob", article starts with a nfsw picture.
What If We Treated AI Bias Testing Like Clinical Drug Trials?
Is Fortran really the best language or it's just too hard to rewrite the code in C / Rust / Julia? I believe it's just easier to wrap it, as it contains tricky numerical edge cases that are too complex to understand for an average software programmer.
"You can't sustain growth forever."

Of course you can. We've been doing for most of the last 2000 years, we'll keep doing it. Mostly.
The numbers may not be super accurate but if you've ever been to a big city in China in the past decade you would have witnessed circa 10% GDP growth with your own eyes.
I tried to put together a case for this yesterday in a thread on Germany and coal. The comment is probably relevant here too, so I'll copy it with minor adjustments. The US-centric figures are because I was arguing about the US, but I think the picture actually covers a lot of countries.

There is some evidence that we are either hitting peak oil, or rising competition from previously-developing countries is choking the West out of energy markets. Energy prices are not cheap at the moment (I'm not accounting for inflation, but according a back of the envelope check these numbers are all growing much faster than inflation).

Crude oil prices went from $35 -> $70 around 2005 and have generally been floating around there since, with short periods of time (a year or two) where they drop down [0], coal did something similar from $50 -> $80 [1]. In the US, coal use for electricity immediately started dropping off, and Natural Gas has been replacing capacity but not overwhelmingly [2]. There was a 5 year period where gas (ie, car fuel) prices were just out of control, and a long period of time where they were just high.

Most of the US's energy is sourced from petroleum and coal [3, 4]. I'd suggest that although cheap natural gas has absorbed some of the shock, there is evidence of cost pressure. This all seems like a pretty substantial problem (read: threat to political stability at a grand scale), I'm constantly surprised it doesn't get more press.

[0] https://www.macrotrends.net/1369/crude-oil-price-history-cha...
[1] https://www.indexmundi.com/commodities/?commodity=coal-austr...
[2] https://en.wikipedia.org/wiki/File:US_Electricity_by_type.pn...
[3] https://www.eia.gov/todayinenergy/detail.php?id=10
[4] https://en.wikipedia.org/wiki/File:Energy_Flow_US_2017.png
[5] https://en.wikipedia.org/wiki/Energy_in_the_United_States#Su...
I like git cli and find it to be amazingly well-designed and intuitive.
How do we remember memories we have forgotten?
that is fine. If you happen to be on iOS there is an abonement already available which basically is the "I like what you are doing and would love to support more"-option for now.
If you are more interested in a one-time payment, there is no option for that yet, but I would like to have one in the near(er) future.

Cheers
People used to say that about svn to which I akways found so odd. Perhaps I was fortunate to start out on a team that actually understood branching, merging, and most importantly, how to resolve merge conflicts?
There are two things I would expect even a mid level developer to know - how prototypical inheritance works and how “this” works in JS.
Clearly, it is not. That would imply that gdp per person can go to infinity. In fact even if you just plug in 3% gdp growth per year and extrapolate a few hundred years, you get absurd results. Why nobody talks about this, I don’t know.
Oh, I completely agree that market exists. Along with all the business models and data collection value that goes along with them, in order to make them sustainable.

But look where that's got us ;)

The tools/software just need to be very simple and easy (/foolproof, if such an app exists).

Also: 'webrings' need to be a thing again ;)
Games are the reason we have X or Wayland.

Yes you can play games in terminals. Years back I used to be pretty enthusiastic about roguelike development (rec.games.roguelike.development) Those games are almost universally designed in a way that doesn't require key-up info. Where you really need key-up info is in realtime games like tetris, except in practice even for tetris you can do just fine without key-up. Now, if you were playing Quake using a aalib renderer, then you'd definitely want key-up to stay competitive. But then you've also got the problem of sending stereo sound over ssh! Should terminal emulators be made to support that too?

There are lots of terminal games. There are lots of realtime games. The demand for games that are both at the same time is pretty damn niche. And when you plausibly find yourself in that niche, you realize that needing key up info is the least of your problems. This is indicative of using the wrong tool for the job.

Trying to play quake in your terminal emulator with responsive controls is like trying to take your car out into the bay to do some fishing so you go at it with a caulk gun and expanding foam, slap a sail on top, only to realize you don't have a keel to the wind flips you right over. Just get a boat.
Hiring for the AI Revolution
> That's why societies have laws. So we can know what to do or not when faced with such questions instead of passing the burden to the individual under the guise that it's "freeing people".

Yes, but laws can be devastating just as easily. In an age where the abuse and misuse of the ever-growing body of laws is so rampant, I cannot help to think that having even more badly written laws is a good solution.

Legislation is at best a necessary evil: a baggage, a clunky, heavy stone which you have to lug with you all day, every day. It serves a purpose, but you want to have as little of it as possible.
I find this to be off-base in a number of ways, starting with the premise that Netflix is a two-sided platform like Facebook, Google and Amazon.

Netflix used to be a distributor. It paid content owners to license its back catalog which no longer had any value in primary channels, namely cinemas. It then charged users for access. In contrast, two-sided Facebook's user do not pay anything, but the advertisers pay for access to them. The relationship is roughly the reverse.

Netflix also do not have suppliers that build up the attractiveness of the platform to end users. Netflix paid for back catalogs. Amazon doesn't pay its merchants.
Today, Netflix is both a distributor and a producer. This doesn't make Netflix twice as strong but introduces a number of dilemmas into the organization. In the same way that Disney would look to external distribution channels to maximize the return on its investment in content, Netflix now has the same incentives. Netflix has no suppliers in the sense of Amazon - it pays for all the productions on its platform. It supplies itself.

In fact, they could theoretically make more by having staggered releases where premium channels like cinema receives new titles first. Why? First, because a single ticket to the cinema costs more than a month's subscription to Netflix. Second, because the direct income from Bird Box is $0.

Certainly Bird Box has a positive effect on subscriptions but it can only be inferred. This is an enormous problem. How can you justify spending say $100 on a production which could directly generate $700M at the box office, and then just release it to a limited audience? There are going to be numerous internal battles over this. I bet we'll see Netflix go for wide cinematic release of some titles.

Another issue is capital. Not only does Netflix has to produce content from which there is no direct return. They also have to market it. A $100M production may receive half or the same amount of spend on marketing. They have to build IP that is as relevant as Marvel.
In summary, the challenges Netflix has is contradictory incentives between distribution and production, mastering the art of production and building of IP, and spending on marketing new productions.
First one is called 'concatenation', second 'array difference'. It does require a one-time look at documentation, which doesn't take anything away from the fun or practical aspects. There is no expectation that they are inverse or commutative.
But what attracts people to the Skinner box games is the fact that they are Skinner box games. coughClash of Clanscough
An Introduction to Experiment Pairing
You can’t, but the belief that you can is a deeply ingrained feature of capitalist ideology, so everyone walks around believing that you can.
Great link. Here's another good one.

https://www.jamisbuck.org/mazes/
Its not fair imho to underplay the movie itself. Maybe it wouldn't have done as well if it wasn't marketed as hard, but I didn't tell my friends about it because Netflix made me.

Bird Box was one of the best horror movies I've ever seen.
You need an increase in worker population or an increase in productivity per worker to increase the output of your economy. If populations are stagnating and innovation is low, that would cause less growth overall. Consider that many countries have a lopsided age distribution, such as Japan, China, and some European countries. Immigration into those countries may in fact be useful if it balances their population pyramids.
Its a miracle what is all possible, if somebody manages to inconvinience politicians.
The police and the courts pretty much do whatever they want, regardless of what's actually said. If they say you go to jail for a month, you're going to jail.

Also, in the US, 75 percent of people in jail are back within 3 years. It's not necessarily because people can't "get better." It's also because US society is setup to continually attack people who have gone to jail and send them back. It's the entire reason why the majority of people in jail being minorities is so egregious.
are you sure it's a problem? and you don't just have a shaky understanding of the science?
I find the opposite to be true. With numba & Cython, it’s ridiculously simple to target a segment of Python code for compiled specialization, often required for custom pieces of work not directly expressible in NumPy, especially when processing non-ndarray data structures.

I find I am frequently removing sections of inscrutable “vectorized” NumPy code that is inefficient, not because NumPy is inefficient but because conforming the data to a structure amenable to NumPy is too inefficient in the first place, and rewriting in straightforward, simple Cython functions.