skysight-inc/HackerNews huggingface dataset:
I have pointed it out to a former co-worker. He didn't seem interested in changing it. Every other time he used caps lock (i.e. several times a minute), he would leave it on and forget about it and start typing the next sentence/line of code in all caps, and then have to delete it and start over. (Of course he wasn't using an editor with a "downcase region" command.) I mainly pointed it out because every time I sat down at his computer to demonstrate something, I would get hit by this as well.

It may or may not be a coincidence that he's a "former" coworker and not a current one.
How is this different from Meatier https://github.com/mattkrick/meatier?

Meatier also uses Babel, React and Node.js except that it has been around for almost a year and is already stable.
They've already solved all the difficult issues like realtime pagination, authentication, GraphQL, etc...
Right now with Sierra even Apple has it's Picture-in-Picture as part of the OS itself. What I don't like is that they require the site to comply to their PiP & at the moment as I'm aware of only Vimeo does that. That aside there are some hacks how to enable it on other sites such as Youtube. [0]

I tested Opera's video pop-out as an alternative to macOS's PiP. What is positive here is that Opera's mode supports most of the video players. Also what I like in Opera's mode is that you can actually control the timeline in the pop-out which seems useful.

But the deal-breaker is when you change focus between desktops (Apple's Spaces). Opera's video pop-out doesn't follow you. Actually you have to transfer the browser window with you on the other desktop in order to have the video pop-out which kinda brakes the point of the feature for me.

[0] - https://www.igeeksblog.com/how-to-enable-picture-in-picture-...
A fine at best. Theft is criminal full stop. Civil cases are for slander and other civil offenses.

(At least that how it works in the UK. With regard to the US, I remain astonished at the scene in the West Wing where someone advises Josh Liman to sue the people who shot him.)
I agree, in fact taste might rightfully be defined as that which is obvious to an experienced developer in the environment. Code which simply relies on conventions and avoids complexity is often immediately elegant.
Pretty cool design rational: https://www.fastcodesign.com/3064874/zendesk-unveils-a-dynam...
I'm as "androidist" as you can get (owned an iDevice once, got it for free and sold it off still wrap-sealed), but even I flat out assume that when e.g. HTC does dual camera, it's a pointless act of attention grabbing (and indeed, the M9 returned to a conventional camera), whereas I am quite confident that Apple would not do it without some actual value delivered.
And the future was under our nose all along. Finally.
When I didn't know better, I wrote my own JSON parser for Java (it was years back and I didn't know about java libraries). From experience: DON'T. DO. IT.

That said, if you have decided to do it....

1) know fully well that it'll fail and build it with that assumption.

2) Please, please, please...give useful error messages when it does fail or you'd be spending way too much time over something simple.
STATE OF THE GIF: GIPHY 2016
Parsing HTML is literally orders of magnitude more complex.

It is pretty rare to need to parse JSON yourself (what environment doesn't have that available?) but it isn't that difficult. It's a simple language.
Likewise. I have phone-based VR and a beefy PC. The pricey headsets, limited content and exclusives for headsets have kept me out of the higher end. A friend (also a dev) and I were just chatting yesterday that we'd get hololens and attempt to write apps with it - were it not for the insane price (especially after I wasted almost 2K on Google's Glass debacle). A lower price point and wide availability across vendors might mean fewer exclusives and that is great for the whole industry.

Incidently, I thought Google was doing a good job with the Google VR SDK. But I now am very skeptical since it appears (just my humble, personal opinion) they are more focused on their Daydream platform than they are on wide availability across vendor devices.
You normally have government funds that are allocated to reduce the "digital divide" (deploying high speed broadband to places where it does not make any sense to do it financially).

Works well especially when the company receiving such funds is only focusing on building the infrastructure to then rent it back to the ISPs that will leverage it to provide services to the customers...

