skysight-inc/HackerNews huggingface dataset:
TL;DR: Model your challenge / problem-scenario as a supply chain.

1. Identify the actors/entities involved.
2. Identify the "item" in short supply.
3. Commoditise the "item".

Congratulations,
you have found an "out of the box" solution
to your problem.

----

Recently presented this talk at BarCamp Bangalore Spring 2019.

During the session, we applied this technique to brainstorm how one could solve the problem of bad public infrastructure (eg. Good Roads) due to corrupt/inefficient public officials n developing regions.

- There is already lot of public and private money (Corporate Social Responsibility) poured into solving infrastructure issues.

- Workforce / Time is also NOT a constraint as there is no lack of expertise in developing basic infrastructure like roads.

Applying the "Commoditise the Supply-Chain" method, 2 potential approaches to this problem that we came up with were:

1. Solve other basic problems first.

As long as people in the region have more pressing concerns that affect them directly, they will not unite behind the cause to improve roadworks to the level of first-world nations.

2. Commoditise decision making.

Currently the people of a region do NOT get to directly decide which individual road they would like improved first. Having an app that detects rough-rides / potholes as you one rides daily, can help people to identify and upvote the worse stretches of roads that need to be fixed first.
I always felt like Polymer's component model (with "use the platform" as a motto/basis for implementation) had a bigger overlap with the kinds of problems a UI toolkit was supposed to solve though the frontend community seems to like React's approach better so far.
Sony Xperia XZ4 Has a New Weapon to Battle Samsung Galaxy S10 and iPhone 11
The browser thanks to JavaScript has become a platform. It has displaced native desktop development. As a developer it would suck for me to be imposed limits. Another thing to manage.

Personally, I don't see a problem to be solved here. Bloated sites with ads will always exist. The solution is quite simple - don't visit them. They will eventually die or be replaced by something leaner. A great example is GitHub which has replaced Sourceforge.
ITensor [1] has somewhat pioneered this concept in tensor networks for condensed matter physics. If I understand correctly, Uni10 [2], a similar project, is even working on a graphical interface for such networks so that you can "draw" the network and have the computer figure out the best contraction order.

In my own code I’ve recently also implemented such named indices (only had "einstein summation"-like contraction specifiers before) and they make tensor contractions so much simpler to write, especially since you can simply overload operator * and have it figure out which legs need to go together.

As a side effect, it also enforces your algorithms to make sense because you can't simply add two tensors living on different (but equal-dimensional) vector spaces together anymore.

[1] https://itensor.org

[2] https://uni10.gitlab.io/
> He's... not wrong. But it's important to realize that rule of law is an Anglo legal and cultural invention.

And Dutch, Norwegian, Danish, Swedish, German (speaking), Finnish, Latvian, Estonian at a minimum. The rule of law is very much not an Anglo thing. Outside North(Western) Europe where the rule of law absolutely was a thing you’d be pretty hard pressed to deny that it was never present in Iberia, particularly Aragon, Italy or the entirety of both Latin and Orthodox Christendom. Hell, the Ottoman Empire’s kanun law was based on... canon law.

A government of laws, not men was an ideal dating back to Rome and indeed much earlier. But Christianity preserved Roman law. There were clearly areas that approached rule of law more and less closely but the idea that it’s an Anglo thing is historically ignorant to a ridiculous degree. How closely any particular state approached it varied a great deal, France and Hungary weren’t Prussia or Russia but they certainly weren’t England or Holland either.

If you want to learn more about the various ways premodern societies ordered themselves Francis Fukuyama, Origins of Political Order, is a great place to start.
With China being very homogeneous in terms of race, they never worked through those issues. I don't blame them. My grand parents, who lived in the countryside all their life would react in a similar way.

Small anecdote: I attended an English class at a Chinese business university. The teacher (young girl, never left China in her life) told us that everything "French" means "sex/porn/etc", i.e. "french book", "french movie". Funny, but tragic.

