Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!



BBC: ISPs Should Assume VPN Users Are Pirates

Menkhaf Re:BBC? (363 comments)

While it might not be the case in the UK (re the other replies), it's the case in Denmark. Buying a TV makes you elligeble for paying the license. Having a TV, even without antenna cable doesn't change anything; you still have to pay.
It also holds for internet connections above a certain speed (I think it's > 128/128 Kbit/s), even if it's on your cellphone.

Funnily, the Danish Broadcast Corporation doesn't have any way of checking if you are required to pay the license as they aren't allowed to look up any information on you except your postal address.

about 5 months ago

Ask Slashdot: What Are the Strangest Features of Various Programming Languages?

Menkhaf Re:Infoworld... pass (729 comments)

I'm not a native English speaker either, but it's past tense, so I believe it should be "dug". English is weird (but not any weirder than German with their unrecognizable genders or Danish with en/et)...

about 5 months ago

Machine Learning Used For JavaScript Code De-obfuscation

Menkhaf Re:Fail (31 comments)

Now that you're here...

I tried it on this hunk of JavaScript: http://pastebin.com/miGDVkdf , but all I got was a parse error:

"// Error contacting the server...
SyntaxError: Unexpected token :"

about 8 months ago

OpenSUSE 13.2 To Use Btrfs By Default

Menkhaf Re:Beta testers (91 comments)

I experimented a bit with btrfs some months ago as part of my parttime job at my university. The departments file server had disk failures after a power glitch, so I decided to rebuild it and add in a UPS. I'm running Debian jessie on the system, which is just a small 2U SuperMicro rack case with 12 3 TB SATA drives and 16 GB ECC RAM. ZFSonLinux needs a fairly recent kernel, otherwise I'd probably have gone with stable.

I was initially pretty impressed with btrfs, but before the UPS arrived there was another power glitch (which is fairly unusual in these parts of the world; northern Europe) and it completely trashed btrfs. I was unable to mount, scrub or do anything productive to the FS. Absolutely no luck doing anything.

After that I've switched to ZFS. I'm really happy with ZFS, even though ZFS on Linux still has some bugs. For some reason zfs threads sometimes crash when doing zfs send | zfs receive, something I've noticed a few times. Performance is pretty good. For reference I'm using raidz3. My offline, off-site backup is done on a clone of the server (OS only) and uses zfs send and receive to transfer the ZFS snapshots which are done nightly.

about 10 months ago

How Do You Backup 20TB of Data?

Menkhaf Re:ZFS pool (983 comments)

What the parent said.

Besides that, do weekly scrubs (to catch hardware errors and ensure consistency) and nightly snapshots (to foil any accidental deletion, CryptoLocker etc.), depending on how IO the file system sees. I also regularly do a `zfs send | ssh server2 sudo zfs receive` to do an offsite backup.

about 10 months ago

Microsoft Warns of Zero-Day Attacks

Menkhaf Re:I got burned by the font rendering bug last tim (165 comments)

If you liked that, you'll like to know that you can remove the ei.cfg file from the iso to convert it into a universal iso. There are multiple tools for it, but I've just used rm in the past (granted, the media I used was a USB stick). Here's one such tool: http://code.kliu.org/misc/winisoutils/

Note that your license still has to match the type you select during installation. I have no idea why Microsoft insists on having so many different isos when they could just have one universal iso...

about a year ago

Botnet Uses Default Passwords To Conduct "Internet Census 2012"

Menkhaf Re:correction (222 comments)

Yeah, good luck trying to guess the sequence number needed to establish a TCP connection. This hasn't been an issue since, I don't know, the 90s?

about 2 years ago

Open Hardware and Software Laptop

Menkhaf Re:RhombusTech? (152 comments)

lkcl has already been talking about the possibility of teaming with Bunnie on the arm-netbook mailing list.

more than 2 years ago

Ask Slashdot: Securing a Windows Laptop, For the Windows Newbie?

Menkhaf Re:Mod parent up (503 comments)

Shit, I used to play a bit of WoW not too long after it came out. Performance was more or less on par with Windows -- FPS higher on Linux in some places, lower in other. Best thing was that with multiple desktops I was able to tab in and out in milliseconds, something that always seems to take ages on Windows.
Then again, I did it on Gentoo installed from stage1. Took me a few days to compile everything, and cost an hour when there was a WINE update, but it ran well.

If the submitter is still around, I'd second the advice given in other places. Give your kid the install disc, and let him handle it. Sure, he'll probably have to start from scratch a few times, but installing Windows has never been easier. If your kid has a few geeky friends that run Windows, even better -- they should be able to explain what are common signs of malware.
If he's used to Linux, he might be able to figure out how to run WoW with WINE when he tires of Windows.

I rarely use Windows (although more often than you seem to), and I'm starting to feel outdated, but I tend to go with Microsoft Security Essentials and Avast (they have a free edition). If not Avast, I've heard good things about ClamAV on Windows.

If I recall correctly, a WoW install has no real ties outside of the program folder, so it might be a good idea to make a backup of that folder once in a while. If the system goes down, just copy it and you're set.

Held og lykke fra en anden dansker

more than 2 years ago

Emacsy: An Embeddable Toolkit of Emacs-like Functionality

Menkhaf Re:The only emacs shortcut I know (127 comments)

CTRL to Caps lock is easy:
to /etc/default/keyboard, or similar. Optionally you can pass it as an argument to setxkbmap.

more than 2 years ago

Javascript Game of Tron In 226 Bytes

Menkhaf Re:This again... (115 comments)


Hey, that's no one bit. That's a UTF-16 character, which means it is (or rather, may be) a full 32 bits! Back to the drawing board, young lad.

more than 2 years ago

Azure Failure Was a Leap Year Glitch

Menkhaf Re:A leap year issue? Are you SERIOUS? (247 comments)

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)

more than 2 years ago

Asus PadFone Combines Smartphone, Tablet, Keyboard

Menkhaf Re:1920x1200 laptop? (77 comments)

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.

more than 2 years ago

New BBC Sports Website Makes Heavy Use of RDF

Menkhaf Re:I'll get a gold in freestyle grammar nazism (89 comments)

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.

more than 2 years ago

US Losing R&D Dominance To Asia?

Menkhaf Re:R & D doesn't simply go to lower cost (461 comments)

he was managing - an project would be

a project

You're welcome :) (although I'm not in Thailand, but in cold and dark Scandinavia)

about 3 years ago

EU Moves To Ban Iran Crude Oil

Menkhaf Re:Why does Iran deny having a nuclear programme? (361 comments)

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.

about 3 years ago

Ask Slashdot: Assembling a Linux Desktop Environment From Parts?

Menkhaf Re:Awesome WM (357 comments)

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).

more than 3 years ago


Menkhaf hasn't submitted any stories.


Menkhaf has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?