« first day (728 days earlier)      last day (3421 days later) » 
01:00 - 15:0015:00 - 20:00

1:53 AM
how to make a general link to save a file. I.e , I would like to save a text file from my program thus the link i provide in my code is "c:\Users\Saranya\Desktop\Port1.txt". How to make this code more general, I would like it to be "c:\Users\someone'sname\Desktop\Port1.txt".... tag Vb.net. please do guide me.
 
2:35 AM
Using writer As StreamWriter = New StreamWriter("c:\Users\Saranya\Desktop\Port1.txt", True)
writer.WriteLine(txtTransmit.Text)
End Using
how to use this : Imports System

Class Sample
Public Shared Sub Main()
Console.WriteLine()
Console.WriteLine("GetFolderPath: {0}", Environment.GetFolderPath(Environment.SpecialFolder.System))
End Sub 'Main
End Class 'Sample
 
 
4 hours later…
6:22 AM
Goood mooorning WPF
 
6:51 AM
Hey.
 
7:40 AM
Morning all!
 
hi
 
Hey
 
 
2 hours later…
10:05 AM
on rebinding to data grid data grid re positions to top row. what behavior i want it should stay to row which is currently being viewed.
 
do not rebind?
learn to clear
 
maverik telling exactly right
there should always be practices of removing all the rows and adding new one
 
Why thank you for backing me kind sir!
 
hi anybody here
 
There are indeed people present
 
10:22 AM
ha ha jus joking dude :P
 
Oh in that case, there's nobody here.
I am the remnants of Sean's mind that he managed to upload before coming to his untimely demise.
 
ok wats up
 
I am kept online by the very generous people of the WPF room to preserve the appearance of activity during UK working hours.
You may ask me questions but my responses are limited.
 
ok how to start with wpf implementation
 
Accessing.... Please wait.
Assessing relevance of top result.... Please wait.
 
10:27 AM
ohh i think is wpf is a difficult task ,
 
Relevance assessed. Relevance score: 110%. Top result: MSDN - Introduction to WPF
 
i thought it is same as web service
 
have you worked with Windows Forms?
 
Warning: potential quality-lowering conversation detected. Offending keywords: "windows" + "forms".
 
hehe
 
10:29 AM
no im a web developer buddy
 
I would make a great robot
 
and you are about to make a desktop application?
 
is it not web forms :P
 
I have no idea about how web work... sorry
 
Query: "how web work". Suggested topics of study: TCP/IP protocol, HTTP protocol, HTML, web servers (Apache, IIS, OWIN, nginx). Please select an option for further suggestions.
 
10:32 AM
woooooo here is a great teacher :) hehe
can we impement wpf with web forms
 
Answer: env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
 
tok tok is there anybody
 
Warning: misguided attempt to exploit known vulnerabilities in SeanBot 9000's environment will be punished. Severely and without prejudice. (Attempted exploit: CVE-2014-6271 a.k.a "Shellshock")
I wiki-ed the CVE number, my memory isn't that brilliant...
Aww man I totally could have given a better response to that.....
"bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
this is a test"
 
White people rich, white people rich, Brian Brushwood, Brushwood's white people rich
 
Billdy-bear!
How goes the day?
 
10:50 AM
It's Arkham Nights!
I didn't know it was a thing until a few weeks ago, and it's quickly becoming a new favorite holiday.
 
Is that an official holiday?
 
I do not know how to define such a thing.
It's an event, people who attend will all be in similar spirit.
 
Aaaaah I see
Not a public holiday then, I thought when you said "a new favourite holiday" you meant it was a nationwide thing
 
It's a boardgame party held at a boardgame maker, and it'll be celebrating H.P. Lovecraft's stories a bit.
 
So you're in good spirits today then? :D
 
10:54 AM
Sure! I'm planning to play the audio book of "Shadows over Innsmouth" for nerds in a few hours, while rolling some dice with buddies.
 
I'm lost but you sure sound excited about it ^_^
 
