2,683 karma · joined Jun 23, 2011 (15y ago) · 778 submissions
comment 11y ago · link · parent
Cops already function as defacto surveillance machines. The bodycam doesn't capture any more than the cop does with his/her own eyes and the cop has the authority to act based on that alone, the bodycam is at least an impartial representation of the cop's (or citizen's) allegations.
comment 11y ago · link · parent
There are a ton of other CoffeeScript features I love like the string interpolation syntax, comprehensions, implicit return, @ for this, improved switch syntax, ranges and a ton of other stuff, but I'm going to hang on to those first four for as long as its practical to do so.
comment 11y ago · link · parent
comment 11y ago · link · parent
There isn't anything unique that bad code inflicts on your co-workers that isn't analogous to the problems faced by most people who have to deal with incompetent coworkers.
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
There are opportunity costs for everything, but microsd readers are a cheap, mature, commodity technology that's been in top-end phones for ages, its impact on the phone's available real-estate for battery and memory is nearly negligible.
comment 11y ago · link · parent
This line of reasoning makes absolutely no sense. How could having the option to use an SD card with your device make for a shittier UX. The use of an SD expansion slot is completely optional, if you don't have the desire to use an SD card it has absolutely no bearing on the UX, and if you do, no matter how shitty the UX, it will always be preferable to the absence of removable media capabilities altogether.
comment 11y ago · link · parent
The reason I don't just use kafka is because the "quorum" style scaling is overkill for our needs since the app will be for internal use only and will likely never exceed more than 1000 simultaneous users. Also, I've heard that zookeeper (required to use kafka) has its own technical overhead that I'd like to avoid dealing with if possible.
comment 11y ago · link · parent
comment 11y ago · link · parent
There are no advantages for the vast majority of people and the volatility disadvantage applies to anyone being paid in bitcoin. I'd consider accepting bitcoin for a single job or project if it was the preferred method of payment for the client, but I'd never accept a regular salary as bitcoin since I like to save part of my check each week and saving money in the form of bitcoin is a terrible idea.
comment 11y ago · link · parent
haha a string of SQL is not the same thing as a type constrained data structure.
> I'd hate to be the one who has to maintain an admin app that could potentially access 230 tables with dynamic column references scattered all throughout the code and no types to keep things in order.
Thankfully, the client used a database that is capable of enforcing type constraints automatically, so I didn't have to spend time writing business logic to reiterate what the database already knows and strictly enforces, in a language that can't even enforce type constraints anyway. Re-declaring your column names and types in javascript literally does nothing except waste time. You shouldn't be reading through your application code to understand the schema of your database, especially when you're dealing with hundreds of tables.
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
This depends on the complexity of your schema. In my case, I was dealing with a 230 table legacy application where some of the tables had as many as 70 columns. I was tasked with building an ad-hoc administrative tool for the owners so that they could perform a few specific tasks and periodically review some information in the system.
I wanted to use an ORM because I didn't want to write a bunch of boilerplate SQL to rig up a tedious but relatively simple internal CRUD app. With that in mind, it certainly didn't make sense to enumerate the details of every column when the alternative (raw SQL) also wouldn't require me to do that. Enumerating explicit column information was unnecessary and certainly would have taken me a lot of time.
comment 11y ago · link · parent
Now, in recent months, we're suddenly hit with a bevy of stories about big name financial brands and famous VCs pouring cash and research into the blockchain, and just like that, the goalposts have shifted. This is what we've all been waiting for; this is what will really bring bitcoin into the mainstream, there has to be something big here when you look at all the colossal mountains of cash that have been dumped into the bitcoinverse... yet somehow, we're still at a loss as to exactly how the "x but with blockchains" formula is meant to revolutionize everything. If the 100 million dollar investment into 21inc's vision of putting a bitcoin miner in every refrigerator is any indication of what we're to expect from all this investor cash, I think we can safely assume that what we're witnessing is simply the hyperbolic bitcoin hype machine functioning within normal parameters.
Of course, I'm probably just an idiot who doesn't "get" bitcoin, it's pretty difficult to understand, since even after all these years I just can't grasp the amazing potential of bitcoin. What other explanation could there be?
comment 11y ago · link · parent
I contrast this with node/npm where my projects seem to behave identically across deployments (and in some cases, when in a bind, I've even been able to simply tar & scp the project src and have it run without further effort beyond installing node, something I've never been able to do with ruby).
comment 11y ago · link · parent