skysight-inc/HackerNews huggingface dataset:
> The video surface was a little more problematic. To provide smooth playback, the video frames are queued a half second ahead, tagged with a "release time" that the Android window compositor will use to pick the best frame each update. The SurfaceTexture interface that I could access as a normal user program only had an "Update" method that always returned the very latest frame submitted. This meant that the video came out a half second ahead of the audio, and stuttered a lot.

> To fix this, I had to make a small change in the Netflix video decoding system so it would call out to my VR code right after it submitted each frame, letting me know that it had submitted something with a particular release time. I could then immediately update the surface texture and copy it out to my own frame queue, storing the release time with it. This is an unfortunate waste of memory, since I am duplicating over a dozen video frames that are also being buffered on the surface, but it gives me the timing control I need.

Oh, Mr. Carmack...

http://developer.android.com/reference/android/graphics/Surf...

http://developer.android.com/reference/android/graphics/Surf...

And I only started coding for Android last month. I guess I'm an 11x programmer. :) ducks
FLIF is encumbered by GPL, so it is unlikely to make its way into digital cameras.
Yes they have -- the Samsung Gear VR. You wouldn't even know that it was associated with Facebook in any way. The Oculus Store is accessed via your Oculus account. There's literally no mention of Facebook anywhere (I'm not sure as I haven't used the particular app, but I haven't heard of the Oculus Social app on Gear VR being tied to Facebook either).

If Gear VR is any indication, then the fear that Facebook is going to mess with things obnoxiously is unfounded. I don't think we'd have as polished a product as we'll get with the retail Oculus version had the Facebook deal not happened.
I agree that there is a big opportunity here but suspect long term this will be solved in a different way: more great benevolent former founder seed investors will emerge and more startups will be funded.
Israel’s electric grid hit by “severe” hack attack
Reminds me of Pets.com

"In January 2000, the company aired its first national commercial as a Super Bowl ad which cost the company $1.2 million. [...] That ad was ranked #1 by USA Today's Ad Meter and had the highest recall of any ad that ran during the Super Bowl. [...] Although sales rose dramatically due to the attention, the company was weak on fundamentals and actually lost money on most of its sales. Its high public profile during its brief existence made it one of the more noteworthy failures of the dot-com bubble of the early 2000s."

https://en.wikipedia.org/wiki/Pets.com
Are there more layoffs than usual now or am I just imagining things ?
Obligatory submarine link

http://paulgraham.com/submarine.html
yesterday: https://news.ycombinator.com/item?id=10969149
This is pretty awesome. Confusing at first, like any good puzzle should be. My wife is already to 1_14 and I plan to install gforth, fire it up and show her how transferable everything she just learned is.
It's like negging. How lovely.
It's not simple = it is hard to learn for people coming from C/Java/JS-like environment.
Yes, of course I know it will never happen (or rather, because never is a long time, it won't happen while the current political system is in place).

I'd be perfectly fine with subsidizing upstate if they let us fund our own infrastructure. The fact that we give our tax dollars to them and then they tell us we can't raise enough money to pay for our subway, public housing, etc., is what makes me want to effect massive change.
The first official version of FLIF has not been released yet, and currently they are discussing releasing it under Apache 2 or MPL (Mozilla Public License).
This is not a useful submission title.
Did they have access to the Java source code? No, I believe they were just decompiling bytecode.
OK, so the original post doesn't say that, which kind of misses the whole point in the section that explains why Python was a bad choice.
How feasible would it be to build a personal ALPR?
Do you think he knows about SVG?
I am so curious why dell is buying EMC/VMware. What position/product do they hope to achieve ?
It's for both libraries and different versions of Python. This is common and trivial.
I install specific versions of Python using the Deadsnakes PPA since I can easily pull in any version going back to 2.3 if I need. Or you can compile and install from source.

Then create a folder for your project, 'virtualenv -p /usr/bin/python3.5 venv' to create the venv in that directory.
Activate/deactivate the environment as you wish when you want go between the system Python environment and the one in your folder.
The difficulty does not NEED to be ever increasing. In fact there are periods of time where the difficulty is pretty stable, such as mid-2011 to early 2013, or the first half of 2015: http://bitcoin.sipa.be/speed-ever.png
This'd be worth testing. Isn't the way gzip works to build up a dictionary of characters/phrases and then store pointers to the dictionary? I'm not sure you can compress { or } but }); is another story.
Well we need to distinguish between debt raised to lend out to customers vs equity financing.
>The software is not developed yet.

I actually develop an online whiteboard, so if you are interested in licensing it let me know (send an email to the email address in my profile). You can easily run it on your own server, customize it, etc. It's incredibly stable, and is used by a large number of online tutoring companies.

>Would offering a stylus with the software be enough of a unique value proposition?

You really do need some kind of graphics tablet/stylus if you want to do decent freehand drawing. A lot of my customers use Wacom tablets, and they work very well. It's certainly an interesting idea to bundle them together...that isn't something that I've tried.
I would rather like my language natively supports binary string, rather than unicode string.

One can always use library functions to process the binary string as unicode.
Kill Shot Hack 2016 No Survey (Android/iOS)
This should be used with virtualenv, not as an alternative to it. I have a bunch of libraries and tools in almost all of my virtual environments that are not application dependencies and have no business being installed in my production environment (e.g. bpython, tox, flake8, and neovim). This approach also handles things like a dependency being dropped gracefully (if some library no longer needs a dependency, it magically gets removed from your locked requirements.txt next time you compile requirements.in). Python's package management tools are making great strides (see pip's recent peep-style hash checking support), and pip-compile is a big win in that category in my opinion.
I don't want to magically be the only one who gets to be special and work from home. There's only a few of us, we're in a shared office with our laptops. They've also voiced their discontent.
Holy cow- their mortgages: "Afford more than you imagined with as little as 10% down on mortgages up to $3M."

Yikes. :-/
Yes, it is very different. I'm not sure what that has to do with Minecraft though since it's source isn't freely available.
Series E? Haven't you pretty much failed as a company if you have to go back to the water fountain that many times?
I suppose Dell already has a chunk of the server hardware space, makes sense to get into virtualisation since its a closely related industry and probably represents a big use-case for their hardware.
Wow that's crazily bureaucratic.

I speculate the different attitudes of the agents vs the government could be one or both of:

1. Shenzhen is a special economic zone, with a clean bureaucracy, while the agents may have gained their experience from out of state.

2. Government workers are keen to show a good image of their country to their guest-foreigners.

As I've said, pure speculation.
The power/monetary cost of 1 megahash is going to be different in Australia than it is in China.
But Minecraft is closed-source. Since when did "written in Java" mean open-source?
Inside the Plan to Pull Sprint Out of Its Death Spiral
I managed to get a developer phone with Firefox OS at a dev conference. I can say that hands down it's the worst phone I've ever tried using. I used it as my primary phone for a week and the operating system made me avoid doing anything. Making a phone call was the most pleasant, but if I had to send a text or try and use one of the apps I just found myself locking the phone. The webapp as a phone app idea was just really unpleasant especially if you had limited connectivity.

I admire Mozilla for trying, but that OS would have taken a miracle to get it working in a good fashion.
Google's Larry Page uses an unusual management trick
30 links. 27 links to Wolfram and his products. 2 links to Minsky's work. 1 link to a mathematics geneology site (who was who's grad student). The math geneology site (not Wolfram) is pretty cool. Otherwise this is a particularly distasteful way to put out self-aggrandizing plugs.

