Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~5K People Reached
Favorite Tags
Member Avatar for BLUEC0RE

Hey Guys, I am trying to figure out how Linux determines whether an object in directory is a file or folder. There's got to be a property (I am guessing in Stat) that Linux references from which lets it know quickly. It's hard to find information on google because when …

Member Avatar for shibblez
0
558
Member Avatar for BLUEC0RE

I got it to run but for some reason they incorrectly implemented the "chown" call. Here are some examples of how it is implemented in their test scripts: chown ${n0} 123 456 (where path is first) -u 65534 -g 65532,65531 -- chown ${n0} -1 65532 (where options are set before …

0
107
Member Avatar for BLUEC0RE

Hey guys, I hate asking this but unfortunetly, Google does not know how to interpret "|" and probably assumes its an OR command or something :P . The line goes as follows (source found [URL="http://pysnippet.blogspot.com/2009/11/fuse-filesystem-in-userspace-part-1.html"]http://pysnippet.blogspot.com/2009/11/fuse-filesystem-in-userspace-part-1.html[/URL] here): [CODE]st.st_mode = stat.S_IFDIR | 0755[/CODE] I know it's doing something about the mode being …

Member Avatar for BLUEC0RE
0
149
Member Avatar for BLUEC0RE

Hey guys, I'm tinkering around with the fuse-python bindings and I can't seem to grasp how to run the example xmp.py from the library package (xmp.py is located here: stuff.mit.edu/iap/2009/fuse/examples/xmp.py). Looking at a lecture slide from MIT (located here: stuff.mit.edu/iap/2009/fuse/fuse.ppt), on slide 33, it shows the command line invoking of …

Member Avatar for BLUEC0RE
0
127
Member Avatar for BLUEC0RE

Hey guys, I tried joining a game of SC2 and that with my music play and my Ubuntu-box going, I guess it was a perfect storm as my computer just died. Upon regaining the helm, I went to command prompt and noticed it is much different. I cant describe it …

Member Avatar for caperjack
0
156
Member Avatar for BLUEC0RE

My original plan was to pipe "ls -l", get the permission string that represented the file in question. Translate the string of 'r's 'w's 'x's '-'s into 0s and 1s then convert it from binary to octal. This seems really cumbersome and annoying and I gotta figure there is some …

Member Avatar for BLUEC0RE
0
171
Member Avatar for BLUEC0RE

My program has a function that reads in information until it hits a designated character, takes the text just before that character, does something with it, and then comes back for more text starting at that designated character. So... Special character is: 'z' Text file: "This is a lot of …

Member Avatar for WaltP
0
176
Member Avatar for BLUEC0RE

Kind of programing in general question but I'm doing it in c so I'm posting in the c forum. My class is dealing with VCards and my prof talks about a process call "unfolding". I have no clue what this means so can anyone give a quick briefing or point …

Member Avatar for MosaicFuneral
0
74
Member Avatar for BLUEC0RE

**CHANGE PANELS IN TITLE TO Grid Layout I first want to apologize for filling the board with a noob question but I don't know how to phrase my question on google. So here we go! My prof has us working on GUI programming. I am trying to split up my …

Member Avatar for BLUEC0RE
0
86
Member Avatar for BLUEC0RE

I am looking to make my code more abstract so I dont need to repeat the same code. I am storing objects two different classes in the same arraylist. When searching, I need to check ahead of time to see if the entry in question is of a certain class …

Member Avatar for BLUEC0RE
0
136
Member Avatar for BLUEC0RE

I'm having an issue with my program when taking in a string. I have two variables (ones for testing), char xpr[50] and char tst[50]. xpr gets it string by fgets --- fgets(xpr,50, stdin); tst gets it value by strcpy --- strcpy(tst, "((1 + (2 * 3))*(2*3))"); when prompt, I put …

Member Avatar for BLUEC0RE
0
94
Member Avatar for BLUEC0RE

I have numbers represented as chars (eg. '11.27') I want to type cast it to a double but im getting "pointer value used where a floating point value was expected". Any ideas?

Member Avatar for BLUEC0RE
0
64
Member Avatar for BLUEC0RE

I'm making a program that accept 1 character long strings (and ignores spaces " ") until a user presses return/enter. So far I have, [CODE] int main(){ char expression[1]; while ((scanf("%s",expression)) != EOF){ //code } return 0; } [/CODE] it is assumed that the user is entering single digit strings …

Member Avatar for gerard4143
0
2K
Member Avatar for BLUEC0RE

Hey! I started using java this year and I finished a java project but when I try moving it somewhere else in my directory it does not execute anymore. My project directory tree goes like this (I am using eclipse)... (ignore the "-") /Root - /bin -- JavaProgram.class -- JavaProgramMain.class …

Member Avatar for BLUEC0RE
0
222
Member Avatar for BLUEC0RE

Hey guys, I am having a problem. When loadPref is executed, it opens, reads, and saves properly. But it crashes shortly after when the system call system("cls") happens. I do not understand why, any help? I removed most of the code that is not involved. Tests / Outcomes Removing loadPref …

Member Avatar for BLUEC0RE
0
636
Member Avatar for BLUEC0RE

I posted a couple of days ago about this subject but I have a more specific question about programming with music in c. My main question is that are the ID3v1/ID3v2 tags universal for ALL music files or are there a specific tags I should be checking for, for a …

Member Avatar for jephthah
0
119
Member Avatar for BLUEC0RE

Hey guys and gals, I just wrapped up my first year of University CS and I feel like tackling my first personal project. My program will need to read in the mp3 title, artist, and album of many mp3 tags. My problem is that in class I only dealt with …

Member Avatar for BLUEC0RE
0
119