OS-tan Collections

Lounge => General Computers and Gaming => Topic started by: Dr. Kraus on June 14, 2011, 02:52:21 pm

Title: Programming?!
Post by: Dr. Kraus on June 14, 2011, 02:52:21 pm
I happen to be pretty good at programming in C# but I'm still in the learning phase.

I wanted to know if anyone around here was also a programmer or amateur programmer like myself or if anyone was willing to learn to programming in C#, Java, VB (cake walk, I'm taking a class on it this upcoming school year), or C++? I was thinking of making a Windows Phone app for OSC and then expanding off that and making a large assortment of apps for Windows Phone and Xbox360! 

Would anyone be willing to endeavor on this journey of programming with me?
Title: Re: Programming?!
Post by: NejinOniwa on June 14, 2011, 03:04:54 pm
Programming hax is interesting, but I've always leaned on my clone to do that...he's prolly a bit rusty, but I think he knows Java, VB and C+/++ or something.

Personally, zero skill, not very interested in gaining such. Ganbare tho!
Title: Re: Programming?!
Post by: Bella on June 14, 2011, 03:19:07 pm
I's like to learn some basic programming (well, not BASIC programming) but I can never find good "for beginners" texts. It's like, everything I've ever turned up is either for middle school children or computer science grad students. And usually it doesn't seem worth it, since most of my interest in learning programming languages involves working with vintage systems and emulators... -w-
Title: Re: Programming?!
Post by: Alex_Reetz on June 14, 2011, 03:47:41 pm
i used to do visual basic and c++ when i was in high school.

i always wanted to make a desktop buddy of my 7-tan design.

*snuff*

forever alone
Title: Re: Programming?!
Post by: Penti-chan on June 14, 2011, 04:18:08 pm
The only programming I have ever done is MS-DOS batch files. I remember I planned on devoting one summer to learning QBasic, but I never got around to it
Title: Re: Programming?!
Post by: Dr. Kraus on June 14, 2011, 04:30:59 pm
Quote from: Bella on June 14, 2011, 03:19:07 pm
I's like to learn some basic programming (well, not BASIC programming) but I can never find good "for beginners" texts. It's like, everything I've ever turned up is either for middle school children or computer science grad students. And usually it doesn't seem worth it, since most of my interest in learning programming languages involves working with vintage systems and emulators... -w-


MSDN is your friend then!

http://msdn.microsoft.com/en-us/

Just choose what you want to program for and they give you everything you need to start out and for free! :D
Title: Re: Programming?!
Post by: SleepyD on June 14, 2011, 05:12:47 pm
I may not have majored in computer science, but I did take a minor in it while I was doing my engineering bachelor's.
I may be a bit rusty but languages I work in are mostly OO: C, C++, Java, Python. I also have minimal experience with Javascript and SQL. Never have worked with apps though, but I'd be willing to learn if you were able to get me working. (sorry, I can be lazy and/or distracted ^^; )
Title: Re: Programming?!
Post by: Dr. Kraus on June 14, 2011, 05:27:11 pm
Windows Phone 7 Apps are programmed in both XAML and C#, XAML being REALLY easy to pick up on and the same with C#!

I was going to take a Computer Science class at my school next year but had to move it back to my senior year due to a conflict with my English Class and the teacher who teaches the class isn't going to be there teaching next year so I'll just have him senior year.
Title: Re: Programming?!
Post by: Chocofreak13 on June 14, 2011, 08:34:07 pm
i don't know code......but i've always wanted to learn.....and if i intend to have my own site, i NEED to learn.....

so thankyou for the site :3
Title: Re: Programming?!
Post by: Dr. Kraus on June 15, 2011, 01:27:10 am
Quote from: Chocofreak13 on June 14, 2011, 08:34:07 pm
i don't know code......but i've always wanted to learn.....and if i intend to have my own site, i NEED to learn.....

so thankyou for the site :3


Your very welcome!

Also, you should defiantly learn some HTML if your going to start up a site, you can just Google search for "HTML Tags" and everything will be given to you. Also, you can just compile a basic website using notepad and saving it as;

