skysight-inc/HackerNews huggingface dataset:
I can't speak for the community as I've been using React/Flux for under a year, but I think that Redux and other Fluxes serve a very different role from component state, and using Redux/Flux to store all your state will cause problems with both performance and code complexity.

Redux manages the state of your application as a whole. But individual pieces within the page have no reason to know about the page state. Likewise, there's no reason for your Redux stores to concern themselves with the detailed workings of every component. Why should your app care what's going on inside a button or a menu? That leads to gigantic, overcomplicated states. Let the components manage things for themselves.

A good rule of thumb might be that if three layers of components need to know about a piece of data, it might be good to consider moving it into a store. But if it's only a component and its child components that need to know about it, you're not gaining much by moving it into stores--the stores and actions you'll have to implement are just added complexity. It's incredibly frustrating when I come across code where I have to push data through an action and a store and dispatch when a simple call to setState would have done all the same things faster and with less code.
It's easier to use exceptions and not care about the origin of an error when the details are irrelevant.
Do people just knee-jerk react to stories here after reading the title only? The "self-case activism" she talks about is adding wikilinks, adding info she just researched, and expanding a Wikipedia article. The only political things she mentioned at all were her own interests in African Diaspora and LGBT topics which she contributes to in order to "help this world become a more equal place". It is extremely common for Wikipedia editors to contribute in their areas of interest; in fact there are WikiProjects set up specifically to facilitate that. [0] What she isn't doing is adding bias, but helping to address Wikipedia's systematic bias by adding to those areas. [1] Not going around injecting bias into articles as the comments here are saying. (And even that is valuable in itself because Wikipedia is meant to be written from a neutral point of view, which requires that articles "fairly represent all significant viewpoints that have been published by reliable sources" [2])

[0]: https://en.wikipedia.org/wiki/Wikipedia:WikiProject_Director...

[1]: https://en.wikipedia.org/wiki/Wikipedia:Systemic_bias

[2]: https://en.wikipedia.org/wiki/Wikipedia:Neutral_point_of_vie...
your example went from readable to complete nonsense really quickly.

Mind rewriting

do
y <- f x
fy

or annotating into something that makes sense?

say with an example like
response, err := http.Get(someURL)

How would this example look like in haskell if error handling is abstracted away?
The issues and concerns raised are almost entirely local. So yes, I think local regulation is most appropriate, even if that's more challenging for the business. To me it doesn't matter how the business wants to be regulated. It matters more why the regulation is required, and where it's needed. Almost all of that is at the local level. Beyond that, I'm not sure that you could regulate it Federally as the power to regulate these matters tends to be reserved to the states, and delegated to the local government. Property is almost always regulated where it is physically located.

Federal taxation is a wholly separate issue. It arises out of the commercial gains, not the use of the land. Put another way, we don't intermingle Federal tax and permissible activities, the tax code doesn't tell you that you can't use your boat a certain way to generate income. It just speaks to what taxes you pay on the income (sometimes the income generated in that manner).
Programmer banned from major open source project for calling bug “super weird”
I agree that risk is certainly required if you want to make a return on your investments, however, all I'm saying is that for every Facebook, there are hundreds more that don't make it where money gets wasted. If I were an investor I'd want to make sure there was a tangible product doing something innovative out there, rather than just a new way to collect and sell user data. I'm not a VC nor do I really inderstand the mindset though, so if investing in miracles is your thing and has worked for you then more power to you.
> Except this is America, where black people aren't very rare.

He was replying to an Asian American talking about his experiences outside America.

You might find it helpful to go back and read the grandparent first, then read the comment you're replying to again in its actual context.
But 90% of the pay goes to Silicon Valley developers.



Sarcasm aside, good charts and good content. However, Boston, Framingham, and Lowell are listed separately even though they're quite clearly part of the same extended metro; likewise the exact distinction between 'San Fransisco area' and 'San Jose area' is not specified.

But the juxtaposition of these two quotes does not make sense:

[1] "223,054 software developer job openings exist in the United States, most of them outside major tech hubs"

[2] "And places such as the Salt Lake City region are driving large demand, with 800 new developer positions open at companies including Fidelity, L3, and Raytheon."

That's several orders of magnitude apart. 800 additional positions is considered 'driving demand'?
Based on archive.org I assume this was first written in 2014.
A prohibition on short term rentals is permissible. I even said that specifically. It's the other restrictions, like listing on AirBNB, that I said you probably could not do.
Must Know Tips/Tricks in Deep Neural Networks
A while ago (file timestamps say 2005), a colleague of mine was studying CCR5, a cell surface receptor which HIV exploits to enter cells. She had taken electron microscope pictures of the distribution of CCR5 over the surface of a cell. By eye, it was clear that it was distributed evenly, but it was suspiciously even - not random, but well spread out, exactly as in these hyperuniform cases.

