skysight-inc/HackerNews huggingface dataset:
I tried out A-Frame for a prototype and I liked that I was able to set up a simple VR project in a few minutes with no prior VR experience and without having to learn React. I'm sticking to A-Frame
I have a set of rules I give my children. I started with them as kind of a joke because they would always flip out about stuff, so naturally, rule #1 is:

1) Be calm

2) Be kind

3) Don't steal

4) Always attempt your best

I've always liked the thought that "don't steal" is the ultimate morality lesson. Killing someone is stealing their life away. Adultering is stealing someone else's love or relationship. And of course, stealing in its basic meaning.
Some specifics here -- https://developers.google.com/web/updates/2017/03/background...

- Each background tab has a time budget (in seconds) for running timers in the background.

- A page is subjected to time budget limitations after 10 seconds in the background.

- A timer task is allowed to run only when the time budget is non-negative.

- After a timer has executed, its run time is subtracted from the budget.

- The budget continuously regenerates with time (currently set to a rate of 0.01 seconds per second). Note that this budget regeneration rate can be tweaked as Chrome collects more data about throttling behavior.

This still seems very "breaky" for apps that haven't utilized WebSockets or WebRTC for "real-time" updates and rely on polling, unless I'm missing something.
Healthy Dog Trainer
http://money.get.away.get.a.good.job.with.more.pay.and.you.a...
I certainly thought I was adding to the discussion here, but perhaps not. Should I have mentioned I strongly support science? I'm not sure what I wrote that is so offensive.
I don't think 'authenticity' is that simple. I'm a Canadian, I love hockey and have a pretty good understanding of it. I could make a 'hockey stick' shape out of plywood and paint it up to look good, and you could even in theory use it to smack a puck around, but its still not an authentic hockey stick.
For anyone wondering: 'Why JavaScript? Why React?', let me remind you, the goal of ReactVR is not to create the most performant game, but to allow the people that are creating websites right now, to create VR websites in future.

Using the same technologies is natural.
Note: the blinking Expo logo in the first example is the actual example, not a loading screen for something ;)

Took me 2 minutes to figure that out...
Is this the return of VRML?
I used to consume stacks of them. Schematics, notes, CD catalogue, address book. It was by far the easiest format to keep structured data in paper form. I still miss them, but searching files is much quicker and database tables have a power all their own.
Turn data and WiFi off on your phone. Saves battery, too.
What's your working setup with Julia? I'm looking at switching over from MATLAB as soon as the semester is over.
> I wonder if the 6 million digits cover all possible 6 digit year and time combinations

Only an infinite sequence of normal digits can be assured (probability: 1.0) of matching a test digit sequence within it, even a trivial one. For all other normal digit sequences, there's a probability less than 1.0 for finding an example sequence within it.

> '133343' doesn't seem to be part of the digits, which would represent 13:33:43. Unless I'm misunderstanding.

Good example. One would think that a relatively short test sequence would be a shoo-in for being located somewhere within 100 million normal digits, but that's by no means assured.

Edit: the sequence '133343' appears 80 times in the first 100 million digits of Pi.
In economics, there are just to many variables to satisfy - and of course, the impossible variable which is the nuance and choices that humans make.

That doesn't make it unworthy, it just means we have to understand what we measure and why, and the limitations of it.

If you pay your mother to babysit, that goes into the GDP. If she does it for free, like most families - it doesn't go onto the GDP - yet the same amount of value was created.

The GDP also does not measure consumer surpluses, which is crazy.

It also doesn't account for the degradation of so many things. Clean water for example. A lake is polluted - unless someone is hit, economically speaking, it doesn't factor into the GDP. Well, we clearly 'value' clean water and streams on some level, maybe we should have a 'balance sheet' of 'natural assets' and put a number on them.

People tend to move around measurable things, and putting numbers on things changes hearts and minds.

Example: insurance companies are starting to change more for certain elements of climate risk. Maybe not quite 'climate change' in the grand sense, but certainly local climate issues. Then business have to respond because costs go up. I find a lot of business people are like that - once it's in numbers, measures, costs, it's easier to get on board.

If there's a real macro problem with economics, is that we need to measure something better than the GDP :)

Also, because of comparative value, it's hard to be objective with the GDP.
People don't "need" special languages. They just like them.
Oh the first example should be a heart that explodes when you touch it. Sounds like something went wrong loading it. Sorry about that.
I have definitely seen American-style bars in Europe and Japan. You get New York-themed, Californian, Hawaiian and generic American. Often with '50s decorations.
Long time deleted FB account holder here.

I don't miss it at all. Not one bit. It amazes me how much time my wife spends mindlessly looking though stuff on it and the negative feelings that sometimes flow out from it.

I recently read a truly fantastic speech by Charlie Munger, which imparted so much clear & concise information in an easily digestible way that I could instantly relate to, it made me realise just how little I know. Specifically, he mentioned that you really need to notice when technology is going to help you and when it's going to kill you. It's made me re-evaluate my current relationship with technology and how negative it can be at (most?) times. I hope over time, people start to question their relationship with technology a lot more. I already see hints of this with mainstream media in things like Black Mirror.

I am amazed at the quantity and quality of some of the content on something like Kahn Academy that I have no idea why I haven't made more of an effort to try and grasp topics that otherwise are completely alien to me. Many of these will probably help hugely in my day to day life as well.

Recently I listened to an interview with a UK fund manager called Terry Smith, who said they don't invest in tech shares like FB, Netflix, etc. as they are such new areas which are still open to such massive change. Long term (decades) they probably aren't safe bets i.e. Netflix is great now, but once upon a time so was Blockbuster.

I do wonder if "peak" Facebook is over. There's already a large generational shift happening in younger demographics to things like Snapchat, etc.

I do hope that whatever may or may not replace it has a better balance towards positivity.
There definitely is a way, that's how all research is done. You send three groups there, one that doesn't touch anything, one that touches his nose, and another one that touches nose of the fake statue, without knowing that it is fake. If second group appears to have more luck than the other two over time, then it works.
One can also say that "you" cannot be separated from the "external" system?

Alan Watts -

“It's like you took a bottle of ink and you threw it at a wall. Smash! And all that ink spread. And in the middle, it's dense, isn't it? And as it gets out on the edge, the little droplets get finer and finer and make more complicated patterns, see? So in the same way, there was a big bang at the beginning of things and it spread. And you and I, sitting here in this room, as complicated human beings, are way, way out on the fringe of that bang. We are the complicated little patterns on the end of it. Very interesting. But so we define ourselves as being only that. If you think that you are only inside your skin, you define yourself as one very complicated little curlique, way out on the edge of that explosion. Way out in space, and way out in time. Billions of years ago, you were a big bang, but now you're a complicated human being. And then we cut ourselves off, and don't feel that we're still the big bang. But you are. Depends how you define yourself. You are actually--if this is the way things started, if there was a big bang in the beginning-- you're not something that's a result of the big bang. You're not something that is a sort of puppet on the end of the process. You are still the process. You are the big bang, the original force of the universe, coming on as whoever you are. When I meet you, I see not just what you define yourself as--Mr so-and- so, Ms so-and-so, Mrs so-and-so--I see every one of you as the primordial energy of the universe coming on at me in this particular way. I know I'm that, too. But we've learned to define ourselves as separate from it. ”
America Insists on a $13B Aircraft Carrier That's Easy to Sink
https://github.com/airbnb/native-navigation/pull/39 :)
If it's your software generating the tokens, then that means they'd need the shared key, or private key in order to sign the token... which is already a problem. Now if you're accepting tokens from a third party, that's another issue, and should be much more constrained.

I go farther still and require a VERY short expiration on service to service requests (documented as 1m, coded as 2m) which combined with https limits the chance of replay attacks.
I feel like you're looking through a lens that filters out all but one color. You only see that which confirms what you already believe. At the end, you generalize what you see to the entire nation. There is so much evidence contrary to your blanket assertions that, while your comment has grains of truth, it makes no sense overall. You sound like you've been consumed by one point of view.
In Kilkenny I had to teach the bartender how to make a Black and Tan (with a spoon). She had never heard of it, people gathered around to watch. They thought we were so strange.
I think most of those who've responded to you recognize the argument is against Facebook, videogames, tv, etc and in general all vapid time sucks designed to keep the user in an unenlightened state
session invalidation is actually very easy to implement. Its important to think of it as a process instead of a builtin to the standard.

In most of our implementations we achieve this by differentiating between the session token and a request token. Requests that actually power the app use tokens that are very short lived. Request tokens are generated by the core auth server using the session token. A session can be invalidated at the core auth server which will then refuse to give request tokens to the bearer.
> except for what I perceive as a derision toward "web devs", which by the way I am not and didn't even mention, so I'm not sure why you even mentioned it

I didn't read it as derision. I read it as an indication of a different focus between two areas of development. Microseconds don't matter in most cases. Milliseconds matter more often. Something optimized for microsecond-ish timing will make a tradeoff somewhere else (like code readability, generalness, etc).
How to add Alexa to your Raspberry Pi 3 gizmo
I'm struck by how much this echoes Confucius and the Analects and how they define the so-called gentleman or noble man (not to be confused with nobleman, and translation is hard). Given how unlikely it is that Chekhov had exposure to either, it's incredible to observe the universality of these qualities considered admirable.

If people haven't, do recommend checking out The Analects! Caveat: there are quite a few excerpts that need to be taken in historical perspective, or can be easily misinterpreted (e.g. advice to be slow to embrace new that was in context of centuries of chaos and warring, or statements on women that interpreted naïvely clearly contradict other statements on mothers).
Absolutely! I'm just pointing out that this need is so strong that people have reached for the slow throughput of Scala.js just to get its fast startup time. If we can have both, that's even better!
I'm sure they exist. Just I haven't met them.

I have met some that are reasonable. But as I said, those tend to be the ones who are actually Libertarian from my experience.
Personal and Business phone "in one"
Dunno if CS 161, Computer Security, is available but it's a great course. Wagner or Weaver both have their points.

CS 70 should make the list but the lecture notes are enough.

Strongly prefer Kubi for OS or pretty much anything.
Manipulating uploaded files in Laravel
IMO the future of the JVM is highly multi-platform: JVM, native and JS.
Not in this case and this is not very hard to understand. The H1bs who come to US are exploited by companies and are paid less than market salary. The reason most companies give is because they have to bring the person from overseas they have made significant investment in time & money and therefore pay them less.
His/her consciousness might exist inside a different person though.
Here's the top-level Bazel BUILD file of the open source project I work on at Google, if anyone wants to see an example for a good-sized (~100K LoC) codebase: https://github.com/google/nomulus/blob/master/java/google/re...

Each subdirectory below the root also has its own BUILD file, where you can see the individual packages being compiled.
I solve those problems by never using gem install. Actually I use gem install once, to install bundler in the @global gemset of every Ruby version I'm using. Then it's all Gemfiles.

I create a rvm gemset per project and I use bundle within it. Combined with the .ruby-version and the .ruby-gemset files this lets me switch between projects in zero time because I don't have to run bundle.

I deploy with bundle install --deployment (vendoring gems).
I love the line "like building a spaceship out of bicycle parts". Maybe we should use that as React VR's slogan ;-)
I think that says more about how we run our school systems than the schooling kids being a problem.

http://www.smithsonianmag.com/innovation/why-are-finlands-sc...

Great example of this.
Or inspiring! I guess it depends on your outlook.
Fall back to connecting to the main instance directly
One theoretical framework that justifies regulating telecoms, but not necessarily Facebook is that telecoms usually have special privileges granted to them by governments, up to and including monopoly status.

