skysight-inc/HackerNews huggingface dataset:
> No, no one can fix this.

I don't know about this mythical "one", but I can. I just see no reason to fix it.

It is not so hard to make a patch for a /usr/src/linux/drivers/tty/vt.c to make it accept one more esc-seqeuence which would switch terminal into special state, when terminal will send keyup and keydown escape sequences instead of raw-keys for each keypress. A week of tinkering with vt.c and viola, terminal can send keyup and keydown. (Plus maybe one more week to decide how to encode keyups and keydown the best, so ideally terminal would be useable even after wrong esc-sequence sent to it in the wrong time).

The right question is: and what? Why might I wish to do this? I might invent some application for this new feature, but I'm pretty sure I couldn't invent something useful what can't be done without keyup event.
> You may as well decry the budgeting for legal as saying the company wants to break the law.

The only reason to have a lawyer is because you broke the law, got it.
Apocalyptic?

Science would first grind to a halt, reverse itself, then descend into a thousand-year dark age of sophistry, apologetics, and superstition. Alexander Fleming and Jonas Salk would be laughingstocks, Vaccinations would be banned and plagues would visit upon the Earth. Norman Borlaug would be denounced, crop varieties would be chosen by astrology, and famine would be visit upon the Earth. The guilty party for any crime would be determined by Phrenology or Theranos blood tests, the punishment decided by Jungian psychoanalysis, and injustice would rule the Earth.

I only say this because this is more or less what happened during the Mao's Chinese Cultural Revolution, Pol Pot's Khmer Rouge, or the European Dark ages. Historically speaking, it's a very bad sign when science is outright rejected and it most likely means millions of people are about to be murdered, and then millions more are going to starve to death or die of preventable diseases.
Would it work if the sender immediately started sending a fast stream of repeating characters over? Then the keyup on the receiver is when the stream stops.
So you stopped watching television style entertainment? That’s a great change if so, but I’m not sure I see that happening on a wide spread basis anytime soon.
doesn't use render interpolation as the OP article describes
Highly disagree; education for sake of education is highly desirable. Education for sake of getting a career leads you to the exact broken system that is in the US.
I have been a Netflix subscriber for over 5 years now, but seldom use it anymore.

Most streaming is via Hulu (commercial free) or Prime in our house nowadays.

I don’t have children, but I could see how having the Disney catalog would be enticing to parents of young children.

Also, strange the article did not mention Fortnight, by name, as a competitor.
I can confirm that that's exactly what happened, different generation algorithms have a different "texture" to them in precisely this way and those textures do sometimes have a byproduct of making the maze easier or harder to solve.

The algorithm with the least helpful "texture" is probably Wilson's algorithm, which basically says: choose a point at random out in the unsolved territory and begin a random walk: when you reach the solved territory (the maze as it is already known), add those points back to the maze; when you self-intersect you should delete the random walk back to where you self-intersected. (For the very first walk, furthermore, there is only one "solved" point in the maze so you may wish to speed up maze generation by doing a different random walk that just "busts down walls" into the as-yet-unknown area; this is called Aldous-Broder and it has the opposite problem where it tries to randomly walk into unsolved space so it takes forever when the unsolved space becomes rare.) So one would start from,

function* randomWalkPoints({ x, y }, height, width) {
const incr = [{dx: -1, dy: 0}, {dx: 1, dy: 0}, {dx: 0, dy: -1}, {dx: 0, dy: 1}];
while (true) {
const { dx, dy } = incr[Math.floor(4 * Math.random())];
const new_x = x + dx, new_y = y + dy;
if (new_x >= 0 && new_x < width && new_y >= 0 && new_y < width) {
x = new_x;
y = new_y;
yield { x, y };
}
}
}

Now, the algorithm might get a bit weird because it looks like you are using block mazes rather than conventional thin-walled mazes; every n-by-m thin-walled maze has an embedding as a block maze of size (2n+1)-by-(2m+1) simply by making (0, y) and (x, 0) all walls, every (odd, odd) point is empty space representing one of the squares of the original maze, every (even, even) point is a block, and (odd, even) and (even, odd) points are blocks if and only if there is a vertical/horizontal wall between the corresponding squares in the original maze. So all of the resources you will find are talking about mazes that look like,

