skysight-inc/HackerNews huggingface dataset:
I haven't used Go, but have spent a lot of time in Scala. Any statically typed language means increased pain with JSON. Static typing really has made me appreciate a well thought out JSON data model where each key in a document can have one and only one type as its value.

That said, as someone who spends a lot of time in Python as well, I can't express how much I love the deep autocompletion powers and dumb-mistake suppressing abilities of static typing.
I find this incredibly difficult to believe... Do you have any whatchacallit, evidence?
In android world too many parties have the keys to kingdom and people that protect their devices take that into consideration. Also once the bootloader is unlocked and custom firmware put there - all bets are off.. I have yet to see viable attack against sufficiently strongly protected LUKS at rest.
This made a lot more sense in 2013. Now we're about to run out of crude oil storage in the USA. There's an incredible price war going on with oil right now.
It is a bit of a pain, but I've found it to be a worthy trade-off for static typing. Finding documentation on the json struct tags was a lot more difficult than it should've been.

This article seems to address a lot of the pain points I originally had: https://eager.io/blog/go-and-json/
San Jose is in a really odd position where the people who live there work and spend their money in its neighboring cities like Santa Clara, Cupertino, and Sunnyvale. This means San Jose earns much less tax revenue per resident compared to other cities in the area, yet residents still expect the same services as nearby cities. Even though the valley is in a much better position than it was half a decade ago, San Jose still has a budget deficit and hasn't seen much growth. Plus they spent hundreds of millions renovating an airport that airlines don't want to use, which hasn't paid off. Overall they're in a really unfortunate position.

Here's a really great article about their situation, from 2015:

http://www.mercurynews.com/crime-courts/ci_25290777/san-jose...
I'm sure you could find some second-hand early 4-5 year old Mac Mini computers at low prices. They're pretty robust little buggers.

But even at $500 you're buying a computer that has an excellent track record for reliability and industry-leading warranty support. It might seem like overkill but compare that to the time investment you'll sink into a hacked and unsupported solution.

(Believe me, I've played with enough of those cheap Atom PCs to know that I'd never, ever rely on them.)
This won't be a problem once enough remote tech workers replace the caged commuters.
Of course, never a HN thread about remote working without a Thailand subthread!

> in Thailand I think the bigger problem is that they can't get long term visas

To put this in perspective though, the longest visa I've ever seen here was a 3-year non-working business visa - effectively it's meant for people who regularly travel to Thailand for business meetings/etc but don't regularly "work" here (I know how stupid that sounds).

Other than that, the maximum visa for anything is 12 months. So while the 30/60/90 day stays are not great if you're doing a dodgy and working on a tourist visa, having a business visa + work permit is hardly a barrel of laughs. A Marriage visa is marginally easier, but obviously implies that you have a thai spouse.

> Thailand is great for the food, climate, cheap living costs and culture. But it's really bad for foreigners who want to start a digital business.

Having lived in several parts of Australia and operating as a sole-trader (similar to a single person LLC in the US I guess?), honestly the hassles to live + work in Thailand are a PITA but IMO they're worth it.
Tech hub comparisons to Bay area don't mean much, I think. Is there any place at all that's comparable? Anywhere in the world? It doesn't mean other places aren't tech hubs. (and doesn't mean Bay area can survive this kind of unique environment for long) I'd rather see comparison by tech-vs-size that involved other, more normal places. Or as a percentage of jobs.

For example, check http://www.city-data.com/#mapOSM?mapOSM[zl]=5&mapOSM[c1]=35.... SF:Austin is just ~14%:11% (people in tech, science and engineering)
1) toggle to San Francisco
2) weep
I assume they meant hack in the friendly, Hacker News-type sense instead of the malicious, my-grandpa-thinks-someone-hacked-his-Google sense.
Hi, pathology resident here. Even with large volume venous blood draws, you can change the values quite substantially. one of my professors likes to tell the story how just by pumping his fist as is usually directed by The phlebotomist, he was able to change his potassium level from 4 to 5 to 6 to 6.5. This is the difference between normal and starting to worry about heart problems. so it is far from shocking at least to the experienced, that this is a problem for microfluidics.