Also remember the racist ad for washing powder (girl washes a black guy and a Chinese jumps out afterwards).

They will probably need some slightly more tragic events and pushback to acknowledge it's a problem. Would be better if they learnt from the west's painful lessons, but my hopes for that are low.
Not all of AdaCore’s libraries are in GPL: their drivers are for example in BSD-3: https://github.com/AdaCore/Ada_Drivers_Library/blob/master/R...
@dmlittle
Oh, I didn't know that. Thanks.
Hmm I think the difference between a primarily imperative API like `addSubview` vs a primarily declarative one (“what’s the list of subviews at any given moment?”) is a pretty important differentiator. It has nothing to do with the browser DOM — it’s about the programming model. I tried to express that in the article but maybe I didn’t convey my point well enough.
Interview with Michael Pollan: Modern Meat(2010?)
Then companies that traditionally make their money with hardware will have a hard time accepting that. There are millions of lines of code in a modern car, but car manufacturers don't see themselves primarily as software companies.
LALRPOP is an LR parser, which is a very different formalism to PEG: it's easy to write a grammar in either that's difficult/impossible to express in the other.

If you'll permit the immodesty, another Rust parser is lrpar (https://crates.io/crates/lrpar) which is a more direct drop-in replacement for Yacc, but with better error recovery. [Note: I'm biased because I wrote parts of lrpar and the wider framework, grmtools, it's a part of.]
Yep, also a few other references are here

https://reactjs.org/docs/hooks-faq.html#what-is-the-prior-ar...
Meet Scout
In the old days, before Eclipse had a scratchpad area or Java finally got a shell, it was useful to me as means to explore some Java APIs, as I did not want to spend time with either Beanshell or Grovvy since I know Python superficially since 1.6.
It links to the “programming runtime” definition on Wikipedia the first time that term is used.
FOSDEM Rust Devroom Livestream
I like GL.iNet routers: small, inexpensive and come with OpenWRT. I was very happy with my AR300M until it started getting unstable after a few months: need to hard reboot it every couple of days. Not sure if I'm unlucky or if it's inherent to inexpensive routers.
> 1MB just isn't good enough for a reasonable image.

That didn't make sense to me: the small (~700px wide) images I have in the library are all 50±20kB.

I went to Pexels, which hosts free stock photos, and I took the first one off their front page that had enough colors and didn't show faces: https://www.pexels.com/photo/person-pouring-coffee-on-white-...

Its maximum size is excessive unless you aim to support 4K: 5472×3648. It weighs 4.9MB. A lot!

I then went to Squoosh.app, which allows one to optimize images in various ways. The default option – MozJPEG at 75% quality – reduced image size by more than a half, down to 2.24MB, with no apparent loss of quality even at the high zoom. Illustration: https://i.imgur.com/2bkHrot.jpg

Do you really need to serve a 4K+ image, though? I reduced the image to 1920×1280, using the same app, with the same compression settings. 184kB! Illustration: https://i.imgur.com/52MctSN.jpg

At 33% zoom (which is necessary for a reasonable comparison, since Squoosh stretches the smaller image for comparison), the compressed image looks very good. It lacks the noise the original had, and looks more glossy. There are also advanced settings that one could tinker with, perhaps to a better compression with equal losses.

Is it a big deal? Perhaps – especially when you look to present the image as-is, with minimal losses between conversion from RAW to, say, PNG. For most websites, though? I reckon it's not going to be a problem: it's the sense of the image that matters, not the details.

And if you regularly serve 1MB+ images, maybe there's some sort of an indicator or tag that you could apply that will tell the browser: "Hey, look, I know you want to save bandwidth, but it's kinda my schtick to show really good images, so let me through, yeah?"
Well: the halting problem is undecidable. That does not prevent us to try and prove (many many times) that an algorithm does or does not stop.

I guess the parent meant something like this.

