skysight-inc/HackerNews huggingface dataset:
The problem arises when people use something just because they think it's cool and someone wrote about it on Twitter and not because it has clear advantages compared to other solutions. Do not blame design patterns if you don't understand them. But you can blame book authors for not explaining it to you properly; maybe they don't understand the patterns too.

Also I disagree about DB and normalization: in most cases the best choice will be SQL DBMS and normalized data. Please let me explain why:

- normalization saves you from duplicating data; MongoDB will make you do the opposite. Updating the data will be more difficult and you will spend more time writing the code.

- fixed schema will make it easier to understand DB structure for new developers and helps you to detect errors; with MongoDB all invalid data will go straight into the storage and you will spend additional time fixing them later.

- foreign keys and transactions save you from saving inconsistent data into the database; MongoDB won't help you with this.

Designing a database properly doesn't require much thinking, it is a natural thing and you are not losing time.

But I understand what the author is talking about. Recently I was using two of Google's products, Doubleclick for Publishers and Google Analitics. Their UI is super slow, at least on my hardware. One Chromium tab with DFP page consumes over 700 Mb of memory. When I decided to inspect it, I found that on DFP page they used Dart "apps" compiled to JS; each of them was not less than 2.4 Mb. Even the "changelog" app which was just displaying information about recent changes (yes, they did it as a separate app).

In Analytics UI, they decided to use Material Design with large number of animations, it is very slow and UI elements are too big for 1280px wide display. It looks more like your legacy enterprise app written 10 years ago in Java and IIS, rather than a Google product.

They could just use something simple, like Symfony Framework and jQuery and avoid most of those problems. I think the reason why they didn't is because Google employs smart people and gives them a boring job; to entertain themselves they tried to play with something new, like Dart or make Android-like UI but didn't have enough time to do it properly.
It's a facile statement. A significant fraction, if not the majority by far, of most companies' expenditures is in salaries which go mostly to pay rent or mortgages in most places.
Good point, but wouldn’t a few of the other 6.7 billion people on earth do it? They won’t care about US law, nor should they.
ModPlug Beta News (2002)
You need to be root to change binfmt_misc's configuration, so it's not analgous to Windows' file associations (which the user can also change).

I also believe that xdg-open (and the XDG scheme) is more similar to Windows' file associations than binfmt_misc, since XDG is more of a user-facing thing.
I was with you until you unveiled the villain; that doesn't seem plausible to me. Stories about SV migrating to other areas—often the Midwest, in fact—have been around for years. Usually it's regional politicians trying to attract tech investment.

This is fun:

2009: https://www.google.com/search?q=%22next+silicon+valley%22&so...

2010: https://www.google.com/search?q=%22next+silicon+valley%22&so...

2011: https://www.google.com/search?q=%22next+silicon+valley%22&so...

2014: https://www.google.com/search?q=%22next+silicon+valley%22&so...

2016: https://www.google.com/search?q=%22next+silicon+valley%22&so...

Where I'm from, they call it 'diversifying the economy' and have been trying for 30 years. They build 'innovation centres' too. And send the mayor on trips with 'delegations'.

As others have pointed out, the other big factor—growing recently, perhaps—is that 'Silicon Valley' means clicks, so 'journalists' do it.
The Model to Beat: Status Rank
There seems to be no evidence that startups are significantly growing anywhere outside of the already well-known tech cities. And the main reason is because most of the talent that really wants to work in cutting-edge tech takes the initiative and relocates there to be with all the other people that really want to work in tech (barring some people who are taking care of sick or aging relatives, etc.) I'm not saying another city couldn't eventually displace SV, but it would require a huge shift in network effects.

