skysight-inc/HackerNews huggingface dataset:
Read my earlier comments again carefully, because everything you've said has been addressed already. Because https://xkcd.com/386/, I'll just repeat a few things:

You keep talking about cost-benefit, but the whole reason we have laws like the ADA is because people will not make accommodations, because the math does not work out. Moreover, there is much more to it than just installing (and maintaining!) structural accommodations. And of course a mom-and-pop isn't held to the same standard as Wal-Mart... that is already the case.

> Doing the thing that results in the least waste leaves more resources that can be used to improve peoples' lives.

What? No. I can barely parse the other things you're trying to say about efficiency. The world does not work that way. If it did, we wouldn't have this discussion, because everyone would do the "right thing" and allocate surplus resources towards "improving peoples' lives". They don't.

> It can be more efficient to not spend resources

Read everything I wrote again. You're not spending any resources (in software) except a few extra keystrokes. This stuff is not hard. This is what it sounds like to me: you're trying to justify being a lazy, inconsiderate jerk.
What in the world? You're not buying a $682K house on a $115K salary. Not a chance. That's like 6x your salary. Isn't the rule of thumb no more than 3x? Assuming 20% down, what lender in their right mind is going to lend you 4.5x+ your salary to buy a house?
How are you going to play YouTube videos without ads?
If you haven't played 80 Days, it's probably one of the most fun games I've played on my phone. I think I've seen maybe 20% of the total possible content after dozens of playthroughs.
Obama: "Look, just because we've abused every other piece of technology we have access to, doesn't mean we'll abuse this one too. Sure, our law enforcement officers aren't above straight up murdering people they don't like and trying to cover it up, but I'm sure they'll be much more respectful towards your phone. Now, if you don't break your own encryption, just wait a bit and Congress will do it for you."
I have been avoiding this game like the plague due to its potential life-ending, productivity-destroying effects (at least for some people).

This is one of those games where it starts innocently enough, a few hundred hours of gameplay accrue, and the next thing you know you're wondering where the last two months went.

Part of the reason for this is related to the decline of the SimCity franchise over the years. Cities: Skylines was pretty, but it didn't really hit the same notes in terms of gameplay. The last real SimCity game was 2004, so it's been well over a decade of waiting for the next truly addictive builder/simulation fix to arrive. Based on the amount of people I know having sunk triple-digit hours into Factorio, it's the closest we've come to a real SimCity game since.

That said, it seems like a fantastic game and I look forward to playing it some day.
Yes. Industrial automation is very ready to be disrupted.

I'd like to see better support for actuation in terms of being able to audit things and feed that back to design decisions, which ties very much back to aggregation.

I'm biased to think there may not be much difference between the two domains. And it should be pretty clear that machine learning is going to be increasingly important.

This being said, the customers may not be all that ready for it.
The ecosystem exploded because of a few core advances (ES6 finally coming out, Babel coming into light, the CommonJS approach to modules, the rebirth of functional programming on the frontend, etc).

This is behind us now. If you sit in forums, chat rooms and other JS centric communities, you'll see that the dialog is pretty different.

It's no longer "Let's build a new tool!" (oh there's some of that, but they rarely hit the spotlight). It's "How do we make this tool work in this edge case we didn't think of".

There's still a framework every other day, but they're usually built on top of the core things now, and no one really pay attention to 99% of them anymore.

If you remember the early days of Java and SOAP with the new SOA framework a day, this is pretty similar. It's settling down.
It did not load. I did not check the console so debugging data from that request is unavailable. I could try it out again if you want. :)
Good ideas get standardized.

Ideas from Coffeescript made it into es6, Promises, fetch, etc. Once there are sufficient standards that solve the pain points, the fragmentation will go away. JS is playing catch-up because it was pointless to advance the language when IE didn't even support the existing standards and had 90% market share. Now it has to distill all the good ideas from the past 2 decades and other languages in short order. The chaos is understandable.
> it then produces a delay if the ad can't be downloaded

