HNHacker News
TopNewBestAskShowJobs

cowardlydragon

336 karma · joined June 5, 2014

submissionscomments
cowardlydragon··on The tragedy of 100% code coverage (2016)
mocking / interaction / expect breaks encapsulation to perform "testing".

Thus it is often a test of the implementation's assumptions when first written, and even worse, when the code is maintained/edited, the test is merely changed to get it to pass, because unit tests with mocks are usually:

1) fragile to implementation 2) opaque as to intent

Whereas input/output integration points are more reliable, transparent, and less fragile to implementation changes if the interface is maintained.

However, if you must do mock-level interaction testing, Spock has made it almost palatable in Javaland.

This is one area where functional fans get to make the imperative folks eat their lunch.

cowardlydragon··on The tragedy of 100% code coverage (2016)
Also: the fundamental undecidability of the Halting Problem
cowardlydragon··on Teeny Tiny Mansion: text adventure game formally proven to have no dead ends
I'd guess the complexity is dependent on the decision graph complexity: cyclic vs acyclic, entrance/exit points...

If it gets to conditional / puzzle evaluation that starts to get Turing Complete, then it will hit the halting problem, which I believe is thought to be noncomputable for nontrivial graphs / code.

https://en.wikipedia.org/wiki/Halting_problem

cowardlydragon··on Ubuntu 17.04: The bittersweet Linux release
Sigh. Windows 8 was the opportunity. That massive incompetent stinkbomb, while simultaneously OSX was being ignored.

Google could have finished off Microsoft with a death knell investment of a relative pittance:

- get LibreOffice to 100% parity and compatibility with office

- pick and polish a desktop environment to a perfect OSX, Windows-7, and Ubuntu interface

- get CrossOffice/WINE to near-100% compatibility

- near-perfect android app use.

Instead... ChromeOS?

Google could have added a multibillion dollar industry for the investment of $100 mil.

cowardlydragon··on [dead]
Yes, custom ASIC is useful. Also see: Bitcoin Miners.
cowardlydragon··on An off-grid social network
scuttlebutt has sneakernet options it appears. Email is just another transport mechanism.

So your approach should work in theory within the described framework.

cowardlydragon··on If you publish Georgia's state laws, you'll get sued for copyright and lose
Oh, I'm sorry, is the poor burden of publishing the laws of a government too hard for the big bad government to possibly do or fund?

Of course the solution is to make it copyrighted / restricted / owned by a third party corporation.

What? Simplify laws or properly fund the ancillary tasks entailed in changing laws? Blasphemy.

This is corruption, nothing else.

cowardlydragon··on Intel’s first Optane SSD: 375GB that you can also use as RAM
I thought I read somewhere that the fastest networking technology actually gets close to a couple hundred instructions window of processing.

http://netoptimizer.blogspot.com/2014/05/the-calculations-10...

Hm, 67 ns per packet.

So even this local storage would be the drag in many scenarios...

cowardlydragon··on Containers vs. Zones vs. Jails vs. VMs
"PERIOD."

This is almost always the harbinger of lies, deception, propaganda, or lack of nuance.

cowardlydragon··on Westinghouse Files for Bankruptcy, in Blow to Nuclear Power
I have no industry wide view, but...

All existing nuclear powerplants are shitty Fukushima-style pressurized light water reactors in the US, are they not?

I'd have to think this company is an incumbent blocking entry of modern designs. Is this really a bad thing?

cowardlydragon··on Choose SQL
How about some vitriol?

You know what the #1 feature of nosql is? NoDBA.

I can hear you screaming you'll still need a DBA. You don't get it. You won't need an Enterprise DBA.

Enterprise DBAs are almost invariably horrible blockades to data storage in any enterprise. All they do is lock away the database from developers, cram Oracle down their throats, do things as slowly as possible behind ticket walls. You lock the data away pining for your halcyon mainframe days of white coats and clean rooms, and force your slow ponderous overtenanted infrastructure.

Your profession, since you have proudly identified as a DBA, you are an Enterprise DBA, is a disgrace.

cowardlydragon··on A million-dollar engineering problem
It is my impression that AWS makes its bank on I/O, while everyone makes buying decisions on CPU/RAM
cowardlydragon··on Seagate Announces 12 TB HDD: 2nd-Gen Helium-Filled HDD
What can they fit in a 5.25" enclosure?

I always wished a 5.25 mass storage HDD would come back on the market. How much would those hold relative to this?

Hm, I'm guessing about 2.5x more data per platter, about 50% more platters... 45GB?