This essentially equivalent to a sampling error problem. A large venous sample (10 mL) is enough to get a pretty good average. Microliters of blood from any given location in the body are likely to be different from microliters somewhere else in the body. I seriously doubt anyone in a clinical lab would be surprised by these results.
You don't need to parse into a struct, you can also parse it yourself from map[string]interface{} if the JSON is not predictable.
It did have iCloud backups, but the latest was six weeks prior. The FBI requested the iCloud password be reset, which prevented a new iCloud backup they could have subpoenaed.
Don't be so pedantic. My point was that when selecting a new state, should the opportunity arise, you can factor a state's laws into your decision. Many people, particularly entrepreneurs do this everyday. Moving to get the law you want has a much higher chance of success than voting. Faster too.
Unless there is weakness in the PRNG/RNG that creates the fused key in the secure enclave itself. Which is not out of question. I am not sure why FBI didn't ask apple politely how these keys are generated in the first place.
I'd like to hear your reasoning for why it's relevant enough to have added value to the results.
How the Apple/FBI Fight Risks the Whole U.S. Tech Industry
No, Oakland is the next SF
Nice design. I did similar game for Android https://play.google.com/store/apps/details?id=com.ym705.geo&...
> due to US banking laws (anti terror yadda yadda) it is very difficult to do business on the internet unless you have a bank account in the USA

Can you expand on what you mean by this some more?

I operated from Australia as a sole trader (similar to single person LLC in the US I believe?) and I'm now the Director of a Thai Limited Company. In neither case did I have a "US" bank account.

With literally one exception in.. 8 years, I've always been paid by clients via bank-to-bank Wire Transfers (the one exception used TransferWise). I've never had any issue with payments not arriving/not being processed?

In the last 12 months I've been using my Thai bank's NYC branch to allow US clients to make an ACH payment, and the NYC branch of my bank then handles the transfer back to Thailand.

Are you talking about B2B payments or consumer payments?
"Impossible for security agency to hack"

Nothing is 100% proof, crypto certainly isn't. It's going from child's play to "you actually need to knowledge" to "this is actually hard now" (but.. not impossible).
I believe that at this point in time any network traversal should be considered an ultrahazardous activity. As most networks are beyond the control of the users and have little to no change control, it makes little sense to apply risk mitigation controls to them. When you consider the fact that users demand their information be available at all times, it makes much more sense, from a risk mitigation perspective, to focus on the elements you do have a semblance of control over -- the endpoints where the sensitive data is stored and processed and the protocols by which they communicate. There are well known and trusted means of securing data in transit. There is no excuse for relying on policy for mitigation where your policy can have no effect.
Voice Recognition and Text to Speech in Python
Geoguessr similar game on Android
Lived in Austin for 15+ years, and I agree with you on all points. Austin is incredibly overrated in the media and in its own mind.
The HockeyApp acquisition hasn't caused any pain so far.
Don't call me, I will call you.
Something That Changed My Perspective: Karl Polanyi’s the Great Transformation
http://www.tradeworx.com/media/pdf/TWX-SEC-2010.pdf (p.13) and https://mechanicalmarkets.files.wordpress.com/2015/01/toa-ex... back up my claim that limit orders lose the spread on average net of costs. In a competitive equilibrium, this has to be the case. If the average limit order lost less than the spread and rebate, it would be profitable to mechanically copy every limit order with an infinitesimally small limit order placed right behind it. If the average limit order lost more, it would be profitable to copy every marketable order trading to remove any residual liquidity on the book at that price. Of course HFTs limit orders perform better than average or they'd be out of business (and many do go out of business).