That's exactly how Chinese video websites like Youku and Sohu Video work.
Median income is not necessarily middle class.
He very often applies this tactic of trying to make the other side seem unreasonable.

This is the most important issue of our generation. You cannot have it both ways Mr. President. There is no middle ground. You either support the right to privacy or you do not. There are only two options and you have to pick one.
The server fetches the video page from YouTube, and embeds the VP8+Opus video URL into my site's page with a <video> tag.
This week's dev-blog post is about exactly that: http://www.factorio.com/blog/post/fff-129
Tech Companies Design Your Life
How to Catch Chinese Hackers: Look at Who Wants Your Corporate Secrets
I can't find the school example, but this stuff is a hodge podge of different rules. The basic problem is:

Depending on who "owns" the waste, its handling and disposal is regulated differently. " In 10 C.F.R. § 20.2002, the NRC reserves the right to grant a free release of radioactive waste. The overall activity of such a disposal cannot exceed 1 mrem/yr and the NRC regards requests on a case-by-case basis. Low-level waste passing such strict regulations is then disposed of in a landfill with other garbage. Items allowed to be diposed of in this way are: glow-in-the-dark watches (radium) and smoke detectors (americium) among other things."

https://en.wikipedia.org/wiki/Low-level_waste

"Low-level waste (LLW) is nuclear waste that does not fit into the categorical definitions for intermediate-level waste (ILW), high-level waste (HLW), spent nuclear fuel (SNF), transuranic waste (TRU), or certain byproduct materials known as 11e(2) wastes, such as uranium mill tailings. In essence, it is a definition by exclusion, and LLW is that category of radioactive wastes that do not fit into the other categories. "

Of note, there is no exclusion for naturally occurring radioactivity.
That's really irrelevant.

It amounts to a 50% noise factor, across the board. Which means arguments based on this fudge factor basically don't make any sense, in my view.

But if you want to to a different route and consider this disconnect "irrelevant", hey, that's fine.

As to the "circularity" part of what you're saying:

If one defines the "middle-upper" distinction in terms of affordability within the current SF real estate bubble then your argument would be a lot more sensible.

But I don't buy that definition; I don't think it's tenable; and I don't think it jibes would how most people (who aren't disgruntled SF tech workers) would define that distinction. I think it's fundamentally flawed, in other words (and quite obviously so).

Again though, that's just me -- and basically everyone I've come in contact with in regard to the whole inequality / affordability debate since long before it became the huge, glaring thing that it is now. You can of course define it however you like.
See my other comments on this thread for a simple implementation of a bijective big-endian prefix varint encoder. You may or may not want a bijective encoding, and probably want little-endian. I'm just used to writing big-endian encoders (for lexographical sorting reasons), so that was faster for me to whip up a demonstration of a bijective encoder.

A real implementation would use a switch statement instead of a loop. One might use a lookup table or a few instructions of inline assembly to calculate the number of leading ones in the first byte, and switch on that.
The problem here is encryption itself. You can't put the genie back in the bottle. I'm inclined to agree with him on the fact we need a compromise, before like he said something bad happens and a rushed solution is implemented that isn't optimal for either side.

However, I can't think of any of the government's proposed solutions as working. Someone who wants the security offered by encryption will just use a truly secure system, even if it means they buy the device or software on illegally or from a foreign country.

Where this is demand for true privacy, there will always be supply.
> That group generally wants to touch JS has little as possible then forget about it.

WebAssembly will be the thing which grants that wish. Once there's a compiler for your language of choice that can compile to WebAssembly the need to use JavaScript will be kept to a minimum.
AdBlock's Ironic Approach to World Day Against Cyber Censorship
If you're building such a website, Google will shut it down quickly. It probably breaks some laws too (i'm not a lawyer).
I would be interested in hearing about what parts of the docs are a pain for you, if you have the chance.
The real upper class laughs at you guys arguing amongst yourselves over what qualifies as "middle class" and "upper middle class" and "upper lower middle class" and "lower middle upper middle class". So silly.
No, it's because downvotes actively censor unpopular opinions based on the fact that they're unpopular rather than their merit. Check out reddit some time and you'll see this happen a lot.
You seem to be making the bad-faith assumption that Obama is familiar enough with the history of strong encryption or Freemasonry that he'd know about the situation you describe.

