Programming :: How To Get Solution For "(1/2)*[log(1+x) - Log(1-x)]"

Jun 17, 2011

I'm trying to get the solution for this equation using a linux one-liner (maybe with awk?)(1/2)*[ln(1+x) - ln(1-x)]ln is the "natural logarithm" (sometimes also written as "log e")
x is a value (e.g. 0.75) stored in a text file. I know that the answer when x = 0.75 must be 0.972955075 (IF excel is correct).For those interested: this formula is Fisher's r to z transformation. If someone has a one-liner for arctanh(x) (which is the inverse hyperbolic function of x) that would also work.I've searched Google with keywords and I've searched the awk manual but can't find it

View 14 Replies


ADVERTISEMENT

Programming :: Getting Error In CodeBlocks / Solution For This?

Mar 16, 2011

I just installed codeblocks 8.02.
And I want to run some data structure program.
When I click run it gives me error as

Code:
sh: /home/sujit/Documents/2nd Sem/ds: Permission Denied.

Press ENTER to continue.
What should be done?

View 2 Replies View Related

Programming :: Posting A Better Solution To A Closed Thread?

Jul 27, 2010

Rather than get in hot (or even slightly-above-comfortable temperature) water for reviving a closed (ca. 2007) thread without moderator permission or acquaintance of the OP personally or by proxy, I'll post this alternate solution (approach?) along with one positive real-world example illustrating how mine is easier to write and is equally reliable, if not altogether better. The thread is here. Their solution:

Code:
if [ "$myfilesize" eq "0" ];then echo "$file: the file size is zero"; else echo "$file: the file size is NOT zero"; fi (and this hangs on the output of a stat -c %s command). "Hangs" is probably a most appropriate word. The two outputs, using two different stat options, the same file, and three marginally-different command-line syntaxes I just tried gave me these: First, using their approach, I got this:

Code:
tjsfa070929-094.jpg.error: the file size is NOT zero
Even though stat gave me this
Code:
>> stat -c %s $file

[Code]...

From where I sit, getting the file type string instead of an integer, which can be equally (if not often more) accurate, makes for an easier time of setting the conditional and, maybe only in terms of a few ticks, a faster script from start to finish. I think my method is better, and proven so to the limits of my knowledge and ability here in this OP.

View 1 Replies View Related

Programming :: Open Source Solution To Convert Pdf File To Excel Document?

Mar 2, 2011

Looking for an open source solution to convert pdf file to excel document.

View 1 Replies View Related

Fedora :: Looking For Backup Solution

Aug 30, 2010

I have fedora 13. Is there online based automatic backup solution that satisfy these requirements.Any file that I modify or create new in /home is automatically backup online and also encrypted on regular intervals such as 5 times a day. The backup system only uploads what was changed and not the whole file again. Any other folders that I specify are backed up in the same way as /home. /home also contains disk images of virtual operating systems. When I startup those VM and create or edit some files within VM, these should also become part of the online backup. Since these disk images are typically 20 GB in size so the online backup simply cannot upload the whole disk image over the wire on a regular basis.

View 3 Replies View Related

Software :: Best Solution To Use Different Distro?

Apr 8, 2010

I have had problems with Skype and on Mandriva 2008 spring and I think the best solution is to use a different distro.

View 12 Replies View Related

CentOS 5 :: No Display Specified / Solution For This?

Jul 12, 2009

Ive installed X Window System and GNOME Desktop Environment on my server. I am running CentOS 5.3 btw. Ive installed and tried running it but i get error no display specified. GRRRR. I cant seem to find the file where i can specify a display. Im trying to setup a gui so i access my server via vnc cause im kinda a linux noob.

View 1 Replies View Related

Fedora :: Cannot Find Unrar In Yum / Solution For This?

Jun 15, 2009

Just installed fedora 11 and found that I need to unrar some stuff, then I realised I did not have the unrar util so I typed in as root

"yum install unrar"

and I got package not found. Is there a better util to do this now or is there just no support for unrar util anymore

View 4 Replies View Related

Fedora :: Firefox Won't Start / Solution For This?

Feb 14, 2011

I recently installed Fedora 14. Yesterday, the update tool found 367 packages to update.

Before the update, Firefox worked fine.

