« first day (2040 days earlier)      last day (2910 days later) » 

user47589
1:00 PM
Good morning fellow panini-rollers.
 
Was nice, yes. Then I ate it, and I was happy. Then went back to the code, was sad again.
 
user47589
@AvnerShahar-Kashtan that sounds like it would work reasonably well.
 
@Amy I'm hoping Resharper would spare me a lot of work, but there'll still be a lot of going around erasing code.
Which is fun, in a way.
 
@Sippy that's even more brazen than IE asking to be your default browser
 
@AvnerShahar-Kashtan if you are the only one going to implement it, just add a template for that method
 
1:08 PM
im back
@RoelvanUden damn it cant find the rest of your advices
 
Scroll up. Keep scrolling.
 
When someone says they are on a network with private IPs what does that mean?
Like I understand through NAT at home all my devices get their private IPs they aren't public facing.
 
found it yey
the "load older messages" it's not that well optimized, just randomly makes chrome unresponsive :\
 
@Michael It means that they are behind a NAT router.
Exactly like your NAT at home.
Perhaps a bit larger in scope.
 
@RoelvanUden but those private IPs point to the router which has a public facing IP.
so in terms of accessing websites what difference does it make?
Can a webserver actually see that someone is using a private ip?
 
1:14 PM
@AvnerShahar-Kashtan yeah, sounds like the easiest way (without any external tools)
 
or that a request is coming from a private IP?
 
user47589
no, that's the point of NAT.
 
@Michael No, you can't.
 
Never go full retard with pure javascript
 
