Posts
 
Reputation
Joined
Last Seen
Ranked #69
Strength to Increase Rep
+11
Strength to Decrease Rep
-2
99% Quality Score
Upvotes Received
267
Posts with Upvotes
224
Upvoting Members
145
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
89 Commented Posts
7 Endorsements
Ranked #260
Ranked #117
~473.00K People Reached
About Me

General code-monkey and extreme metal drummer!

Interests
Drumming with Kinasis ( http://www.facebook.com/kinasis ) and teaching the drums.
PC Specs
Various ancient PC's running various GNU/Linux distros
Favorite Tags

669 Posted Topics

Member Avatar for vegaseat

Here are a few of my favourites: Life, loathe it or ignore it, you can't like it. - Marvin the paranoid android (Hitch Hikers Guide To the Galaxy). I'm not afraid to die, I just don't want to be there when it happens. - Woody Allen Either he's dead or …

Member Avatar for Reverend Jim
15
13K
Member Avatar for Duki

Currently drinking copious amounts of my own blood! blech! :icon_eek: Don't worry, it's not some wierd satanic thing :icon_evil: and it's not one of those emo-style :icon_sad: self-mutilation moments either....No it's much more mundane than that. I went to the dentist and had a tooth removed yesterday! :scared: :S Unfortunately, …

Member Avatar for Dani
22
17K
Member Avatar for Dani

To be honest, I haven’t distro hopped since Linux distros started moving from the venerable Gnome 2, to the frankly horrific Gnome 3. And have never really paid any attention to what’s happening on distrowatch.com. During my last big distro-hop I tried lots of different distros. I ended up using …

Member Avatar for Benjamin_17
0
147
Member Avatar for JasonHippy

OK, I have a very strange problem which recently started on my laptop (running Arch Linux) and it's got me really stumped! Basically my battery ran out whilst I was away from my laptop and it shut down... Which shouldn't really be a problem. But when I plugged my laptop …

Member Avatar for Stephen_46
0
2K
Member Avatar for agrbinoo.albaker

You are using the wrong operator in your if statements. You need to be using the == operator in your if statements, not the = operator! = is the assignment operator, used to assign a value to a variable. Whereas == is the test for equality. EDIT: In fact, the …

Member Avatar for braian44
0
726
Member Avatar for jozz3

You're quite close. You have a few errors in there. First off in main you're calling calculate, but you've defined the function as intCalculate. There's one straight off the bat. Also your for loop should be: [CODE] for i in intValues intAnswer += i [/CODE] NOT [CODE] for i in …

Member Avatar for Smartfitness33
0
8K
Member Avatar for Dani

@Dani: I started visiting less often around the time that all of the separate programming language topic forums were munged together. But this wasn't the cause of my decrease in activity. I'm more of an answers person. I come here to try and help others, rather than to ask questions. …

Member Avatar for happygeek
2
6K
Member Avatar for allen_1

There is no need to convert it to C. It is already C code. But it uses conio.h, which is a non-standard C extension that is not supported by all compilers. Remove the include for conio and remove the call to getch at the end and you're left with standard, …

Member Avatar for Sahil Singh
0
633
Member Avatar for Luigi_4

Depending on the actual content of myScript.sh, you might be able to use input redirection to use the file as input to the script: `./myScript.sh < /path/to/file` Or if file contains a list of file-names to search - you might be able to use xargs: `cat file | xargs ./myScript.sh` …

Member Avatar for JasonHippy
0
410
Member Avatar for sahilmohile15

From my understanding: Arrays are a thin wrapper on C style arrays. They can only contain objects of the same basic data-type, so they are more strongly typed - but they can only deal with numeric C-style data types. They are a lot more basic than lists or sets. Arrays …

Member Avatar for JasonHippy
0
310
Member Avatar for khess

[QUOTE=khess;1254689]Someone left a comment on one of my posts similar to, "Linux won't be popular on the Desktop until it runs [URL="http://www.microsoft.com"]Windows[/URL] applications." To which I silently responded, "Huh? and, "You've got to be kidding me." We have [URL="http://www.winehq.org"]WINE[/URL] for running Windows applications and it works reasonably well for those …

Member Avatar for subhankar_2
3
2K
Member Avatar for Nathan_6

> Of course, you need to restart bash after modifying ~/.bashrc. Actually you don't have to restart bash at all. You can re-load/re-source any of the changed config files in the running shell using the dot command ('.') which is a built-in. So after changing .bashrc, you can re-load it …

Member Avatar for Nathan_6
0
2K
Member Avatar for Ivzirnalsradeys

OK, so that's your homework. What part of it are you having a problem with? It's not too difficult. The instructions are pretty clear. It might help you to understand the algorithm if you indent the pseudo-code in the same way that you would indent C++ code: Input A C …

Member Avatar for aanyadsouza
0
1K
Member Avatar for Karthik_4

I'm not at all familiar with the nosetests package, I've never used it. And from taking a look at its man-page online, I can't see anything that mentions a --html-file option. However, I do know shell scripting. So here's a quick, simple shell-script to execute all .py files in the …

Member Avatar for Karthik_4
0
13K
Member Avatar for Erek4

.ttf files are basically just fonts. In order to be able to use them, what you need to do is install the font on your system and then you should be able to use the font in any application that uses system fonts to display text, be they office/openoffice applications …

Member Avatar for mcdonalds_1
-1
541
Member Avatar for ztdep

Looking at [the projects sourceforge page](http://sourceforge.net/p/libnurbs/patches/7/) there is a patch to get the program to compile on gcc 4.3. I suggest you download and apply that patch and see if it builds on gcc 4.8. In case you don't know, you can install the patch using the following command in …

Member Avatar for JasonHippy
0
397
Member Avatar for boomtifier

That looks a lot like Python code to me. I think the OP has misposted in the C section. To compound things, he seems to have a load of line numbers included in the code he posted. I've just cleaned it up. Here's the OPs original python code: """ withdraw_money() …

Member Avatar for boomtifier
0
3K
Member Avatar for vegaseat

As a native resident of the UK, I think floods and high-winds are about the worst of it. I live in Somerset, very near the levels which were badly affected by flooding earlier in the year. Luckily where I live we've been spared from any flooding so far. But I …

Member Avatar for ddanbe
3
570
Member Avatar for Sgo_1

First you'll need to install some form of Linux distro, then you need to install and configure Apache web server, MySQL (Or some other database engine) and PHP, before installing Wordpress on top of that! But the exact instructions would depend on how you plan to use your server and …

Member Avatar for rubberman
0
329
Member Avatar for DaveAmour

I listen to a lot of very different music, depending on my activity and my mood. Everything from classical, to blues/jazz/avante-garde, to pop, to hip-hop/electronica, to classic rock/metal/punk, right up to full-on extreme-metal and industrial/noise. Artists I listen to a lot, off the top of my head: Tool, Rush, AC/DC, …

Member Avatar for Aeonix
0
685
Member Avatar for DragonMastur

It's a nice start I suppose. There are a few bugs and other improvements that could be made here and there, to make it a bit more robust and more cross-platform. For starters, the biggest problem: You haven't included the listing for your PyEditorErrors module. That's a bit of a …

Member Avatar for DragonMastur
3
319
Member Avatar for lewashby

As the old xkcd comic says: "sudo make me a sandwich" The files you listed are all owned by root. So you'll need root privileges in order to change the ownership of the files. Depending on which distro you have installed, either use 'sudo' at the start of the command, …

Member Avatar for rch1231
0
335
Member Avatar for tony75

I'm not really familiar with volatility, but at a guess, I'd say that it wants you to specify a dump directory using the --dump-dir command line option. So I'd guess you'd need to add `--dump-dir /path/to/dump/dir/` or `--dump-dir=/path/to/dump/dir/` to your volatility procdump command (depending on how it takes parameters to …

Member Avatar for tony75
0
2K
Member Avatar for Ahmed_62

OK well, ignoring all of the usual niggly things in the code... Like the fact that main should return int and not void. And the fact that it makes programs much easier to understand if you have meaningful names for variables. etc etc. ad nauseum. The most obvious logical error …

Member Avatar for Ion_1
0
289
Member Avatar for rose_2

I had a problem a few days ago whilst messing around with JACK (Jack Audio Connection Kit), trying to set up a recording session with Ardour on my machine running Kubuntu 14.04 (which like Manjaro, uses KDE as its desktop environment ). Somehow something went screwy and suddenly sound stopped …

Member Avatar for JasonHippy
0
220
Member Avatar for anumash

Great post Schol-R-LEA, but I have one very minor correction: > An array is not a pointer; it is a regular variable, just one which names a block of values rather than a single value Actually, an array is implicitly a pointer, it can be considered to be a pointer …

Member Avatar for Schol-R-LEA
0
155
Member Avatar for iamthwee

Not by choice, no! At home I've been using Linux exclusively for a good number of years now and I don't see myself ever switching to a non POSIX/non unix-like system. At work, where I have to use Windows and I get no say in that; I do exactly what …

Member Avatar for iamthwee
1
225
Member Avatar for DavidB

I have a copy of 'version control with git' too. I also have 'pragmatic version control using git' by Travis Swicegood. Both are extremely good references for learning to use git. I like both books but IMHO, the 'pragmatic....' book is written in a more beginner friendly way. So you …

Member Avatar for iamthwee
0
389
Member Avatar for larin83109

Rubbermans suggestion is the best one for last line mode. But in command mode there are several methods of removing text other than using x. Assuming the cursor is placed under the first letter of the word you wish to remove; Other than using x, which removes a single character …

Member Avatar for larin83109
0
373
Member Avatar for Niloofar24

The easiest way would be to install a python game/media library like pygame, pyglet or pySFML and use that to play your mp3. There are plenty of other media libraries with python language bindings. Search your Linux distros package lists for one of the above python modules, or you could …

Member Avatar for Niloofar24
0
30K
Member Avatar for iamthwee

Nice find. Never heard of that one before! Will check it out at some point. Not done a lot of ruby programming. Would be a great excuse to give it another go!

Member Avatar for iamthwee
1
424
Member Avatar for parag.bhuyan.75

What do you mean you "cannot execute it separately"?? I understand you have added a module consisting of some .cc and .h files to an existing project. But exactly what are you having problems with? Are you having problems compiling? Or are you having problems actually using the functionality you …

Member Avatar for JasonHippy
0
281
Member Avatar for lewashby

If memory serves, there should be an example vimrc file at the following location: `/usr/share/vim/vimXX` (where XX is the version of vim installed) The file will be called something like `vimrc_example.vim`. This contains a sane set of defaults for vim, including auto-indent and syntax highlighting. You can copy that to …

Member Avatar for JasonHippy
0
163
Member Avatar for Niloofar24
Member Avatar for RikTelner

Take a look at this. Should tell you all you need to know know: http://cinnamon.linuxmint.com/?p=144 As for the clock, I have no idea. Could it be conky, with a custom theme? Can you post a link to the image you saw it in? Might yield more clues!

Member Avatar for RikTelner
0
158
Member Avatar for RikTelner

Another way would just be to run the file manager in the background like this: `name-of-file-manager ./ &> /dev/null &` Substitute name-of-file-manager for your file-manager of choice (nautilus, dolphin, thunar etc etc.) With the file manager running in the background, the terminal should still be reponsive. If you close the …

Member Avatar for JasonHippy
0
289
Member Avatar for RikTelner

If you want an example of creating a boot-loader, you might want to take a look at [MikeOS](http://mikeos.sourceforge.net) - a simple, open source 16 bit OS for x86 based systems, written in assembly. The site has a great tutorial [here](http://mikeos.sourceforge.net/write-your-own-os.html), which shows you how to create your own bootloader using …

Member Avatar for RikTelner
0
370
Member Avatar for verse.ability

After cleaning up your code by removing commented out code, extra whitespace and the redundant checks against hep in the if statements inside your switch statement, we are left with this: (NOTE: This is just what the code you posted above boils down to logically - I haven't fixed anything. …

Member Avatar for verse.ability
0
374
Member Avatar for morfious90

At the end of the day, it is your life and your decision. What do you want to do with your life and your career? There are a lot of career paths you could take. If you know what you want to do, or what areas you are particularly interested …

Member Avatar for mailman_2097
0
1K
Member Avatar for ~s.o.s~

Oh no! Really sad to hear that. I never met him in person, but like many members of the community, I've had a fair bit of interaction with him here on DW and elsewhere on the net. Mel was a top bloke. Extremely knowledgeable, friendly and always willing to help. …

Member Avatar for CodyOebel
2
792
Member Avatar for Borzoi

To enable syntax highlighting in nano you can do the following: Use ls to list the contents of /usr/share/nano `ls /usr/share/nano` This will give you a list of files with names like {filename}.nanorc. These are the syntax highlight modules that are available. Assuming you managed to find some syntax highlight …

Member Avatar for JasonHippy
0
1K
Member Avatar for Slavi

For me it has to be Crunchbang or Arch. That said, I'm currently using Kubuntu 14.04 on my main laptop. But I rarely log into a KDE/Plasma desktop session anymore. I spend most of my time using a dwm session instead! (dynamic window manager - a simple tiling window manager) …

Member Avatar for Slavi
0
507
Member Avatar for rose_2

Off the top of my head, a couple of obvious things to check are: 1. Is the script executable? I don't know how much you know about the Linux terminal commands, so apologies if you already know this; but you can determine whether the file is executable using ls: `ls …

Member Avatar for rubberman
0
195
Member Avatar for old_apache

It's so your server can serve pages over http and https/ssl. Port 80 is the default port for http traffic (in your case, you've redirected http to port 8080 on your server, which is fair enough). And port 443 is the default port for https. Typically on a dedicated web …

Member Avatar for old_apache
0
281
Member Avatar for it@61@sec

Or from the command-line you should simply be able to do this: find ./ -type l -execdir rm {} \; NOTE: The above will recursively find all sym-links in the current directory (and all sub-directories of the current dir) and remove them with rm. If you only want to find …

Member Avatar for it@61@sec
0
820
Member Avatar for HuePig

You could also create a singleton class to deal with storage and management of all of the textures for your game. The singleton should load a single copy of each texture used in the game. Either by loading all textures for the entire game at startup, or do it on …

Member Avatar for JasonHippy
0
167
Member Avatar for happygeek

Here's some great advice for Linux sys-admins who want to detect and block attempts by would-be attackers who are testing your servers for this bug, or who have already taken advantage of it: http://www.linuxbrigade.com/bash-shellshock-bug-find-youve-tested/ Even if your server has already been patched, it probably makes sense to block anybody who …

Member Avatar for Djmann1013
6
957
Member Avatar for Freddy Kreuger

It's almost certainly because you are using a mixture of `cin >>` and `std::getline` to get input from the user. You might want to consider changing line 17 to use getline because `cin >>` will only take everything up to the first newline or whitespace character. So if the user …

Member Avatar for NathanOliver
0
269
Member Avatar for Zyxl

Mathematics is the least of your worries if you are planning on using no libraries whatsoever. Especially where graphics is concerned! In C++ there is nothing in the standard library that can deal with graphics, so you would literally have to write everything yourself. You'd need to do a lot …

Member Avatar for Zyxl
0
748
Member Avatar for asarchit65

So let me get this straight.... From looking at your other threads, you intend to create a bunch of desktop GUI components for Linux using Visual Studio?? The good news is, if you want to create desktop components for Linux; you can do so, but you will need to have …

Member Avatar for Tcll
0
127

The End.