« first day (368 days earlier)      last day (3947 days later) » 
00:00 - 15:0015:00 - 00:00

15:00
@SimonAndréForsberg Okay... then I need to decide what is the best... I think subclasses is actually better
Hmm, how on earth am I going to debug this? I know exactly what method causes it though (has to do with native): Java Result: -1073741819 It ain't much information.
0
Q: two-factor authentication uniquely identifying a device

DanWhat is the best way to identify unique devices for two-factor authentication? Here's what I'm up to: I'm collecting the username/password, and then I'm sending an authorization code to the user that they also need to enter before gaining access to the system (built in php). I don't want to bug...

> You've earned the "Good Answer" badge for Open Source Advertising - Sidebar - 1H 2014.
That's one badge I'd like to get with an actual answer...
hey I just noticed I was #1 last week! stackexchange.com/leagues/86/week/codereview/2014-04-27
15:18
0
Q: a better way to get room Id of a current chat room in Node.js

shangyesheni need roomId(an auto_increment primary key) to locate a specific room to update chat info. my way of doing it right now is ridiculously dumb. its ok im a node.js noobie:) so here it is: in createRoom.js, i use roomName from a form that a user has entered to create a room model and find its room...

@Mat'sMug, the code is working, but it's just slow with a CPU overhead. So it's time to make a review... I would say it depends on your point of view. For me this is a valid question. — TLama 3 mins ago
thoughts?
> The problem is that this implementation makes the CPU of the machine where the service app is running go to 100% and freeze the complete system untill the service is killed.
^^ i.e. non-working?
...anyone here?
0
Q: Writing to file in a thread safe manner

Nathan CooperWriting Stringbuilder to file asynchronously. This code takes control of a file, writes a stream to it and releases it. It deals with requests from asynchronous operations, which may come in at any time. The FilePath is set per class instances (so the lock Object is per instance), but there is p...

@Mat'sMug move it to meta..
asd currently formulated, I'd agree on off-topic..
but if he could tell us "that piece worked on a machine with more power", then it's a different story.
0
Q: Project Euler Q27: What's wrong with this code?

Ime94This program is written to solve Project Euler Problem 27: Project Euler Problem 27 Here's the code: ab=[0,0] b_list=[] for x in range(2,1000): fact=1 y=2 while y*y<=x: if x==2: break if x%y==0: fact+=1 break y+=1 if...

15:33
@TLama I created a meta-discussion for this: meta.codereview.stackexchange.com/q/1850/23788Mat's Mug 14 secs ago
CR /unsummon
weird
@Mat'sMug It shall not happen again!
mwahahaha dare me!
CR /summon 8595
CR /unsummon
lol. I can do it without a consensus because I am the owner....lol
@Malachi is there a user guide for your bot?
CR /help
15:37
they don't want him in here yet.
@SimonAndréForsberg I still don't understand how he managed to break my event bus with this:
@Test
public void shouldHaveWorkedButDoesNot() {
    Number expected = 1;
    AtomicReference<Number> actual = new AtomicReference<>(null);
    EventBus bus = new SimpleEventBus(Number.class);
    bus.registerListener(Number.class, (Number n)-> {actual.set(n);});
    bus.executeEvent(expected);
    assertEquals(expected, actual.get());
}
This doesn't evolve subclasses, or does it?
@skiwi I'm not sure, I haven't tried to run his code.
He is correct... it doesn't run, that's a serious bug
This if (eventClassConstraint.isAssignableFrom(eventClass)) fails for Number.class to Number.class
"Determines if the class or interface represented by this Class object is either the same as, or is a superclass or superinterface of, the class or interface represented by the specified Class parameter."
Or perhaps the test is the wrong way around...
Even then, Number should be the same as Number
But assertTrue(Number.class.isAssignableFrom(Number.class)); does hold
I need a better look at this after dinner
3
Q: Multithreading issue freezes the system - working code?

Mat's MugThis question was closed as non-working code, in spite of the following, from the OP: THe [sic] problem is that this implementation makes the CPU of the machine where the service app is running go to 100% and freeze the complete system untill [sic] the service is killed. Closing the questio...

