skysight-inc/HackerNews huggingface dataset:
Hmm... I think if gold had been cheap enough, the ancients would have used it for some practical purposes. Cooking and drinking vessels that didn't corrode, for instance. Also plating on iron and steel items to keep them from corroding (non-electro gold plating has been known since ancient times).

Several others come to mind.
This article echoes my experience this year and last, moving from a Backbone app into React + Fluxxor, and eventually into ES6 with Babel + Flow + Webpack.

It's a huge pain to configure and understand all this tooling, but man is it nice once it's all working. It definitely gives me hope for the web as an application platform.

Re: Flow, it's good but nowhere near as developed as TypeScript, but it's getting better. 0.22 of Flow (released just a week ago) brought massive speed improvements that bring it decently on par with any other linter. I found I could finally re-enable it in Sublime Text after this release. It catches all kinds of things linters won't, and the upstart cost is relatively low. On the other hand, TS has the benefit of years of type files available for almost any library; don't underestimate how great that is.

Using React has been great as well. It's what I wish Backbone views had been from the beginning.

We certainly aren't wanting for choice. Between the dozens of Flux implementations, React alternatives like Mithril, interesting languages like ClojureScript (with Om if you want to keep using React) or Elm, multiple typing systems, and even WASM on the horizon - web development is an exciting field. It's also overwhelming, and I say that as someone who keeps his head in it over 12 hours a day.

---

Re: CSS, the story still feels incomplete. I want a way to write a library that will effortlessly import its own styles, so consumers can simply import the component and go to town. Most solutions are severely limited, slow, or both, mostly because they rely on inline styles. Nothing's wrong with inline styles, until you want to do :hover, :active, pseudo elements or the like.

See the React material-ui project for a very real example of how this can go wrong - note how every component has a dozen or more extension points for styles. I built a project with this recently and it was intensely frustrating that I couldn't simply add some CSS to the app to fix styles across the board - I needed to keep a giant file of extensions and be sure to apply them every time I used a component. And, of course, component authors can't possibly anticipate every possible use, so some of my selectors were ugly "div > div > ul > li:first-child" monstrosities.

