« first day (2006 days earlier)      last day (2950 days later) » 

2:00 PM
Perhaps his code is infected with pacman
 
@Squiggle I'm fairly certain pacman would be the cure.
Ghosts maybe?
 
Maybe the Bush is in the code ;-)
 
ᗧ ● ● ● ● ● ● ●
 
Come to think of it, we never actually found out what those dots WERE or where they came from did we?
 
@Tomwa It's a simulator of a self-reproducing nanobot infestation.
 
2:02 PM
Word has them
 
I hate linkedin. "One of your connections has added a new skill: Scrum". Yeah the ability to stand up and have a meeting is a real skill, go fuck yourself
 
@juanvan Word has what?
 
 
Word has the best words
 
@mikeTheLiar Word.
 
2:03 PM
@mikeTheLiar Only skill on my linkedin: Webforms
 
!!word
 
That's slang for "I'm a colossal dork"
 
@mikeTheLiar That didn't make much sense. Use the !!/help command to learn more.
 
I'm mr popular
 
@Tomwa here is the code to Encode
currentText = Encoding.UTF8.GetString(Encoding.Convert(Encoding.Default, Encoding.UTF8, Encoding.Default.GetBytes(currentText)));
 
2:04 PM
@JakobMillah bless your poor soul
!!learn word "word"
 
@mikeTheLiar Command word learned
 
!!word
 
@mikeTheLiar word
 
Now I have 2 customers that wants to make their 5 year old webforms websites, responsive
 
@JakobMillah thanks a lot, I choked on my coffee
 
2:05 PM
Have your phones closeby, cause I will get a heart attack. It's just a matter of time
 
@juanvan how is the original text encoded?
 
does anyone here worked with DotNetBar before?
 
@Tomwa it is a PDF file, trying to find out
 
@juanvan the original array of bytes is a pdf string?
 
yes
 
2:09 PM
@BadroNiaimi I think that's a "no"
 
user47589
@mikeTheLiar the bird is the word
 
yes I think so lol
 
@juanvan are you sure it's not Unicode encoding?
 
i reeeeeeeeeeeeeeeeeeeeeeeeallly want the next version of VS to come out
 
Is there anyway I could get tables one table can join ?
 
2:11 PM
it is PDF 1.6 I can try that see what happens
 
i need that Open Folder... option
 
@juanvan I tried to save it into a txt file using notepad and it said it contained Unicode characters
 
@Failsafe VSCode?
 
@RoelvanUden That's what I am using now
 
when I updated to
Encoding.UTF8.GetString(Encoding.Convert(Encoding.Unicode, Encoding.UTF8, Encoding.Default.GetBytes(currentText)));
 
2:14 PM
@Failsafe Then why would you degrade to VS
 
> degrade
my hotkeys changed
 
got this now
䅐呒⁓䅃䅔佌啇੅呁੖䅌〳䅁唨⥓䴊敘⁲㔱‰㈨〰⤲刊汥慥敳䐠瑡⁥›〲㐱ㄯ⼱㜲倊楲瑮䐠瑡⁥›〲㘱〯⼴㠰䉁問⁔䡔卉倠剁協䰠卉੔桔獩瀠牡獴氠獩⁴獩挠浯楰敬⁤污敳癲捩⁥慰瑲⁳潦
 
lol
and now i gotta edit settings via json?
 
@Failsafe Then set them
 
0/10 in the trash
 
2:15 PM
Yeah because it's really hard for programmers to edit text files!
Wait...
 
I edit .sln files in notepad++ am i gud
 
@juanvan TL;DR translation: You are fucked
 
feeling like that atm
got bruises on my pelvis
 
@RoelvanUden do you have any experience with DotNetBar?
 
@Sippy JakobMillah uses Tail Whip
 
2:16 PM
@juanvan So what exactly are you trying to do in the first place? What is the goal?
 
get all the strings from a PDF file
have done it for 8 other types of PDFs fine, this is the first one that is missing data
 
@BadroNiaimi nein herr badro
 
@juanvan Maybe they aren't strings, but images
 
but they are in stringbuilder
 
2:18 PM
@juanvuan Why not just do:

Encoding.Unicode.GetString(Encoding.Unicode.GetBytes(currentText));
 
@juanvan Okay so then what, you convert the string to bytes.. to read them again?
 
@RoelvanUden still missing, was what I did first
 
No, I'm asking you why you are doing byte conversions in the first place.
If you want them as strings, and you have them in your stringbuilder...
What is the problem??
 
when I ToString is loses data for some reason
that is what I don't under stand
 
