skysight-inc/HackerNews huggingface dataset:
> In other words, use a pure dependency-injection style, and ZERO globals.

And it's madness.

With this style, all the functions expose their implementation details, every single thing they use to accomplish their task. It totally destroys encapsulation.

Then you have the problem that if one of these functions decides to add one more thing, say log a message, then all its callers need to pass it a logger. And all the callers of its callers also need to pass a logger.

And of course, they need to find a way to materialize such a logger in the first place.

Insane advice.

Dependency injection is popular for a reason.
...and I'm excited to try out the new grid. I had been using https://github.com/rofrischmann/react-layout-components in most material-ui projects, but I'm glad they decided to add layout features.
Can someone enlighten me on what is the bottleneck for the transfer speed from hardware point. Is it the material used in the wire, or the transistors or some other thing? And, also since the transfer speed is continuously increasing, what are the improvements in the hardware over, say, last 10 years.
Like I said, no technical reason. Just a user experience one.
This reminds me of a rather disturbing realization I had a few years ago. In places like the Bay Area, it would take only a small handful of non-violent protesters to completely shut down the major transit systems (aka the roads). All they'd need to do is to slow, stop and then park 3-5 cars in strategic places on 880, 80, 85, 101 and 280 and walk away. It would be mayhem.
Exactly like a programming language, then. But I disagree that all the things that you've listed are "little". Again, try ditching all punctuation, and see how much your reading speed suffers - even though it's the same words.

Just like PLs, natural language has to be parsed to determine word and sentence boundaries, before you can understand their semantic meaning. It's that parsing speed that spaces between words, periods between sentences etc affect. And similarly with PL syntax, it's what all those ()[]{} things do.
It's 500K or less for "most customers", but then for a few of our largest data customers it 2 GByte. Think of a bell curve where the average is 500K but the top 10% are above 2Gbytes.

A randomly interesting part is it isn't really the size of the backup, it is the NUMBER OF FILES in the backup. So a customer who has 1 billion 1 byte files is only storing 1 GByte of data, but the "Backup State" is more like 40 GBytes (for each of the 1 byte files we store a 40 byte SHA1).
I would say law, finance, medicine or management. These professions seem to best at protecting themselves.
Indeed I think he proved my point.

I am not sure who would like taxi industry to pharma?
http://www.paymeabit.com/

These guys do something related but with bitcoin. Will the move by Apple just blow away startups like paymeabit or enhance and help them?
Yes in hindsight. But it was 5am and I was going on my honeymoon. Grandstanding to a can driver was low on my agenda...
The odd private plane versus a continuous stream of drones? The odd private plane.
It looks awesome, more like Microsoft LINQ. I used to love LINQ but it only works good with MS SQL Server.
I can't take you seriously when you say they are better off dead and living worse than animals. You're drawing things to an absurd extreme which is definitely not true for most sweatshops. I'm not saying that sweatshops are good but they are better than working on a farm.
That's not dependency injection, it's dependency passing.
Ah, yeah, the good ol' fashioned

public void doStuff() {
// ...
}

