« first day (914 days earlier)      last day (4260 days later) » 

00:00
one of our developers actually just did a lunch and learn on how to debug XSLTs with C# extension methods. It's pretty awesome, something they added in 4.5 I think.
Joe
Joe
Hello I have problem with design of my program, I have win service communicating with client(wpf xaml..) via WCF and I am not sure how to transport data. THere are two solutions: 1. create object in windows service and send it whole, 2. send data via methods and create object in client. this object should be reusable in xaml also for data displaying
Joe
Joe
00:18
or send object from service and from that one create object for xaml? I am not experienced with xaml, sorry for my english
00:45
Any git guru's around?
depends on how guru
whats up
@StuartBlackler oh yeha I need to download that.
I can't checkout out a branch :/ it keeps moaning about "error: pathspec 'Development' did not match any file(s) known to git."
any ideas?
just deleted the whole folder and re-cloned from Github, then tried to do git checkout Dev and same error. Any ideas?
oh and i cloned using: git clone https://github.com/sblackler/BMark.git
are you trying to create a new branch?
00:54
@StuartBlackler not a guru, but I know something.
git checkout -b dev
checkout switches to an existing branch
the -b flag creates if it doesnt exist
Never touched Git. I gotta get Git.
also, git is case sensitive locally, but not remotely. very confusing
restarted the command prompt, pumped that in and bingo! thanks @drch
01:08
anyone bored/still awake?
I'm here
awake/tired
I'm pretending I'm asleep.
@RyanJMcGowan not very well your not :D
I'm drooling on my keyboard. How about now?
01:09
I wrote a small utility to help people run micro benchmarks. Just thinking of what to add... so a) do you do benchmarking b) what do you find most annoying?
@RyanJMcGowan slightly better
:)
@StuartBlackler what do you have now?
JabJab!
I need your mad math skizzles
@JABFreeware github.com/sblackler/bmark (dont worry its very small code :))
brb comp restart :O
@Pawnguy7 But of course Pawn :)
Remember the trig math you couldn't help me with sunday? :D
I switched to radians, but... it is still buggy :\
01:11
@Pawnguy7 Lets talk in your room
I am doing a repository pattern with EF. Seems like having a repository for each business model violates DRY a lot.
@RyanJMcGowan are you using an interface out of interest?
Wow... Is that a genuine flag I see? :P :P :P
One per, yeah. At first I was doing one repository interface, but I realized it didn't really make sense because I couldn't limit the types to just one implementation of the interface's member.
@StuartBlackler you scare me lo
l
01:16
how so @JABFreeware
Like if I had a member that returned an IProduct, I couldn't make a repository for SpecificProduct type even if it implemented IProduct
@StuartBlackler you use F#
So you pretty much have to have separate interfaces for each business model
even though they all have the same basic methods
Can't you make a single generic interface?
with Add/Update/Delete etc
I could with generic interface members, but then I couldn't limit TypeA from being inserted into TypeB in TypeA's repo.
I have an IBaseComponent interface and I had made a BaseRepository with IBaseComponent members.
But you can't implement a member that looks like this:
IBaseComponent Create(IBaseComponent component);
With this:
public User Create(IBaseComponent component) {}
even though User is an IBaseComponent
01:25
you can, just writing a sample
@RyanJMcGowan i was thinking along the lines of something like this: pastebin.com/2zBu05L7 does that look like what you want to do?
Doesn't it say not implementing the interface because Product entity =/= T entity?
I was doing that but calling the interface, not a generic
Hi i need some help
@fibertech too bad! Your screwed man!
what is it?
LOL just kidding
something is blocking my threads and i don't know what
sorry, i forgot to add something to the definition. The line should read class ConcreteRepository<Product> : IRepository<Product>
that's how i approach those sorts of things anyway. Hopefully it helps and doesnt confuse
01:35
I think it's along the lines of my thinking. I need to brush up on generics. When you call a <Type> after the class name, I don't know what that does.
But I can see the key is generics, not necessarily interfaces
@JABFreeware my software is multi-threaded but is working very slow
@fibertech cant fix program without clay (or code maybe)
:)
the bit after the class name means this class is going to deal with this type. So in the given example, in the class ConcreteRepository we are only going to deal with products
@user2288742 hi!
I think it's funny that FIBERtech is having problem with THREADS. Maybe the're WEAVED together?
01:39
So anytime you call <T> it's <Product>?
STOP! It's just a nickname
its what ever is in the <> yea
i can give u a teamviewer access or sources
select
01:40
Thanks. I'll see if I can make this work now.
I have some exception like this "The underlying connection was closed: A connection that was expected to be kept alive was closed by the server."
however, we could say ConcreteRepository<T> : IRepository<T> where T : Product which means we are going to allow any class that is a Product or inherits from Product. So we could have class MeatyProduct : Product and then we can create the repository var repo = ConcreteRepository<MeatyProduct> which would be 100% valid.
@fibertech need code
@JABFreeware pastebin, ok?
@fibertech yes
01:43
@Stuart @JABFreeware pastebin.com/XuZSpvuW here it is
there's lots of commented lines
@fibertech which line is the exception on?
@fibertech yeah
No, i know about all exceptions. That's wher i try to access the server from 50 or more threads in a time
nevermind, it's not an exception. Everything works slow that's the problem
all web requests are slow when i start 'em in many threads
the speed limit on this server is 100Mb, it can't work slow but it is
you might be throttled by twitter, or cpu bound
have you checked CPU?
yes
everything is nice
i'm working from many proxies, so not, not twitter
in 1 thread everything looks to be fine
CPU usage is near to 3% now
01:48
@StuartBlackler Thanks. I'm keeping your suggestion as a comment in my code as I sort out how I want to go about this.
@RyanJMcGowan no worries. Worth brushing up on generics though. So useful
here is the log, look at the time, and that's with 30 threads
THIRTY threads work so slow? can't submit this
Yeah. I have used them a little. I've only been coding for a little over a year. Less than that in C#
Note to all: please strip unnecessary comments from code you post here...
@fibertech you said proxies. are you going through a proxy to do this work?
01:51
one proxy per thread, if in 15 secs it dies i change another proxy
look at the trouble i start thread packs many times
my account post a message, when it is posted i start threads which retweet this message
7000 accounts, 30 threads, 120 accs per thread
and when i use only 1 foreach all looks to be fine, but when i use it one time the message is posted to twitter and i need it to be retwitted by other accounts i call foreach and start again 30 threads with 120 accs per thread
i don't know if threads are started
in 5 minutes i have only 10 retweets per each post
does it work correctly if it is all single threaded?
but when i call foreach once i can have 500+ retweets in minute per post
@StuartBlackler yes, it works fine
@JABFreeware any ideas?
i can post a method, how i start threads, do you need it?
@fibertech i'll admit, i am lost in your code at the moment (its 3am here). I'll take another look when I wake up
01:58
oh i have 6:55 now and i'm trying to get it work
@StuartBlackler I'm too busy right now helping Pawn
and too tired
sorry ;(
we are all sleeping here obviously. I code in my sleep but dont debug
02:18
public interface IBaseComponent
{
    IBaseRepository<Type> Repository { get; } //Is this bad?
}
Nevermind. Seems to work quite well
I take it back. argh
02:51
@Ianthe you still here? :D
@NinjaEcho $
@NinjaEcho $help
@NinjaEcho is alive?
XD
@NinjaEcho Who is CC Inc?
@NinjaEcho $news I am alive\
@NinjaEcho $news
@NinjaEcho is not responding :D
maybe he is busy
@kendall your bot is broken
@NinjaEcho who are you?
03:42
@NinjaEcho Who is CC Inc?
Restarted.
@NinjaEcho Who is CC Inc?
There ya go.
@NinjaEcho help
@NinjaEcho $help
$help
HELP PLZ
@NinjaEcho Who are you?
03:44
I am a bot who goes by the name Ninja Echo.
Yes indeed, and more changes are incoming.
rolls eyes Great. Such as?
Next would probably be changes to the blacklist.
@NinjaEcho $ban shzy2012
03:46
Eventually google and flip, and whatever else is left
@NinjaEcho $blacklist shzy2012
You're not admin :P
Plus, it only takes ids right now
@NinjaEcho Should I work, play or sleep?
Alrighty then.
03:48
waaat
waaat
haha i see what you did there
You are in 9 chat rooms at once?
You haven't noticed?
I'm not in 9 rooms at once.
03:54
@KendallFrey Check again.
HOLY SHIT
all 22?
Every one of 'em
 
3 hours later…
06:34
hi
good afternoon
@NinjaEcho who is DarkLight?
@NinjaEcho $g OP
06:52
hahaha :D do you know what OP means in the post or threads?
sorry for the stupid question
:D
sup peepz
its original poster.
thanks :D hahahaha
nice ur from PH
for SqlCe ORM which library is the best ?
07:35
yes I'm from PH :D
@c0dem0nkey Are you in Manila? :D
08:04
@NinjaEcho who is me?
I don't know.
:D LOL
@NinjaEcho who are you?
I am a bot who goes by the name Ninja Echo.
@NinjaEcho who is AppDeveloper?
08:13
I love India
09:05
posted on April 17, 2013 by Scott Hanselman

It's lovely, isn't it. It's the Windows 8 on-screen keyboard, except I don't need or want to see it. I have a Lenovo X1 Carbon Touch and it already has a keyboard. I will never ever want to use the Windows 8 touch keyboard. Unfortunately there is no checkbox or "just turn it off" way to disable the keyboard with a supported option. However, there is a way to effectively disable the keyboard

 
1 hour later…
10:23
hello all
anybody could help me with this post stackoverflow.com/questions/16057479/…
thanks in advance
10:37
@NinjaEcho who is LiverpoolsNumber9
@DarkLight NinjaEcho is cool !
11:01
hi
I need a help with session
where to set default session when first time it needs to be null. I have two panels where visibility of each of them alternates as per code
so when my second panel is visible I need that session only
user1125394
11:31
well don't laugh at me if this is stupid but
user1125394
can I use a single TcpClient static TcpClient notifier= new TcpClient()
user1125394
but many outputStreams
user1125394
outstream1 = notifier.GetStream();outstream2 = notifier.GetStream(); //from different threads ...
A TCP connection is one input, one output -- no more, no less.
user1125394
yes, but internally, when the client is connected, why not having multiple streams writing to it
user1125394
11:35
makes sense to me at least
user1125394
the thread safety isn't important
It makes no sense whatsoever. In what way will the data arrive?
user1125394
externally from an API, and this is multi-threaded (multiple event handlers)
user1125394
often the threads can write at the same time, (I encountered concatenated packets, when I had one stream)
It basically feels like trying to follow a conversation of someone at the other side of the room, when the room is filled with people shouting random stuff through each other. You're just picking up noise and you get no meaningful data whatsoever.
user1125394
11:38
yes.. I just get what you mean, the getStream can give only one instance
user1125394
ok refactoring with multiple clients then
user1125394
thx
user1125394
I should have read the doc first "GetStream: return The stream..." logic
hey, sup @roel!
11:52
@ActionHank Heyya.
user142019
@RoelvanUden two inputs and two outputs, to be pedantic. :)
@RoelvanUden better example: it feels like two persons on one end of the line try to have two conversations with one guy at the other end. Simultanously. With no distinct between both persons.
12:08
@NinjaEcho Who am I?
@NinjaEcho Who is CC Inc?
@NinjaEcho Who am I?
'
@NinjaEcho Who am I?
    pattern: /^\s*wh(?:o|at)\s+are\s+you\s*[.?!]?\s*$/i,