A similar model is also used here in Italy to provide mobile network coverage in certain areas: the mobile operators "teamed up" and deployed "shared" infrastructure instead of having to deploy and mantain each one its own. This is the way in which they cover remote (less profitable) areas or special areas like the entire subway lines.
Well, we have all sorts of schemes proposed to partly burn biomass and bury or spread the resulting charcoal. Surely raw green bamboo would hold more carbon.
>So how is this good for anyone but John? If you think this kind of stuff doesn't happen and all this kind of advancements are public domain anyway, you are wrong. There are many niche fields where competing advantage comes from technical excellence and understanding couple of key things better than your competition.

This is good for society, because society gets more competitive labor markets and more competitive video-encoding markets. This encourages the spread of high-quality products and technical knowledge at low prices.

Remember: companies exist to supply a product efficiently. You are not entitled to get rich by rentiering on ideas.

If you want to keep John from working for a competitor, just agree to pay him his salary for two years after he stops working for you, while he goes on vacation around the world. The amount of competition and poaching you want to avoid should be priced in terms of years of salary you're willing to pay in exchange for non-labor.
Indeed. And there's the whole SBC part to the story as well. But the entity that was AT&T in the early 2000's still went belly up and was bought out largely for the logo and those three letters and a single ampersand :-)
What about raise an exception?
Define obvious. At least the pointer pointer version is obvious to me in this task.

Pointer pointer can't be applied everywhere. If you try to reverse a linked list in O(n) time with O(1) space using a pointer pointer, the code would be less obvious than using a prev pointer.
Don't feed the troll, it will just encourage more of the same behavior.
There are countries where more than 90% of court cases result in "guilty" verdict. My AI judge that always says "guilty" has very high accuracy in these jurisdictions.
Use the Lastest iOS/Android Features

Researching the feature list is easier than making the app more useful. It's easier than cutting the features to the core essentials. It's easier to talk about how the app incorporates the latest features than user metrics.

Mostly, it's easier than talking to users. It smells like pretend work.
Zero fiber in the UK? That looks wrong. Although, a lot of "fiber" sold in the UK is not actually fiber all the way to the home.
Google has been going in a new direction towards "fiscal responsibility" when it comes to their moon shots.
You're imagining IP to be things like the coca-cola recipes, but the reality is much more complex than that especially in tech where the valuable IP is learnings.

Say you ran the marketing campaign at X and through extensive testing you discovered what works in the space X is in, now you go to competitor Y. Are you going to cleanse your brain of everything you learnt at X or are you going to apply the learnings at Y ?

The reality is the reason Y hired you is to get the learnings that you got from X, what you learnt could save them years of work and reduce the competitive edge that X has.

The exact same thing applies to developers. Say you built a ML model for driving cars at Google and now you're working for Apple on a similar project. You're not going to copy and paste the code you built at Google but you're 100% not going to go down the dead-ends that Google went down because you know they don't work.
Close. Assigning "foo" without var will look up the lexical scope stack from most nested to global. If nothing exists, it will indeed make a new global. However, if there is a "foo" somewhere in that scope stack, it will update that variable.

var a = function () {
var foo
var b = function () {
foo = 3
}
b()
}
a()
console.log( foo ) // undefined

In the code above, the "foo" in function a is set to 3, rather than creating a global. (changing the "vars" to "lets" would do the same thing, FWIW)

Also, "use strict" mode will not let you make a global that way. If in strict mode, you have to put the "var" outside of any function, then assign it (either on that line, or later) to make a global.
Imzy raises $8M Series A round, opens communities platform to everyone
But undefined is specific to Javascript… there are lots of other Javascript things that JSON doesn't handle either, like Set or Map objects. It's not intended to serialize arbibtrary JS objects — it's intended to serialize a useful least-common-denominator which has proven useful through experience.
Desktop Wallet GUI for ZCash
That is fucking unbelievable - it's basically contractual extortion. Though the 3 mile clause makes it an entirely different beast than a tech noncompete. Which makes me wonder - are noncompetes ever enforced internationally? Or rather, are there countries that explicitly and reciprocally enforce US noncompetes?
>> No, it is not, but, for a given price point, you will likely get faster AF with an SLR today than all but the most expensive mirrorless cameras. Especially with motion tracking. I know that there are some cameras that say they'll be faster, but having tested a bunch in the real world, I had a very hard time finding any that worked as well as SLRs in as wide a range of conditions.

