Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 38 of 38
Search took 0.01 seconds.
Search: Posts Made By: Silicon_Pudding
Forum: Bash / Shell Scripting Mar 15th, 2007, 4:45 PM
Replies: 3
Views: 475
Posted By Silicon_Pudding
I need the -w option to keep the 000 spaces in...

I need the -w option to keep the 000 spaces in front of the number. Is there another clean way to do this?
Forum: Bash / Shell Scripting Mar 15th, 2007, 1:41 AM
Replies: 3
Views: 475
Posted By Silicon_Pudding
Help with this code

ITERATE=240
for COUNT in `seq -w 1 $TOTAL`
do
OTHER=$(($COUNT*2))
... more stuff
...
done

The problem I am having is that I can't figure out how to multiply COUNT by 2. In this example since...
Forum: Bash / Shell Scripting Feb 17th, 2007, 11:12 PM
Replies: 5
Views: 491
Posted By Silicon_Pudding
Thanks for the help. Normally I would test it,...

Thanks for the help. Normally I would test it, but I'm borrowing a friend's comp so no Linux. :( Just trying to do the best without
Forum: Bash / Shell Scripting Feb 17th, 2007, 12:30 PM
Replies: 6
Views: 596
Posted By Silicon_Pudding
Thanks, this is exactly what I was looking for.

Thanks, this is exactly what I was looking for.
Forum: Bash / Shell Scripting Feb 17th, 2007, 12:21 PM
Replies: 5
Views: 491
Posted By Silicon_Pudding
is n a variable? I don't want n to be predefined,...

is n a variable? I don't want n to be predefined, but calculated at run time.

I apologize for deleting the original post
Forum: Bash / Shell Scripting Feb 17th, 2007, 11:47 AM
Replies: 5
Views: 491
Posted By Silicon_Pudding
Zero padding

How can I add zero pad a number based on a variable length so that the length of the number is always the same?
Example:
00004
00023
34243
Always has a length of 5 with zeros added in when...
Forum: Bash / Shell Scripting Feb 17th, 2007, 11:19 AM
Replies: 6
Views: 596
Posted By Silicon_Pudding
yes. i'm using bash. I want to read in multiple...

yes. i'm using bash.

I want to read in multiple arguments of unknown length.

I found one way that uses a loop with the argument count $#, then uses a case statement to evaluate $1, and then shifts...
Forum: Bash / Shell Scripting Feb 16th, 2007, 9:57 AM
Replies: 6
Views: 596
Posted By Silicon_Pudding
what is the best method for reading in arguments?

what is the best method for reading in arguments? How do you guys usually do it?

For example if I had stuff like -r 432 -t -i 5435 etc.
Forum: C++ Feb 8th, 2007, 4:12 PM
Replies: 4
Views: 289
Posted By Silicon_Pudding
thanks. i've been looking over the jpeglib the...

thanks.

i've been looking over the jpeglib the past week, but there are so many questions i have about it. is anyone familiar with libjpeg?
Forum: C++ Feb 3rd, 2007, 3:30 PM
Replies: 4
Views: 289
Posted By Silicon_Pudding
JPEGs in C++

How can I load a jpeg into an bit array or matrix? Are there any libraries out there that you could recommend? I assume it would be too complex to start from scratch.

Thanks
Forum: Coder's Corner Lounge Jul 4th, 2006, 11:57 AM
Replies: 26
Views: 586
Posted By Silicon_Pudding
nah just a quick 2 minutes a day I started a...

nah just a quick 2 minutes a day

I started a nation about month ago. There's not much to it and the descriptions get pretty dull.
Forum: Community Announcements and Feedback Jul 4th, 2006, 11:55 AM
Replies: 79
Views: 1,686
Posted By Silicon_Pudding
Mmm Navigation on the left is better

Mmm Navigation on the left is better
Forum: Coder's Corner Lounge Jun 29th, 2006, 10:47 AM
Replies: 15
Views: 423
Posted By Silicon_Pudding
The question you should be asking yourself is "Do...

The question you should be asking yourself is "Do I like cubicles?"
Forum: Coder's Corner Lounge Jun 21st, 2006, 9:52 AM
Replies: 6
Views: 226
Posted By Silicon_Pudding
Anyone know of a good tutorial or place of reference for Fedora?

Anyone know of a good tutorial or place of reference for Fedora? I just dual booted my laptop with Fedora and I'm looking for a good tutorial. I've been reading random articles, but I'm just looking...
Forum: Python Jun 21st, 2006, 9:50 AM
Replies: 12
Views: 343
Posted By Silicon_Pudding
I found this article very helpful as an...

I found this article very helpful as an introduction to pyparsing.
http://www.onlamp.com/pub/a/python/2006/01/26/pyparsing.html

I think there is enough documentation to get started with.
Forum: Python Jun 20th, 2006, 11:14 AM
Replies: 15
Views: 415
Posted By Silicon_Pudding
Thanks for the help. Didn't have access to a...

Thanks for the help. Didn't have access to a computer last weekend
Forum: Coder's Corner Lounge Jun 15th, 2006, 7:30 PM
Replies: 53
Views: 1,148
Posted By Silicon_Pudding
I agree. There should be some kind of ban on...

I agree. There should be some kind of ban on French people.


It's all about self-promotion. There are tons of developers out there these days. It's all about standing out. You can also try asking...
Forum: Coder's Corner Lounge Jun 15th, 2006, 5:47 PM
Replies: 53
Views: 1,148
Posted By Silicon_Pudding
It's all about connections. Talking to people is...

It's all about connections. Talking to people is more effective than just sending your resume. At least that worked for me :)
Forum: Python Jun 14th, 2006, 10:38 PM
Replies: 15
Views: 415
Posted By Silicon_Pudding
Is there a method for specifiying the file and a...

Is there a method for specifiying the file and a program other than the associated one?
Forum: Coder's Corner Lounge Jun 14th, 2006, 2:28 PM
Replies: 80
Views: 1,541
Posted By Silicon_Pudding
I wouldn't download Vista even if it were free....

I wouldn't download Vista even if it were free. You know in the end Microsoft will just find a way to screw you.
Forum: Coder's Corner Lounge Jun 13th, 2006, 9:33 PM
Replies: 39
Views: 997
Posted By Silicon_Pudding
10+ is impressive.

10+ is impressive.
Forum: Coder's Corner Lounge Jun 13th, 2006, 7:54 PM
Replies: 39
Views: 997
Posted By Silicon_Pudding
How many computers do you own?

How many computers do you own?

And also what OS are they running?
Forum: Coder's Corner Lounge Jun 13th, 2006, 7:50 PM
Replies: 10
Views: 290
Posted By Silicon_Pudding
English is the best language to learn. It's the...

English is the best language to learn. It's the most popular.
Forum: Python Jun 13th, 2006, 12:54 PM
Replies: 15
Views: 415
Posted By Silicon_Pudding
How would you perform this in Linux?

How would you perform this in Linux?
Forum: Coder's Corner Lounge Jun 13th, 2006, 11:41 AM
Replies: 17
Views: 425
Posted By Silicon_Pudding
Thanks for the information :)

