« first day (2869 days earlier)      last day (2081 days later) » 

12:00 AM
After that you need to use the GetProcAddress (msdn.microsoft.com/en-us/library/windows/desktop/…) to lookup the symbol
On unix you need to use dlopen and dlsym
DllImport attribute can only load a specific function designated at compile time
 
Yes, I just somehow wanted to know if it is possible to annotate an static extern function like DllImport that uses a custom LoadLibrary-implementation instead of having to create a delegate and an instance of the delegate and load it manually
But there seems to be no way to actually reference the static extern function from within an attribute, I guess I have to give up on that
 
1:04 AM
I'm not sure it would be worth it. It would be easier just to create a helper function I think
Kinda like this -> github.com/seanofw/harmony
 
 
1 hour later…
mr5
2:19 AM
o/
thanks for VS for Mac team for fixing and noticing their broken update yesterday
 
 
2 hours later…
4:04 AM
 
 
2 hours later…
5:39 AM
Goood morniiing CeeeShaaarp! Have you encountered any strange hardware problems lately?
 
5:53 AM
GoOoOoOoOoOoOoOoOoOoOoOd Mornin' pleberinos!
@Squirrelkiller DIs reminds me of good morning vieatnam
 
Exactly what I've been going for these last few months^^
Hey how do I make a column both primary and foreign key?
Each person can have several dates associates, but only one of each person:date combination may exist at any time-
I'll excuse myself to the SQL room
 
@Squirrelkiller you don't
 
I did
 
You didn't!
 
TOtally did
!!myown db
 
6:06 AM
@Squirrelkiller That didn't make much sense. Maybe you meant: meow, yawn
 
!!makemyown db
 
@Squirrelkiller That didn't make much sense. Use the !!/help command to learn more.
 
wtf cap did you get alzheimers
!!listcommands
 
@Squirrelkiller help, afk, backup, ban, clap, convert, define, die, doge, eval, forget, google, hang, imdb, info, jquery, learn, listcommands, listen, live, mdn, meme, moustache, msdn, mustache, nudge, quote, refresh, spec, stat, stats, summon, tell, unban, undo, unonebox, unsummon, urban, weather, welcome, wiki, xkcd, youtube, zalgo, !, !!, $.baby, (4337654<<1)+1, (y), /somecommand, 007, 2+2-1, 2020/07/23, 3, 666, :p, </pissing>, ?, ???, ^, ^5, abesnacking, abhi, abhishekpornfreak, acronym
afsari, agario, ah, ahah, algosmarts, aliens, alienware, alot, am, andy2, angry, angryticks, annoy, a
 
!!friday
 
!!myown command
 
@Squirrelkiller I'll make my own command, with blackjack and hookers! In fact, forget the command!
 
!!wietlol3
 
Jul 11 at 10:13, by Wietlol
I am an idiot.
 
!!wietlol2
 
6:10 AM
Sep 13 '17 at 15:07, by Wietlol
i will most probably write my own
 
I meant this one
but now the first one fits because I am an idiot.
 
I love it when a plan comes together.
Even when the plan came after the fact.
 
It's all thanks to wietlol
 
6:29 AM
ohayou
 
Morning.
I thought this was cool, but that price tag man Sony’s robot dog Aibo is headed to the US for a cool $2,899
3
 
my friend has a one. I must say it is a pretty cool item if you can afford it
 
6:46 AM
Do french coders code in french, with accents?
 
@Proxy It feels a bit like a gimmick. Unless it's really dog-like, but yeah, I doubt that with current state of technology.
 
@Squirrelkiller I've seen Israeli coders code in russian. So I'm guessing yes.
 
@RoelvanUden :P
 
7:20 AM
You guys think I should just buy a new Mainboard? No idea why my PC won't start, or what I can do short of going over the mainboard with a multimeter for days.
Would have to get a CPU too probably, since I wanna upgrade when I'm at it.
 
mr5
7:39 AM
Is the PC for gaming or work?
okie guys. I'm out of project rn
and I have nothing to do
have you guys went on similar situation?
I feel alone :(
everyone's busy but I am not
 
play factorio
@Squirrelkiller what happened?
 
mr5
not allowed to play here
 
oh, I misunderstood. Thought you asked for gaming or work :)
don't you have any technical debt you can work on?
 
I want a newone aswell
@Squirrelkiller YES
maybe we can get the same one?
#twins
 
7:56 AM
PC gaming, but I'm gonna use for dev too of course
@Default Got the old mainboard+CPU+GPU from my brother (the stuff we built in 2009), bought RAM+PSU+Case, wanted to have a PC.
Havent had a PC in 2 years
 
