« first day (2243 days earlier)      last day (2708 days later) » 
00:00 - 18:0019:00 - 23:00

12:46 AM
@Greg sorry, didn't mean to ignore you. I have not used dapper.
 
1:02 AM
god I hate having to do tricky css
 
1:14 AM
In .NET, List<T> doesn't have anything comparable to ObservableCollection<T>.Move does it? You have to manually Remove/Insert to move stuff the way you want, correct?Ob
Oh, hm, it seems Insert does exactly what I need it to (insert an item in the middle of a list and have subsequent items increment by 1 to compensate), maybe I overthunk it
 
1:49 AM
 
@juanvan exactly
 
ya that is how feel about it too
glad I don't have to do much
but I did this last project, where the UI people made 3 parts of a header rows and the last one was special CSS bs, when I tried to Add a menu item POW fucked
 
I hate web UI. I mean it's great and all when it is done
I just remember how much easier windows forms were. You could anchor things, set margins and shit and it always looked right.
Now I do something in IE, great. Chrome then shits the bed.
cant sit around wishing for days of old.
 
nope that we can not
 
I do miss that dial up modem sound though
 
2:03 AM
b/c tomorrow is already here
just the sound
 
yes
just the sound
 
bee, chshree eeeeeeekkkkkkk bong bong doop
 
lol
 
 
5 hours later…
6:48 AM
i have fastreport.frx loading problem when i publish it to my host
can anyone help
 
7:24 AM
ohayou
 
user6438653
Hey guys.
 
user6438653
Hey @Proxy.
 
helou
 
user6438653
If ya didn't know, I'm @shad0wk.
 
user6438653
I did a bit of a change, lol, just a bit.
 
user6438653
7:35 AM
@Proxy How's it been?
 
i know
its good
chilling
for now
you?
 
user6438653
Chilling as well.
 
user6438653
Nice catch up. I gotta go, bye, cya.
 
8:19 AM
\o
 
Morning o/
 
~
 
ahoy
 
8:55 AM
Morninga
everyday a new challenge.. ready ?
 
Steady.
 
G K
Hello all,
I am trying to do the windows authentication for my web application. I tried as mentioned in these steps, but the pop-up dialog box to enter the details did not poped-up.
But it is showing the login user name
 
How's this a challenge
 
is this what you do at work @Mathematics?
can you insert yourself on to the board of directors?
and no one notices
 
9:08 AM
o/
 
o/
 
Quick question anyone who is paying attention
At your workplace, if you are 5 minutes late to work
Is there any disciplinary action taken against you
 
no
at least not on a single occasion, I'd imagine something like a disciplinary to be taken if it's a regular occurence
 
@Kieran No.
 
ok
 
9:16 AM
@Kieran The last time I had a fixed, explicit start time was when I was in the army.
And that was 13 years ago.
 
same scenario but your travelling an hour to work
 
And even there, it was mostly a formality.
 
and your work knows you travel an hour
 
yo
Wanna challenge?
 
Getting written up at work because I've been late (5mins) a few times because of traffic
 
9:17 AM
The last time I remember coming in on time being an issue for someone was at a company I worked for, about 8 years ago, where one guy consistently got in at around 10:30-11:00 when the standard was 9:00-9:30.
 
bruh
that i understand
but 5 minutes?
 
@Kieran: There are differences related to country and culture, but where I work, those things doesnt matter, because of flexible working hours.
 
I wish i had flexi :c
 
So the CEO got mad and yelled at him, even though he also consistently stayed in until about 21:00-21:30, meaning he put in all the required hours, and more, and moreover he did very good work
 
welp
 
9:18 AM
We also have flexible hours but still core hours (9:30 till 3:30pm). So if you're in at 9:35 it's still somewhat being "late"
 
If he's doing the hours and doing good work, there shouldn't really be any issue tbh
 
For most jobs, and certainly programming jobs, measuring worker performance by hours put in, and specific hours put in, is usually counter-productive.
 
True enough
but im the only developer/it guy in this office
 