Also, the cost of living argument is mostly nonsense. For large tech companies, even with spending $6,000 a month on an apartment, you still have a lot more left over after California taxes than the best tech employers in the Midwest or Southeast. When your total comp is 3x what you would make in an "affordable" city, does it really matter that rent is 1/3 of your income?
I too misunderstood the value of design patterns when I was lad. Dr Mike Lance set me straight, and I'm forever grateful.
Yap and their stock pretty much recovered. Worse, as you said, everyone learned: "it's actually quite alright to leak all this stuff, no need to revamp anything or worry about security, privacy and spending extra on that, you'll be just fine".
Or the likelihood of developing these skills as a member of successful teams.
> I think part of the reason VC money isn't working as well in the valley, is that people are more obsessed with raising money than they are with making their business work.

The other question one has to ask as a VC is what distinguishes a given metro from the 50 other options, and it seems unlikely that a clear winner will emerge. Instead you'd likely get a peanut butter spread of investment and investors. The difference isn't that valley companies are less focused on funding rounds than outside the valley. It's that outside SV, when it comes to raise the series B, a startup has likely already fully tapped their local VC market.

Any rational actor would at least prefer to have the option of taking VC money later, even if they intend to bootstrap.

> Some people need money, and other people need to just do it. That goes for every area, but in the Midwest, sometimes we get this "we need to copy the big cities" mentality

Well, startups still have to compete for talent. When you look at big cities, they have a lot of things working in their favor. They favor new immigrants by providing reliable public transit and walkable downtowns so a car and driver's license isn't mandatory. They have several major employers, which makes the social and individual impact of a layoff less severe.

You're right that it's not something you can depend on, but these are also conditions a lone bootstrapping entrepreneur can't just will into existence. Even if you're successful, that success means more opportunities for growth and there will come a time when your needs and the political status quo conflict. Especially in college towns typically opposed to new development, happily leeching rents off heavily indebted students. That building proposal to hold 5,000 employees? Zoning not approved as out of character. The housing annex developers need to build housing for your new hires? Didn't pass the ballot measure. The public transit your H1-Bs need? Dismissed by the City Council.
Spotlight on Kubernetes
The Army is eyeing a personal hoverboard that can reach 10,000 feet
All these comments are terribly reactionary. I completely agree with the author.

Before you write a design pattern, abstraction, or interface, ask yourself: Is this the simplest possible thing that can work?

And then: Will I ever touch this code again?

And then: How hard would this be to rewrite if the requirements change?

Design patterns were meant to future proof code, but usually they just introduce complexity and useless abstraction, or serve to paper over limitations of your language. You probably can't predict the future as well as you think you can.

Your program is a document. You can change it. You can make it do anything.
The article leads with "GERMAN carmakers have much in common with the self-confident roadhogs who favour their vehicles". That makes it hard to take seriously or treat as good journalism.
Just curious, if you discard the legitimacy of private profit, is it ever legitimate to silence employees? I'm skeptical but I'm open to a good argument.

Most of the time the agreements I hear about are basically to guarantee that private corruption will go unpunished.
" thousands of businesses to grow their businesses and reach customers across the EU"

EU doesn't care about this. Like this argument works only in the US.
A while ago, I would regularly go to a kink happy hour at a local bar. I was talking with the organizer and, apparently they were almost not invited back after the first one; because a significant amount of the attendees wouidn't actually get anything from the bar. (There is now an entrance fee redeemable for equal value at the bar).
Making higher education free would be a great start, but that's probably not happening anytime soon
> these are also conditions a lone bootstrapping entrepreneur can't just will into existence

Challenge accepted.

Seriously though, being an example of a high-performing business person is pushing these conditions in the right direction.
Eng is a common transfer to PM and many of your skills will carry over. I (personally) think age will hurt you but rather help because you have experience and have seen a bunch of failures which you can learn to avoid (this goes well during interviews).

Suggest looking at the rpm program at Facebook or APM (I think this is the name at google) which is for people interested in learning product management but without PM experience.
Note: the following questions are not because I'm trying to figure out how to work around GDPR. They are to help figure out just what the meaning of it is. Imagining hypotheticals that try to work around a law is a common method in legal circles for clarifying the law. My employer does not keep any data that would be problematic, and compliance looks like it will be pretty easy for us [1].