Practically speaking, most non-enthusiasts don't turn over their cameras every two years. So there are plenty of DSLRs in the wild that mirrorless cameras can outperform. My Nikon V1 (hardly a new camera) can outperform a Canon 5D1 in AF speed in just about any situation, and rightly or wrongly, my V1 is considered to be a joke by many enthusiasts.

It's about as fast as my APS-C DSLRs from 2008 and 2010 -- and keep in mind, that a DSLR from 2008 is probably more than fast enough for most non-enthusiasts today. Newer mirrorless cameras can perform about as well as slightly older consumer DSLRs in terms of AF. And for most people, it's a fair compromise for the size differential.

>> Yes, though it is more complex than this.

No disagreement there, but you're speaking from the context of an enthusiast. From a bigger picture perspective, most buyers of consumer DSLRs (which are the majority of DSLRs being sold) aren't pixel peepers. They just want better photos of their kids and pets, etc. Most of them could be easily satisfied with an iPhone 7+ with portrait mode or a Sony RX100MK1.

The benefits you speak of are very true for a segment of photographers but I question whether they apply to the person who simply wants better quality images than they get from their smartphone or cheap point and shoot.
I kinda agree with you, but I think it's a bit harsh (and unpersuasive) to call him a dunce. Take a look at my post where I analyze his reaction a bit more charitably/emotionally.

It's not stupidity on his part at all, it's just fear. And it's understandable that there's fear, because look at the world we're in! Fear is generated constantly. It takes effort and a gentle intervention to snap people out of it and encourage them to grow and become responsible and let others live freely.
If my internet connection was maintained in a similar manner to the street I live on, I would be switching to satellite. The US has a severe problem with its ability to maintain infrastructure - which I think is closely related to the ability to scale mentioned in another comment.

For reference, Sweden is around the same size as California, with 1/4th the population.
Probably a symptom of the PHP multiverse: anything that can happen, has happened.
> How would you decode part of the JSON and only parse the password bit later?

Not saying it's common or likely in this scenario, but there are streaming JSON parsers (like SAX for XML)
More likely, because there are fewer code paths to follow. Given Linus's explanation, I think that's part of the basis of his "taste", not conciseness (which in this example I suspect is a byproduct).
Revisiting: Why Hasn’t Scientific Publishing Been Disrupted Already?
This will certainly be used by professional legal counsel to help determine whether they should take your case, and how best to charge you for their services.

Cases predicted to win might be taken on contingency, for a fraction of the judgment award. Cases predicted to lose might be pay-as-you-go for each appearance or filing.
I thought you had another solution handling the file creation and just needed a place to dump the files. I use acdcli to upload (acdcli ul) on a pretty regular basis, though.
Bamboo rots and emits methane.
Cool good to know, thanks guys.
Figures that something like this would be posted on my day off. I put this through a parser that I cover, and found that the only failures were for top-level scalars, which we don't support, and for things we accept that we shouldn't. I'll look through the latter tomorrow, as well as the optional "i_" tests.

Test suites are a huge value add for a standard, so thank you, Nicolas, for researching and creating this one. I was surprised that JSON_checker failed some of the tests. I use its test suite too.
What a depressing, predictable series of events. Just wait until people start connecting the dots between climate change and global instability. I predict useless hysteria.
keep in mind the subtext beneath the announcement: they are shifting to other technologies that require less physical infrastructure investment (wireless?)
Works for me.

