×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Comments

top

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 a month ago
top

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 1 month ago
top

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.

about 6 months ago
top

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 6 months ago
top

Car Dealers vs the Web: GM Shifts Toward Online Purchasing

mypalmike Not new (160 comments)

Welcome to Mini Cooper a la 2006.

about 6 months ago
top

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 6 months ago
top

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 7 months ago
top

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 7 months ago
top

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.

http://www.employmentlawhandbook.com/leave-laws/vacation-leave-laws/vacation-leave-law-summaries/

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 8 months ago
top

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 8 months ago
top

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 8 months ago
top

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 9 months ago
top

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
shitloads

about 9 months ago
top

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 ) {
        handle_keyword(token);
    } else {
        handle_variable(token);
    }
}

about 10 months ago
top

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 10 months ago
top

Inside PRISM: Why the Government Hates Encryption

mypalmike Contractors (457 comments)

The government probably hired out a lot of this work to contractors who were like, "Yeah, we've got direct feeds from microsoft, google, yahoo... and paypa... umm, pal...talk. That'll be $100M please."

about 10 months ago
top

Salvaging E.T. In Software, Instead of New Mexico

mypalmike Re:My friend had that game. (146 comments)

It's true. The game was unplayable without the manual, but actually an OK game with it. It was not great by any means, but it was playable and there was some challenge to finishing in the time allotted.

I got the game on cartridge when it came out. The copy I got came in a box without the manual for some reason. My friend and I tried to play by guessing what you were supposed to do. It seemed a lot like the old Superman cartridge which we liked (and which could be played with no manual). But after falling into pits for about 1/2 hour, we abandoned it since it seemed totally random.

Not long ago, I revisited it just to see if it was as bad as I remembered. And it was just as bad and random... until I downloaded and read the manual. The goals of the game and even some "tactics" might have been deduced by experimentation. But if you couldn't decipher the cryptic mode icon in the corner of the screen that changed as you moved around, you had no chance of understanding what you were doing. Once you could decipher it, the game actually made sense.

about 10 months ago

Submissions

mypalmike hasn't submitted any stories.

Journals

mypalmike has no journal entries.

Slashdot Account

Need an Account?

Forgot your password?

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>
Sign up for Slashdot Newsletters
Create a Slashdot Account

Loading...