Of course the concepts are totally dissimilar but the practical consequences are less apart.
http://www.bbc.com/autos/story/20161111-why-car-designers-st...
> With China being very homogeneous in terms of race

Uh, no.
They rebooked him for the correct dates: https://twitter.com/pugson/status/1091946878072049664
Any update on that bug being fixed?
That's true, but only indirectly. Since these companies mainly assemble cars from components designed and built by suppliers, the software engineers are working for suppliers like Bosch. If you talk to the tech people from, e.g., BMW, their roles are managing budgets and projects implemented by external partners.

This is also why they want self driving to be just another standard function that they can buy from a supplier, while letting the suppliers compete away their margins.
Opportunity cost for developers
I am running linux on the Surface Pro. Works perfectly.
So the Uber drivers will, in turn, be using Google maps. Or Waze.
Yes but there are very fee practical instances of undecidable problems (by instance I mean a specific concrete here-are-the-numbers problem, not a general statement about “equations”).
The Intercept has published an interview with the author, and I found it to be compelling enough to immediately start reading the book.

> You’re not technically the product, she explains over the course of several hundred tense pages, because you’re something even more degrading: an input for the real product, predictions about your future sold to the highest bidder so that this future can be altered.

> it’s clear that surveillance capitalists have discovered that the most predictive sources of data are when they come in and intervene in our lives, in our real-time actions, to shape our action in a certain direction that aligns with the kind of outcomes they want to guarantee to their customers.

https://theintercept.com/2019/02/02/shoshana-zuboff-age-of-s...
That strongly depends on the practitioner and the problem. We solve (or approximate) NP hard problems all the time. SAT solvers are really good, so are ILP solvers and a host of other tools that solve a ton of instances of NP-complete problems that arise in practice. If you're into software verification, people solve undecidable problems there every day.

Complexity results are always worst-case results. In practice you can often solve all instances you actually care about.
For what it’s worth — I pretty much guarantee you that without this disclaimer, this post will make rounds in certain communities on Twitter as “haha React is so complicated glad I don’t use it”. This is an unfortunate reality that I’ve already ran into before.

Another unintended effect can be contributing to the perception that React is only for people with a strong programming background rather than, say, a11y expertise. I don’t want that either and that’s why I mentioned there are multiple ways to look at React.

Yet another problem is that random things from my posts are sometimes used in interview questions. :-/

I trust a curious reader to ignore the disclaimers and dive in anyway.

But I also wish I didn’t need to put it there and I emptathize with your frustration.
This Robot can beat you at Jenga – thanks to its understanding of the world
Certainly there have been cases in the West where free speech are curtailed due to concern or anxiety over national security. But while you guys are traveling north from Hawaii , we are already in the Arctic.
Statists will downvote this post, they believe regulation can solve the issue.

Libertarians will upvote this post, they believe the market can solve the issue.
There are an infinite number of complexity classes that are (probably) harder than NP. Popular ones include PSPACE and EXPTIME. You might want to google for "polynomial hierachy".
In days of yore the joke was always ^H^H after IBM/DEC backspace v delete confusion
This. It took me 15 years to realize it, we can be fighting a losing battle, but we still get to choose the side we fight on.

The systems will be written anyway.
I'm curious what specifically you find that Polymer did to solve those problems (and what those problems are in the first place)? I've worked quite a bit with Polymer and React, and felt that there wasn't really an idea behind Polymer about the best way to solve problems - it seems to mostly be about promoting use of Web Components beyond just reusable date pickers and the likes.
Only if you are speaking of pre-Tcl 8.0.
The irony here is that, it seems, ads are having a bigger impact on your life than if you weren’t taking these steps.
The article falls a bit short I think. What if you consider each function as one character? What about automatic generation of solutions? (Maybe by dynamic programming?) IMHO it proposes an interesting problem and brushes it off.
> Everything even vaguely sensitive -- that is, everything that we want kept private -- must use secure channels.

I see this in a different way.