@skiwi Then what is eventClassConstraint then? Is two different Number.class being used? Is Number.class == eventClassConstraint? Something's fishy.
15:55
System.out.println("eventClassConstraint = " + eventClassConstraint);
System.out.println("eventClass = " + eventClass);
if (eventClassConstraint.isAssignableFrom(eventClass)) {
eventClassConstraint = class java.lang.Number
eventClass = class java.lang.Number
16:10
And the if-clause returns false there?
for me, System.out.println(Number.class.isAssignableFrom(Number.class)); prints true.
Heya everyone. Nice picture again @rolfl. Busy writing a little speech.
heya @kleinfreund
Hi Simon.
We're back to regular name day. ;)
@Malachi how do the memes work?
16:27
@Vogel612 ????
it just says "I didn't know that one"
Work question: I have set up a web server, and it is rendering only part of the page, then 'stalls' with spinning icon in firefox. How do I tell what it is stalling on?
also could you delete moustache and mustache commands please???
I haven't got one..
@SimonAndréForsberg This also prints true, but my test fails
@rolfl By what language/script is it backed?
All sorts ....
OK, found it... ;_)
16:31
What are you doing with a web server anyway?
What on earth?!
I'm testing registerListener
@Test
public void testVerifyBug0001Fixed() {
    Number expected = 1;
    AtomicReference<Number> actual = new AtomicReference<>(null);
    EventBus bus = new SimpleEventBus(Number.class);
    bus.registerListener(Number.class, num -> actual.set(num));
    bus.executeEvent(expected);
    assertEquals(expected, actual.get());
}
Warning in bus.registerListener: Not assignable: eventClassConstraint = class com.skiwi.tcg.events.SimpleEventBusTest$BetaEvent / eventClass = class com.skiwi.tcg.events.SimpleEventBusTest$AlphaEvent
AlphaEvent? BetaEvent?
I don't even...
This is some seriously messed up stuff here
I think I found it out, I'm stupid as usual
That error warning was from another test that was supposed ot fail
and Number expected = 1 is sneaky
Because it's an Integer on runtime ;)
Only I lose my constant lookup time if I also support supertypes
Or hm traversing the runtime type to all supertypes can still be done in O(k) time where k = number of traversals
17:03
0
Q: Extract Excel data using Interop.Excel from C# is very slow

AlexCode Objective I need to create a System.Data.DataSet object from an Excel workbook. Each DataTable within the DataSet must correspond to a nonempty worksheet in the workbook. The top row of each sheet will be used as column names for each DataTable and the columns will be populated as the string...

0
Q: Is this php mailer file secure from injection attacks?

formguyMy PHP contact form was recently being used to send spam. Some security measures have since been put in place (please refer to the comments below) and I'm seeking the collective wisdom of others to review the code and to check to make sure it is secure from injection attacks. Thank you in advan...

17:21
Has there been any mention of when Code Review will actually graduate?
3
@Donald.McLean I think @GraceNote actually listed some conditions a while ago if my memory serves me... Unfortunately it doesn't serve me enough as to actually remember them.
@Donald.McLean the official line is "keep doing what you're doing, it's going to happen... eventually"...
4
0
Q: Create a simulation study using R to compare the accuracy (95% capture rate) and the lengths of the Chi-Squared confidence intervals

afsdf dfsafThe minimum length confidence bounds for a normal population variance for chi-squared distribution is Are they right? GOAL: Create a simulation study using R to compare the accuracy (95% capture rate) and the lengths of the Chi-Squared confidence interval: typical and minimum length. Then, f...

0
Q: Reimplemented quicksort, is the implementation correct?

Akash#include<iostream> using namespace std; int partition(int arr[],int first,int last,int pivot) { int tmparr[100]; int left=first,right=last; for(int i=first;i<=last;i++) { if(arr[i]<pivot) tmparr[left++]=arr[i]; else if(arr[i]>pivot) tmparr[...

17:47
(removed)
5
@Donald.McLean Current obstacle to graduation is .
@CaptainObvious Is that sufficiently on topic for Code Review, or would we need a Math Review site? Or maybe a migration to stats.SE?
h, i; n, o, p; u, v, w, x, y, z
0
Q: How to combine 2 integers (n bits each) into 1 integer (2n bits) in C?

EagledeltImagine that I have int a = 123 and int b = 456. How do I get a int c = 123456? Cheers!

18:05
@CaptainObvious Off topic
Obviously.
0
Q: Characters from a .txt file

EagledeltGot a problem while reading a .txt file. File contains the following characters: a m a r a m a r r a a r r o c f i c a r a r z a b r e z a f d e a m r i o The program should be able to detect all chars and print all of them without spaces and newline chars. However, the program compiles, howe...

