« first day (2074 days earlier)      last day (3103 days later) » 

04:05
 
2 hours later…
C4u
C4u
05:46
Goooood morning to no one as Im the first in here.
sure you are :P
morning
C4u
C4u
Hey proxy ^^.
how is it going?
C4u
C4u
Oh starting complicated this morning. What about yourself?
dunno
finally i got some task last week
to fix
but it's in c++
so i'm looking around trying to figure it out
C4u
C4u
05:53
Uh never really touched c++.
neither did i
C4u
C4u
My problem is.... Im the only coder in my company >.<.
oh
that is weird
C4u
C4u
So SO became my biggest friend.
Nah I brought "coding" into this company.
are you some kind of real estate/marketing company?
that is also weird :P
C4u
C4u
05:56
Wait... should've called it "our company". Its not my company.
In general this guys around me are repairing internet and phone cables.
Via direct access to the hardware of the german internet. Bit hard to explain.
so basically you set up routers etc
for remote customers?
C4u
C4u
Nah thats already done. We are a technical department that handles incoming malfunction messages from customers.
They can call their provider. If this provider decides there could be a cable problem (external cable under the streets) this message will be an incident for us.
i see
C4u
C4u
We can measure this cables via remote access.
We can also measure if routers are broken, if their phone is broken, if there is too much current on the cable incoming from an external unknown source etc etc.
quite the measurements you got there :P
C4u
C4u
06:02
^^
And Im the guy who coded a full tracking-system for incidents.
that is cool
C4u
C4u
And also a tracking system for working-hours.
you coded before or you started on the job there
C4u
C4u
So there are ~60 computers for me to play with :p.
I've been coding since I was 15 years old (12 years ago now).
This is my first job as a code.r
man
C4u
C4u
06:04
In 4 months Ill start studying.
it feels like i started to work too late
i mean to code
C4u
C4u
Depends on how you started.
I teached all stuff myself. So I was for sure slower and got holes compared to someone that maybe started studying with 20.
eh i don't know really
C4u
C4u
This year I learned my first pattern.
now that i started working i see i have to many holes as well
C4u
C4u
06:07
Have you studied it?
yeah
but i started coding at the last year
C4u
C4u
Ow ok. Fresh out or are you an 'old guy' :D ?
frsh out
fresh
i started college at 22
but i got bachelors only
C4u
C4u
Still better then baking buns ^^.
academic title == academic title.
well
when i compare my salary with bakers
i'm not any better
C4u
C4u
06:12
Lol?
so
i'm not sure about that
C4u
C4u
At least in my place coders arnt earning bad.
here the starting salary's are quite low
C4u
C4u
Where are you from?
croatia
C4u
C4u
06:14
Ah ok.
Good morning.
C4u
C4u
In germany its starting around 35-40k € per year.
Good morning avner.
converted to euroes
C4u
C4u
It IS euros ^^. Its per year.
you earn here aroudn 8-9 k
C4u
C4u
06:15
~3.000€ per month.
yeah
C4u
C4u
8-9k per year???
yep
i get a bit less
C4u
C4u
Ouch.
but that is somewhat the average
for starters
06:17
mornings
C4u
C4u
@AvnerShahar-Kashtan are you up for a small structure question? :)
@C4u Sure. Shoot.
C4u
C4u
My tool is dynamicly adding tabs to a tabcontrol. Each tab (usercontrol inside) has some questions to the user. I've implemented an interface that bringts string Output() to every usercontrol. The problem: I know want to save EVERY answer (multiple per page) to the database when the user finishes.
I could extend the interface by all properties (around 40).
But then I would need to set 3-4 props on one page and fill everything else with "null".
Which framework are we talking here? WPF? Web?
C4u
C4u
Winforms.
40 properties are a bit much. As this tabs are added dynamicly I cant just make things public.
06:21
40 is much, and also not very extensible - for every question you'll need to add more properties, which isn't feasible.
C4u
C4u
But when creating an interface, I would need to define ALL 40 properties inside EVERY control. That would be a mess.
How about extending each user control to return, not a string, but a Dictionary<string,string>() - a map of questions and answers.
C4u
C4u
The output is needed for something else.
Then you just need to go over the controls, call GetAnswers and merge them all into one big Dictionary<string,string>, which can then be stored easily.
C4u
C4u
Hmm.
Sounds good.
So my interface would define only the dictionary. Thats a bit less work :D.
06:23
Yup. Each control is responsible for returning its answers in a dictionary. That way you've just got one big Answers dictionary.
Extensibility restored!
C4u
C4u
Cool thing. Just as I did with my Output() function. Havnt thought about dicts. Thanks man :)
You're welcome.
Dictionaries are one of the most useful data structures in .NET.
pls note the tuples if you need 3 variables instead of 2
C4u
C4u
Yeah I've already worked with tuples a lot.
And I love anonymous types.
06:29
Don't use tuples. Really. If you need to store a pair of values, create a small class that holds them.
C# 7's tuples will be much nicer, but until then, Tuples just serve as an ugly, unclear way to bundle n values together.
C4u
C4u
Because of? I would've had to write 1000000000 classes seriously.
its more readable to write 1000 classes
its easier to extend
a 1000 classes
C4u
C4u
Sometimes I had to return a pair of values just 1 time.
that really depends on your situation here
C4u
C4u
Creating a class for a single small operation feeels exaggerated.
06:31
it feels this way, but its a good practice
C4u
C4u
I could've also used a multidimensional list.
think of your children
that will one day
read your code
C4u
C4u
XD hahaha.
and awe in despair
I agree that for one-off usages, tuples can be acceptable.
And I've used them as such.
But I've found that if I have a dozen one-off usages, I can often find a common link between them.
C4u
C4u
06:33
Hmm. My tool has around 50k lines.
So yeah.. there might be one or two tuples around there.
I currently have a CountData class which is simply string Name; int Count; which is used for several things - distribution of data by a field, search facets and more.
It's not a question of line count. Using tuples usually means there's a lot of ad-hoc design and architecture.
C4u
C4u
Oh the first version was a big-ball-of-mud style.
A function should return a thing. If it returns two things, stop and think if that function isn't doing two things. Or perhaps create a thing that as both things in it.
C4u
C4u
Yeah doing two things was the thing.
In the past I havnt thought about creating atomic methods to split processes clearly.
One place I use it, for instance, is in a DB query method (FindCases) that used to return a List<Case> based on a query that included a MaxResultsToReturn. One day I discovered that I also needed the total count of matching items before capping the result - so I changed it to a Tuple<List<Case>, int>. But it's ugly. I should have created a QueryResult<Case> class that included both the List<Case> and the TotalCount.
C4u
C4u
06:37
Yeah true.
@AvnerShahar-Kashtan For that case I've extended the DataTable class with some properties like AffectedRows and so on.
So my queries are returning finished DataTable's which is nice to use for DataGridView's.
The database I've created around 2 years ago is close to have 1mio. entries.
Oh god. Its 1.3mio entries already :o.
I haven't used a DataTable in almost a decade. :)
C4u
C4u
WPF coder?
C4u
C4u
Good morning mitchel.
I've just spent the weekend re-installing my laptop with win 10. I re-installed VS 2015 and for some reason my windows form applications have resized themselves
They are a lot larger than what they used to be.
Any ideas what might have been the cause
06:53
@C4u Mostly, these days.
Or web.
Or purely server-side.
But not winforms.
Never winforms.
Never again.
@MitchelStuartFountaine 64bit?
No, I mean, were they 64bit before as well?
C4u
C4u
Self explaining then avner. Dont know for web, but for WPF there isnt the need of settings the data-source in C#.
@C4u Yup. WPF's DataBinding is much, much nicer.
06:55
I've noticed a change in the font size for some controls. Changing them back now. It will be tedious to change each control on every form though unfortuantely
C4u
C4u
@AvnerShahar-Kashtan Yeah I've started 2 weeks ago exploring the world of WPF. Unfortunately it feels like the documentation is bad compared to the doc of Winforms.
Also facing errors in xaml is new to me. Therefore it feels uncomfortable.
But the design-part is nice. Really cool possibilities there.
LOL
@MitchelStuartFountaine maybe its because of the windows 10 scaling
C4u
C4u
When trying to close a tab inside VS it tells me the Index is out of range !?
mine was set to 115% at defualt
07:12
Good morning.
morgen
Morning
C4u
C4u
Good morning.
@MitchelStuartFountaine That's because W10 is set at 125% size by default
@C4u WPF has a bit of a learning curve, yes. But once you get used to it, it's fine.
C4u
C4u
07:16
There are things missing. For example on the WebBrowser you cant set SupressScriptErrors. Its just not there. The WebBrowser is totally useless this way. Just annoying upcoming popups.
Morn all
Britext this week
C4u
C4u
I hope not.
me too as the more I read the worse it sounds
Britext?
C4u
C4u
Possible exit of britain out of the eu.
07:19
Brexit, isn't it?
C4u
C4u
@Avner I just thought Britext is somehow wrong xD. You are right.
prob I dont really follow it that much
C4u
C4u
Im in the north of germany, its not that far away. Therefore it has value for me.
who knows how it will affect things if we leave
it won't
07:22
lol
well I was watching some guy talk about it on facebook last night
uk france and Germany run the eu
I have some British friends, both immigrants and native born, and they're all really, really, really against it.
so it would affect UK trade
Your British kingdom will fall and burn.
It will be forever remembered as the day the British empire committed suicide.
07:24
jeez british empire
In all seriousness, it would be both terrible for EU and for UK. I see no upside to it.
if I was english I would prob say the day the mighty Empire took over
but am scottish
yeah guy was saying all trade deals would be null n void
I dont like idea of applying for a visa to do my work
Also tourism/traveling abroad, trade, the currency exchange issue, etc.
And when there will be great EU bills UK would be excluded.
e.g. no roaming telephone costs or a single media license for the entirety of EU
leaving the eu does not mean all those thing will go away
they will keep most of the things as they are
the most problem will occur for foreigner workers
and local eu immigrants
yes proxy it does, the stuff I listed
07:27
How will the country keep involved if it's not part of the european union? :/
it won't
it is politics
europe wont shake uk because they will leave the union
uk would become a nonEU country
formally yes
Hence everything the union does won't involve UK if the exit continues.
Including laws/bills that benefit the population and trade
But hey, what do I know.
nothing
:P
07:29
guy I was watching was advisor to goverment
logically a lot of stuff would go down as you said
but sadly this is politics
that was his name
Professor Michael Dougan on the EU Referendum
I don't quite understand why anyone in Britain would favor leaving the EU
i blame poland
It might be beneficial short-term, but long-term it's just plain stupid.
07:30
it reminds me of the scottish referendum
and the eastern block
It reminds me of the time when the same question was asked in NL.
And everyone realized it was stupid to leave.
@RoelvanUden The UK has always kept one foot out, from what I understand, but really, I can't understand the use of such a step.
I thought they were just doing it to get a better EU deal
Even the supposed benefits (fewer immigrants meaning less stress on the welfare state and social services) have been rather effectively debunked, from what I've seen.
07:33
It's just xenophobia running rampant clouding judgement imho.
yeah it could be but didnt think it was that bad
what was the uk stance on it before the migration crisis?
Still a lot of people who hated it but I wouldn't have put it close to a majority
perhaps that was the thing that tilted people over
Thing is, name any dickhead in the public eye - they're about 90% likely to be Leave
07:38
but still if the majority is for the option to go out there were problems before as well
It's the position of dickheads and anything they're for, I'm against
i guess the media has always been portraying the eu as a bad thing then
Democracy at its finest. The will of the dumb mass. It's always wonderful. :P
Barely anyone, here at least, ever even bothers to read up on things
:)
people just read the headline
even if you make a few sentences summary
Which is a problem when the headlines are lies
07:40
most people don't even read that
good morning
@Proxy Mostly for fun and profit, according to some: scoopnest.com/user/pierrebri/744267133606035456
yup media defines your society
I didn't know Boris Johnson was ever a journalist
> By the time I arrived in Brussels editors only wanted stories about faceless Brussels
eurocrats imposing absurd rules on Britain, or scheming Europeans ganging
up on us, or British prime minislers fight¡ng plucky rearguard actions against a
hostile continent. Much of Fleet Street seemed unable to view the EU through
any other prism. It was the only narrative it was interested in.
07:59
:-/
Well that was a nice weekend full of art galleries and no-news. Back to the real world, I guess.
Monday once again hits you in the face eh
yeah I think alot of people resented the imigrants...they got homes and allowances that normal folks didnt get
@RoelvanUden @Proxy That was exactly the problem. Re-adjusting the scale to 100% and signing out/in corrected all my sizing issues. Thanks!
@MitchelStuartFountaine You're welcome ;-)
I was suprised at UKIP was gettng votes
that was in 2014
08:05
wasnt ukip founded literally to get rid of the union
and then 2 years later after they lost shamefully they exit brits exit the union
is farage a joke?
as soon as I heard UKIP was watered down BNP I was shocked
@MitchelStuartFountaine np :)
received my first job offer on LinkedIn just now
Whooh! Welcome to the gentlemens club.
@JakobMillah oh nice. I still have not made my own linkedin...
08:18
@RoelvanUden Webforms.... ;)
Just kidding haha. I actually think it was MVC with Web API
@Proxy Just do it!
We should connect our LinkedIn's!
How wonderful would it be to receive job offers from completely unrelated countries!
How do you connect to people :D
@JakobMillah i don't know what should i write on it.
08:22
I think if you don't have premium then you can only connect to people who are 2nd or 3rd degree connections
That's silly. I just want to add you.
and I'm not sure about 3rd degree
Really what the actual fuck
How can you not add people you know
because LinkedIn doesn't think you know them
besides the education and my "skills"
08:24
LINKEDIN IS A WEBSITE; IT DOES NOT THINK
Leave the thinking to us humans.
Perhaps if you start a group on there or something, then we join the group and connect that way?
I can't add you @StevenLiekens this makes me sad.
Hm...
because C# Chat needs more groups everywhere
Yeah absolutely.
I think there's a workaround
if you add my email to your address book and then upload that to linkedin
but
pls no
08:26
Oh, you can add by e-mail.
@Ggalla1779 well, people seem to think they do but mysteriously enough can't name any times that's happened
Alternatively, get a job
Which asylum seekers can't
I was debugging some javascript when I saw a response json object that contains this
  "JsonRequestBehavior": 1,
  "MaxJsonLength": null,
  "RecursionLimit": null