Okay, I'll start at the beginning.
At the start of the 1900s there were magazines that printed stories. Some were serialized, like ol' Chuck Dickens. Some were pulp, one time throw aways, like Poe and H.P. Lovecraft.
Lovecraft is responsible for modern horror.
His influence has been felt in Stephen King, John Carpenter, and Charles Strausse (spelling error here)
There have been several terrible movies attempting to adapt his works to the silver screen. They're all entertaining for kitch value, and I would suggest you start with the reanimator series.
 
Listening to Guns N' Roses ( :) ) it's a live recording.
He really has a high pitched voice. I'm actually quite impressed how he takes some of the higher notes
 
Lovecraft's works have been adapted to boardgames and card games. Currently the company Fantasy Flight has the rights to all of the most popular versions (Call of Cathulhu cardgame, Arkham Horror, Eldrich Horror, and so on)
Tonight is their anual party. People from all over the world fly in to minneapolis to talk to the game developers, play the games, and chat about unimaginable, indescribable terror from beyond.
/Arkham Nights explination.
Axel Rose is a pretty impressive vocalist. I assumed Get in the Ring and You Could Be Mine had two vocalists. That is incorrect.
 
at least was ;)
 
11:04 AM
I never heard Chinese Democracy.
 
the last performance I saw was from some TV-show, he reminded of Homer Simpson :)
started singing on one side of the stage, running across to the other side, and was totally wasted :)
 
Seems accurate.
 
but apparently he still does live performances.
 
No way is that axel rose
 
it is!
 
11:07 AM
Is that Axel Rose?
BEWHAHAHAHAHAHAHAAHAHAHAHAHAHAHAHAHA
It's been 20 years in the making, but I can finally say I'm more attractive than Axel Rose.
 
@Billdr That makes much more sense, thanks :D
It does sound really fun, too
 
@Billdr :)
 
I have ex-girlfriends to call. :D
 
Hahahahahaha
 
I just wounder what he does on a Saturday night. In the past I guess that he had a little harem, is girls still drawn to him? or has the fame just gone to his head and he's just an ass?
 
11:19 AM
To: That Bitch <ex@gf.com>

What you said you wanted: `<axlrose.jpg>`
What you had: `<billdr.jpg>`

Not looking so bad now am I?

:D
 
He's still got money, and there are a lot of women who believe they fell in love with him in 1994.
 
but money doesn't show on the outside the same way as being the singer of the "largest band in the world" as he was in the past.
I mean you didn't even recognize him
I wouldn't either
 
Yeah, but I stopped caring about GnR around the time Use Your Illusions 2 wrapped up.
 
He got old. The curse of humanity outside of east asia. Damn, they don't seem to age quite the same...
It's more likely that I have only seen exceptions to the norm, though
 
funny you brought that up.. slash haven't aged a bit...
 
11:25 AM
Hahahahaha
Was it that obvious how fast I was back-pedalling? :D
 
Asian parents maybe :)
 
:D
 
weird how a diet of jack daniels and heroine doesn't help you age gracefully.
 
@Billdr I'm constantly amazed at your encyclopaedic knowledge of music....
 
:)
 
11:28 AM
How's that?
 
I had better quite drinking crap whiskey and stop shooting up then... I'm going to look like a crinkled crisp packet at this rate..
 
Use Your Illusions 2 was a monster. Everyone had it. It was practically the soundtrack for Terminator 2.
 
You just seem to know all the music things, is all :D
Admittedly, I'm not really that into music
 
Most of my youth was spent getting baked, listening to music, and playing video games.
So there was a lot of time to learn.
 
That would do it lol
 
11:32 AM
also.. man... napster.
'edonkey.'
I've spent so much money on music because of napster. :-/
 
I never used napster
I did use virtual asses to deliver music to my hard drive though
 
I'd go to Sam Goody, buy a cd that I had got off napster (because 1) complete, 2) better quality than what my 28.8k connection could deal with) and one random cd. I called it musically russian roulette.
@Denver is Russian Roulette actually a thing in Russia?
 
I want a CD collection. When I'm rich and I have a man-cave I want a wall filled with CDs
Just cos it looks cool
 