Thanks for the information
:)
Forum: Coder's Corner Lounge Jun 13th, 2006, 10:51 AM
Replies: 4
Views: 138
Posted By Silicon_Pudding
Never heard of Stockton, but Cali rocks! Have fun...

Never heard of Stockton, but Cali rocks! Have fun moving
Forum: Python Jun 13th, 2006, 12:23 AM
Replies: 15
Views: 415
Posted By Silicon_Pudding
Thanks

Thanks
Forum: Other Programming Languages Jun 13th, 2006, 12:13 AM
Replies: 12
Views: 317
Posted By Silicon_Pudding
Personally, I prefer the O'reilly books. I've...

Personally, I prefer the O'reilly books. I've read a couple of their reference books and found them pretty useful, but I haven't read any of their learning books though. That may be why.
Forum: Python Jun 13th, 2006, 12:00 AM
Replies: 15
Views: 415
Posted By Silicon_Pudding
Question: Calling other progs

I have a question about how to have a script call other progs (ie Word, Excel) and executing them. Can anyone point me in the general direction?
Forum: Paid Job Offers Jun 12th, 2006, 6:08 PM
Replies: 31
Views: 987
Posted By Silicon_Pudding
sorry. I appologize for that

sorry. I appologize for that
Forum: Paid Job Offers Jun 12th, 2006, 5:33 PM
Replies: 31
Views: 987
Posted By Silicon_Pudding
I agree. It's a lot easier reading a book than an...

I agree. It's a lot easier reading a book than an eBook. I always free prefer buying a hardcopy, just because I can highlight it and use it as a quick reference in the future.

On the other hand, the...
Forum: Community Introductions Jun 12th, 2006, 3:01 PM
Replies: 14
Views: 370
Posted By Silicon_Pudding
Thanks :)

Thanks :)
Forum: Community Introductions Jun 12th, 2006, 2:14 PM
Replies: 14
Views: 370
Posted By Silicon_Pudding
Hi my name is Robin. 14 yr old girl. *hawt pic*

Haha

Not quite what the title says. I'm a 20 year old guy who enjoys witty comments. I've been programming for about 6-7 years. I started off with html and javascript/php. From there, I learned...
Forum: Python Jun 12th, 2006, 11:13 AM
Replies: 12
Views: 343
Posted By Silicon_Pudding
Thanks. I was planning on looking into that or...

Thanks. I was planning on looking into that or PyGgy (awesome name).
Forum: Python Jun 12th, 2006, 11:03 AM
Replies: 12
Views: 343
Posted By Silicon_Pudding
So... Any recommendations? That list probably has...

So... Any recommendations? That list probably has the most recent ones.
Forum: C++ Jun 12th, 2006, 10:52 AM
Replies: 18
Views: 390
Posted By Silicon_Pudding
Thumbs up For efficiency reasons, you shouldn't rely on...

For efficiency reasons, you shouldn't rely on max() and min() functions. It's not a big deal for a simple piece of code like this, but if you're worried about overhead, simple "if" statements are...
Forum: Python Jun 12th, 2006, 10:41 AM
Replies: 12
Views: 343
Posted By Silicon_Pudding
Those are text editors. Parser generators...

Those are text editors.

Parser generators identify the grammar structure. These are parsers: http://wiki.python.org/moin/LanguageParsing

I don't really know much about them. That's why I'm looking...
Forum: Python Jun 12th, 2006, 10:00 AM
Replies: 12
Views: 343
Posted By Silicon_Pudding
Python Parsers

What Python parser would you guys recommend?

Thanks.
Showing results 1 to 38 of 38

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:53 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC