« first day (311 days earlier)      last day (3708 days later) » 

12:11 AM
@Corbin They had Feynman teach introductory physics :)
 
I bet it was captivating. But it would feel so wrong. Like using a jack hammer to hang a picture or something.
 
I'm not quite sure why they'd have Bjarne teach an introductory course either, though
that being said, the amount of crappy C++ instruction out there...
2
 
Yay! Got a shiny new [badge:sportsmanship]! :D
2
 
congrats
 
@Corbin I don't know what is being discussed exactly, but it's common for well known people to teach at least one entry level course if they teach. It helps drum up more interest in the program and helps inspire those already interested to stick with it. And from a teaching perspective, it perhaps teachers better fundamentals. No matter the discipline, good fundamentals are always, well, fundamental...
 
12:23 AM
True, I suppose. I'd just be afraid that someone so far advanced might not remember what it's like to be a beginner. I imagine someone as smart as Stroustroup or Feynman though would be aware of that and make sure to monitor it. Blerh who knows. Would certainly be interesting.
 
I'd take a C# lesson from Eric Lippert anytime!
 
@Corbin Bjarne is aware enough of it to have written a book specifically for that purpose.
 
Haha. True.
 
@Mat'sMug If you have no choice but to mess with C# he's as good a person to learn it from as anybody. :-)
 
..or Jon Skeet...
 
12:28 AM
Eric Lippert has actually written quite a few answers on CR. That would be a bit intimidating but nifty.
Oh, actually he answered something 3 hours ago, haha.
 
Yeah, telling you, CR is the next big thing :)
 
It's great having experts here. :-) I imagine he wanted a little break from SO's crap.
 
@Mat'sMug Honestly, I kind of hope not. At least I hope it doesn't grow to the volume of SO anytime soon.
SO reminds me of the old Yogi Berra line: "Nobody goes there anymore. It's too crowded."
 
How do you find answers/questions you've starred?
 
@nhgrif under your profile page, there's a "favourites" tab
 
12:33 AM
I don't think that will happen in a very long time. SO is just too big and is too active for people to keep it clean over time. But when we get a lot of new questions, we need enough reviewers around.
 
I don't think CR ever could be StackOverflow's size. The asker to answerer ratio is just way too off.
 
I found it finally.
Anyway, speaking of authors/professors/etc on SO...
16
Q: Using the AND and NOT Operator in Python

Noah ClarkHere is my custom class that I have that represents a triangle. I'm trying to write code that checks to see if self.a, self.b, and self.c are greater than 0, which would mean that I have Angle, Angle, Angle. Below you will see the code that checks for A and B, however when I use just self.a !...

 
haha
 
I don't think CR can ever grow to SO's size either. But it can definitely become the place to post one's working code for peer review.
 
@JerryCoffin: By the way, I happened to see your latest SO answer as it was posted. ;-) I was doing my usual snooping of crap to flag.
 
12:35 AM
@Corbin I think there's more to it than that. Specifically, a lot of answers on SO take only 15-20 seconds apiece (either to ask or answer). Asking a (decent) question here takes somewhat longer, and answering takes a lot longer.
 
but it's so much more fun and rewarding over here!
 
Well, that's certainly part of it. I was seeing it more in terms of the higher time investment is why there's not many reviewers and why it would be incredibly unlikely to scale.
It takes 30 seconds to throw up a blurb of code from some project or other, but a thorough review can take any where from 15 minutes to an hour.
 
And your posts don't get swept away nearly as quickly, meaning more exposure.
 
@Corbin reviews/answers don't have to be thorough
(still takes at least 15 minutes though)
 
True. Very true, in fact. But still. Even if you just glance through the code and explain 1 item, it can be time consuming.
I've actually wondered before if we shouldn't all be breaking up our answers more. Some of our wall-of-text answers could really be more like 3 answers in spirit. Just a bit rep-whorey. On their own though, there's certainly nothing wrong with short answers. Half the time a short answer is actually sufficient.
 
12:38 AM
0
Q: Member has cyclomatic complexity of 21 (105%)