CSJS (https://github.com/rtsao/csjs) is one of the few solutions I like. I would be very happy to see it, or something like it, go mainstream.
I'm curious, how does a place like Hong Kong handle this? It's another large city that's locked on 3 sides by water (they do have other islands but I imagine the population is not signifiant on those).

I know rent in the city even in the fancy condos is expensive but they still have their working class workers. Where do they live?
Agree.

Typescript doesn't have real algebraic data types becauses at the end of the day, Typescript is just a statically-typed version of Javascript. And Javascript doesn't have adts.

For me, the biggest advantage of static typing is that code is much more self-documenting. Also, refactoring becomes much easier.
Nobody is going to do that. They don't have to. There is absolutely no formal process to require them to. Is this really the endgame of the anti-tech movement in SF? To shame people out of the city? We are talking about people so shameless they can raise a 5MM seed round for a cat-sharing startup.

It seems to me --- and I'd welcome an argument to the contrary --- that simultaneously protesting tech and opposing new building is, in effect, a strategy to concede the whole city to the wealthy.
And they are using NFC for that?
Cool app. I found a bug, it ignores '<' character
Strongly agree. Surprised the author felt this way...
It's generally called a 'land value tax'. Most of the value of land derives from the amenities provided around it. By taxing the land you encourage development and discourage speculation: excess land value will be extracted through taxation.
Hachiko. Greyfriars Bobby. Argos. Silverton's Bobbie.

Some dogs are famous (worldwide!) for acts of extraordinary loyalty toward their humans.
Oh no, Games lost its traction long before that. I went on blogging, going to forum, playing flash games, GTA, myspace, youtube, etc. Pool was really fun. Games allows you to talk to players and to me that was a game changer back then. simple interface and very stable gaming experience.
But then they would be two different modules; not the same module with different version numbers.
This was fun, thanks! Solved it in about 10 minutes.
Wow. That was infinitely more readable. Better UX.
If you're single and making more than $72k per year, you're in the upper class

This is dead wrong.

SF Median household income is 77k, average is 104k. Earning 72k does not put you in the upper class, not in the slightest.
They shut down Parse.com, they are not interested in selling that kind of product or don't know how to do it...
We all have our opinions and I would say take this article with a huge grain of salt (as well as my comment). State of the art javascript should still be considered a browser + editor + files. There is no need to overcomplicate things, and unfortunately Webpack and Babel do. It is terrifying to see javascript turn into the new Java - build steps and compile steps and configuration and everything you don't need except for distraction from getting real work done.

Build your app first. Then when you are unhappy, see if these tools make your life easier. But play with them first, don't make upfront commitments.
Good point, I need to provide better context. In my hometown, there aren't a lot of opportunities, and a significant portion of what's there is service / labor. So by staying in my hometown, I'm implying that a lot of them are working unskilled jobs.
> Talking to a few activists about this solution and most of them say that "building your way" out of it only makes sense if you are also building affordable housing.

They are incorrect. Building luxury housing will take some of the demand pressure off of non-luxury housing (which constitutes the vast majority of the housing in San Francisco), thereby lowering its price.

The only way this wouldn't work is if nobody could afford to live in the new luxury housing. But we know for sure that there are plenty of people who want to, can afford to, and are moving into the newer luxury developments as soon as they are available. The lower-quality housing those people move out of is now available for people who can't afford the new luxury housing.
The fund manager decides to invest elsewhere?

Here is Fidelity's Contrafund summary: https://fundresearch.fidelity.com/mutual-funds/composition/3...

FACEBOOK INC A
BERKSHIRE HATHAWAY INC CL A
WELLS FARGO & CO
ALPHABET INC CL A
APPLE INC
AMAZON.COM INC
ALPHABET INC CL C
VISA INC CL A
STARBUCKS CORP
NIKE INC CL B
% of Total Portfolio	31.30%

I guess a worst case scenario is one of the core assets went out of business. The asset portfolio doesn't stay static- if you look at the site above, it says that these are the assets as of a specific date.
As a species it very good thing as it provides awareness of them and lets the public learn about them and want to protect the species as individual animal it kinda sucks.
I think this is what you're looking for:
http://www.citiesskylines.com/
This is why i pointed out that i was generally a nihilist on the subject. If we lived in a world in which the possibility that a ban on captivity for human gain could possibly exist, then it would be worth having that discussion. The fact is that we don't, and we very very probably won't within our lifetimes or our grandchildren's lifetime for that matter. To discuss the subject on those grounds seems counterproductive to me.

I try to take a more game-theoretic approach. Support those that are doing more to change the culture of how we treat animals to minimize the harm that exists and will persist. This may even arguably go as far is purchasing potentially objectionable animal products from those that are trying to change the social norms of farming.

The animal rights argument is perfectly good to have in the halls of academia, but in the world we live in, those of us who are good consequentialists may vastly differ in our approaches to how we should respond to the marketplace we live in to most effectively reduce the suffering that persists. It's also arguable that a diversity of approaches will be more effective due to the vast open-ended questions of how approaches will be accepted by the greater population. I for one think that convincing people that we should raise our "bacon" humanely will do vastly more for the reduction of suffering in the world than would telling people we should ban it because it's clearly immoral to consume.
I doubt there's been a sudden influx of med related workers. I suspect the Bay Area's universities, pharmaceutical, and biotech companies have created a slow influx over time. Like tech, a long slow one. Because a large chunk of "tech" is medical related.

It's worth excluding the lab techs, genetic counselors, admins, etc., from the medical field if you're going to exclude the non-engineers from the tech field. It makes for a more apples to apples comparison.
Mine requires a PIN to purchase.
Children's advertisements did this in the 1980s in the US with pay-per-minute numbers. The ad would offer to connect children to Santa if they held a phone up to the television. DTMF -> 900 number -> profits.
> I always dream about an RTS where one gets to be the DM (God, Gaia... whatever you call it) where computer players fight against each other.

Reminds me of "Sandkings" by George R. R. Martin. It's in the Dreamsongs volume I collection. The connection is the protagonist buys some insect-like pets for which he is like a god and there are multiple colonies which do things on their own in a terrarium.

That is an interesting idea to make a game like that.
Wow 30 Rock predicted the future!
Amazon.

Unless they've updated it since I installed mine, those were your choices.
Thanks for the example.
> TypeScript has has union types i.e. "number | string" which are similar to algebraic data types.

I understand that you said "similar", but there's actually a big difference that should be mentioned explicitly, namely that algebraic data type (ADT) sums always have "constructors" which you can use to disambiguate with. That means that you can meaningfully do the equivalent of "int | int" whereas for union types that would just be "int". (I'm sure you already know this, I'm just pointing this out for those who may not know or appreciate the subtleties.) Example:

data Maybe a = Nothing | Just a

In this example the "constructors" are Nothing and Just.

Of course, you can emulate first-order ADT sums using union types by just introducing artifical container classes and doing a union on those. While this works for simple cases, I believe (but cannot prove) that it's impossible to emulate GADTs using union types -- my intuition is that the presence of constructors to match on is an essential part of being able to "narrow" the types sufficiently to actually act upon what they "contain" (for each case).

However, and notwithstanding all of that... the use of union types in TypeScript is absolutely the best way to align with JavaScript since there's so much JS that just takes/returns values of type "whatever" (string | number | ...).

Btw, also agreed on the productivity boost. In the short term, it may not appear that you're getting faster, but once your application starts to grow beyond "trivial" you really start to notice the fact that you can refactor without fear.
30 Rock also did something similar!
"I'm sorry Dave, I'm afraid I can't do that"
It's different for animals that naturally migrate hundreds of thousands of miles a year and forcing them to live in a few thousand cubic meters of water.
me too. EF was what caused me to (finally) dump the entire .Net ecosystem and start learning again from scratch with Linux.
The First Micropayments Marketplace
The real major Open API I always think is required is an Open API allow me to interact with any part of a website so people can finally build assistive technology based on API rather than parsing some website's DOM that you will likely never be able to parse out correctly from version to version. If the website exposes a "REST" specification how to interact with the pages, then we can really build a website visual impaired can finally used. Just my rant after trying to build one and realized how crazy it was to learn to work with DOM.
iPhone 6S Plus - mobile safari crashed 3 times before I gave up
"A $120k median salary definitely isn't "middle class.""

No, but it's close.

A middle-class family could live in San Francisco on 150-180k if they're frugal and don't insist on living in a nice neighborhood or having good transit access.
Apple founder Steve Wozniak thinks Amazon Echo is the next big platform
I would like to add that I've had an excellent experience with the Radium library for styles. Sass was a little better than CSS because you sort of get variables but being able to define styles in JS has fixed pretty much all of the remaining problems.
Awesome. Good stuff for paranoid bloggers among us.
The number of hypercalls isn't a good indicator of the attack surface area.

As examples:

There is a full x86 instruction decoder which is technically not part of the hypercall interface. x86 instruction encoding is surprisingly complicated. There was a vulnerability in that code: http://xenbits.xen.org/xsa/advisory-123.html

Handling x86 page tables and all of the various feature bits is also surprisingly complicated. This is part of the hypercall interface, but there was also a vulnerability in that code: http://xenbits.xen.org/xsa/advisory-148.html
What about writing code in an environment that doesn't want to consume you body and soul?

Contemporary corporate culture wants just that: the maximum value, as quickly as possible, for the lowest cost. These are the right goals for a corporation, but the implementation often ignores the basic humanity and inherent weakness of the people they depend on.

People need R&R, they need to work at a reasonable pace, in many cases they need a reason to care. Unfortunately, corporations have no incentive to invest in their employees, because they are supposed to be replaceable cogs.

I think workers cooperatives are a good solution, but they are far from common. Personally, I'm very happy at the coop[0] I am a member of. I hope they become more common moving forward.

[0]: https://www.heropun.ch/
Wow never knew. That's a pretty huge barrier that more people should know about.....
How? One of the search terms could easily be topic...
The amount of tech workers buying up housing is also up for debate. Though this article focuses on cash transactions (perhaps mortgaged ones don't contain occupational data?), it paints a picture of other white collar professions performing the majority of cash purchases of housing in the Bay Area.

The data was taken from a company that controls 10% of the real estate market in the Bay Area.

http://realestateconsulting.com/tech-buyers-only-a-small-por...
はてなブックマーク – UFC/WWELate Night Smackdown Live Stream – Live Free Streaming
You could argue that freedom to communicate covers the use of encryption. If encryption was outlawed however, it wouldn't be the right for individuals to use it that would be outlawed, it would be the right for companies to sell products with strong encryption, or to do so without backdoors. That in turn would deny many the use of crypto, but it would not deny them the freedom to communicate.

I don't think outlawing maths or outlawing companies from making an iPhone that they themselves can't break into is even remotely possible. The conclusion from that is that what we have can't really be a war on crypto, it must simply be the noise of people who realized they already lost.
Inclusionary zoning is both a perfectly reasonable idea and, by empirical evidence, dramatically insufficient to spur affordable housing production:
http://cityobservatory.org/inclusionary-zoning-has-a-scale-p...

Much of the problem stems from undersupply driving formerly affordable housing to gentrify— that's why I, as a well-paid programmer, live in a formerly-abandoned tenement.
A lot of people are not free to decide that. Go has become very popular in young, mid-size tech companies. Most of the alternatives you listed are too new/fringe/unproven to consider. And, well, they're not made by Google
(corporate backing makes a big difference with new languages).
Front-end engineering
The Bay area has grown enormously. There were fruit orchards in Silicon Valley not (relatively speaking) all that long ago. No, I don't see the tech industry leaving. A lot of people like the Bay area for reasons that have nothing to do with tech jobs. It's also the case however that it's simply not possible (or desirable) for everyone in tech to work and live in a geographically constrained peninsula and people/companies need to deal with that reality.
Middlemen Are Crucial: Open-Source Software and Economic Growth
"Tech workers salaries in SF are anything but middle class. If you're single and making more than $72k per year, you're in the upper class."

Yeah, in Dipstick, Nebraska.

But in SF $72k isn't upper class or even middle class.
That's why the city needs to support building across price ranges, without enforcing prices at a neighborhood level.

It's OK to have wealthier areas. The problem we want to avoid is forcing slightly less wealthy people to rent from areas that are significantly less wealthy... because that's what drives people away.
you are giving Facebook a free license to your entire patent portfolio.

It's bad, but it's not quite that bad. Theoretically, you could stop using React, then start the patent litigation. Then Facebook could not sue you for React because at the time litigation started you were not using the license. But that's definitely a high barrier to jump if you've built up react as a core part of web and/or native applications.
Depends on the manufacturer – some, like a Keytronic I can see from here, definitely have a × glyph.
> You may think this is no worse than not having a patent rider at all. But that's not the case. If there is no patent rider then there is an implicit grant which cannot be revoked.

I believe a couple of lawyers have suggested that this could, maybe, arguably be true. However, no court has ever ruled as such, and the consensus among IP lawyers is that it's an unlikely outcome.

If you're worried about potential patent lawsuits, I would NOT suggest relying on the vague hope that someday a court might read an implicit patent grant into the BSD license, especially when you'll be facing off with Facebook's lawyers.

Or do you have some citation for the "implicit patent grant"? In particular, a court decision finding one?
A Micropayments Marketplace
I'm glad I'm not the only person who remembers that one.
I wrote a blog post fleshing out my views on this -- it took a while, but it's better than an off-the-cuff response would have been: http://sonyaellenmann.com/2016/03/middlemen-are-crucial-open...
if you make any sort of patent claim against Facebook

My understanding (and I'm asking for correction, if I'm wrong) is that last year FB changed this provision to only cover patents on technologies within React itself, not "any sort of patent claim against Facebook", which WAS the situation before they changed it.

So, the current state is a grant of "you are licensed to use our React patents at no cost as long as you don't try to make a legal claim that any of our React patents are not legally ours."
Sorry for the delayed response: http://recode.net/2014/10/01/the-downtown-project-suicides-c...

Looks like there were a few!
I wrote a blog post responding to this: http://sonyaellenmann.com/2016/03/middlemen-are-crucial-open...
Sale of Intel's VC unit could trigger avalanche in startup valuations
Wow, this is nearly our teams exact stack. One addition would be superagent instead of fetch. I really like Fetch, especially for react-native but superagent is just so simple and easy to use
I apologize in advance for this sounding morbid but I'd allege that the reason there are no recorded cases could be that there are no remains and thus a person that may have been killed by an Orca could still be a missing person case without evidence to support any particular theory.
> It's another large city that's locked on 3 sides by water

Or Manhattan, for that matter.
Some of them -- most likely the majority -- rent also, you know.
The devil's in the details. It's hard to come up with measures and targets that are both fair and easily communicable.

If you go with number of people, well, that's the wrong measure (and hard to enforce // easy to fake). Number of bedrooms is also incorrect, as is square footage. Number of rentable units is also weird, since it encourages studio apartments and the like at the expense of splitting bigger units and sharing areas.

Another option is using a baseline of "however many people currently live there", but that favors parking lot owners and the like. "Average density of the local region" is unfair in that it suddenly imposes a new cost on the density hold-outs.

You can calculate a target based on something like distance-to-transit and local zones, but that gets complicated and political in a hurry. Land-value would be a good choice, since the price conveys really useful information - but that is likely illegal due to proposition 13.

My next-best idea is collective punishment: charge zoning districts based on the difference between how their residential and commercial/industrial construction. Mountain View is much less likely to vote to let Google expand their campus while blocking commensurate housing construction if it means they have to start subsidizing the places those workers start commuting from.
Works for me in Chrome on Windows + OSX + Ubuntu. Have you tried turning it off and on again?
Is there some animal which should be kept in captivity? For instance, I don't understand how it's accepted to cage birds and keep them from flying. It makes no sense to me. Please explain, as I'm sure there's a valid reason, but if you try to look it up you end up on animal rights activist sites that don't explain much.
Right, so how could they be responsible for pushing up housing prices if most are renting?
If you mean old jQuery plugins or libraries that aren't CommonJS compatable, Webpack even has your back on that via its various plugins.

I was able to take an extremely large node-incompatible app and "webpackify" it through the tooling in a way that would have been impossible any other way.

Highly disagree.
Proposal:

Instead of ssh vs. no-ssh debate, how about:

* Use SSH AllowGroups to limit logins to the development manager/lead or on-call engineer

* with a policy that for each time you have to call them beyond N times per week, you have to buy their team a round of drinks of their choosing?

Deal?
Short answer, it's not pretty:

http://www.hk-magazine.com/article/10676/coffin-homes-subdiv...
WW4 SHall BE AGAINST MUSLIMS
One of the biggest challenges in databases is handling concurrency and sharding, wish this would have talked a bit more about how that changes between a graph database and a relational database.
bad analogy; no one is smashing your cctv cameras; they're just donning an invisibility cloak on the way in. as is their right, even if nethack would like to claim otherwise :).
In Manhattan's case the workers increasingly live off the island (as opposed to the northern slums).
I feel Scotland would do well to start hinting that tech startups may want to start there, given the likelihood of a successful referendum to leave the UK when it happens.