« first day (1068 days earlier)      last day (3081 days later) » 
04:00 - 20:0020:00 - 23:00

4:20 AM
hello
 
 
5 hours later…
9:05 AM
2 messages moved to Trash can
 
 
1 hour later…
10:49 AM
meant for starring right?
 
:)
I have a great question
can two concepts share the same name ?
I mean when someone says "The concept of xxx"
 
don't understand, example?
also ESL so I'm probably not right
 
esl ?
in other words, does it make sense to say "the concept of xxx" in the context of "yyy"
isn't it in the nature of a concept to be universal
 
@franssu English as Second Language
 
Formulated differently : ((concept of something) in somecontext) == (concept of (something in somecontext)) ?
 
11:14 AM
no idea
 
@franssu put it in a concrete example :)
 
11:33 AM
why I ask is because I'd like to find pertinent examples ;)
the concept of thread in C# vs the concept of thread in sewing
^ in those two sentences, would you say "the concept of thread" refer to different things ?
 
11:51 AM
i don't think you can call the thread to be a concept without the context, without the context it's just a word, and as a concept in different contexts it has different meanings
 
well we have to agree that all thing can be conceptualized !?
 
12:35 PM
Hey @JohanLarsson
 
'morning all
 
:)
Ran the StyleCop plugin and my god so many changes it suggested
I need to get a little better at formatting my code :P
 
yeah, I usually turn off the documentation nags
 
Have you moved to VS2015
 
12:37 PM
@VivianLobo After cleaning it up you will be, not much fun cleaning but great with a convention.
 
I guess most of it is false positives
 
@VivianLobo Partly
 
I think it is a great push for C++ on VS compile time
however, at work I am not able to push to 15 because of QT
 
I wonder.. if at some point it makes sense to organize all of the starred links onto a wiki page.
 
that means web dev
 
12:41 PM
There's free wiki's out there to consume, aren't there? Or am I wrong?
Wikia.com and the likes?
 
probably, never tried
 
12:57 PM
I've never done one either...
 
1:22 PM
hola
what time do you report into work @LynnCrumbling?
 
@NETscape Generally between 8:15 and 8:45 Eastern...
 
ahh, but youre in WI right?
 
@NETscape Pennsylvania... east coast :)
 
1:55 PM
hi
I try to learn multi language in wpf, but I have question!!!what is the best way to use multi language in big project?
i want use the best way!
also i'm use mvvm pattern and change language application an Native
 
@OmidNasri Did you read over the MSDN article on localization that we linked you to, yesterday?
 
hhhhh
no
 
This article has best practices. It's the best starting point that we can give you.
 
I love the experience of others
 
@JohanLarsson Also offered up his localization helper at github.com/JohanLarsson/Gu.Localization
 
2:08 PM
I'd agree that we can have a Wiki for stars, but that's additional maintenance work
and people barely use the search button even
but if you wish to take on it, feel free of course :)
we used to have a link here for "rules" that was borrowed from Lounge<C++>
 
It is. It feels like we've got quite a list of links going. Right now, I already know exactly which link I'm searching for when I go looking...
 
yea i do the same
except, i'm normally doing it on behalf of lazy people that can't look through stars themselves even when i tell them its there
@franssu you know those hdr links will get cleaned out right? :D
I also noticed more F# today.. good stuff.. makes me want to go more f#py!
 
thx for all, bye
 
bye Omid
 
i come soon.
 
2:13 PM
<3 F#
 
roger that Omid.. looking forward to you coming
back..
i <3 F# too except, i've yet to code anything in it
 
I've coded all week end :)
 
Plus i now have Sean with me.. meaning.. i have to justify language change
 
I have this project in mind...
 
and regardless of what i say, he's not gonna want to learn f#
 
2:15 PM
it's so fun and sharp and ...
 
F!
 
seriously C# feels so dirty
 
brb
 
user4433485
Hellowww
 
user4433485
Maybe someone can help me here, with a terrible idiotic question lolz:3
 
user4433485
2:26 PM
String query = "update testtabel set velgen = 1 where knaam = " + label2.Text + "; why is this wrong?
 
user4433485
the knaam = " + label2.Text + "; part
 
hey
what do you mean wrong ?
 
user4433485
Well it's completly wrong got errors etc
 
user4433485
the query is not good
 
user4433485
I dont understand how the " + label2.Text + " parts work
 
user4433485
2:28 PM
I've never understood that, even with PHP I fail at that badly
 
maybe use parameters?
 
user4433485
what is the correct way?
 
user4433485
and most important.. why?
 