FWIW, every successful HFT trader I know does this type of "market analysis" driven trading backed by very fast execution. Speed alone is no longer an edge in most markets. Most are holding risk for more than microseconds or single seconds. Trade direction is auto-correlated in short timescales so even being front of the line you are unlikely to buy and sell to earn the spread so quickly.
otoh, academics love hearing results that invalidate other people's models :)
Brilliant. As always, stay safe and stay legal.
This is appalling. Transactional data and marketing data are very different.

The fact that they're willfully playing with merging customers' sensitive transaction info like financial statements, personal messages and treating it for demographic harvesting like a marketing mailing list is incredibly disturbing. Especially since that's not what we signed up for. That's not what we signed our clients and customers up for.

The ignorance and shameless nonchalance about data security that surrounds us in everyday life, in all corners or the internet and enterprise, is absolutely frightening. If you leverage a cloud vendor for anything, you're eventually putting your customers' data at risk. There's no safety net.

The tech industry can no longer self-police in this regard. I don't want regulation complicating my work any more than the next guy but I'm starting to feel there needs to be someone with authority enforcing some rules here. It's getting out of hand.
They are rather generic, and has design-by-committee written all over it. They probably spent tens of millions of labor-hours planning, creating, debating, and testing

If I were running the show, I would've released 30 new ones covering wide spectrum of emotions, and many purposely ambiguous. And NO text labels.
My experience of living in the Bay Area was mostly "boring suburbia" as well, which I suspect you can find nearly everywhere in the US. There's SF, which is a very dysfunctional city, and incredibly expensive to live in. But most of the tech jobs and employees are in Silicon Valley, which is slightly cheaper but still expensive, and very much suburbia. The quintessential Bay Area experience to me is sitting in traffic on the 101, while trying to get to or from a suburban office park in Santa Clara or Mountain View. Followed maybe by dinner in a San Jose strip mall. I would not move back unless it was really a can't-say-no offer job-wise.
I looked for trademarks on the emoticons, but it's true I didn't look very hard. Gray area for me as I am not a lawyer and smileys all look the same after 15 years. I see other shirts with like symbols so I went with it.

Total duh with the pricing... adding that now.
Has traffic decreased anywhere? It seems like everyone in every city is complaining about how much worse traffic is. This whole country needs massive improvement in people movers. Dedicated bike lanes, hyperloops, driverless cars - we need them - bring it on!
> "We should just have used Json for everything!" - said everyone currently.

Protobufs FTW.
Secure enclave as per their docs sounds just like their implementation of trust zone.. err "Trust Zone", most likely following ARM specs.

The main difference would be that everyone knows trust zone through Qualcom's implementation and software - as it's been broken many times. At the end of the day "its just software" though, which runs on a CPU-managed hypervisor with strong separation ("hardware" but really, the line is quite a blur at this level).

What that means is that you need to be unable to update the secure enclave without user's code (so the enclave itself needs to check that) which is probably EXACTLY what apple is going to do.

Of course, Apple can still update the OS to trick the user into inserting the code elsewhere, then FBI to use that to update the enclave and decrypt - though that means the user needs to be alive obviously.

Past that, you'd need to extract the data from memory (actually opening the phone) and attempt to brute force the encryption. FBI does not know how to do this part, the NSA certainly does, arguably, Apple might since they're designing the chipset itself.
One of the main issues with elevated roadways / trains / bike lanes / what have you over city streets is the relatively dark and undesirable areas they create below them. Seattle had this problem back at the turn of the century, and it generally doesn't create a nice urban atmosphere to have massive elevated roadways above the main city, even if it's trains or bikes that run on them.

That's why cities like San Francisco consider tearing down their elevated freeways and replacing them with surface streets -- it creates a more desirable atmosphere when you're below. (Think the Embarcadero.)

Chicago's L is efficient, certainly, but the entire downtown core is hidden under a dark, loud, shaking train track. It's not the most pleasant thing to spend your time around.
You can unmarshall a JSON document into a map (map[string]interface{}) or implement some interface and unserialize JSON "by hand" with a method.