Don't ascribe to malice, etc. (though of course when talking of the leader of a superpower, the ill effects of malice and ignorance may be indistinguishable enough to render the difference meaningless).
The funny thing is, one year ago he almost was. He spoke with President Xi in China about legislation Beijing was considering that would similarly handcuff tech companies [1]. He criticized Xi for this and pointed out that it would damage their economy.

I don't understand whether he continues to hold that view or not. Perhaps he does think it will hurt our economy but is worth the cost. Perhaps he thinks it is better for our security too. Of course he is wrong. I am so baffled that nobody has been able to explain this to him in a manner similar to the understanding Lindsey Graham was able to achieve.

Shouldn't the President have access to the best minds in technology? It's not as if any of us would refuse his phone call. Note I don't claim to be a best mind but I think I can talk through the issue to present understanding of the full tech side of the picture to a layperson, and at the same time be respectful of the challenges faced by the DOJ when trying to give justice to victims and security to the public. I think all of you on HN can, too.

[1] http://www.reuters.com/article/us-usa-obama-china-idUSKBN0LY...
A real implementation would probably be switch-driven, but I whipped up a terse implementation for a big-endian bijective encoder to go with my other comment (tested, but test code omitted):

int varint_u64_encode(uint8_t** start, const uint8_t* limit, uint64_t value) {
uint64_t offset;
uint8_t* position;
int bytes;

for (bytes = 1, offset = 0x80; value >= offset && bytes < 9; ++bytes) {
offset = (offset << 7 ) | 0x80;
}
position = *start;
value -= ( offset >> 7 ) ^ 1;
if (position + bytes > limit) {return 0; /* not enough space */}
*position = (((uint8_t)0xFF) << (9-bytes)) | (uint8_t)(value >> ((bytes-1) * 8 ));
for (++position; --bytes > 0; ++position) {
*position = (uint8_t) (value >> ((bytes-1) * 8));
}
*start = position;
return 1;
}

int varint_u64_decode(const uint8_t** start, const uint8_t* limit, uint64_t* result) {
uint64_t value;
uint64_t offset;
const uint8_t* position;
int bytes;
uint8_t mask;

position = *start; offset = 0;
for(bytes=1, mask = 0x80; (mask & *position) == mask && bytes < 9; ++bytes) {
mask = 0x80 | (mask >> 1);
offset = (offset << 7) | 0x80;
}
if (position + bytes > limit) { return 0; /* not enough space */}
value = (~mask) & *position;
++ position;
for(; --bytes > 0; ++position) {
value = (value << 8) + *position;
}
value += offset;
if (bytes == 9 && value < (1uLL << 56)) {return 0; /* overflow, non-canonical encoding */ }
*result = value;
*start = position;
return 1;
}
I find it strange that you listed high school as being distinct from high class, when both have the same non-literal meaning of "high".

Maybe it's a cultural thing, but I pronounce both high class and high school without a pause, and with emphasis on both the high and the class / school.
Thanks!

I wasn't aware of this approach. Looks like a reasonable single-pass solution.
I guess that's a direct result of being given content for free for the better part of two decades. During the videotext/minitel days it was quite common to pay for content.
Cool idea and article.

Hot reloading deployed production applications is a really intriguing feature of meteor.

I'll bet something similar could be built if someone was using react and redux. Sort of like the local development hot reloading with react-transform-hmr, but running in production. This would make it automatic instead of requiring a browser reload and erasing the users current ui state. The trick would be in optimizing the performance. Using a websocket instead of polling would be a bit more efficient too.
Your server will probably get blacklisted for heavy usage or some arbitrary API violation. Do you have a plan to remedy or circumvent it?
They need the general rule that English verbs can be verb phrases, which have an auxiliary or modal like "have" or "do". And that such verb phrases inflect the auxiliary verb, while the main verb stays in the infinitive form (or in the participle form, as the case may be). The auxiliary carries the tense, negation, person and number.