Uh, off-topic again :/
"the program compiles, however it doesn't print a thing..."
3
oh, this just got close to a nice answer
9
A: Is my coding technique progressing in terms of C# loops?

BenVlodgiIt would be best for the sake of modularity, and re-usability for this whole chunk of code to be placed in a separate method. If you are going to need more user input besides just what gesture they want to use you could also make it more generic to be re-used through the rest of your program for ...

Hi! Code Review isn't the right place to ask for changing what the code does. We help in changing how the code does what it does. If your code doesn't do what it's supposed to be doing.. it's not ready to be peer reviewed. Please see our help center for all the details. — Mat's Mug 15 secs ago
@BenVlodgi sorry (I mean, sorry I can't vote again!), one of these is mine ;)
2
18:15
@Mat'sMug bullets can't strike the same flesh twice
that's a violent way to put it, but yeah...
Nice answers for both of you :)
regardless, it was smiled upon and will now be known as... nice
;)
hey thanks! (I didn't even remember I had an answer there!)
in BlueCheese Monster's Home, 14 mins ago, by BlueCheeseMonster
@Malachi I awoke on Wed, 07 May 2014 12:17:03 GMT (that's about 5 hours ago), got invoked 139 times, learned 11 commands, but forgotten 1 commands, teleported 73 goats
2
^^ that bot is awesome!
@Mat'sMug I guess PCG Doorknob has a couple built in Ruby that might compliment my bot nicely, I am going to decode and recode in Javascript
18:29
2
A: _ (underscore) is a reserved keyword

skiwiThe Eclipse compiler is wrong. Netbeans seems to have it right, what it is supposed to say, is: '_' is used as an identifier (use of '_' as identifier might not be supported in releases after Java SE 8) So currently it is still okay to do so, but in future releases it might not be. This c...

any santa for 1 vote for disciplined?
What are you on about... willis.
peer pressure is -3 @skiwi
disciplined = +3.
ah... there was something for deleitng +3 I think
I needed that one either way ;)
@rolfl "What you talkin' about, Willis?"
or it might have even been "Whatu talkin' 'bout, Willis?"
BTW.Work
Ditto.
18:35
0
Q: Search a directory structure for tar files and report on their size

BrianI have a complex directory structure on my web server that includes .tar files for download; I'm trying to create a report on the size distribution of these files (e.g. 10 are less than 1MB, two are 1-2MB, three are 2-3MB...) Is there a better way to organize this code? I started it as a consol...

I can snark while I work. Multi-tasking!
19:08
0
Q: Array getting Keyboard input

RAOThis code is from a tutorial, I do understand most of it just not the array. I know array hold values in their indexes (array[1]=something, array[2]=something...) But how does the array "keys" got the Keyboard.RIGHT value in the update function? package { -imports here- public class Main ...

I have 9 rounds left.
Hey Jamal .... good t o be done finals?
What's next?
Just... doing nothing. I won't be moving out until Sunday.
Ahhh .... don't even know where your real home is ... Also in Texas?
@Jamal so you're graduating now? mind taking CR to prom night? =D
19:40
I won't be graduating until next spring (at the earliest). :-/
-10
Q: Please. Me writing a program on asembly

user3613588In assembly language to write a program and compile it into com-code. In the data segment to specify n (n <11) DW type numbers in binary format. Remove from sequence every 5th single bit while doing shifts. The result print in binary notation.

I love that title.
"extreme votes".. always makes me smile ;)
what's extreme about 4?
Mat, your mug is so smart and helpful! — Alex 18 secs ago
^^ lol'd
I seriously read "mug" as "smug" for a second. That would've been an interesting comment.
comment on the SO ad:
I don't think python likes smart quotes, also, you should be using hashes for commenting. Triple quotes are meant for documentation purposes. But then again, it might be that that was the intended message? — Jerry 33 secs ago
19:53
lol
Oh, different Jerry. :P
has a CR account with 101 rep. I feel like linking to CR's page and saying something like "there's plenty of other language abuses to review [here]!"
wow today sucks. Spent 3 hours on 2 answers that only got me 1 vote... which I'm assuming was from @Santa. OP doesn't seem to have found the vote buttons yet :(
I posted one answer about an hour ago with just a vote from the OP.
Well, you think that sucks ......
I got desperate enough to ask an SO question.....
2
.... which is a long shot.
And not likely to help me.... since I have now pulled the source code... and I thnk I am screwed.
Certainly not going to get it working in ..... 28 minutes.
So, I may as well, check out your answers....
did it:
@Jerry haha there's more language abuse to be reviewed here! This post is the result of a little meta-contest we had on CR - you may want to ask the author of the original ad post, I'm just the messenger (I mostly review C# code)! — retailcoder 41 secs ago
@rolfl if you have to ;)
20:03
Two monkeys and two Jerrys? What's next? Two mugs?
2
Two cups maybe?
@SimonAndréForsberg I managed to get the superclass thing with events working
private Stream<EventHandler> getCopyOfEventHandlers(final Class<?> eventClass) {
    Class<?> clazz = Objects.requireNonNull(eventClass);
    Stream.Builder<Set<EventHandler>> builder = Stream.builder();
    while (clazz != null) {
        builder.add(eventMapping.getOrDefault(clazz, EMPTY_SET));
        clazz = clazz.getSuperclass();
    }
    return builder.build()
            .filter(handlers -> !handlers.isEmpty())
            .map(handlers -> handlers.toArray(EMPTY_ARRAY))
            .flatMap(copyArray -> Arrays.stream(copyArray));
Off-topic incoming. Gotta get something to eat now.
@skiwi this could be interpreted as a sexist comment ;)
@Mat'sMug Oh... I didn't know, I think I just remembered something about it being not good
Thanks @Santa!
20:06
But mug and cap related in my brain ^^
@skiwi not really, that's just me having the mind in the gutter
@skiwi Never doubted you for a second. But why exactly didn't isAssignableFrom work?
lol
in BlueCheese Monster's Home, 19 secs ago, by BlueCheeseMonster
@Malachi Don't be annoying, drop the @, nobody likes a double-ping.
@SimonAndréForsberg Because I need to get all mappings, like if you register events for Integer.class, Number.class and Object.class, then when you pass in an Integer, it needs to trigger all three
@Mat'sMug Thing is .... I think I tripped, and fell in to the same gutter.
20:09
0
Q: How to know when I need to use get/set and when not?

anthonytimmersI have read several articles using google, but I somehow do not really get what they do, and when it is needed. Below I'll give 2 pieces of code, in one using get/set and in the other without, and they both work (atleast in this example). Could anyone give me an explanation of the difference, and...

@rolfl how did you get the bot to call you names?
You have the source code.
3
I suspect it is tied in to me being a moderator though
that is what I was thinking
0
Q: Please help explain how this works

Graham WalshSo basically I'm starting to build my own planning poker using knockout. Ive looked online and found some examples and with the help of some people answering questions ive come up with this so far (fiddle attached). Basically I'd like someone to explain to me how each part of the knockout.js wor...

@CaptainObvious oh come on!
@rolfl you think it's the SO ad contributing to this flow of off-topic stuff?
20:19
It's unfortunately a Catch-22. We can gets a lot of publicity from SO, but that's also where we get a bulk of our off-topic questions. So it's publicity vs. clutter.
Score: 26
Created: Apr 28 at 2:03
Clicks per day: 24.22 (218 total)
clicks per day is going up!
Mat'sMug, So in pretty much all cases it'd be better to set accessors? @Jamal♦ I wrote this short code as copying my actual code would be way too much, as I programmed a game in XNA 4.0 for Windows, however I've been making pretty much all the fields public, which is wrong if I'm understanding it correctly. I could add a piece of actual if that'd improve this question? — anthonytimmers 59 secs ago
If you have real, working code that you can edit into this question, I'll cast a reopen vote - make sure to answer "yes" to all 6 questions in the checklist found in our help center though ;) — Mat's Mug 9 secs ago
Holy crap my apartment is old. There was water dripping from the kitchen light fixture all night. I have no idea how it happened.
good evening
@Jamal that edit, ...I was going to remove the whole top part, would that be too radical?
hey @Christoph
@Mat'sMug That's why I just removed the questions, in case the examples were needed.
20:31
reopen vote cast
0
Q: How to know when I need to use get/set and when not?

anthonytimmersI have read several articles using Google, but I somehow do not really get what they do, and when it is needed. Below I'll give 2 pieces of code, in one using get/set and in the other without, and they both work (at least in this example). Example 1 public class Example { public int number;...

@skiwi So if you pass in an integer (B), you check all your Integer, Number and Object (A), and see: is A assignable from B?
I have an open question here on CR and I'm using the code I posted for review more and more - it's working well, but I'd really like to know about lurking bugs or pitfalls. Is there anyone willing to take a look at it? codereview.stackexchange.com/questions/48447/…
I still don't see why isassignablefrom won't work for you
@Christoph I just put a 50pts bounty on your question, ...should help ;)
@SimonAndréForsberg so much for catching up...
@Mat'sMug good idea, I'm not on a rep hunt anyway
20:40
now I'm going to take a break from posting bounties... until I hit 20K :)
and.. TTGH - later @all!
I like to think of it as giving back some of the rep I ho-ho-ho'd.. and if it generates answers that generate votes that generate rep, at the end of the day I feel like I've done what's right :)
@Mat'sMug I take a slow day to give you an opportunity to catch up, and what do you do?
@Mat'sMug Wait a sec - does that mean you're paying for my bounty?
20:47
it's paid already ;)
(I think if you post a selfie answer you can even earn it!)
lol
4
ok gone now
@Mat'sMug Sometimes I do feel that it'd be worth giving back some rep I've received from super easy answers. I guess I'm just afraid of it possibly going to waste (and I will not refund my own bounties).
I'm just too stingy with my imaginary internet points to offer bounties :/
my.. preciousss [imaginary internet points]
20:52
... pretty much :D
The Lord of the Reps
2
that's kinda scary
Well, thank you @Mat'sMug ! I didn't even know that was technically possible
21:12
First thing I do when I connect: auto-star a "lol". No-brainer.
Oh, bounties, cool stuff. If someone has an extraordinary but little-voted answer over on SO, I've allocated 5k unneeded rep to spend on stuff like this, and could arrange for a token of recognition. Feel free to ding me if interested.
For example, I see that @skiwi is an avid SO user, but hasn't earned or offered any bounties yet. I'm sure there are some hidden Java-8 gems, or questions that could use more exposure.
I probably have some, but I couldn't choose which ones :p
@Morwenn wow, all your SO questions have been answered, That's good.
What I find shameful is that my second most-upvoted answer on SO is a two-liner about a RTFM question -____-
@amon That's because I tend to edit them to ping them :p
Also, I probably answered some of them...
@Morwenn My highest voted answer is a joke that received over 10 times more upvotes than my second highest one
:(
21:26
Wow, what an answer xD
I poored a lot of intellect in it
My most upvoted answer got votes because it has been shared on isocpp.org
Only recently did my most upvoted answer finally fall under a tag that I consider myself actually good at.
My previously most upvoted answer was a Java question, but now it's an ObjC question. And that Java answer is tied with two other ObjC answers of mine.
Apparently, I'm about halfway to the silver badge in Objective-C, iOS, and Java on SO.
And getting close to C++ bronze badge.
@Morwenn I'm still surprised that this answer of mine reached 10 votes. I have much more in-depth answers that have scored lower than this one.
@Jamal That's because everybody understands it.
And you posted it 30 minutes before a second answer was posted.
Honestly, I don't know how many rep you earn with "don't use using namespace std;" and a dozen of small problems that appear everywhere :p
21:39
@Morwenn That is true. However, I don't want to only post about using, just to kill zombies.
I understand :)
But you're often more into stylistic/syntatic reviews (I'm no better anyway...).
On the other hand, there are guys like dyp or iavr that only do deep semantic reviews.
That said, they often think "how would I have done this?" and try to make the OP's code evolve into theirs through the review :p
0
Q: Generic implementation of the Quick-Union algorithm with Path Compression