AybeI have the following method which basically converts an input audio file to a monophonic FLAC file. Now I am getting Member has cyclomatic complexity of 21 (105%) message in Visual Studio, while I've taken care of improving it as in the beginning it was longer, now there's not much I can remove ...

 
@Corbin oh so true:
12
A: Simulation of an ocean containing sharks and fish

Mat's MugJust a quick comment: Your Ocean class knows/does too many things. I'd be expecting a Fish class and a Shark class. Creating an ocean requires a starveTime constructor parameter? That's a sign you've broken the single responsibility principle (SRP). Methods like void addFish(int x, int y) would...

 
@Jamal Yes--when I started on Stack Overflow, "nice answer" flags were nearly meaningless; virtually any halfway decent answer was likely to get one. Nowadays, things stay on the front page such a short time, they happen a lot less frequently.
 
3
A: Simulation of an ocean containing sharks and fish

Mat's MugAs I mentioned in this answer, your Ocean class is breaking SRP, which makes your code harder to maintain than it needs to be. Memory Usage Let's pretend the ocean is an array of X-Y coordinates with 3 possible values at each intersection: EMPTY, FISH or SHARK (what your code does). If the ocea...

Long answer: 3 votes; short answer: 12 votes!
 
@Mat'sMug Might be worth mentioning encapsulation in that first one. Your Fish class is certainly flirting with it.
But yeah, half the time "Look up SOLID" seems sufficient. Which is kind of sad, since I believe that reflects a lot of the state of software engineering as a field.
 
lol Thanks Santa (the intent wasn't to attract some more votes... merely to show that long, time-consuming answers are not always rewarded with as much love as a shorter, less time-consuming answer)
 
12:43 AM
You should know by now that anything posted in The 2nd Monitor will almost certainly attract at least 1 vote :)
4
 
5th time lucky installing octave...
 
:)
5 more [badge:sportsmanship] awardees and we have a football/soccer team!
@Jamal at what time is the recalculation for tag badges?
 
This is probably my longest answer so far.
 
^^ that still counts as something posted in The 2nd Monitor ;)
 
@Mat'sMug I think it's something like 3:00 AM UTC.
 
12:49 AM
makes sense, like, right after the serial-voting-reversal script
 
Thanks, Santa(s)!
Still, I cannot compete with Winston Ewert. His answers are long.
 
Been there. But since the mid-November discussion with encouraging shorter answers, I've tried to keep my answers reasonable.
 
I only wish CodeReview had more iOS/ObjC questions posted. It's the only language I feel comfortable enough with to really review.
 
@nhgrif post some! you never know, it might attract a crowd of Objective-C devs!
 
I've posted a couple.
 
12:53 AM
Oooo, I didn't know we have an Objective C person. I should post some of my iOS code. Got thrown into it for work, and I have some doubts about the quality.... x.x
 
syb0rg has been trying to learn some Objective-C too.
He's also not completely comfortable with OOP.
I told him what really cemented my OOP understanding was implementing a RationalNumber class, and suggested he do this and post it was a CR question.
In ObjC.
 
I have to say, ObjC has about the most jarring syntax of any language I've seen (minus things like J or APL)
2
 
Re-reading the introduction of Design Patterns: Elements of Reusable Object-Oriented Software, I feel like I'm a total noob at OOP. Probably am. And then I look at the code I'm coping with at work and ...I don't know anymore.
 
honestly, a lot of the patterns are workaround for not having first class functions / closures
 
Objective-C syntax. You hate it until you realize it's better than everything else.
2
 
12:58 AM
var everythingElse = new[] { "Java", "C#" };
 
sounds like stockholm syndrome :)
2
 
MyClass *myObject = [[MyClass alloc] init]; But you can also do... MyClass *myObject = [MyClass new]; and it's the exact same thing.
In C++, you'd have MyClass *myObject = new MyClass;. new in C++ is basically alloc in ObjC, and init is sort of like the default constructor.
Objective-C doesn't allow stack allocations though. All of your objects are on the heap.
 
