Programming :: Perfect Example Of Improvements In C/C++ Source Coding?

Sep 11, 2010

[URL]...In this bug, you'll see that I actually fixed my own problems that surfaced when building GNOME Shell from source.

View 1 Replies


ADVERTISEMENT

Programming :: The Perfect Javascript Tutorial Or Book?

Jul 30, 2011

I'm looking for javascript tutorials or books that meets the following criteria:

1. Very thorough: Starts with the most fundamental concepts and progresses logically from basic to advanced concepts, without skipping over important ideas for the sake of expediency.

2. Lots of small practice exercises that parallel the concepts and syntax being learned.

I've looked at a lot of tutorials, but they all tend to be lacking in one of these areas or the other.

View 1 Replies View Related

Programming :: Unzip The *.bz2 File Using Php Coding?

Nov 29, 2010

Below is my code to create *.bz2 file.

<?php
//Moving file to temporary directory for compression
move_uploaded_file($_FILES["file"]["tmp_name"],"c:/" . $_FILES["file"]["name"]);
$url="c:/".$_FILES["file"]["name"];
//File compression

[Code]....

Anyone know, how to unzip the file ? I've tried the above code to unzip it but it creates only 1kb of file for any files.

View 3 Replies View Related

Programming :: Get Perfect And Complete Way To Start Developing FW Application?

Jan 11, 2011

I would like to get help from experts who are experienced in the area of Linux network programming to help me to choose the proper way to create a special Firewall program.I do start reading WinSocket and tending to start BSD. I don't want to start with an API like winsock then stuck. So please, I do need a way to accomplish all features such as capturing, dropping or allowing all kinds of LAYERS as well as Intrusion detection.I am a good programmer in C++ but I am new for linux.So, what is the best Linux OS to install and start with and which is the best way to accomodate C++.

View 1 Replies View Related

Programming :: Coding A Sniffer Program For Windows ?

Feb 11, 2010

What sort of libraries can i use for coding of sniffer program for windows and linux? The sniffer that i want to code is for capturing the list of connected clients to AP wirelessly. I do know that the wireless NIC needs to be in 'monitor' mode in both windows and linux.

View 4 Replies View Related

Programming :: Coding Dilemma: Build Application With PHP Framework?

May 7, 2009

I've been a PHP developer for about 6 years now - the last two years I have been pretty inactive though. Just recently though, I have been reading resources on all the different programming patterns (Factory, Singleton, Registry, Observer, MVC, etc) to try and get my head around good programming techniques. For myself though I find that I can only truly understand how these methods work when I am forced to do them myself.I have a large project I am doing at my workplace (me only) that involves building a very complex PHP application.

I would like to know your professional opinion; should I spend the extra time to program this PHP application myself and really, properly learn all these different programming patterns? Or, should I just build on top of a PHP framework like the Zend Framework for speed's sake (and flexibility/features)?

I have found understanding exactly how the Zend Framework works hard, just because I haven't been exposed to using these programming patterns myself. I hate that - I want to fully understand exactly what is happening in my application and know exactly how each part relates to others.

View 2 Replies View Related

Programming :: Java Coding To Use Call The Bash Script?

Oct 31, 2010

i am using front end as java and back end RHEL5.i am trying to calling a bash script with java. but i am facing problem.i am using following java coding to use call the bash script

import java.util.*;
import java.io.*;
public class b

[code]....

View 4 Replies View Related

Programming :: C Coding Hacking / Ssh Dynamic Local Port Forwarding Implementation?

Feb 3, 2010

From this thread I've decided to try add a feature of removing local port forwardings in ssh.Here are some very ugly and not-yet working hacks what I made so far:

* Patch for channels.c
* Patch for channels.h
* Patch for clientloop.c

I was clearly expecting this to work without any troubles-everything seem to be logically correct, but I made a programming mistake somewhere: don't know where, maybe you will point me to this?Many sites say there is a WAY AROUND with -D param(starting socks proxy as a tunnel-generator), added since 5.2, but I don't need that way around. I need a way through. I use exact ports for exact services and if I want to change it runtime I'd like to have ability to do so.If you have other ideas or points instead of coding this, please share them here & here(original question).