Everyone loves those!
This is still vaporware but it sounds interesting https://www.joinloop.com
Airplanes are not a great example. Airplanes were very much a hazard until the FAA finally got serious (
PSA 182 is cited as a turning point: https://en.wikipedia.org/wiki/PSA_Flight_182)

Cars, in fact, exhibited almost exactly the same kinds of problems we see in drones right now:
http://amhistory.si.edu/onthemove/themes/story_86_1.html

In fact, cars caused far MORE fatalities and came under scrutiny very quickly.

The idea that past technologies somehow got adopted in an "unfettered, unregulated field" is bogus revisionism.
I can't speak for top comment but I started learning R and realized that a lot of the primitives which are exposed in python as libraries are just primitives in R and are thus are more natural to use in subtle ways. Once you start thinking in R you think in data and statistics rather than how you deal with data and statistics within a language. This doesn't mean one is actually better than the other unless you want to do generic programing things along your math oriented code then probably python is better but I find this change of mental state to be useful when focusing on problems R is suppose to solve.
Right, so parenthesized notation is basically an "AST dump" of a natural language sentence.

But when it's dumped to paper, the end result is a visual representation, which still needs to be parsed to consume again (and have the AST inside your brain) - you just have to do it according to the rules of that parenthesized notation.

So, when you see a sentence in this notation, do you find that it takes you less time to read than the original notation, or more?

For me, it's definitely more. And I think the reason why this is widely used in linguistics is not because it's faster, but because 1) different languages have different syntax parsing rules, and having a single language-agnostic uniform notation is desirable, and 2) unlike normal syntax, this notation is completely unambiguous even in corner cases - in particular, it can explicitly represent arbitrary nesting without ambiguity in a way that commas do not.
This is true, but I wasn't able to find a real issue with this. This issue is likely to appear in benchmarks, but unless you're trying to squeeze that last bit from the database, not using any caching anywhere in your app, not using any index, not having enough free memory, etc you're likely to never notice the difference.
>In a letter to the pension fund, a lawyer for United explained that it would harm the company to give the board “unfettered discretion to recoup compensation” in cases involving wrongdoing. “Where such discretion is out of step with industry norms,” the letter said, it would “make it difficult for United to recruit and retain top talent, particularly at the senior management level.”

So United thinks that the threat of "punishment" (or really, not getting a huge payout) because of breaking the law would make them an unattractive company to people at the senior management level.

Barring the morality of it, is this statement true for anyone who qualifies as senior management? Would this deter you from taking a job at United?

If this statement is true, we likely need to do a major overhaul of the type of people we allow into senior management. If it's not true, I'm thinking this is another harmful practice brought about by the incestuous nature of board members and senior management across companies. Which is again, something else that needs a major overhaul.
The bubble is all too real
WPF was released in 2006 though. The Microsoft of 2006 definitely would've been pilloried for EEE if WPF had been built on web technologies. (Not that the Microsoft of 2006 ever would've done that)
Multi-GPU is kind of a meme for anything besides HPC. Graphical applications currently don't support it very well, if at all. And it means you're basically duplicating the scene across multiple GPUs, which is a lot of money burnt on VRAM.

New PCIe specs will likely only affect data transfer like for storage applications, at least for the time being.
"DI isn't idiomatic in Go" is what I've heard quite a few times. Java did it so it must be wrong.
Same here... :/
I had a similar story. I used R for statistics at college, but only base R, and it is verbose even for basic data manipulation. The scripts I made for my older data blog posts are effectively incomprehensible to me now.

I ended up learning how to use Python/pandas/IPython because I had had enough and wanted a second option on how to do data analysis.

Then the R package dplyr was released in 2013, alleviating most annoyances I had with R. dplyr/ggplot2 alone are strong reasons to stick with the R ecosystem. (not that Python is bad/worse; as I mention at the post, both ecosystems are worth knowing)
Responding to title, he has to wrong the elites that gave him that position enough for them to take action. The elites are usually the board composed of other people who benefit from overpaying CEO's. It's a club that helps each other out. Piss off the club and you're gone. Same goes with Congress and regulators to a degree.
Nice post, and interesting to see your learning pretty much matches my own when building my SaaS business.

Curious as to why you didn't opt for RDS for the database side of things? I actually have about 5 side projects as well as my main SaaS, and they all share the same RDS instance for the database which saves me cost while keeping performance high.

Also, do you use Lambda much at all for periodic scripts that need to run? I've more recently been building more and more mini applets on Lambda for things like health checks or replicating data across Amazon services etc. with good results.

Also, and this might be a good complimentary service to your monitoring service, but I've been using CloudWatch's timed tasks a lot recently to trigger some of those Lambda instances - very quick and easy. I've been using another service to monitor and report on missed triggers, but will look into Cronitor a bit more as a viable option.
> have some sympathy for the cab drivers who put their life savings in medallions

Nope. Nope nope nope nope nope.

