Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?

Comment: My experience with IPv6 (Score 2) 390

by alexhs (#49515459) Attached to: Why the Journey To IPv6 Is Still the Road Less Traveled

I can do IPv6 from my ISP since last November. My issues so far have been:

  • The ISP ADSL router hasn't been extensively tested for IPv6. Its caching DNS server tends to die after approximately 10 days, and the IPv6 connection itself is at times unavailable (probably not an up-link issue as rebooting the ADSL router fixes the issue. Temporarily.)
  • Some web sites have registered a DNS entry for IPv6, but don't have a properly configured IPv6 HTTP server. I could ask the DNS resolver to try IPv4 first, but then when would I actually be using IPv6 ?
  • I can't even experience the non-NAT'ed network, as I don't have IPv6 access from the work place.

On the other hand, IPv6 was doing fine 12 years ago, on the IPv6 backbone from the university.

Comment: Re:Tabs vs Spaces (Score 2, Insightful) 428

by alexhs (#49426221) Attached to: Stack Overflow 2015 Developer Survey Reveals Coder Stats

I guess that there are multiple reasons.

The most common one is ignorance: most people don't know how tabs are supposed to be used as indentation and indentation ONLY, and how to set up an editor appropriately (and the shell, by the way) (see the other responses to your comment for proof).

The second is lazyness / non-confrontational behaviour: If you settle on tabs, you will have to educate all users about the correct usage, and have to bear with people that just insist on using tabs differently (see point 1). If you settle on space usage, that's about it.

The third reason is that some editors are stupid, because the implementation doesn't know that tabs are supposed to be used as indentation and indentation ONLY, and will (for example) insist on aligning multi-line arguments to a function just after the parenthesis using a liberal amount of tabs.

And then there are some language requirements that like to mess things up, like Makefile requiring tabs and other scripting languages pursuing a vendetta against tabs (like Python).

That being said, I will gladly educate people about tab usage, their ignorance is no excuse for using inferior solutions.

Comment: Re:Reminds of of something at a past job (Score 1) 765

by alexhs (#49315153) Attached to: A Software Project Full of "Male Anatomy" Jokes Causes Controversy

hungHi = (word & 0xFFFF0000) >> 16;

FYI, this is pretty bad. It does exactly the same as:
hungHi = word >> 16;
It is not safe if for some reason word is signed (compiler bug on an exotic platform or some programmer resolving some signed/unsigned warning by doing the wrong thing):
((unsigned)0x80000000) >> 16 = 0x00008000
((signed)0x80000000) >> 16 = 0xFFFF8000

Instead, you should use:
hungHi = (word >> 16) & 0xFFFF;

Comment: Let's see... (Score 2) 177

by alexhs (#49236875) Attached to: Preferred programming paradigm?


Preferred to dysfunctional, checked.


Preferred to submissive, checked.


Preferred to illogic, checked.


Mmh, Notion-Oriented seems appealing, I'm torn on this one.

Other (List in comments)

If you want lists (and parenthesis) you want LISP and no other, period.

Whichever is right for the job

Preferred to whatever is wrong for the job, checked.

No preference

I prefer to have preferences.

Uh.. what did my old graphing calculator use?

BASIC-like says wikipedia, but I wouldn't want to use that for something serious.

Comment: Crystal ball ? (Score 2) 214

by alexhs (#48919923) Attached to: Ask Slashdot: What Makes a Great Software Developer?

can tell fads from technologies that actually endure

And are therefore defined in hindsight.

Critical thinking, not buying anything some software vendor is willing to sell you, is one thing, and betting on the right horse every time is quite another.
At some point, you can't miss the latter by being conservative and only adopting "new" technologies when they're already mature (now, if you had some sort of almanac...). Also to note, "better" does not always mean "successful".

Comment: Re:Lennart, do you listen to sysadmins? (Score 2) 551

by alexhs (#48829289) Attached to: Systemd's Lennart Poettering: 'We Do Listen To Users'

"Well, do you actually take on board the concerns of system administrators and enterprise users?" - what do you class RHEL as?


So we started writing Systemd, and Red Hat didn’t like it at all. Red Hat management said: no, we’re going for Upstart, don’t work on that. So I said, OK, I’ll work on it in my free time.

I class RHEL as "not listened to".

"If you lived today as if it were your last, you'd buy up a box of rockets and fire them all off, wouldn't you?" -- Garrison Keillor