skysight-inc/HackerNews huggingface dataset:
Okay, this is good, you're almost there. BTW, I'm doing a bad job of explaining, and I'm sorry. I realize I'm complicating a few things and conflating a few things, so the best advice I can give is to actually go through that tutorial on image processing and write the code and understand the whole pipeline.

You're right; this demo is 1 pass per filter type. None of them require multipass, but the entire demo is multipass. There could be a filter that needed more than 1 pass, but in this case there isn't.

1 pass means: render all pixels in the viewport, and run the shader on all pixels rendered. You've got that part. The trick is you get to access a texture, and the texture is the result of the previous pass. Furthermore, inside the shader, you can address and access any pixels from the previous pass, and you can access multiple pixels from the previous pass to render one destination pixel.

I think the millions of reads you're looking for are the texture() calls happening inside the shader. The [render / render-to-texture / copy pixels / copy texture image] calls process all pixels in the viewport in a single call. The shader applies to all pixels, but a shader only gets to touch any given destination pixel once per render. But the shader can read as many source pixels as it wants.

Because the shaders aren't limited on their reads, but they are limited on their writes, you have to re-organize your algorithm accordingly. You keep reiterating that error diffusion is spreading out from top to bottom, and I keep re-iterating that it has to work differently in WebGL, we've been talking past each other a little bit here.

You're right; you can't spread things out (scatter) using WebGL during a single pass, you can't do the classic Floyd Steinberg implementation the same way you do on the CPU. So it's important to understand that there is another way to do it, and it doesn't look like what you're used to. It doesn't spread things out by pushing error around inside the loop. It spreads things out by letting each destination pixel pull the error from it's neighbors before computing it's own error, rather than pushing it's own error to it's neighbors after computing. This is known as a gather, as opposed to scatter. It is mathematically the same thing, but the order of operations is turned around.

Here's a diffusion demo, it's reaction diffusion, not error diffusion, but ultimately exactly the same diffusion process. Each pass diffuses the previous pass by 1 step.

http://timhutton.github.io/webgl-reaction-diffusion/
I'm definitely on the one monitor train. For the longest time, I didn't even use an external monitor, just the one on my laptop. I like having a consistent experience when working from the office, or working remote. In this way, my flow is always the same, no matter where I'm working at :D
Nice to hear the background context, I got the impression from reading that he has a much, much deeper historical wealth of experiences to draw on. Checked him out on Twitter and quite an interesting fellow. I also agree how salient this article hits points that are not specific necessarily to YouTube, but to the fickle beast of Entertainment as we know it. Fame is exceptionally passing in Music, TV, etc, and it stands to reason YT Content is, at least for now, going to follow that model in the US cultural style.
An emulator has been my "bucket-list" ever since I became a software engineer. I still haven't done it...Do you have any good pointers for someone to get started with making an emulator (particularly for someone who works almost exclusively with with server-ey stuff)?
But actual multiple episodes is a technical artefact of broadcast TV. If they wanted 'chapters' for Netflix productions they could do that without actually breaking them up into separate files on Netflix.
> Once she had these splotches, they jumped pretty quickly from “OK, that’s how they communicate a concept” to “I’ve now got a mini-dictionary of a bunch of concepts.” ...they don’t really show the process of how she got from there to understand what chunks mean what.

I think the film makers made the right choice artistically.

There's a certain potential, a sort of superpositional value in only filling in the details of a plot device that are absolutely necessary to further the plot (i.e. the flux capacitor).

So long as you don't fill in the answer it could be anything, but as soon as you provide a concrete answer all that sense of wonder and curiosity is paved over with a simple matter of fact answer that may or may not be fully thought out.

And in practical terms the plot becomes more restricted and the odds of creating a continuity error are increased.