@juanvan why convert to Default encoding (That should be ANSI most likely) at all? Why not go straight to Unicode?
 
2:20 PM
@juanvan And how are you so sure they are in the StringBuilder then?
 
@juanvan ToString is probably using ansii encoding
 
and could be missing them then, yep checked it in the debug
 
@juanvan have you tried that line of code I gave you let?
 
var stringtest = text.ToString();return text;
 
@Tomwa No, ToString on a StringBuilder merely returns the internal list of strings concatted.
 
2:21 PM
ya came back the same
 
@juanvan How are you so sure that the strings are in the StringBuilder?
 
text.ToString() - 32,000 Chars text(stringBuilder) 67,000 chars
 
@RoelvanUden But what encoding do those strings have?
 
missing half the data
 
@juanvan 67.000 comes from your .Length?
 
2:23 PM
anyone use swashbuckle?
 
when I paste it to a text file from the debug
 
Please please please just answer the question instead of throwing around random sentences
 
@Failsafe yes it's awesome.
 
Sorry, When I take the debug value and paste it to a notepad
will do a .Length
 
@Squiggle does it work with dnx?
 
2:26 PM
the Lengths are the same for the ToString and the StringBuilder
 
So the question remains, what are you freaking about?
 
not all the data is in the string version, but from the length is should be
 
@Failsafe I don't see why it wouldn't, but I can't confirm.
 
@Squiggle some things changed
 
@juanvan Did you actually check if you miss some data? Did you confirm anything? Or is the lack of the internal byte lengths knowledge confusing you making you think you're missing values?
 
2:28 PM
@Failsafe - you're using OWIN? the configuration looks pretty straight forward
 
I want to get all virtual collections of classes generated by ENTITYFRAMEWORK code girst
should I use reflection ?
or does someone knows any better way ??
 
@Mathematics that smells like you're doing something nasty
 
I am developing Query Builder
 
@Mathematics first of all ask yourself this question: WHY!?
 
Query.. Builder?
 
2:30 PM
@RoelvanUden yes when I look at the values, and paste them to a text file the ToString does not have page '- 60' the but the StringBuilder does
 
@juanvan 'page'?
 
So when a user selects a table in query builder then, I will give him to choose from child collections of this entity
 
the Pdf Page number
 
@juanvan You know how you can avoid a ton of shit btw.
Ditch the StringBuilder
Just concat strings together
 
Hello hello
 
2:30 PM
See if that helps.
 
@juanvan It's still an encoding issue. Take the text from your stringbuilder. Paste it into notepad and save as ansii.
Lo and behold it's the same as your second paste bin link
 
Where my question has gone ???
 
@RoelvanUden trying that
 
stringbuilder does some funky shit in regards to byte copies anyway.
i wouldn't be entirely surprised if there was something wrong with > unicode16
 
WHO cares about string builder man ??? I have big problems here
 
2:33 PM
Right now I do :-p
 
Oh I'm sorry. Let's all drop everything because @Mathematics has big problems!!
 
@RoelvanUden Very big problem indeed
 
@Mathematics You earn more than me and Roel so how about you fix our problems
 
Seriously dude, the Earth does not revolve around you. This is a public chat box, we aren't just gonna wait for you to come and all help you out with your particular problem.
 
i got a bigger problem, i forgot to order lunch, now i only get a smoothy and nothing else
 
2:34 PM
@Sippy go on tell me, what is ur issue
 
@Mathematics I think your question is insane and you probably need to rethink your approach
 
what should i do?
 
@tweray drink your smoothie
 
@mikeTheLiar there is no other way
 
@tweray Order lunch.
@tweray Perhaps Pizza.
 
2:34 PM
Microsoft has done their best to make Packages as confusing as possible
 
@tweray panini, panini everywhere
 
I am going to eat EntityFramework THEN !!
 
Geez
 
@JamieLester Share your frustrations
 
I'll put this room on firee
 
2:35 PM
Well I'm trying to target framework 4.6.1
Sorry 4.5.1*
 
@JamieLester try targeting 7, that won't going to help either, your code stinks !
 
.NET framework 4.5.1, go on.
@Mathematics Warning #1. Stop insulting people just because you are frustrated (Besides, your answer doesn't even make sense)
 
@KendallFrey drink smoothie with empty stomach? dude i'm not 14 year old and it will kill me
 
So I have dnx451 in my project.json under frameworks
Except it doesn't look like the packages are getting installed
It's like it's installing empty packages
 
@RoelvanUden Brb
Oh wait
 