> Explicit consent for non-essential data use, [...]

This raises a bunch of questions. Anyone know the answer to any of these?

1. Suppose that the data is used to pay for keeping the site afloat? Does that make it essential?

> [...] you always need to provide opt-out without degrading the service

2. Suppose my site is presented as a site that has basic and premium content. The premium content is behind a subscription paywall.

On the paywall, it offers to waive the subscription fee if you consent to non-essential data use. If you either do not consent, or, after consenting later change your mind and opt-out, is it "degrading the service" if I no longer let you have access to the material behind the paywall?

3. In #2, does it matter if that's how my site works for people that I can identify as being the EU, but works different for people elsewhere (e.g., for people in the US it collects data on everyone and does not offer the option to pay)?

4. Suppose I just say "the hell with this...I don't want to deal with GDPR", and have my site ask first time visitors if they are in the EU or EU citizens.

If they say that are not, I set a cookie that records this, and they get my normal site, which only follows whatever data collection rules my country imposes.

If they say they are, I just send them to a page that says EU people are not allowed to use my site.

What's the situation if someone inside the EU lies and tells me that they are not in the EU? Am I in violation of GDPR for keeping forbidden data on them, or does their lying to me count as consent?

[1] In fact, most of the data we keep on EU customers is data that we don't even want to keep, but the EU is requiring us to keep it for VAT MOSS reporting. Before VAT MOSS, all our EU sales went through a UK entity, and we paid UK VAT on all of them, which required much less information for reporting.
I believe Apple even has a patent for it. I assume it’s never worked well enough for them to actually use in a product.
Dorm living for professionals comes to SF
Social media handed “one-hour rule” for terrorist takedowns in Europe
Huh?

First, I wouldn't knowingly consult for human traffickers. But I do share online in various forums, some of which are effectively anonymous.

Second, Mirimir is a pseudonym. It's quite well firewalled from my meatspace identity. And it actually plays pretty safe. For anything at all iffy, I use temporary personas, and compartmentalize more thoroughly.

Third, by that standard there'd be no Tor Project, or Freenet Project, and a lot fewer Github sites.
HN is sounding more and more like Quora these days.
> their job is to fill seats at a poker table so that recreational players like myself can get into a poker game

...now I'm pondering how common the equivalent of this practice is for e-sports ladder tournaments.
https://gettaurus.org/ + BlazeMeter (for reports)
I'm curious, what are the benefits if any of configuring Deis on K8s on AWS instead of just Heroku Private Spaces, for standard CRUD apps without huge scale?
Same here. I grew up in the midwest and left it for political reasons. While I do detest the progressive echo chamber, the alternative seems to be far worse in many ways.

Under the veneer of charming and can do spirit lies an under current of some of the worst America has to offer. Opposition to freedom of speech, opposition to education and free thought, racism... the list goes on.

I think this article just shows how little these VC West coasters know about the midwest.
Gambling is entertainment, not an investment strategy. I assume physicists still go see movies, go out to dinner, or read books. Those too are entertainment.
The writing and grammar on that site is terrible, but the double-entendre on that question takes the cake:

> the retailers can set the amount to be what it feels the market can bare.

I'm hoping that wasn't intentional.
That's possible and maybe even is deployed somewhere, but I think it is still very unlikely to encounter it. We're overwhelmingly looking at ads that are targeted based on something obvious like zipcode and age.
"...a city with more intellectual diversity"

I'm stunned the NYT printed this. In fact, I'm surprised the NYT printed a lot of the article.

