skysight-inc/HackerNews huggingface dataset:
JSON's number support is a source of problems, because the standard is so informal [1]:

JSON is agnostic about numbers. ... JSON instead offers
only the representation of numbers that humans use: a
sequence of digits

This poses a problem for some languages, and tends to break things. You would expect encode(decode(string)) == string, but languages deal with numbers differently. For example, in Go, if you decode into a map[string]interface{}, you will get float64 by default. If you decode "42" and then encode it back to JSON, you'll get "42.0". (This is the reason Go has a special type you can use, json.Number, that preserves the value as its original string value.)

This mostly causes issues for code that needs to be data-structure-agnostic (in the Go case: decoding into a interface{}, rather than a struct with "json:" tags), but there are edges cases where you can get a surprise. For example, since all numbers are technically both integers and floats, something like {"visitorCount": 42.0} is perfectly valid, and a client has to know to coerce the number into an integer if it wants to deal with it sanely, even though the meaning of that number might be nonsensical if treated as a float.

[1] http://www.ecma-international.org/publications/files/ECMA-ST...
I thought strings with ISO8601-encoded dates was the de-facto norm (i.e. "20161026T2044+0200 for this comment's timestamp).

Have I been living in a bubble with the majority being less sane?
Livestream 11:45 PDT: Brendan Gregg on Designing Tracing Tools
There are nuclear power plants that are being decommissioned early in the US from lower renewable costs. http://www.npr.org/2016/10/24/498842677/waste-families-left-...
Man was that ever boring. I was expecting some Direct3D or XBox integration, like a Forza game or something.

Between the stale demo, the lack of technical details, and no release date, I wouldn't be surprised if the headset doesn't actually work all that well yet.
>> I discovered a whole bunch of unimplemented features that prevented this.

I'd be very interested in a blog post about your problems and I don't think I'm alone.
I love your project! The of testing pervading the whole system is a very good one. I also like parameters being immutable unless they're a product, that's a great way of making passing references hurt less.

I still prefer the version Linus recommended. It's not for speed - I think it's more understandable. It's more simple (in the way Richard Hickey says, one strand rather than many) and there is less of it. Proving it correct would be easier, not that I actually would.

When people say "clever" to me, I think of code that is being tricky about something. (My canonical example of clever code is Duff's Device.) Linus' example doesn't read as tricky to me, it reads as very straightforward.
I have found it is not very cross-language (and a bit of a pain w/ the replacement hierarchies to easily implement everywhere).
Not sure what you are saying. It is chance how close they are. It works out fairly well in 12 tone scales, worse in most others. Is "coincidence" the wrong word? Maybe. But it didn't have to work out that way, luck or whatever you want to call it was involved.
Sure he's made a negative impact in the past, I hate the guy, I think he's a joke and the future does not lie with him. Legalization will pass, the republicans will be utterly cucked, and he will die a flaccid relic of another time.
So what is your percentage per work?
I know that this is definitely the case in Canada. In the US, I've been told that Chromebooks are everywhere in schools. From working with my local school board here (I'm in Canada), no one thinks deploying Chromebooks or using Google services in general is legally viable because we would be putting student data on US servers where it wouldn't be protected by Canadian privacy laws.

We don't use Chromebooks, but we don't end up using win10 netbooks either - it ends up being a combination of ipads and windows desktop PCs in classrooms.
Are these tools going to be part of Android Studio? I kind of wish they were.
We will have to agree to disagree on that point.... And I have just as much experience in c as Linus.
Did you miss the part where parent says he is using JSONC?
The open office revolution needs to die. I don't like wearing headphones all day, but I also don't like hearing 30 people's conversations either.

I had a (old) guy that used to sit in my area who would argue with his manager in person and argue (loudly) with everyone he was on the phone with (including his wife).

He got moved a couple of months ago and there were no tears shed.
That we can agree on. But now substitute cannabis for tobacco or alcohol and see where it leads.

Both of those are as bad and in many cases worse than cannabis and yet use/possession of the one is a crime and the others merely tax revenues. (Unless you're underage, then selling to you is the crime.)
Seems quite the opposite to me - he provided these artists with work and an income. The value was in creating the portal that connected consumers with producers (the artists), and taking a cut for this service. Everybody wins.
Blah blah. He's not getting his legs broken by an enforcer; he's dealing with a service that has contractual rules. Don't use them if you don't want to pay their cut.

Same argument would go for Amazon or Apple's store.
I don't think it's necessarily tricking google. Again, the page has clout, and not everyone can simply make a popular page. By associating Instapainting with that page, it's saying Instapainting knows that guy who made that popular game, so Instapainting should have more visibility too.
Win10 is too clunky, otherwise the offer is very compelling. But not enough to switch.
We were 'Hunted' for our App (Hucnhapp) on PH this weekend. We were also hunted a few months ago for our iOS Framework (Redbeard). Both times it was by an influencer that was able to get it featured onto the homepage. Even though we were featured on a weekend both times it still led to thousands of visitors to our site (Approximately 7K in the case of Redbeard). Apparently weekdays leads to an order of magnitude greater.
It really can be a great way to seed early traction. Getting featured can also mean you're picked up by various other blogs and publications as it does lend some credibility with the tech blogs.
If you're looking to reach out to some influencers here's a great site that ranks them: https://www.yvoschaap.com/producthunt/
Feedback for Unhoard? – A selection from your Pocket in an e-mail once a week
Vim from the Founder’s Perspective
The Story of a 23 Year Old Communications Graduate Trying to Learn How to Code
I agree with you one hundred percent, but I think it should be a person's own decision to wreck their life in such a way and not get punished or locked up for it by the government.
"wealthy individual donors and small businesses, along with drug policy advocacy groups, have funneled far more dollars to the opposition than casinos..."
That seems a bit disingenuous when it goes on to say in the next sentence "Las Vegas casino magnate Sheldon Adelson is singlehandedly responsible for roughly one-third of all anti-legalization spending this year, a total of $3.5 million in three states so far."
I understand that at a basic level, these are private individual donations, instead of donations from some lobbying group, but when that individual is designated a "casino magnate", does it even matter?
For those that don't get it, this is a quote from the original Deus Ex's intro

https://www.youtube.com/watch?v=zStn70Ot4r0
That's next year's upgrade. This year it's the feature screen, next year it's the performance boost. Keep that marketing department ticking over.
honestly, that's why I'm hardly ever in the office. there's someone there who's noise profile is utterly unfilterable. they fiddle with things, drop things, fidget, cough, snort phlegm up their nose, subvocalize, and generally emit an air of restlessness. nice person though.
Sounds like digg.
I wish the Surface Pro was just the screen hardware that you can plug into a proper desktop.
The question is, what is the alternative? Currently the alternative is that we throw people (predominantly minorities) in prison for drug use. If the options are 1) a handful of people choose to use it habitually and they get memory issues or 2) we as society lock up (and then pay upkeep on) huge numbers of non-violent people, I'll take option 1 any day of the week.
I would say this specific fallacy is that of failing to understand that there are upsides and downsides to every policy, that you can oppose a policy even when it has upsides and that it should be a red flag if you can't think of any upsides.
unless for fun, rolling your own json parser is like writing bubble sort for use in your prod app.
> that weird puck thing