2:39 PM
@JamieLester Oh, sorry, I have no idea about .NET Core 1.0 RC
 
did anyone here worked with Xamarin before?
 
@Squiggle nvm got it to work
i installed the wrong package
 
user47589
@Mathematics We are not obligated to help you at all. We volunteer our time here for free.
 
The packages all target the 4.0.*-beta-23516
 
theres mvc5 swashbuckle
and then swashbuckle.swaggergen and swashbuckle.swaggerui
which i guess is for core
 
user47589
2:40 PM
why does the room smell like pirates?
 
Apparently .NET Core 1.0 RC2 will have an entirely different set of tooling for package management and so forth.
 
@RoelvanUden why
i still havent gotten used to this one
 
@Amy it's all the arrrrgs in here
 
user47589
lol
 
@Failsafe Cross-platform, the current ones are Windows-only it seems.
 
2:41 PM
json is windows only?
 
Whereas the .NET itself already is cross platform
@Failsafe Hey something reads the file and does magic, that pipeline.
This is why I don't care yet, let them stabilize this stuff first.
 
user47589
yeah
 
user47589
i'm not gonna mess with .Net Core until its stable and production-ready.
 
user47589
or at least stable
 
A 1.0.0 will do it for me. :P
 
user47589
2:43 PM
yup
 
how about 1.0.0.0.0.0.0.0.0
 
@RoelvanUden they already renamed dnx to dotnet, which is kinda frustrating.
There's so many small guides/tutorials online written last month that are already out of date.
 
Such is the life of an unstable product
 
so is my sense of fashion
 
I've been having the same problem with Angular lately, although that's mostly because the actual Angular documentation is broken, and there's bugs in 1.5.3
 
2:51 PM
Fucks sake
AX lies about what it wants. Specifies xs:dateTime in wsdl; rejects valid datetime
 
@TomW is that connected to something?
 
scumbag-ax.gif
 
Hello all, I have some problem with the date time conversion from dd/MM/yyyy to MM/dd/yyyy format. I am using DateTime.Parse....ToString(), but the final outcome is a string, but I need that to be back in a date time where I need to save into database.
 
@Ganesh so don't call ToString?
 
var newDate2 = DateTime.ParseExact(dateTimeString, "dd/MM/yyyy", CultureInfo.InvariantCulture).ToString("MM/dd/yyyy")
obj.FromDate = Convert.ToDateTime(newDate2)
But if I don't call .ToString() the format is still in dd/MM/yyyy...
I am reading the data from an ajax calendar
 
2:56 PM
DateTime doesn't have a format, it formats the way you tell it to, where the default is according to the current culture
 
var newDate2 = DateTime.ParseExact(dateTimeString, "dd/MM/yyyy", CultureInfo.InvariantCulture).ToString("MM/dd/yyyy")
obj.FromDate = Convert.ToDateTime(newDate2,CultureInfo.InvariantCulture)
Maybe try that
 
Okay...
 
@Tomwa what difference does that make? a datetime is a datetime
 
It puts me in the same place...again
 
@TomW his original code works on my machine, I assumed it was a conversion issue to due to the culture.
 
3:02 PM
But I made it as InvariantCulture right...then why?
 
@Ganesh What output ARE you getting?
 
@Ganesh you don't have the problem you think you have. Why do you want to change the format in the database anyway?
I don't think most databases localise datetime literals, do they? Does anyone know?
 
so our SSIS guy left, and i'm trying to figure this stuff out. the SSIS package has a single task, that points to two locations on a server. neither of these locations are a task. somehow it's creating a file though. any idea how i can dig into it and see what's going on?
 
double click maybe?
 
@Bardicer spend a couple of days doing online training, then tackle that problem again?
 
3:07 PM
I am getting again dd/MM/yyyy format...
 
i wish i could squig... but i don't have a couple days
 
@Ganesh where? Can you explain again exactly what the problem is please? It's not clear exactly what you're trying to do
 
@Bardicer I might be able to help
The guys over at Database Administrators can help if I can't
What type of task is it?
 
umm
executable type = "microsoft.package" ?
 
@Ganesh how are you checking the format?
 
3:10 PM
? can you post a screencap? I'm not sure I follow
 
DTS:ExecutableType="Microsoft.Package"
i'm looking at the "code" for it
 
Oh you don't want to do that
 
ugh this should be a service and not a DB thing >.<
no?
 
Open the package in VS
 
i did
 
3:11 PM
Okay, in my database the field type is datetime and am using ajax calendar and the format i should show the end user is dd/MM/yyyy format - Indian date format. But now when I am doing the converstion with datetime.parseexact method and then converting back s in below code

