Stuart Blackler

 The 2nd Monitor

General discussion about codereview.stackexchange.com - Welcom...
Oct 16, 2014 22:15
With the query, do you think it would be possible to calculate the LW/MTD records from the YTD... Basically, you are performing loads of cartesian products which on there own are fine (ish). I would try to reduce the amount you create first @Mat'sMug
Oct 16, 2014 22:12
You free to try some @Mat'sMug
Oct 16, 2014 22:10
@Mat'sMug are you interested in all the sales people, or just specific ones?
Oct 16, 2014 22:04
0
Q: Interlocked.Exchange Collection Modified Exception

Stuart BlacklerI am trying to create a form of Buffered Input to see how easy it would be to implement, without the use of Rx or any other library. So I came up with the following class: public class BufferedInput<T> { private Timer _timer; private volatile Queue<T> _items = new Queue<T>(); public...

Oct 16, 2014 22:04
If anyone's interested:
Oct 16, 2014 21:32
Got an interesting problem if anyone fancies the challenge (c#)
Sep 10, 2014 17:33
Also I have 1944ms of idle time im just like what...
Sep 10, 2014 17:32
so I need to find it and squash it
Sep 10, 2014 17:32
well the thing is I have 300ms of layout on my homepage. There isnt anything that complex tbh
Sep 10, 2014 17:29
we can code review css right?
Sep 10, 2014 17:28
@DanLyons meaning legacy > 3/4 months in this case :)
Sep 10, 2014 17:28
amazing how much technical debt can make your job harder
Sep 10, 2014 17:27
nice! Pretty jealous of the no legacy stuff
Sep 10, 2014 17:24
Whats your new job?
Sep 10, 2014 17:22
Cheers @Mat'sMug, hows things?
Sep 10, 2014 17:10
aye :( ive just got like random long pauses and I dont know why :/
Sep 10, 2014 17:06
is anyone good with reading time lines from chrome?
Sep 10, 2014 17:06
hmm my website is confusing me today
Sep 10, 2014 17:04
even sadder for me at ~4k across all sites
Sep 10, 2014 17:03
awesome congrats @200_success
Sep 10, 2014 17:01
na last month or so, not been around for a while
Sep 10, 2014 17:01
@Vogel612 dawn of time? :)
Sep 10, 2014 16:59
Whats new?
Sep 10, 2014 16:58
Hey folks
Aug 11, 2014 22:45
Any c# devs around?
Jul 15, 2014 18:16
@SimonAndréForsberg agreed, vt'd
Jul 15, 2014 18:04
yo all!
Jul 3, 2014 19:12
In computer science, a radix tree (also patricia trie or radix trie or compact prefix tree) is a space-optimized trie data structure where each node with only one child is merged with its parent. The result is that every internal node has up to the number of children of the radix of the radix trie, where is a positive integer and a power of 2, having ≥ 1. Unlike in regular tries, edges can be labeled with sequences of elements as well as single elements. This makes them much more efficient for small sets (especially if the strings are long) and for sets of strings that share long pref...
Jul 3, 2014 19:10
Out of interest anyone know of a decent radix tree implementation either in java or c# that uses generics? (If its java ill port to c#)
Jun 30, 2014 20:04
you
Jun 30, 2014 20:04
extremely, coersing asp session state in to doing what we need it to do
Jun 30, 2014 19:50
I was the downvoter, fyi.
Jun 30, 2014 19:48
To be fair, I agree with the commenter
Jun 30, 2014 19:45
furthermore, use parameters in the sql command
Jun 30, 2014 19:45
so string + string = 3 strings in memory
Jun 30, 2014 19:45
yes, because strings are immutable. Once created, they cannot be modified.
Jun 30, 2014 19:44
or use a string builder
Jun 30, 2014 19:43
string + string + string should be string.format(string, string)
Jun 30, 2014 19:43
and when there isn't too.
Jun 30, 2014 19:40
@Malachi you're leaking resources when an exception occurs FYI
Jun 30, 2014 19:36
1
A: How to handle multiple cookies with the same name?

NateThe answer referring to an article on SitePoint is not entirely complete. Please see RFC 6265 (to be fair, this RFC was released in 2011 after this question was posted, which supersedes previous RFC 2965 from 2000 and RFC 2109 from 1997). Section 5.4, subsection 2 has this to say: The user a...

Jun 30, 2014 19:36
found the sort of answer:
Jun 30, 2014 19:27
where would you suggest to be the best place to ask the question? I suspect I would get dumped straight off of SO and i'd rather learn the best place to ask
 

 The Heap™ – Consultancy ©®

General on- and off-site discussion for dba.stackexchange.com....
Jul 3, 2014 17:24
> I think its safe to summarize that retrieving unnecessary data is wasteful and should be avoided no matter what the scale of data involved. The purpose of the ORM is to map data from the table to an entity. That entity does not have to be the same entity as that generated by the ORM toolset.
Jul 3, 2014 17:24
I am tempted to reply with:
Jul 3, 2014 17:22
Jul 3, 2014 17:21
Its actually in the comments
Jul 3, 2014 17:21
Oh darn, my satellite went down this morning for maintenance...
Jul 3, 2014 17:20
I can see a potential long winded debate happening on a question and just wondered what would you suggest the best way of killing it is?
Jul 3, 2014 17:19
Hey all