user47589
(unless of course the NAT router identifies itself as such, but it usually won't)
 
1:17 PM
You get a request from IP+Port, and respond to that IP+Port. The NAT maps that port onto a port with a private IP. Externally, we don't know anything about that translation at all. That is the very definition of NAT.
 
user47589
@JakobMillah is it okay to go full retard with another language?
 
@Amy Well.. Javascript takes the price
 
Never go full JavaScript.
 
That's what they did in this webforms project..
All out javascript
 
ruby on rails looks so weird at frist glance :O
 
1:22 PM
Want to render html? Do it with javascript. And no, not react
 
> Want to render Tim Horton's? Do it with syrup sucking. And no, not react
:D
 
user47589
I worked at a company early in my career (this was just before jQuery came out) that wrote their own HTML rendering thing in JavaScript. It was truly awful, the epitome of terribleness.
 
Well.. that went well
team lead basically asked if I was getting time on projects I wanted to do
said no
He's like ok I'll raise it
w00
 
user47589
your team lead wants you.
 
Told him a senior told me not to go to a conference so that he could go instead
 
1:24 PM
to do well.
 
TL was like hell naw
you goin
 
@Amy You can come join me
 
don't really wanna go lol
 
hes secretly testing you
you must go
 
Nah
I think all the code projects here are probably kinda shite
Legacy etc
 
user47589
1:26 PM
go to your team lead, @Sippy. embrace your destiny.
 
He's secretly tasting you
 
So gonna suggest that they should put me forward as a solutions architect over the next few years
See where that gets me
@Amy I'ma slap you with panini any second
 
Panini leads to the Dark Side
 
user47589
You will try.
 
Display driver stopped working
 
1:28 PM
display driver is just a less fancy way of saying chauffeur
 
user47589
fire him.
 
@Sippy that sounds fancy. and sounds like a promotion
 
What, solutions architect?
It would be.
 
yes that
so grab that oportunity
 
hey there - i have a WPF XAML converter and need this one to convertback a string to a numeric type (the numeric is in some cases nullable, so it needs to be generic)
 
1:29 PM
@Amy There is no try. There is only panini, or no panini.
 
user47589
@mikeTheLiar you are right, of course. I will heed your wisdom.
 
thinking about making my own httpclient interface
 
@Sippy kinda shite? .... in what way?
 
for just putting default json returners for all my get api's
 
user47589
@TryToSolveItSimple you need to turn a string into a number? Use int.Parse, double.Parse, etc as appropriate. If the value is null, then either the number is 0 or null as well.
 
1:32 PM
@Darth_Wardy VB or old and shit
 
@Sippy I had that exact same problem in my old job
 
We'll see.
 
yeah i know - but i do not want to write s line of code for each type, sometimes it is a decimal, or double or int and sometimes it is even a Nullable<Decimal>
 
This project is notoriously shit
 
we had a plan to revamp everything within the next year
 
1:32 PM
So if I get moved onto something new, maybe it'll be good.
 
i ran into this problem while converting my "Bindings" to "x:Bind"
 
we were told "it was'nt worth it"
 
lel
 
So I quit, and my whole team followed
 
I have already said
If the next one is shit, I'm off.
 
user47589
1:33 PM
@Darth_Wardy I'd follow you. You're Darth.
 
Not learning anything important at work and it's a waste of 8 hours a day
 
that company no longer has a UK dev team because the US based dev manager couldn't understand the concept of "technical debt"
 
private readonly CDPSI_UPDATE_SQLPARSER Parser = new CDPSI_UPDATE_SQLPARSER();
private readonly CDPSI.UPDATE.SQL.CdpsiUpdateSql Conexao = new CdpsiUpdateSql();

why does that happen? I have the usings for both namespaces but in one It just doesnt let me use the namespace by itself and the other one I can
 
user47589
@Darth_Wardy I would much rather serve the dark lord of the sith than be in his path.
 
In the year it would take us to rebuild they would gain about 10 years of technical debt
 
1:34 PM
the second has the .CdpsiUpdateSql wich is the name of the class but the first didnt require me to add it o.O
 
when I proved it and handed him the report he pulled me up on a disciplinary for "not completing someone eles work correctly"
 
It's disgusting debugging javascript/jquery in VS..
 
that's why i left
 
user47589
I can rebuild your death star with only 7 years of technical debt.
 
Keeel mee
 
1:35 PM
@Amy and my response was I can rebuild it in 2 years with no technical debt, which would you prefer?
 
@Darth_Wardy what
 
user47589
@Mr.Toxy what do you mean, use the namespace by itself?
 
can someone tell me if the .NET CORE provides a way to get the standard constructor of a type?
 
user47589
@Darth_Wardy dark lords shouldn't be doing their own work
 
@Sippy Yeh I was up in front of HR with a bunch of Jira ticket ref's that entirely didn't have anything to do with me
 
1:36 PM
@Amy like this:
private readonly CDPSI_UPDATE_SQLPARSER Parser = new CDPSI_UPDATE_SQLPARSER();
Why cant I do the same for the second? The second doesnt allow that, it "prompts" me to add the class as well
 
@Amy yeh, maybe slapping a few managers is what's needed, I think vader had the right idea
 
but they are build the same way
 
user47589
@Mr.Toxy that doesn't help. What are those symbols? Are they class names?
 
@Darth_Wardy what
 
using CDPSI.UPDATE.SQL;
using CDPSI.UPDATE.SQLPARSER;
 
1:37 PM
@Sippy What what? ... what did you need me to clarify?
 
@Amy symbols? where? those are the names of the other classes
*namespaces
 
user47589
@Mr.Toxy a symbol is a programming term. class names, namespaces, variable names are symbols
 
I've had the using for them already
 
@Darth_Wardy slapping managers ... That ticked me off, do tell me more about your dark side senpei.
 
oh I see
 
1:38 PM
@Darth_Wardy I just thoroughly don't understand how they managed to establish a precedent for disciplinary action based on that
 
user47589
So, again, what are those symbols in your code? Is CDPSI_UPDATE_SQLPARSER a class?
 
they are the names of the other classes @Amy and I've add the using for them
 
user47589
then what is the problem?
 
@Sippy Literally, that's what happened ... some trumped up bullshit, I was in the process of switching between line managers too, and my old line manager was pulled in to "verify the evidence" who turned round and said the same thing
I was like ... WTF? how is this relevant to me?
 
the first just asks me for the name of the namespace, the class makes me use the name of the class as well, why is that?
 
1:39 PM
I took it up to the HR director of the entire organisation
 
O_o
Sounds retarded.
 
she was like "well its all been resolved now, you were deemed to be at fault"
 
user47589
@Mr.Toxy i dont understand the question.
 
I was like "yes I was deemed to be at fault ... that's my complaint!"
 
user47589
of course the class requires you to use the name of the class.
 
1:40 PM
@Amy srry not being clear. I will try to explain better
 
The investigation lasted until I left the company
it never got resolved
 
What the fuck ..
At fault for what
 
exactly ... and this is why I hate ZiffDavis's "ethics"
 
Were you disciplined under American law?
Or UK law?
 
these are the people that own IGN, and Ookla
 
user47589
1:42 PM
ZiffDavis... I've heard that name before.
 
It sounds like one of those things that UK companies can't discipline you for.
 
user47589
ahhhh
 
@Sippy I have no idea, that was never made clear
 
user47589
Wadry, are you in the UK? I thought you were US.
 
HIS NAME IS WADRY
pls
 
user47589
1:43 PM
an honest typo
 
better
 
@Sippy They couldn't legally do anything other than put me on some "improvement plan", which was code for "some bullshit my line manager could make up"
 
Sounds like scapegoating to me sir.
 
@Amy I am in the UK, and was working for a US based company that owned a UK based one
 
My old company tried to scapegoat me lol
 
1:44 PM
this went so far up the chain it fell to US based managers to resolve
 
user47589
Those "improvement plans" are just ways to document something you allegedly did and get you to sign it. It gives the company a paper trail to point to when they want to get rid of you
 
They had me code review some idiot dinosenior's code and then claimed it was my fault that it had to be rebuilt
lolwat
 
@Sippy I directly told the HR director they would not have a UK dev team by the end of the year ... surely enough that's exactly what happened
 
Nice.
 
@Amy Yeh exactly, so I threw it back in my managers face and he refused to give me an exit interview citing "i know how this will go"
technically, that's illegal here too
 
1:45 PM
I have two dlls right? the first its called CDPSI.UPDATE.SQLPARSER and the second is called CDPSI.UPDATE.SQL. (this their namespace name and also the dll name).
In the last dll I need to use functions from the other two dlls, so I've referenced them and add the using. one using for the CDPSI.UPDATE.SQLPARSER and another one for CDPSI.UPDATE.SQL.
When I wanna do like this: CDPSI.UPDATE.SQLPARSER Parser = new CDPSI.UPDATE.SQLPARSER() it just lets me use the "CDPSI.UPDATE.SQLPARSER" but when I wanna do the same for the other it doesnt let do like this CDPSI.UPDATE.SQL Update = new CDPSI.UPDA
sry the long text
 
@CuddleBunny FYI Training courses on Lynda.com are currently FREE for Columbus Metropolitan Library card holders. Just go to columbuslibrary.org/research, click on the Lynda link, and plugin your library card # and PIN.
 
^ What the actual fuck did I just read
 
@Michael nice tip, I've got a buddy who gets them for free through the school he works at though. I'll pass it around for sure.
 
@RoelvanUden thats not phishing or anything
 
@JakobMillah I want my boy to be exactly like that >D what balls he have...
 
1:47 PM
It looked like one of those cheesy ads you always see under blogs.
 
user47589
1 message moved to Orphan GIFs
 
´Please amy
 
lol i knew that @CuddleBunny is in the columbus area
 
Are you a ginger? You no have a soul?
 
user47589
@Mr.Toxy first off, your naming scheme is atrocious. Don't use all caps for namespaces. That is horrible. Second, you cannot instantiate namespaces. If you have a namespace that has the same name as a class, you have to fully qualify that class name.
 
1:49 PM
ROFLMAO
 
user47589
You have a namespace called "CDPSI.UPDATE.SQLPARSER". You cannot do new CDPSI.UPDATE.SQLPARSER() because it isn't a class. It's a namespace.
 
cant do nothing about the names :\ they've said to use those.
 
user47589
oh dear.
 
user47589
you need to find another company
 
My eyes are bleeding ... I feel like this code needs the force
 
user47589
1:49 PM
they're teaching you shitty coding habits
 
Use the choke, wadry
Sippy pls
 
oops ^_^
If you read it you'll see why I'm wtf'ing though
Just found that in code behind somewhere lol
 
user47589
@Mr.Toxy why would you expect to new up a namespace? that makes zero sense, in any language.
 
Your company is bad and you should feel bad :P
 
I don't feel bad
I didn't write it
 
user47589
1:51 PM
You should feel bad anyway, @sippy. Someone needs to.
 
@Amy that's another thing I used to love about working for Ziff ... their version of an "API" was a webforms (aspx) page that you "posted a json package to", where the json package had to have some really wierd shit in it
apparently I was wrong for questioning that
 
Lol
Sounds like the project I'm working on
 
don't question it sippy
you're clearly wrong
that is the way its done
 
"What are you doing Sippy?"
- "Oh I'm just writing some technical debt."
 
just accept it
 
user47589
1:52 PM
business people are always right.
 
user47589
They paid me to say that.
 
:D
 
@RoelvanUden jira => new task => "Write Technical Debt" => Time: 40 hours per week => add to current sprint
 
Everything we write is technical debt
 
standard process
 
1:52 PM
Even if it's .NET Core
 
jeez
 
One day people will look at .NET Core and say what the fuck is this shit
 
leave sip
 
Sorry I can't
 
.NET core rc1 is pure tech debt anyways
 
1:53 PM
VB has made me a nihilist
 
@RoelvanUden nice now they saw that they made a mistake in the names and those ones were for the namespace. well already done that.
@Amy thank you I've corrected it and changed the name as well
 
user47589
Wasn't RC2 released just last week?
 
yeah
 
user47589
Or was that a dream?
 
not much time to write anything though, I'd been using the nightlies but there is so much flux.
 
1:54 PM
 private readonly CdpsiUpdateSql Updater = new CdpsiUpdateSql();
 private  readonly  CdpsiUpdateSqlparser Parser = new CdpsiUpdateSqlparser();
better?
@RoelvanUden btw forgot to ask. Why not use global vars?
 
user47589
Your naming is much better.
 
@CuddleBunny Do they have a release date planned for the non tech-debt version of Core?
 
yey thx ^^
 
@Mr.Toxy you mean static?
 
@Sippy APIs should be final with rc2 now. Tooling will still change a lot and will RTM with the next Visual Studio.
 
1:55 PM
If you mean static I'm gonna have to hurt you
 
@Sippy Roel said not to use global variables, dunno. thats why I asked
 
@CuddleBunny I'm guessing "Make shit that's cool but don't make anything important" is the mantra here
@Mr.Toxy Global variables are evil
 
user47589
@Mr.Toxy USE GOOGLE. This is the first result for "why are global variables bad": c2.com/cgi/wiki?GlobalVariablesAreBad
 
why?
 
Unmaintainable.
 
user47589
1:56 PM
Do your own research. We talked about this yesterday.
 
Toxy I'm gonna fucking kick you if you don't start reading
 
@Sippy I think it is safe to make important things now. Code will likely not change much outside of maybe Program.cs and it's < 20 LoC. If you build something now, the way you have to build it might change a lot in 6 months though.
 
user47589
If you ask questions here again that are easily googleable, and it is clear you didn't bother searching yourself, I'll kick you.
 
@CuddleBunny Aight cool
I'm not gonna be building any flagship shit
 
@Amy I was asking roel cause he said that to me and I hat to go lunch so didnt had the time to see the why.
If I need to have global vars the correct way is to add a class for those vars right?
 
1:58 PM
But I need to learn how to unit test properly, and I wanna build something with Core.
I still have no idea what to build though
 
A thing.
 
@Mr.Toxy you don't need global variables.
 
@Mr.Toxy If you need to have global vars, the correct way is not to need to have global vars.
 
they're talking about moving back to csproj and MSBUILD, so don't invest too much effort into your build pipeline
 
@CuddleBunny YAAAAAAAAY
 
1:59 PM
That's silly. project.json was so much better.
 
hmmmm I do use global vars
kinda alot
 
@Roel no.
 
user47589
@CuddleBunny i heard that wasn't going to happen on reddit yesterday
 
I like globals
 
It would be if MSFT infrastructure didn't rely so heavily on csproj
 
1:59 PM
@Mr.Toxy Why?
 
@Squiggle can attest to this
 
it makes everything easier since they are available everywhere
 
I liked project.json from beta, it's gotten way clunky since then.
 
@Mr.Toxy Do it then
 
1:59 PM
@Mr.Toxy that's exactly why you don't want global variables
 

« first day (2040 days earlier)      last day (2910 days later) »