View 2 Replies View Related

Programming :: Parse Error "in C:wampwww$_GET" In Php Coding

Jan 23, 2011

there is some error... Parse error: parse error in C:wampwww$_GET ewget.php on line 11

<?php
function create_hashing(){
$url = 'url';
// $urls = $_GET["url"];
$urls=$_GET["$url"];
if (isset($_GET[$urls]))
//Start MD5 Hash Generator\
$pass2=$_GET["$urls"];
[Code]...

View 1 Replies View Related

Fedora Servers :: Install Kqemu To The The Performance Improvements?

Jun 15, 2009

The kvm and qemu packages are integrated into a single package, but this doesn't mean qemu is integrated into the kernel now in any way does it? I should still install kqemu to the the performance improvements, right?

View 8 Replies View Related

Ubuntu :: Can't Find A Page That Lists What Improvements Were Made Over 10.04lts?

Oct 12, 2010

can't find a page that lists what improvements were made over 10.04lts bugs fixed, etc. My problem is scanner / print software 10.04 found my printer and prints fine. Unless there is a power outage. Then I have to manually enter in the sometimes new URL. Because 10.04 does NOT actively rescan for the printer.

But none of the software actuates the scanner. signal is sent to scan, but never actually scans and retrieves the image. Using a Epson NX515 scanner / printer all in one. Found a page on the web that supposedly has drivers etc for this, but not sure I should try to download and install. Tried all scan software listed in the Ubuntu software center none work.

View 1 Replies View Related

Ubuntu :: Backing Up The Perfect System?

Oct 23, 2010

have you ever set up the perfect ubuntu , all the softwares,games,libs,customizations... and wanted to back it up so if anything happens in the future you could just go back to "perfect one" ?

View 1 Replies View Related

Ubuntu :: Create A Perfect Copy Of HDD?

Feb 20, 2011

i want to create a perfect copy of my HDD. I have ubuntu and windows on here. I want to make it so that i can boot off an external HDD, and it will start up the GRUB menu, and all my files etc. will be the same on each OS as they were on the internal. is there a good way to do this?

View 3 Replies View Related

Ubuntu :: Almost Perfect Update To 9.10 Except Sound

Nov 1, 2009

After many troubles with an update, I did a clean install if 9. 10 64-bit and it seems to work really well. First thing I did, was install the restricted codec and Tweak. using tweak I added Chromium and VLC. Then I right-click the speaker icon and un-muted the system. I then opened the Sound preference and in the hardware menu and disabled the Internal Audio and the R700 Audio Device. The Sound Blaster Live Value card is the only one highlighted..the Setting is "Analog Surround 5.0 Output". But still no sound!! When I did a fresh install of 9.04 the sound was automatically installed and I got the start up drum sound but nothing now. Kinda frustrating considering everything else seems to work fine compared to others even feels a little better than 9.04 but the sound thing is not cool.

Here is the terminal output for aplay -l:
Code: **** List of PLAYBACK Hardware Devices ****
card 0: Live [Dell Sound Blaster Live!], device 0: emu10k1x [EMU10K1X Front]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Live [Dell Sound Blaster Live!], device 1: emu10k1x [EMU10K1X Rear]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Live [Dell Sound Blaster Live!], device 2: emu10k1x [EMU10K1X Center/LFE]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 0: ALC889A Analog [ALC889A Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 1: ALC889A Digital [ALC889A Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0

View 9 Replies View Related

General :: Perfect Networking Configuration?

Aug 4, 2010

How can i be perfect in Linux networking configuration?

View 2 Replies View Related

Software :: What Is Perfect Rsync Command

Jun 9, 2011

The requirements are:
SystemA must be 100% Identical to SystemB no matter what rsync runs into: symlinks, same size files with different dates, directories that no longer exist... etc.
What is your perfect rsync command?

View 2 Replies View Related

OpenSUSE Multimedia :: Setting Up 24/96 Playback - Bit Perfect

Jan 25, 2011

I'm looking to find a way to ensure that what I'm hearing from my computer is Bit Perfect, and can also play 24/96khz files.

Audio on Linux has always confused me, so I'm not entirely sure where to start. So if we were to say I'd be starting from a fresh install of OpenSUSE 11.3, where would I have to go to achieve my goal with an M-Audio Audiophile 24/96 Sound Card (ICE1712 Chipset)?

View 4 Replies View Related

Ubuntu :: Puppy Popped Perfect Partitions?

Feb 9, 2010

Ok, this is not a matter of life or death for me. I am just an experimental geek. I had a three partition HD originally, one blank, one with my home directory and one empty one. Then, I used unetbootin and put puppy on my empty partition. Now, puppy works, but I wantt a way to switch. I can reinstall, I just want a way of having several linux OS's on a hard drive.

View 2 Replies View Related

Ubuntu :: Running Really Slow With Sys Requirements Perfect?

Jul 27, 2010

my ubuntu laptop is running very slowly, it was running fine until I rebooted it then it has stayed really slow. It takes 7minutes to boot and crashes alot, most of the time it takes a good 3 mins to open anything,

View 2 Replies View Related

General :: Best Choice For Perfect Package Manager?

Apr 6, 2011

Anyone who has been in the world of Linux for more than a minute knows there is a good deal of choice when it comes to package manager. What is your package manager of choice and why? Why do you prefer to use RPM/dpkg/apt-get/yum/pacman/emerge/<insert random package manager here> over others out there?

View 2 Replies View Related

Ubuntu :: Ping - CPU - Memory - Coding ?

Aug 3, 2011

I am writing a script that will ping a server and then do a command if it gets a ping that is less than 100ms or more than 100ms. Basically, I need to have a variable for the ms.

Here is an example script.

Code:

Now, all I need to do is get a variable from the ping. I know I can do this:

Code:

But that just sets the whole line, I only want the ping, without "ms" at the end.

So basically, if I ping 25.25.25.25 and get 43.872 ms I want $pingms to equal 43.872.

Also, how can I do this with free, for example:

Code:

I want $ramavail to equal the amount available and I want $ramtotal to equal the total amount.

View 5 Replies View Related

General :: Coding Of Packet Sniffer ?

Feb 24, 2011

I want coding of packet sniffer that runs on red hat and use c++ language.

View 2 Replies View Related

General :: Color Coding Within Directories

May 13, 2011

Yes it's me again, about to ask a foolish question.I've ran man on this commands, but they don't make any reference to their color, nor is it mentioned in the Bible. As I go through such as /sbin what does the color of the commands mean, like arch is green, awk is blue, and then there is those that have a red background such as cgexec?Then I go into /etc and then there's yum.repos.d there is no man for it, so I typed it in and got "command not found", so then I went in SU mode and "vi yum.repos.d and I get "yum.repos.d" is a directory,No such file or directory. So just what is yum.repos.d, I thought this is where I add more repositories.

View 3 Replies View Related

General :: Does NS2 Support Channel Coding

Jun 15, 2011

I was asked to do a project on channel coding with different techniques. FEC, ARQ and Hybrid. Does NS2 support such coding?

View 2 Replies View Related

OpenSUSE :: SUSE Would Be Perfect If It Used Debian Package Mangement

Oct 19, 2009

The more I use openSUSE 11.2, the more I love it. Today, I tried another highly recommended KDE4 distro, and while it was nice, I immediately recognized that the excellent integration and refinements SUSE includes are very much to my liking. openSUSE is nearly perfect for me in every way -- except one. The package management continues to leave me baffled.I was hoping I would eventually learn to like it as much as Synaptic, aptitude/apt-get and the other tools on Debian-based distros. But the more I read, the more I am questioning whether I will ever like it.I'm now fairly convinced that Debian-based package management is the gold standard. (Of course, I'm just going on what I have read. I'm far from expert, and I'm hoping to get educated by posting questions like this one.)

But I doubt I will find a distro that is equal to openSUSE in every way except that it uses Debian-based package management. (I wish such a distro existed.)So, if I have to live with YaST, zypper, RPMs, etc., how can I learn to have the best experience with the least amount of investment? Low investment is important because if I really wanted to invest the time to become more of an expert in operating systems, package management, etc., I would probably just jump to Arch Linux and KDEmod and enjoy a rolling release. Or maybe Gentoo, etc. What I like about openSUSE is that it just works. It works out of the box. Except for package management.

deal with the initial setup of all the stuff on another (Debian-based) distro that isn't to my liking or that just doesn't work, and then thereafter enjoy that distro's good package management..have a great out of the box experience and the overall nicest initial OS experience I ever remember, but live every day with a package management system that isn't up to what I experienced under Ubuntu.Quote from the link above: It is almost unfair to include Red Hat in the same category as Suse because, frankly, Suse makes Red Hat look like geniuses. I don't know why a company which can create arguably the most attractive and professional looking distribution available in the Linux world has such a godawful package manager.

View 9 Replies View Related

Ubuntu Multimedia :: Renoise Works Perfect But No Other App Has Sound

Feb 8, 2010

Recently I installed Renoise demo and followed their install instructions from the Renoise 2.1 quickstart guide. It said if you get any errors to do the following:

Configuring Realtime Threads:
If you get a warning message when you start Renoise, read this section. To allow Renoise to create realtime threads, which are required for low latencies with ALSA or JACK, you have to
edit the /etc/security/limits.conf file. A realtime kernel does NOT help here, it does not set the required options automatically! To enable RT thread creation via PAM open the /etc/security/limits.conf file in a text editor as root (or sudo). Then somewhere near the end of the file add:

YOURUSERNAME - rtprio 99
YOURUSERNAME - nice -10
Replace YOURUSERNAME with your username. You can discover this with the 'whoami' command.
Alternatively you could also create a group named "Audio", add your user to that group, and use '@Audio'
instead of 'YOURUSERNAME'.
Save the file. Log Out. Login. At this point it should be working. To verify that it works, launch Renoise, select ALSA and make sure the 'Realtime threads' option is on. You will get a friendly warning like the one above. If RT creation failed. Try again.

Jack Configuration
If you don't have "Jack Control (JACK Audio Connection Kit)", we recommend that you install it.
Jack Control allows easy Audio/MIDI routing with an intuitive GUI. On Ubuntu:
$ sudo apt-get install jackd qjackctl
Now you can start it from [Applications] -> [Audio] -> [Jack Control].
Click the "Setup" button, and set following values:
Change the "Priority" value to 89. (If you use realtime kernel, also add check mark beside "Realtime")
Change the "Periods/buffer" value to 3 or more.

In addition, please configure latency and other settings according to the needs of your system. Now I don't have sound where and when I used to, for example: songbird no longer plays sound tho it plays the track and no sound in web browsers aswell, like ..... plays but no sound. It has to be something simple because audio for everything was fine until editing that one file and installing that audio jack program.

View 1 Replies View Related

CentOS 5 Networking :: Setup A Perfect Server 5.5 With IPv6 Only

Mar 1, 2011

I have a he.net ipv6 tunnel account and a manage to pass all the test to sage mode, but with debian 6.

I would like to have a step-by-step setup of centos 5.5 with iRedMail 0.7, but for only ipv6.

IP6TABLES
iRedMail with LDAP
DHCP for ipv6 (optional, just wanted to see the config)

Can't seem to add jpg files.

View 1 Replies View Related

Ubuntu :: Gedit Has Not Been Able To Detect Character Coding?

May 6, 2010

I recently downloaded Metasploit framework for ubuntu but i got an error which says could not open <file location>

Saying gedit has not been able to detect the character coding. Check that you are not trying to open a binary file.Select a character coding from the menu and try again

View 9 Replies View Related

General :: Reed Solomon Coding In Cdroms?

Apr 4, 2010

I am trying to see how programs for cdroms use reed-solomon coding. I looked in the site lxr.linux.no , but couldnt get anything there, too much details present.

View 2 Replies View Related

General :: Regarding Coding Multi Threaded Applications In C/C++?

Jun 15, 2010

writing multi threaded programs in C,C++.

View 3 Replies View Related







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