They were speculators in a bubble market. It didn't matter what percentage of their life savings they used. If you feel sorry for someone who purchased a $300k taxi medallion which had an intrinsic value (the total value a medallion can be used for rental to taxi drivers over X years) which is far less, you are enabling such behavior.

You also have to remember that the more distorted the medallion market, the more the average taxi driver suffers. Taxi drivers, by and large, rent time in a taxi or own a car and rent the medallion. They haven't been able to afford their own medallions for decades, if ever.

Taxis had a "monopoly" on unplanned fares, but "black car" and limo service was competition (and, therefore a price ceiling). The more distorted that the medallion market, the more the other competing services would chip away at their business, diluting the value of the medallions. I'm glad that a product like Uber/Lyft was able to destroy the price floor of medallions.

I'm somewhat saddened that taxi drivers are losing that means of making a living, but it benefits far more people in the US to have a cheaper means of transportation. "Concentrated costs but diffuse benefits." It's similar to the way US textiles, steel, cheap manufacturing have suffered under globalization to benefit the average US consumer household, which saves for more than $2000/year after China joined the WTO.

NPR's Planet Money did at least one episode[1] on "The Taxi King", a guy who built a house of cards by leveraging the equity in some of his NYC taxi medallions to get loans for others. After Uber started to erode their monopoly, the medallion market popped and he's begging the state and federal governments for a "bail out". I could care less about this human piece of trash. Obviously, "the average" taxi medallion owner probably didn't own dozens of them, but I still can't find much sympathy for someone who invests in a bubble product created by a government-mandated monopoly that should have been disrupted decades before it was.

[1] http://www.npr.org/sections/money/2015/07/31/428157211/episo...
It's historical. When it was implemented 4 byte unicode did not exist.

Now that it does they can not change the names anymore.

It's the same as why windows is stuck with utf-16, because when they implemented it unicode was 2 bytes.
> if your willing to invest just a tiny amount of time to learn it.

We're talking about JS users. Is there a group less likely to move outside of their comfort zone?
Blatantly stolen from the great Jinkx Monsoon :)

https://www.youtube.com/watch?v=gLmWUAHrZnM
I love AWS and for any startup that I expected to need to scale quickly I would choose it in a heartbeat.

However when it comes to low-traffic side projects and experiments where costs of a few hundred dollars matter, I prefer Linode or DigitalOcean with ansible provisioning and B2 for block storage. It will cost you more time for sure, but it will give you better performance at the low-end which means you can break even sooner. If it takes off you can always migrate to AWS, GCP or Azure later.
You may be able to set up a CloudWatch alarm and monitor the dashboard there? Haven't played with it for billing, but have done so for Lambda executions. I think their granularity can go down to around 5 minutes IIRC.
Except the great depression happened without FDIC insurance. It wouldn't be pretty, but nobody would have been destitute from a banking collapse. There are many more regulations put in place since the 30s to safeguard against the extraordinary degree of damage a collapse can have like that.

Instead of a trillion dollar bailout that went to rich coffers (and most of which was paid back) we could have just thrown the money, mixed, into VC to replace the dead banks (as investment stake, that the government could have sold back later and recouped the costs all the same) and unemployment protection to keep the people temporarily put out of work during the restructuring from destitution.

In that scenario, the robber baron crooks that should have been in prison don't get to waft off on golden parachutes paid with tax money.
Milan in Pole for Porto’s Andre Silva
Nope! I have no affiliation with The Lean Startup.
Angry people would quickly move them to the side.

Much more worrisome is snipers shooting industrial transformers, causing massive damage while spending close to nothing.

https://en.wikipedia.org/wiki/Metcalf_sniper_attack
A Visual Timeline of an Ethereum Name Service Bid
Right at the end it does.
True, but in cities with medallions supply was effectively restricted which probably had an influence on prices. That probably wont happen under a rideshare system.
They still haven't caught the people who attacked the power substation south of San Jose on purpose in 2013. There are so many of these things scattered around the country it's kind of difficult to protect without a lot of money.