That's the regex pattern for that commmand
@NinjaEcho What are you.
I am a bot who goes by the name Ninja Echo.
user142019
@NinjaEcho $introduce @Zoidberg
12:17
Nope.
user142019
Meh.
user142019
@NinjaEcho $introduce @Zoidberg
@NinjaEcho Introduce Zoidburg
user142019
Maybe it doesn't like edits.
It can't read edits.
user142019
12:17
@NinjaEcho help
				pattern: /^\s*introduce\s+(@\S+)\s*[.?!]?\s*$/i,
@NinjaEcho Introduce @Zoidberg
@Zoidberg Welcome to C#! Please read the FAQ.
user142019
@NinjaEcho slowpoke.
I hate this bot.
LETZ GET TEH REAZ BOTZ FLOWIN
user142019
@NinjaEcho Should I use C# or Haskell?
12:19
I can't believe you're asking a computer to help you with such a simple decision.
user142019
@NinjaEcho Should I stop asking you any more questions?
I don't care.
user142019
@NinjaEcho Should I kill myself?
Of course.
cc/listcommands
12:20
@CCInc help, listen, eval, live, die, refresh, forget, ban, unban, info, jquery, choose, user, listcommands, purgecommands, define, norris, urban, parse, tell, mdn, beautify, convert, get, google, hang, hangs, image, learn, nudge, python, regexexplain, s, ss, spanish, spec, stat, timer, todo, undo, wiki
!!/choose C# or Haskel
Bleep.
cc/choose C# or Haskell
@CCInc C#
Good bot.
user142019
cc/tell @NinjaEcho "Should I leave?"
@Zoidberg Command should i leave? does not exist.
user142019
12:21
I have no idea how this works lol.
Tell doesn't work taht way :D
user142019
cc/help tell
@Zoidberg tell: Redirect command result to user/message. /tell msg_id|usr_name cmdName [cmdArgs]
user142019
Oh. xD
!!/tell NinjaEcho listcommands
user142019
12:22
cc/help python
@Zoidberg python: python compiler
user142019
cc/python print("Hello, world!")
undefined
:8901920 Could not process input. Error: Cannot call method 'send' of undefined
cc/tell NinjaEcho urban hi
@NinjaEcho hi The word that always appears everytime I open up Editor Chat
12:22
@Zoidberg That feature broke :)
user142019
lol
The C# compiler works though
user142019
cc/beautify
@Zoidberg Command beauty does not exist. Did you mean: beautify
cc> int i = 0; Console.WriteLine(i.GetType());
12:23
@Zoidberg Could not process input. Error: Cannot call method 'toString' of undefined
@CCInc System.Int32 Source
I think it's time to update the bot
user142019
cc/help user
@Zoidberg user: Fetches user-link for specified user. /user usr_id|usr_name
user142019
cc/user Zoidberg
user142019
12:24
Awesome.
ccthank you
@CCInc You kiss-ass
user142019
cc/help image
@Zoidberg image: Search Google images. /image number|random query
user142019
cc/parse
12:25
Parse? don't remember that one
cc/help parse
@CCInc parse: Returns result of "parsing" message according to the my mini-macro capabilities (see online docs)
huuh?
12:36
cc/reload
@CCInc Command reload does not exist.
cc/refresh
cc/listcommands
@CCInc help, listen, eval, live, die, refresh, forget, ban, unban, info, jquery, choose, user, listcommands, purgecommands, define, norris, urban, parse, tell, mdn, awsm, beautify, convert, get, google, hang, hangs, image, karma, learn, mustache, nudge, python, regexexplain, s, ss, spanish, spec, stat, timer, todo, undo, wiki (page 0/0)
cc/jquery
12:38
Oh.
I'll make a MSDN doc thinggy!
@CCInc i suggested an msdn lookup thing ages ago
get it together
It's haaaard
I can't figure out how to get that unique code thinggy
google $1- site:msdn.com
cc/google List(T) site:msdn.com
Server error (status 500) occured (message probably too long)
F00k you bot
Thant shoudl work
12:51
cc/mustache
...I don't get it
2
Q: CustomValidator client function not firing for empty textbox