Go type system is flat so it's often hard to express something without being tempted to "opt-out" from its rigid type system.

The question is, is Go type system a good compromise between simplicity and expressiveness ?

I guess language design is hard, because the competition (Nim,Rust,...) also have its share of issues.
I agree that we are segregationists. I think it's in our nature as well as our laws. What's wrong with the term gentrification? It looks like it's a noun with two meanings, neither of which seem bad.

gentrification:
1. the process of renovating and improving a house or district so that it conforms to middle-class taste.
2. the process of making a person or activity more refined or polite.
All writs is for current investigation. FBI could theoretically compel Apple to produce a single backdoored phone that will be exchanged with evil maid attack with original device when they have ongoing investigation and a warrant.

But unless you can point at - This is Bill, we are targeting Bill, we have a warrant for Bill, we need 1 phone that we will make sure becomes Bill's - All Writs cannot help.

If Bill mails order a new iPhone they can compel apple store to give him compromised device. They could probably put FBI team presenting themselves as store employees in every store if Bill is high value enough target and expected to buy iphone today.

But they cannot say - compromise all of SF Bay Area iphones because we expect one of them to be bought by Bill.

Some of the lawyers here correct me if I am too wrong.
Speaking as someone who often looks at PHP and wishes it were Java, I'll try some devil-advocacy...

Ttatic-typed stuff requires more decision-making effort from the user as they write code. (In exchange for lowering the effort to read/analyze it later.) Naive decisions can impact how other people use your code, requiring them to "fix it up". (Fortunately, refactoring tools can help.)

Another downside is when the type system the language provides only partially addresses your vision. Then it gets a little tricky to decide how to optimize your baby-to-bathwater ratio.
I used to be a neuro tech, and I remember one patient coming in for a carpal tunnel test. She looked horrific - a gas heater had exploded and sprayed her a few years before, and all visible skin looked melted - she looked a bit like a skeletal-muscle model, as the melted skin had pooled in the divots between muscles. But what really struck me was that the only part of her skin that didn't look melted was the palms of her hands (and the inside of her fingers). They'd healed just fine, and the border between healthy palm and melted skin was like a knife edge.
I'd say it tells more about Angular than about developers.
In the last couple decades, rural areas/small metros have lost people, medium sized metros have been stable, and large metros have gained. Large metros were already the ones with bad traffic, and now it's worse.
Thanks for the link, I'll check it out.

What's the status of Servo BTW? I mean in terms of HTML/CSS spec completeness.

Edit: just saw the demo in the video, awesome job!
And then Jobs would find himself for a long long prison term after the DOJ decides to go full power with him for something otherwise unrelated or small. You commit a lot of federal offenses by just existing in the USA. Or every other country. There is always something that they can nail you for.
You make a good point. I wonder if the effect of an elevated bikeway would be as undesirable as a roadway. One guess is that an elevated bikeway would require significantly less space both because of the width of bike lanes vs. cars and the need to bear the weight of semi-trucks. Surely the underbelly of a bikeway could be significantly less sketchy?
> he's subsequently shocked at how much better modern languages are when contrasted to PHP

yeah no, please compare node/ruby whatever to modern PHP and not some ancient versions you used some time ago. Modern PHP is very much up there.
I can't imagine a country where 80% of the population is against abortion, and it still would be legal. In some indirect way law reflects what a population wants. Even the constitution can be changed with enough votes in parlement (at least in The Netherlands, US I don't know).

So the question is still open, is there any legal ground in what the FBI is asking from Apple?

And if there is, should the cooperate? And what would be the alternative, leave America?
Naming schemes
Not total pain, but certainly loses in convenience to python. Deserializing large and arbitrary JSON inputs is trivial with python's `json.loads()`. Element access rules have no dark corners (as long as you don't have pickled data in there).