http://www.mercurynews.com/2014/02/05/experts-sniper-attack-...
Same problem in Seattle, especially with the complete disregard for lane use. Uber and Lyft drivers seem to think that "bus only" is secret code for "all TNC drivers stop here for passengers, especially at peak times."

My personal favorite is how hazard lights have morphed into "I can do whatever I want, just go around me by veering a car / this 60' bus into oncoming traffic."

One of these days I'm going to start spending one of my days off just standing at a random major intersection and emailing SDOT/SPD and posting on Twitter the license plate numbers of every Uber/Lyft driver behaving badly.
I said some, not all, and you don't need to take me seriously when you can go research the suicide or abortion stories among these communities. And again, if my moral outrage triggers your moral outrage we can just go with a purely disease control argument.
Which pretty much confirms that Go is engineered to do things the stupid way around, and that developers inculcated in its idioms are just now beginning to see the benefits of what boring old Java programmers have been doing for a decade or more.
That was due to run on the banks before FDIC.
So, yes, there was no reason to be saddled with moral hazard instead of orderly dismantling. Look at Lehman, Wamu etc.
The most useful cables I've had in my laptop bag over the years are a 6" USB-Lightning cable, a 12" USB-microUSB cable, and (many years ago) a 4" USB-iphone(30pin) cable. None were particularly easy to find/obtain at the time, but while everyone else was sorting out tangled messes of 3' cables, I was up and running.

I welcome these. $8 each hits a price point where I won't even think twice about it as it's a convenience I'm happy to pay for.

If I might make a request -- a USB-miniUSB would be handy, especially for older but otherwise useful devices.
https://pcisig.com/
It does, but there was some odd interaction with EF that resulted in us using a varchar(36) instead of the GUID type. I actually don't recall what the issue was at this point, though.
Never thought of that.
Phew, close call. You might have saved them.
XML is not like S-expr in the sense that I'm referring to - quite the opposite, in fact. In XML, special syntax - <> - is used to visually distinguish what in S-expr is a head item from the rest of them. Furthermore, there's a big visual difference between attributes and child elements, as well.

Although once you get to a higher level of structure, XML shows similar deficiencies to S-exprs. For example, consider XSLT - that's a programming language that uses XML as syntax for both its language constructs, and its data. There are good things and bad things about XSLT, but I have never heard anyone claim that readability is its strong point. In contrast, XQuery - which uses its own Algol-style syntax for language primitives, and only uses XML-like syntax for inline data, is much more readable.
Workplaces over-intellectualize what they do.

It's an epidemic.

Go to school to learn all this data structures and do these fancy whiteboard tests at Microsoft.

Your day-to-day? Meetings. Maintaining some tiny element of code.

Even scientists. The schooling they have is sophisticated. Really intricate thoughts. Then they're just using lab equipment. Paperwork. Convention.

They're not on the cusp of single-handedly unlocking unsolved mysteries in physics. Their whole role as a spoke in the wheel depends on using bullshit to obfuscate 90% of the trade could be done by technicians.

