Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!



Python 3.4 Released

mypalmike Re: and... (196 comments)

> Unless you're a framework author, chances are you'll have to care very little about mucking with bytes.

Right, because none of us write code that interacts with other code or systems that use bytes.

Like C libraries.
Or binary files.
Or network protocols.

about 8 months ago

Ask Slashdot: Can an Old Programmer Learn New Tricks?

mypalmike A book and a project. (306 comments)

> I never learned to ... write modular, DRY code

Don't worry about frameworks right now. This is your problem right here.

The book that helped me best in learning to write modular code was "Analysis Patterns", by Martin Fowler. (http://martinfowler.com/books/ap.html) It's ancient now (from 1996), and you can find used copies on Amazon for under 10 bucks. I came across it back around when it came out (yikes, that's 18 years ago!) while I was buying up every book I could find on OO, and this is the one that really made plain to me how to approach object design.

With book in hand, I might recommend also trying to write a text-oriented version of a card game. Crazy 8's or go fish where the number of players can vary and the "AI" is simple.

And if you really want to focus on modularity, I'd say write this game from scratch in Java. It's a language that definitely prods you towards modularity. Everything is in a class. One class per file. With that constraint, most developers learn to think carefully about how to organize code, and the lessons learned can be used in any language.

about 8 months ago

A Protocol For Home Automation

mypalmike Re:I Fully Support This (116 comments)

> There are too few geeks who have the time and patience to automate anything in the home to this level. Most people are sloth-lazy...

We're too lazy to spend the energy to enable even more laziness.

1 year,27 days

Welcome to the Goodwill Computer Museum (Video)

mypalmike Gave up (72 comments)

The pre-video ad was like 3 hours long so I gave up.

about a year ago

Car Dealers vs the Web: GM Shifts Toward Online Purchasing

mypalmike Not new (160 comments)

Welcome to Mini Cooper a la 2006.

about a year ago

California Outlaws 'Revenge Porn'

mypalmike Re:So... can they do it pre-breakup? (528 comments)

The rule of law is, at its core, a way to protect one party's rights against the actions of another party. Government is the messy system we have devised to enforce said rules. This is clearly a case where one party's reasonable expectation of privacy is violated by the actions of another party. In particular, consider homemade sex videos made by a couple which are later distributed by an angry ex. Law or no law, people are going to sue.

This sort of "revenge porn" apparently happens often enough with current technology that citizens have started to use their democratic powers to push for laws indicating what behavior is a violation of others rights with regard to sexual images. Fortunately, as a democracy, we are a government of the people, which is why "government is sticking its[sic] nose into business like this."

As you have pointed out, extenuating circumstances may exist which make the law subject to interpretation. Guilt may be difficult to determine. That's not a new problem - all law is subject to interpretation. Property lines, who punched who first, etc. It's all a mess which fails algorithmic decomposition. Fortunately there are courts specifically designed to handle this sort of thing.

about a year ago

Ask Slashdot: Suitable Phone For a 4-Year Old?

mypalmike Re: Nothing too good for the fruit of my loins (682 comments)

Just make sure to get it insured. The "I Can Go Potty Myself" app frequently crashes the whole phone... Into the toilet.

about a year ago

Valve Announces Linux-Based SteamOS

mypalmike Re:If you notice... (510 comments)

The icons appear to be...

"O" - A gaming OS
"[O ]" - A box running the gaming OS?
"O + O" - A gaming network?

about a year ago

Ask Slashdot: When Is It OK To Not Give Notice?

mypalmike Re:When you don't want a reference (892 comments)

I live in Georgia and I don't get paid for unused vacation when I leave a job. When I lived in California, I did get paid for unused vacation time when I left a job.


Look for the following wording which applies in several states, including Georgia:

"An employer may lawfully establish a policy or enter into a contract denying employees payment for accrued vacation leave upon separation from employment."

about a year ago

The Smog To Fog Challenge: Settling the High-Speed Rail vs. Hyperloop Debate

mypalmike Partial success == partial payment? (333 comments)

The money, to be donated by big corporations, would go to the first organization that delivers a live human from Los Angeles to San Francisco

So what do I get for delivering a dead human?

about a year ago

Ask Slashdot: When Is It OK To Not Give Notice?

mypalmike Re:When you don't want a reference (892 comments)

In the USA vacation time is an earned benefit for a regular employee, short of bankruptcy they can't stiff you.

This is the stuff of state laws. Many states allow "use it or lose it" vacation time accrual policies in employment contracts.

about a year ago

Android Co-Founder: Fragmentation "an Overblown Issue"

mypalmike Re:Serious problem (289 comments)

> The problem is that most phone vendors (basically all except Google) never update the Android system after the phone is released.

Even Google doesn't keep Android up to date on older devices. The once-flagship Nexus One, introduced in 2010, only got official updates for about a year, taking it from version 2.1 to 2.3.6.

about a year ago

Why JavaScript On Mobile Is Slow

mypalmike Re:That's just not a viable option. (407 comments)

> Yet C developers... rarely depend on shitloads of libraries.

$ ls -l /usr/lib | wc -l

about a year ago

PHP 5.5.0 Released

mypalmike Re:Why not make dollar signs optional? (219 comments)

if token.type == TOKEN_TYPE_STRING {
    if keywords.contains( token.value ) {
    } else {

about a year and a half ago

Proposed NJ Law Allows Cops To Search Phones At Crash Scenes

mypalmike Re:Yes (397 comments)

More likely:

Officer A: "Look, a crash. Let's get all the cell phones of everyone in the nearby area. Law says we can."
Officer B: "OK."

about a year and a half ago


mypalmike hasn't submitted any stories.


mypalmike has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?