He wasn't a very good CEO. :)
 
@AvnerShahar-Kashtan I agree
 
9:19 AM
lmao, i see that
 
L.M.A.O.
 
i just need a new jerb kek
 
whats kek
@k
@Kieran
 
@Kieran Oh, you don't know the half of it. Or quarter of it. Or one percent of it. He was a lying sociopath incompetent train-wreck of a CEO. When he was finally exposed, he was fired on the spot by the chairman of the board and the office's locks and security codes changed while he was out to dinner.
 
@AvnerShahar-Kashtan lmao, that is kinda bad
 
9:21 AM
IM THE BEST
 
are you?
 
@Kieran we developed an app in our company to track the exits and entrance of the employees using bluetooth bacons
so the boss can't get mad at you
 
bluetooth bacon
oooooo
 
bacon
 
9:22 AM
sounds tasty
 
like grilled bacon
yea, totally non kosher
 
but grilled with blue teeth?
haha
 
blue wifi
ANYWAY
no one gets yelled at because all the time tables are recorded
 
Bluetooth bacon has potential. Imagine - you want bacon, so you just fire up an app which locates bacon in your vicinity.
 
omg
 
9:23 AM
you are literally in israel Avner
there is no bacon in the proximity of 50 miles of you
 
@misha130 Hey, I'm used to cool apps being mostly useless around here.
 