Building the hardware layer for a telecom network requires access to public land, and often private land where the landowners may not be cooperative. In exchange for the government enabling the telecom to build its network, the government gets to impose rules, sometimes even mandating competitor access to said network.

Facebook is different. The internet is already there, and is not owned by any single entity. Facebook does not need to compel cooperation from anyone to operate. It does not invite regulation in the same way a telecom does.

Now, there are plenty of people who believe that anything is fair game for the government to regulate if it's in the public interest, but I think that position is less universally accepted than that of trading special privileges for regulation.
> A quick script from me determined you need 10,524,628 decimals of pi for this to work for all dates and times ... (emphasis added)

For a finite, normally distributed digit sequence (as Pi is thought to be), the probability is always less than 1.0 for finding a particular sequence within it. But if you mean a specially engineered sequence designed to include all possible 6-digit sequences, then we've left the question of whether a given finite Pi sequence includes it.
I disagree. Having a common language in many places has led to huge improvements over the board in the JS ecosystem, it's become the "C" of the modern era, and you can build a lot of stuff on the foundations that others have laid.

I still hate JS though.
> Nobody gives a shit about global warming or pollution.

Plenty of people do.

> Nobody cares that your email gets marked as spam if you pick some other email provider. People will just ask you to switch to gmail.

Yes, that's one more example of network effects at work.

> Nobody cares that you now use Firefox and their website does not work well.

True, but then they'll lose me as a potential customer. They probably don't care so point taken.

> Nobody cares about the insane things we dump _every_ day in the oceans.

The worst to me are things that are manufactured in order to be thrown away. Tools that are so bad you can't use them even once, consumer goods whose sole feature is they are created to be presents that nobody ever uses afterwards, packaging, mountains of packaging, all kinds of disposable paper goods. It's incredible.

Have you watched the movie "The age of stupid?"

If you have try to reconcile that with the current head of the EPA being who he is...

So even if those decisions are all made - in principle - of people's own volition our views of the world and our actions in it are shaped to a fairly large extent by governments, corporate entities and media (this comment being a part of that because of the reference to the movie above).

> But people are not prepared to make any sacrifice at a personal level.

Some people are. Generalizations are hard.
Please file a feature request on http://github.com/scala-native/scala-native, we can discuss the details over there.
In a way, the whole thing is much weirder. As Shteyngart notes, mechanical watches are in almost all ways inferior to quartz in terms of utility.

But because of that inferiority (and sensitivity to manufacture), the difference between poor and high quality mechanicals is much more readily observable by the owner than for a quartz. (If my watch gains or loses 30s/day--a reasonable performance for a Seiko 7s26--I will quickly notice, whereas if my quartz gains or loses one second, I may not.)

In the car case, the spectrum is basically continuous; in watches it's segmented in this very peculiar way.
To be honest it's because I'm not crazy about Magner's, and because it's called Bulmer's in Ireland. It also seems to be pretty easy to come by abroad all things considered, though I'm partial to Woodchuck myself.

Regarding cuisine, on the bright side I also haven't seen soggy chips with a mountain of vaguely garlic scented mayo plopped on top exported to other countries as an example of Irish cuisine. The first time I had those I really missed Gordon Biersch :-).

There's some good food here (cheeses come to mind) but I think there's a reason the cuisine hasn't exactly been recognized by UNESCO, unlike Italy, France, or Mexico.

https://en.wikipedia.org/wiki/UNESCO_Intangible_Cultural_Her...
I notice this theme again and again in every "change yourself" book, show, class, lecture. Be it weight loss, improving mental health, curing addiction, becoming a better writer/photographer/programmer, the theme all comes down to a battle against yourself. Fighting the desire to snack, fighting the desire to lay on the couch instead of going to the gym, fighting the desire to veg and watch netflix instead of watching another lecture in the MOOC you're taking.

