« first day (892 days earlier)      last day (4281 days later) » 

00:08
0
Q: PATINDEX regular expression to catch a pattern

JKarthikWhat would be the correct RegEx to fetch the following substring out of the text? [aaaa-aaaaa] from 'HelloWorld[aaaa-aaaaa][][asdfsadf][aas-asda-asdas]asdasd' SELECT PATINDEX('%[[]%', 'HelloWorld[aaaa-aaaaa][][asdfsadf][aas-asda-asdas]asdasd')

00:20
@SteveJobs hi
well it's bout that time again to head home, have a great night everyone
@SteveJobs you there ?
@ SteveJobs gone :(
That feeling when you are halfway through reading an answer and you suddenly know whose name is going to be below it. .....Jon Skeet.....
00:50
@KendallFrey Hey
how's it going in C# world?
I'm doing COM programming right now. It makes me feel middle-aged.
@KendallFrey Because most everything is IUnknown?
00:53
I'm developing a component to be used from Access, to read Google Books data.
Funn
Good luck!
God help you
Well, at least some people are alive.
Kendall: What do you do on sunday?
It varies.
Oh? Example?
01:07
Usually just chilling with friends.
you have friends?
WTF
Friends?!?!
THIS CHANGES EVERYTHING
In canada?! With Kendoll?!?!
^^^^^^^^^^^^^^^
01:08
I play hockey or baseball with em on weekends.
huh
preferably hockey
KENDALL GETS PHYSICAL EXERCISE?! BUT HE'S STILL FAT?!
@KendallFrey when we make fun of him:
I'm out, kids
wish me luck... riding home
@CCInc One hour a week? I spend more time eating than that.
01:10
Peace out yo @Pheonixblade9 good luckx
oh, this was my ride yesterday:
edc
edc
hi guys
oh gawd
why'd it take so long?
why'd you go all the way around?
@KendallFrey
a self moving garbage can
01:15
lame
I don't think my blocker likes awesomegifs.
i want one
edc
edc
hmm is it crazy to store a dataset in session state
ha ha ha ha
01:16
STAHP
edc
edc
wireless bin... lol
@KendallFrey why do some of you do something like this
$something kijkjkjfdkjdk
what are you doing?
01:18
What you were too lazy to do.
and whats that?
1 min ago, by Kendall Frey
user image
hm, why that?
no links?
It prevents link rot, and it's being kind to people who have overly restrictive internet blockers.
01:19
Your company provides your internet right Kendall?
No.
Home wifi
So who imposes the block?
My parents.
I see. Bypass? That's what I did.
What software?
Too much work just to view a simple image.
Netsweeper based or something
01:22
But surely it must get annoying
Yes, but it would only be half as annoying if people used the upload button.
lol
@CCInc Why? Because I'm training to ride 204 miles in 1 day
so 55 miles in 1 day should be easy
Those blockers work stragely
which it wasn't too bad
01:23
@Pheonixblade9 wow, nice
They block some sites but not others
@KendallFrey how would i go about getting a job?
how do you get your job...well, first job in programming
MAGIC
@EliteGamer
Step 1: Be good at programming
Step 2: Ask for interviews
Step 3: ?????
Step 4: Profit!
How I got mine, or how most people get theirs?
ok
@CCInc i wish
01:24
The two are very different.
how'd YOU get your job?
My dad started a software company. It was pretty easy from there.
Oh, yeah.
ha
i bet
01:25
You smarter than him? At programming
NEPOTISM
sorry, let me rephrase that: NEPOTISM
cc/define nepotism
@CCInc Heh heh. Um, yeah. Heh.
@Pheonixblade9 what does the company do?
like, what software
what company?
01:26
well, the business?
the place I work at?
data feed marketing
ok, cool
SQL XML ALL THE THINGS
01:27
ah
i am about to go afk for a sec
anyways
riding home
cya tomorrow all
(away from keyboard)
lol
(laughing out loud)
fkm
(fluffy kitty magic)
bye
(bite your eye)
01:28
(laughing out loud)
(laughing my f---ing a$$ off)
In case you want to answer my question without the reward of fake internet points.
01:50
hkhiig
(hey KendallFrey how is it going)
@KendallFrey
is there an easy way to convert a WinForms application to WPF?
:(
why not?
Because.
They are different.
01:52
It's about the same as converting a desktop application to a webpage.
edc
edc
I know a way!
i know, but there must be internal xaml generated from WindoForms?
They have totally different controls.
I do too: REDO IT
@EliteGamer Nope.
edc
edc
You put a WindowsFormHost control in your WPF app
01:52
@EliteGamer No, not at all.
edc
edc
viola! WinForms in WPF
@edc Shoot me. Or you. Shame on you for mentioning it.
edc
edc
hahaha
@KendallFrey but how does that work?
like why would you do that?
01:53
What? Do what?
You will never want to do that.
use the WinForm Host
It's not that hard to convert anyway.
edc
edc
oh, I think I just opened a can of wurms
so, WinForms does not generate any xaml?
at all
01:54
None.
then how does it run?
well,
WinForms is all based on classes in the System.Windows.Forms ns
edc
edc
it's almost like asking if you can put HTML controls in WinForms
It uses a completely different system.
^ & ^^
edc
edc
01:55
two different things
oh
i wish there was like a software that converted the two
WinForms uses code, WPF uses XAML, websites use HTML.
edc
edc
@EliteGamer not really... the systems are quite different
it's freaking not too much work
if you really wanted it
@EliteGamer You just think you do. But you would change your mind.
01:56
WPF WTF is better
hm
so i have to redo everything
edc
edc
@EliteGamer consider it... house cleaning
thats a BIG house
edc
edc
well, if it's a big house and it's a working house, why switch to WPF all of a sudden?
i love WPF, i am moving to it...i like it
edc
edc
01:58
plus, your neighbours probably have something to say about that too, if it's a big house :(
02:26
Hi Room, just wondering if anyone knew about some good book for C#, most of the ones i have just turned out to be references. I'm an introductory programmer to C#. I've done some python for a while but nothing object-oriented yet.
How long have you been programming?
@KendallFrey 2 weeks total
@SteveJobs References are how you learn tho
@KendallFrey @CCInc it's not that i don't understand programming, i was able to write a program in C# today including some IO and variable declaration in 3 minutes of reading. But the reference books always keep going off on a tangent and ruins the flow of the book.
References are how you learn a langauge.
02:30
Kendoll Y U STEAL MY WORDS
For reference, you can't beat "C# 5.0 in a nutshell"
If this book is anything like the 2008 version that I learned from, it should be perfect.
for a beginner, I also recommend "headfirst C#"
It's more of a basic language thing
tutorial kindda
@CCInc ok i see
@KendallFrey is visual c# express ok with that book ?
02:31
Yes.
@SteveJobs Here is a sample of the book, to see if it works for you. headfirstlabs.com/books/hfcsharp/hfcsharp_free_book.pdf
The book is about 1/3 reference and 2/3 tutorial.
@CCInc @KendallFrey thanks a lot. I'm ok with references...but i guess i'm reading them wrong...i'm usually trying to read cover to cover....references are supposed to be more of a supplement to a tutorial
I was reading about data types, and spent useless time reading about printing hex to the screen
02:33
It might benefit you to get a book specifically about OOP.
@KendallFrey i'm starting OOP in python this week.
A quick question kendall
I am simplifying "x^2 + 4x + 2 = 0" using the quadratic formula
@CCInc The guy on the book freaks me out
@CCInc ok so simplify it
lol
I get to the step "(-4 +- sqrt(8)) / 2"
And I pull a 2 from the sqrt
sqrt(8) != 2
02:35
and get (-4 +- 2*sqrt(2)) /2
Did I do that right?
Oh, yeah, that makes sense.
Okay.. how do i reduce that?
-2 +- sqrt(2)
Because my calculator says -2 +- sqrt (2)
02:37
yup
Okay, what happened to the two on the sqrt?
(-4 +- 2*sqrt(2)) becomes (2*-2 +- 2*sqrt(2))
OH]
Which becomes 2*(-2 +- sqrt(2))
Add the /2, and it cancels the 2*
So you factor the 2 from the numerator
and try to simplifY/
02:38
Uh, yeah, I guess so.
it's just the distributive property of division
Hmm, that's prolly where I got messed up
you distribute the "/2" to BOTH terms of the fraction?
(a +- b)/2 = (a/2) +- (b/2) that's it
oh okay
@CCInc I took the *2 out, but here's how you do that:
(-4 +- 2*sqrt(2))/2 becomes (-4/2 +- 2*sqrt(2)/2) becomes (-2 +- sqrt(2))
02:40
ah it makes sense now
thank you all
Next step:
6
Q: Get Transformation Matrix from Points

Kendall FreyI have built a little C# application that allows visualization of perpective transformations with a matrix, in 2D XYW space. Now I would like to be able to calculate the matrix from the four corners of the transformed square. Here is a screenshot to help you understand what I am working with: ...

I wish I had written down the equations I had gotten. Those were massive.
@CCInc there is a way to do all that without the quadratic formula, just saying.
I KNOW
my dang teacher is MAKING us use the quadratic formula
@CCInc lol
so we can practice "simplifing squre roots". Whoop-de-do
02:44
@CCInc That sucks
Hey @AndréSilva
Hey it's Kinected.
Haven't seen his face in eternity.
@KendallFrey wow, what's your background ? That's an intense question
@SteveJobs He's the top of the top in the C# room.
He knows alot.
@CCInc @KendallFrey I found that question interesting because i know the math, just not the programming
sup guys
02:47
The new Simcity track is awesome stuff if anyone wants to take a listen
yo @c0dem0nkey
@CCInc i see steve jobs
@CCInc thanks for the book, i think i need to start here
check her profile description lol
@c0dem0nkey You want a job at my company ?
@CCInc her???
@SteveJobs no just surprised youre moving to .NET
02:49
it's a G.I.R.L
@CCInc like GIRL with boobs and stuff?
@c0dem0nkey objective C was lame
@CCInc omg nice to meet you @SteveJobs
GIRL is an abbriviation in the C# room
@CCInc i got that feeling
@CCInc so whats a girl exactly
02:50
it's an inside C# joke
@CCInc i got that now. LOL
@CCInc ??
@SteveJobs hi tehre GIRL
@c0dem0nkey dont push it
@CCInc lol okay.
but srsly
steves a chick
?
02:58
@c0dem0nkey I'm Steve Jobs, not a chick. Understand that.
@CCInc wuever u say steve.
@SteveJobs*
are u guys familiar with MVP btw
MVP ? no
model-view-presenter
@c0dem0nkey i'm just a beginner so definitely not the person to ask
@SteveJobs okaay...so hows life steve
03:03
oh the oracle elft
and steve's not here
@c0dem0nkey Hell is much better than i thought it would be
2
Guys, is uTorrent protocol one of transport layer protocol or application layer protocol
HAHHAHAAHAHAHAHAHAHAHAHA
HAHA
LOL steve
according to the Wiki it is based on UDP so I assume it is an application layer protocol that is using UDP api
Am I right?
XD
BitTorrent is a protocol that supports the practice of peer-to-peer file sharing and is used for distributing large amounts of data over the Internet. BitTorrent is one of the most common protocols for transferring large files and peer-to-peer networks have been estimated to collectively account for approximately 43% to 70% of all Internet traffic (depending on geographical location) . In November of 2004 BitTorrent was responsible for 35% of all Internet traffic. Programmer Bram Cohen designed the protocol in April 2001 and released the first available version on July 2, 2001. Currentl...
03:08
yeah
thx
edc
edc
this plugin is just so great
another is select2
edc
edc
select2 seems to have a better documentation page
hello
I need sql help ;(
0
Q: radius search by latitude / longitude

Scott SelbyI have found a bunch of answers for this question using mysql , but I wasn't able to convert anything into a query ms sql 2008 can use. I have a longitude and latitude column for each row in the database. I am going to have a latitude and longitude for where the user is. I want to be able to f...

03:30
@SteveJobs lol
@SteveJobs - hahaha
I was originally going to look into spatial data
I will have max 5k rows , and max radius of 20 miles , so I think my way of doing math everytime should be ok
if I limit query to TOP 15
and I'm stupid and bought sql 2008 instead of 2012 when the price wasn;t much different at all
@mrówa
03:48
@ScottSelby yeah ;) still, you've just reinvented the wheel. Should work well on such a small scale. Pointed this one out only, because I've witnessed what spatial indexes can do on high volume data (on mongodb, but it's similar in spatial stuff to MS SQL). Good luck!
whered cc go
04:00
LUNCH TIME GUYS
>:]
04:13
hi
can anyone help me for solving an isue in iis?
 
1 hour later…
05:30
hii all
hello @c0dem0nkey
hey there dude.
05:45
how to filter the list datewise
in linq
can u elaborate
i have a list of objecta nd a fields admission date
and i take input from user from date and to date
so i want students list who take admission in between from date and to date
are you new to LINQ
05:49
yes
already have a question posted? ill try answering it there
so youll have multiple answers and feedbacks too
lol
i do it by my self thanks
only think to increase ur repo and points huh :/
nope.
okay then since you put it that wa.
way
damn thats bad thinking.
06:11
hi
need to clear one doubt on linq
public List<SelectListItem> GetAttributeName()
{
try
{
var attri = (from z in _entities.Attributes
select z).AsEnumerable().Select(z => new SelectListItem
{
Text = z.AttributeName + " (" + z.AttributeType.AttributeTypeCode + ")".ToString(),
Value = z.AttributeID.ToString()
});

return attri.ToList();
}
catch (Exception ex)
{
CreateLogFiles.ErrorLog(HttpContext.Current.Server.MapPath("~/Logs/ErrorLog"), ex, "CatalogService", "GetAttributeName");
return null;
}


}
on this line
Text = z.AttributeName + " (" + z.AttributeType.AttributeTypeCode + ")".ToString(),
the output will be..
like this..
abcd (efgh)
ijkl(mnop)
qrst(uvwx)
but i need the output is
abcd
ijkl
qrst
efgh
mnop
uvwx
i dont want you thinking i want points. but its better if you post it.
not everybody chats you know.
mm okay
0
Q: how to join two table column name and yield one result in linq

Jasper Manickarajneed to clear one doubt on linq public List<SelectListItem> GetAttributeName() { var attri = (from z in _entities.Attributes select z).AsEnumerable().Select(z => new SelectListItem { Text = z.AttributeName + " (" + z.AttributeType.AttributeTypeCode + ")".ToString(), Value = z.Attr...

hi i have posted it..
@c0dem0nkey
okay
so you dont need the "("
_studentList = _studentList.FindAll(item => item.CreationDate >= studentSearchCriteria.FromDate && item.CreationDate <= studentSearchCriteria.ToDate);
:)
somebody putting negative marks for this questions
ahh..yea i noticed
its not good.. people never encourage this type of questions
very bad
lol
06:27
@kapil so you done now
Yeah
good 4 u
 
1 hour later…
07:28
HOMIEZ
07:39
posted on March 26, 2013 by Scott Hanselman

My blog and all the sites in and around it are a mix of .NET 2.0, 3.5 and 4. This blog engine is currently .NET 3.5 and runs at http://hanselman.com/blog, but the application at http://hanselman.com/ (the root) is .NET 4. You can happily mix and match applications across .NET versions on a single IIS instance. You can see how mixed my system is in the screenshot at right there. However,

sup dawg xD
That's my car xD

« first day (892 days earlier)      last day (4281 days later) »