well first of all there's a 3 " in your line ?
String query = "update testtabel set velgen = 1 where knaam = " + label2.Text + "; <- when is the last one closed ?
 
You need single ticks, too.
Assuming knaam is a string (Varchar/nvarchar)
 
user4433485
2:31 PM
yeh
 
But all of that would go away if you used parameterized queries.
 
user4433485
knaam = ('" + label2.Text + "')";
 
user4433485
like this
 
user4433485
?
 
You don't need the paren's ( and )
 
2:32 PM
43
Q: String Concatenation using '+' operator

NoviceProgrammerLooking at the string class metadata, I only see the operators == and != overloaded. So how is it able to perform concatenation for the '+' operator? Edit: Some interesting notes from Eric Lippert on string concatenation: Part 1 Part 2 There is also a super article from Joel referred in par...

 
The sql server needs to see:
update testtabel set velgen = 1 where knaam = 'something'
so you'd do that with:
String query = "update testtabel set velgen = 1 where knaam = 'something'";
and adding the field:
 
user4433485
yeh
 
user4433485
but that something
 
user4433485
is a label.text
 
String query = "update testtabel set velgen = 1 where knaam = '"  + Label1.Text + "'";
 
user4433485
2:33 PM
if I do that 'label2.text' he will read it as a string
 
user4433485
@LynnCrumbling That worked! but I still fail to see why
 
user4433485
why knaam = '"
 
user4433485
and at the end "'"
 
What is the difference between:
where knaam = '" + Label1.Text + "'" and ...
where knaam = 'something'";
Let me put it this way:
what are you typing into the label?
What's the text?
 
user4433485
2:36 PM
a name
 
This:
where knaam = 'something'";
is the same as this:
where knaam = '" + "something" + "'";
 
user4433485
ugh
 
user4433485
I rly don't understand that
 
user4433485
lol
 
lol
 
user4433485
2:37 PM
I feel so stupid :3
 
everything in the double quotes " is a string
 
you're building out a string:
 
so its not "programmy"
when you want to access programmy stuff
you have to break out of the "
so you can access programmy stuff again
isntead of raw strings
 
string query = "update testtabel set velgen = 1 where knaam = '";
query = query + Label1.Text;
query = query + "'";
 
you need a way to determine the end of the string
 
2:38 PM
^ that's the same
@NETscape I think she's stuck on the idea of concat.
 
ahhhh
string myVariable = "label2.text"
string myVariable = label2.text
what is the difference between both of those
 
hello
 
user4433485
@Julien the first one is a string
 
user4433485
will so label2.text
 
user4433485
the other one will show the data of label2.text
 
2:40 PM
@bmende hello
 
string myVariable = label2.text + "label2.text"
 
:)
 
user4433485
Data + label2.text
 
so now say you wanted your string to put single quotes around the label2.text
how weould you do it
 
user4433485
Why would you do that?
 
2:42 PM
maybe its the idea of properties/methods?
 
to build an sql update statement :)
 
msgbox 2 + 3 * 2 gives me 8... anyone know why?
 
@bmende BEDMAS
 
user4433485
"'" + label2.Text + "'"
 
user4433485
2:43 PM
Like this?
 
label2.text returns a string. "label2.text" is a string.
 
@Katherina booyah
 
@bmende Order of operations:
 
ahhhh
 
calling a property is like calling a method
 
2:43 PM
brain fart
 
user4433485
:D
 
Multiply, Divide, Add, Subtract.
2 + (3*2)
 
label2.get_Text() is really what's going on when you use .Text.
 
haha thanks
 
2:44 PM
BEDMAS... depending on your compiler :)
 
A divide operation is really multiplying by a reciprocal in disguise :)
"there is no D"
Or S :) You're just adding a negative number.
BEMA :)
We always threw a P out in front, too.
PBE
 
Well, that's a nice way of looking at it!
 
Please Bar Excuses for My Dear Aunt Sally was the acronym I learned.. ymmv.
 
BEMA is a programmers way of saying BEMDAS
 
i don't use any acronyms... i just retained the lesson from 4th grade.. lol
 
2:51 PM
hey, very short, what would you want to know about a company that you was about to get an assignment at?
 
ok g2g, ty for math lesson
:)
 
@Markus CompanyName.Contains("Google") == 0
 
the only question I can come up with is if they use git, scrum etc..
 
Well, you want to know their entire dev process...
 
what technology/tools they use
 
2:53 PM
Do they use source control? If so, which kind? Git/mercurial/svn... oh god.. sourcesafe or tfs?
 