Edit: But you are not alone. Elsewhere in the thread: https://news.ycombinator.com/item?id=12797032
"The worst thing about the internet is how quotes are always misattributed." - Albert Einstein
In the US, we have CLECs: https://en.wikipedia.org/wiki/Competitive_local_exchange_car...
Oh I'm not saying it is good for users, only that it isn't entirely bad for Google. I want them to succeed and crush Comcast / AT&T. As a consumer of internet service, who doesn't want that? Those companies are terrible.

That being said, the other wildcard (that another user did mention) is whenever SpaceX gets all of the spectrum / permits for their internet microsat constellation, it will happen. That will most likely be a few years out at best, but when it happens, no doubt it will be a good option (LEO Sats have a lot better ping times than existing Satellite based internets).

Edited to mention that it is SpaceX working on a Satellite internet constellation not Tesla (thanks: nickjarboe for the cluebat).
Note that DSL means VDSL2, that is 100Mbps dedicated (while cable is shared with neighbors AFAIK). When I was in Italy I had dramatically better connectivity than my Comcast Business in SF which costs 3 times as much.
Ask HN: What software is used at SpaceX and NASA for PM?
Anyone know what software is used to manage the full lifecycle of building a rocket project wise? I looked through NASA's software catalog - and didn't see anything applicable. I can't believe they'd use MS Project.
I'm happy with http://www.seamonkey-project.org/
Bear Bond All-Use Repair Tape
Yep, $237.6B in cash and equivalents

