News for hackers. Stuff that matters.

rsvihla

Re:Ask HN: How to approach testing in Golang? on Monday December 11, 2017 @08:36AM (#15896904)
Not a good example (if res != exp { t.Fatal}) is almost entirely require.Equal in testify (the message is logged that you specify, and the test is immediately stopped).

https://github.com/stretchr/testify/blob/master/require/requ...

I get a lot of the rationale behind the standard way ethos. I think this is just a bad example of it. Tests and lack of good OOB patterns for passing up error information being two of my primary issues with the "Go" way (and it only intensifies over time), but that's just my feelings and I get I'm in the minority (though Cheney seems to have a lot of the same issues I have with the standard error package https://dave.cheney.net/2016/04/27/dont-just-check-errors-ha...)

Re:How Houston Gets Along Without Zoning Laws on Sunday February 15, 2015 @04:01PM (#9054111)
Glad your doing better. We were there for TCH so I have a similar love of the place and I'm grateful for the care we received in the med center.

That said I'm not sure all of Houston is so tough and gritty, especially around the Med Center. If you drive North 2 minutes from the there the 300 acre Hermann park and the Museum District are both gorgeous.

Re:How Houston Gets Along Without Zoning Laws on Sunday February 15, 2015 @03:58PM (#9054094)
Living in Houston is about as varied as an experience as you can imagine and different parts of town have wildly different density, walkability, sameness and yes soul (Montrose, Museum District just off the top of my head). It's like visiting New Jersey and saying NYC is soulless. Lay Houston + the suburbs you were probably in over the top of both and you'll see it's not a bold statement.

Most of the driving that people complain about are people that don't even have Houston addresses, it's a rare day I drive more than 5 miles, and none of the houses in my neighborhood are the same.

Re:How Houston Gets Along Without Zoning Laws on Sunday February 15, 2015 @03:50PM (#9054054)
In fairness you don't have a Houston address ;)

If you want some stability live in a deed restricted neighborhood.

> Of every $1 spent in the US, $0.06 goes to Wal-Mart.

Apple here is trying to get into processing payments for your groceries, food and clothes. I'm not sure you've thought through what the statistics are saying.

Every dollar in the US counts payments like mortgage, car, student loans, etc. These are not only high dollar items that make up a huge percentage of most people's monthly expenses, they don't add up to a large frequency. These high dollar low volume payments in effect totally negate the value of looking at Walmart's influence from a percentage of the total US dollars spent.

A quick google tells me Walmart has 11% of the us retail market and an estimated 18% of the grocery market, however again this is not a good indicator of their overall size of pos transactions, it does indicate that their numbers are likely better than 6%.

Re:MongoDB and DataStax, In the Rearview Mirror on Wednesday June 25, 2014 @11:00AM (#7944352)
You actually have to use it though. TokenAware is one of many policies most of which can be layered on top of one another. Just depends on how they had the driver configured.
Re:Crate.io – Big Data SQL in real time on Friday April 18, 2014 @02:32PM (#7610544)
Cassandra is open source and used in a large number of IoT applications. Most famous one being Nest.

Also as far as throughput Netflix is doing 1.5 trillion (yes trillion) transactions per day in production on Cassandra.