HNHacker News
TopNewBestAskShowJobs

vampirechicken

311 karma · joined November 12, 2009

Information Technology Smoke Jumper, Columbus, OH, USA
submissionscomments
vampirechicken··on The four year vesting schedule doesn't make sense
There is a reason that stock options are called Golden Handcuffs.
vampirechicken··on Heroku API down
What happened to OpenStack? Is nobody supporting that?
vampirechicken··on How the U.S. government poisoned alcohol during Prohibition
Or that the role of the US Government, as presently practiced is to do anything other than funnel tax money to crony capitalists. Take it form the middle class and give it to the plutocrats.
vampirechicken··on Are Rails and Django communities re-inventing the wheel?
> Models are intended to serve only as an abstraction to the database. > They are meant to be 'models of data'.

TL;DR: MVC Model is Logical model - business object (invoice) with business logic (delete_line_item), Rails Model is Physical model - persistence layer for RDBMS (add, update, delete, find rows).

In all but the most trivial applications, the latter assertion contradicts the former, and the former, is just outright wrong.

In MVC, Models are meant to model the logical objects of the system. An invoice is an object one which one acts. It is probably composed of several other objects (header, line items, addresses, etc.) which may in turn be composed of other objects.

Only the most trivial application have a one-to-one mapping from RDBMS rows to objects, which is what the OP asserts.

One does not write one's Models with the persistence layer in mind, one writes them with the business logic in mind.

So to me, this is where Rails gets the name Model wrong. The untrained, just starting out with rails learn that business logic goes in the model, so there is goes. But add_address() has no business living int he rails Model file for the invoice header, because that model is meant to be dedicated to manipulating invoice_header records in our RDBMS.

vampirechicken··on New Samuel: a font derived from Morse code
> This presents a problem. Especially if you're a Pepper.
vampirechicken··on I am Facebook friends with Ryan Lanza
> As I understand it, "identified by law enforcement" was some guy in the Connecticut State Police talking to the media without authorization.

I don't see how somebody from the state police, talking to the media, saying "Ryan Lanza is the name on the driver's license" does not constitute being "identified by law enforcement".

It may have been "erroneously identified by law enforcement" but that does not make "identified by law enforcement" a false statement, no matter how much you want it to be.

vampirechicken··on Why we still love board games
I miss playing 8 board, 5 flag roborally marathons.
vampirechicken··on Balanced is in a dogfight for peer-to-peer marketplaces
Yes. But if Balanced is not forcing a reserve on the marketplace owner, then either balance is accepting a huge amount of risk in the transactions, or the marketplace owner is (and might not be totally aware of that risk until she gets bitten by a charge back).
vampirechicken··on Balanced is in a dogfight for peer-to-peer marketplaces
Because the payment card industry and the banks that make up the PCI, aren't going to eat losses due to fraud, chargebacks, and refunds. So you must hold a reserve to cover them, and it's either your money, or the merchants' money.

If you're holding the reserve from your own pockets, you're very trusting, to the point of being naive.

Additionally, the longer you hold the money, before sweeping it to the merchant, the more interest you earn on it.

vampirechicken··on Google Car Search
"Zip code not in supported region" is not a consumer friendly error message.
vampirechicken··on $50 comodo wildcard SSLs (while they last)
Thanks to nickf I learned that I'd omitted certs in the chain when I did the installation. all is well now. Thanks nickf!
vampirechicken··on What was the strangest coding standard rule that you were forced to follow?
Coffee Script / JavaScript dualty?
vampirechicken··on How two Binghamton University students "hacked" the Dropbox Space Race
Win if you can, lose if you must, but always cheat - Rick Flair
vampirechicken··on Thinking of Selling on eBay using Paypal? Think Again
I think the Consumerist would love to run a piece about PayPal facilitating mail fraud. You should tell them your story.
vampirechicken··on Thinking of Selling on eBay using Paypal? Think Again
Lynyrd Skynyrd called...
vampirechicken··on Thinking of Selling on eBay using Paypal? Think Again
just like it's spelled.
vampirechicken··on Hunter Moore’s Revenge Porn Site Will Map Submitted Photos to People’s Addresses
You must be new to the internets.
vampirechicken··on Dealing With Doctors Who Accept Only Cash
It is also worth noting that is some states, doctors who switch to a monthly fee billing have been sued for illegally operating an unlicensed insurance company.
vampirechicken··on Dealing With Doctors Who Accept Only Cash
It is worth noting, it that even if your Family Doctor works this way, most people want insurance against medical catastrophes, not just well care.
vampirechicken··on Dealing With Doctors Who Accept Only Cash
I'd rather let my doctor make the money.
vampirechicken··on Dealing With Doctors Who Accept Only Cash
This is very good. I used to have a doctor who worked "cash-only" with her patients. Eventually she had to change over to billing insurance, and then had to hire people just to manage insurance billing.

