Be a Supporter!

ScreenShot of you programming :)

  • 5,735 Views
  • 203 Replies
New Topic Respond to this Topic
Craige
Craige
  • Member since: Jul. 17, 2004
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to ScreenShot of you programming :) 2007-01-25 21:08:21 Reply

At 1/25/07 08:50 PM, RageOfOrder wrote: So I decided my archive tool was doing more than it needed to, and wasn't working right

So I scrapped it and started over in C, instead of C++ :)

"One of my most productive days was throwing away 1000 lines of code." -- Ken Thompson

RageOfOrder
RageOfOrder
  • Member since: Aug. 30, 2002
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to ScreenShot of you programming :) 2007-01-25 21:21:06 Reply

At 1/25/07 09:08 PM, Craige wrote:
At 1/25/07 08:50 PM, RageOfOrder wrote: So I decided my archive tool was doing more than it needed to, and wasn't working right

So I scrapped it and started over in C, instead of C++ :)
"One of my most productive days was throwing away 1000 lines of code." -- Ken Thompson

Haha, well it's true.
I already have this version working better (less functionality, more correctness) and it looks much cleaner too.
And all I had to do was throw out 243 lines of code

I figured out why my C++ version was going fucknuts on me too...
Null terminators in the headers for other files. When you store them as a C++ string, they lose everything after the \0

So I was getting bits and pieces of files, instead of the whole thing :)

thoughtpolice
thoughtpolice
  • Member since: Mar. 24, 2003
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to ScreenShot of you programming :) 2007-01-25 22:42:40 Reply

I prefer the message this turkish proverb gets across:

"No matter how far down the wrong road you’ve gone, turn back."


omg.
Playstation Network tag: muffin-noodle
the empty set

RageOfOrder
RageOfOrder
  • Member since: Aug. 30, 2002
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to ScreenShot of you programming :) 2007-01-26 00:59:54 Reply

Well I finished my archive tool :)

For now, anyway.
There's still some issues with write-protected files, etc, but otherwise it works with any filetype.

http://img144.imageshack.us/img144/6840/snaps hot005na0.jpg

And the source:
here
Or, the pastebin version, here

Comments, anyone?

Craige
Craige
  • Member since: Jul. 17, 2004
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to ScreenShot of you programming :) 2007-01-27 13:45:49 Reply

At 1/27/07 01:14 PM, VictoryGin wrote: Since I couldn't be bothered to read all 6 pages to check if someone had already written it, here is the keys to take a screenshot on Mac OS X:

- Command-Shift-3 - takes a shot of the screen.
- Command-Shift-4 - drag out the area you want to be screenshotted.
- Command-Shift-4-Space - hover your cursor over any open window to take a shot of just that window. The window will turn faintly light blue so you can tell which one.

Hope this helps.
-Tom

Thanks for that, however I'm sure if somebody entered a topic called "ScreenShot of you programming", odds are they know how to take a screen shot on their operating system.

blah569
blah569
  • Member since: Jan. 18, 2005
  • Offline.
Forum Stats
Member
Level 25
Programmer
Response to ScreenShot of you programming :) 2007-01-28 02:39:15 Reply

I used to use regular old notepad, because I hate all the extra features :P. But NotePad++ looks awesome, except how do I change the background color to black ^-^?

Anyway, http://img187.imageshack.us/img187/7958/submi tqs6.png ;D


BBS Signature
RageOfOrder
RageOfOrder
  • Member since: Aug. 30, 2002
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to ScreenShot of you programming :) 2007-02-02 17:33:25 Reply

At 1/28/07 02:39 AM, blah569 wrote: I used to use regular old notepad, because I hate all the extra features :P. But NotePad++ looks awesome, except how do I change the background color to black ^-^?

Anyway, http://img187.imageshack.us/img187/7958/submi tqs6.png ;D

Use Vi :D

Left side: Java Web Server
Right Side: NCA archive tool
http://img489.imageshack.us/img489/9077/snaps hot010vw6.jpg

Jordan
Jordan
  • Member since: Apr. 23, 2006
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to ScreenShot of you programming :) 2007-02-02 17:37:07 Reply

At 2/2/07 05:33 PM, RageOfOrder wrote: Left side: Java Web Server

Java Webserver = Awesome.

I wish i was as good as you with Java >:)

Where did you learn Java?

RageOfOrder
RageOfOrder
  • Member since: Aug. 30, 2002
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to ScreenShot of you programming :) 2007-02-02 18:29:13 Reply