I suspect, in short that had they filled in that gap in the movie we'd be reading a rant about how the film maker's answer doesn't hold upon closer examination.
I watch a lot of crash course personally. They've continued to put out good content (well save for their recent cartography debacle). They are mostly funded through a single embedded ad, Patreon and some PBS deals it seems, so YouTube constantly changing rules doesn't seem to affect them too badly.
Be sure to turn on the subtitles - he narrates through CC what he is doing which is often very interesting.
I'm not so sure that numbers are universal. If your species were hive-like or highly solipsistic, you wouldn't necessarily have the need for numbers (although it is still plausible that they could use "us" vs "them", or "myself" vs "the outside world", but that's not exactly the same as "plural").

Even humans have languages that don't have numbers above of "one, two, three, many"; so long for generalized numbers being a universal concept.
You can use hnapp.com (or various other tools) to build an RSS feed of someone's submissions - e.g. http://hnapp.com/rss?q=author%3ADiabloD3%20%20type%3Astory.
I can totally see something like that needing full programmatic capability, but anything consumer grade should be read-only in terms of functionality. A refrigerator in my home kitchen doesn't need an API to maintain temperature within an acceptable range vs electrical consumption where as a warehouse refrigerator does (like those that might be part of a smart grid agreement to give over control to utilities with a price discount as a benefit).
I mastered kotlin to dev some mobile apps. Having years of C# behind me, it does not impress me much.

Clojure only for fun, I need types. But lisps sounds fun. Can't comment more. Prehaps you're right ;)
This is an impressive achievement, but the headline is way off. The leaf was not transformed into 'heart tissue' and was not 'beating.'

Instead, the researchers appear to have stripped a leaf down to its cellulose structure and grown human cells on top of it to demonstrate a way of using a plant's vascular system to replace the vascular system in human tissue.
YouTube has a lot of flack for not communicating well with creators. Things only get done if lots of pans are run when the creator makes a video on how limited the channels of communication are with YouTube.

I remember Eli the Computer guy talking about how he got two community strikes on some really old videos and couldn't really appeal (I don't think they supported it at the time) it. It wasn't until he made enough noise that he was finally able to get a rep from YouTube.