i use tfs :(
i dont mind it lol
 
Do they have a bug tracking system? Bugzilla? Trac?
Do they have an automated build process that happens on regular intervals or on commit?
Do they have static analysis tools that run on the code?
 
good stuff
 
what kind of development machine are you going to be using, do they pass the joel test, what room do you have to grow, etc.
 
Is there a company-wide code style guide?
 
If db-related, what rdbms, and do you need to install a local instance, or can you hit theirs?
Do they have remote access, like rdp? Do you need to use a vpn to get in?
 
who am I going to work with ?
 
can you work from home
whats the average work day like
 
Is this a consulting gig, or full time employer?
 
consulting
 
2:56 PM
What kind of dress are they going to expect?
 
ask them for references if they have any... of other devs.. call them to see how they liked it
 
Business casual ..? Casual?
Full suit?
 
If you will work in a team, ask about team members and their expertise, it's very important
 
Even if they say casual, I'd still go business casual (Slacks and a nice shirt) for at least the first few weeks/month.
 
It's Sweden, so full suit would be highly unlikely, but it's a good point :) in that case they would have to pay me more :)
 
2:58 PM
Are you interviewing, or you already got the job?
 
it's an assignment, I have a job at the consultant firm.
well thanks
 
What is the name of the company?
 
det kan jag ju inte avslöja :)
 
Close to what city?
 
gothenburg
 
3:02 PM
ok, far away then
 
are you looking for new?
 
Not easy to find WPF guys.
 
somewhere you can use SO at work?
 
@Markus Nothing specific right now but good to know.
 
or was it just the chat that was restricted
 
3:03 PM
They whitelisted SO-chat in the firewall when I asked them
 
Ohh nice
 
Miracle
 
maybe I'll move to sandviken then ;)
well gotto go. thanks
 
@Markus Good luck!
 
well, I don't like the location, so I'm not sure I want luck :)
 
3:05 PM
oh. hah. ok.
 
thanks anyway
 
3:21 PM
@JohanLarsson very nice
did they look into it at all? meetings? etc?
 
don't think so, it was very fast
very surprising
 
did you say unblock *.stackoverflow.com? :)
 
oh, so they don't even know about chat i'm sure :p
 
I explicitly asked them to whitelist chat
SO was already working
 
3:23 PM
ahh well chat.stackoverflow and *.stackoverflow are different.
to a manager at least
 
Facebook was accessible
 
definitely should be allowed then
 
And a couple of more Swedish sites on the same level
 
its allowed here as well. don't understand why facebook is allowed.
absolutely kills productivity
(deleted my FB)
 
I only use the chat on facebook
 
3:26 PM
yeah, unproductive usually while at work
 
Pretty sure I never logged in while at work
oh, er logged in with phone
 
sooo, HDR displays... why?
3D-ness?
 
don't get me started
:p
 
i'm curious
 
well :)
a big difference between a screen and a window
is the range of brightness it can deliver
 
3:38 PM
i'm following
 
an HDR screen is able to display wider range of brightness
 
which is awesome because? it looks more real?
 
Has anybody had a reset of their account @ CodeHunt ?
 
yes
 
ahh. and I thought 1080 was good enough.
 
3:42 PM
8k holographic 3d HDR should be nice
 
is there a requirement out there that drives us to develop better quality pictures when they are already pretty good.
 
yes, there's not many ressources left
we have to hurry to deplete them quick so we can finally start WWIII
and film it in HDR
 
4:13 PM
lol
does it help preserve eyes?
as in, will i still need glasses if i stare at an hdr screen vs. regular lcd
 
reading glasses ? yes
I'm not sure HDR will replace current screens
it will have different applications
 
4:32 PM
I'm more than happy with 1080
At some point, you really can't tell the difference
especially with my awful vision :)
 
4:44 PM
right. when we need machines that will tell us how good machines are, we probably hit a good standard.
especially with displays, since vision only tends to get worse as years go on, after maturity
what came first? the async or the await?
 
5:02 PM
async. await is more patient :)
 
5:15 PM
Morning all. I just did a quick new-Solution test, and it appears that for Windows Phone, when you have a ListView with SelectionMode="Single" and you select one of the items, there is no visual change to indicate which of the ListItems has been selected. Is that a colossal mis-design, or am I missing something here?
 
maybe the intention is that a selection triggers an action
but i dont know jack about WP
 
Well, I could see that it could trigger an action, but half the time I've got a list, I want to delete stuff from the list, so tapping one of them to select it (which is a persistent state), then having a Delete button activate to be able to delete the item... that just seems like a thing that people would want to do. Am I totally off-base on that?
Like missing the WinPhone idiom or something?
 
well i think there you are getting into a discussion about mobile standards
 