Hey! Apple has the One True Weird Puck Thing: https://en.wikipedia.org/wiki/Apple_USB_Mouse
If you are not developing for VR then wait. We all know that version 1 is always a bit rubbish. Version 2 is better, version 3 is better and hits the right price point.
It's definitely a vice I think but vices can have positive benefits. Social alcohol consumption, stress management, the positive medical side effects of marijuana, etc. At its core, I think we've seen as a society that making it illegal is not good policy and we're better off legalizing and taxing it.
Parsing JSON is a minefield
Great business, congratulations!

Could you elaborate on how your shipping pipeline works from China to US/worldwide? Also if there were any problems shipping works of art, e.g. if I upload a picture of Starry Night, an artist paints that and it is shipped to me, would that cause a problem at the border?
He literally listed SEO as the most important part of the business. Which means he seized control of a location(Google ranking) and then sold it back to those who could not compete with his Google rank. No sure where "Everybody wins" in that situation.
Unifying Stream Processing and Interactive Queries in Apache Kafka
Wouldn't be possible to write an external tool that converts JSON to s-expressions and vice-versa?
We're just a marketplace, like Etsy or Ebay behind the scenes.

That being said, I have personally visited many of the sellers and for advanced products such as highly detailed portrait paintings (the ones sold on Instapainting.com), the artists always work from their home and are independent contractors. It's only for large quantity mass replica work that are actually done in factories, and I've visited those factories as well, however they do not provide the detailed portraits type of work.
The comic has citations. Why won't you address them, instead? Or is there any particular conclusion it draws from them that is incorrect?
"verify your results' is fine, but they don't have results yet.