@Billdr If you are talking about roulette with revlolver, then no.
 
@Billdr Course it is! I have seen that on movies, so it must be true
what??
are the movie industry lying to me?? to us all??
 
11:36 AM
Well, nothing I heard of. :)
 
I wounder where that idea came from.
@Sean Should have caught me 10 years ago. I got rid of tons.
 
Should have caught you 10 years ago full stop. I could have got in on the Billdr action and you could have a nice young trophy husband by now!
Marry a rich guy, push out a few sprogs, live happily ever after. That's how it works right?
 
I was married ten years ago.
 
Fuck.
Gonna have to wind the dial back on the TARDIS a little further then
 
I met my wife on my 19th birthday so... there's a really narrow window for you.
 
11:39 AM
so in came the wife and out went the CD's?
 
Nah, cheap disk space came in and the cds went out.
well, I made enough to have a harddrive that could hold my collection.
 
ahaa
in came the money, in came the wife, out went the money? :P
 
Other way again.
 
nice!
 
Two people can live for roughly the same price as one.
 
11:41 AM
oh, so she wasn't rich when you met her?
 
Billdr is the rich one, remember
 
@Sean You'll wanna shoot for april of 2001. There was a lot of... interesting nights there where you'd have a chance to enchant me.
Her dad's a plastic surgeon in one of the shallowest nations on the planet.
 
:)
 
but we were actually homeless within the first six months of our marriage.
 
So is that why your finally better looking than axl?
 
11:43 AM
...fuck, I'm a pretty interesting guy.
 
@Billdr Bitchin'. If history changes guys, you know that I was successful and am currently living happily married under the watchful protection of my beloved husband.
 
Anyway, got a job working for a phone company. Paid really well for my education level. I eventually quit that, got a job that let me go to college.
 
did the job pay for your collage?
 
hah, no.
I am still paying for my college.
 
how much is it? here it's free (there's no tuition)
 
11:47 AM
tuition.
I went for a total of 4 years of 'technical school.'
I still owe more than $10,000 for each of those years.
 
then just that bit is better in Sweden! :)
 
I don't know about just that bit, but yeah. Free school sounds dreamy.
So long as there are fewer applicants than seats, I suppose.
 
well there's not, no that's not true, it depends on the school. but you compete with your grades from the gymnasiet (high school I think)
so to get in on the doctors education you need top grades in all your other courses
 
Yeah, high school. If it's the same as German, anyway (gymnasium in German)
 
gymnasium? Like what we call the place where physical education happens?
 
11:55 AM
That's similar to how it works here
Yeah, I always found that confusing/amusing
You apply to a number of Universities with your A-level grades. So for example, when they brought the A* grade in a few years back, Oxford and Cambridge wanted 2 As and an A* for entry. You get into the best universities with better grades
 
Hmm. I'm going to see if I can find 5 albums better than use your illusion 2 that came out in 1991. That sounds like a fun challenge.
 
And it is very much a competition because there aren't very many places
@Billdr I came out in 1991.
 
I see bill walked in and channel came to life :)
oh you never told me you were out?
 
STP's core was 1992. They missed it by || much.
 
all this time i've been secretly meeting you for nothing?
 
11:57 AM
zing
(I honestly thought he was living proud a few weeks ago.)
 
when I was reading the system was 0 - 20, to get in to my program one would need about 16. So first I hadn't read all the things you needed to have to apply for the university, and I also had bout 14. But my university had a program on a year where we read all the basic math, physics and chemistry you needed to get in. And it would also guarantee you a position in one of the program. awesome system actually!
 
@Maverik Nah, I like the excitement. It keeps things alive in the bedroom department
@Markus Yeah we have something similar, they call them "foundation courses"
I am departing for lunch
 
exactly basår is the name here (baseyear)
 
(And I was referring to being born in 1991)
BACK SOON
 
Into the great wide open, blood sugar sex magic, badmotorfinger, out of time and ten.
it actually wasn't that hard to find five albums better than use your illusion 2 from 1991.
goddamn I forgot how awesome the stereo separation at the beginning of badmotorfinger is.
 