╔═══════════╦═══════╗
║ ║ ║
║ ╔═══ ═══╣
║ ║ ║
║ ║ ═══╗ ═══╣
║ ║ ║ ║
║ ╚═══════╣ ║ ║
║ ║ ║ ║
╠═══════ ╚═══╣ ║
║ ║ ║
╚═══════════════╩═══╝

and then in your context this becomes:

X X X X X X X X X X X
X . . . . . X . . . X
X . X X X . X . X X X
X . X . . . . . . . X
X . X . X X X . X X X
X . X . . . X . . . X
X . X X X X X . X . X
X . . . . . X . X . X
X X X X X . X X X . X
X . . . . . . . X . X
X X X X X X X X X X X

So I'm not 100% sure whether you would want to just restrict yourself to block mazes of this type, or whether you would want to just try something like "I modify Wilson's to keep track of walls I have already placed, too, and then when I intersect with myself on a path that already hit a block wall, I discard back to the open-space which placed that block" to get a slightly more general vision of the problem... I am not sure how you'd want to handle that.
Living in Phoenix for several years and working in Chandler (the headquarters for the self driving car division where my office was actually on the initial training route before they allowed passengers) I can say the cars suffer from being overly conservative. I don't think this is a bad thing for self driving cars, in contrast Ubers cars (before they were banned from the state for disabling collision detection and killing someone) drove aggressively. Ubers cars needed to be taken over to stop from hitting pedestrians crossing at intersections and continually drove at least 5mph above the speed limit.

In Phoenix everyone drives fast on the highway, but Waymo cars drive 5-10mph under the speed limit. There are some unprotected left turns across 4 lanes they may try but being conservative they crawl across and eventually get stuck in the middle. This is probably a good thing for now and as confidence with the engineering team on the hardware and software goes up it can likely be tuned.
Author here.

This, I think, one of the fundamental challenges of teaching software architecture or other higher-level engineering topics. A lot of architecture boils down to:

1. Here's an obvious simple way to solve a problem, X.

2. If you do X at scale, much later, you will run into pain.

3. So here's Y, which seems weird and non-obvious but solves the same problem as X without the pain.

It's really hard to teach people step 2 when they haven't experienced it first-hand. You can walk them through scenarios, but most scenarios small enough to fit in a reasonable amount of prose feel fake and contrived.

Even when this does work, you can end up with a generation of programmers that cargo cult Y without any real understanding of the original problems it avoids from X. Look at, for example, how "goto" is now a boogeyman in programming well beyond the narrow concrete problems Dijkstra had with it.

For many of the chapters of the book, I try to walk readers through the problems of simpler approaches as well as I can, but it's a continuing challenge. There really is no substitute for experience.
“And what is the use of a book,” thought Alice, “without pictures or conversations?”
“Disruptive” Bezos healthcare venture accused of copying competitor
I can speak for myself, at that price I need to get live streaming as well as on-demand.
Object orientation in the sense of having some sort of data structure having some officially associated "methods" with it, and then building other structure on top of that, is alive, well, and not going anywhere any time soon despite the occasional functional programmer epiphanies.

Object orientation as in "There must be classes, there must be inheritance, each method and instance value must be able to be private, public, or protected, and have official constructors and destructors" and probably a couple of other things I'm missing, is also alive and well and not going anywhere any time soon, but is no longer the only definition of Object Orientation.

If you were not around at the time, you'll have to take my word for this, although the echos still reverberate in Javascript tutorials to this day (because of the way they talk about prototype-based inheritance as if you've got to be placated long enough about the fact that it isn't "true" OO long enough to learn what it actually is), but when it was released, Javascript (prior to any sort of "class" keyword) was not considered an "object oriented" language, because it didn't have "real" inheritance, or private values, etc. etc.