They are being attacked simply for taking a while to decide an issue.
Sweden and norway have some of the most established social welfare states, its a example of how wealthy and "healthy" a society can become. And its rife with isolation, according to the health statistics of the state (sweden).

And if you join a voluntary fire brigade in a country such as germany, you spend quiet alot of the alarms not fighting fires or helping with accidents, but with the opening of doors of run-down socially isolated people. Its almost always neighbours complaining about the smell.

Not so long ago, total isolation was a prison sentence and a torture.
Russia's New ICBM Could “Wipe Out Texas”
Yup. I’ve been working on a project off and on for a few years now, where if I had known exactly what I was building in the first place, then it would have taken me just a few weeks. But writing it (and rewriting it) was the only way to actually arrive at that knowledge.
Bitcoin favoured the early adopters (who are very rich now) there really is no incentive for normal people like me to buy bitcoins especially with such a crazy fluctuating rate.
It's a quote from someone who works at a pro-legalization group; it's supposed to make you want to punch someone.

(Not advocating for or against either side.)
I agree, this is the best thing I've seen from Microsoft in a long while. They're not comparing themselves to Apple, they're moving in their own direction, they have a focus, and they have innovation to support that focus.

These products do not look like me-toos!
if someone wants to retreat into a bottomless void to avoid daily life - they can do it in any manner of way. Alcohol is arguably easier to fall and a damn sight harder to get away from. And booze will KILL you.

Weed may ruin your social life and career but booze can literally kill you and people around you.

It still boils down to what rights the government has to legislate something like this based on poor choices of a few individuals.

Besides lets not pretend there's any reason its illegal any more except for pharma, booze, casinos and probably cigarette mfgers
The market is the one of anyone that wants to use a tablet with keyboard, with a desktop experience when they need to.

I guess that makes sense, although I think we have a very different idea of what a "desktop experience" is.

Basically anyone that a few years ago would buy a netbook.

The conventional narrative is that tablets killed the eeepc/netbook. I didn't even know that this market still existed - I knew about Surface, but those start around the $900 mark.
Ask HN: Vim users and missing ESC on new Macbook
I have programmed with Vi/Vim since 1996. I do have a 2015 MacBook Pro, but in the future I am not sure if I can see getting a new MacBook without an escape key.

If your a VIM user, how do you plan on handling this new UX without an escape key?
Yeah. Not only that, the money you give on KS has a risk of not being refunded if a clusterf*ck happens. In OPs story, he can just send a refund.
Ask HN: Is there a cheaper server than this?
I'm searching for a new small VPS but DO/Vultr/Linode are expensive!

I found the following:
Intel Xeon E3-1240V3 (2 x 3.4GHz)
8GB RAM
100GB SSD
10 TB BW
5 IPs
$20.01 (Recurring price with discount, halloween promotion)

Thank you!
I take it he loses money if gamblers also smoke marijuana?

I live in Puerto Rico. Ostensibly the case is that we are Catholic and religious. If you read a little more, you get that lots of people possess or buy or sell, but nobody wants to admit it. Then why is the government sustaining such a policy?