If you do SelectionMode="Multiple", then little checkboxes appear on the left side of the ListItems, and when you tap the items, the checkboxes toggle, making it very clear which ones are selected.
 
in a list i think the expectation is you can swipe a row to get a delete action
 
5:20 PM
Sure, I obviously want my app to be used naturally by someone who knows the idioms of the platform (I really don't)
I know it works that way in iOS, but does it in WinPhone?
 
@BradleyDotNET i was happy until i got my 1440p -- now i can tell when screen isn't at 1440p :)
 
That's more of a convention (thing you 'just kinda gotta know') than anything that makes any independent sense
 
everybody who sees my screen says it's brilliant at display - granted it's also to do with monitors ability to show vibrant colors, but people certainly "feel" the difference
 
But no problem, knowing how it works now gives me a path forward to getting to my goal a different way.
 
i know it does in android and ios
but i have next to no experience with win phone
 
5:22 PM
Oh, interesting.
Neither do I, because I'm [a person on earth]
 
best bet is to just try out a couple stock apps
find something with an editable list
weather app, or clock, maybe
 
Yeah, gotta get a device first before I can do that. But my app's coming along so I'll be doing that for provisioning/testing purposes before too long
Oh, or maybe the pre-loaded apps in the sim will be useful. Good thought!
 
you really only want to do this with pre-loaded apps
because you want the MS standard
 
Right, MS-only apps
Interesting, the Mail app has an AppBarButton that puts the list into Multi-select Mode and swaps out the buttons for stuff like 'Delete'. Sounds like a fine approach, I'll follow suit. Good thought, thanks for the suggestion, @Julien
 
so does mail app on ios actually
edit in top right activates checkboxes
you are still able to swipe and delete individually however
 
5:38 PM
I think I'm probably not going to do that on mine, at least for v1. A lot of extra work for minimal extra benefit to the user.
Potential v1.1 enhancement, though
 
5:58 PM
Hi again
how load user control at run time? set location?
with mvvm pattern!
?
 
what do you mean by load at runtime?
all controls are loaded at runtime anyway
 
6:27 PM
I have application, with multi views, I want switch between on
view1, view2 and other ...
 
use ContentPresenter + DataTemplate + Classes
read on google on what these things do ^
 
6:44 PM
sure you can use that... but it'd probably be better to understand what's going on rather than copy->pasting
 
Also, MVVM is not MVVMLight
MVVMLight = Framework -- MVVM is a Pattern
 
7:23 PM
MVVM is MVVMLight, if you don't read the Light part of it :D trollface
 
@NETscape Do you skype?
 
you dropped the ball microsoft. i don't want to have to scroll all the way up to see top of the left side menu
 
hahaha
MSDN has always had some style issues
but, I do give them credit, it's a huge amount of information up there
 
@LynnCrumbling i slack, never really on skype.
yeah, i love the new style, except that one piece.
 
I find the new style harder to follow
but better looking
 
7:27 PM
^ agree.
 
what does your opinion matter Reed? We already know you have memorized MSDN, so style and such don't even matter to you ;)
 
lol
My opinion should count - I've at least written some of the content :p
 
I'm kidding!
sheesh
tough crowd today ;)
 
taps mic .. "is this thing on?"
heh.
@ReedCopsey What content?
 
arg - they removed it! ?!
damnit
 
7:30 PM
i haven't used it much, but if i did, maybe i would find it harder to follow
 
stupid MS
 
"Search for wpf. I wrote that."
hah.
Really? It isn't up?
 
it was - they pulled it
damnit
at one point, I had rewritten a large portion of the List<T> docs
 
why would they do that?
 
and it was up online - and it looks like it got clobbered when they redid it for 4.6
arg - stupid
 
7:31 PM
Lynn, you have an e-mail? I could invite you to the slack channel some of us linger on
 
@NETscape Yep - you know that program that I work on?
 
ah yes
i'll find it :)
 
err
no dot
I don't even know my email address. sigh
 
haha got it
sent
 
want to invite me?
:p
actually, there's probably a reason you haven't
damn MS.... grumble - it took 6 months to get that stupid content up, and they removed 95% of it, and the portion they left has the most important keyword removed.
 
7:39 PM
definitely can
 
so now it makes zero sense
 
@ReedCopsey Did you work for MS at one point?
 
nope
 
Do MVPs inherently get access to insiders at MS that others don't?
I'm guessing they tend to seek you out to run things by you?
 
i think thats a true statement. pretty sure reed's words have a good impact on those guys.
 
04:00 - 20:0020:00 - 23:00

« first day (1068 days earlier)      last day (3081 days later) »