At 2/2/07 05:37 PM, Jordan wrote:
I wish i was as good as you with Java >:)

I'm not really that good with Java, just forced to use it a lot.

Where did you learn Java?

School. They introduce comp-sci with Java, and so subsequent classes assume you love it.

To be honest, that webserver was my first use of sockets ever. We were given a pretty meaty skeleton to work with on this one.

I'd be happy to give you the source if you want. It's nothing fancy.

blah569
blah569
  • Member since: Jan. 18, 2005
  • Offline.
Forum Stats
Member
Level 25
Programmer
Response to ScreenShot of you programming :) 2007-02-03 01:10:28 Reply

I'm back to regular old notepad... best script editor I've seen yet :P.


BBS Signature
thoughtpolice
thoughtpolice
  • Member since: Mar. 24, 2003
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to ScreenShot of you programming :) 2007-02-04 00:33:12 Reply

I'm still working on my loadit project, and now I've gotten use to using *just* emacs for all my stuff. Editing, compilation, shell commands, shell SESSIONS, I do it all now in a full-screen emacs window. It's getting very comfortable, really. I need to get down the version control keys, since that would mean I could invoke SVN from Emacs. It doesn't have integration for darcs yet afaik, so that's really the only thing I have to do that I can't do in emacs (darcs for my local repo.)

Here's a screen of me doing so (full screen):

http://img220.imageshack.us/img220/4356/scree nry5.png


omg.
Playstation Network tag: muffin-noodle
the empty set

RageOfOrder
RageOfOrder
  • Member since: Aug. 30, 2002
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to ScreenShot of you programming :) 2007-02-04 02:30:40 Reply

At 2/4/07 12:33 AM, thoughtpolice wrote: Here's a screen of me doing so (full screen):

http://img220.imageshack.us/img220/4356/scree nry5.png

heh... You should be working on my archive app, not me :P

Probably take you half the time, a quarter of the effort :)

thoughtpolice
thoughtpolice
  • Member since: Mar. 24, 2003
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to ScreenShot of you programming :) 2007-02-04 04:56:56 Reply

At 2/4/07 02:30 AM, RageOfOrder wrote: Probably take you half the time, a quarter of the effort :)

Believe it or not I'm tempted to go ahead and throw away all this code I've already written. It's clunky and hard to work with, and I figure with a little more effort I can design a much better library (there're several limitations I've seen that would require too much effort to change by hand.) I mean, 800 lines isn't that much code. So a rewrite would probably be more beneficial (see Ken Thompson's quote.)

At least now I can use Bakefile's more reliably with my code (tried adding them in, didn't work to great, bakefile-made makefile's generated different binaries than my regular Makefiles. If I rewrite this can be avoided.)


omg.
Playstation Network tag: muffin-noodle
the empty set

RageOfOrder
RageOfOrder
  • Member since: Aug. 30, 2002
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to ScreenShot of you programming :) 2007-02-04 13:27:38 Reply

At 2/4/07 04:56 AM, thoughtpolice wrote:
At least now I can use Bakefile's more reliably with my code

I have a big Makefile template I just modify to any specific project. That way all my code is never IDE-dependent (I don't develop using "projects" in IDEs) and I know where the problem lies if something goes wrong.

RageOfOrder
RageOfOrder
  • Member since: Aug. 30, 2002
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to ScreenShot of you programming :) 2007-02-05 21:34:09 Reply

I finally got around to starting my SuperStore simulation in Java (ugh).
Hopefully my prof doesn't give me shit for all the one-line methods...
It's just too annoying to drop all those { } to new lines for a single operation.

Also, I'm starting to actually like using Vi over any graphical IDE.

http://img148.imageshack.us/img148/688/snapsh ot014xg2.png

Jordan
Jordan
  • Member since: Apr. 23, 2006
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to ScreenShot of you programming :) 2007-02-07 17:26:20 Reply

Not really programming... but here's my DeskTop.

RageOfOrder
RageOfOrder
  • Member since: Aug. 30, 2002
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to ScreenShot of you programming :) 2007-02-07 17:38:14 Reply

At 2/7/07 05:26 PM, Jordan wrote: Not really programming... but here's my DeskTop.

Wow... Lots of icons...
.And you sure are liking those desktop characters eh?

Jordan
Jordan
  • Member since: Apr. 23, 2006
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to ScreenShot of you programming :) 2007-02-07 17:39:32 Reply

At 2/7/07 05:38 PM, RageOfOrder wrote: .And you sure are liking those desktop characters eh?

