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

Linus Torvalds: "GCC 4.9.0 Seems To Be Terminally Broken"

Barny Re:Great. Now the sloth community... (728 comments)

Considering how particular the man is about programming languages, he failed if it was a reference because Sloth was the guy's name (Note: capitalization).

5 days ago
top

Verizon Now Throttling Top 'Unlimited' Subscribers On 4G LTE

Barny Re:1 or 1 million (271 comments)

Right, in Australia they have made laws to this effect. If you advertise something as 'unlimited' it must be without any limit.

5 days ago
top

Long-range Electric Car World Speed Record Broken By Australian Students

Barny Re:Australia? (120 comments)

Except this was done in southern Victoria, It is about 10C there on average at the moment.

about a week ago
top

Favorite "Go!" Phrase?

Barny Oblig (701 comments)

Lets make like trees and get the fuck out of here.

about two weeks ago
top

Seat Detects When You're Drowsy, Can Control Your Car

Barny Re:Damn cars (106 comments)

They should really fix that. I mean, having to take your eyes off the road even more just to make sure it has posted properly is dangerous!

about two weeks ago
top

Judge Shoots Down "Bitcoin Isn't Money" Argument In Silk Road Trial

Barny Re:Miracle on 34th street.... (135 comments)

There you go assuming again. Assuming that this was ever going to be about bitcoin != money.

You know what they say about assuming. It makes an ass of you and ming. Poor ming.

about three weeks ago
top

Ask Slashdot: Correlation Between Text Editor and Programming Language?

Barny MUF & LUA (359 comments)

For MUF (an online-game variant of forth) I use notepad++ because there is no IDE that supports it and frequently, while working within this language I am also supporting JS, SQL, HTML and needing something to parse JSON.

As for LUA, again, notepad++ because it is there and just works.

about a month ago
top

Prisoners Freed After Cops Struggle With New Records Software

Barny Re:I'm sorry... (128 comments)

Ah, no. Freedom.

Eh, freedom for me. They said I hadn't done anything, so I could go free and live on an island somewhere.

Naa, I'm only pulling your leg. It's crucifixion, really.

about a month ago
top

$3000 GeForce GTX TITAN Z Tested, Less Performance Than $1500 R9 295X2

Barny Re:Should we start worrying about nVidia? (151 comments)

Link? The only benchmark lists I could find there only tested FPS. And we all know that such tests are quite silly now as quality and to some extent latency are important these days.

about 2 months ago
top

Flaws In Popular Solar Power Management Platform Could Crash the Grid

Barny Re:Wrong by 5 orders of magnitude (90 comments)

Oh hell, is this another W vs W RMS thing? I thought we had given up and just measured things in libraries of congress?

Speaking of, how quiet is that, I figure it being a library it would be quiet...

about 3 months ago
top

Expert Warns: Civilian World Not Ready For Massive EMP-Caused Blackout

Barny Re:linking to fox news? (271 comments)

Well, to be fair, at this point a link to the onion would enhance the credibility of the article.

about 3 months ago
top

Blender Foundation Video Taken Down On YouTube For Copyright Violation

Barny Re:hrmmm (306 comments)

Indeed, the best way to get around the slashdot effect is to hit refresh repeatedly, that will get it working.

about 4 months ago
top

Google Glass Signs Deal With Ray Ban's Parent Company

Barny Re:fuck me (125 comments)

Well hot damn, I will tell my boss that right away!

Of course, the loading time for it is a bit much but I am sure my whole company will love this free resource they can now use.

about 4 months ago
top

Google Glass Signs Deal With Ray Ban's Parent Company

Barny Re:80% of market in terms of what? (125 comments)

Not purchased prescription tinted lenses lately, have we?

Last price I got on a new script for mine was $300 for the glass and they would reuse my frames (yes, Rayban frames).

about 4 months ago
top

Google Glass Signs Deal With Ray Ban's Parent Company

Barny Re:fuck me (125 comments)

It has the best and most important feature over MS Office.

It is free.

about 4 months ago
top

Portal 2 Incompatible With SELinux

Barny Re:why does a decoder need execheap? (212 comments)

The Miles Sound System is a game sound API that does more than just play a single MP3. It plays lots and lots at once, with spacial geometry, allowing accurate 2D and 3D sound to be produced. Many, many games use RAD Tools' stuff, this likely wont be a Valve-only issue but one facing a lot of game companies should they port to linux.