Edit: that math geneology site that shows all the students of Minsky (and their students, etc) -- http://www.genealogy.math.ndsu.nodak.edu/id.php?id=6869

Edit2:

Book by Minsky Society of the Mind -- http://aurellem.org/society-of-mind/

Paper by Minsky on finite automata --https://books.google.com/books?id=oL57iECEeEwC&pg=PA117&lpg=...
The only way for this to work for them is if the ad is controversial enough that people talk about it online after the game. Being incredibly condescending might work.

It's definitely an obnoxious strategy, and it's kind of sad to see. Unfortunately that doesn't mean it won't be effective. After all, we're talking about them here.
if you check jrs235's history, you'll see numerous instances of self-replies with additional information.
I didn't think it was acceptable to use MSVC++ at all.
I am a programmer. I have always (in my professional career) been a programmer. Why is that so hard for so many people to grasp?
Relish Hassle Free International Tours
The workspace replication features and Docker integration looks really cool! The ability to spin up identical dev environments locally while offline is exactly what I felt was missing from pure cloud IDEs like Cloud9 that persist state on their servers only.

That said, you might want to repost this again in a few days and let it grow organically instead of asking your team (and/or friends) to upvote/comment on it, because HN penalizes posts when it detects voting rings. See the HN FAQ page under "Can I ask people to upvote my submission?" for details:

https://news.ycombinator.com/newsfaq.html
I wasn't aware that Danny Hillis was a student of Minsky's and that the Connection Machine mainframe series was created with brain simulation in mind. That's really cool.

When thinking about implementing the network topology for a large-scale brain simulation, the network topology should reflect the 3D spatial local-ness of the real brain (to avoid redundant N x N communication between units). One seems to either arrive at a fat-tree CM5 architecture or a 3D lattice of asynchronous processors (but this is not very general-purpose).

https://www.youtube.com/watch?v=blvC0DA96dI
Fascinating and beautifully presented infographic. I just wish sites wouldn't interrupt scrolling and use it for navigation. Its counter intuitive and if you scroll up and down quickly you can completely break the transitions.
What were your ffmpeg flags to begin with?
I don't like to comment on these types of threads on HN, but the same names pop up in the same type of comments, bugs, or whatever various flavor of the day for whatever software someone notices today.

I don't think everyone who submits a bug needs to be a significant contributor to a project, but when someone says they want to create a set of rules (that later in the thread "should be treated as law") to regulate something that seems to be working, and that person is not a contributing member of the community, something is wrong.

I don't know what overall benefit we would have if every software project had a CoC(which seems to be their goal), it's like asking all of us to bundle one with your birth certificate.
class CrappyApiWrapper
{
CrappyApi _crappyApi;

void DoSomethingNice() {
crappyApi.DoSomethingCrap();
}
}
His next book should be titled "The art of shameless self promotion". Feynman, Turing, Steve Jobs, Minsky...at least Wolfram is equal opportunity!

In one of his blogs, he went as far as to compare NKOS with the Principia.
What I would give to have Marvin Minsky be resurrected via cryonics and have him read this article.
Given its execution model, I'm not sure I'd agree that multiplayer is terribly hard in MineCraft. What is challenging about it?
Top Six Single Board Computer of 2016
6p is the perfect phone.
It really is amazing how little we know about the healing and prophylactic qualities of plants and minerals. I mean, sure, we do know a lot.

But we have such a perverse incentive structure - and I'm talking about IP here - that makes it more worthwhile to understand something esoteric and bizarre like a difficult-to-isolate chemical compound, unlikely to have been encountered very often in the history of human evolution, while it's difficult to find motivation to do a simple study like this one.
From the article: "The Lua standard library uses the POSIX C library, making it portable; but that also means that you can’t use sockets, it doesn’t support signals or timers, and all OS calls block the thread. Using the POSIX C library is like going backwards in time."

I can't speak to the "Lua standard library" but I can say that I believe every single statement above about the POSIX C standard is incorrect as written.

POSIX Sockets: http://man7.org/linux/man-pages/man2/socket.2.html

POSIX Signals: http://man7.org/linux/man-pages/man7/signal.7.html, http://pubs.opengroup.org/onlinepubs/009695399/functions/sig...

POSIX Timers: http://www.2net.co.uk/tutorial/periodic_threads, http://pubs.opengroup.org/onlinepubs/009695399/functions/tim...

Nonblocking IO: http://man7.org/linux/man-pages/man7/aio.7.html

That doesn't mean that the POSIX features are best in class or easy to use -- rather just that the features exist.
I see it as a set of web framework construction tools. You can roll your own isomorphic web framework in two weeks, whereas ember.js and angular.js took years to build.

