@rolfl I am going to be writing code this week instead of playing Call of Duty on my playstation. I need to see if I can write something that will make me tons of money eventually.
An alpha version is probably about 4 hours' work, so a month could be enough time to get a version which is ready to submit for review. — Peter Taylor4 mins ago
interesting..
I'd probably spend 4 days just trying to get the blobs' "merge" animation right.
@Malachi Really sucks when you lose (a lot) more than you get to keep on a particular day. I had at least one day that I've have scored well over 1000 rep if there was no cap...
That would actually be really intersting if Community got the lost rep. I have a feeling that it would over flow very, very frequently though unless rep is 64 bit.
One of the earliest phenomena noticed in Stack Overflow's voting system is the FGITW problem: the first answer is more likely to get upvotes than subsequent answers. Even if later answers are objectively better, the first answer forms a bandwagon that collects more votes than it otherwise would....
I have heard of a selection tool [probably] known as "radial selection". The user clicks somewhere ("the centre") and the selection area will be a circle whose radius is the distance between the cursor and the centre.
For example, in the image above, the user clicked CENTER and dragged his mou...
I think it should be higher priority just for the sake that it implies something is very, very wrong somewhere in the code base. But eh, I have no idea how Java internals work, so maybe it's not that big of canary.
No, not really, 200 is 1K ahead of me, and we are both maxing out ....
Unless 200 takes a holiday, I will never really catch him ;-)
On the other hand, if he does take a holiday, it won't be long before he's in my dust ... assuming I can keep up my pace too .... which is not certain at all.
I'm trying to login into a webapi2 site from a desktop application. After a lot of googling I cobbled together a working prototype. But since we are talking about security I wanted to do a peer review, I'm just starting with security design and I'm not exactly sure about my design.
static intern...
I created my own indexOf function. I was wondering if anyone could help me come up with a way to make it more efficient. I am practicing for interviews so the catch is that I cannot use any String methods. I believe the runtime of this method is O(n^2) with space of O(n). Correct me if I am wrong...
I have a concept based polymorphism example listed below. I allow the user to provide any type that implements the draw method and then I add it into a vector of unique_ptr to concept base. If I have a pointer or reference I want to be able to deal with that even though the solution has value sem...
We've been in beta for 1129 days.
Don't you think it's time we get out?
We seem to be in a similar situation as Code Review. We don't have enough users with sufficient reputation to gain privileges like voting to close and delete. Here's some quick analysis I did with the API (the percentages a...
@BenVlodgi Anyways, if you are looking for stuff to vote on, vote on the newest questions and answers (if they are worthy). And if you can't find stuff there, then you could just look through peoples profiles in this chat room (like I did with you).
@BenVlodgi I just learned something new about C# thanks to an SO answer of yours. I had no idea that string values was copied to a new object on s1 = s2;
I created my own indexOf function. I was wondering if anyone could help me come up with a way to make it more efficient. I am practicing for interviews so the catch is that I cannot use any String methods. I believe the runtime of this method is O(n2) with space of O(n). Correct me if I am wrong....
A troll has captured you and is forcing you to write a malware (defined as a program that damages the computer that runs it). The troll can read and understand code, but is not so good at spotting bugs.
Your goal is to write a program that:
Looks like a malware; i.e., a beginning programmer re...
I have written a java program. Now I would like to open my console java application without IDE, Eclipse etc., but just by double clicking on the executable version on my Desktop.
I have exported the java project in Runnable .JAR file, but it cannot be opened. When I tried to open the applicati...
Seems so... It's especially bad on SO. A title containing "JAVA" is a near guarantee that the question will be complete and utter garbage. It's maddening. If it were up to me, I'd make a filter on SO that rejects any title that has JAVA in it :).
I have written a java program. Now I would like to open my console java application without IDE, Eclipse etc., but just by double clicking on the executable version on my Desktop.
I have exported the java project in Runnable .JAR file, but it cannot be opened. When I tried to open the applicati...
I think there should just be a filter that's like "Hello. It seems you've used the 'word' JAVA. Your question probably sucks. Please find out what your language is called and come back."
So i try and compile I get a warning: comparison between pointer and integer [enabled by default] error, what am I doin wrong...?
int main(int argc, char *argv[])
{
char x;
printf("What would you like to do today?\n");
scanf("%s", &x);
if (x == "slm") {
printf("You SLAM a Faygo!");
} els...
Probably either a pity upvote ("oh no! this is a terrible way to be greeted a new website!") or someone with very similar homework. And, to an extent, I sympathize with the question asker. I'm sure he has no idea that what he's asking is so basic and ridiculous. We were all beginners once, and C is a rather harsh language to start with.
@syb0rg It's all subjective of course, but I know very few people who would disagree that lower level languages make for a rougher start, especially if a teacher isn't present. C isn't hard at all to pick up the basics of if you have a competent teacher or book, but if you have a bad teacher or if you're just trying to google random stuff, it can be hell. This question is a perfect example of it. Every other language just uses == to compare strings. Why would C be any different?
Then again, the use of == implies that he's not completely new, in which case he should know to look into a language a bit before just jumping into it. And he should have at least some concept of an array....
Blerh, I don't know. I tend to feel overly sorry for beginners. I think it's my PHP roots shining through lol.
Well, I guess that is one really good thing about starting with C. There is a ton of material on it. A ton of really high quality material. Compare that to certain languages like PHP or JavaScript where high quality learning materials were near non-existent until like 2 years ago.
@Jamal Ouch. Hopefully post-Crockford era JavaScript and not the crazy JavaScript of days past.
@Corbin Every other language DOESN'T use == for string comparison though. C++ is the only language I'm familiar with that compares strings with ==. VB, Java, ObjC don't compare strings that way.
a printer was not connected or something, when I removed the printer from my system, my application created the forms like it was supposed to. so now that I have been here at work 3 hours longer than I needed to be it's fixed and I didn't really do anything