Don't be fooled. Everybody is a cog in the system, and until they've actually shown bona fides they've invented something practical themselves, there's no reason to assume that stranger is as brilliant as they make themselves out to be.
You're not wrong, but if you are a top Senior Level exec being recruited and only one company threatened you with compensation clawback, would you be more or less likely to take that job over others?
I really do blame the architecture, not the economic conditions, which were more or less constant before, during, and after Pruitt-Igoe. (And I certainly don't blame race, which was also constant before, during, and after Pruitt-Igoe...)

From Wikipedia (https://en.wikipedia.org/wiki/Pruitt%E2%80%93Igoe), Pruitt-Igoe was a slum-clearance project, intended to provide more hygienic, healthier, cleaner, less crowded, and generally better living conditions for people who were already living in the area. The hope was that it would integrate its inhabitants better into the economy, and help everyone living there -- both black and white -- to get ahead in life. The project was actually really well racially integrated for 1950s Missouri: blacks lived in buildings named for Pruitt (a black ace pilot in WWII), whites in buildings named for Igoe (a white Congresscritter), but they were all in the same vicinity. Presumably this reflected the composition of the slums Pruitt-Igoe was replacing, since the inhabitants of the old neighborhood (called DeSoto-Carr) were moved into Pruitt-Igoe as the old buildings were torn down. (No need to pity them for being expropriated: the inhabitants didn't own the buildings, and slumlords don't deserve much sympathy.)

And, strikingly enough, the initial design for the neighborhood would have been a success. High rises aren't the Devil when they're integrated into the urban fabric (otherwise present-day Manhattan would be a nightmare); Pruitt-Igoe was meant to be a mix of high-rises, mid-rises, and two- to four-storey walk-ups, until cost cutting came into play and they ended up with towers in a park.

Since the same people had the same economic conditions before, during, and after Pruitt-Igoe, and since they committed more crimes during Pruitt-Igoe than before or after, I think it's fair to say that the architecture, not the economic conditions, was at fault.
Multi-GPU doesn't exist for anything other than ML or HPC.

While Vulkan fully supports it. Metal and DX12 don't.

The real issue for real time AR/VR/144FPS+ is knowing what you can/can't offload, what's the transfer latency, etc. this will change based on cards, generations, CPU's, library versions, Driver versions, vendors.

It is a nightmare.

Even SLI/XFire when you know there are identical cards, and drivers. You still see ~10-20% pref gain for 50% more resources.
Yeah, a better case would be firing the admin then the site goes down and nobody can fix it.
> Neither this nor the fact that the regulatory regime was horribly flawed change the fact that many drivers got screwed through no fault of their own because gov't policy was incompetent enough to create bad policy and fail to sustain it.

There's an important clarification here: Taxi drivers did not get screwed. It's medallion owners that got screwed. Yes, some of the drivers actually own their medallion, but many (most?) do not. Those who do not own their medallion didn't really get screwed, not more than anyone who gets laid off or has to change industries anyway. Many of them are simply driving for ridesharing companies now.

The medallion owners who got screwed do partially have themselves to blame, because they saw the outrageously inflated prices for medallions and chose to pay them anyway. It's like the mortgage crisis; at least some of the blame goes on the people who saw the absurd prices and chose to pay them anyway, and then got left holding the bag when the collapse hit.
I totally get what you're saying, but if you're a business about to open in a new country, and you have to choose a manager for your first location there, would you pick some random businessperson or would you pick a guy you've banned from shopping in your store who's been sneaking into your Seattle stores in a wig and fake glasses in order to sell in Vancouver with inflated prices? Because I'd totally pick the random guy.
Uh. That took an unexpected left turn. The opening seems like a sensible complaint/warning to me (though I'm not attuned to the fine points of Wikipedia culture), but the fictional Americapedia excerpt seems to subtract from the cogency of the whole.
Ah yeah! We really want to do "feedback segmentation" where you can plug it into Salesforce / Intercom / Segment to see what your "enterprise customers are saying", or etc.

Thanks for reading :)
Πάμε στοίχημα προκριματικά Μουντιάλ 2018
Are you saying this with knowledge of Houzz's financials and growth numbers or are you just randomly saying things to say them?

Would love to hear why you think the bubble is all to real.
> Get rid of the unsafe factories and poor people won't be able to afford clothes anymore

poor people have always been able to afford clothes, it was called saving for a while to buy a good pair of pants and mending it for many years until it pretty much fell apart.

Poor people would not be able to afford new clothes all the time, sure, but clothes in general most certainly.

And let's not forget about thrift stores, go into any goodwill and you will be able to buy plenty of good quality extremely lightly used clothes for very little money.
And they did fix that for the JS applications (WinJS and the like) by using and implementing their own idea, the "grid", which no one else supports to this day, but in a lot of ways is based on the ideas of UI design from XAML/WPF.
Second point: Verifying version information would hardly matter cyclewise.
Maybe networking, too, as some companies built switches for servers out of PCIe or one of those.
Love that I can find my local news on HN
Verizon to Lay Off 2,100 Employees After Finalizing Yahoo Deal