Also it helps to imagine that there is always an auxiliary. If you don't see it, it is invisible, but still there. When the auxiliary is invisible, it cannot take the tense, number and so on; these markers go to the main verb.

Now when you make a question, the auxiliary and sentence subject exchange places (subject-aux inversion). This still happens when the aux: is invisible.

Visible aux (will):

Statement: You will have the soup.

Question: Will you have the soup?

Invisible aux:

Statement: You [invisible] have the time.

Question: [invisible] you have the time?

But now, this invisible aux is dangling up in front of the clause and that is forbidden. In this situation, the invisible aux is instantiated in a visible form, and it appears as the verb "do":

Question: Do you have the time?

And, as usual, this invisible-come-visible aux now takes the tense, number, person, "not" negation away from the main verb. With that we can more or less semi-accurately understand how "do" works in forming questions.
If you pay nothing, you are not the customer. You are the product.
There's definitely some linear algebra which should be happening in the head of any programmer as s/he writes code, some combination and balance of functionality, conciseness, performance, readability / maintainability, extensibility, etc.

I'd suggest that this lemma doesn't quite take into account that software quality isn't just about what it is able to do today, but how efficiently it's able to adapt or be repaired in the future.
It doesn't break any laws since I don't play any videos which have forbidden embedding. Plus, technology like that has been mainstream in VLC, youtube-dl, etc, for ages. It uses the official YouTube API, and respects mosts of the Terms of Service, except the video fetching, which doesn't use the API at all, just loads the page on the server and catches the video stream.
So we're now talking about insecure devices that can recieve firmware updates remotely?
Seems like graphql would solve the api versioning problem pretty well.
The underwear drawer analogy highlights the schism here. On one hand, for people who don't think of their phone as "an extension of their brain" (to use a phrase I've seen here), it's puzzling to think we'd be on board with letting police search our most intimate places with a warrant, but not our phones. To those convinced that there is no way to allow reasonable access to law enforcement without allowing unlimited access to hackers, that position doesn't make sense.
It's sluggish on my desktop i7/970 combo.
"I've found the best employees often have let go of the fear of being fired. They can speak truth to power, stand up for what is right as opposed to what is expected, and they generally leave the place better than they found it. It was interesting watching people at Sun change when Sun going public suddenly meant those people didn't have to work if they didn't want to. Much more engaged, much more willing to look at alternatives and to take risks in pursuit of a better outcome overall."

If you are 20, with no kids or family, it's great to have this mindset. However, you can't have this mindset if you have a family or other people to support.

Every place I have ever worked has politics. You need to figure out these politics to survive and many times 'standing up for what is right' will get you fired or you will seen as a person that causes strife and passed up for promotions.

I can't tell you how many times I've worked on a software project where we were making really bad decisions that came directly from management.

Doing things the 'right way' means going against your superiors, and it has many negative consequences. When you are young, you can take these risks.

It's one of the reasons I started my own company. I was tired of playing politics.
Google has two importantly different kinds of ads.

One is where you are searching something and they show you relevant offerings. Here, people are often happy to see the results, as they can move them toward their goal.