She quit general practice, and became a cosmetic surgeon, with a cool-ass laser. Insurance doesn't cover cosmetic procedures, so she doesn't have to deal with them any more.

The world lost a fantastic Family Doctor because of how insurance handles billing and payment.

vampirechicken··on $50 comodo wildcard SSLs (while they last)
In the olden days (circa 1995) there were precious few Cert providers (Verisign, Thawte, and few others) and they vetted you, because SSL certs are about trust, not about encryption. As a result, Certs were bloody expensive.

In order to get the cert for dsac.dla.mil (the computer shop inside the US Defense Logistics Agency) we provided reference to the act of Congres establishing the DLA, and then the command chain that proved that my boss had the rights/responsibility for the SSL cert for the domain.

The process could take weeks, but in the end you could trust that the server on the other end was who they claimed to be.

Fast forward tot he internet boom, and everybody needed a cert, and there folks realized that generating certs was physically easy, and could be lucrative, so they started selling cheaper and cheaper certs. but you can't vet an organization for 29.95, so that aspect of SSL Certs was conveniently forgotten as the masses rushed onto the web.

Everybody thinks SSL Certs are about the encryption. We know that the Cert only establishes the identity of the other party. The encryption is performed using a key which is shared after the cert is used to establish trust.

So now, people are starting to realize that cheap certs don't provide trust, and we're seeing $1500 vetted certs again, and browsers that change colors to signify trust levels.

However, to make this personal, I have a Comodo cert that I got for free with domain registration at namecheap, and a bunch of browsers don't want to trust it.

So I'm stuck between not having revenues to buy a super-cert, and having people refuse to use my app because their browser is saying my app's cert isn't trustworthy, and they aren't technical enough to override the warning.

So will these $50 wildcard certs fare any better?

vampirechicken··on When the Nerds Go Marching In
Nice discussion. Thanks folks.
vampirechicken··on When the Nerds Go Marching In
> Real big government is the multiple layers of crony contractors you're talking about. That's entirely the opposite of that the GOP means when they say Big Government. They mean large offices of government employees. They demonstrate a love of having a few contract managers and a slew of corny contractors.
vampirechicken··on The enterprise strikes back
There a pretty big gulf between usable and pretty. Ugly doesn't mean unusable, and pretty doesn't mean usable.

Applications need UX usablilty. Cornflower Blue icons can come later.

vampirechicken··on When the Nerds Go Marching In
So am I the only person seeing a Democrats (Big Goverment services) way of doing things vs a Republicans (multiple layers of crony capitalists contractors) in the comparison of the efficacy of Narwhal Vs Orca?

I can't be the only one?

vampirechicken··on Twinkies and Wonder Bread are history as Hostess shuts down after labor dispute
Labor leaders are just as capable of being stupid as are business leaders. I'm sure there's plenty of stupid to smear on both sides of this dispute.
vampirechicken··on Engineers suck at finding the right jobs
Titles were more about pay bands then skill.

I know several hundred Vice Presidents at JP Morgan Chase.

And really, if your business card tells me that you're a Programmer/Analyst 3, then you're either doing something wrong, or you're a robot, and you probably work between Programmer/Analysts 2 and 4.

vampirechicken··on Netflix Open Source
That's not marketing. That's poor customer service.
vampirechicken··on Netflix Open Source
Explain please.
← PreviousPage 7 of 12Next →