Jeroen VannevelWorking my way through Algorithms, Fourth edition by Robert Sedgewick & Kevin Wayne. I implemented a generic version of the Quick-Union algorithm and added Path Compression (not described in the book) to it. Mainly I'm looking for feedback on these two aspects and whether I might have overlooked...

0
Q: How to correctly format an safe array with byte data from vb.net?

jeff STDMETHODIMP CMMEmulator::sendinputreport(BYTE inputreport[5]) { //SAFEARRAY *inputreport // TODO: Add your implementation code here // Create as an Array of Variants becuase that is what the DSF // Interface->put_DeviceSpecificDescriptor is expecting an array of Variants //FADF_STATIC+F...

0
Q: Is this class correctly set up? - regarding private/public & get/set

anthonytimmersAfter changing all variables (with the help from Magus (not sure how you link someone)) from public to private and adding get/set according to the need to get modified and/or read in another class, I'd like to know if this was done correctly. // Main public class Asteroid { Random random = n...

0
Q: Is this how an MVC controller supposed to be?

Kid DiamondThis is the controller I created for my MVC framework, and I think I finally got it right. Anything I can do to make the code more efficient? Is this how a MVC controller is supposed to look like? abstract class Controller { protected $requestHandler; public function __construct(Reque...

Java, C++, C#, PHP. Everybody should be happy tonight.
Nope. The C++ question is off-topic. :-(
We still have lots of C++ zombies to kill.
But they are damn hard to kill.
21:51
And I think I've killed all that I could. I'm just hoping one or more of them will finally receive checkmarks. Wishful thinking.
There is the observer one, but I already gave enough wrong advice for that one... I prefer to leave it alone.
I am sure that there are too many comments though :p
4
Q: Delegate and Observer pattern implementation for an embedded system - copy and assignment operations

ChristophThis is a follow-up to this question, which resulted in major confusion on my side regarding forwarding of arguments. Advice regarding that should probably be given in my question on SO. Overview The classes below implement the observer pattern for use in an embedded system. My main need is to ...

I have nothing to say about it. :-/
Also, some std::forward calls remain while the functions do not take universal references.
Using std::move would probably make sense.
blocked could be renamed into is_blocked since it is a boolean function. But the name is already pretty clear.
All I saw was the use of std::endl, but that's not much of a review.
I have things to say. I hope that I won't tell crap like the previous time.
22:10
0
Q: Does this pattern have a name questions

kirsten gWhere should I ask the following question? In order to build a domain model for my sales orders I have identified the following entities; SalesOrder, SalesOrderLines and SalesOrderLineDetails The SalesOrderLineDetails only ever need to be retrieved as children of a SalesOrderLine. Is there a n...

22:31
0
A: Delegate and Observer pattern implementation for an embedded system - copy and assignment operations

MorwennI will try not to give awful advice like I did last time. Here are a few remarks: First of all, let's come back to std::forward. You should follow the link and read again a little bit more; std::forward is only useful for reference collapsing. In your operator(), you take the arguments by copy ...

Hope that it is better than last time :/
that bot went back to a room to remind me and then left again....lol
23:05
Incoming Meta question.
in 6 minutes ;)
2
Q: Should we have just one Meta tag for topicality?

JamalWe currently have three Meta tags that relate to topicality: scope on-topic off-topic A question about on-topicness or off-topicness (separately) are still about scope. A general question about topicality could still use all three and even site-policy. I've seen them used inconsistently som...

More like six seconds. ;-)
Well-played, SE. Well-played.
23:16
@Malachi I think you should tweak your bot to pick up @StackExchange and @CaptainObvious as "cues" for replying something witty ;)
23:31
Monking, all
0
Q: Truncatable Primes -- Project Euler 37?

jshuafI just finished Project Euler 37 after a bit of debugging and can't figure out how to make it faster. Whenever I add extra tests that I want to speed the program up, it ends up just slowing it down. My primes test is from here. Please help me optimize! from primes import test as is_prime from it...

@Morwenn This list is missing Objective-C.
@StackExchange answered :)
...and possibly the meta-answer with the most [meta-tag:tag-name] markdown, evah!
23:47
1
A: Should we have just one Meta tag for topicality?

Mat's Mugoff-topic has 24 questions, scope has 10 questions, and on-topic has 29 questions and no tag wiki. I don't see why we would need more than just one tag for this. They're all about the same thing really, and 9 questions are even tagged with both on-topic and off-topic! site-policy has 69 questio...

@Jamal @Corbin An interesting article I found: facebook.com/notes/facebook-engineering/…
3
And all others that review C++ ^
@syb0rg Read it before, but worth a reread :p
@amon I thought this was pretty neat for people learning how to use git:
(afk)
0
Q: Copy two properties from one array item to matching index in another array

Mike ChristensenI have two IEnumerable objects called items and newItems. I need to update the Did and KeyDid property of each element in items with the matching Did and KeyDid from newItems. I can't just call items = newItems; since other things have a reference to items. Here's my code: if (items.Count() !...

00:00 - 15:0015:00 - 00:00

« first day (368 days earlier)      last day (3947 days later) »