Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:Won't everything need to be recompiled? (Score 1) 85

It's your own code you'd mainly have to worry about.

But, alas, I always seem to get called in to debug code from other folks.

You probably don't get called in to debug endianness issues in any TCP stacks in portable general-purpose non-hobby OSes; if so, I'd look a bit askance at the developer team for that OS.

My point is that worrying about porting server OSes for PPC machines is not something worth worrying about, as they've either already been ported (Linux) or, if they ever get ported, are likely only to be ported to little-endian machines using compilers that aren't going to differ between platforms on the signedness of char (Windows). What you worry about there is third-party applications.

Comment Re:Won't everything need to be recompiled? (Score 1) 85

A simple recompile won't do it . . . some programs, like your TCP/IP stack have dependencies on Endianess. IBM's POWER has been traditionally Big Endian. Linux is mostly Little Endian. There are C macros, ntoh() and hton() that do the required byte swapping for you . . . if you remember to use them!

The TCP/IP stack you're using was probably originally written by people working on a little-endian machine - VAX (if it's the BSD stack or a derivative thereof) or x86 (if it's the Linux stack) - so that's not the code to worry about; it has the relevant ntoh[sl]()/hton[sl]() calls already.

It's your own code you'd mainly have to worry about. I.e., Linux should pretty much Just Work (it runs on 32-bit and 64-bit PowerPC, and it sounds as if support for little-endian mode is being added), but it's the third-party software that's might be an issue.

Comment Re: Centralized on GitHub! LOL! (Score 1) 116

GitHub negates the decentralization of git in order to make it practical for real world use.

Negates? No - it just provides a single location through with to share code. You're confusing "using a central repository" with "requiring a central repository." It is just above trivial for any git project to switch to a new "central" server through with to share code.

Comment Re: Centralized on GitHub! LOL! (Score 2) 116

# git remote add newupstream git://new.server/my-project
# git push master newupstream

Aaaaand, done.

You're not going to do that with Subversion anytime soon. Sorry - I like SVN. But to claim that having a central repository is anything like *requiring* a central repository is just missing the point.

Comment Re: College is too Expensive (Score 3, Funny) 407

Maybe for a bricks and mortar business, but online businesses have nearly no start up cost at all. All you need is a cheap web host and you're set. Learn to code and maintain it by yourself to keep start-up costs low. Once you have made a profit, then you can buy specialised hardware or additional things for your business.

  1. 1. Start online business.
  2. 2. ???
  3. 3. Profit!

Comment Re:It works both ways (Score 1) 886

The problem with segregation wasn't that it was allowed to happen.
The problem with segregation was that it was legally mandated.

Haven't you ever seen the movies where there were police officers enforcing segregated dance floors at concerts?

If segregation was happening by choice, it would simply be a free market issue and people could vote with their dollars. Segregation was legally mandated and it wasn't optional.

"If I were in the south and a southerner didn't want me to eat in his restaurant and I forced my way in and then let him go back in his kitchen and prepare some coffee for me to drink, I'd consider myself insane to drink it." - Malcolm X

LK

Comment Re:Do It, it worked in AZ (Score 1) 886

You are mistaken.

What prompted this law was a bakery in Oregon was driven into bankruptcy because they declined to make a wedding cake for a gay wedding.

They were willing to sell the couple a different cake but that wasn't acceptable to the couple. They wanted to compel the bakery to make their wedding cake or face financial penalties.

THIS is why religious freedom laws are needed.

LK

Comment Re:Do It, it worked in AZ (Score 1) 886

So the KKK can force a black or Jewish printer to print posters for their next rally, then?

If you answer no, you agree with the govenrnor of Indianapolis. If you answer yes, you're in favour of slavery (forcing the printer to serve against their will). Pick one.

I remember when this happened and none of the hypocrites who are against this law said a thing in support of these people who wanted nothing more than to buy their child a birthday cake.

LK

Slashdot Top Deals

There are two ways to write error-free programs; only the third one works.

Working...