@StevenLiekens nl.linkedin.com/in/roel-van-uden-08a28151. If you don't mind trying, try to add through the plus at the top, then 'Add Contact' 'Other' and enter [email protected]
(And everyone else that wants to add me ^)
08:30
Yay that worked.
I done that too
That worked too. Whooh!
You are legion
Hey guys
so I have this long running task, that I'm running inside a Parallel.ForEach
@RoelvanUden just connect as friend
08:35
It basically contacts 4 diffferent services to import data and each import is independent of the others, so all working well here
but this entire process works for 1 entity ID right now
@RoelvanUden just connect as friend
and I have to run it for a list of IDs
@TomW I was talking about imigrants not asylum seekers thats diff
@TomW I was talking about imigrants not asylum seekers thats diff
so should I use a nested Parallel.ForEach ??
weird c# chat today
your message wasnt delivered
08:36
@Ggalla1779 I'm confused. What allowances are you talking about?
then click retry and it dupplicates a message
@Squiggle what you mean...immigrants
halp mehh!!
yes, like you said
@SamyS.Rathore either nest it, or flatten the list?
its way folks thought back in 2014 and onwards
ah the old Schrodinger's Immigrant
the one who comes to your country to both scrounge off unemployment benefits AND to steal your job
08:38
that Immigrants got better or ahead of joe ordinary
lol
as an immigrant I can tell you that is definitely not the case
I did hear of a house in ireland you could goto to buy a pram etc
as the irish goverment was giving them vouchers for prams
cool
well not really as they were selling them instead of using them
One of the big points of the EU is that there are barely any "immigrants". Just more Europeans. :D
08:40
@RoelvanUden Europe <3
lol yeah thats true
so who wants to be a sponsored pirate hunter?
whats there to stop really
what uploads
you just go to their homepage
and tell them to stop
HAMMERTIME!
08:49
(warning: contains actual photo of real-life me)
@JakobMillah Added
@RoelvanUden And that's actually your full name.. Now that's classy AF...

« first day (2074 days earlier)      last day (3103 days later) »