Code Select
index.html

If you want help with anything don't hesitate to ask, I may not know everything but at least you can tackle the problem with another point of view!

Again, I suggest XAML to start out with because all you need to really type to place anything on the screen is something like this:

Code Select

<!--ContentPanel - place additional content here-->
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<StackPanel>
<Button Width="200" Height="150" Name="FirstButton" Content="Tap" />
</StackPanel>


Then you NEED to go into the C# code for it and place a "handler" where when you tap the button on the phone it will display "Tap Again" and then revert back to "Tap" continuing in an endless loop!
Title: Re: Programming?!
Post by: svx on June 15, 2011, 02:19:15 am
I'm sad with the current state of programmers!

Sad for them, that is.  I feel like a lot of wasted talent is being propagated from a lot of the colleges and universities these days, because the lessons that are taught seem to revolve around paradigms that are a bit tricky.  It's easy to teach the way they're teaching, but the people being taught are learning things that they shouldn't be taught!

It really feels like up-and-coming programmers are being taught to focus on readability more than functionality when they program.  The whole "your code is only good if I can read it" thing...  I think that's one of the reasons that object-oriented languages are so popular these days (one of, but definitely not all of).  And object oriented design in general being as prolific as it is, too; it's like a technology religion

All of you guys going to school to learn to program must take my advice and learn to program in ordinary old C during your free time. You must because I demand it!  Even though C++ is going to be in wider demand from employers solely because they think it "saves time" or whatever, learning just plain C will force you to become good at programming... There are certainly enough apps that use 200+ MB of memory floating around these days, but many of those same apps could be using 4 MB and run on a 386 had the programmers who coded them understood the underlying mechanisms of their chosen language(s) and how to avoid the traps the language designers laid out!

"IMO, good C++ code is better than good C code, but bad C++ can be much, much worse than bad C code" - John Carmack (id software)

THIS HAS BEEN A PUBLIC SERVICE ANNOUNCEMENT BY SVX
COHERENCY SUPPLY HAS BEEN EXHAUSTED
LOOK FORWARD TO NEXT QUARTER'S COHERENT STATEMENTS
Title: Re: Programming?!
Post by: SleepyD on June 15, 2011, 04:27:42 am
hm. I'm a product of that university system of programming.

I do think that readability is pretty important, particularly when I'm faced with a huge program someone wrote 20 years ago and that someone no longer works there. 

Granted, I do see your complaint. OOP languages are definitely prone to using tons more memory and resources than they should be. In the rush to finish school projects and submit them on the deadline, memory issues are hardly ever a priority. "Just get it to work." is the mantra of many students. Alas, due to the inevitable procrastination, by the time they get it working, there is barely enough time to debug, let alone try to find all the memory leaks.

And to your chagrin, I imagine, my university CS101 class no longer teaches C. They have now moved to C++. With AP CS classes in high school teaching Java, you are now looking at a generation that knows ONLY object oriented programming.  (As for me personally, I programmed in C only in CS101 and in my robotics programming class. With robots, memory was definitely an issue.)
Title: Re: Programming?!
Post by: Pitkin on June 15, 2011, 05:45:59 am
I learnt an infinitesimally small amount of BASIC as a child, and minored in CS at university. Learnt the basics of Java and html and was quick to forget them too. I tried to take courses involving C and C++ but couldn't make a Hello World with those. >< Not really interested in programming, however (x)html felt like something usable in the future, if I just got around to php as well. ._.
Title: Re: Programming?!
Post by: Red-Machine on June 15, 2011, 10:25:02 am
I've done a bit of BASIC in my time.  Wrote a small "what number am I thinking of"-type game on my C64 once.

