« first day (974 days earlier)      last day (3340 days later) » 
00:00 - 19:0019:00 - 00:00

19:02
@Quill-HATMANIAC that site seems completely unusable
1
Q: FizzBuzz functional implementation

david.sI was playing around with ES6 arrow functions, currying and partial application and I decided to try a functional implementation of the FizzBuzz problem: function* range(start, stop) { for (var i = start; i < stop; i++) yield i } var map = fn => res => x => fn(x) ? res : null var isDivide...

0
Q: Optimize C++ Stack implementation for speed

JacksonI have the following 'interface' to the C++ std::list, I was wondering how I could make it go faster. In particular, it needs to be able to evaluate up to two million operations in a matter of a couple seconds. Right now it's at around 8 seconds. #include <iostream> #include <list> int main() ...

Zak
Zak
Back to work in 13 hours :(
I was about to ask where the holidays went, then remembered I went through ~200 tv episodes ^^
Why doesn't either of these iterations throw a ConcurrentModificationException? ideone.com/rzNjCV
okay got it
it has to affect more than just one record
19:27
@Mat'sMug 523 here
@Zak That works quite well.
@JeroenVannevel If the second loop removes the def one, then I would expect it to throw an exception.
but it doesn't do that as the first loop has already removed it.
The first one never throws as it is iterating over the indexes and not the list itself. In that one there's a risk that you might skip over one item though.
ah, my tests were skewed because of those two loops combined
you're right, using a for(index) works but a foreach doesn't
19:48
-2
Q: Coded UI - Efficient way to retrieve row and cell values

GuestI am accessing windows form and it has third party Grids. Need to automate and test on grids using CodedUI. The grids are not detected on playback recording. I need to loop through the rows and update. There are 250 rows and while looping it takes so much time. How to effectively loop through row...

@CaptainObvious HAMMERTIME!
@Mast Your hammer or mine?
@JeroenVannevel The right way to do it would be: ideone.com/a1bQJR
People often neglect to use the Iterator.remove() method when it makes sense.
@SimonForsbergMcFeely Preferably yours, I left mine at home.
NHR
19:59
@rolfl No Hammer aRound?
s/aRound/Required/
Close.
No code, no clue --> Delete
2(NC)D
20:15
0
Q: A 'top 100' app that displays list of users ordered in two different ways

alanbuchananI built a small app that gets data from a remote json file and displays it in a list of users. In each list item, an image of the user, their name, and their points tallies are shown. The list is displayed in two possible ways - 'all time' and 'recent' - depending on the user's choice. I would ...

Zak
Zak
20:54
If I hadn't stumbled on CR 3 months ago, this would totally be my situation tomorrow.
@Zak Congratulations on missing that pitfall :-)
Naruto answer; accepted non-selfie answer with 0 score: Making a grid of videos
Ripe zombie; open question with answers, at least one answer having score 0, no answer having score > 0: Archiving an SQL table of sessions and statistics
@Mast shouldn't the 2 be behind that?
Monking
0
Q: termios/xterm Line-editor for APL interpreter

luser droogAs an interesting sub-part of an interpreter -- just the Read part of the REPL --, I present my raw-mode line-oriented editor that I intend to use for my APL interpreter. It defines a large character-translation table to coordinate the input-form/internal-rep/output-form for "normal" keyboards an...

21:09
Behind the (NC) I mean...
@Vogel612 In Chemistry, yes. In Math I don't think so.
hmm.. I was more on grammars / regex, but okay that works
though maths might make it 2N2CD
Yes, but you can extract one of the 2's by using parentheses.
Like 2N2C2D2F2H would turn into 2(NCDFH)
21:24
1
Q: Converting a string to an Integer in C

user93800I'm learning C and one of the questions I've been asked is converting a string to an integer. The code I've written supports converting from a string in any base up to 16/hex to an integer. There is no over/underflow checking and it does not support lowercase hex. int ASCIIToInteger(char *x, i...