I don't do C++ but if given a choice between ObjC and C++, guts are telling me to go with C++...
 
Nah. It's about picking the right tool for the right job.
Do you want to write an iOS app in C++?
 
Right. Apple => ObjC
Stupid question, but could there be a compiler for ObjC on Windows?
 
1:03 AM
I think there could be... but it wouldn't have the Cocoa library.
It'd be like writing VB or C# without .NET
 
So it's possible to learn ObjC without getting a mac.. like it's possible to write C# in Notepad and compile it with csc.exe
 
I guess.
 
It'd be pointless to learn ObjC without Cocoa.
 
Cocoa is like, the Framework?
 
1:06 AM
err yeah, Framework
It'd be especially pointless if you already know OOP.
If you're completely comfortable with C# and you want to learn ObjC, you'd pretty well only want to learn it to write an OSX or iOS app... and you can't do that very easily in ObjC without Cocoa/CocoaTouch
 
Oh, I'll learn me some JavaScript before I dare approaching a Mac!
 
lol
 
Off-topic:
0
Q: (Python) Trying to solve old GoogleCodeJam problem for practice

user119153I'm working on some of the old Google Code Jam problems as practice in python since we don't use this language at my school. Here is the current problem I am working on that is supposed to just reverse the order of a string by word. Here is my code: import sys f = open("B-small-practice.in", ...

 
I seriously need to get into some web dev. Windows dev is fun, but I'm totally missing out...
 
0
Q: (Python) Trying to solve old GoogleCodeJam problem for practice

user119153I'm working on some of the old Google Code Jam problems as practice in python since we don't use this language at my school. Here is the current problem I am working on that is supposed to just reverse the order of a string by word. Here is my code: import sys f = open("B-small-practice.in", ...

 
1:10 AM
Welcome to CR! Unfortunately this site can't help you with getting your code to do what you need it to do. Have you seen our help center? Take a look, get your code working as you want and then edit this post so that it's on-topic for this site and you'll certainly learn from our Python reviewers :) — Mat's Mug 7 secs ago
 
@nhgrif Hah. Objective C syntax is like C had a misformed baby with Java version 4. NSArray, NSDictionary, etc using a glorified void* is just gross. Oh, you want to call a method on an item in an NSDictionary? Get ready to either use a cast or assign it to an intermediary variable!
 
lol
 
There are certainly aspects of Objective C syntax that I like though. And, as a tool it's actually quite nice. GCD, for example, is a relatively painless way of concurrency in a fairly low level language.
 
I ♥ C#
@nhgrif I like how your selfie starts with "You're right. There is a simpler way."
 
lol
 
1:13 AM
I have now reached 400 helpful flags on MSO. Just 100 more to go...
 
@Jamal you mean just 600 more to go...
 
I'm aiming for Marshall, which is 500. MSO/MSE will surely happen before I reach 1000. But I've already reached more than that number on SO.
 
[Gareth Rees] has passed 9K!
 
@Corbin Meh, I like this about ObjC actually.
 
Then you would like C. You would love C.
I'm far too addicted to the type safety of C++.
ObjC needs generics :(
 
1:17 AM
Non-answer:
-1
A: JavaScript Quiz App

Nasir AhamedI like so much your quizz application. Can you please tell me how can I use it in my website. Thanks you so much again for creating such a nice quizz application. Your soonest reply will be highly appreciated. Nasir Ahamed

 
Yah
flagged!
 
Eat it up. :-)
 
Delete-voted
 
I ought to thank him, one more helpful flag raised ;)
 
And it bumps your answer!
Hm... checks for sockpuppet activity
 
1:19 AM
What's a "generic" in other languages exactly?
 
List<T> is one
 
What does that mean in English?
It's a list you can put any kind of object in?
 
It means compile time type checking
 
In C# a generic is a class (or method) that can take a type parameter, where the type parameter can have constraints
 
For example, a std::vector<Student> in C++ cannot have a NSView (assuming it existed) pushed into it.
The compiler would yell at you quite loudly.
 
1:21 AM
@Jamal , so far I only got -1 ;)
 
