|
Thread Rules 1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution. 2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20) 3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible. 4. Use [code] tags to format code blocks. |
On May 24 2013 01:19 darkness wrote:So I'll have a project next year to implement one of the following games. Sudoku: http://en.wikipedia.org/wiki/SudokuFutoshiki: en.wikipedia.org/wiki/Futoshiki Strimko: http://www.strimko.comGridWorks: http://www.puzzles.com/projects/GridWorksPrevious.htmI've been advised to read about Java GUI, datastractures and information about game playing "in a standard Artificial Intelligence text". Could any experience programmer advise me anything that may be useful? I'm not forced to use Java, but I think I'm more comfortable with OOP and Java. Edit: Sudoku may be easier, so I'm currently considering it as a choice. TIL java can be used to make GUI apps.
|
On May 24 2013 03:04 obesechicken13 wrote:Show nested quote +On May 24 2013 01:19 darkness wrote:So I'll have a project next year to implement one of the following games. Sudoku: http://en.wikipedia.org/wiki/SudokuFutoshiki: en.wikipedia.org/wiki/Futoshiki Strimko: http://www.strimko.comGridWorks: http://www.puzzles.com/projects/GridWorksPrevious.htmI've been advised to read about Java GUI, datastractures and information about game playing "in a standard Artificial Intelligence text". Could any experience programmer advise me anything that may be useful? I'm not forced to use Java, but I think I'm more comfortable with OOP and Java. Edit: Sudoku may be easier, so I'm currently considering it as a choice. TIL java can be used to make GUI apps.
I couldn't find it on Google. Could you give a link please?
|
Anyone know how I can get a career started in web programming? Unfortunately it wasn't until I was 22 years old when I realized this is what I want to do (I'm still 22), and I already have a bachelors in an entirely unrelated field, with a pretty shitty GPA. (Physiology/Neurobiology).
I've been doing freelance work for the past half year, not making an income that one could live off of. What steps should I take to eventually land a job?
-Apply to internships? -Getting another undergraduate degree in Computer Science would be way too expensive.
Applying to graduate certificates at local university seems like a good idea, because the classes can be applied to a masters degree once they are completed.
Another thing I can think of is to get an decent portfolio of work done and keep applying to internships/entry level web development jobs. Any one have any advice? I live right outside of New York City if that matters.
|
On May 24 2013 05:00 darkness wrote:
I couldn't find it on Google. Could you give a link please?
haven't used it in a while but should still be SWING/AWT in the java standard library
|
On May 24 2013 05:13 Rotodyne wrote: -Getting another undergraduate degree in Computer Science would be way too expensive.
You can learn stuff on your own on free educational sites. The settings are very similar to what you get in school.
|
I sort of did that just recently at 26. I had a math degree but decided I wanted to do programming, so I went on one of those free online education sites and took a few difference classes. Specificly on coursera I did 2 data structures and algorithms classes and one that dealt with ruby on rails. From there I did one major project for myself (graphing calculator that can do calculus in java) and called up some non-profits and did a project for them (computerized sign in system in rails). After that I just applied for jobs, specificly the ones advertising for new college graduates (even tho I was a few years out of college). In the end I ended up networking with someone and got an interview for my job that way.
I would suggest trying to look for jobs while at the same time networking and trying to take some free online classes in core CS areas that you would have missed in school. It may be harder if you have to support yourself, but I think it may be better long term to know that stuff. That said, if you are freelancing now and getting paid (anything) for it, you could prolly just apply to places and say you were a freelance software developer for the last half year and talk about those projects in an interview.
|
On May 24 2013 06:23 vrmr wrote:Show nested quote +On May 24 2013 05:00 darkness wrote:
I couldn't find it on Google. Could you give a link please? haven't used it in a while but should still be SWING/AWT in the java standard library
Yep, now that means something me. I know both, but I forgot which one is OS independent. I think Swing, but not too sure.
|
On May 24 2013 06:25 obesechicken13 wrote:Show nested quote +On May 24 2013 05:13 Rotodyne wrote: -Getting another undergraduate degree in Computer Science would be way too expensive.
You can learn stuff on your own on free educational sites. The settings are very similar to what you get in school. If you plan on becoming a programmer for your job, the more experience the better. You should be doing things like looking at free educational sites in your free time to learn more than just what you learned in class / expand on it if possible.
|
if anyone could help me with this small snippet of assembly i would be grateful.
+ Show Spoiler +x dword 100 y dword 10000 mov eax, 56111 mul eax; mov edx,0 div x mov edx,0 div y mov eax, edx
; What number does the resulting eax contain?
|
oh jesus my x86 is rusty
mov eax, 56111 // sticks 56111 into the 4 bytes of eax (? is it 4 or 8? fuck if I know, we're going with 4 byte registers woo) mul eax // multiplies ? by eax, puts result into edx:eax... so is that 56111^2? I think no second arg means by itself here, not sure. mov edx,0 // puts 0 into edx, so this means we get the 16 least significant bits of 56111^2... 29345 ? div x // dword 100 is 4 bytes, so we're taking dividend/divisor (edx:eax is dividend, which recall is 29345, x is divisor, which is 100), result goes into eax and remainder goes into edx (or switch around?) 29345 / 100 = 293 remainder 45
so that sticks 293 in eax and 45 in edx mov edx, 0 // zeroes out edx again div y // same deal, except dividnig by something bigger than 293, so we get eax = 0, edx = 293. mov eax, edx // intel backwards notation, moves edx into eax, so we end up with 293.
OR MAYBE THAT'S COMPLETE BULLSHIT I DUNNO LOL
|
On May 24 2013 09:14 Terranist wrote:if anyone could help me with this small snippet of assembly i would be grateful. + Show Spoiler +x dword 100 y dword 10000 mov eax, 56111 mul eax; mov edx,0 div x mov edx,0 div y mov eax, edx
; What number does the resulting eax contain?
To the poster above: Close but not quite...
mov eax, 56111 ; Puts 56111 into EAX (which is 32-bits... 64-bit would be RAX) mul eax ; Multiplies EAX by EAX - Result is 3,148,444,321 and stored in EAX mov edx,0 ; shouldn't need to explain this div x ; Divides EAX by x, puts the remainder in EDX ( EAX = 31,484,443 EDX = 21) mov edx,0 ; div y ; Divides 31,484,443 by 10000, stores remainder in EDX (EAX = 3148 EDX = 4443) mov eax,edx ; Puts EDX into EAX (EAX = 4443)
<3 ASM
|
On May 24 2013 05:13 Rotodyne wrote: Anyone know how I can get a career started in web programming? Unfortunately it wasn't until I was 22 years old when I realized this is what I want to do (I'm still 22), and I already have a bachelors in an entirely unrelated field, with a pretty shitty GPA. (Physiology/Neurobiology).
I've been doing freelance work for the past half year, not making an income that one could live off of. What steps should I take to eventually land a job?
-Apply to internships? -Getting another undergraduate degree in Computer Science would be way too expensive.
Applying to graduate certificates at local university seems like a good idea, because the classes can be applied to a masters degree once they are completed.
Another thing I can think of is to get an decent portfolio of work done and keep applying to internships/entry level web development jobs. Any one have any advice? I live right outside of New York City if that matters.
If your portfolio is good then make yourself a website, design and develop it well, and then apply to web development positions around the area. There is a lot of contract based work for web developers in the big cities like LA, NY, SF, etc... I was able to make a living freelancing at 16, but I was working 18 hour days. Took a few years to get my act together but now I'm able to finish my degree while working part time doing software engineering for a local startup.
|
On May 24 2013 11:27 Abductedonut wrote:Show nested quote +On May 24 2013 09:14 Terranist wrote:if anyone could help me with this small snippet of assembly i would be grateful. + Show Spoiler +x dword 100 y dword 10000 mov eax, 56111 mul eax; mov edx,0 div x mov edx,0 div y mov eax, edx
; What number does the resulting eax contain? To the poster above: Close but not quite... mov eax, 56111 ; Puts 56111 into EAX (which is 32-bits... 64-bit would be RAX) mul eax ; Multiplies EAX by EAX - Result is 3,148,444,321 and stored in EAX mov edx,0 ; shouldn't need to explain this div x ; Divides EAX by x, puts the remainder in EDX ( EAX = 31,484,443 EDX = 21) mov edx,0 ; div y ; Divides 31,484,443 by 10000, stores remainder in EDX (EAX = 3148 EDX = 4443) mov eax,edx ; Puts EDX into EAX (EAX = 4443)
<3 ASM Ah k cool, could never remember the number of bytes per h/a/e/r blah. Thanks
|
On May 24 2013 08:23 darkness wrote:Show nested quote +On May 24 2013 06:23 vrmr wrote:On May 24 2013 05:00 darkness wrote:
I couldn't find it on Google. Could you give a link please? haven't used it in a while but should still be SWING/AWT in the java standard library Yep, now that means something me. I know both, but I forgot which one is OS independent. I think Swing, but not too sure. Both Swing and AWT are OS independent. I think you had in mind SWT, which is not 100% OS independent.
AWT is very basic but can be sligthly faster than Swing which used to be a resource hog. However with current optimization state of JVMs and hardware power, you will not feel the difference. Swing is more flexible and I would suggest it out of those two.
|
On May 24 2013 11:27 Abductedonut wrote:Show nested quote +On May 24 2013 09:14 Terranist wrote:if anyone could help me with this small snippet of assembly i would be grateful. + Show Spoiler +x dword 100 y dword 10000 mov eax, 56111 mul eax; mov edx,0 div x mov edx,0 div y mov eax, edx
; What number does the resulting eax contain? To the poster above: Close but not quite... mov eax, 56111 ; Puts 56111 into EAX (which is 32-bits... 64-bit would be RAX) mul eax ; Multiplies EAX by EAX - Result is 3,148,444,321 and stored in EAX mov edx,0 ; shouldn't need to explain this div x ; Divides EAX by x, puts the remainder in EDX ( EAX = 31,484,443 EDX = 21) mov edx,0 ; div y ; Divides 31,484,443 by 10000, stores remainder in EDX (EAX = 3148 EDX = 4443) mov eax,edx ; Puts EDX into EAX (EAX = 4443)
<3 ASM
thanks for the comments i see it now. learning ASM but i was not sure if mul eax with a large integer like that would create a signed or unsigned number.
|
On May 24 2013 13:32 Roman666 wrote:Show nested quote +On May 24 2013 08:23 darkness wrote:On May 24 2013 06:23 vrmr wrote:On May 24 2013 05:00 darkness wrote:
I couldn't find it on Google. Could you give a link please? haven't used it in a while but should still be SWING/AWT in the java standard library Yep, now that means something me. I know both, but I forgot which one is OS independent. I think Swing, but not too sure. Both Swing and AWT are OS independent. I think you had in mind SWT, which is not 100% OS independent. AWT is very basic but can be sligthly faster than Swing which used to be a resource hog. However with current optimization state of JVMs and hardware power, you will not feel the difference. Swing is more flexible and I would suggest it out of those two.
Well, according to stackoverflow, AWT is kind of OS dependent.
Awt is a cross-platform interface and so even though it is using the underlying OS or native GUI toolkit for its functionality, it doesn't provide access to everything that those toolkits can do. Advanced or newer widgets that might exist on one platform might not be supported. Features of widgets that aren't the same on every platform might not be supported, or worse, they might work different on each platform. People used to invest lots of effort, including trying to make calls into native code from Java, to get their Awt applications to work consistently across platforms.
http://stackoverflow.com/a/408830/1091781
|
swing didn't look exactly like a native GUI, but it worked on Windows and OSX without changing anything. There was also a property of the SWING container to change the look of the gui, but at the time i didn't bother with it.
For a basic project like a sudoku game, swing shouldn't give you any problems.
|
On May 24 2013 19:40 darkness wrote:Show nested quote +On May 24 2013 13:32 Roman666 wrote:On May 24 2013 08:23 darkness wrote:On May 24 2013 06:23 vrmr wrote:On May 24 2013 05:00 darkness wrote:
I couldn't find it on Google. Could you give a link please? haven't used it in a while but should still be SWING/AWT in the java standard library Yep, now that means something me. I know both, but I forgot which one is OS independent. I think Swing, but not too sure. Both Swing and AWT are OS independent. I think you had in mind SWT, which is not 100% OS independent. AWT is very basic but can be sligthly faster than Swing which used to be a resource hog. However with current optimization state of JVMs and hardware power, you will not feel the difference. Swing is more flexible and I would suggest it out of those two. Well, according to stackoverflow, AWT is kind of OS dependent. Awt is a cross-platform interface and so even though it is using the underlying OS or native GUI toolkit for its functionality, it doesn't provide access to everything that those toolkits can do. Advanced or newer widgets that might exist on one platform might not be supported. Features of widgets that aren't the same on every platform might not be supported, or worse, they might work different on each platform. People used to invest lots of effort, including trying to make calls into native code from Java, to get their Awt applications to work consistently across platforms.http://stackoverflow.com/a/408830/1091781 I think you misunderstood the point here.
As I said AWT is very basic and limited and people try to overcome this by getting into system dependent calls directly through native code, thus destroying the platform independence. However AWT in its pure Java form is completely platform indepedendent in terms of programming. And the fact that AWT does not provide access to all the stuff widgets can do on a given OS is a consequence of platform independence.
Swing is written in a different way, it has its own widgets subsystem defined, which are being rendered on the underlying OS by rather heavy methods, and that is why it was considered sluggish for many years, but not as of recent.
When it comes to look and feel of the application, then AWT will look as a window of the runtime OS, while Swing will retain its look across the platforms.
|
I went to try and figure out how to use view controllers, thought this would be great... http://www.slideshare.net/bobmccune/creating-container-view-controllers *puts it into latest version of Xcode* error error error D: If anyone could tell me how to make these overcomplicated view controllers for my iPhone/iPad applications in XCode it would be a great help! Currently working on my final project for my Obj C & App Development class, so the sooner the better.
|
^_^ just got a pair of CC2538 chips in the mail to play around with. So far I've got contiki os installed on each board, but can't get lights to turn on, and I have no clue where the console is being output. Embedded4lyfe.
|
|
|
|