YouTube is a good platform and I can't think of any competitors as good as YT, but they really need to improve communication with the creators.
But the evidence for programming languages is that the Sapir-Whorf hypothesis is completely and totally false. To take a topical example, a lot of people complain that the idea of classes in JavaScript is antithetical to its underlying design philosophy. Presume that the statement is true (it's debatable), and you'd find that many of the people who push for this feature are likely to be those who have known no other language than JS. Their views are not being shaped by the language itself but by the views of those who taught the language, who like the paradigms of classes and came up with multiple, sometimes somewhat incompatible, ways of expressing that paradigm in JS.

The problem of Blub is less that people are incapable of understanding concepts, but that the people explaining concepts are incapable of explaining them. I've yet to find a feature that I couldn't explain to a "Blub" programmer. If you take, e.g., call/cc, sure, describing that to a mediocre Java programmer would probably elicit a blank stare. But I could instead describe the yield operator and get excited responses on to where it would be useful, despite it being basically the same thing as a call/cc (modulo issues like saving the call stack).

The evidence for natural languages is equally poor, although it's obfuscated by the extreme difficulty of separating culture from language in early childhood instruction.
> These high prices support innovation, they argue—not just for America, but for the world.

I suspect this is in fact somewhat true, but how is it a coherent argument in favor of higher prices? The American people / American elderly (obviously) don't have some unspoken moral obligation to subsidize pharmaceutical R&D for the whole world.

Governments around the world are able to negotiate affordable rates for their citizens, yet in the US we have to listen to these completely insane justifications?

IMO if the US government (who presumably agree with the drug companies on this) feels this strongly about subsidizing research they could always expand federal research grants and/or NIH funding. Yet I suspect that's a non starter for political reasons.
Contact your state reps. Even if the federal rules go, state-level rules can help mitigate the damage locally, and perhaps even nationally [1].

https://www.nytimes.com/2017/03/26/technology/internet-priva...
Just FYI, Zootopia is Disney.
>That's what I think when I see someone working like you, flipping through multiple spaces, scrolling up and down files. To me, spaces add more overhead - I have to remember in which space various running applications or their windows are open.

Not if you always keep the same apps in the same place in spaces (I keep: browser: #1, terminal #2, editor: #3).
Please explain how that would work.

If I'm Pfizer, why on earth would I dramatically increase my sales of drugs to Canada knowing they're just going to be reimported into the US?

The answer is, I wouldn't. I would put a quota on Canadian sales. Sell them enough drugs for Canadians. This was actually done about a decade ago when reimportation was more popular.
1. Drug companies donate to politicians.

2. Politicians promote drug-company-friendly policies.

3. Drug companies earn outsized profits.

4. Repeat
For a publication named "The Economist" that's quite the intellectually lazy answer. They say nothing of the existing conditions which make it possible for a company to arbitrarily set drug prices (after all, few other businesses in the economy enjoy such a privilege). Furthermore, the answer is not even satisfying to those who may have a rudimentary grasp on economics. After all, if the reason is "because they can" why not raise the price of their drugs to $1 million per dose? This argumentum ad absurdum demonstrates that even with the lack of medicinal alternatives, there are certain economic factors which prevent astronomically high prices.
It's effectively doable now. Facebook has already shipped a realtime smartphone style transfer app using Caffe2go (no word on how much it hammers battery life, though). That was for a fixed style transfer network, but a variable style transfer only needs to tack on an additional smaller network to process the style image as well as the input, so <2x as much computation/model size.
I spend 3 hours a day watching YouTube videos... 25yo
If there's constant evaporation which drives the inflow, wouldn't the new sea and the surrounding soil become very salty, like several large-scale dam-projects?
I disagree with the premise of the article. Javascript is what it is. I think at least most JS developers recognize that.

We use javascript because it does what no other programming language can do which is make the browser come alive. And we're done our best to minimize the displeasure of using javascript. I am not thrilled with the language, but I'm enthralled by what javascript can do.

To paraphrase Douglas Crockford unless you are going to revive Java applets you don't really have a choice if you want a dynamic web app.

The move to Node.js is a double edged sword. I like using Ruby on Rails and adding enough javascript to make the app more pleasant to use without constantly requiring a page reload. But the advantage of writing code on the server and the client in the same language is hard to pass up on. Trying to decide what to put which logic on the server versus on the client is a perpetual stress point.
> Maybe the solution isn't to rely on language (except for the Kernel) but to make of easy to spawn OS processes that simply have no rights to call any syscalls and limited amount of memory (or a white-listed amount of syscalls).

We have that [1] [2]. It's cumbersome to use, but it's based on the bpf JIT used for tcddump etc.

We also have a variety of other mechanisms you can combine with that to tie down a process. But even then it's hard to get this right in a way that's both performant and secure, because you have to protect every user every time, while for an attacker a very low success rate can still be worth it.

[1] https://www.kernel.org/doc/Documentation/prctl/seccomp_filte...

[2] https://wiki.mozilla.org/Security/Sandbox/Seccomp
>From my experience at Ben Gurion airport...security there has different stages. When you first walk in to the airport, even before you check in and get your ticket, some friendly attractive person will start chatting with you and ask about your trip. They will not identify themselves (or be dressed) as security. Your friend might very well have mentioned something to that person.

This is interesting, where can I read more about this?
"The Retreat to Commitment" by W.W. Bartley III. Not what the book is about, but in addition to being a thrilling read, it eventually helped me deal with the shortcomings of the world and culture I find myself in, and my own.
How to debug an Angular 1 application via DevTools
I also disagree. I work in government affairs, which involves a lot of legislative research and analysis. Having three monitors is extremely useful, particularly when I'm trying to bring together multiple ideas into one.
The Minimum Price a Founder Can Sell Their Company For
The prevailing assumption is multiple monitors equals one computer with multiple outputs but I've usually run multiple machines. Financially its a rounding error WRT cost, I get more use out of old systems before the environmental damage of recycling them. I can run different architectures simultaneously. If the new machine fails on burnin testing the old machine is literally on its left side so I can keep right on working.

Evolution in hardware and software is very slow now compared to the 80s/90s/00s. My wingman PCs are perfectly adequate at displaying data sheet PDFs or acting as SSH terminals or normal web browsing.

If you're worried about electrical power my son has a raspberry pi desktop and that works fine. It can do everything we did with a computer in the 00s, which is pretty much unchanged today... Mostly he types school reports because the real keyboard is better than any ipad keyboard.
This is the most accurate answer. Medicare doesn't negotiation on drug prices. The private insurers who manage the Part D plans do the negotiations and yes, they get significant price concessions (sometimes higher than for commercial patients).

When these private plans negotiation lower prices, they can in turn cover more patients for fewer dollars. That's why Part D has actually come in well under projected costs.
The War of Art by Steven Pressfield.
https://www.amazon.com/War-Art-Through-Creative-Battles/dp/1...

I have re-read this book constantly since purchasing it well over 10 years ago. The chapters on facing resistance and how to deal with it constantly resonate with me when working on my own projects.
To be fair, I would probably also run my security test suite against a debug binary too if I knew this kind of thing could be caught.
But they fill a different niche. C is about being close to the hardware and using minimal abstractions.
And I fear your head may be the deepest.
The Copiale Cipher
I actually like JS syntax. It's pretty bland and, with const/let block scoping + await/async, it's easy to understand.

What sucks about JS is its lack of a type system, type coercion, and lack of a standard library. And those things really, really suck (and lead to terrible code). There's a reason MS, Google, and FB have all moved to static-typed JS (TypeScript, TypeScript, and Flow, respectively).
How is Pewdiepie exploiting poor people? The poor people agreed to it and they objectively benefited.
And it turns out that those cheap countries can produce skilled work too, without becoming expensive and as caring about the workers. Yet bigger than expected portion of western countries' population does not perform well in skilled work market..
Me thinking: please don't say the Bible, please don't say the Bible!

The Bible.

Because when I was young and I tried reading it I realized that even though millions and millions of perfectly functioning adults believe in something, it might be absolutely wrong or based on basically nothing.
Why are you worried that your children will be threatened for their heritage in a world where children can be exposed to a diversity of opinion, including those you don't approve of? Do you think you'll lose the war of ideas to "bullshit"?
There's a good Reed Hastings quote from a couple years ago: "Our job is to become HBO before HBO can become us". Seems like the market ended up about where he predicted.

Netflix still has a huge advantage though, in that they are available internationally while HBO Now is only available in a handful of countries.
Historical trivia - it also overwhelmed the system in 1929 - adding to the panic then were long delays in stock prices being updated regionally.
I guess it's simpler in principle than in practice. I still think from a usability and day-to-day standpoint C is very simple once you grok it.
This has a very simple fix, and is a fix that would appeal to Donald Trump:

Require that pharmaceutical companies do not charge Americans any more for their drugs than what they charge any developed country.

This lets other countries do the dirty work of negotiating prices while reaping the benefits for the US. In addition, it goes along with his whole America is getting screwed narrative - ie that other companies are taking advantage of the fact that American markets pay for the drug developments, and other countries reap benefits of cheap drugs and that he would put America back on equal footing.

EDIT: Thanks for the great comments. To ease with the concern about hurting the very poor countries, we could substitute "developed country" with "OECD country" (http://www.oecd.org/about/membersandpartners/list-oecd-membe... which are relatively rich countries).
That's how you get your patent broken.
Is my business ready? Why wouldn't it?
You're so right that the modern price of fame / celebrity attention is such a minefield. There used to be misguided or mentally unstable folks who would stalk or take things too far, but I think the amount of power modern tech / networks can be deployed for purposes of, well, being mean online has more real world affects than at first.

What I'm saying is that far too frequently by the time a young person who craves fame gets it, they're naive on how the system might chew them up and spit them out, and just as they're getting some valuable experience, their time has passed and they're forgotten to the sands of other failed acts.
Pity US has just one party in two colours. The party for rich. Both sides take in a lot of support and allow lobbying.
I was originally going to write "safety of themselves and others", but that implied a level of nuance I didn't want to get into explaining.

> If I need to break traffic laws to avoid hitting another vehicle, or being struck, that's easy.

IMO based on anecdotes and observation, not enough people do that because of the "it's not my fault" attitude. The first consideration is fault, the second is safety.
-> that assumes that government agencies don't have a profit motive just because they that's not recorded on their balance sheet (they do)

As long as you say so. Every must agree.
We must just make different types of apps.

I work on a couple of startups at the moment, one of which that has an admin interface in a SPA, one doesn't. I can throw in new reports, functionality, etc. in the non-SPA one with less than 1/2 day's worth of work, sometimes even in minutes. The SPA one takes days to do similar functionality.

It's just all so bloody complicated getting it working together. Make a new end point, create a new DTO, make sure you're not leaking anything from the end-point, duplicate validation logic, wire up view models, have it not work completely for an hour or two of debugging because you forget to add one line to some gulp file or something equally ridiculous.

And then you throw in something like React and they want you to do it X way with Y thinking and Z plugin doesn't like you're returning the wrong content type or data structure or something but doesn't throw an error about it, logs it as some sort of warning, or if there is an error it's deep in the guts of 10 nested 1 line self-referential call in the library.

It just adds so many moving parts, functionality ends up sprawled over 10 different files, it's hard to grok or reason about, hard to know if you've done everything you need to.

I find it simply unpleasant to work in that way. I just want to write the UI and the logic and be gone, not dealing with frameworks barfing out bizarre warnings or mysteriously broken builds.

Actually, nothing fills me with more dread in a SPA than when I click a button or something and nothing happens. The worst problem programming in SPAs is when things simply just don't work and there's no error at all because you didn't quite invoke the magic framework in quite the correct way. Yay SPAs.
Rust might be a great language, but it has not completed the test of time yet. C is 45 years old. Rust appeared 7 years ago.
So You Want Me to Hire You as a C++ Developer?
Why BlackBerry Messenger was rioters' communication method of choice (2011)
That's a really good info. Thank you.
How far is TRAPPIST-1 – visualizing distance
> Silent failures

Yes

> Callback hell

No, if you're using a version of Node released in the last few years. The most recent versions support async/await syntax in addition to promises, which fix callback hell.

> Weak typing brokenness

Yes
Brainfuck port, anyone?

https://en.wikipedia.org/wiki/Brainfuck
Just for the record, although the acronym does technically spell out NIHCE since they changed the name, they've stuck with the "NICE" branding.

It allows for all sorts of pun titles for academic papers like the following:

[i] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1734179/pdf/v03...

[ii] http://www.nature.com/bdj/journal/v215/n5/full/sj.bdj.2013.8...
As a minor response, I actually think that the web app approach can be right for some blogs and "boring" content based websites -- if your goal is to lower user wait time or GUI latency, and if you're okay with making tradeoffs elsewhere (more data requested, heavier initial payload).

Why? Because after the problem of initial load, I think that further web requests are among the most expensive things you can do in terms of user wait time or latency, and that if you only start moving at the very time of user request, then it's too late to prevent a moment user waiting.
and a fourth monitor for slack/email/... seems like it would work very well also.

I currently have 3 monitors at home (thinking about going to 4) and at work with 2 I definitely miss having a third available.