So when you have a List<String> that list can only take String items, and that's compiler-enforced.
 
Hrm.
You could subclass NSArray to do compile-time checking.
 
But you would have to do it N times for N classes.
 
I guess.
But it's very rare that I'm building arrays or dictionaries by adding objects to them one at a time.
 
Technically List<String> is one class, List<Class1> is another class
 
1:24 AM
True... Just after coming from type safety, it feels primitive to not have it.
 
My use of arrays or dictionaries mostly revolves around methods of other classes that return these types of objects
 
@Corbin Not necessarily. Originated with Ada where (like in C++ templates) all the type checking is static, but some languages have generics that are checked at run time.
 
For example, [someString componentsSeperatedByString:@"\n"];
NSString method that returns an NSArray where each index is an NSString from the original string broken on new line char
 
@JerryCoffin I'm confused what that's a response to? Afraid I'm having a moment :)
@nhgrif Right, but you know that by documentation, not by contract (for lack of better wording).
 
@Corbin Mouse over it, and it'll highlight what I replied to.
 
1:26 AM
Ah, wow. Can't believe I never realized hovering would show me which message.
 
lol
 
That's fair enough. But Cocoa is Apple and Apple's documentation is exceptional.
 
^^ Take that, Microsoft!
 
@Corbin SE's chat has serious shortcomings in dealing with problem users, but in some ways, it's actually pretty good (including this one).
 
@JerryCoffin I suppose in a way type checking in Objective C is implicitly done at run time. I guess that's not the same as true checking though. It's more of just, you're going to get a segfault.
 
1:29 AM
Objective-C has a lot of ways of making sure you're dealing with the right kind of object.
 
Haha. Can't ban people who create fake accounts with swastika avatars (i think you were here for that?), but we can hover over highlights!
2
 
isKindOfClass:, respondsToSelector:, etc
 
@nhgrif right, but the difference is that none of them are innate to the language. they're run time checks.
 
@Corbin Yes--Objective-C is really based pretty closely on Smalltalk (where all type checking, to the extent it happens at all, happens at run time).
 
Ah, I knew it's concept of "messages" was based on smalltalk but didn't know it borrow the types ideas from it
 
1:30 AM
innate to the language?
What do you mean by that?
 
@nhgrif I think he means "automatically enforced by the compiler", or something similar.
 
In C++ you know you're dealing with the right kind of object because you literally cannot compile the program if you're not (unless of course you use some kind of casting).
 
Right... but NSArray isn't Objective-C even.
It's Cocoa.
 
Well, it was just an example. As a language, there's no way to create a variably type container in Objective C, for example.
 
Yes, you can...
 
1:33 AM
How?
 
NSArray holds anything...
 
Ah, sorry I was vague.
 
But you could subclass NSArray. Instead of holding a pointer to anything, it holds a pointer to objects that conform to a specific protocol.
 
I don't mean a container that can hold any type. I mean a container that can hold 1 and only 1 type.
Well, but then you fall back to the N subclasses for N types problem
 
Or a pointer to only objects of that class.
 
1:34 AM
NSArrayString NSArrayNumber NSArrayView, etc is not very scalable
compare that to vector<string>, vector<number>, vector<view>, and hopefully my point is clear
 
Yeah, but I just don't feel like it's that necessary.
 
there's a certain static type safety capability in C++ that's not possible in ObjC
 
Because there are plenty of runtime checks you can do to make sure you're not trying to send a message to an object that doesn't respond to that message.
 
it's not necessary, and really it's not a big deal. just something that irks me coming from a more C++ background.
We're arguing different things.
I'm saying that you can't do something at compile time, and you're responding, "but you can do it at run time."
It's the ability to do it at compile time that I miss.
 
I guess. I just don't really feel like it's something missing.
 
1:36 AM
@nhgrif The fundamental difference is between "that you can do" and "that the compiler does completely automatically". Objective C (like Smalltalk) leaves the job entirely to you.
 
It's a different way of working...
NSArray holding a pointer to anything isn't particularly as helpful as NSDictionary.
 