I wrote some Python scripts to calculate Ripley's K-function, which looked like a good way of quantifying this:

http://www.thorsten-wiegand.de/towi_methods.html

But she didn't think the distribution was as interesting as i did, and never used them!
I dunno, the power grid is an enormous capital investment. It seems like having more than one would be like having completely independent road systems, that is, seriously inefficient.
I hope they'll catch up on Vulkan support soon.
Higher order functions are not such a complicated concept. Just a function passed to a function.

You use functions, right?
It's even easier to not use exceptions either and let your supervision tree, process monitor, hardware heartbeat switch and/or night operator handle it.
He was originally responding to a comment talking about:

> I've been in a few countries where Asians are rare (yes, rarer than in Iowa)

I think experiences of being a white american visiting a country where white people are rare are probably at least somewhat comparable to experiences of being an asian american visiting a country where asian people are rare?
But ultimately it's also a novelty to her. She can go back to the US and not feel out of place. An African American cannot unless he stays in majority-black districts.

Relatedly, a friend of mine worked in Switzerland for eight years, making very good money as a programmer. I asked why he came back and he said "because I always felt like an outsider."
Easy to up vote the downfall of America. Much harder to make it happen.
UA Study Shows Stark Differences in How Conservatives, Liberals See Data
Great, now please use some of that cash to hire more developers. We've been waiting for a modern .net runtime update for years!
Maybe it just didn't work. Or maybe it was a dry run. Shooting up transformers in Metcalf was clearly not theft, I know that.
I never used Evernote, but I read people talking about the changes and I started using Turtl - https://turtl.it/. GPL3 and you can run your own server it seems.
I don't mind manufacturers making design decisions that, as a side effect, impact repairability (phones with removable batteries being the main example here). But it's another thing altogether to add tamper indicators, DRM, etc for the express purpose of preventing people from doing things with items they own.
> Gender identity is fluid, and not nearly as clear cut as something like race.