The truth is, there must be some people who are obliquely or directly benefiting the sale, distribution and consumption of illegal marijuana. That these same people lose money once marijuana (even medical marijuana) becomes legalized.

Smoking, sugar, alcohol, firearms, ... all these guys have lobbyists in DC or otherwise in order to get their way.
"The world will need no more than 10-15 computers"
I feel "aerospace company" might be implied by the fact they're working to bring back civi supersonic travel. I suppose it could be "just" an advocacy group.
Rejected. Get it though, as my thing is both really (probably too) big and really early. The grind continues though.
True, they still have problems. I was close to buying a Surface Pro this winter, but all of the people complaining about battery issues on reddit deterred me.

That's why I said "closing". These machines look like they had much more effort put into their design than what people think of when they think "Windows laptop" (a cheap, glossy, plastic piece of crap).
Chronic drug use is severely damaging to the user and their friends/family, that is true across the board for the vast majority of drugs (to include alcohol).

The policy to ban marijuana for everyone is the wrong answer because it clearly doesn't solve the problem of the chronic (ab)user in the first place. The better solution is to redirect the money spent fighting the 'drug war' toward positive things like rehab programs and therapy. You will always have a subset of humans who abuse whatever kind of drugs they can get, you can't stop this. So why punish everyone else who can use drugs in a responsible manner?
But taken seriously, that would mean all employment contracts, and therefore employment in general, should be illegal.

Once you get on the "less bargaining power = invalid contract" train, you may not like where it stops.
3D logic circuits don't suffer from an high aspect ratio , but according to data by Zvi Orbach, after 4 layers the ecnomic benefit almost stops.
To be clear, that quote is made by Adelson's opponents who are trying to cast aspersions on his character. It's not like he said that.

I have no particular insight into Adelson, but if his motives are business, it strikes me as unlikely that the best investment he could make with a few million dollars is in lobbying against marijuana legalization.
The Surface Studio
Invest into munitions manufacturers.
mmm, maybe the HTC Vive?
Okay, seriously. The iMac comes with a 395x mobile gpu. It's pretty comparable to the 980m. The 1070m and 1080m don't exist yet. If you guys actually knew more about hardware than nothing, maybe you'd realize that it's not possible to get a 1080m.

iMacs and Macbook Pros (top of the line 15-inch with dGPU) have always used mobile GPUs. Also, illustrators/designers don't need dGPUs. That's why the designers/illustrators at hte tech companies that you work at can use macbook 13 inch laptops and 15-inch laptops without the dGPUs
> The national Republicans have been completely tarnished by their association with Trump. They are going to get absolutely trounced. NV is going to go blue.

Trump is receiving support in states that were traditionally blue, you should stop reading the HuffPost and go outside.

> It's going to be the Dem's world for a long time now, especially once the Matriarch takes power.

The Matriarch? Wow, the reality distortion field is strong with Clinton but I didn't know it was that strong.

She is so far from a motherly figure that she makes Thatcher look positively saintly. Hillary may dream of being America's Golda Meir but she is no Golda Meir.

> Jeff buying Washington Post, that was a smart powerful move.

Washington Post, colloquially referred to as Washington Compost? A powerful move? Get real, WaPo has sacrificed editorial integrity to turn into a rag that peddles tripe.

> Billionaires throwing cash around is just like startup marketing, that is, throwing cash and seeing what sticks.

It's aspirations of megalomania, hardly spitballing. You don't do what he's doing just to fulfill a curiosity.
That is a really good deal, how long does the promotion last?

Who provides the VPS for that deal?
I mean, there's a lot more to ranking than that... but yeah, that helps to raise your domain authority. It's just one part of the equation, though, and generally speaking, Google does a decent job of detecting black hat techniques and penalizing for them.