Yeah, it's not a huge missing thing. In fact, like you're saying, it can often times be an advantage. For example, parsing JSON in Objective C with an NSDictionary is much, much more natural than the C++ handling of it where you have to have a variant.
 
Yep.
 
It's definitely a bias of my background. Just something that always lingers at the back of my mind. Probably just a sign of my newness to ObjC :)
 
My current project (which I submitted to app store today) makes use of NSDictionary for getting objects from a SQL database.
Or rather, the library that I'm using to talk to the database does that.
 
1:39 AM
@Corbin You are learning it too?
 
And because knowing NSDictionary is fundamental to knowing the language, it was a snap to get it working.
 
@syb0rg Sort of. I wouldn't say I'm learning it anymore. I've written a fairly complicated application alone in it. I'm somewhere between beginner and moderate knowledge, probably a bit closer to moderate.
Far from good at it though. I like it over all though. Very interesting way of thinking.
@nhgrif Yeah, it's definitely nice sometimes to just assume types are going to line up. That's probably one of the reasons ObjC is better for what it's used for than something like C++.
Though for something with a small set of types like a database, static typing wouldn't be too bad. Just a bit more typing and mental overhead.
 
It's not even about assuming the types will "line up". Polymorphism & NSArrays are nice.
I could have an NSArray with three completely unrelated types of objects in it
Two have a method called fooBar
 
I would call that duck typing rather than polymorphism.
But yeah, duck typing is convenient.
 
for(id foo in myArray) { if ([foo respondsToSelector:@selector(fooBar)]) { [foo fooBar]; } }
 
1:47 AM
@Corbin Definitely duck typing
 
So now the 2/3rds that respond to fooBar have the method performed, the other 1/3rd are safely ignored, and fast enumation is really fast.
 
Sorry, auto-lol-star-bot was delayed.
2
 
2:01 AM
@Mat'sMug it was an awesome answer too
anyone throw this question some upvotes?
 
:)
 
1
Q: Using GeoComplete with RequireJS (with shim config)

AlexI am using the GeoComplete plugin with RequireJS It works, but please could someone confirm I've done this correctly, mainly my understanding of shim: requirejs.config({ waitSeconds: 120, paths: { async: './lib/async', jquery: './lib/jquery-1.7.2.min',...

 
BTDT ;)
 
BTDT????
 
been there, done that
done my round just an hour ago ;)
 
2:02 AM
I am opening my RPSLS game again!!!! time to make some changes
 
these projects are going to surface back one day or another ;)
it's cool that you're giving it another round!
 
I am going to start with Eric Lippert's answer and then work on @chriswue's answer too
he got 14 upvotes!!!!! HOLY CARP
and HOLY MACKEREL
I only got 6 for the question!!!
 
Ugh. In SO's NSChat, there's a user who regularly complains about all these "bugs" he finds in Apple's code. And by "bugs", we're talking about a complete failure to ever read or understand any documentation and start with the assumption that the framework or library he's using is broken and buggy and the code he's writing is perfect, despite the fact that in a room full of professional iOS developers, he (an amateur) is the only one who is experiencing all these problems.
 
@nhgrif Is it that guy that only works for money?
 
Apparently his latest tirade is now that someone apparently misinformed him about a class 2 days ago, and he's peeved that he spent 2 days trying to use it wrong before he finally read the docs to find out that it doesn't do what what he needs it to do.
And yes, syb0rg.
 
2:08 AM
at least he is coding iOS and not Linux or Windows.. let him be.....I don't want him coding stuff I might use some day
2
 
@Malachi Yeah, he is the number one answerer on the site: data.stackexchange.com/codereview/query/952/…
 
lol
 
@syb0rg do you know how far I had to scroll to find my name....... that makes me a sad panda.....back to coding for me
 
Typo of the day: totalRowCount -> TotalCowCount, 'C' is not even near 'R'..
7
 
I couldn't find my name. :/
 
2:11 AM
yeah, pinned that
 
@nhgrif You are #27
 
what number am I ?
 