http://blogs.marketwatch.com/thetell/2016/10/25/apple-earnin...
If this example is too "clever" for someone, even sight unseen, they aren't (yet?) cut out to be a kernel hacker. I don't disagree with your general principle, but the linked example is idiomatic and understandable C for someone with a decent knowledge of the language, which is (I'd imagine/hope) the standard expected of contributors to Linux.
I'm pretty sure that the comments are for people who Linus doesn't want contributing to the kernel. This code would likely have no comments at all if checked into the Linux kernel because it would be obvious to everyone allowed to do commits.
Providing user control over page faults and using that for a security exploit reminds me of the classic UNIX tale of password checking. A version of UNIX had a privileged mechanism that would check a password (provided by pointer); it did so character-by-character. It also had a way for userspace processes to handle page faults themselves. So, put a password buffer across two pages, with the page boundary after the first character, and change the first character until you get a page fault. Repeat for each character of the password...
Yes, I've come to the same conclusion. After growing bamboo, it was my first idea, too, but algae is unbeatable for rate of growth. Here in Florida, we could grow millions of metric tons easily. The food could be food waste and sewage.
You are not the only ones, but it works for me. Google cache link is posted elsewhere in the thread: https://news.ycombinator.com/item?id=12797047
There are lots of reasons beyond this one why arbitrary JS values can't roundtrip through JSON. This is a conscious design decision, not an oversight.
WHO Cancer Agency Asked Experts to Withhold Weed-Killer Documents
Great idea, but did I miss the Results Section (data which shows it actually outperforms DSLRs)?

"Are SLRs actually better?". The author talks about some of the ways. Noise, color range, accuracy, autofocus, lens selection and focal range are just a few of the ways.

Take a picture of a sunset with both types of cameras and you'll immediately see the difference. Even on my iphone 6s the colors end up all wrong because the sensor gets overloaded. Reds come out orange. Bright orange areas come out yellow. You can see banding between colors. The photo looks very different from the sunset you see with your eyes.

With our few years old canon DSLR it comes out much closer to what we actually see.
The new ng-conf site doesn't use AngularJS
An ng-conf announcement came via email, expressing this in the 2nd sentence:

"After much blood, sweat, tears, pain and suffering, the new website has been launched, and we think it looks pretty good."

First I thought, that's not too reassuring to read from a web framework organization. So I went to check out the site.

I was surprised there doesn't seem to be any AngularJS used. It looks like Wordpress and JQuery.

https://www.ng-conf.org/
> "it's only a `git grep` away"

Off topic, but how did I not know this was thing? You never know what you're gonna learn reading hn comments.
Wrote in a thread yesterday:

Over the years I've tried many planning methods, with very low success.

I tried GTD for 7 years before declaring it a failure. It does have some good ideas that I still use, but the TODO management didn't work for me. I think it'll work only for people who have fewer goals than I do. It doesn't handle large lists very well.

Some things I kept from it:

1. Filing cabinet - Instantly useful from day 1.

2. Calendars are only for hard deadlines. Don't put stuff in there that you merely want to do. I know this is the opposite of the submission here. For me, planning everything in the calendar, including things I could ignore, led to a mess. Keep it for things you really cannot ignore.

In general, any obsessive time based planning like this submission fails for me. GTD is not time based. I prefer planning my tasks for the week, not for the hour.

I like the idea behind Kanban, but I do not think it fits most of our personal lives. Very good for certain work environments, though.

Pomodoro technique: It's good, but not really for task management. It's just a good technique to stay focused. Worked for a few months until I got used to it. Now it does not keep me focused and I can easily get distracted by the web, etc.

These days I'm trying this:

https://www.amazon.com/Master-Your-Workday-Now-Strategies/dp...

I think it works better than GTD, and fills the gaps in it. If you do not want to buy the book, a condensed, down to Earth version is available as the 1 Minute Todo List:

http://www.michaellinenberger.com/TheOneMinuteTo-DoList-Eboo...

Personally, I feel the book is better than the PDF at explaining the rationale behind the 1 minute todo list. Reading it was very calming. It explained all the problems I had had with GTD and similar techniques.

Basic ideas:

1. If you cannot examine your todo list inside of a minute, it is too long. So spend a lot of effort ensuring your daily todo list is not long.

2. Urgency and importance are not the same. We're hard wired for focusing on urgency, so do not try to make a TODO list purely based on importance.

3. Every week, identify everything that must be done in the next 10 days and put it on your list that you'll examine daily. Things you decide not to do in the next 10 days, keep in your "list to examine weekly".

4. Every day, multiple times of the day, look at the short list and do tasks from among them. If new tasks come in, add them, but keep the list short (no more than 20-25 items). If your list is getting too long, identify things to move to the "list to examine weekly" and get them out of the way.

5. If something needs to be done today, put it on the top of your list!

6. You'll also have "the list to examine monthly" as well as quarterly.

Very simple idea - works a bit better than GTD.

I think my biggest problem is that I need to reduce the goals in my life and focus on only a few. I have more goals than time in my life, and I keep jumping from one to the other. No task management system will work until I do this. Tough decisions need to be made!
then the jury will find that offending, because 8 of them have passwords like that ;)
Burying bamboo or other biomass is not a particularly reliable or effective form of carbon sequestration. (Anywhere you bury it, it will decompose and most of the C02 removed from the atmosphere will wind up as CH4 + CO2.)

Carbon sequestration is a very active area of research, but for the most part, you're looking at injecting liquid C02 or water with a very large amount of dissolved C02 into deep reservoirs. Ideally, you want to inject it into a rock that will react with it to precipitate carbonate minerals over time, instead of dissolving what's already there.

At any rate, large-scale carbon sequestration is an interesting but difficult problem. It's been done successfully on small scales, but how do you do it on a global, carbon-neutral scale? It's surprisingly tough to figure out, and we're not putting anywhere enough focus on it. It's certainly better funded than a lot of things, but it needs more research and more funding.
I'm not saying I want to make climate change worse or lobby for it out anything. Unfortunately climate change is happening and there are indicators that we already crossed the line to runaway climate change (methane coming out of the permafrost). Why should I not try to make a profit from this fact as long as I don't make it worse? How is this different than running a funeral home?
I think this is an area where humans will have an advantage for some time to come. Would be a fun experiment though.