The starting point should be that everything is secured. If you use the secure messaging only for non-mundane stuff, it stands out. So you want to add as much noise into the use profile of the secure channels as possible, to make it that much harder to detect when anything of value is being transmitted.

This, however, I completely agree with:

> And if it's truly sensitive, it must be ~anonymous

In the context of secure channels, that adds that the use of ~anonymous methods must not be any different from outside the channels. Preferably not even from the inside, because you have to assume that a portion of such a system is compromised at all times.
They don’t, and the parent is right that they are no software companies. Cars carry an enormous amount of software, but most of it is contracted and built by tier1 suppliers like Bosch. I worked at one of the mentioned companies and was the only person in my department (of >500 engineers) who had production software run software running inside cars.

In the meantime they realized they need to get more into software, but it takes a lot of time to change course for tankers.
The author is well-known and well-cited -- especially for introductory articles about using react and react ecosystem libraries. I think he wants to make it clear to anyone that happens upon or is recommended the article that the contents of the article are not 'required knowledge' for using the library.

I think this is reasonable for this author to want to emphasize. It's quite common for a beginner to make one of several reasoning mistakes that might push them away from trying something or push them away from something they were already using. The beginner who hasn't used a thing yet might think 'I need to understand how this thing works in detail before I can use it' in which case they might think reading an article like this is an appropriate way to get started. The beginner who has already started using a thing might think 'here is a good article about how the thing I've been using works in detail which I can't understand -- therefore this thing I've been using must be too hard for me to use and I should look for something else'.

I assume for popularity retention reasons, the author doesn't want to encourage either of these kinds of mistakes.
But this is only a half truth, in the sense that not all protein are equal. You can not get the same anino acid from plants as you can from meat. And that is without taking bioavailability into account.
>>> Because they could get away with using English most of the time. They were never forced to speak it.

I live in a foreign country and this is my life, while english is not really the best here - I've had literally zero issues with either speaking english or having some help every now and then (like for 'official matters').

>>> The stress caused by having to come up with the proper word combination helps immensely. We tend to remember what caused us stress.

I also think this is very accurate, most of the words I know are really set in stone from these kinds of occasions. Some specific event happened related to the word, maybe I misspoke something and it was pointed out. And so on.
Site is down at the moment. Archived copy: http://archive.is/ChaL9
Because grunt work can be a valuable way of learning the fundamentals of a craft.
Micro frontends in Angular (fully independent)
It's hardly like that. Sales websites should have accurate info else they don't gave a leg to stand on when you want to return the falsely advertised product.

But I'm going to focus on the actual issue, even their official site gets this wrong and you have to look in the forums. This is a great example of one of problems you get with these other boards.
Uh, yes. For the country as a whole Han Chinese are 91.6%. The workers who go to Kenya are probably from coastal regions, where the ratio will be even higher.

https://www.cia.gov/library/publications/the-world-factbook/...
Nice. That one floated to the top of the list based on my research. Thanks!!
My "Roaming" is 12GB. I don't think Chrome and Firefox listen to that advice.
What about hemp milk? I haven’t tried it yet.

I can only assume that it’s not ok to grow hemp in every state(USA)
I just published an NPM package to help deal with this kind of thing for Electron apps and the like: https://www.npmjs.com/package/basedirs

Warning, its Windows support is all theorycraft so far (Travis CI + Windows is totally broken for Node projects right now). PRs welcome if anyone wants to give it a try.
I don't think a size limit is reasonable at all. According to the article a 500kB JS takes about 3-4MB of RAM once it's parsed. So having 500kB costs me a bit of parsing time and a handful of MB of RAM, both of which aren't really bottlenecks.

If there was some size limit X, then any SPA requiring more javascript would just be split up into modules that dynamically load and unload as they are needed. But that just makes the total instruction parsing time worse, for saving single-digit MBs of RAM.