The point is that in a world where the definition of "OO" has expanded enough to encompass the original JS, it's a bit odd to bodge on a particular definition of OO so late in the process.

(People also argued back then about whether Python was object oriented (!), because it didn't have "true" support for private instances or methods. By contrast, I find it amusing when sometimes the question comes up "Is Go really Object Oriented if it has no inheritance?" and the answer generally amounts to "Honestly, who cares?")
Yes, but a weakref by string or number would be quite useful for ORM caching.
Facebook did things no one else did like allow you to import your hotmail contacts. They rolled out in small batches. At one point you needed a .edu email. The press was great. Facebook did so many things right marketing-wise in the beginning.. even now they always seem to be on the cusp of the next wave.
> No, no one can fix this.

The nice thing about escape sequences is that they are ignored if not understood.

> Microsoft can't fix this either (in Windows

Because it's not an issue in Windows? The Windows console, as primitive as it is, supports monitoring the status of the keyboard (which can be used to infer key up events).
The average human running speed is 15mph. The record is 27.8mph, but that is the domain of a small set of outliers who train for a long time to get there. If you put these on Usian Bolt (the current record holder), he might end up closer to 40mph than 30. Or not, that record was ten years ago and he's retired now.
It is an anecdote, not a generalization.
I'd recommend new shocks on the 525i, I just changed mine on a 2004 330i for a part cost of $725 and about 4 hours of labor.

Should make it fun to drive again.
Oh, your examples are better. Except for the break on the functional switch (that is weird again), they are how it should be done.

Is the example on the article wrong? A functional "if" shouldn't accept just one side of the branch, a functional switch shouldn't accept a "break", and although it's not absurd that a functional code block accepts a "return", it is not usual.
>I'm pretty sure others will come to that conclusion eventually

people come to that conclusion all the time. It's not new, and not something unique to Netflix. I don't see any reason why people would stop watching Netflix at higher rates than they have stopped watching any other TV format in the past 50 years. People like watching TV.
Its still a fully encapsulated set of input and output.

The opponent is never able to change the rule set itself. Motivated attackers will target the AI itself, or its drones.

Effectively autonomous vehicles are not there yet - when the first real war with these things happens, the evolutionary hacking and counter hacking cycle is going to be ridiculous, if they ever get deployed.
It is a big deal, but honestly as somewhat of a visionary I would rather see an open source platform that decided to cut ties with such a legacy system that causes short term pains in favor of longer term advantages. That transition has to happen at some point for a platform to become more versatile, and if it's put off indefinitely, that just resigns itself to being not the best possible platform it can be.
I wonder whether there’s a difficulty in Apple about how much power to give web apps in light of their privacy play. The browser isolates permissions - Facebook can let me upload a picture in a chat without giving them permission to all my pictures, their app can’t or at least doesn’t. If they had notifications working for PWAs I’d probably drop Facebook Messenger for example.
this appears to use the sleep method for the game loop described in the OP article, as opposed to a fixed update interval and interpolated render step.
The article did mention Fortnite by name. It's at the end.
Really well written. The other articles in the series on computer graphics are excellent too. The use of GitHub to show diffs of each step is quite effective.
The secret subtext of my book is that almost all of the patterns are perfectly useful outside of games too. Very few patterns here are specific to games (though "Game Loop" is one of them).

Maybe it's just me, but if I'm going to read a few thousand words about some piece of software architecture, I'd rather be reading about trolls and magic than employee record databases.
BA22-DE 32-bit Deeply Embedded Processor
What a terrible attempt at criticism — `nqzero` says it's terrible so it must be terrible!

`nqzero` says "the test harness is difficult to configure and use" — but does not show any example of what is supposed to be difficult about using the bencher script.

`nqzero` says "the tests are not representative of common programming tasks" — but does not show any example common programming tasks and does not show the tests are not representative.

`nqzero` says "there's no attempt to account for JIT warmup, and many of the tasks are too short to ever warm up" — but admits that "it is plausible" warmup costs are amortised and comparison will show miniscule difference.

`nqzero` says "maintainers are opinionated in terms of what code they'll allow, effectively choosing the winners" — but (again) does not show any example.

`nqzero` says "doesn't appear to allow for jvm options to be included" — but seems not to have looked.

`nqzero` says "the test cpu is from 2007 and is not necessarily representative of current cpus" — That at-least is true!
I don't know, have you seen a price graph? Part of the point of financial markets is to predict the future. Since this isn't possible to do accurately, the result is a random walk of meaninglessly precise prices when really the best prediction you can do is a wide range of uncertainty.

The point of having smart water heaters is to stabilize the market, not make it more chaotic in pursuit of more efficient trades. So instead of going with something complicated like a financial market, a simple feedback system controlled by the power company will do.
So do paper, just open it. Works fine in Europe.
I'd consider it more of a DSL written in python
You might like this related comment https://news.ycombinator.com/item?id=13571159
That doesn't fix it, on its own. You now also need to make every library and abstraction layer that the packages on your system use be aware of this new feature as well. Can an ncurses program now detect a keyup through this? Can a Docker PTY? Can the JVM? Etc.

In most of those cases, because of the historical precedent, these libraries/runtimes don't even have a concept of "keyup" for their TTY-like abstraction, so adding this to them may entail a bit more work than it sounds—especially if, like the JVM, they have a static interface/protocol built in to specify the API of a "TTY-like object", which cannot be changed, since third-parties have compiled code against it and expect that code to remain ABI-compatible with new versions of the runtime.
> ...because there is an unreasonably high cost to hitting the exact drop point.

That is literally the difference between a professional driver and a "ride share" amateur.

Yeah, yeah, cheap shot but those ride share drivers drive me crazy with their antics.
In organic systems, manure should be composted.

According to the NOP (§205.203(c)), raw manure must be composted unless:

- Applied to land used for a crop not intended for human consumption;

- Incorporated into the soil not less than 120 days prior to the harvest of a product whose edible portion has direct contact with the soil surface or soil particles;

or

- Incorporated into the soil not less than 90 days prior to the harvest of a product whose edible portion does not have direct contact with the soil surface or soil particles.

Edit - There’s much more to the compost standards. For more info, see here:

https://www.ams.usda.gov/sites/default/files/media/Manure%20...
> Sure, you can fix it, you just might have to [...] say goodbye to running all the programs currently out there.

One problem with doing this is that the only reason anyone uses Linux is to run programs that are currently out there. If Linux started to make breaking changes like this, people would switch to some other operating system that didn't break their software.

Sure, lots of people use macOS, and macOS breaks a bunch of APIs every year. But macOS users also buy expensive recurring subscriptions for every app they use, so Mac software companies can afford to employ developers to clean up after Apple every year. Linux doesn't have that; a lot of Linux software is either unmaintained or maintained by volunteer developers in their spare time.
Yes! This article was one of my main inspirations for the chapter.
Feel free to try :)
I wouldn't say they are comparable.