Probably 3/4 of the blog articles out there are written for SEO purposes.
You shouldn't be getting downvoted here because of your opinion. I hate that this place is becoming more and more like reddit because of abuse of the voting system.
So is material going flatter? Isn't that partly abandoning the paper-like material metaphor?
Aaaah, not having read the article I thought the guy they were quoting was like an employee of Adelson or something. Serves me right for not reading the article.
Swiss-Italy based startup releases AI powered wearable for blind people
How do you learn the business part of what you are doing? I can and do program fancy websites quickly, but I fail to see how I could monetize it. I mean about things that scale well, are kind of low-work and mostly an experiment. So, how do you pick which experiments to try? Do you have like many ideas constantly like that? Do you try few of them until one sticks? How do you know you will be able to pull it off later on?
Wait a second, so how do you imagine it working?
Millions of artists each with their own individual pages connected to Stripe?

Out of these, some will still be top 10, the rest will be behind.

Every artist who uses his platform wins since thats what connects them to consumers and work orders.
Decriminalization is an option which fixes 2) but doesn't entail condoning usage (which I imagine a lot of people are worried about).
«for whatever reason, Windows 10 Mobile continues to see gradual updates and improvements.»

Well the big obvious thing is that this shows how the efforts put into making the UWP truly Universal seem to be playing out. Certainly a lot updates and improvements benefit every device and the low overhead benefits a "low usage" platform like mobile.

That said, I'm still kind of weirdly optimistic and I think this quiet, continual improvement really is a good sign. I know some criticism existed that Windows Phone 7 and Windows Phone 8 and Windows 10 Mobile were "half-baked" early/at launch, and there's an interesting question about how much Microsoft just wants the platform to "catch up" and "feel solid" before a bigger marketing push.

For instance, one thing that I think has unfortunately been under-cooked has been Windows 10's efforts in the People hub, especially given where Windows 8.1 eventually built up to before some of it getting broken up in 10. The new "My People" functionalities shown at today's event seems to prove that a lot has been going on that space and is due for the Creators Update. I was hoping they'd at least give us a small glimpse of the mobile experience for it, but I realize the gee whiz factor of showing it off on a desktop taskbar.

There was a definite signal in Microsoft only using an HP mobile device on stage. Could be Microsoft is confident in deeper OEM support for Windows mobile devices.
Is it me or is there an influx of negative news about Twitter as of late?
I'd rather have it just be a nicer Cintiq that I plug into a proper desktop.
Node v7.0.0 released
Following on the analogies already presented here:

Coding is not construction (that's the compiler). Coding is the architect/drafter.

If you want a pre-planned house, no problem, that's the same as buying shrink wrap.

If you want to add a swimming pool under then that a whole bunch of conversations, customization and checking.

If you want a completely bespoke house then then that is a conversation that lasts for months and the requirements will always change.

Think about that Grand Designs tv show. that is software and the architect is software development
What has tsx got to do with security? It's for efficient transactional memory.
In https://news.ycombinator.com/item?id=12791672 at least five users say they'll map the CAPS LOCK key to ESC.
Sure, but then you're just adding additional layers to what was supposed to a fairly straight forward script. Much easier to just include everything in a single program so you can just say give path to input json file here, give name of output file here, and run.
This assertion reminds of the array of figures in our media and daily life who reflexively attribute extreme violence committed by white men to mental illness. It's further unconvincing given your context; if you are steadfastly committed to assuming the best in others, even men who identify with the "anti-feminist" label, do you ever object to PopeHat's constant gleeful mockery of the occasional "extreme" statements from "SJWs", and feel those guys should be strictly charitable? Maybe I'm missing something, but it doesn't seem to add up to me.
It could have been Craig, too.
Eastern Market has been around since the 1850s, it's nothing new
And if an employee came up with some novel way to do something you will own and exploit that IP to potentially produce unlimited gains. The situation is skewed in employers favor even without non-compete.
I hear you, but I think you may be conflating extraordinary historical events with kind of the day to day notion of what is considered socially acceptable treatment of one another in modern society.

That is, I was referring to the latter, versus suggesting that humans have never done bad things to each another.
Then I suppose your sentiment was expressed as a plural because you don't like to bother being precise with your thoughts?

Edit: now I see you were just dropping a reference. That makes your post even less tasteful in my eyes.