cowardlydragon··on Seagate Announces 12 TB HDD: 2nd-Gen Helium-Filled HDD
EIGHT platters? More platters more failures and heat, isn't that right? Or does He change the equation on that?
cowardlydragon··on The end-to-end refresh of our server hardware fleet
Chef, puppet, etc, and other Apache projects all offer this already.

It's like leveraging Oracle specific database features. Your a fool to do so.

cowardlydragon··on America’s opioid epidemic is worsening
I read that Medicaid is being used to fuel the black market pipeline.

$3 copay gets you a $1000 street value opioids...

Of course this is corporate welfare for the opioid manufacturers.

I also read that one month 11% of Ohio's population was prescribed painkillers.

cowardlydragon··on The Story of a Lucky Economist
Economics is a highly politicized "science" however. Desperate for their pet views self-validating their world dominance, endowed chairs, think tanks, consulting, and special access to finance deals fundamentally skew the practice of economics at an academic level, essentially bribing them into line with oligarchical capitalism / "Reaganomics".

Economists routinely are placed in politically powerful positions, invariably due in large part to their professed views on economics being in line with a dominant political (aka rich cabal or pro-industry) view of economics.

If economics was truly up to snuff, it would be at the forefront of guiding policy to resolve the existential threat our global scale environmental disruption poses to us as a species, which is a direct result of the imperfect economic systems of the world.

But the fundamental problems in economics remain:

- if you can't measure it, it doesn't really exist to economics, especially to academics - if it isn't going to run out in three months or kill you in three months, it doesn't matter and is ignored by economic study

Of course those two points are slight exaggerations, but if one views the long course of economic study, they become pretty apparent.

cowardlydragon··on State.of.dev – Explore the current state of development
No organization could adopt what they recommend. 75% of the "adiot" class disappears in six months

It is good for buzzword bingo awareness.

cowardlydragon··on Inside Uber’s Aggressive, Unrestrained Workplace Culture
Or, made an app, and are using VC funds to dump on markets forcing out incumbents, and then will hike prices.

But go ahead and subscribe to your objectivist utopian view. Oh evil government, when will you learn?

cowardlydragon··on Inside Uber’s Aggressive, Unrestrained Workplace Culture
"Uber is reinventing a whole market"

aaaaand, that justifies... what? Murder? Blackmail? Genocide? Racketeering? Bribery? Where is your line in the sand?

Wait, I know, you don't have one if you're chasing the F U Money.

You know, drug traffickers are also reinventing the market, and forging ahead into a new commodity, and using "outside of the box" thinking like assassination and liquifying your competitors in drums of chemicals. Those unnecessary regulations like "laws" are just evil big government trying to control poor defenseless drug cartels.

cowardlydragon··on Inside Uber’s Aggressive, Unrestrained Workplace Culture
Yeah, but dystopian slave labor business models really get the VC funding elites to hand over the dough to the MBA sociopaths running the place.

I wish that was sarcasm.

cowardlydragon··on Norway: 37% of new vehicles sold in January were electric
Wherever you are writing this, the problem is you buying the oil, not them selling it.
cowardlydragon··on Norway: 37% of new vehicles sold in January were electric
red herring
cowardlydragon··on Norway: 37% of new vehicles sold in January were electric
Yep, better not do anything. Right?

Or... you close loopholes as they appear. Which happens in countries with a functional political system, unlike the US.

cowardlydragon··on Norway: 37% of new vehicles sold in January were electric
... without carbon taxes.

Seriously people, everyone driving ICEs is using a massive subsidy loophole with respect to carbon emissions.

cowardlydragon··on Turning the database inside-out with Apache Samza (2015)
It's piggybacking a known issue in one domain into another one with dubious intent...

Aka marketing

cowardlydragon··on Turning the database inside-out with Apache Samza (2015)
Immutable append only database with constantly processed analytics...

Why does it have its own stream processing when there are 5 or so ones already in Apache?

cowardlydragon··on Whatever happened to Winamp?
You can only kick the llama so many times before it kicks back.
cowardlydragon··on How Think Tanks Became Engines of Royal Propaganda
Didn't even read the article:

.... because the Royals were paying their salaries?

cowardlydragon··on Amazon soars to more than 341K employees, adding 110K people in a single year
Counterpoint: I was in a Walmart in the electronics aisle looking for an HDMI cable.

Dude in full hunting regalia spit what I assumed was tobacco on the floor.

I went to K-Mart, which was better. K-mart... was... better...

Page 1 of 10Next →