superman1971I have mocked up a very simple page and I am absolutely stumped as to why the javascript wont fire when I tab between the 2 textboxes:- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" inherits="Checkout_test" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN...

cc/mustache
user1125394
12:57
ouch
user142019
@CCInc did you write the bot?
user1125394
there's the same in JS room no? (not the same instance)
cc/mustache
perfect!
13:01
@drch nice one
hi all c# pros
user1125394
and cons
i have a list of object in which a field consist multiple dates so i want to give space in betwwne those dates
mylist.Select(x=>string.Join(" ", x.MyDates.Select(y=>y.ToShortDateString()));
_mlList = _sqlDP.GetELAccount(empId, date);

if (_mlList.Count > 0)
{
_mlAccount.LeaveTakenDates = _mlList[0].ELTakenDatesPreviousHalfYear;
}
??
13:11
A language that doesn’t have everything is actually easier to program in than some that do. [Dennis M. Ritchie]
great... now it's quoting famous people on its own
13:28
can anyone recommend a good free code review solution?
i like crucible but ppl here don't want to pay the license
I've named something "XxxxxFactoryService". Am I a dick?
(in relation to that)
(not other stuff)
i meant internally :S
i look the likes of getbarkeep.org
13:48
why viewstate has been encrypted?
@LiverpoolsNumber9 classnamer.com
@ActionHank wat is this
@Abi humor. That's what.
php is bad
@AbiRuban: by default its encoded but can optionally be encrypted
13:57
@drch why its encoded

« first day (914 days earlier)      last day (4260 days later) »