After the update, firefox fails on startup with a series of python errors, apparently ultimately due to the error:

ImportError: /usr/lib64/python2.7/lib-dynload/selectmodule.so: undefined symbol: _Py_ZeroStruct

Any solutions to this short of reinstalling everything?

View 4 Replies View Related

Fedora :: Backup-image Solution For F14?

Jul 25, 2011

Can anybody please suggest a backup-image solution for Fedora 14?I made some tests with Clonezilla: it works fine but, please correct if I am wrong, it requires booting from a Clonezilla CD and cannot be used to take an image backup while the computer is running.

View 4 Replies View Related

Fedora Servers :: Looking For Backup Solution

Aug 8, 2011

I need to install a backup server in my work environment.We have a Windows 2008 server and an old DELL PowerEdge 1750 server that has no OS on it yet.I would like to install Fedora on it and then backup the Windows Server data on the Fedora server using rsync or something else to do the backups.Do you think it's a good idea ? If not what would you use to backup the Windows server data, preferably on a linux system.

View 12 Replies View Related

OpenSUSE :: Fog Disk Cloning Solution

Jun 14, 2009

just wanting to know if anyone has implemented Fog (fogproject.org) on openSUSE. We use it at work throughout our enterprise for reimaging machines and it works very well.

View 4 Replies View Related

OpenSUSE :: Amarok Won't Play / Solution For This?

Feb 16, 2010

I have just installed opensuse 11.2 and I am trying to get Amarok to work. I click on Coolstreams, click on my favourite station.

The toolbar tells me the music is playing (confirms the name of the song and other of its details) but there is no sound nor timer count.

Could a music playing plugin be missing ?

If so what is it?

View 4 Replies View Related

OpenSUSE :: Firefox Won't Load / Solution For This?

Jul 20, 2010

Firefox won't load. On clicking the icon in the plasma box the bouncing loading icon appears but after about 30 secs it disappears and nothing further happens.

I am running Suse 11.1. Not sure of the original version of FF! I have tried deleting it in Yast and reinstalling the latest version with the same result. It certainly used to work but as the machine is primarily a mail server, FF is not used much.

View 8 Replies View Related

General :: Solution For Using X And Windows Over Internet?

Feb 8, 2011

Macbook air as local in-hands computer, connected at home over 802.11G->Verizon FIOS 15mbit down/5mbit up fiber. Also sometimes from other connections fast (university) and slow (hotels etc).Dell poweredge 750 server remotely wired GbE through 25mbit down 15mbit up fiber