I mean, the drones have to kill people in the first place, so if they end up doing that its a feature not a bug.

Drones are still relatively easier than tanks or cars which have to obey rules of traffic and interaction in day to day use.

Flying killer autonomous drones don't have to follow high way rules, or worry about many cases that civilian life throws up.
I think you’re right, and then we’ll see a cycle of renewed piracy, followed by the grudging realization that making some money is better than making no money. It took a while to crack the music industry, but the same inevitable forces are ultimately at play here.
The top comment here is “Good for them! Working without pay is completely nonsensical.”

But that’s literally not what’s happened. The choice was get paid vacation or come into work. Either way they will be paid.

Any article that states the work is unpaid, without clarifying the work will be paid but late, is factually incorrect and misleading. And that’s most of them.
Not sure what big data has to do with this. It is a problem that has always existed. Particularly in the "soft" sciences and biology. Its' certainly not the case in physics for instance.

Big data may bring another dimension to the problem when deep learning will be used in science. However, that's a detail and we're not there yet.

The fact that a paper is reproducible or not is not problematic per se. This is not what defines science. The real problem arises when 1/ a big claim/discovery is made in a paper that is not reproducible, 2/ nobody tries to check the results independently, and 3/ the community takes nevertheless the paper seriously and accepts its findings. All this has nothing to do with the use of statistics (unless the whole community makes the exact same errors) or big data.
The format shared between the tools is an OCI image. Earlier you stated the images are incompatible, which is false. Then you switched to worrying about the internal representation of a container differing between the tools.