about 5 months ago
top

German Court Forbids Resale of Valve Games

Barny Re:Upholds previous precedent (261 comments)

Well, since you and the other replier seem so intent on taking my comment out of context I will help you.

Yes, there are things that are excluded from being enforced within a contract. But just because one party of the contract wants things to be different, doesn't mean the other party has to allow it. There can simply be no contract and no license given. They are demanding particular things that some software makers are simply not willing to give and as a consequence taking that denial of license as a right to do with the software as they wish.

Can I simply not agree with the GPL and use the software/code anyway? The original parent's argument seems along these lines.

about 6 months ago

Submissions

top

Nokia culls off SymSMB

Barny Barny writes  |  more than 5 years ago

Barny writes "After a great release several months back of V3.5 of their great SymSMB software, Telexy Networks has been ordered by Nokia to hand over the project due to two of the developers being Nokia employees. This strong arm tactic has left a lot of paying users of this great piece of software asking just "what are we going to get", considering they have paid for the development of the software which is now no longer available to either download or re-activate on a new handset. SymSMB was used to both browse and host windows networking shares of mobiles with built in wireless on the S60 platform."
Link to Original Source
top

Which linux and linux tools for retail?

Barny Barny writes  |  more than 6 years ago

Barny writes "I work as an OS installer (builds and maintains OS install media and quality testing thereof) and have finally gotten the higher-ups go ahead to do a few test linux rigs for retail (they really liked the idea of undercutting the competition by removing the MS tax). Problem is this, what linux to use and what range of tools are available to "pre-install" them? Need to do some branding (mainly phone numbers for CS, things like that), setting of preferences and be able to manage changes easily."
top

WoW player banned due to blue movie career

Barny Barny writes  |  more than 6 years ago

Barny writes "Actress Mia Rose (star of a few World of Whorecraft episodes) has found her gaming days ended in the MMOG WoW. Fans identified Ms Rose in-game and mentioned in a public chat channel her website, the usual Blizzard CS reaction, ban and ignore, then ensued and continues."
Link to Original Source
top

Barny Barny writes  |  more than 7 years ago

Barny writes "Multiverse, makers of an upcoming customizable mmog engine, have secured the rights to produce an online saga in the firefly universe.
First reported by Wired News,I think we can all admit to the same feelings summed up by Tim Absath.

Man I hope they don't butcher this.
"

Journals

top

Beware fake kingston microSDHC

Barny Barny writes  |  more than 3 years ago

Just a warning to fellow geeks (and so this gets into google), but please please please don't buy microSD media from ebay that claims to be Kingston 32GB Micro SDHC, they are about to release them, but as of yet all the ones available are fake, put simply, if it seems too good to be true, it is :)

If it has a press-close front loading packet from china, its a fake plain and simple.

top

Mounting a DD imaged drive

Barny Barny writes  |  more than 3 years ago

Seems like basic stuff, but just getting into the more nitty gritty data recovery work and this has been an invaluable guide.

> Another hack you can try is use to use '--offset' option of
> 'losetup'. First figure out from which byte, NTFS partition starts in
> disk image, and then you create a loopback back device for that image
> and the starting offset using 'losetup' and finally 'mount' the
> loopback as NTFS partition :) .

Here's more detail on how to do that

# losetup /dev/loop0 /path/to/diskimage
# fdisk -l /dev/loop0
(example)
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

      Device Boot Start End Blocks Id System /dev/sdb1 * 1 1044 8385898+ c W95 FAT32 (LBA) /dev/sdb2 1045 19457 147902422+ 83 Linux

suppose you want to mount the partition on sdb2, the offset for that
would be 8225280 * 1045 = 8595417600.

detach the disk image
# losetup -d /dev/loop0
and setup the loop for the partiion
# losetup -o8595417600 /dev/loop0 /path/to/diskimage
and mount it
# mount -t fstype /dev/loop0 /path/to/mountdir

> Please do post your results, if you're successful :)

I second that, I'm curious to know if it works

oh, and make a backup just in case :)
--

Re: "loopback mount" hard-drive image created with dd?

by Remy Blank-2 :: Rate this Message:

| View Threaded | Show Only this Message
Yahya Mohammad wrote:

> # losetup /dev/loop0 /path/to/diskimage
> # fdisk -l /dev/loop0
> (example)
> Disk /dev/sdb: 160.0 GB, 160041885696 bytes
> 255 heads, 63 sectors/track, 19457 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sdb1 * 1 1044 8385898+ c W95 FAT32 (LBA)
> /dev/sdb2 1045 19457 147902422+ 83 Linux
Thanks for the tip! I didn't know you could mount a whole disk image as
loopback, and see the partition table with fdisk. I always printed the
partition table before making the disk image.

> I second that, I'm curious to know if it works

It does, I have done it before, but there's a special case for the first
partition of the disk. According to your output of fdisk, it is supposed
to start at cylinder 1. However, if you run fdisk with the -u option
(giving the positions and sizes in sectors), you get the following:

(example)
# fdisk -lu /dev/loop0

Disk /dev/loop0: 10.0 GB, 10056130560 bytes
240 heads, 63 sectors/track, 1299 cylinders, total 19640880 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xc1afc1af

              Device Boot Start End Blocks Id System /dev/loop0p1 * 63 4097519 2048728+ b W95 FAT32 /dev/loop0p2 4097520 8195039 2048760 5 Extended /dev/loop0p5 4097583 8195039 2048728+ b W95 FAT32

That is, the first partition starts at sector 63, i.e. at an offset
value of 63 * 512 = 32256.

> oh, and make a backup just in case :)

And mount the filesystem read-only with the "ro" mount option.

-- Remy

signature.asc (194 bytes) Download Attachment

Re: Re: "loopback mount" hard-drive image created with dd?

by Tom FÃrster :: Rate this Message:

| View Threaded | Show Only this Message
Remy Blank wrote:

> Yahya Mohammad wrote:
>> # losetup /dev/loop0 /path/to/diskimage
>> # fdisk -l /dev/loop0
>> (example)
>> Disk /dev/sdb: 160.0 GB, 160041885696 bytes
>> 255 heads, 63 sectors/track, 19457 cylinders
>> Units = cylinders of 16065 * 512 = 8225280 bytes
>>
>> Device Boot Start End Blocks Id System
>> /dev/sdb1 * 1 1044 8385898+ c W95 FAT32 (LBA)
>> /dev/sdb2 1045 19457 147902422+ 83 Linux
>
> Thanks for the tip! I didn't know you could mount a whole disk image as
> loopback, and see the partition table with fdisk. I always printed the
> partition table before making the disk image.
>
>> I second that, I'm curious to know if it works
>
> It does, I have done it before, but there's a special case for the first
> partition of the disk. According to your output of fdisk, it is supposed
> to start at cylinder 1. However, if you run fdisk with the -u option
> (giving the positions and sizes in sectors), you get the following:
>
> (example)
> # fdisk -lu /dev/loop0
>
> Disk /dev/loop0: 10.0 GB, 10056130560 bytes
> 240 heads, 63 sectors/track, 1299 cylinders, total 19640880 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Disk identifier: 0xc1afc1af
>
> Device Boot Start End Blocks Id System
> /dev/loop0p1 * 63 4097519 2048728+ b W95 FAT32
> /dev/loop0p2 4097520 8195039 2048760 5 Extended
> /dev/loop0p5 4097583 8195039 2048728+ b W95 FAT32
>
> That is, the first partition starts at sector 63, i.e. at an offset
> value of 63 * 512 = 32256.
>
>> oh, and make a backup just in case :)
>
> And mount the filesystem read-only with the "ro" mount option.
>
> -- Remy
>

