• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Java came in handy today!

I'm in my second year of programming in school and haven't had any real use for Java, but today I did 🙂

DeviousTrap IMed me that he needed a list of commands real quick, for 99 users. I decided to not type it manually.

I got the list of users, formatted each like a string should be seperate by commas using the replace all command

Then I made a string array and a for loop. the loop just outputted what I needed with the user's account name there. I got all 99 commands done within 10 minutes including making the program, formatting list of users, and e-mailing the commands to him

😎
 
Couldn't that have been done faster and easier with a shell script?

I fail to see why java is essential in this equation.
 
Originally posted by: apac
Couldn't that have been done faster and easier with a shell script?

I fail to see why java is essential in this equation.

oh dang, i have no clue

All I know is I made it simpler than what I was going to do

I don't have shell access 😛
 
Originally posted by: AgaBoogaBoo
Originally posted by: apac
Couldn't that have been done faster and easier with a shell script?

I fail to see why java is essential in this equation.

oh dang, i have no clue

All I know is I made it simpler than what I was going to do

I don't have shell access 😛

Bzzzt you fail your compsci essentials exam. Go learn linux 😉.
 
Originally posted by: apac
Originally posted by: AgaBoogaBoo
Originally posted by: apac
Couldn't that have been done faster and easier with a shell script?

I fail to see why java is essential in this equation.

oh dang, i have no clue

All I know is I made it simpler than what I was going to do

I don't have shell access 😛

Bzzzt you fail your compsci essentials exam. Go learn linux 😉.

:thumbsdown:
 
Originally posted by: StormRider
Sounds like something Perl would have been good to use too.

I think Perl isn't used as much now, especially the past few years because of PHP

I know that around 96/97, Perl was used far much more
 
Originally posted by: AgaBoogaBoo
Originally posted by: StormRider
Sounds like something Perl would have been good to use too.

I think Perl isn't used as much now, especially the past few years because of PHP

I know that around 96/97, Perl was used far much more

Kinda sad since I like Perl alot. But it also makes me want to learn PHP a bit and see how it compares.
 
heh i remember using Java to generate some irsim (chip design stuff) inputs for an assignment. would have sucked to do that by cut/paste
 
Back
Top