Yeah... Lol. They are quite cool.

RageOfOrder
RageOfOrder
  • Member since: Aug. 30, 2002
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to ScreenShot of you programming :) 2007-02-07 18:01:00 Reply

So I'm working on my Superstore simulation in Java for my Object Orientation class...
The prof is of course big on object hierarchy and ADT layers...
So I have a lot of redundant code written so far...

travis@rez ~/java/74215/A2/Q2 $ ls |grep .
Arrival.java
Cashier.java
Customer.java
Event.java
Node.java
People.java
Queue.java
Register.java
Test.java
data1.txt
data2.txt
data3.txt

And thats not all :D
I still have to write
"StartCheckout.java"
"ShiftCompleted.java"
"Departure.java"
"ChangeLineup.java"
and finally "Main.java"

It's due on friday, think I can do it?
http://img100.imageshack.us/img100/1319/snaps hot016fs5.jpg

1337er-than-you
1337er-than-you
  • Member since: Aug. 27, 2005
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to ScreenShot of you programming :) 2007-02-07 18:05:23 Reply

Programming Desktop

amaterasu
amaterasu
  • Member since: Mar. 7, 2004
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to ScreenShot of you programming :) 2007-02-08 00:01:24 Reply

At 2/7/07 06:05 PM, 1337er-than-1337 wrote: Programming Desktop

what graphical overlay do you have running?


beep

BBS Signature
Craige
Craige
  • Member since: Jul. 17, 2004
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to ScreenShot of you programming :) 2007-02-08 00:22:54 Reply

Okay, here you go.

RageOfOrder
RageOfOrder
  • Member since: Aug. 30, 2002
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to ScreenShot of you programming :) 2007-02-08 01:21:47 Reply

At 2/8/07 12:01 AM, amaterasu wrote:
At 2/7/07 06:05 PM, 1337er-than-1337 wrote: Programming Desktop
what graphical overlay do you have running?

It's just windowblinds with one of the included skins.

Jordan
Jordan
  • Member since: Apr. 23, 2006
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to ScreenShot of you programming :) 2007-02-08 07:11:53 Reply

At 2/7/07 06:05 PM, 1337er-than-1337 wrote: Programming Desktop

I love your theme, i hate your resolution. Wanna play ET somewhen?

Mister-Mind
Mister-Mind
  • Member since: Jul. 1, 2006
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to ScreenShot of you programming :) 2007-02-08 07:57:46 Reply

At 2/8/07 07:11 AM, Jordan wrote:
At 2/7/07 06:05 PM, 1337er-than-1337 wrote: Programming Desktop
Wanna play ET somewhen?

Entertainment Tonite with Mary Hart?!

1337er-than-you
1337er-than-you
  • Member since: Aug. 27, 2005
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to ScreenShot of you programming :) 2007-02-09 21:46:10 Reply

lol, sure jordan

Jordan
Jordan
  • Member since: Apr. 23, 2006
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to ScreenShot of you programming :) 2007-02-09 22:38:51 Reply

At 2/9/07 09:46 PM, 1337er-than-1337 wrote: lol, sure jordan

Rofl, i just played for 3 hours in a server called NoobHeaven. They had unlimited adrenalyne so i was just PWNING the other players. Loads of them thought i was a bot lol.

RageOfOrder
RageOfOrder
  • Member since: Aug. 30, 2002
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to ScreenShot of you programming :) 2007-09-10 03:52:27 Reply

We need to bring this topic back :D

So here's me testing my app for the Programming Challenge thread

http://omploader.org/vM3Bo/snapshot23.pn g

Sir-Davey
Sir-Davey
  • Member since: Jul. 9, 2001
  • Offline.
Forum Stats
Supporter
Level 19
Blank Slate
Response to ScreenShot of you programming :) 2007-09-10 07:14:33 Reply

When this game hits Newgrounds, I suspect it will be a big hit. Never before has a Flash game been taken to such levels. You will see :)

http://www.ngup.net/view.php?file=MeProg ramming


BBS Signature
glomph
glomph
  • Member since: Jun. 16, 2005
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to ScreenShot of you programming :) 2007-09-10 13:17:23 Reply

At 9/10/07 07:14 AM, Sir-Davey wrote: When this game hits Newgrounds, I suspect it will be a big hit.

What is it called?
Do you know how many lines of code so far or is it all classes and stuff all over the place.


I have done the deed. Didst thou not hear a noise?

BBS Signature