We build the framework that's suitable for our company. Once we got a thing going we use it for multiple projects.
https://github.com/iarna/gauge/commit/a7ab9c906bb72aa0ed8996...
Lots of things kill bacteria. Bleach for instance. That doesn't mean you should take it as an antibiotic. Conclusion of the article:

"The next stage in clinical evaluation involves detailed clinical studies and toxicity testing."

No, the next step is just toxicity testing -- long before any sort of clinical study.
The current decode time (on a lower end ARM CPU) is approx 1 megabyte per second. This of course will increase as the format is finalized and better/more optimized decoders are written for it. As well as with CPU speeds increasing. Though even at the current rate it should be fast enough in almost any real world scenario. A 1080p video on youtube is about 260-320 kilobytes per second. So as long as video quality doesn't demand 3-4 times what we are currently getting from HD video online, it should decode faster than it matters. Plus the whole video is available as it downloads in a lower resolution. It just gets clearer the longer it plays. Which is a much better experience than GIF/APNG/BPG/WebP and even MP4 in use as a GIF replacement. Though the MP4 will almost certainly be visually as good of quality at a consistently much smaller filesize due to H.264's fantastic lossy compression.
Ask HN: Infrared camera demos for 5th graders?
Here's an odd one for you, a departure from code, but an opportunity to hack some love for science into some fifth grade (10-11 year old) minds.

Tomorrow, I will be demonstrating infrared thermography to a class of fifth graders, while volunteering in my son's classroom. I plan to show them why metal "feels colder" than wood (showing how conduction extracts heat energy from their hands at various rates), why they can feel heat without touching something really hot (like the Sun!), and what parts of their body have (and therefore lose to radiation/convection/conduction) the most heat energy when there is an large difference between body temp and ambient temp, such as after exercise or when outside on a cold day.

Can you think of, or can you point me to, short but impactful demonstrations of heat energy and temperature that could best be visualized using infrared thermography, or ideas for hypotheses that could be quickly tested with an infrared camera?

I will be using a high quality FLIR E8, showing its live video stream to the classroom projector, and I am able to have student volunteers participate in experiments and/or in formulating hypotheses.
"Rings a bell." Hah
That article is fairly content free except they did link the paper:

http://mbio.asm.org/content/7/1/e01842-15.full

* Some show antimicrobial or other therapeutic properties, and they have a long history in the treatment of human diseases (5, 6). However, their use is considered to be “naturopathic” medicine, and to date, none have been approved by regulatory agencies for therapeutic applications.

* This deposit differs from other clays such as kaolinite or bentonite. X-ray diffraction shows that KC possesses a low clay mineral content (~24% [wt]), dominated by the presence of biotite (unpublished data). Moreover, as a natural clay deposit, KC has a significant resident microbial community (1,000 to 3,000 taxa), which includes Actinobacteria, which are known to make bioactive small molecules and may contribute to KC activity by the production of antimicrobials (unpublished data).

* More recently, the antibacterial activities and physicochemical characteristics of other therapeutic clay minerals have been investigated in the laboratory (11, 12). Haydel et al. reported on the broad-spectrum in vitro antibacterial activities of a natural iron-rich clay (CsAgO2) that was used to treat patients with Buruli ulcer (12).

* We suggest that the broad-spectrum antibacterial activity of KC may be a valuable option for the treatment of ESKAPE infections, especially in last-resort situations

Looks like they are saying this clay has some interesting physical, microbial, and mineral properties, in other words, it seems like they dont have any idea of why it works but are pretty sure it does.
I just ran that experiment: https://gist.github.com/ggreer/4eb3ad61e97926e559f6

ASCII is extremely repetitive. 1MB of random braces gzips down to 163KB. That's a compression ratio of 6.1:1. Optimal compression would be close to 8:1 (since each byte really contains only one bit of information).
The limitless lines of the romantic style – The Emporialist
I am getting back into IRC, it's more immediate. I just started to look into ember and I got stuck on their tutorial. I jumped on the IRC channel and someone help me out. It's somewhat hit and miss with the community. I've been on other IRC channels and all you hear are crickets.
ZipCode GetZipCode()
{
var result = _crm.GetZip();
return isValidZip(result) ? new ValidZip(result) : new InvalidZip(result);
}