So far I've tried to just ssh -X poweredge and run X apps, redirecting them to my local X server on Mac OS X. This worked great from my university's connection (over wifi) but worked poorly at home. Apparantly X protocol is very sensitive to latency.. windows wouldn't accept button presses for instance, would have to click many times. I've heard there are X settings and SSH settings I can use to decrease latency - does anyone know more about these??? As far as security, all I actually care about is encrypting my pw as I log in. It's not a sensitive situation. I suppose a solution would be to set DISPLAY on the Linux box to my IP and port except that it often changes and I'm always behind firewalls (some that I can put holes in like home, some I can't like school)I've also tried VNC which works "ok"

When using windows, which I haven't tried yet, are my options to remote desktop over SSH and VNC over ssh (run VNC server on XP) - or are there any more? What's likely to work best?Looking for an answer to tweaking the latency and also any completely fresh ideas or suggestions of tools that may be better suited to this situation

View 1 Replies View Related

Ubuntu :: Can't Boot After Update / Solution For This?

Feb 6, 2010

So I just installed Karmic onto my netbook that used to have Jaunty on it. As usual I did a system update after the clean install finish. In that update it included a kernal update to 2.6.31.19. As far as I know the update went fine.So when I restarted, after the usual bios screen, it just freezes. Some gibberish comes up and nothing happens. I did a hard reset. Then when bios came up again, I chose boot option, and then clicked to boot from my hard drive. GRUB came up (finally) and I chose the old kernal and it booted fine.

Just for good measure I tried booting from 2.6.31.19 and the same strange freezing thing that I mentioned in paragraph two happened.

View 2 Replies View Related

Ubuntu :: Can't Login As Root / Solution For This?

Mar 14, 2010

PermitRootLogin is set to "yes" but I cannot login as root. Is there anything else to do?

View 6 Replies View Related

Ubuntu :: Solution For Best Download Experience

May 12, 2010

For some reason, my downloads on Windows are really slow no matter what download accelerator I use. I've tried IDM, FDM , DAP , DAM , Orbit , Supersonic , jDownloader - they all have some problem . Sometimes the files just halt and refuse to be downloaded.
Warning : Not For Advanced Users!
On Ubuntu though I have found a wonderful solution that sees me all the time maxing out my download connection and often exceeding it with absolutely no problems.

Here's the combination :
Aria 2 + Flashgot.
I will show you how to set it up, how to configure it and how to pause , resume downloads.
That's all one needs!

1. To get started , let's download Aria 2.
Fire up a terminal and enter
Code:
sudo apt-get install aria2

2. And now Flashgot : Install the add-on from this site: [URL]
Close Firefox

3. Now to choose Aria 2 as the default download manager
Open Firefox
Tools
Flashgot -> More Options -> General Tab and select Aria 2.

4. Now in terminal:
Code:
cd
mkdir .aria2
Now create a file called aria2.conf inside .aria2( which is a hidden folder can be viewed by pressing Ctrl+H in the Home Folder)
Code:
cd .aria2
gedit aria2.conf

5. Open the file and type split=100 on the first line. That does it . Now to download anything say for example a video from ..... : [URL] in the bottom right corner click the flashing icon ( Flashgot Media) or alternatively go to Tools->Flashgot->Flashgot Media

6. Your download will start after selecting a download folder. A window will open which will display progress. To Pause , press Ctrl+C.

7. To resume open History, navigate to the page and again click 'Flashgot Media'
The file will resume.

View 1 Replies View Related

Ubuntu :: Nexuiz Won't Start Up / Solution For This?

May 13, 2010

I just got a new graphics card. I got an Nvidia GeForce 8400 GS and its working great. Videos are a lot smoother and my overall experience is much better. I figured that I'd test my card to see if it can handle some gaming.

I installed Nexuiz but it wouldn't start. The screen would just flicker. I decided to see what pops up in the terminal and the error message that most pops up is: "Couldn't find matching GLX visual." Here is the full output. code...

View 4 Replies View Related

Ubuntu :: Chromium Crash / Solution For This?

May 29, 2010

Whenever i try to download anything from chromium, first downloading time just goes on increasing and after few seconds it crashes.
This problem is not there in firefox..

View 2 Replies View Related

Ubuntu :: Can't Open Compiz / Solution For This?

Jun 16, 2010

So I go into System -> Preferences but I can't find "Advanced Desktop Effects". It doesn't open either when I try it via terminal.

View 2 Replies View Related

Ubuntu :: Netbeans Crashing / Solution For That?

Jun 28, 2010

I Have probleme with Netbeans. I am Using Netbeans 6.8 and my operating system ubuntu 9.10 .I have probleme with netbeans it automatically crashing while i am working on that......,. I Downloaded Netbeans 6.8 from Netbeans website and installed. before crashing no error message is displayed.Daily I started Netbens and worked on that for some time after starting it works fine then some times it automatically crashed..

can u find solution for that

View 1 Replies View Related

Ubuntu :: 10.04 Very Slow Boot / Solution For This?

Jul 20, 2010

I have a Dell Workstation T3400, dual core 2.6Ghz CPU. Recently I upgraded UBUNTU from 9.10 to 10.04. After the upgrade, it takes long time to boot up. First shows a blinking hyphen, then a screens with options to enter configuration utility appears. Then says GRUB loading but again blinking hyphen stays for almost a minute. Finally, I get the log in screen after about 2 minutes.... I checked some other related posts but could not find any solution that worked for me.

View 2 Replies View Related

Ubuntu :: Bios Won't Open / Solution For This?

Nov 14, 2010

Went to open up the BIOS on my Dell and for some reason it won't go to the BIOS.
I've done it...like a hundred times before... tried...like fifty times...and it just goes to
windows.
Anyone have any thoughts?

View 1 Replies View Related

Ubuntu :: Mint Won't Boot / Solution For This?

Jan 16, 2011

Yes, I'm using Mint. It's practically the same as Ubuntu, but the Mint forums have much less people. Hear me out.

I'm dualbooting Win7 and Mint 10, each on their own disk. Mint will not boot. It was working fine a couple days ago, but now only Windows is working.

When I tried to boot Mint recovery mode some of the last lines were code...

I think that it could be a GRUB (GRUB 2) problem because when I booted up this morning GRUB did not have the 5-second timeout it was supposed to have. Minor things like this have happened to me in the past � once, by itself, it changed the default boot to memtest, and I had to change it back with the StartUp-Manager.

I would try using the StartUp-Manager or running sudo grub-mkconfig with my live CD, except that my live CD will not boot. The drive seems to be fine, because I just tested it with The Fellowship of the Ring.

The only thing I have changed recently (to my knowledge) is my CMOS battery, yesterday. Windows is working fine, and it can see the drive that Mint is on (meaning the drive IS connected and does exist!).

View 8 Replies View Related

Ubuntu :: Looking For Cheap Tablet Solution?

Feb 7, 2011

I'm looking for a cheap tablet to could possibly run Ubuntu with a price range of 50-140 euros, I've searched everywhere on the internet and didn't find much but some used ebay ones. Could ubuntu 10.10 run on an arm11 cortex chipset?

View 3 Replies View Related

Ubuntu :: Can't Move In Minecraft / Solution For This?

Feb 14, 2011

I'm trying out the old, free version of Minecraft, and I cannot seem to be able to move. If I press F9, I sometimes get an options screen, and sometimes not. I have F9 bound to scale in Compiz, though I had the same problem with Metacity. If I press any of the movement keys, I do not move, though I can use my mouse. I'm using sun-java6-plugin.

View 1 Replies View Related

Ubuntu :: Fan Doesn't Come On After Suspend In 10.04 / Solution For This?

Mar 27, 2011

This is my first post here, so I'm not really sure about what sort of responses I'll get. I'm actually sort of regretting the name I chose cause someone else uses it on another website and I can't seem to change it. But that isn't the real issue, so I'll get to the point.

I've had a problem with my Toshiba L355D running Karmic, and now Lynx, overheating for a while. It doesn't heat up as much as other peoples PC's that I've read about, where I've seen numbers like 100c, but it still is significant. When the computer comes out of suspend the fan setting is at its extreme lowest, and the computer, which has had it's bios updates and the kernel modules set to come on when it loads, don't seem to affect it.

The PC will continue to warm up until it reaches its emergency override when the fan comes on, about 80c, and then the temperature will drop, usually at a low of 50 to 60 if given space to cool and 62 to 72 if it sits on a bed. In windows it runs cool no matter what.

Now I love Linux so far since I converted a year ago, but I'm not happy about this. I can ignore other small things, cause Ubuntu hasn't failed me like how Vista did when it erased itself with disk cleanup or with updates causing it to be unable to start up. I can ignore the netflix problem, and WINE has made things easier in other ways, but this issue is the only one preventing my Ubuntu experience from being great. I've read about suspend bugs where Lynx doesn't suspend, but this isn't that, its that the fan controls don't work until the bios has to step in. I've tried to work with Toshiba Utils and still wasn't able to change it.

Is there a way to force the fan to come back on automatically after suspend? I don't mind it running loud if it protects the machine, I would prefer that it works at all.

View 8 Replies View Related

Ubuntu Installation :: Can't Upgrade To 11.04 From 10.10 / Solution For This?

Apr 17, 2011

I have spent 20 minutes looking and can't find the solution. I just installed 10.10 and want 11.04 now. Don't ask me why I didn't just install Natty Narwhal, but I didn't. Now, when I run the update manager, it does not mention the update to 11.04. So I run check, nothing. I open the settings, check every option I can because what the heck, and nothing.

View 4 Replies View Related

Ubuntu One :: System Getting Hanged / Solution For This?

May 9, 2011

I am a new user for ubuntu, recently i have updated to 11.04 version last week. When i kept my desktop idle for long time, the system goes down and it didn't wake up at all. I didnt change in the setting for screen saver and power management still. It is system default.

I didnt face this problem when i use version 10. Only the new version i am facing this.

Any solution for this?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved