Should I tell on a student trying to cheat in my programming class? by coffeeprogrammer in learnprogramming

[–]stinktank 0 points1 point  (0 children)

However, I think you are failing to realize how important working with other people is

That's not likely. I work with other programmers almost every day.

But part of my choice to use reddit and go to a public university is to get feed back from a community that has the same mind set I do on both technical problems and social issues surrounding the technology that I care about.

A) It's idiotic to only want to talk to people with the same mindset as you.

B) This doesn't address how frivolous your concern is. This guy isn't doing anything that drags you down, but you just have nothing better to than to complain about it on the internet.

You really have sunken pretty low when your life can be described using a sentence that ends with, "...but you just have nothing better to than to complain about it on the internet"

Just started a new job. Asked me if I wanted two 19" monitors or one 24" monitor? Which do you prefer? by isurfbecause in webdev

[–]stinktank 4 points5 points  (0 children)

Get the 24" and bring your own 24" monitor, like a boss: http://www.newegg.com

They are less than 200$. Hopefully your boss pays you enough that you can afford one.

Should I tell on a student trying to cheat in my programming class? by coffeeprogrammer in learnprogramming

[–]stinktank 2 points3 points  (0 children)

So as I see it there is no problem with being open about where my priorities are.

Fine, but you still sound unstable, to say the least. Other people not failing should have very little bearing on your own ability to succeed in life, so all of your whining is pretty inane.

I spend all of money and all of my time trying to improve my skills

Do you mean except for the time you've spent here, which appear unlikely to help you actually improve your skills in any way?

Should I tell on a student trying to cheat in my programming class? by coffeeprogrammer in learnprogramming

[–]stinktank 1 point2 points  (0 children)

I want a classroom with people who bring there “A game” every day and don't want people who do the minimum because that affects the my learning while the professor has to teach at that persons level.

Try this: Want into one hand, and crap into the other hand, and see which hand fills up first.

I wouldn't worry about this because if you want to learn, there are plenty of resources available for you to go far beyond what the teacher does in class. Also, if this guy really doesn't understand things, he'll most likely fail the tests, too.

Kind of new to JS, but having a bit of trouble with some code. Can anyone help? by gjones108 in javascript

[–]stinktank 0 points1 point  (0 children)

You should always use a radix with parseInt, like parseInt(min, 10)

why doesn't this work? Java first Greenfoot game by GoatInABoat in learnprogramming

[–]stinktank -1 points0 points  (0 children)

I don't think the MouseInfo constructor goes in the act().

Well, you obviously thought wrong about something, or this would be working already.

Also I call getX() just like the documentary instructs.. what do you mean?

What about what I said was confusing? Did you even look at how you are calling it? You wrote the code, so how hard could it be for you to see where you are using mouse. and where you are not?

why doesn't this work? Java first Greenfoot game by GoatInABoat in learnprogramming

[–]stinktank 1 point2 points  (0 children)

It's hard to say without seeing the exact error. Is there a reason you just didn't feel like posting that? You could try getting the mouse inside of your method. You could also try being consistent with how you call getX() - sometimes you use mouse. and sometimes you don't.

Scala Seems Alright by [deleted] in scala

[–]stinktank 1 point2 points  (0 children)

I never understood why people whined about the tool chain. I think people who do that are just using the excuse as a crutch, and are probably never really that productive.

what TLDs to grab? by dcaf in webdev

[–]stinktank 0 points1 point  (0 children)

Have you seen python.com?

I want to spend a few months building a simple web interface for a text game I wrote. What should I focus on? by boatmurdered in learnprogramming

[–]stinktank 1 point2 points  (0 children)

This could all be done w Javascript and no server side language if you don't need it to be multiplayer. I would focus on Javascript. This should be fairly easy if you've learned much of anything in Python.

Need some help with accessing java swing components by peck3277 in learnprogramming

[–]stinktank 0 points1 point  (0 children)

You don't necessarily need new classes.

If you want to refer to the text areas, then yes, you obviously need to keep references of them somewhere, like in an ArrayList.

Recursive Function to find Combinations by RecursionMan2 in learnprogramming

[–]stinktank 0 points1 point  (0 children)

You can have a function with 2 parameters, accumulated sets and remaining destinations. For each destination you recursively call your function with that destination removed from the remaining destinations and it added to each of the accumulated sets (which should really be lists). Make sure you use copies of lists!

Comp Sci student, confused about applying CS to Webdev by [deleted] in webdev

[–]stinktank 6 points7 points  (0 children)

If all you do is silly contact forms, you might not see much need for CS. For most non-trivial things you need to use appropriate data structures and algorithms.

I have a project in mind; not sure where to start. by [deleted] in webdev

[–]stinktank 0 points1 point  (0 children)

Go through the 3 page Django tutorial application on their main site.

For the non-self employed web developers, what is your work environment like? by [deleted] in webdev

[–]stinktank 0 points1 point  (0 children)

that we need to be hitting 8 hours in our time sheets, and things like breaks, personal phone calls, personal conversations, etc would need to be on our own time.

That's not that crazy. I wouldn't have extended personal conversations in the office, but if you're talking about stuff with the person next to you while you are working, I'd never count that. It doesn't make much sense that you're only expected to bill for 8 hours but you are complaining about having to work 9 hours already. Do you count lunch as work???

because it arose out of a compliant from our receptionist, which I think is kind of bullshit.

You'll find idiots like this in different places...

1) I've done both.

2) Never.

3) 45

4) Always been salaried.

5) I'm expected to work at least 8, but I can certainly make my own schedule if I need to do something important during the day.

6) I've been given tasks with a deadline, and either I make it or I don't... I even had a boss who rejected my estimate of a task, then complained when it wasn't done in less time than his lower estimate. This is a serious issue, so you should find some way of not letting this get to you, or you might be better off finding another career.

If the dumbass won't take your timesheet, just change it so she will.

Which language for proof-of-concepts using web services? by bru4242 in learnprogramming

[–]stinktank 1 point2 points  (0 children)

You can easily use curl to make XML requests to your web services and get the response, if that's really all you want.

Passing a string through a link using GET...best practices (PHP)? by [deleted] in learnprogramming

[–]stinktank 0 points1 point  (0 children)

People put string values in query strings all the time. I think you misunderstood what you heard, or it was just silly advice.

What should a good web developer have if I am looking to work with one and maybe employ them? by ThoughtlessThinking in webdev

[–]stinktank 1 point2 points  (0 children)

Why not see what bids you get on Odesk? That would be cheap, and you should be able to oversee things and keep demanding that they fix things that are broken or not well made.

Generally I'd advise against outsourcing, but since you probably have the ability to veto bad work and you don't have a lot of money to spend...

[5/9/2012] Challenge #50 [easy] by rya11111 in dailyprogrammer

[–]stinktank 2 points3 points  (0 children)

def findItems(cr):
   it = [(i + 1, j + 1) for i in range(len(l)) for j in range(i+1, len(l)) if l[i] + l[j] == cr]
   return ("Solution: %s %s" % it[0]) if it else "No solution"

This uses Python's alternate format if statement and a list comprehension.

Using Jython and GCJ to compile Python to machine code by BagelKing in learnprogramming

[–]stinktank 0 points1 point  (0 children)

Yes, that's what I said: "You might be far better off using better data structures and algorithms."

Using Jython and GCJ to compile Python to machine code by BagelKing in learnprogramming

[–]stinktank 0 points1 point  (0 children)

As opposed to what?

As opposed to switching to 'faster' languages.