Racial and ethnic identity is a product of social context and probably somewhat fluid fundamentally, but the social context most people are exposed to probably results in it not tending to express all that fluidly in most cases, especially given that there is less social acceptance of divergence between socially-ascribed race and racial identity than is even the case with gender identity (even in the case of people of mixed ancestry, there is often strong social judgement if they don't identify primarily with the race that is perceived by others to be dominant in external expression.)
Civil Disobedience – Thoreau, Snowden, and the Booz -
No offense but that doesn't really sound like a tech startup so much as a media startup
thats a new one. comes with Windows too! great deal.

I have a Toshiba Encore 2 10 tablet. But i find it too cumbersome to use, the key board is weird and takes up half the screen in landscape mode. And it feels slow. I think I would like to avoid Atom tablets just for performance aspects
Cool. I am always a little wary of distributed algorithms that don't go through that level of validation. But I recognize that few commercial firms do that, although AWS is a stand out. I had the same criticism of ZooKeeper for a long time. Glad to hear you have at least considered it.
That hasn't worked for me (any many others) for a long time now.
So are the authors of all these papers just idiots, or what? https://scholar.google.com/scholar?cites=1079648018171535627
You are both in agreement it seems. Individuals could be predisposed to xenophobia and racism but external social structures and cultural forces could overcome those predispositions in some circumstances.
Why exactly is it huge and better than other scripting options?
I'm sorry but black people are responsible for an inordinately larger proportion of criminal activity than those of other skin color. Being "wary" of a black person you see on the street (probably not dressed in a suit but perhaps in gangster like clothes) will make anyone feel uncomfortable. This is human nature and essential to survival. This is not racism.
Coding Interviews are like testing a Marathon runner by how fast they can run the 100 meter dash. Sure people who struggle in the 100 meters will also probably struggle in a marathon, but the best marathon runners aren't always the fastest sprinters.
So it's a menu system.
I agree that was super weird
The Silicon Ideology (A history of the alt-right)
Monadic error handling deals with this in a vastly superior way. Essentially, automate away the boiler plate. Even Java-style exceptions are better.
That doesn't diminish the race part of "race/ethnicity"
Exceptions work fine in languages like Python with tornado gen coroutine. It depends whether the language as proper support for async functions.
"I was the same way, until I had a kid of my own. You're better off smiling at the mom first, before making gestures toward small children."

I have kids of my own, and I think treating someone like a creep just for smiling at your kid makes you an asshole.
I am comfortable in both OS, actually on all three major OSes. Mac is not fully supported in my company, so I run a full blown Windows VM on it anyway for incompatible applications.

They support Android, iOS & Windows portable devices but a Windows tablet can be configured to be equivalent to an official device & they can provision & manage it.
And yet, they didn't use the name Alexandria.
I'm a Python programmer by day, and I would very much appreciate a stricter type system so it was apparent what arguments a function might accept, what arguments a function might return, etc without having to open up my browser and dig through documentation. I also love that Go doesn't have much in the way of syntactic sugar--it's absolutely obvious what everything does. For example, there's no way to overload `==` so it returns an object (looking at you, SQLAlchemy).

The lack of generics is the only real pain point I feel with Go, but it's not for trivial integer functions--rather for larger data structures, like various kinds of trees. Of course, it's silly to think Python "does it better", Python has no typing at all, which you can do as well in Go via `interface{}`, and there are data structures libraries which do exactly this, but you pay a performance cost (probably still faster than Python).
FourZeroFour – Creative 404 Sites
Being "proud to be white" is meaningless. Being proud to be Irish or Italian or German is not.
Well... most really good devs don't work at early stage startups, except as co-founders/founders. Certainly not for $90k/0.1%
Yes, that was my initial conclusion. But I wanted to get an understanding of what others are using before I spend the $$
First, I totally understand your perspective. It's essential for people to have empathy about the conditions of those unlike themselves and part of empathy is curiosity about another's world.

That said, there are two topics of this question: the general and the specific.

The general question is both easier to ask and much harder to answer. How /are/ things for black people in silicon valley? That's a big question for anyone - much less a single person who spends most of their time living life and not doing ethnographic surveys of black people in silicon valley. This is the question that people don't like being asked because they are constantly being asked to stand in for huge, diverse sections of the population. How has it felt when people ask you how the "tech industry" feels about its reputation in San Francisco?

The specific version of the question is, "How are things for you in silicon valley?" It doesn't mention being black, because obviously the person you're asking is black and they'll be answering it as such. That is a question we can all answer and are generally happy to answer - because we can just answer for ourselves and not for everyone is is "like" us in some way. It is also an answer that is almost entirely about the person answering the questions, though obviously it will reflect their experience with race in some way.

So to answer your question about how to learn - seek out people who have chosen to give their answer to the general question in public and use that information to inform your understanding of the specific answers you get from people you meet. Keep in mind that the general answers are always wide and generalize, while specific answers focus on the circumstances of the person and aren't reflective of their thoughts about things "in general."
As an englishman I get that sort of thing all the time in both the states and europe.

Do tell me which country I can visit where people wouldn't ask that sort of question, it would be a refreshing change.
Why do you think the government regulates food labels? Clearly, no one wants to buy food with standardized labels, the government is just forcing it on us poor citizens, right?

If you are actually arguing that any government policy that requires companies to modify their products in a way that they weren't already doing is bad, you have created a very difficult position for yourself to defend.
So The Pirate Bay is not using SSL for backend traffic. Just ... wow. sigh
Einstein's general relativity passes another stringent test
> But people attributing things to their race or sex that are not actually caused by their race or sex can also be quite tragic and self-defeating.

I was at AWS re:Invent last year and had heard that a PagerDuty was having a party, and that we (a customers of theirs) could stop by their booth and pick up a wristband for VIP access. I stood behind a couple of my coworkers, who walked up, got wristbands and left. When it was my turn, I asked, but was turned away saying they are only handing out a limited number of wristbands. I explained I was a customer, and she had just given two wrists bands just seconds earlier to my coworkers, but she was very adamant about not letting me have one.

I went to my room and angrily penned an email to our rep, asking why I wasn't given a band, when my two white coworkers were. Their response was that they only had a limited number of bands. The people working the booth were using their own judgement for who should get one and who shouldn't. At that moment, I wasn't Alan, director of engineer, an attendee of a poor public school system, the first in his family to graduate from high school (let along college). Instead I was just some brown guy who wasn't worth anything. In that moment, it made me remember my most painful memory of racism: when I was 14 years old, and having to comfort my mom as she cried because her boss denied her vacation time, then approved another of her coworkers vacation, despite my mother having more seniority, and having submitted her vacation first.

The point of my story: if you've never really been a victim of racism, it's probably hard to understand why those of us who have been living with constant racism, turn to it first as a reason for how we are treated.
I don't know who's "right", but here's a recent counterpoint by another black technologist:

So no, despite the prevailing atmosphere of hysteria, I’m not afraid of being killed by the police. Quite the contrary: sadly, the data shows I’m much more likely to be victimized by a fellow black man than by a white police officer. So may the police remain sharp, aggressive, and strike fear into criminals so the good people don’t become victims.

http://thefederalist.com/2016/07/11/if-you-dont-want-police-...
Yes. That's basically the only kind of tech diligence that I do at this point, and it's more conversational than diving into the tech. (And I only do this if someone is making very bold claims.)
You are really missing the point of due diligence...

"Homeowners' insurance is a waste of money. 99% of the time your house doesn't burn down!"

You don't buy insurance because you expect your house to burn down. Similarly, you don't perform due diligence because you expect to find something. You do it to catch those rare 1 out of 20 events where something is f*cked up.
Most landowners don't rent their apartments out on AirBnB. In fact, most of them probably don't want their neighbors to be making money running an AirBnB.
For the most part, since synsanity is a subset of SYNPROXY, the performance benchmarks from this SYNPROXY slide deck (and other documentations) are still relevant: http://people.netfilter.org/hawk/presentations/devconf2014/i...

In general in the order of a hundred thousand PPS per core is easily possible, but it really depends how busy the server is, since it primarily comes down to how much CPU is being used to generate the syncookies instead of being allocated to the application.
I've yet to see an example of anyone seriously celebrating being white in some way that wasn't automatically being treated as racist.

Things like what you link seem to get a pass because it's somewhat satirical in nature.
Zidisha (W14 nonprofit) is looking for a remote writing intern
What does it even mean to be overrepresented in a searchable database? Seems like you're making up problems.
That's not possible by definition since these are minority groups. The minorities and their views will always be outnumbered by the majority. Heck, Consider this: 8.5% of Wikipedia editors are women. (https://en.wikipedia.org/wiki/Wikipedia:Systemic_bias#Women_...) That gender-gap is only widening, not closing.
"Different cultures have different reactions to other humans that are outside of the group."

Compare speaking rudimentary French in France to speaking rudimentary Spanish in Colombia.
> Don't act creepy to little kids.

I am amazed at how a man smiling at a child is presumed to be creepy. I mean, we are biologically programmed to like kids (at least the sight of them, sound may be a different matter :), a phrase "cute kid" is as cliche as it can get. And still, if a man smiles to a child, he must be a creep. Strike that, he is a creep, it's definite and sealed. And, of course, it's his fault - after all, he should know that as a man he can't do such perverted things as smile at the sight of a cute kid.

Is that unique US thing? I've never seen so much paranoia about kids and males as in the US in other countries. It feels really weird to me.

> At the risk of telling you how to feel, how about feeling sad that people are actually victims of racism.

One can do both. Both feel sad at people who are victim of real racism, and people who are victims of everything being reduced to racism.
Black Canadians tend to act a lot more like other Canadians. The difference is probably that many(most?) of the Black people in Canada, at least that I've met, are either immigrants or descendants of recent immigrants. Most in the U.S. seem to be the descendants of enslaved people.

I suspect that the Black Canadians fit in better because they decided to be part of Canadian culture, then moved; or are the children of people who also made the conscious decision to become a Canadian. For the majority, I think they came to Canada to be Canadians.

In the U.S, most black people are from the post-emancipation culture, which on top of never consciously deciding to go to America, also endured segregation and significant racial violence in many decades following emancipation. This has led to an understandably very different culture.

It seems to me like a few decades ago there was more interest in integrating the post-emancipation culture with the two or three other distinct cultures in the U.S. That's where you got all the "ebony and ivory living in harmony" stuff. One of the outcomes of that is, when there is a cultural question, and there can only be one answer, one of the two will always have to adopt the other's answer. Fewer different answers to a question is good for cultural integration, but it makes people feel as though they've been hijacked or gentrified.

As for the consequences belonging to "white people". All of the people who did anything which contributed to this are dead. The enslaved africans of the trans-atlantic slave trade were largely slaves taken in local wars by warlords. I don't blame contemporary coastal African societies for the trans-Atlantic slave trade, so I won't blame contemporary American society for it either. We can deal the consequences on the basis of individual effect.
I thought the entire point of computer driven cars was to reduce the dangers of driving. What exactly is the point if we give everyone with a self driving car a steering wheel like they have now?
> if I could write code in go + rust generics + macros and not have to deal with the lifetime borrow checking crap, I would be so happy :-)

You might like OCaml. It's easy to write like Go but with a much more useful type system. Downside: concurrency is not as pleasant as in Go… at all. Then again, I see a lot of things written in Go that aren't particularly concurrent and just happen to use Go because the author wanted a moderately high-level compiled language with automatic memory management. OCaml is excellent for those.
I thought try! and unwrap() just panic on failure? Isn't that exactly the same thing as `res, _ := somefunc()`?
What are gangster-like clothes? A hoodie? Is it only gangster-like clothing if its worn by a black person?

What are the odds that any particular black person is a gangster? What are the odds that any particular white person is a gangster? How is near-zero different from near-zero?