class ValidZipCode : ZipCode { ... }
class InvalidZipCode : ZipCode { ... }

No edge cases, perfectly 'documented'.
What departments/roles are these targeted at? Are they more support roles - HR/Training/IT or are they more engineering/products - engineers, PMs etc?
How do I join this channel? I get this error:

00:47] [Channel] Cannot join channel (+r) - you need to be identified with services
You could turn that sigh into a PR. You want it, then make it happen, this is open source after all.

Here is something that might help in the mean time, https://www.typerex.org/ocpwin.html.
Stephen Hawking: Do black holes have no hair?
Bill Gurley just tweeted:

"Why burn $5MM in a quarter or a month when you can do it in 30 seconds?"

Didn't we learn in the nineties this sort of thing doesn't work?
This is really meant for monkmartinez, but you're right.

I'd like to add, that blog can be dismissed outright. It's also out of date in regards to PyInstaller. It does support Python3 now. 2.7;3.3-3.5. I've used PyInstaller for years and prefer it over the other packaging solutions, it's really good.

I wouldn't be digging up old blogs as a source for dirt and relying on any information within without verifying it was or still is true.
Your function is fine but if you didn't want it to affect the original list you could do something like:

def sum(lst):
if lst:
return lst[0] + sum(lst[1:])
return 0
Also, iirc, there are several studies under way to permit in vivo activation/deactivation of specific genes. CRISPR the switch in place and subject it to the stimulus (magnetic, light, sound). Changing the phenotype on the fly.
>it seems like they dont have any idea of why it works but are pretty sure it does

This is true for a large volume of medical treatments
Depending on the lesson, often the same lessons can present themselves in any reasonably good decision.

If you're already making your plans 6 months into something, chances are you will be learning lots anywhere you go, and all of those lessons, even when they may not seem useful looking forward, have a tendency to connect dots in hindsight .

The optimization of risk vs reward is a fun one. Risk is always there to be taken when you have some in the bank. Same is true the other way. The key thing to remember is both will take longer than anyone might want, as overnight successes in 1-2 years often takes longer effort statistically where no one is noticing.
Congratulations on 4 million users! The visualization works really well, IMO.
A couple thoughts on its implementation:
1) The dropdown list of countries is not alphabetized. Makes it difficult to find reviews from a given country, although it does make you use the map:)

2) If you click on a country that doesn't have a review, it produces a blank, instead of the country name and flag with no reviews.
Not necessarily. Funding can be used by profitable companies to speed growth or invest in moonshot experiments as well as make up for lack of revenue. And if you don't need it, the money is cheaper; sometimes, if you're offered good terms, it can be hard to turn down having that much cash on hand.
Found a post on another website today that sums up the developing economic landscape quite well (edited to be more appropriate for HN):

>The [austerity/ free market advocates] need to quit [complain]ing and just accept that we need to stimulate the demand side of the economy. The US and Europe are currently headed down the same course that Japan went down, and they're stuck in an inescapable stagnation. We've implemented the same QE and austerity policies that they did years before us, and now we're beginning to experience the same stagnation and gradual decline they did. Just like Japan we're propping up large, [poorly managed], decaying businesses at the expense of everything else in our economy, all while starving our economy's consumers of money.

>We've printed tons of money to fund big business, and cut back on social services so businesses won't have to pay as many taxes, and yet we only have a worsening economy to show for it. Unless you want the stock market to be the only segment of the economy that doesn't collapse, quit [explative] complaining and just hand people money.
In an entertaining novel which explains not a few ideas from the 'Society of Mind', Minsky (coauthor Harry Harrison) introduces the idea of "microrobots that could chase mealybugs away". It's called 'The Turing Option' - lots of fun.
Maybe point them at a computer or phone and show them that you can see where parts are (inspired by seeing this tweet https://twitter.com/windyoona/status/692120239765602305)
Extracting PIN codes from temperature differences on a smartphone screen. (If your camera will detect that)