Some time ago, I wrote a little script to automate that process, maybe
it will help you also. (And yes, I know that the code isn't that pretty)

Direct copy & paste:

#!/bin/bash
INFILE="$1"
PARTITION="$2"
MOUNTPOINT="$3"
OPT="$4"

if [ "$INFILE" = "" ] ; then echo "Usage: $0 infile partition mountpoint
" ; exit ; fi
if [ "$PARTITION" = "" ] ; then echo "Usage: $0 infile partition
mountpoint " ; exit ; fi
if [ "$MOUNTPOINT" = "" ] ; then echo "Usage: $0 infile partition
mountpoint " ; exit ; fi

if [ "$OPT" != "" ] ; then OPT2=",${OPT}" ; fi

PSTARTB=`sfdisk -d "$INFILE" | grep "start=" | head -n"$PARTITION" |
tail -n1 | sed 's/.*start=[ ]*//' | sed 's/,.*//'`
PSTART=$[ $PSTARTB * 512 ]
#PSIZEB=`sfdisk -d "$INFILE" | grep "size=" | head -n4 | tail -n1 | sed
's/.*size=[ ]*//' | sed 's/,.*//'`
#PSIZE=`echo "$PSIZEB * 512" | bc`
mount "$INFILE" "$MOUNTPOINT" -o loop,offset="$PSTART""$OPT2"
#,sizelimit="$PSIZE""$OPT2"

- Tom
--

Reproduced from "old nabble" a gentoo user group support page

top

uPnP and games

Barny Barny writes  |  more than 4 years ago

Ok, seriously, what is up with games requireing my router to support potential security exploits to connect?

No fallback to a fixed port layout (for those of us who are willing to open ports) or a better peer-to-peer based game hosting method.

Fail COD:MW2, fail indeed.

top

Win7 Pre-Install build

Barny Barny writes  |  more than 4 years ago

Arggg, Microsoft can kiss my arse over this one.

Cannot find the fricking OEM 30day product keys anywhere, call MS and they tell me that is an OEM problem and only the OEM team can help me, and they have no phone contact.

Eventually track down the keys (extracted in an interesting way) here

Windows Vista:

        * Ultimate - VMCB9-FDRV6-6CDQM-RV23K-RP8F7
        * Business - 4D2XH-PRBMM-8Q22B-K8BM3-MRW4W
        * Home Premium - X9HTF-MKJQQ-XK376-TJ7T4-76PKF
        * Home Basic - RCG7P-TX42D-HM8FM-TCFCW-3V4VD
        * Starter - X9PYV-YBQRV-9BXWV-TQDMK-QDWK4

Windows 7:

        * Ultimate - D4F6K-QK3RD-TMVMJ-BBMRX-3MBMV
        * Professional - HYF8J-CVRMY-CM74G-RPHKF-PW487
        * Home Premium - RHPQ2-RMFJH-74XYM-BH4JX-XM76F
        * Home Basic - YGFVB-QTFXQ-3H233-PTWTJ-YRYRV
        * Starter - 7Q28W-FT9PC-CMMYT-WHMY2-89M6G

Note these are not illegal, these are the publicly available (albeit hard to $#^$*% find) supplied by MS.

top

Seagate finally have a fix for their 1.5TB drives

Barny Barny writes  |  more than 5 years ago http://forums.seagate.com/stx/board/message?board.id=ata_drives&thread.id=2879&view=by_date_ascending&page=21

This is an official Seagate announcement.



Seagate 1.5TB Customers,
Some Seagate Barracuda 7200.11 1.5TB hard drives may show uncharacteristic operation when used with Mac and Linux operating systems in multi-drive configurations. Users may experiences pauses in video streaming applications or a dropped drive from RAID arrays. Customers seeing these symptoms should contact Seagate Technical Support directly by phone or by email for a firmware upgrade.

In order to assure the proper application of the new firmware, please communicate/have ready a description of the issues you're seeing when you contact Seagate Technical Support. Please include the following disk drive information:


* model number (see here for help determining the model number)
* serial number (see here for help determining the serial number)
* current firmware revision (Seatools for DOS can tell you, and it should also be listed on the drive label)


Also, please describe

* your system
* your operating system, and
* the application in use when the issue arose.


You will receive a prompt response with appropriate instructions.

top

Chrome

Barny Barny writes  |  more than 5 years ago

Just had a very odd thing happen while browsing a forum site with Chrome.

Doing normal kinds of things, posting, moderating, etc. Then I logged in as an admin, preceded to the "modify site settings" section of SMF management, adjusted the forum title, saved and Voom! (this forum is no more, it has ceased to be)

Site now reports it can't find its DB.

Hopefully chrome just threw in some "usual" values in some paths that are in the same entry screen, but it may have spidered its way through the admin area, yet to see the nitty gritty till I can ssh into it later on.

Slashdot Login

Need an Account?

Forgot your password?
or Connect with...

Don't worry, we never post anything without your permission.

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>