- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 10
- Posts with Upvotes
- 10
- Upvoting Members
- 8
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
passionately curious
46 Posted Topics
Re: These topics seem to popup all the time. I am unsure if they fall under Java or programming in general. This topic should probably be moved to a more general forum or even off topic. Don't get me wrong-- it's a good question but I doubt many people can actually … | |
Re: I am unsure how old someone has to be in order to be considered, "historical." Actually I am not sure if they need to be deceased or not. I have a few heroes though-- I consider them all historical because they changed history in some way. [I]Computer related:[/I] - [URL="http://en.wikipedia.org/wiki/Ken_Thompson"]Ken … | |
Re: What's the problem? Is this all of your code? I don't see you initialize SDL anywhere. | |
Re: I wanted to add MIT's OCW has a nice lecture series on algorithms. They can be viewed [URL="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-046j-introduction-to-algorithms-sma-5503-fall-2005/video-lectures/"]here[/URL]. The first 2 lectures cover the notation pretty well. It may help a lot to see and hear professors explain it along side a nice reading like the OP provided. | |
Re: [QUOTE=Ancient Dragon;1557633]IE8 all the way. I've tinkered with google chrome and ff, don't really care for either.[/QUOTE] I just.. lost all respect for you. :sad: IE? Really? It's a security nightmare, proprietary and slow. Why on Earth would you prefer it? :) | |
Re: First off, I code in C, C++, Java, Perl, Lisp and a number of other languages. I am not biased by any means. I believe in choosing the right tool for the right job. For instance, I have a beautiful 50 line Bash script I wrote I wrote in 30 … | |
Re: [URL="http://en.wikipedia.org/wiki/Dijkstra's_algorithm"]Dijkstra is your man.[/URL] | |
Re: It depends on the school and focus. I am finishing an MS in computer science this year. My MS is pretty heavy in software engineering, programming and quite a bit of theoretical work. It isn't heavy on writing nor does it need a dissertation. It's course work only. If you … | |
Re: Out of curiosity does this program load slow every time you execute the program? Or only the first time you opened it? If it's only the first time then it's because the JVM is being loaded. The calls after the first call would be faster because the JVM would be … | |
Re: Google is probably going to help you. Or, if this is truly a algorithm design problem you should probably be posting it in the computer science forum and not the Java forum.... after all-- your question has nothing to do with Java. | |
Re: Why do <where ever you are from> teach using void main and conio? I guess you are using a Borland compiler? | |
Re: I believe 8gb should be plenty for Ubuntu. If you want a faster/streamlined distribution you can try [URL="http://lubuntu.net/"]Lubuntu[/URL]. It's essentially Ubuntu but using LXDE instead of Gnome. It's lighter and faster. I use it on a 2GB pendrive and have over 1GB free. | |
Re: Here's a copy of my /etc/rc.local.shutdown [CODE]#!/bin/bash # # /etc/rc.local.shutdown: Local shutdown script. # #empty trash /usr/bin/etrash #remove /tmp files rm -rf /tmp/*[/CODE] You may also want to look into setting up Cron jobs. | |
Re: A good 'advanced' C book is, [URL="http://www.amazon.com/Expert-Programming-Peter-van-Linden/dp/0131774298"]"Expert C Programming: Deep C Secrets.[/URL]" It's basically an addition to K&R's book. The book walks through the oddities of C and helps cement in complex topics. | |
Re: If you are using some older Browsers-- you can actually buffer the video in your browser and then simply go to your /tmp folder and inside you will see, "Flash" followed by some random letters and numbers. That file is actually the buffered flv file. You can simply copy and … | |
Re: If you intend to release on Windows or Xbox Live then C# and [URL="http://msdn.microsoft.com/en-us/library/bb200104.aspx"]XNA[/URL] will be good-- plus you can focus on getting things done. In the end it requires less programming ability if you ask me. The library is huge and you can get a lot done quickly without … | |
Re: I don't see a question. Please try first and then ask a real question. No one is going to do your homework for you. | |
Re: It will get the job done, but it won't be as fast as say-- if you done it in C or C++. It will be easier in Java though. | |
Re: You may be able to do it in a more clever way? Add up the total (integer values) of each and compare them? edit: It was just an idea-- at least it would help show if one is greater or less than or equal (100% match).. similar to C's strcmp(). … ![]() | |
Re: This isn't a Java question and shouldn't be asked here. A mod should delete or move this topic. | |
Re: How about you first write a description of the game in plain English. Then you write a description of each ability/function in the game/program. Then you look at your English descriptions and highlight verbs and nouns. Then you can take those notes and write pseudo-code for the main program and … | |
Re: No one is going to do your homework for you. Also you should keep in mind many schools automatically search forums and compare them to submitted homeworks. If you plan on taking code from forums you will most likely get caught and in trouble. I suggest learning how to program … | |
Re: Just a quick thought-- you could brute force this. While you are checking the lengths you could also run a check to verify that the string.length - 1's index is not equal to various punctuation marks. If it is then subtract one from the length before comparing? | |
Hello, I will finish my Masters of Computer Science in May of 2012-- that basically means 12 months from now! Well-- I am wondering when is the best time to begin the job hunt? [LIST] [*]Wait until I finish the MS [*]Begin searching 6 months prior to finishing the MS … | |
Re: These kinds of questions pop up a lot. You could Google programming ideas and get a ton. That aside I think my favorite ideas are: * A game: fun, flashy and good on a resume * Software for a mobile device: good on a resume, good learning experience * A … | |
Re: This all sounds weak to me. I think the best way to go about this is to release a demo without the full features. Then sell the full-featured program. It will be a matter of hours before something like that is cracked. If your goal is money release a demo … | |
Re: You need some way to communicate with the server. If you are not setting up your own server client on the server then you will have a hard time accessing it with just C++ without much programming. If you only want to hit-up a server and grab some text off … | |
Re: How complicated is it? What kind of software are we talking about here? What systems will this be needed to work on? What are the target clients? What are the requirements? What technology/language/framework is best suited to tackle this? Write up a document that outlines the software, even dip into … | |
Re: To add to the other post-- it is also a bad programming habit to rely on default initialization. You should initialize yourself when you declare or make damn sure the variables are initialized before using them. You can refer to the book, "Code Complete" for many style tips. | |
I have been reading a textbook on Java-- I am a C/C++ programmer so my view of addresses and pointers are based on what I know from those languages. I am trying to make sense of something the textbook said about object addresses. The textbook basically said when one object … | |
Re: I quickly checked Dice.com to see how many jobs requested Netbeans experience and they are drastically lower than the amount of jobs asking for Eclipse experience... just some food for thought. | |
Re: I don't know how you feel about it-- but I would use Perl. Perl generally has a "no limits" ideology. It's not the fastest language around, but it's really simple to learn and you can do a lot quickly with the code. It's my favorite language for solving algorithm/math problems … | |
Re: Hello, you have brought up an interesting topic! It can be quite complex. I have some recommended reading and watching. I know it's a bit lengthy, but here is a great lecture given by Jerry Cain at Stanford University on semaphores and deadlock. I thought his explaining was pretty concise … | |
Re: I believe you are referring to: [URL="http://en.wikipedia.org/wiki/Evaluation_strategy#Call_by_reference"]Call by reference[/URL] and [URL="http://en.wikipedia.org/wiki/Evaluation_strategy#Call_by_value"]call by value[/URL]. In a nutshell-- a call by value '[B]copies[/B]' the values at the memory address onto the stack when the function is called. A call by reference [B]passes the address[/B] of the value to the function (no copying … | |
Re: You can begin by learning how to program at a sufficient level. Then it would be nice to dip into other areas such as networks and operating systems-- knowing about them will only help. Jumping into an open source project is always nice if you have the skills. Starting your … | |
Re: I highly doubt you will read this-- but I figure someone may find this useful. A great guide for understanding BSD/Unix style sockets/network programming is [URL="http://beej.us/guide/bgnet/"]Beej's guide[/URL]. I highly recommend it. | |
I am new to forums and enjoying it minus the whole infraction I have been awarded with already. Apparently linking to useful information that was on topic isn't appreciated around here. I am a computer science masters student and a teacher. I hope to learn more by being around like … | |
Re: A class is a [URL="http://en.wikipedia.org/wiki/Container_(data_structure)"]data structure[/URL]. An object is an [B]instance[/B] of a class. If you ask, "Why use a different container instead of a class?" I would probably say it depends. I would use a different container if I felt it was better suited for the data. Take a … | |
Re: I hope you don't listen to people who say a language is not useful-- any and every language has a use. C++ is one of the 'big guns.' C++ has been a big gun for many years and it will not change any time soon. There is a vast amount … | |
Re: Making a game like Tetris or any game that requires collision is a little more challenging than a basic game. If it's your first game I suggest something easier. You can always go with Tic Tac Toe... here is what I suggest. First complete Tic Tac Toe in ASCII. This … | |
Re: Maybe you could make some kind of Tweeter style application which polls announcements and notices and sends you/the class a Tweet? | |
Re: Hello, I am unsure what textbook you are using. A good textbook that I know of is, "Introduction to Algorithms" by Charles Leiserson and Erik Demaine. It can be challenging to understand textbooks alone-- and what makes that book nice is you can view their lectures online for free. MIT's … |
The End.