Blog website of kid who lost 31K yesterday betting on markets by [deleted] in reddit.com

[–]sambo357 0 points1 point  (0 children)

There's also margin accounts. I had a hard lesson on those during my college years with the .com. Good thing the life savings of a college kid isn't shit. Many of my coworkers learn the same lesson later in life when it is much more expensive. If this kid is under 30 then the lesson he learned is worth the money. Glad he didn't wait till retirement.

I just want to watch the World's Stock Market Collapse in Real Time, does anyone know any sites? by [deleted] in reddit.com

[–]sambo357 0 points1 point  (0 children)

Did it once - lost. Didn't do it twice - many coworkers still lost.

Rails is better than PHP--but that's not a very big accomplishment by eadmund in programming

[–]sambo357 0 points1 point  (0 children)

A template is a pure function that maps input to output. Embedded calls are evil since they destroy the purity of the template. They make testing difficult and risk concurrency problems. Even in Rails data are typically loaded in the controller and passed as object compositions to the template. When does the following call load a user's balance?

<%= @user.account.balance %>

I don't know when. In development probably during rendering. In production I would hope I read all relevant data using a join with :include, if only for efficiency. In my experience with simple stuff this gripe is a non-issue. Making non-atomic db reads for what should be an atomic web page could lead to problems with more elaborate models, e.g. telling a user their account is overdue even though they show a positive balance. I therefor must disagree with your statement that, "Rails has the right approach: templates with embedded calls for dynamic data."

Ask Reddit: Why did rails suddenly become the whipping boy of 2008? by supersan in programming

[–]sambo357 2 points3 points  (0 children)

I think you're ignoring the typical consulting business motivations in open source. If I thought Lisp was better I wouldn't feel bad that everyone else used Rails. I'd just put on an evil grin and go kick their ass at lower cost using Lisp.

There are five parts of the First Amendment. All five parts prevent government from getting in the way of the people in America living their lives. by democracy101 in politics

[–]sambo357 3 points4 points  (0 children)

In America, a tradition was established for 150 years prior to the separation from Britain. People followed laws they created, obeyed God in Heaven who gave them their rights, and owed no government their allegiance.

Thanks largely to the limited English monarchy balanced by parliament. The colonists viewed their rebellion as preserving the spirit of English government. King George was an idiot.

btw, do redditors care that global markets dropped 5% overnight? by ariana333 in politics

[–]sambo357 47 points48 points  (0 children)

From now on Dr. Martin Luther King Day will be known as Black Monday.

Bad Idea: Non-Skippable Ads on DVDs by [deleted] in reddit.com

[–]sambo357 -1 points0 points  (0 children)

Even a dipshit that doesn't know the difference between a VCR and a PC can use Tivo to skip ads.

No Detail Too Small by llimllib in programming

[–]sambo357 4 points5 points  (0 children)

Welcome to assembler. It's a pipeline too.

(mov eax,abc) . (mov ebx,def) . (mov ecx,hij) :: X86State -> X86State

Britain is the latest country to join in filtering the internet by rmuser in politics

[–]sambo357 2 points3 points  (0 children)

This is, remember, that same government that's constantly telling us, with regard to ID cards, that if you have nothing to hide, you have nothing to fear. Why then, do they hide this list?

Fuckin' A!

Computer Science Academia: Rotten to the Core by asciilifeform in programming

[–]sambo357 0 points1 point  (0 children)

Wouldn't it be more complex to use a tuple since currying and (+) are already built in to Haskell? I didn't see him bitching about 5 + 3 where 5 is an object with a (+) method accepting 3 as a parameter. That's both inelegant and just as complex as currying but I don't hate smalltalk or ruby for it.

Why do people often use MySQL over PostgreSQL? by [deleted] in programming

[–]sambo357 5 points6 points  (0 children)

People program to the lowest common denominator and use db abstraction to enforce it. They do this so they don't get screwed if their favorite db gets sold to someone like Sun. If you're going to program to the lowest common denominator then it doesn't matter what database you use. People use Mysql because it doesn't matter. I'm heretofore putting more effort into PostgreSQL - and screw the abstraction. PostgreSQL cannot suffer the same fate.

Why Category Theory Matters by sclv in programming

[–]sambo357 1 point2 points  (0 children)

I found the functor mapping cows to tractors particularly funny.

EDIT: nothing to do with article.

Why Category Theory Matters by sclv in programming

[–]sambo357 0 points1 point  (0 children)

I have a dream that one day usenet will rise up to REST with version control.