Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Comments

top

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...
parsererror
SyntaxError: Unexpected token :"

about 3 months ago
top

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 5 months ago
top

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 5 months ago
top

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 9 months ago
top

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 a year and a half ago
top

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.

about a year and a half ago
top

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

about 2 years ago
top

Emacsy: An Embeddable Toolkit of Emacs-like Functionality

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

CTRL to Caps lock is easy:
Add
XKBOPTIONS="terminate:ctrl_alt_bksp,ctrl:nocaps"
to /etc/default/keyboard, or similar. Optionally you can pass it as an argument to setxkbmap.

more than 2 years ago
top

Javascript Game of Tron In 226 Bytes

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

1

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
top

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
top

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
top

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
top

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)

more than 2 years ago
top

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.

more than 2 years ago
top

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 2 years ago
top

Picture Blocking Beer Cooler Keeps Your Face Out of Embarrassing Photos

Menkhaf Re:I must be old now; just don't be an idiot (200 comments)

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.

more than 2 years ago
top

Restaurants Plan DNA-Certified Seafood Program

Menkhaf Belief vs. truth (174 comments)

'When they sell something that's really expensive, they want the consumer to believe that they're getting what they're paying for,' Schindel told The Associated Press.

Nuff' said.

more than 2 years ago

Submissions

Menkhaf hasn't submitted any stories.

Journals

Menkhaf has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>