@syb0rg which ranking? link! link!
 
I need some Ritalin...
 
ah, now I see
 
2:12 AM
@syb0rg @Mat'sMug
 
@Mat'sMug #35
 
Meh, I have not been pimping my answers (much) recently.... my scores have dropped.
 
57 until I break 4k BTW
 
I'm going to start breaking my big answers up into a different answer for each topic I cover.
 
@Malachi Errm, pretty low.
 
2:14 AM
I know
 
At least the long ones.
 
@Malachi Let's see what I can do about that ;)
 
@syb0rg slowly
 
I'm not sure what to think about the fact that #500 has an average score of 0.93...
 
I lost 35 points the other day
 
2:15 AM
@Malachi and you earned it back the next day? ;)
 
@Malachi I know. I've tested the limits of the serial-voting detector.
 
I'm sure these specific words are secretly screened ^^^^^^^^^^
 
@Mat'sMug I earned some of it back I think.......
can someone explain this little snippet to me so I understand it clearly
static class Extensions
{
    public static int? BoundedParse(this string str, int lower, int upper)
    {
 
it's an extension method
it extends the string type
 
is class a collection of extensions? how do you use it?
 
2:18 AM
so you could do "Hello".BoundedParse(0,10);
 
@Malachi I've upvoted as much as I could safely.
 
how is it an extension of string?
 
(this string str)
the method body can operate on the instance of string, called str.
the this specifier indicates an extension method. Has to be static
 
so I just put it inside of my namespace and it will be available to any string I call inside the namespace?
 
Best regrouped in static classes
exactly
 
2:20 AM
what do you mean best regrouped
 
or you put it in an MyApp.Extensions namespace and do using MyApp.Extensions; to use them from another namespace
 
does int? represent an optional return type...like Some and None?
 
It's a shorthand notation for Nullable<int>
so the return value can be null, or any valid int
 
@Yuushi that was my next question thank you @Mat
 
:)
 
2:22 AM
can I do short?
 
'night!
 
@konijn Good night!
 
later @kon
 
later!
 
The Nasir is back!
-1
A: JavaScript Quiz App

Nasir AhamedI've downloaded it and using it now. Would it be possible to add unique image with each question? That would be huge help if you can do this. Please let me know thank you so much again. Nasir

okay, now I really going
 
2:23 AM
is this on-topic?
3
Q: ReaderWriter Synchronization

user38477This code uses a ReaderWriterLockSlim to store data (on a disk or wherever), so that only one thread can write and many threads can read. All writers should be finished before reading, and the write should not block the caller. Basically my solution would work, but it doesn't look and feel natu...

 
I would guess yes
if it works..
 
I have written this code in .NET 2.0, I'd like to use .NET 4.0 features, how would I do that
 
Congrats, you've gained the privilege – trusted user – learn more
2
Thanks Santa(s)
 
-1
A: JavaScript Quiz App

Nasir AhamedI've downloaded it and using it now. Would it be possible to add unique image with each question? That would be huge help if you can do this. Please let me know thank you so much again. Nasir

@konijn I've temporarily protected the question to prevent him from answering again. @Jamal Do you want to take further action?
@Malachi Santa Santas
 
Welcome to 4K @Malachi!
 
2:25 AM
@syb0rg Protection is okay for now. There's an automatic answer ban, but I'm not when that is hit. I cannot trigger it manually.
 
Hmm, it was deleted before I could add a comment :/
 
in NSChat on Stack Overflow Chat, 21 secs ago, by God
I hate programming-_-
4
 
@syb0rg I can still add one myself, which will be sent to his inbox.
 
@Jamal Probably a good idea, since he didn't get why his answer was deleted the first time.
 
@nhgrif they should force him to change his name, God would never whine like that
4
 
2:33 AM
@Malachi Till what?
 
reversal badge
 
Ohh
1 more upvote on this:
4
A: C String - new function to detect user's anger - thoughts?

syb0rgA few notes: Right now you have the method str_findString(). I'm guessing this is an variation of strstr(). I'm also guessing that <string.h>'s implementation of this method will be more efficient and faster, based on it being a standard library. if (strstr(temp_a, "$#@#")) { ... } Decla...

 
There's someone who makes a point of complaining all the time and his name is god? That seems either trolling-y or someone severely disconnected with reality O.o
2
 
Yea, both.
There's this gem to:
in NSChat on Stack Overflow Chat, 5 mins ago, by God
for me it is. you get to sit at work and do this, then go home and relax
He programs as a "hobby" and doesn't think it's relaxing.
I program as a career and find it relaxing..
5
 
@nhgrif I love writing code, my job doesn't let me do enough of it
 
2:37 AM
For the life of me, I can't figure out what the hell his avatar is.
Looks like someone took MSPaint to some man-boobs x.x
 
I agree. The frustrating/stressful parts of my job are when I'm doing non-coding things.
Like trying to get a refund from the ODBC Router people.
I mean, I could understand finding programming frustrating or not enjoying programming. There are things I don't enjoy that other people do as work or hobby. But I certainly wouldn't pick up something as a hobby if I didn't enjoy it.
 
Yeah, that doesn't make sense at all. I suspect he's either trolling, or a 14 year old.
 
He's 17 or 18
 
Then again, the amount of people like him whom I've come across in real life is disturbingly high...
 
troll.. or whatever. It's just chitty-chatty useless comment that ought to be weeded out.
 
2:43 AM
Ah, that explains it to an extent.
 
He may be trolling, but he's got at least a couple apps on the app store.
 
Oh god. I bet those are some truly well made apps :o
 
Also... I've seen large chunks of the source code for his app...
Back when I still had the patience to look through huge heaps of trash to figure out his problem.
 
say no more..
;)
 
