Announcement

Collapse
No announcement yet.

10 Print "Coding Thread": 20 Goto 10

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Getting all nostalgic now, remembering the old, old, old computer mags which came with GAMES.... that you'd TYPE IN YOURSELF! LOL.

    You'd spend half a day typing in a 15 page program only for the ****er not to work because you've messed up somewhere. No debuggers back then. And when you got something working, you'd then modify the code to see what you could do yourself.

    Happy days

    Comment


      #17
      I'm a web developer so I'm HTML,CSS, Javascript, MYSQL and PHP

      I really should try to brush up on my C++ as I'd love to try my hand at making games.

      Pointers make me wake up in a cold sweat though.

      "no.... anything but that... please no, NOT A NULL POINTER EXCEPTION NOOOOOOOOOOOO"

      Comment


        #18
        I much prefer application development to web development, even though you have complex web apps nowadays, I just find it an utter ballache coding web stuff. I'm crap at html and making stuff look good too.

        With application programming I enjoy the interface design and making sure everything works as well as possible, with web programming it just makes my blood boil.

        This is probably why I never applied for many developer jobs because its all bloody web development nowadays. Databases make me cower in fear still too.

        Comment


          #19
          Originally posted by Chain View Post
          Getting all nostalgic now, remembering the old, old, old computer mags which came with GAMES.... that you'd TYPE IN YOURSELF! LOL.

          You'd spend half a day typing in a 15 page program only for the ****er not to work because you've messed up somewhere. No debuggers back then. And when you got something working, you'd then modify the code to see what you could do yourself.

          Happy days
          i remember doing this on the zx81 on a pacman clone, changed the whole maze by changing one number. also remember typing in all day from a magazine, then knocking it and loosing it all, was so frustrating!

          Comment


            #20
            I started coding at home on my VIC-20 and pretty much went from there (via C64 and Amiga). I've been working as a coder for about 12 years now, I think. Pretty much exclusively C++, but with the odd bit of C# for tools and whatnot, plus occasional bits of assembly when needed. Did some Java at University in my final year (the language didn't actually exist until then ). I did my final year project in Java, in fact, which was a ZX Spectrum emulator (emulators are great fun to write, by the way, and a really good way to solidify your understanding of how hardware actually works).

            I've worked on a fair few games now, but my most recent shipped product was Sega Superstars Tennis. I was the lead coder on the DS version of the game. It's quite odd going from PS3/360 to DS but it's a fun little system to code for. Really makes you think about getting every drop of performance out of the hardware.

            Comment


              #21
              I did my dissertation in console development, and have dabbled in the past, a bit on DC using kallistios, and a bit on the GBA which I found a bit harder as my C skills weren't the greatest. Its amazing when you actually use the sprite hardware properly and the builtin gzip compression for sprite/tile data as you really see what the hardware is capable of.

              Comment


                #22
                um... I recently wrote a powershell script to send sms messages.


                And that's about it. I love powershell.

                Comment


                  #23
                  Well - this thread is going swimmingly

                  Comment


                    #24
                    Originally posted by JamesS View Post
                    emulators are great fun to write, by the way, and a really good way to solidify your understanding of how hardware actually works
                    Amen to that. I spent a few months writing a Bionic Commando emulator for DOS. Just watching the thing slowly coming to life from a bundle of binary data files was Frankensteinesque. And I got my name into MAME cos of it .... fairly proud of that.

                    I code for a living now, fairly dull stuff in C# and Java.

                    Comment


                      #25
                      I'm fairly new to coding, just started using C# at work in place of the old company owned toolset in the last few months after dabbling with it for a while on and off. Working in web development creating software for various investment banks so had lots to learn alongside C# like HTML / CSS and other bits like nvelocity. Never did computer science / IT at school / uni so it's been a bit of a jump but slowly getting there.

                      Comment


                        #26
                        I'll stick a question in here then.

                        I got a load of logs to display on a windows forms. I'm thinking ListView + double click to open and view.

                        There could potentially be quite a few so I was going to try and buffer them into the UI in chunks in an async method. So the app doesn't hang and the user can see the top few to start with.

                        I was going to either do:

                        Select *specific number of rows*, send back to UI each batch and loop until finished.

                        or

                        Select all and on each row coming in from the database fire an event to the UI and add it to the list.

                        Which way is best? Or perhaps another way?

                        Comment


                          #27
                          When you view the logs, do you get more details? If you do, when do you get this extra detail? Is it something that you're getting when you get the logs initially, or when you double click to view?

                          Do you need to get all of the logs? Or can you filter then perhaps on date, or...?

                          Comment


                            #28
                            First of all its actually MySql not MsSql. One of the only projects I've done in MySql.

                            Currently the data access layer will parse the Log result set into a log class for each row from the database. So yes all the details will come back. Its not really been a problem because the rest of the app pulls back like 100 rows max. Better to have structure than speed in my eyes.

                            I feel like I may have mislead a bit, the logs aren't going to be mega huge in the grant scheme. Maybe 10000-20000 from a really simple query and the log table will probably hold about 1 million - 2 million rows total, so it shouldn't take that long to process but this app could run on crappy desktops etc, including the database. Nobody likes it when an app hangs when pulling data

                            The logs will be filtered already by experiment (this project is for a science company). It would be easier to filter by time tbh as I think most of the logs will come from 1 day only, although an experiment can run for more than a day.

                            tbh I'd just hate to be the poor sod who has to try and read through 10000 log entries. Although that'll only happen if the experiment goes wrong.
                            Last edited by demon9k; 25-08-2009, 11:12.

                            Comment


                              #29
                              Anyone done any work with DirectShow or filter graphs?

                              Trying to change the aspect ratio of a stream which will be played with WMP. Tried using WPF as this has a built in stretch function but it won't display the video (just blank) although it plays the sound no problem. From what I've read WPF uses exactly the same backend as WMP so not sure why it doesn't display the video.

                              Comment


                                #30
                                Anyone able to help with the code for embedding giantbomb vids in vbulletin?

                                Here's the code for the gametrailers one. I tried modifying it for giantbomb, but I don't have the skills.

                                Code:
                                <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="gtembed" width="480" height="409">
                                <param name="allowScriptAccess" value="sameDomain" />
                                 <param name="movie" value=" http://www.gametrailers.com/remote_wrap.php?umid={param}"/> 
                                <param name="quality" value="high" /> 
                                <embed src="http://www.gametrailers.com/remote_wrap.php?umid={param}" swLiveConnect="true" name="gtembed" align="middle" allowScriptAccess="sameDomain" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="409"></embed> 
                                </object>
                                The important bit is the {param} bit which is what you put between the forum tags once created.

                                Looking at the embed code for giantbomb it seems to need two separate bits of info and I'm not sure how to do this (example of embed code below)

                                Code:
                                <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="640" height="360" id="gb_player" align="middle">
                                            	<param name="allowScriptAccess" value="always" />
                                            	<param name="allowFullScreen" value="true" />
                                            	<param name="movie" value="http://www.giantbomb.com/video/video.swf" />
                                            	<param name="quality" value="high" />
                                            	<param name="flashvars" value="paramsURI=http&#37;3A//www.giantbomb.com/video/params/1434/?w=1">
                                				<param name="videoURI" value="http://media.giantbomb.com/video/vf_ilovemondays_092809.flv">
                                            	<param name="bgcolor" value="#000000" />	
                                            	<embed src="http://www.giantbomb.com/video/video.swf" quality="high" bgcolor="#000000" width="640" height="360" name="gb_player" align="middle" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="paramsURI=http%3A//www.giantbomb.com/video/params/1434/?w=1" />
                                            	</object>

                                Comment

                                Working...