1:10 PM
WHich one's that one?
Not on that list
 
It's not? Can you screenshot what you see?
It doesn't tell me which cds are mine and which are on the service and which are both. I think I can only share things that are on the service.
 
Indeed I can good sir. Un moment s'il vous plait!
 
However, Badmotorfinger is one of the most important Soundgarden albums (I'd argue down on the upside is better, but I'm in the minority) so it'd surprise me if it was omitted from Google's service.
 
I was screenshotting and chopping and merging the images together then I thought "Sean, you're a fucking retard" and printed to PDF, link incoming
Really should update my other DNS records at some point...
 
Weird
I don't know man. You should listen to badmotorfinger too.
 
1:21 PM
Right after the Mad World section of this house mix has finished
Dat piano
 
Yeah, that's a good song.
Probably not wise to go straight from Mad World to Badmotorfinger.
 
It's not the original
If my ears explode and I die though, I'll accept that you warned me
 
There'll be some system shock there. Maybe start with R.E.M. go to Tom Petty, and then Pearl Jam, then go to Soundgarden.
 
I am disregarding your advice cos I'm badass
Ooooh that is nice
Haha there's a bit of a riff in there that sounds similar to Monkey Wrench
(I had to pause it, damn users breaking things...)
 
Monkey Wrench, the Foo Fighters song from ~96?
 
1:35 PM
It's a Foo Fighters song, yeah
 
The singer/guitarist/composer for the Foo Fighters was the drummer for Nirvana. Nirvana, Pearl Jam and Soundgarden were the spearheads (trident heads?) of the grunge movement.
They did a lot of collaborations, most notably Temple of the Dog. They were all from Seattle, which isn't that big of a town.
So yeah... you'll hear a lot of overlaps and similar ideas in those three bands.
 
I knew Dave Grohl was the drummer for Nirvana
I believe he is/was the drummer for Tenacious D, too?
 
(extending to foo fighters, audioslave, and Eddie Vedder solo nonsense)
 
But that makes sense
 
Yeah, Grohl is in pretty tight with Tenacious D. He was also studio drummer for the last two NIN albums.
 
1:38 PM
Billdr I love you
 
He's studio drummer on damn near everything. I think he just likes banging on shit.
 
I also love NIN, I had forgotten they existed
Hahahahahaha
One of my friends was telling me he rescued one of the last analog mixing boards or something along those lines and still use(s/d) it for recording on
I dunno what they're called, the things in studios behind the glass with all the sliders and knobs and shit
 
a mixer
 
My image of a studio in my head is a room with lots of equipment and a smaller soundproofed room with your dudes in. That's probably not very accurate
Gotcha
 
Depends on the band. Most modern recording has everyone record their track separately listening to a prerecorded mix in their headphones.
You still get your analog 8 bands that like to just plug into a single mixer all at once and release a gnarly piece of beauty.
That's how Highway 61 Revisisted was recorded, for example. I suspect it's now mostly done for punk (like the pixies) and dirty, dirty metal like Metallica pretends to want to be.
 
1:43 PM
Man what, you mean they don't play together when recording? Or have I got the wrong end of that stick?
 
Looking at Grohl's "Additional projects and contributions" on wikipedia, man.. being on any one of these would be the average musician's life long dream.
Naw, most bands record everything at different times now adays. The drummer gets the studio on Monday, guitars take Tuesday and Wednesday, etc.
You might have the entire band there, but most of them will be screwing around and listening to make sure everyone is on point.
 
No wonder everyone sounds shit live nowadays....
That is a really broad generalisation
 
Well... actual musicianship still exists. You have to look for composition over production, generally.
 
Yeah, that's where the real talent lies. Anyone can play an instrument
 
Pearl Jam still does great live shows. Tool as long as you catch them early in the tour (Maynard loses his range a lot these days), fuckin Black Sabbath was amazing live.
I am flabbergasted at just how good Sabbath was, actually.
 