oh. So it's not broken or anything
 
It worked up until Nov 2017
That's when he upgraded and sent me the old stuff
 
IMO the mainboard should support the graphics card that the game you want to play requires. Other than that, if it works, no need to upgrade
 
DotA2 - not gonna be a problem.
As soon as Star Citizen releases though...gonna need high end in 2022.
 
or the amount of RAM you need for 6 visual studios or whatever
it releases in 2022?
 
7:59 AM
Maybe
Maybe 2030
Who knows
 
hehe
what RAM does it support?
 
DDR3
It's the gigabyte one on the starboard
 
and the maximum amount of RAM?
my mainboard has a limit IIRC
 
Don't know actually
lemme check
Max 16Gb
It'd be good for another few years - if it worked at all.
 
yup
seems fine
no need to upgrade IMO
 
8:07 AM
"Attribute routing gives you more control over the URIs in your web API"
How?
 
@Breathing Have you used attribute routing?
@Default I won't upgrade because my board isn't strong enough. I'll upgrade because it doesnt work at all.
Lights work, fans work, no beep.
 
oh
 
no I was reading about it.. Trying to understand
 
Just build a small Web API and try it out
 
okie
 
8:11 AM
The standard template already has attribute routing premade, so you'll see it's benefits. WOuld have to do the same thing in complicated otherwise.
@Squirrel do you really want to upgrade your whole mainboard?
 
mr5
@Squirrelkiller then go for Mac Book Pro
GitHub becomes cringey
 
!!votekick mr5
 
@Squirrelkiller voted to kick @mr5
 
!!votekick
 
@ABuckau voted to kick @sshole
@ABuckau voted to kick @ss
@ABuckau voted to kick 0
 
8:26 AM
I see it just has to do with flexibility
 
And overview
 
8:41 AM
@Squirrelkiller Yeap
I still got the AM2 sockel
My processor is best that I can have for that sockel
 
Oh shit, you need a new mainboard dude. What's the newest sockets? AM4?
 
Welp my Processor still isn't bad
4x 3.4 GHz
or 3.2 can't remember
 
How do I build a C# library that simply returns Credentials to a powershell calling it?
I wanna hardcode a password but not openly in the script
 
8:58 AM
B ut why would you do that?
Anyways
static class PasswordProvierder{ static string Password => "NotSafe"; }
Build, reference it in Powersehll somehow.
 
I've been meaning to try that library. so if you do try it I'd be happy to hear how it went
 
He is using you as a bunny, killerino.
 
mr5
9:23 AM
@Squirrelkiller why not create a website to generate credentials for you
 
@Squirrel it's a password everyone knows, for a server noone uses, that for some reason is still included in a deploy script, which needs to input the password because that server isnt in the domain. I would hard code hte password, but that's too unsecure for me, I just couldn't handle that. A c# program is at least a bit compiled, so that's secure enough for my consciousness to handle it.
@Default A whole library? I just wanna return a single string, like in Squirrels example.
@mr5 Because I don't send internal passwords over the internet?
 
@Wietlol I liked.
 
me too
especially around min2
"who the hell wrote these lyrics, mate?"
 
I really love how YouTube's AI is recommending vids, so much interesting shit pops up nowadays.
 
9:50 AM
yeah. I just got from this Friday remake to youtube.com/watch?v=i4FqGPRQWFM
It was linked here before. Isn't it?
 
no flag
 
10:06 AM
Can you still not tell visual studio to link all used libraries into the resulting dll?
 
mr5
Speaking of AI, I am really impressed on the performance they've showed against us humans in DotA 2
 
@RoelvanUden Finally ♥
 
mr5
They almost defeated one of TI team
 
@Squirrelkiller Thentdo it liek in my example
@ntohl wiked
 
10:24 AM
wie ter
 
11:03 AM
@Squirrelintraining Reviving old habits :-D
 
anyone heard of sketchapp.com
 
How do I call a static c# method from powershell?
 
@Mathematics That sounds sketchy
 
I did Add-Type, but I cant figure out how to call the static method
 
@RoelvanUden its coming from Microsoft :p
 
11:06 AM
I love how the little nuances of sarcasm get lost on the internet
 
Got it, thank you my rubber duckies.
 
Hahaha I made the most awesome version check years ago. We just bumped major version and every version-locked feature just got disabled. Whoops.
 
it's a feature
 
a major feature
 
11:32 AM
hi guys
 
12:23 PM
Hi Manushka
 
12:42 PM
HI Manusha
 
