I like to code.

SOreadytohelp

1d
awarded Supporter
Apr
2
comment How can one get a mobile device users full name?
@IamKarim1992 that's what I'm asking.
Apr
2
comment How can one get a mobile device users full name?
@IamKarim1992 I need the users full name "Bob Jones" for example. If it's not possible programmatically I'll settle for user input.
Apr
2
asked How can one get a mobile device users full name?
Mar
24
awarded Notable Question
Jan
23
awarded Yearling
Jan
23
awarded Yearling
Nov
20
awarded Constituent
Nov
19
comment Bootstrap 3 dropdown sub menu missing
This solution doesn't account for wanting to keep hover functionality when on desktop and it also doesn't work for the second level of submenu. In order for this to work for more levels of submenus change the last two lines to the following line: $(this).closest(".dropdown-submenu").toggleClass("open");, which will open/close the links menu items. In order to keep hover on desktop a check on the browsers viewport width is necessary and will differ for each site.
Nov
16
awarded Caucus
Nov
7
comment What's the difference (if any) in the following snippets in terms of functionality/performance/efficiency?
@Enigmativity Thanks for the tip. I'll give it a shot with some more of our typical situations and see, which implementation fits our needs best.
Nov
7
comment What's the difference (if any) in the following snippets in terms of functionality/performance/efficiency?
Thanks for the HashSet<T> tip! I ended up with something similar ro the first snippet, but instead am using HashSet<int> and doing a yield return nextRandom if the Add method returns true.
Nov
7
accepted What's the difference (if any) in the following snippets in terms of functionality/performance/efficiency?
Nov
7
comment What's the difference (if any) in the following snippets in terms of functionality/performance/efficiency?
@Enigmativity yes
Nov
7
comment What's the difference (if any) in the following snippets in terms of functionality/performance/efficiency?
@Enigmativity That's the next step, but I was hoping I could get someone smarter than me to explain some of the pieces I'm missing.
Nov
7
comment What's the difference (if any) in the following snippets in terms of functionality/performance/efficiency?
I get that part, but what's happening to my list object? Is it just sitting there not being garbage collected until the last yield since it's a required part of the logic of the loop? Would it be recommended to clear out the list and/or null it out after the loop? I'm thinking it will be consumed all at once, but not entirely sure of the calling codes implementation yet (working on a collaborative project).
Nov
7
comment What's the difference (if any) in the following snippets in terms of functionality/performance/efficiency?
@Jonesopolis I have, but most of the examples I've seen don't have much logic inside the loop body. I guess I'm trying to understand what's really happening.
Nov
7
asked What's the difference (if any) in the following snippets in terms of functionality/performance/efficiency?
Nov
2
awarded Popular Question
Nov
1
awarded Self-Learner
1 2 3 4 5