21:45
@CaptainObvious Um, can't you just do something like this:
char a[] = "12345";
int b = atoi(a);
@EthanBierlein Have you tried?
Yeah, I tried it.
It works fine.
I'm not sure it'd be an acceptable answer though.
I'm feeling old. Wanted to nominate an answer here, turns out the answer was written in 2014...
monking
21:52
monking
Just gonna say now that @Hosch250 will be top of CR, and he certainly deserves it
He deserves network leader more than I do as well
also thanks to everyone who donated their upvotes to my hats
Hopefully Winterbash 2016 goes as well
@Shortstuff81000 still around looking for help? I haven't talked to her in a while!
@Quill-HATMANIAC it was like 2:30 AM when you pinged me...lol
@EthanBierlein Does atoi accept a radix?
No idea.
@Malachi no worries, I figured that might be the case
22:02
she is like 2 hours difference from me now.
@EthanBierlein strtoi does, so that could be a valid answer.
Possibly.
@Malachi All Dutch users are within 2 hours of my location.
The country simply isn't any bigger.
She was in the wrong place anyway, like I get that CR users are helpful, but really, if you've got an issue, take it to SO
... Which is what 200_success said anyway
22:04
@itsbruce what's up?
Has 3 CV. I think he's looking for a hammer.
The issue you pointed out there is a silly bug. Not only that, whether it's fixed or not,
@Quill-HATMANIAC I went to school with her, that is probably why she came here, to see if I was around
@Quill-HATMANIAC Who is "she" in this context? Did I miss something?
... the function returns the same output whether the predicate is { _ != 1 } or { _ == 1 } .
22:06
7 mins ago, by Malachi
@Shortstuff81000 still around looking for help? I haven't talked to her in a while!
I know not many people pay attention to Scala questions here but that one shouldn't have made it to review. Surprised at Seth Tissue, of all people ;)
@itsbruce @Donald.McLean is Mr. Scala.
@itsbruce it's on the review queue now. Looks like it will get closed
@Malachi Yeah, a skim over her profile found you answered her top rated question, and the topic was the same so I figured you'd help anyway, but that's a bit different...
Cool though, I guess
depending on what it is, she usually already has a SO question posted and is just looking to get some eyes on it.
sometimes I have had her post a question because I didn't know either.
22:15
do answers with 0 votes count for tag badge progress?
@janos I think so.
Zak
Zak
Doesn't it usually say in the badge description?
Oh, right, tag badge ^^ I would assume so
Total score and total answers.
So I see no reason why not.
Even negative scoring answers would work I think...
I have exactly 0 tag badges though.
Closest is Python with 63/100 14/20
And those scores haven't changes in weeks.
thanks
I have 197 questions in , and answered 3 today
Zak
Zak
I've barely been around for the past fortnight. I think it's time to get back in the swing of things ^^
22:19
@janos Questions don't count, only answers.
this should get me the gold hat, I suppose at around midnight. Considering that WB ends at midnight, I wonder what will happen
Zak
Zak
@janos don't you mean ?
@Zak I totally did.... Thanks!
22:31
Hi everyone
0
Q: N-Divisible Digits small program

MagirldoogerHeres the idea Write a program that takes two integers, N and M, and find the largest integer composed of N-digits that is evenly divisible by M. N will always be 1 or greater, with M being 2 or greater. Note that some combinations of N and M will not have a solution. Example: if you are given an...

22:52
There's also this site: codereview.stackexchange.com — kfx 5 secs ago
23:09
1
Q: Use va_list to format a string

oliveryas01so I wrote a function that basically works like sprintf, but instead returns the formatted string (std::string). I haven't worked on this long, and I'm aware there are tons of improvements that could be made (alloc/realloc perhaps?). I was just looking for some advice before taking the next step....

@Duga Guys what do you think of the that? ^ To me it does not look ok as the OP is just asking for modularization, not overall improvements
I think it might be okay. The OP is asking for practices on their modules, yes, but I've seen many "Is my code modular?" questions. Maybe if the OP also adds that they are looking for a general review, it would be okay.
@kfx Indeed CodeReview can be a fine place to ask if you are also interesested in overall improvements too, not just modularization. — Caridorc 5 secs ago
23:57
@Caridorc Yup, and it's a low quality question for CR standards.
00:00 - 19:0019:00 - 00:00

« first day (974 days earlier)      last day (3340 days later) »