touche`
 
@misha130 Why do you think he needs to track the location of bacon?
 
@misha130 And as long as there's a Tiv Ta'am around, bacon can be had.
 
actually its not a bad idea for an app
bacon locator
i'd use it
 
9:24 AM
Yeah, but how would it be used
unless you tracked the location of police cars
 
@Kieran No.
 
then it would be funny and useful
 
oh come on that joke was offensive to our law enforcment
 
heh
 
@Kieran We have flexible hours. Meaning, be in the office when you accepted meeting. Otherwise it doesn't matter if you come in at 07.00, 09.00, 14.00, or even if you don't (If you don't come, you have to put it into the calendar tho so colleagues know you're not laying in a ditch somewhere)
 
9:28 AM
@RoelvanUden Second sentence isnt reading right for me
 
that is nice
 
unless im being dumb
 
we also have semi flexible time you can come between 7,30-10
 
@Kieran Uh, you're expected to be there if someone invited you for a meeting and you accepted it. You should've declined if you weren't going to be there.
(Which is mostly common sense really)
 
well wish I had this kind of job
 
9:29 AM
@RoelvanUden ah, i thought it was that
 
Realistically, everyone's in between 08.00-10.00, but if you need to go somewhere or want to sleep in, you can.
 
I don't even want to switch jobs, but wish I had a company that emphasized on the developers rather than the business
to quote some sweaty old man "DEVELOPERS DEVELOPERS DEVELOPERS"
 
@RoelvanUden Same here. Looking at my monthly timesheet, I can see that 90% of the time I get in between 8:30-9:30, but I have days I get in later, if I need to take the car to the shop or just sit and have a relaxed coffee with a book for half an hour.
 
I need a new job
only reason i have this one is because the company i was at before made me redundant because they were closing up shop
 
actually yes same here, everyone comes in at 9:00-11:00
 
9:33 AM
Damn, I want to go out and have coffee and read a book now. :(
 
what book?
 
Just finished one, actually, and haven't picked up a new one yet.
 
I am reading the foundation for 3 months now and only on the third book ;_;
 
You can stop after the third.
 
Which is the foundation vs the empire
I think, right?
 
9:34 AM
The later ones aren't nearly as good, and aren't nearly as interesting - they don't follow the Seldon plan over time like the original trilogy does.
No, Second Foundation, I think.
 
ah
yea, I hate it how they are forgetting about Seldon
 
Well, that format could only be carried so far before it becomes tired.
 
but I am thinking of picking up the side books about how he planned it all out before the fall
 
Anyway, I just finished Ann Leckie's Imperial Radch trilogy, which was very good.
 
I really loved to compare it to modern history
oh a hugo award, nice
 
9:40 AM
@Kieran: deytokourjerbs!
 
Hello, guys does AutoMapper has something like StructureMap Registries?
so i can have several MapperConfigurations and than create 1 Mapper using those configs?
oh sorry just found profiles
 
@AvnerShahar-Kashtan You've read The Hunger Games, right? Is it a recommend to buy?
 
10:29 AM
@RoelvanUden I enjoyed them, yes. They're lightweight, but fun.
 
10:45 AM
Symantec just flagged three of our project's executables as heuristic viruses and deleted them.
 
anti-viruses are fun
I have to disable our AV when i start the mvc project through visual studio
and then turn it back on again
 
how do you feel working for a black hat cooperation
 
it just doesn't like iis express :c
 
@misha130 Spitting out malicious trojan horses, such as DBMigrationWizard.exe.
 
lmao
 
10:49 AM
damn, living on the dangerous side of life
 
Don't know whats more risky
making them
or testing it on your own environment
 
@TomW Wait, I don't want to spoil things for @misha130.
 
D'oh sorry
Anyway I only said things that are on the back cover blurb i think
The big reveal at the end of the Foundation series is a great one though.
 
@TomW Yeah, but the answer I was going to say is a bit more, though.
Of course, I also last read them years ago.
 
I found the Culture books often tend to have excellent end surprises
 
10:56 AM
Haven't read any of those. Heard good things about them.
 
11:09 AM
I come here and everyday I see same people :|
 
I see the same people at work too. It doesn't surprise me, however.
 
@RoelvanUden I am not surprised as well
 
11:49 AM
I killed this room...
 
Good morning everyone. Hows everyone doing? Long time no see
New mobile version is really good
 
12:08 PM
TFS-folks - have you ever tried working with two local workspaces mapped to teh same project?
For various reasons(tm), I can't do a feature branch, so I want to have two active copies of my main branch, one for adding a new, big feature, and one for quick bugfixes. Any reason why I won't want to kill myself within the week?
 
@AvnerShahar-Kashtan I don't see any problem with that
you can create multiple branches of same repo...
 
@AvnerShahar-Kashtan Because life is not about fucking TFS, don't give it up so quick
 
are wpf and wcf brothers ?
 
Yes I do. I'm supposed to.
 
@RoelvanUden you are not CEO, r u :P
 
12:13 PM
No, I'm brabants bruh.
 
IS GIT REALLY BETTER?!?
/clickbait
 
!!> Math.random() >= 0.5 ? 'Yes' : 'No'
 
@RoelvanUden "Yes"
 
Caprica has spoken.
 
well I can't argue with that
 
12:15 PM
@RoelvanUden why was he not speaking before ?
 
blame the government
 
I BLAME THE GOVERNMENT
 
No, BLAME CANADA
BLAME CANADA
It seems that everything's gone wrong
Since Canada came along
 
Canada is america light.
Does anyone here live in the uk?
 
@RoelvanUden So your answer is "Yes, you will want to kill yourself. No, don't do it"?
@RoelvanUden It's not even a real country anyway.
 
12:21 PM
@Mr.Toxy I do
 
@Mathematics She.
Well, It, but between He and She, I'll choose She.
 
@AvnerShahar-Kashtan You get it.
 
@Kieran are you by any chance going to the download festival in june?
 
@Mr.Toxy Nah, I wanted to go a couple years ago but Its lost its appeal tbh
I take it you are going?
 
@Kieran nah I wish, I live in Portugal cant afford to go unfortunatly. I just wanted to hear how great it was from someone who attended it xD
.
 
12:24 PM
@Mr.Toxy I'LL MOVE TO PORTUGAL IF YOU MOVE TO ENGLAND
I like portugal
The food and drink quality is fucking fantastic
never ate so well in my life
 
@Kieran get me a job there and lets do it
 
You can have mine lmao
From what i've heard of download though its really good
 
Yeah not wanting to grab but food is really good. And beer as well and porto wine. Ok I'll stop
 
HAMMERTIME!
 
I love the lineup. Soad and rage in the same day -
 
12:26 PM
@Mr.Toxy I had the best pasta there omfg
 
@Kieran cant really say much about pasta because Im not a pasta guy. Have you tried "bacalhau à Brás"?
 
@Mr.Toxy no idea, had it when i was in lisbon
 
Hmmm lisbon = pasteis de belem and ginginha
 
@Mr.Toxy That's the salted fish, right? Loved it, when I was there.
 
And fado houses
 
12:29 PM
Stayed in são martinho do porto
but still
best food ever
 
@AvnerShahar-Kashtan yeah its called "bacalhau" or codd fish in english
@Kieran oh you were in the invicta. Porto
 
the what?
I'll tell you something though
 
Tell me you've eaten a "francesinha"
 
got offered coke and hash more times than i can count
@Mr.Toxy cant say i did. looks tasty though
 
We call porto the "invicta". It meana the undefeatedble
 
12:31 PM
noice
 
@AvnerShahar-Kashtan He...
 
@Kieran oh yeah there are guys in downtown selling drugs. Some say they are undercovered cops, same thing happens in downtown lisbon
 
@Mr.Toxy Fuck knows
 
I sure dont want to know haha
 
yep, definitely don't want to get arrested in a foreign country myself lmao
 
12:36 PM
Hmmm prisons here are like hotels compared to lets say usa. But they are overcrowded. Most inmates are thieves and dealers.
 
damn
Your speedtraps/cameras are strange
 
How so?
I never notice them tbh
 
well they are huge
and cover the entire road width
and hang above the road
hard not to miss lmao
 
I think you are talking about the "portagens" sorry I cant remember the name in english. Those arent speed cameras. You pass there and pay to be able to drive on the highway
 
it's called a toll
toll booth
in america
 
12:41 PM
You almost never see speedcameras because they are placed by surprise by the traffic brigade and its usually on a unmarked car or something
 
wait what
@Mr.Toxy the giant metal things that look like scaffolding with a bunch of cameras strapped to them
 
Yeah those are the new electronic tolls
 
those?
 
The cameras are to photograph your license plate and then you have 5 days to pay
 
oh i see
 
12:44 PM
Yea those are the SCUTS
 
i see
thought they were speed cameras lol
 
Well your speed is controlled but they arent solely for that purpose
 
Afternoon all
guys dont play Factorio very addictive
 
They are used to track your average speed as well. They take a pic of you in a point of the highway and then in another point lets say 100 miles after and mark the time on both. After they compare the two times and see your average speed
 
@Ggalla1779 too late
@Ggalla1779 we tried to play it in coop, with above avarage alien bases, rich, but scarce resources (there are a lot of iron in 1 spot, just the spots are very few).
we scouted the map in a very big radius, but no oil or extra iron found
 
12:58 PM
Does anyone here plays rust by any chance?
 
am only on level 3 and the critters are vicious
 
@Ggalla1779 be careful not to hit too much bases. It will increase level
 
what you mean I have to hit 2 to get computer
I saw 1 guy drive in get parts drive out...its not easy to do that
 
1:20 PM
good morning
 
1:56 PM
I'm trying to use serilog with the SQL Server sink with no luck. It's not blowing up but isn't writing anything to the db. Here's what I'm using in a C# console app:
var connectionString = ConfigurationManager.ConnectionStrings["MyEFEntities"].ConnectionString;
const string tableName = "Logs";

Log.Logger = new LoggerConfiguration()
	.WriteTo.LiterateConsole()
	.WriteTo.MSSqlServer(connectionString,tableName)

Log.Information("Testing");
Log.CloseAndFlush();
Then I do a SELECT * FROM Logs on Management Studio and it returns nothing
 
This is gunna sound stupid @Alex
but does the Logs table exist?
 
Yep
 
Definitely has data in it?
 
Otherwise the SELECT would throw error
Table exists, but no data
 
Try changing the destination to a file and see what happens
 
2:00 PM
The file works. I've used that before for logging. However, on the servers, the app won't have privs to write to a file -- it needs to write to SQL
 
And to ask another obvious question, you're sure that the connection string is correct?
And not just correct in the config but also correct during debugging
 
Hello!

I was wondering if it was possible to use a base class as a generic type parameter - I'm trying to achieve the behaviour as descriped below:

public class BaseClass
{
public virtual List<BaseClass> Childs { get; set; }
}

public class DerivedClass : BaseClass
{
public override List<DerivedClass> Childs { get; set; }
}
 
@mikeTheLiar Connection string has this at the end, because it's also used for EF:
App=EntityFramework&quot;" providerName="System.Data.EntityClient
 
@n.Stenvang I think what you want is some variation of the Curiously Recurring Generic Pattern:
 
Would that cause issues?
 
2:03 PM
:34440692 public class BaseClass<T> where T: BaseClass
{
      public virtual List<T> Children {get;set;}
}

public class DerivedClass : BaseClass<DerivedClass>
{
}
 
@Alex that does look odd
 
Now, DerivedClass automatically inherits the property Children, which is of type List<DerivedClass>.
 
Wondering how to create another connection string just for serilog...
 
Oh hey @Mr.Toxy long time no see
 
@AvnerShahar-Kashtan Thx Avner, will try it out!
 
2:07 PM
@Alex you should be able to just add another entry in app.config
 
@mikeTheLiar Yep, added another, removed the EF stuff from it. Using this to test the connection: stackoverflow.com/a/9943871/177416
It throws Keyword not supported: 'metadata'
 
Can you post the full connection string entry?
 
Everyone post your PRD connections strings real quick
For science
 
> tfw not using encrypted conn string on prod
 
> tfw prod password abcd1234
 
2:13 PM
<add key="ConnectionString" value="KhaU4pjj3QBG1uj9pM8Nql9di7rdinkBcd1gMtbGrmfyRedqcpSo45KKwZWtUPw2AkwpAuCJk‌​+AaPF5PcZgUrnsQa1G4yXDy9gBXkrJ6M/THo2sMxsbNP5L8SIhX3dK/" />
 
Got it... had some garbage in the connection string for EF. Removed it and it's now happy!
 
<add name="DB-Connection" connectionString="Data Source=192.168.0.1; Database=SomeDatabase; User=sa;Pwd=123456789 providerName="System.Data.SqlClient" />
Did i do it right?
 
You've never done anything right.
 
That's it!
 
:c
 
2:14 PM
jk ilu <3
 
c:
 
Didn't realize serilog's sink needs its own connection, not the one for EF
 
<add name="DB-Connection" connectionString="Data Source=mikePrdSrv; Database=Python; User=sa;Pwd=123456789 providerName="System.Data.SqlClient" />
 
You bastard! How'd you do that?
 
I base64 decoded your string
 
2:15 PM
So it wasn't able to write to the db but didn't give any errors
 
Your suggestion worked well but was actually not what I wanted - STUPID ME!

This was what I wanted, do you know if this is possible?
public class BaseClass
{
public virtual List<BaseClass> Childs { get; set; }
}

public class DerivedClass1 : BaseClass
{
public override List<DerivedClass2> Childs { get; set; }
}

public class DerivedClass2 : BaseClass
{
public override List<DerivedClas3> Childs { get; set; }
}

public class DerivedClass3 : BaseClass... And so forth
 
@Alex not terribly surprising. Most logging frameworks intentionally swallow all exceptions
 
I wish they didn't .... at least in debug mode
 
Because if your logging failed and it caused your whole app to crash, that would be a Not Very Good Thing
Most times you can tweak those settings
 
TFW you cant log an exception because the logger threw an exception
 
2:16 PM
Yeah, I'm just using the basic serilog stuff
 
Wait, so DerivedClass1 has a list of DerivedClass2?
And they're all derived from the same baseclass?
public class BaseClass<TChildType> where TChildType: BaseClass
{
      public virtual List<TChildType> Children {get;set;}
}

public class DerivedClass1 : BaseClass<DerivedClass2>
{}
public class DerivedClass2 : BaseClass<DerivedClass3>
{}
public class DerivedClass3 : BaseClass<DerivedClass4>
{}
 
@AvnerShahar-Kashtan Yes. It's a Tree where each node level is different classes.
 
It's the same code I posted earlier, but I gave the generic parameter a clearer name (TChildType), and now each level in the tree explicitly states the type it holds.
 
But would that make DerivedClass1 instances a DerivedClass2 type?
Cause I just need them to hold a list of the other type while it remains the same type.
 
Instead of BaseClass, call it class ChildContainer<TChild>, and then class FirstLevelNode : ChildContainer<SecondLevelNode>
So a FirstLevelNode is-a ChildContainer of SecondLevelNodes.
Much clearer when you avoid meaningless generic terms like "BaseClass" and "DerivedClass" and look at a real usecase.
 
2:21 PM
@AvnerShahar-Kashtan The names of the classes is different in my code - I just wrote a quick example.
 
 
1 hour later…
3:31 PM
posted on December 06, 2016 by ericlippert

Podcaster David Rael was kind enough to invite me to his geek interview podcast show “Developer On Fire” recently; we talk about developer tools and impact and blogging and all kinds of fun stuff. Check it out!

 
3:54 PM
@KendallFrey I've got a question.
 
You're allowed to ask without announcing it :)
 
I've got a .csv, it has five columns but only has four commas. You know of a good way to basically split every fourth index?
 
Teo
Hi guys, how are you?
I'm working on a Controller -> Services -> Repositories pattern but i've some problem about objects in different contexts.... can you help me?
 
you want the fourth column of a given row?
 
@Teo what do you have a question about
 
Teo
3:58 PM
Example: in my Controller I search a user using my UserService, then in the same controller method I search a Company using my CompanyService, then I add my Company to my User.Companies and when I update my User and do the SaveChanges I get an Exception because the two objects are in different contexts :-(
 
Well, here is the problem:

S,0,0,0,0
7/11/2016 11:30 AM, 0.043, , 0.0.11, 0.000
7/11/2016 11:40 AM, 0.049, , 0.0.12, 0.000
 
you want to separate the date time
 
So I don't care about the first line, but when I split on , the last column always appears before the date. So I'm trying to basically either account or adjust accordingly.
 
Oh you need to split lines before you split columns
You can read the file line-by-line, or you can read it all into one string and split it yourself
 
@Teo you should only be saving the User.Context, since you are not updating both
I have to run, but will return
 
4:01 PM
@KendallFrey I read it into a StringBuilder. Can You do that first?
 
Teo
My error exception message is: "The relationship between the two objects cannot be defined because they are attached to different ObjectContext objects"
 
Why StringBuilder?
 
@KendallFrey I thought the buffer would be faster to read the files in, sine they're huge files.
 
I would recommend reading it line-by-line into a List<string[]> or List<CustomType> or something like that
If you want you can use lazy IEnumerable instead of List
 
@KendallFrey I might have to do that.
 
4:13 PM
i find myself time and again migrating back towards a webform methodology. Its easier for me to see a solution and make something work. I hate having to fight with the viewstate though
its an internal struggle everytime I start a new project
I need to figure a way to hide the option
lol
 
4:34 PM
Hello everybody. Could someone please tell, is it possible, to use custom user control (in UWP windows 10) to template with it the flipview item, that is generated by flipview itself?
 
4:50 PM
If you do reflection SetValue will it try to set to the type by default?
I have "" and it needs to go to decimal? will it throw?
 
@Greg Yes, "" is a string
 
I'm going to have to get the underlying type and try to use the reflection ConvertType sigh.
 
@Teo are you using virtual on the second property?
 
00:00 - 18:0019:00 - 23:00

« first day (2243 days earlier)      last day (2708 days later) »