Forgot your password?

typodupeerror

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

by Menkhaf (#39213721) Attached to: Azure Failure Was a Leap Year Glitch

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

by Menkhaf (#39182741) Attached to: Asus PadFone Combines Smartphone, Tablet, Keyboard

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

by Menkhaf (#38894835) Attached to: New BBC Sports Website Makes Heavy Use of RDF

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:Why does Iran deny having a nuclear programme? (Score 1) 361

by Menkhaf (#38597532) Attached to: EU Moves To Ban Iran Crude Oil

Change your comment settings to "Plain old text" instead of "HTML formatted".
You can do it either by pressing the cogwheel on the top of the page (or click this link: http://slashdot.org/prefs), or on a post-by-post basis by pressing the cogwheel right next to the "post anonymously" checkbox.

Comment: Re:Awesome WM (Score 1) 357

by Menkhaf (#38464094) Attached to: Ask Slashdot: Assembling a Linux Desktop Environment From Parts?
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).

Wow! Look!! A stray meatball!! Let's interview it!

Working...