var newDate2 = DateTime.ParseExact(dateTimeString, "dd/MM/yyyy", CultureInfo.InvariantCulture).ToString("MM/dd/yyyy")
obj.FromDate = Convert.ToDateTime(newDate2)
 
SSIS is a graphical tool
 
there's one little rectangle
 
What does the tool tip say if you mouse over it?
 
"Custom Documents"
 
It doesn't give you a type? Is this in control flow or in a data flow task?
 
3:13 PM
@Ganesh you haven't explained why that code snippet helps you do that
 
Yes, here am
 
it's...
control flow
there is no data flow
 
Okay. What do you get when you double click the task?
 
first it converts from dd/MM/yyyy format to MM/dd/yyyy format in a string representation and the next line does to date time..where I am getting an exception string was not a valid format...
 
a custom window pops up for "Custom Documents"
 
3:15 PM
Can you post a screen cap of that window? Redacted if need be (Greenshot works great)
 
@Ganesh I understand the first line. What is the rest of the code for?
 
it has a place to put in a connection string, a file server path, a document id, and a print server path
yeah i'll redact it
 
@Ganesh If you're trying to convert to an indian culture why not do:

var newDate = DateTime.Parse("03/09/1992", CultureInfo.CreateSpecificCulture("gu-IN"));
There's many different indian cultures but that one returns 9/3/1992 for me
There's a full list of cultures here: msdn.microsoft.com/en-us/library/…
 
guy looks like a cross between tom cruise and matt damon
 
@Sippy Tom Damon? Matt Cruise?
 
3:19 PM
 
Looks like a leaked NSA message box
 
NSA can still read that
they have the technology
 
i'm not worried about the NSA
 
Nope, I am not converting to Indian Culture...
 
Okay, that's pretty heavily redacted. :) What does the title of the edit box say?
 
3:20 PM
@Sippy Who do you think blacked it out?
 
@Ganesh why are you not an elephant man
 
@Sippy wearing a Hogwarts school uniform
 
@Ganesh:

"Okay, in my database the field type is datetime and am using ajax calendar and the format i should show the end user is dd/MM/yyyy format - Indian date format. But now when I am doing the converstion with datetime.parseexact method and then converting back s in below code"

That's what you said friend.
 
there's no title on it
 
Note the key word "Indian"
 
3:21 PM
wat
WTF sort of SSIS package is this
 
@mikeTheLiar ISIS PACKAGE?!
RUN!
 
this is my first experience with SSIS
 
BOMB!
 
@Bardicer this is a non-normal first time
 
yep...for showing in the UI it is in Indian format...but in database I did not do any changes. It is by default what is there...
 
3:22 PM
Can you post the properties pane?
 
my first times usually are lol
right click the task and click properties, right?
 
Right
 
@Ganesh Let's get this clear:

1. You have a date in MM/DD/YYYY format. Correct?
2. You want the date in DD/MM/YYYY format. Correct?
3. You want a datetime object representing that format.
 
that's got some sensitive information in it naming wise... :/
but i can look at it
 
Nope...
 
3:23 PM
@Ganesh Then I have zero idea what you want.
 
You should see something like this:
 
1. I have date in dd/MM/yyyy format
2. I want date in MM/dd/yyyy format
 
i don't have the bypassprepare or a codepage
 
@Ganesh

var newDate2 = DateTime.Parse(dateTimeString, CultureInfo.GetCultureInfo("en-gb"));
 
3:25 PM
At this point I'm just trying to figure out what we're looking at. Different task types have different properties
 
i have connection, delayvalidation, description, disable, disable eventhandlers, execvaluevariable,filepath,fisolationlevel,id,localeid,ptrasnactionoption
is it possible to create custom ssis task types?
 
Definitely
We have one
It's a pain in the ass though
 
@Ganesh That will:

1. Take a string representing a date.
2. Convert it to MM/DD/YYYY format.
3. Return a datetime object.
Is that what you want?
 
Are there any other projects in the solution?
 
there is one project
with a folder called "ssis packages"
 
3:28 PM
Let me try once...
 
and about 15 .dtsx files
 
anyone ever successfully used AMQP middleware in a company system? I'm considering making some projects that hang off a pipeline rather than the old way people here used to hang everything off MVC controllers, something like RabbitMQ seems like it might fit the bill quite well..
 