Why are you concerned about buildah’s internal representation of a container, unless you’re contributing to the codebase?
Or you could use these things called "juries" and "trials" and "laws", but that's inconvenient and sometimes results in having to admit that the alleged bad people weren't actually doing anything wrong, so people in power don't like those.
I'm not an expert, but I'd think letting external factors control the switching on/off of your heat pump would have two downsides: (1) efficiency, and (2) wear and tear.

If you're talking about a heat pump used in air conditioning, at least, longer cycle times result in better dehumidification and higher efficiency. If you interrupt the cycle, you're effectively short cycling.
The first generations of autonomous vehicles will almost certainly still have steering wheels, so if it's too timid at a turn/merge, you could override it like the safety driver in this anecdote did. There is immense value in being able to watch a movie or sleep, and trust that the worst thing that will happen is that the car will wait too long for an opening.
I would love to be able to. I also have some deeper plans even I would like to take the product.

But at the moment I am doing this on my own, ios, android version and the server, while doing a normal 40-hour job at SAP.

So while it is on my roadmap, don't hold your breath just yet :)
I think that's a common perception of the site, but the barrier to entry on Steam nowadays is a 100 dollar fee. Nowadays if you want your game on Steam, you can get it on Steam.
I'm confused -- any static typing system is going to need a compilation step to check types. How is typescript any different than "javascript with types" would be? If your goal is live coding, a dynamically typed language will always be faster.
I imagine the reason everybody chooses the LLVM's IR is because the GCC one isn't stable.
These shoes/equips remember me some Genetic Algorithm Simulations of "Kangaroos" , some of them had only 1 leg, some had 2, They were made to fuel prototypes of hardware robots that run like a chicken or jump like a Kangaroo.

These robots were scary Impressive! And run Scary fast. And Jump some mortal loops and flip-flops and stuff.

This was 25 years ago now. 25 years!

Therefore... those bionic Dogs from google or darpa , whoever, were supposed to be a normal thing 20 years ago, If someone back then let himself be taken by the Hype, and by 2020 everyone should be wearing Exo-Skeletons like the iron-man.
This is crap because of how misleading it is. For example yes a correlation exists between metabolic activity and lifespan across a wide range of life forms, but humans just like most birds are at the extreme edge.

So, as humans already have rather extreme lifespans relative to most organisms meaning our bodies are likely already using the low hanging fruit in terms of extending lifespans. But, without that context it seems like birds have some advantages we could copy.

This then hidden by first referencing a U shaped curve and ‘our place’ on it without clarifying it’s a metabolic curve not a lifespan curve.

Finally “In a 2007 analysis it was shown that, when modern statistical methods for correcting for the effects of body size and phylogeny are employed, metabolic rate does not correlate with longevity in mammals or birds.”
I imagine you could say that about most things you spend your time on. Reading books? Huge time suck. Playing games? Huge time suck. Watching videos? Huge time suck. I think Ben explained it well in his podcast related to this. When people have $200 a month budgeted for entertainment, the marginal cost of a Netflix subscription isn't that much especially given the amount of potential content the service can have.

Ultimately it depends on what you want to spend your time on, but I'd argue most want some form of entertainment, and Netflix fills that role for a lot of people.
ChromeOS native apps are web apps, like it or not,that is what we get, even Android and the alternative Linux environment run inside VMs.

As for the second part, that is exactly what Chakra within UWP does on Windows.
Unearthing Breece D’J Pancake (2014)
CHECK OUT MY YouTube CHANNEL