The other is where you are trying to do something (read a blog post, watch a video) and they want you to do something else (read about somebody's product, watch a video advertisement). Here many people are resistant, as it takes them away from their chosen activity.

My understanding is that Google makes most of their money from the first kind of ad, and that ad blockers mainly block the second. So I don't think this is a very big deal for them. In Google's shoes, I'd happily let people run ad blockers if they wanted. One, those people were unlikely to click on ads anyhow. And two, it's dangerous money. For their long-term success, they're much better off if they're doing things that customers actually like.

It's dangerous when companies get hooked on money that requires them to work against their users. Look at how much trouble TV networks have had adapting, for example; they just aren't clear on how to make great TV in the same way that places like HBO are. Or look at the sad, slow fall of Yahoo, which has always thought of itself as a media company. They were never able to do much with customer-focused acquisitions like Flickr because they never could quite understand them.
Visual Studio Code Snippets for React.js
I use Siri each time I want to set my alarm clock. Other functionalities are faster using the standard way.
Instacart Slashes Pay of Some of Its Lowest-Paid Workers
@amadeusw: I'm just planning to rebuild the VPS any time it gets blocked, if it gets blocked. Given that YouTube downloader websites have worked for so long without going down, I don't think that would be an issue.
I'd wager a bet that most people using JS today are nowhere close to having devops and infrastructure teams, but are still single people in their bedrooms copying and pasting stuff from Stack Overflow trying to make their online flower shops work.

For the life of me I cannot remember who it was, but somebody once essentially said that Javascript had the quality of allowing anybody to bring to life what's in their head, no matter their skill and experience level. You could almost mash the keyboard until it worked.

For me, this is a democratizing quality which is fundamental to the spirit of the web, and I would be more than happy to give up generators and class keywords for it.

I've recently spent over six hours trying to build and use a JS library, fighting with package managers, build systems and transpilers, whereas earlier all I would have need to do was download a file and include a <script> tag. We're not moving in the right direction.
Of course he will. If they didn't have his backing, they would not be putting up such a fight.
New York from 1910s-1930s. Manhattan had more people living on it in 1920 than it does right now. During that time there was a ton of construction: prices went from $10/sq ft to $15/sq ft. Then with the market crash, demand for the overbuilt city real estate went down, leading to costs more in the range of $5/sq ft: http://www.millersamuel.com/change-is-constant-100-years-of-...

No, housing prices do not necessarily immediately sink. Developers will only build when they believe they can turn a profit. But you can overbuild during boom times and allow housing prices to correct when demand diminishes.
> (though of course when talking of the leader of a superpower, the ill effects of malice and ignorance may be indistinguishable enough to render the difference meaningless).

I was going to argue you with you until you added this. ;)

Malice and ignorance for someone in his position are identical in my world view. The man has a budget to hire the most intelligent people in the country to advise him.

Ignorance and/or incompetence in public interviews should be beyond the realm of a reasonable result.

That said, I realize not everyone feels that way.
They have all kinds of other businesses besides the ad (which is a large percentage of their revenue). Cloud services, maps, email for work. Very soon they will be selling self driving car systems, which is going to be huge. Even if they made zero through ads, being a search engine, they can charge for positioning. Or they can start their own businesses in literally any area, and drive all the traffic they want to them.
Right -- which tends to moderate the up-ending effects of rising real estate costs in NYC to a significant degree.

That, and the fact that (within city limits) public transit is much more affordable than BART (plus whatever secondary transit needed to get to/from BART).
I would probably watch 95% fewer YouTube videos if I actually had to pay money for them.
You could've said the same thing in 1789. Either you support the right of privacy (let police enter into peoples' homes without their consent) or you don't. Those are the only two options. No reasonable middle ground to be had in-between.
The question was more about discovery than how the tool worked... I'd imagine he doesn't watch much YouTube but just uses youtube-dl when the videos are found on other sites.
If you care about this and are an American citizen, please consider signing the apple-privacy-petition: https://petitions.whitehouse.gov/petition/apple-privacy-peti...
> More and more people care about cruelty-free farming, as well as are becoming vegetarians or vegans.

Are there any reliable stats for this that also take into account what it likely to be increased meat consumption in places like China and other developing countries?
Embedding and scraping into a video tag aren't the same thing.

As soon as you store any of their content on your server, even if in just RAM, you're fucked, because that's copyright infringement.
It's far worse than that. Devices talk to each other at ultrasonic frequencies, telling each other what you're doing. Cross-device tracking. Plus they all hear what you say. So much for privacy ;)