1:49 PM
I would love to see some of these people live
I just don't pay attention xD
R# confuses me sometimes
"Type check and direct cast can be replaced with try cast and check for null"
Alright, but why is that preferable? I thought you should avoid exceptions unless it's, y'know.. An exceptional circumstance. I want to check the type, I don't want a cast to fail
Even if it is wrapped in a try {} block
I think I broke sexbox music
 
2:13 PM
have a nice weekend
 
You too, catch you later!
 
Later Marcus!
coworkers wanted to do some coworking
 
Eww
 
So I was just thinking today, I have some columns in a datagrid that each use a template and a style with some triggers. But the issue always is that there is no way to pass in unique values to either of those if you try to put them in the resources. Is there actually a way to do this, without the code-behind, that I am unaware of?
 
What are you trying to do?
 
2:25 PM
Well, in a general sense, imaging if I was using a Templated column and had two values to pass in, maybe a bool and a string. If I wanted to make that template a resource, there's no good way to pass in both of those values.
 
Are these values from your data? Wouldn't the template be specific to that use so you can just use bindings?
Or perhaps you could make use of DataTemplateSelectors
 
Lol. Never assume in my case that it's that simple :)
no, there are actually multiples of these columns. 20 for now.
 
I would use a template selector, if I have your use case correct
You can decide which template to use based on the data item
 
I though a template selector just let you choose the template you want to apply based on the data.
 
Yes, is that not what you want?
 
2:28 PM
Ya, maybe I don't understand what you mean. All 20 columns would use the same template.
But because I have to pass in multiple values, each column has to have a nearly identical copy of the template.
 
That doesn't sound very nice
 
Welcome to the desires of the financial world
 
whistles innocently
 
Billdr knows something...
 
I'm the guy who might have to one day audit your work. Watchya doin?
 
2:32 PM
hahahaha
 
(I'm also neck deep into bitcoin... because I'm the guy who might have to one day audit your work.)
 
Well these are just screens that our rates and risk desks use to evaluate data and make calculations
The problem is usually to do with the way they want it displayed
 
Ah, alright. So my gut is to say that'll go into something that looks like a datagridview.
 
I can't really fault them. They are all very used to Excel style spreadsheets
 
I think that's a thing that WPF has.
 
2:33 PM
bingo
Ya, I actually was using a DataGrid
Tried the DataGridView as well
On to a third party tool by Syncfusion now
 
Okay, read the original question. You're pulling in the data as a resource, but you don't want to push it through your viewmodel, is that right?
 
In my VM, I pull the data from a database and populate a collection of one of my models.
Often the specific case is the model is for Portfolio information and usually itself contains a collection of Securities.
 
Okay, so you have a one to ?many there
 
And you want the datagrid to adjust to fit the i securities that need to be displayed?
 
2:42 PM
Yep
 
I think this might be in a form that @Sean can handle now. I'm neither WPF or UX so I'm kinda useless at actual guidance. I'd probably throw that data into a fly/pop out.
 
Oh how I wish I could do that
The requirements are that the Security data all be laid out horizontally with the rest of the data so that each portfolio has the securities lined up down the grid (Assume that each portfolio holds the same securities, just different amounts)
 
@Sean slack it to me
 
NETscape WPFs.
 
Is that nested data?
My brain is fried
 
2:51 PM
@BrandenBoucher did you ever ask anyone why they would need 20-200 columns of data?
 
My mind has slowly been going numb all week, could you give me some random sample data? I appreciate this is sensitive data but I'm struggling to visualise this
 
@NETscape yep. Basically the reason I stated above
You know, I got pretty far with that and in the end a bug in the DataGrid itself killed me
 
you should just extended it or something :/
 
Oh I did
Honestly, if it were not for some of the cell navi abilities and other Excel like features, I'd probably just roll my own control or just use ItemsControl
 
Wait no I've been a tool
You've got lots of columns and your problem is the binding to the properties because they're all different?j
 
01:00 - 15:0015:00 - 20:00

« first day (728 days earlier)      last day (3421 days later) »