@AlexH I thought you were @AlexL :(
 
@Tomwa sorry about that...
 
@AlexH I need a nap anyways before he gets back on
 
3:30 PM
@AlexH message queues are pretty standard infrastructure, depending on what you're trying to achieve. It's a bit of a vague question though.
 
There's a few of us floating about
 
@Ganesh Is your issue resolved?
 
@Squiggle it's something I'm not familiar with
 
Testing, give me a minute
 
@AlexH let me put it another way. What sort of business messages are you dealing with? What sort of "hang it off MVC" apps do you have?
 
3:32 PM
Friends !
 
@Bardicer you said there's no data flow tasks - is there anything in the event handlers?
 
just an onerror
 
And I'm assuming it just logs the error
Anything illuminating in the package explorer?
 
@Squiggle there's a customer facing site which has lots of "events" which we want to hang actions off, eg someone logs on, someone does a particular action, etc, and the requirement is that we better record this stuff, and also people get some form of communication when relevent, eg: "your client is currently searching for xyz..."
@Squiggle so the old way was ignore logging and have 300 line functions for each controller action
 
3:34 PM
@AlexH sounds like a decent usage scenario for a message queue. They're pretty easy to set up and play with - but you need to know why you're using it, and what it can/can't do. I suggest playing with the technology a bit :)
also ew. Yeah. There are better ways than what you describe.
 
@Squiggle yeah I figured there was! I was daydreaming about a pipeline type architecture, did a google, found rabbitMQ, now I'm here
 
nope :/
 
What is in there?
This whole thing sounds weird
 
@mikeTheLiar symlinks to the network shares on the developer's laptop, that he took with him when he left?
 
And what happened to the guy who wrote this? Died in a freak documentation accident or something?
 
3:38 PM
@RoelvanUden @Tomwa I output each line to a text file, and am reading that file it seems to work. Why it does not work in memory I am not sure, I tried every encoding but always came up missing data in the end.
 
he quit
i was digging on his laptop, but now another dev needs it
 
Presumably because he had to maintain whatever the fuck this is?
 
@juanvan that is incredibly odd, hard knowing without looking at the exact code.
 
@juanvan charset maybe?
just guessing
 
this is his creation
 
3:39 PM
maybe will revisit it if this does not work as expected
 
Okay, going out on a limb here - is there an icon on the task? If so, what does it look like?
 
@tweray I gave him code using the Unicode set which had the expected result on my side.
 
there is... it's a house
 
It's probably telling you to give up and go home Bardicer.
 
user47589
in the house is an envelope.
 
3:41 PM
In the envelope is a house
 
@Tomwa lol but i gotta pay bills
 
Made of envelopes
 
A house?
 
The real question is: Is it a house you would visit? Does it look welcoming?
 
@Tomwa here is the code - pastie.org/10796469
 
3:43 PM
Does this task show up in the SSIS toolbox?
 
@juanvan Are you using iTextSharp? If not which library are you using?
 
Yes ItextSharp
 
yes
it's called "Custom Documents"
progress?
 
@AlexH event-like semantics are great. Lets you take the approach of recording everything at the earliest possible opportunity, very unlikely to go wrong and you can reconstruct what the state of the system should be if something fucks up
 
and now the laptop is commandeered...
 
3:46 PM
I think so. One sec, googling
 
It happened, it's a historical fact
 
@Bardicer does that mean you lost access? This package only exists on this laptop?
 
@TomW that's the plan, had some trouble with the email service the other day, no one knew there were clients waiting for phonecalls etc
 
yes for now
 
Can you get a copy of the .dtsx? I know I said earlier not to read the raw text but I think that's the next step
 
3:48 PM
Question: What character can I use to delimit regex strings??
 
wait it IS in source control \o/
 
like [^0-9]+ and \(WireID:\d+\)
 
ok gimme a few minutes, lemme see if i can set this up on my machine to run
 
\[T]/ praise the Git
 
i need to keep both of them in one string variable
 
3:49 PM
... the TFS :/
 
no one praises TFS
 
All light slowly fades
 
i'm more of a SVN person
but that was also my first experience with source control
the sequels are never as good
 
and I can't use , or : or |
 
I started with SVN but we didn't use it well. I much prefer Git, but we use Git properly
 
3:51 PM
I'm rubbish at GIT but it seems amazingly powerful compared to anything else I have used.
 
@juanvan can you share your test pdf with me?
 
I showed a colleague how to cherry pick the other day and it blew his mind
 
@juanvan what were you originally trying to accomplish?
 
Convert the pdf into an excel sheet
 
3:59 PM
@juanvan that sounds painful
 
Enum type as an input parameter for a method of type json result, good practice or bad pracitce?
 

« first day (2006 days earlier)      last day (2950 days later) »