I'm also quite well versed in DOS and the Windows command prompt.
Title: Re: Programming?!
Post by: Dr. Kraus on June 15, 2011, 01:00:21 pm
@svx: I agree fully with you on your argument! My friends brother, whom is getting his masters at CMU this upcoming school year and works as a programmer for Microsoft during the summer, would surly agree fully with you as well. Last time I talked to him about programming, he said that he started out on C and stayed with it for quite some time until moving onto C++ (I have his C++ book from our school, lol), C# and Java and said that it was one of the most important languages he learned because it changed his entire prospective on programming fully. Hell, this guy was taught C, C++, and Java all at the same time by a Harvard professor in high school then passed the AP test with a 5 (highest score), full ride to CMU majoring in programming and that same Harvard professor whom taught him the previous year became the programming teacher at CMU where this guy got to be his teachers aide because he had already taken the class in high school! So C programming will get you places in life ;D

@Sleepy: So true, our AP CS class used to teach C, C++, and Java all within one year (as I mentioned above) but now its all just Java with the teacher being pretty awesome and doing a little C++ here and there. He also makes you program with the hole punch cards if you do bad on a test >:D

@Pitkin: I've only tryed a bit of C++ and it was pretty difficult for me at first but I've gotten a little better at it, you need to just grind it into your mind >:D

@Red: DOS and cmd FTW!
Title: Re: Programming?!
Post by: Bella on June 15, 2011, 01:32:43 pm
Quote from: Dr. Kraus on June 15, 2011, 01:00:21 pmHe also makes you program with the hole punch cards if you do bad on a test >:D


I would SO be failing those tests.
Title: Re: Programming?!
Post by: Dr. Kraus on June 15, 2011, 01:45:37 pm
Only you would bella, only you would! You sit there for a week punching holes into note cards, go up to him to show him what you made, your off by a centimeter on one of the holes and then he tells you to go back and do it all again.

Also, you only raise your test score by 10%.
Title: Re: Programming?!
Post by: svx on June 16, 2011, 01:40:10 am
And another thing is,

you can use it as a hat.

Programming can be worn as a hat.

I pioneered this
Title: Re: Programming?!
Post by: Dr. Kraus on June 16, 2011, 11:55:15 am
Quote from: svx on June 16, 2011, 01:40:10 am
And another thing is,

you can use it as a hat.

Programming can be worn as a hat.

I pioneered this


Well, I'M THE MAN WHO'S GOING TO BURN YOUR HOUSE DOWN! WITH THE LEMONS!
Title: Re: Programming?!
Post by: svx on June 16, 2011, 01:57:34 pm
Quote from: Dr. Kraus on June 16, 2011, 11:55:15 am
Well, I'M THE MAN WHO'S GOING TO BURN YOUR HOUSE DOWN! WITH THE LEMONS!


Hahaha, my favorite quote ever! I want a Portal III so bad :p
Title: Re: Programming?!
Post by: svx on June 16, 2011, 11:36:40 pm
Man, after a stint of playing Shadow of the Colossus and Ico again...

I've got to say, Team Ico are definitely some of the best programmers in existence.  They have to be

I jelly, I don't think I could come close to making something like that run on a PS2...

Though, John Carmack could probably make it run on an iPhone or something
Title: Re: Programming?!
Post by: Simonorged on April 03, 2013, 10:26:52 am
GTCO Sketch Master Graphic Digitizer LCD-1212 drivers can you help me find some
Title: Re: Programming?!
Post by: alfonso_rd_30 on April 04, 2013, 02:45:49 am
personally, back in COBACH I did learn some pascal and basic and C, but have since long forgotten it... but I'm now using aObject based environmet to do some limited Programs
Title: Re: Programming?!
Post by: Goujer on February 27, 2016, 01:12:05 pm
Has anyone else heard of this? Because I can not stop giggling at the thought of walking into my first programming job and seeing a bunch of ducks.
http://www.rubberduckdebugging.com/
Title: Re: Programming?!
Post by: Bella on February 27, 2016, 06:44:21 pm
Quote from: Legojer on February 27, 2016, 01:12:05 pm
Has anyone else heard of this? Because I can not stop giggling at the thought of walking into my first programming job and seeing a bunch of ducks.
http://www.rubberduckdebugging.com/