Hello guys, I have one question and want others devs opinion on it.
If you where looking for a new job do you think it's realistic to want a company with a score of 12/12 on Joel test (joelonsoftware.com/2000/08/09/…)
 
Lol nope
I don't think my company even knows about the joel test
 
What is Joel test?
 
@Roxtar Nah. The type of environment I personally seek isn't quite as rigid as that.
 
A kind of "How good is this company?" ranking for devs
 
12:48 PM
@Squirrelintraining joelonsoftware.com/2000/08/09/… it's a test created by Joel Spolsky (SO co-founder) to benchmark companies for devs
 
If you absolutely must have an environment like that, go for it. I wouldn't be happy there, but it's really very personal.
 
@Roxtar link borken, this one works: joelonsoftware.com/2000/08/09/…
 
The only mandatory ones, in my opinion, are #1, #2, #4 and #8
 
We only have #1 :D
And arguably #8
 
Shouldn't be that hard to implement #2 and #4
 
12:53 PM
12. Do you do hallway usability testing?

We sell consulting days for people to learn how to use our software. I've been working on it for 20 years and still don't understand how many features work. Even PM doesn't know some things.
Also equipment...probably just as new as my mainboard (the one on the starboard).
 
I went from a 6/12 company to a 1 maybe 2/12 company, salary is way better but that's not enough to compensate
No specs, no testers, no one click build, no bests tools
That's craaaaaaazy !
 
Eh, it depends.
 
Depends on what ? haha
 
We had no one click build when I started, more like play-around-with-bathces-for-an-hour-and-make-it-work-somehow build. We now have an overnight build, which I made.
And I got some experience in batch and powershell scripting
no testers does suck. Our last tester (who we only had 15% of anyway) was moved to another (new&hip&super-important) project. Tester = BitOfConsultant + BitOfPM + BitOfDev;
+BitOfTeamLead;
 
@Squirrelkiller I'm working on the same thing since I'm here but it's really hard te change mentalities
half of the team didn't even heard about Git before I came
#TrueAndSadStory
 
1:02 PM
Oh I didnt change any mentalities. It was more like...with each build/deploy, I changed a small piece of the scripts, improving them over time. New senior dev also helped with that. At some point we were down to "start these three script one after another to build and deploy", so we consolidated them. Then I just made a powershell wrapper calling the new script at midnight.
Also we use TFS, I like it.
 
1:17 PM
@RoelvanUden One word: LotesNotes.
 
@Squirrelintraining That's a name, not a word. Or is a name a word?
 
Oh don't point out my flaws so obviously :<
 
Hi all
 
When one ask a question and it 'splodes into a wordy novel due to commentary and questions in comments, is there a good way to reign it in without losing the essence? Does it even need to be reigned in? (My question in question is this one: stackoverflow.com/questions/51975202/…)
Hi Hans
 
I need a quick help here please
internal bool HasErrors(string SoapAnswer)
{
  bool flag;
  try
  {
    if (SoapAnswer.IndexOf("Fault") > 0)
      flag = true;
  }
  catch (Exception ex)
  {
    ProjectData.SetProjectError(ex);
    flag = true;
    ProjectData.ClearProjectError();
  }
  return flag; //Error in the flag saying that its an unassigned variable
}
I dont get why it has that error
 
1:25 PM
What would happen if ProjectData.SetProjectError(ex) had an error?
flag wouldn't get set?
 
It should
 
Hang on. You're probably right but l'll test with a throw before the flag=true; in a catch.
 
what if if (SoapAnswer.IndexOf("Fault") > 0) is false then
then it will not get set
 
It would because the default value of a bool is false
@Still.Tony Didnt get that
 
not when declared as a regular variable
a class member is different
7
Q: Why must local variables have initial values

xvbWhy must I initialize variables inside methods? int test1; // Not initialized, but ok public int Foo() { int test2; // Not initialized int test3 = test1; // Ok int test4 = test2; // An error }

 
1:33 PM
@Default Really? Ill look into that, thanks.. But why cant I return flag?
 
because it's not set
 
@Default Great
 
You're right. I can't recreate it
bool test()
{
bool flag;
try
{ throw new Exception("oops"); }
catch (Exception)
{
Random rnd = new Random();
if (rnd.Next()>.5) throw;
flag = true;
}
return flag;
}
That one works
 
you can do = false or = default; if you need to intialize it
or perhaps flag = SoapAnswer.IndexOf("Fault") > 0
 
@Default Ohhhh I get it
 
1:35 PM
@Still.Tony hit ctrl+ k to format code
 
!!formatting
 