You'd think it'd be easier to control ourselves. I have trouble understanding how we can want something, but some other part of us can seem to not want that thing, or just be extremely short sighted to the point of being an obstacle to our "long-sighted self."
That's a cool idea for a game. Maybe it could be done as a Kerbal mod? Have "etheric traction tires" provide inertialess drives?
It's also possible the current physical manifestations of these devices will change quite a bit in the near future. I imagine in 20 years of less we'll mostly be using some eye based (glasses, lenses, whatever) display with AR and gesture control.(likely with a gesture "shorthand" for AR control with limited movement for when you don't want to wave your hand in front of you).

At that point, it will be both much more and much less invasive, as it will likely be fully integrated. You can use it to enhance your conversation by adding context, distract from your conversation by utilizing it for something unrelated, or ignore it entirely. Sort of like your memory and imagination now (because that's what it will be at that point, a slower but much fuller extension to your current mind).
Forgive my ignorance, but how are you getting 4-6x speedup with threading in the face of the GIL? Asking because I generally choose C/C++ when performance matters over Python because of the GIL (and somewhat, the GC).
People in this thread talking about "authenticity" remind me of this article about Chinese restaurants across Canada: http://www.theglobeandmail.com/life/food-and-wine/chop-suey-...

It's interesting how they came to be so widespread, helped their local communities, and starting creating regional dishes (like Ginger Beef)
I've done mathematical programming in both C++ and MATLAB. As much as I hate MATLAB as a language, it's way faster and easier to prototype things. There's a huge library of vetted functions for scientific things I'm interested in, and having matrices built into the language is great. MATLAB has tons of warts though, so I'm looking forward to switching to Julia this summer.
That's fair criticism. My intent was to give an example of a hugely addictive product that shaped the course of history. Facebook is, obviously, not physically addictive like an opioid.

But it is addictive. Dopamine-hit addictive (thanks, likes and little red notification dots!). In what appears to be a very universally appealing way.
What is stopping any of the 1 billion Facebook users from using whatsapp, snapchat, or any other messaging service?
On the other end of the spectrum, my wife participates in a medical research group within Facebook, because the group creator and that community find Facebook more natural to use.

I share your concern but we can extend the problem to mobile phones.
The DNS resolution itself was really slow for me, slowed down web browsing severely.

Also I was really concerned by the fact that anyone on the network could access history for everyone else. It's not a nice feature.

It's a good project otherwise, props to you guys.
> you won't ever see an autonomous vehicle winning a World Rally Championship

Autonomous vehicles will surpass human rally teams. I've competed in rally here in the US.

The vision problems involved are difficult but don't underestimate how much humans struggle with sun and dust as well. With everything else the computer has the advantage.

WRC as an org may not ever run an autonomous class, but I would expect to see a robo rally event of some sort to show up, perhaps first as a spectacle at Pikes Peak or Isle of Man.
Just a note, in the FAQ[1] it states "distribution packages are often outdated". There are (very simple) cURL/wget instructions in the repo's README[2]. Then you can update with:

sudo youtube-dl -U

There's also an .exe for Windows as well as pip, Homebrew, and MacPorts packages.

[1] https://github.com/rg3/youtube-dl/blob/master/README.md#how-...

[2] https://github.com/rg3/youtube-dl/blob/master/README.md#inst...
Agreed... my first two experiences with JWT were creating my own implementation... in my case, the allowed public keys had to come via https from a specific server in the domain, even without PKI using shared key... I had hard coded the algorithm used for the signature. This could just as easily be filters on a library though, it's just my first experience didn't have a valid library, so I had to composite one (did use existing crypto library though).

JWT is a perfectly valid structure, even if the spec is more flexible than it should be. By that matter, https also has historically supported algorithms and protocols later broken. Nobody is suggesting we stop use HTTPS, only that we limit acceptable protocol and algorithms supported.
Lack of ROI (return on investment) is why people stay on Python 2