Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment oil, gold, dollar (Score 1) 215

It is widely discussed that oil price is rather stable measured in gold. So by this line of though it is not oil price that fluctuates but rather dollar value. Recently revealed conspiracy of banks to manipulate dollar gold price adds yet another dimension to this speculation

Comment Are there translators to COBOL? (Score 1) 217

Can code from other languages be converted to COBOL automatically? Can someone write in C, Java or Basic, for that matters, and have it translated to a valid COBOL code via some translator? The younger languages should certainly have the power to cover the concepts available in COBOL?
Is this approach sensible? Does anyone use it nowadays?

User Journal

Journal Journal: remap capslock to change keyboard layout windows 7

use http://ahkscript.org/download/ - just download, install and run - you will get the menu where you can chose to open a sample script.
Replace it's content with this

SetCapsLockState, AlwaysOff
+CapsLock::CapsLock

CapsLock::Send, {CTRLDOWN}{SHIFTDOWN}{SHIFTUP}{CTRLUP}{CTRLUP}
return

this will make CapsLock to send Shift+Ctrl sequence.

Comment There is a similar solution for Blackberry z10 (Score 1) 208

BLACKBERRY Battery Charger Bundle fuer Z10
The charger allows daisy-chain connection for the phone (or any other micro USB device). I have learned that it effectively works like the "usb condom". Additional feature is that it shields the phone from the charging device, not only a computer. This allows for the use of dumb chargers. Otherwise the phone (BB Z10) gets too smart and only draws 500mA where the charger is actually capable of 2A.
Blackberry is not doing too well now as a company, but I still like them for the hardware and those small niceties like cheap but durable accessories. The headset for BB9700 costed 3 Euro and was of great quality. But I digress.

User Journal

Journal Journal: replace a disk in mdadm raid array on ubuntu

# mdadm --manage /dev/md0 --fail /dev/sdb2
# mdadm --manage /dev/md0 --remove /dev/sdb2

Past that point, its just a matter of powering off and replacing the drive at your earliest convenience. Once you got a new drive, pop it in, boot the system up, clone the partition table, and add the new partition to the array:

User Journal

Journal Journal: Logitech diNovo Edge keyboad Ubuntu 12.04 precise pangoline

You have to follow the same procedure in the file

97-bluetooth-hid2hci.rules

Command:

sudo gedit /lib/udev/rules.d/97-bluetooth-hid2hci.rules

Here is a sum up:

# Logitech devices

KERNEL=="hiddev*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[345abce]|c71[34bc]", \ RUN+="hid2hci --method=logitech-hid --devpath=%p"

AFTER

User Journal

Journal Journal: D-Link DWL-G520 in Ubuntu 12.04

This card's driver is in the blacklist and so it does not get loaded. The card itself is not visible then with lspci.
sudo vi /etc/modprobe.d/blacklist.conf
and comment out the line with "blacklist prism54"
The card will be available after a reboot.
01:08.0 Ethernet controller: Atheros Communications Inc. AR5212/AR5213 Wireless Network Adapter (rev 01)

Comment Re:does this need to be so complicated? (Score 1) 153

OK, I got it, so the diff is the problem.
I see two solutions
1. write the date of the latest mirror-sync to a file in laptop and copy all newer or modified files to flash with a "find".
2. have a second copy (mirror) on a separate partition the laptop HDD and diff against it. Actually helpful in case you really need to restore a (deleted) file while on the road.

I believe having a complicated script and set up is more "expensive" at the end of the day as just to have a second (or a third copy).

Slashdot Top Deals

"Floggings will continue until morale improves." -- anonymous flyer being distributed at Exxon USA

Working...