He just told me he was going to post some of his code:
in NSChat on Stack Overflow Chat, 47 secs ago, by nhgrif
I'm not going to look at it for both our sakes.
 
2:47 AM
hmm
 
Aw. I can't star deleted messages. :-(
3
 
@Jamal me neither
 
WOW.
-1
Q: What do I need to learn for scoring system in xcode?

blancI'm designing a logo quiz type of game, and I want to create a scoring system, I'd like to know a few tutorials that can be useful, some books if they are available or any good resources that I should consider before designing the scoring system! Can you help? Thank you

Bad question and bad answer.... lol
 
0
A: What do I need to learn for scoring system in xcode?

michaelkent94If you're asking about the conceptual aspect of a scoring system, then you can just design it however you want. For instance, if the player gets a logo correct, increment their score by one. Coding it is fairly straightforward. It is comprised of a property (or instance variable) that you change...

The answer is ...wow!!
 
@Mat'sMug I have rabies, and I bite ;-)
 
2:53 AM
Napalm'd.
 
@Jamal mwahahaha the other kind of napalm...
 
going to listen to Neil DeGrasse Tyson before bed. Cya later.
 
I couldn't get that extension to work right, oops I had it inside another class....lol
 
1
Q: Fast way of searching for a string in a text file

Allen SavioI have written this code to search for a string in a .txt file. Is it possible to optimize the code so that it searches for the string in fastest manner possible? Assuming the text file would be a large one (500MB-1GB) I don't want to use regex. import java.io.BufferedReader; import java.io.Fil...

 
@Mat'sMug A napalm that... doesn't cause harm? O.o
 
2:56 AM
downvote-party?
 
@Mat'sMug The comment under the answer is even better.
 
"a gem"?
 
"+1 This is the best answer ever!!!"
 
Oh dammit. I misread the comment.
This is awkward... I could have sworn it said "thanks for the head."
2
Promptly ignore me, please.
I misread it as the beginning of "thanks for the head__start__"
 
Bedtime, huh? :P
 
2:57 AM
Apparently... lol
 
(digging) ... lol
I'm out as well, 'night folks!
 
I do have a specific problem, the problem is I cant find any way to start creating the code for the scoring system! — blanc 1 hour ago
Um... that's not really specific?
Goodnight!
 

« first day (311 days earlier)      last day (3708 days later) »