I owe them another look.
And, as it becomes quicker and easier to fabricate these things. But then, isn't the problem with this kind of innovation that, while it might be a revolution, it probably won't spawn a billion blog articles? Consider, for instance, the photocopier. It absolutely upended the office, putting millions of people out of jobs, upturning entire industries - and I doubt many articles was written about it. There are lots of inventions like stirrups, froth flotation, or barbed wire that don't really get much fanfare, but irrevocably alter the world. I think it's the same with tech.
Dropbox and Abstraction Sandwich
How to Create a Profile on Granny Dating Sites
Why not tokens? They're easy and work well with an Authorization header on mobile.
I got 500 error.
Here is cache:
http://webcache.googleusercontent.com/search?q=cache:9IikFjT...
If you agree that EROI is more important, why bring up the comment about material use? You're arguing against wind with a statistic that you just admitted isn't important.

And as for Fission material intensity, obviously it looks great: Fission releases an enormous amount of energy from a small amount of matter. But cost-wise, fission plants are expensive. Your cost data are misleading ones, not material data: You compare lifetime cost of solar and a few other options with the cost of ONLY the uranium. Fission plants themselves are hugely expensive, even before you put the Uranium in them.
Having seen recent hiring data, I think SV is not sustainable.

Compare salaries to what you get for remote work (especially a timezone or two away.)

It's only a matter of time. The numbers will catch up.
Design Patterns are used very often; you probably just don't notice them. Most of the patterns described by Fowler [1] can be found in large web application frameworks.

For example, Ruby on Rails uses Active Record, Page Controller, Template View patterns. If you look at an ORM, for example Hibernate or Doctrine, they use even more patterns described by Fowler.

But of course they are mostly used in frameworks. If you are writing a CRUD app, just take a web framework and make everything as simple as possible.

[1] https://martinfowler.com/eaaCatalog/
No! you'll just invite to spend 10hrs flight with a creep next to you :)
The issue is that millenials are getting married -and having kids so SV is too expensive. You can build tech elsewhere.
My argument is that not valuing education (as evinced by an unwillingness to spend public money on it) is an even bigger problem than the actual lack of money for education, though that is also certainly a problem.
Apparently on Virgin Airlines there are chat rooms on the planes. Those have only two practical use cases: dating, and trolling: https://twitter.com/KrangTNelson/status/959907806622121984
Fair application of regulations is essential to rule of law. Going after one company for a common practice but not others is simply the more tyrannical rule by law.
People are downvoting this but honestly, its a huge consideration. I pay a huge premium to live in Boulder,CO and have often thought how awesome it'd be to move to Texas, save a ton of cash.. except yeah, if you're not content just doing "city things", it's frankly a wasteland.
What If I said there was evidence to say diversity is a net-negative? From communication issues to cultural conflicts between employees?