If that does anything to the problem of slow javascript at all it makes it worse, because now I might have to wait for the right module to load and parse.
yes just like every car company has a sports cars but make most money on minivans. not saying there's no good content now and then
Agree 100% with you. All we have to do is look at the Opera browser with their Presto rendering engine to realise the truth of this - it really rattled Internet Explorer and Microsoft with its super fast rendering speed and small size that made it easy to download on slow connections. It made Internet Explorer and Firefox look like clunky and slow bloats of software. Opera was so good that they were able to charge for it, and despite the free browsers available many people bought it.
The health advocate who faked cancer and launched an app[video]
NP-hard problems can be solved.

The Continuum Hypothesis [0] (which the authors are saying the learning problem is isomorphic [1] to) is not provable from the axioms of set theory. You can add "The Continuum Hypothesis is true" OR "The Continuum Hypothesis is false" to the axioms, and still have consistent mathematics.

[0] Continuum hypothesis is that the set of Integers (0, -1, 1, -2, 2, ...) is infinite but smaller than the set of Reals (Integers + Rationals + Irrationals), and there are no infinite sets with size smaller than the Reals, but larger than the Integers.

[1] not sure of correct term here - the point is that they have shown the problems are the same.
I thought you were possibly exaggerating. There really is such an ad. Pretty horrible. I never heard of this news almost 3 years after the fact.

https://www.theguardian.com/world/2016/may/28/china-racist-d...
I think I’ll continue to use the excellent Citymapper
> Web browsers are faster than ever before

That's not true at all, browser used to be much faster when HTML was simpler.

> ...but web sites are bloatier than ever before, eating up all the hardware and software capabilities.

Actually, even a rather simple website can very slow to render, if it does a significant amount of dynamic updates. DOM performance is an absolute disaster, hence all these "virtual dom" implementations like React. CSS Layouting is incredibly expensive. That has nothing to do with website bloat in and of itself, it's the platform coming bloated out of the box.
Eh? Comes up quite a lot in UK broadsheet media.
Steam is doing just fine writing into C:\Program Files (x86)\Steam\steamapps from an unpriviledged process. It just gives all users full rights over that folder. (whether that's a great idea is a different question, but UAC isn't a problem if you just set your access rights correctly)
In the early 2000's, I was part of a startup delivering an application framework for web development based on Tcl/C, similar to AOLServer, just with our own view how it should actually look like.

It was a memorable experience, which I still fondly remember.

However it was also what made me not invest in languages without JIT/AOT thereafter, having to always dive into C all the time.

The relation of Tcl/C code changed quite heavily during the growth of the company, until we eventually rebooted our stack on top of the newly released .NET.

Something that we keep seeing on those "X rewritten in Y" over here.
Question for someone with a more theoretical background: The paper shows that the EMX learnability of some class of functions with respect to some set of probability distributions is undecidable. Does EMX learnability encompass all notions of learnability (or is it equivalent to other notions)? Conversely are there or could there be notions of learnability different from EMX that are not undecidable? Maybe I missed this in the paper but clarification would be appreciated.
The project URL:https://github.com/UWSysLab/tapir
NSA is giving out webcam covers with backdoors
> Imagine if all the car companies were competing against eachother on tech for brakes, seatbelts or how a steering wheel works.

Except for the seatbelt, That’s how it went. Especially with Airbus and Boeing who have chosen completely different approaches to flight safety system.
What is your tech stack if you don't mind me asking ?
Figure out the most common 3000 words and memorize those. Practice the grammar. Read news papers in the language and try to summarize the articles in your own words. Watch YouTube videos in the language. Start speaking to native speakers. It’s not too crazy, school really dated your time. It’s funny, early on, in school you learn words like “apple” but these words don’t come up all that often.
For the most part, Chinese in China don't have a culture of condemning racism like the US or other western nations. As apparent in the video, he isn't even ashamed of being called racist.
Like what? Dollars to doughnuts, Facebook already has your purchase data from your card company.
Which is perfectly fine and has a long history in English.
The article says fur.
It's easy to make laws, it's the interpretation and implementation that's the real test.