In contrast, Go and its `json.Unmarshal()` aren't that well suited for parsing arbitrary and/or complex inputs. However, if the expected input is well formed and can be directly mapped to a predefined datastructure, the convenience factor is pretty high.

So, from my limited experience, I would say that JSON parsing in golang is more geared towards deserialising well defined transport formats than ingesting arbitrary inputs.
Counter: http://www.libertarianism.org/blog/karl-polanyis-battle-econ...
The NSA cracking the Secure Enclave is not the same as the FBI cracking the Secure Enclave.
You can call it whatever you like, but for reference, the laws that are being described as "segregationist" are laws regarding minimum lot size. These laws are no more inherently racial than "gentrification". In both cases they only affect black people disproportionally because (quoting from the video) "black people have less money"
When you say firewall, do you mean a firewall on the edge of a home LAN? Because I still see a firewall on each individual networked machine as being extremely important.
Again, both the DOJ and Apple are talking about creating a custom OS. Nobody is saying it's just a signing key except the Cydia guy, who by the way has been at odds with Apple for years. He's not exactly unbiased, and he is not more knowledgeable about Apple software than Apple, as much as he loves to claim to be.

It sounds like you believe that Apple can service these requests from the DOJ without any increased risk of either a "signing key" or the OS being released into the wild. I disagree and that's okay
If you are depending on anyone else except yourself for development than I have a thing or two to tell you about our current form of capitalism.
>Edit: Does anyone care to comment on the downvotes?

Probably the dismissive tone.

The Bay area is unique throughout the world, so saying a city isn't a tech hub just because it isn't the Bay is silly. Forbes and others have written quite a articles about how Austin (And Dallas, and Chicago, and others) are all well on their way to being tech Meccas, and have backed it with actual data, e.g. http://www.forbes.com/sites/navathwal/2015/02/12/5-markets-p...

So, your comment can come across as antagonistic and with a fair amount of hubris.
U may also want to mention that #5 is pretty much violated in all of these if say a nested dict (or really any other object that is by reference) is in default or user.

>>> x = {'a': {}}
>>> y = x.copy()
>>> y['a']['b'] = 'c'
>>> x
{'a': {'b': 'c'}}
People will write shitty websites in straight-up 8-bit ASCII.

If there's not some external authority running herd, they'll just do stupid stuff.

All body text in bold. Or <h4>. Every last goddamned paragraph explicitly positioned. Yes. For real, some guy who writes interesting atmospheric physics stuff in ... Colorado or Utah. The colour choices. The animations. The autoplay audio / video. I could go on.

Any tagging is sufficient rope. People are idiots. Either rank/placement tools which downgrade that, or a client which effectively does on-the-fly rewrites of the entire source, are pretty much what you need.

Oh, and don't get me started on the clever types. You've seen fonts constructed entirely out of CSS, no?
Here is a business example in which it looks like 16 people are sad about a good feature announcement. In reality it's 15 people "liking" it and 1 "sad", but they lack the real estate to present it well. This will cause some major frustration for marketers.

https://goo.gl/aVR2I9
Li-Fi: In street lights and in aircraft cabins
Ahaha, that's bad, but nothing compared to Silicon Valley's terrible zoning laws.
I have spent a lot of time working with PHP and have also recently started using Go. The comparison between the two in this article seems shallow and kinda comes across as simply jumping on the PHP-bashing bandwagon.

Good on him for learning a new language, I guess.
iOS itself does not see fingerprints, it refers to SE.
Wow, how do you unfriend people? I've looked for a way for years.
Code reviews: WTF's/m (2008)
Excellent post. Very interesting. I see how it works but am using Python 2.7 so based on your headline I suppose it won't work for me. This is the first real lead I've seen for integrating it easily. Pricing isn't terrible, if it goes production. Too bad there is no way to test it first for development. But we're lucky to have this at all.

The link to the VLC library is pretty handy.