@Default That didn't make much sense. Use the !!/help command to learn more.
 
@Roxtar there is an updated one. myers.io/2017/04/04/the-joel-test-for-2017
 
sure it did caprica, you're just lazy
 
"1. Are all builds handled automatically by a Continuous Integration server?
2. Do you make and use daily builds?
3. Do you use an issue tracker?
4. Do you fix bugs before writing new code?
5. Do you have an up-to-date schedule?
6. Do you have up to date information on your products performance and usage?
7. Do you use the best tools money can buy?
8. Do you have a comprehensive test plan?
9. Do you have dedicated UI and UX designers?
10. Does all code go through code review?
11. Do you have coding standards?
 
1:37 PM
@Still.Tony Cool, Ill check this too, but as @Default said I just set the variable and it workeed
@Default This is the best I guess xD
 
-This, -"I guess" and you're right
 
Thanks @Still.Tony and @Default
@Default Yeap (y)
 
👍
 
Welcome (and oops lack of formatting, first time posting long code in chat. Someone block these <2k people please)
 
!welcome-c# Still.Tony
 
1:48 PM
!tell ntohl use-double-excl
 
!!welcome-c# Still
 
@Still Welcome to the C# chat! Please review the room guidelines and tips. If you have a question, just post it, and if anyone's free and interested they'll help.
 
@ntohl Do yo ureally want every small piece of code to go through code review? That's be way too much time.
 
@Squirrelkiller why not?
if the edits are small, then the review should be quick as well
 
Because I just fixed a bug by commenting out one line, after taking a full day debugging through insane constructs of loops.
 
1:53 PM
@Squirrelkiller well. I don't wrote the updated version, tho I can agree with that point. The more unimportant the code change is the faster you can blaze through it at code review
 
@ntohl oh thanks, didn't knew for this "updated" test
 
then the code review hopefully would say that you shouldn't commit out commented code ;)
 
ALso 1):
Not ALL builds. Sometimes we manually kick off builds if the last build failed to see why or if we're close to release and need faster iterations
 
today my brain is like mush. I can't concentrate for 2 minutes straight
 
Then do it gay, that doesn't really make a difference in our field.
Adverb: gayly?
 
1:55 PM
@CapricaSix Thank you! Chat Wiki / room guidelines and tips should be linked in the room description.
 
@Roel WHat do you think bossman, link@descrption?
 
@Squirrelkiller Wat?
 
1 min ago, by Still.Tony
@CapricaSix Thank you! Chat Wiki / room guidelines and tips should be linked in the room description.
 
@Still.Tony caprica is a bot, FYI
 
"The process of creating a ship build should be that they commit their code, and then when management, or whoever is responsible, decides to release, they press a “release” button, and that’s it" I think 1) is about builds for shipping
 
1:58 PM
@Squirrelkiller Go for the edit my man :-P
 
Oh after I made the overnight build, my senior dev added the setup-creation to the overnight build. Boom, setup always up to date.
 
does @CapricaSix not respond to @CapricaSix messages?
 
Because it wasn't programmed that way.
 
She explicitely doesn't react to pings
It would seem I broke something
When I try to save the new description, a cat tells me stuff broke
 
2:27 PM
I stumbled on the most confusing youtube channel ever.
 
was it Rebecca Black?
 
room topic changed to C#: General discussions about the c# language, Squirrels, meme archaeology, and the intricacies of English Geography | gist.github.com - For Easy Code Pasting | stackoverflow.com/help/privileges/flag-posts - Please read the flagging rules before flagging a post as spam | Often mistaken for rubber ducks | Do not place panini in.... questionable places [.net] [asp.net] [asp.net-mvc] [c#] [coreclr] [entity-framework] [linq] [visual-studio] [wcf] [wpf]
room topic changed to C#: General discussions about the c# language, Squirrels, meme archaeology, and the intricacies of English Geography | gist.github.com - For Easy Code Pasting | stackoverflow.com/help/privileges/flag-posts - Please read the flagging rules before flagging a post as spam | Often mistaken for rubber ducks | Do not place panini in... questionable places [.net] [asp.net] [asp.net-mvc] [c#] [coreclr] [entity-framework] [linq] [visual-studio] [wcf] [wpf]
 
No. Puddles Pity Party. A clown. A sad one. That sings. Beautifully. youtube.com/user/PuddlesPityParty/featured
I am so confused.
 
3:03 PM
ccya
nice weekend guys
 
Bye bye
 
3:30 PM
I'm off too, see ya probably tomorrow because I gotta code on the weekend too XD
 

« first day (2869 days earlier)      last day (2081 days later) »