My CS department gives each student a rubber duckie. I have two on my desk right now.
Title: Re: Programming?!
Post by: Goujer on February 28, 2016, 11:20:38 pm
I wish my CS department did that.

I'm planning on hiding a rubber duck wearing a ski mask behind my room mates computer as my next gag gift for him.
(http://cdn.churchm.ag/wp-content/uploads/2011/12/hacker-stock-photo-2.jpg)
Title: Re: Programming?!
Post by: Goujer on February 15, 2017, 10:42:17 am
I need somewhere to outlet this and Twitter won't do and the Apple Support Forums seems like an odd place to do it so here I am.

Over the past couple of months I have been messing around with my PowerMac G4 MDD and Leopard. I'm sort of a huge compatibility nut so it bugs me that Leopard never really supported Classic. So I've tried to change that.

I have figured out a way to redirect library calls to different libraries within libraries and executables. I've finally found a way to get around the standard errors and "Nothing should be calling this anymore" outputs, but now it is crashing with zero output and I'm not sure what to do.

Basically I think my next step is to use a debugger like GDB and step through the calls as I try to start Classic/TruBlueEnviornment up. Does that sound like a legit strategy or am I on the wrong track?
Title: Re: Programming?!
Post by: Bella on February 19, 2017, 01:15:42 pm
What are you trying to do, Le-Goujer? OS programming type stuff?
Title: Re: Programming?!
Post by: Goujer on February 20, 2017, 01:47:15 pm
I guess the end goal would be modifying the Mac OS X system calls to allow for Mac OS 9 or lower programs to operate in Mac OS 10.5
Title: Re: Programming?!
Post by: Bella on February 22, 2017, 01:03:24 am
That's over my head as far as programming goes... it sounds very interesting though. How'd you learn this? In an academic setting or just messing around on your own?
Title: Re: Programming?!
Post by: Goujer on February 22, 2017, 11:18:47 am
Well I took machine architecture and we went over basic machine code and assembly hacking. Surprisingly basic hacking was an part of that class. I learned that strings and library paths are stored in executable code just strings. You can edit these strings to make the program say something funny or change the path to a library file to a different one. This works as long as the edited binary has the exact same permissions and size in bits.

I think I picked up most of this browsing around forums for hacking early versions of Mac OS X. Surprisingly no one has ever tried redirecting library calls in Leopard to Tiger libraries to try and get the Classic environment working.
Title: Re: Programming?!
Post by: Bella on February 26, 2017, 10:46:18 pm
That's really cool! I wish we'd gone over stuff like that in my computer architecture class, it was a joke. :(
Title: Re: Programming?!
Post by: Goujer on February 27, 2017, 12:06:17 am
We had this thing called the bomb lab that really taught how to analyze compiled code. But of course that was x86 PowerPC is a completely different thing.
Title: Re: Programming?!
Post by: Goujer on June 08, 2017, 07:42:00 am
I have a friend who now works at Apple and has found the parts of the source code for Mac OS X that I would need to get Classic running on Leopard but he can't give it to me for obvious reasons.

I also started a little side project at work where I'm trying to make an offline version of Barcode Kanojo, it's good Java practice and some of my assembly skills come in handy when the decompiler fails.
Title: Re: Programming?!
Post by: Bella on June 09, 2017, 01:19:35 am
Dude, that sounds awesome!

As for myself: been doing DB programming at work lately. Definitely a big change from what I'm used to but interesting nonetheless.
Title: Re: Programming?!
Post by: Goujer on June 25, 2017, 01:14:25 am
I wish I was doing programming at all at work. It seems like the higher ups are contemplating so much that they can't decide what to have me do. For the time being I'm doing data entry, which I made a script do for me so now I'm way ahead of schedule and I'm stuck twiddling my thumbs and spinning in a chair for 8 hours a day because the only other thing they have for me to do while they set up testing servers for my data is read 500 page user manuals for our products and catalog there feature sets.

But what is DB programming like? Is it much different then something a C like language or is it more like a specification for imputed data?