Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror

Comment Re:A leap year issue? Are you SERIOUS? (Score 1) 247

And do you really think this problem arose because they didn't write code to deal with leap years?

Come on man. If they had written code that accounted correctly for leap years, they wouldn't have had an outage. Do you think it's just a coverup?
And what's that nonsense about date logic? Use tried-and-true library functions for date manipulation, that's it. If you're doing embedded systems, you might have an excuse. ..and these days, not even then, given the amount of memory and the clock speeds. Bah, in my days all we had was a wirewrapped system built from a Motorola 68k, and we liked it!

(except when one of the address bus wires got loose and we spent countless hours debugging it)

Comment Re:1920x1200 laptop? (Score 1) 77

You might want to have a look for Compal laptops. I've got a NBLB3, sporting a 15,3" 1920x1080 display. Bought it a year and a half ago. Core i5 2.4 GHz, 4 GB RAM, 500 GB HDD, eSata, LED backlight.
There are a few things that could've been better (weird keyboard mapping -- the Return key sends a KP_Enter), and it's got a bit of a plastic-y feel to it, but it works great, and I bought it for what amounts to less than 1200 USD.

Comment Re:I'll get a gold in freestyle grammar nazism (Score 4, Interesting) 89

On a similar note, what's up with the 5196 empty lines?

~/tmp$ grep ^$ launching_bbc_sport_new.html |wc
      5196 0 5196

...or the 21360 kB of whitespace?

~/tmp$ grep '^[[:blank:]]*$' launching_bbc_sport_new.html |wc
      5896 1400 21360

That's one sixth of the page size (excluding external sources).

And speaking of external sources: 336 kB of Javascript. Neat, huh?

~/tmp/bbc$ for i in `grep --color=never -o 'src="http://[[:alnum:][:punct:]/]*"' launching_bbc_sport_new.html |sed -r 's/src="//' | sed -r 's/"//'|grep '.js' --color=never`; do wget $i; done;
~/tmp/bbc$ du -ch *.js*
28K bbccom.js
28K blq_core.js
16K comments-blog.js
8.0K embed.js
16K gloader.0.1.6.js
16K gloader.js
8.0K gw.js?csid=J08781
20K id-core.js
60K id.js
24K require.js
64K s_code.js
36K sharetools.js
12K swfobject.js
336K total

I haven't done any webpage project nearly as big as what I imagine BBC to be, but still, 476 kB all in all. Wow.

Comment Re:Awesome WM (Score 1) 357

I've been using Awesome for about a year, and I really dig it; though more the concept than config files in Lua. Awesome is just one tiling window manager though, there's quite a few other:
  • dwm
    Extremely small. No config -- just c code.
  • qtile
    Apparently a bit like Awesome, but written and scripted in Python.
  • xmonad
    Written an configured in Haskell. Supposedly crash-free (not that I've ever had Awesome crash).

I've heard much good about xmonad, and I'll be switching to it one of these days (I figure it's a great way to learn me some Haskell).

Comment Re:I must be old now; just don't be an idiot (Score 1) 200

I say we attack this problem from another angle. Instead of using a "flash blocking beer coolor", put your pictures online. Same goes for opinions, sexual preferences, and any other personal detail you can think of. With enough people joining in, we'll change the standard and make it publicly acceptable to act yourself (or be an ass).

I'll start: I'm drunk on the remains of a Cuban Havana Club. Mmmmmm.

Comment Re:Misleading title !! (Score 1) 459

Stupid politicians like that can be found anywhere.
Recently (late February) a Danish politician, at the time legal policy spokesman for Konversative (Conservatives) Tom Behnke, (a former cop, by the way), argued that politicians from left-wing Enhedslisten (The Unity List/Red-Greens) and center-left Radikale Venstre (Radical Left) Line Barfoed and Manu Sareen shouldn't question the Danish logging directive (Logningsbekendtgørelsen). His reasoning? "Imagine a terrorist attack with 675,000 dead".

If that's that best a legal policy spokesman can come up with, I want to be a fucking politician. I'll lower the speed limits on the highway to 40 km/h, because "imagine a 400 school-bus pileup"... Sigh.

Comment Re:Sure I've heard of Ctrl+F ... (Score 2) 567

I guess it has some consistency -- the shortcuts are the same for Danish, and, I presume, Norwegian. But you're right. It bugs me when I occasionally is being forced to use Outlook/Word on a computer with a Danish locale. Screw all localization, let's just all agree on using English for computers. ...and force all Americans to use the international date format, ISO 8601.
Crime

Submission + - RSA Admits SecurID Tokens Have Been Compromised (net-security.org)

Orome1 writes: RSA has finally admitted publicly that the March breach into its systems has resulted in the compromise of their SecurID two-factor authentication tokens. The admission comes in the wake of cyber intrusions into the networks of three US military contractors: Lockheed Martin, L-3 Communications and Northrop Grumman — one of them confirmed by the company, others hinted at by internal warnings and unusual domain name and password reset process.

Slashdot Top Deals

Nobody said computers were going to be polite.

Working...