Would there be a point where the negatives of diversity can outweigh the justice (Which i assume is something along the lines of offering employment to those who otherwise wouldn't be offered)?
I feel like I get the reward-value of gambling... but whenever I think about it, I think about how much more fun it would be to start a casino.

Is there a good one of those "___ Tycoon" business-sim games for starting your own casino? One where things like comping whales and decide whether to break cheaters' kneecaps are part of the gameplay? Because that would be an addictive game ;)
Because they don't care about the moral and psychological aspects of the content filtered. They care about making money and they know that people will buy the opt out.
Port https://github.com/commonmark/cmark from C to Go.

Go has decent markdown parsers (I maintain one at https://github.com/gomarkdown/markdown/) but there is no parser that does CommonMark.

That would be a valuable addition to Go ecosystem and the project is well scoped (and there is existing test suite so you'll know if the code works or not).
The comeback of the Midwest via tech is not a new story.

Very quick googling shows these articles, but I remember many more stretching as far back as 2009 when I first started reading tech news. (Edit, see cousin post above for even more!)
It looks like it appears in big reputable sources like Forbes/Nytimes first and then trickles into other national news sources this time. I would bet if you did some more detailed analysis on the older archived this pattern would hold up.

2011:
https://m.huffpost.com/us/entry/820032

2012: (also nytimes)
https://mobile.nytimes.com/2012/11/22/us/silicon-prairie-tak...

2013:
http://amp.timeinc.net/fortune/2013/08/09/bringing-silicon-v...

2015: https://www.forbes.com/sites/joelkotkin/2015/09/03/the-comeb...

2016: https://www.forbes.com/sites/petertaylor/2016/11/07/why-the-...

2016:
https://venturebeat.com/2016/08/28/in-5-years-the-midwest-wi...

2017: (also nytimes) https://mobile.nytimes.com/2017/11/19/technology/midwest-tec...
> The article doesn't explain much about why the author hates design patterns.

The author doesn’t hate design patterns. They hate articles about them.
I'm not sure it's really even a political problem, except to the extent that all values problems are political problems. It's just that if your kids get beat up for being good at math... well, your society is going to fall behind.
It's a matter of priorities as well. There's hardly funding to prosecute everyone that breaks any sort of law. So you aim for the big fish. Many more are "hurt" by FB's practices than some random other small player. In that sense, FB is committing the larger crime.
On the other side of the coin I don't see complete integration as the solution either, unless you race mix the entire country for centuries there is going to be racial conflict it seems in SA.

When it comes to segregation, I don't see why it in itself is bad. Apartheid was a problem because you had a white ruling class oppressing blacks and the problem we are now seeing is the opposite, a black ruling class oppressing whites.

If we were able to split the state in two, couldn't we at least stem some of the racial conflicts? Much harder to opress groups that don't exist within the country.
Combined with the fact that, as of the most recent version of iOS, "turning off" wifi or bluetooth in the quick menu just disconnects you from whatever network or device you're connected to, it doesn't actually disable either despite the visual indicators (and past behaviour) suggesting that they are disabled.

unpaired bluetooth and unconnected wifi are gold for anyone wanting to track you around a space.
Tech workers can afford bachelor lifestyles. But raising families they way we were raised would cost more like 9/3rds of our incomes.
Here's an interesting thought experiment. If you were going to transmit gigabytes of data to another star system with the intention that a technologically sophisticated society on the other end could decode and reassemble it, what parity and checksumming scheme would you use? For example, treat it like a very poor NNTP service and include 60% PAR2 files?

If you were going to use some form of lossless compression, what compressor would you choose that could be simply and quickly explained in a preamble series of data?
In the other extreme, if you use a sufficient advanced language, all your language patterns are actually checked by the compiler and/or interpreter, instead of the programmer. They stop being patterns and are just language features.

I've heard people mention that a lot, but the only concrete example the ever give is "you don't need the strategy pattern because of first class functions", which is doesn't hold up when you examine it closely.
Sounds like a good idea for a startup!
Reposted since post is being abusively auto-flagged by racist HackerNews user "smellyindian"s multiple account/s and/or others:

He's posting under the fake nick "smelly indian" because he lacks the guts to post this kind of shit under his real account :

https://news.ycombinator.com/threads?id=smellyindian
That is inherently a political problem, in my eyes. Politics and culture are intertwined. The culture of the region has to change, but it's unclear if anyone really wants to change. Maybe when the money is attached to being studious things might be different.

Sadly the midwest sees education and educated people as at best, an inconvenience, and at worst, a threat.
All of Ward's Wiki.
Isn't that how silk road guy got caught by the feds.
Nice, thanks for the reply. I will check it out!
This was the best story I have read all day! Thanks for sharing!
I've actually come to regard Slack Archives as a negative feature.

I work with a lot of different companies. They almost universally have Slack instances that get used for discussion. One time I was working with a client who was too tight to actually pay for their Slack instance so it had amnesia.

For a while I was really grouchy about it. Then one day I was thinking along the lines of "Ah this is such a PITA. I've just had this good discussion about these requirements in Slack but because it's not a paid instance it'll vanish in a few days. Grr I'll have to take this information and put it somewhere else. I guess I'll stick it in a design document in the project's wiki. This is such an inconven... wait. Huh. That's vastly better than leaving it floating somewhere in Slack. Oh."

And in that moment, I was enlightened. Paying for Slack actually makes it a worse tool.
I've been spending too much time on HN; when I read 'Enchidrion', my first thought was that was a new cryptocoin.