« first day (2666 days earlier)      last day (2507 days later) » 

21:01
Anyone know if/how to convert a dll assembly stored in sql server into a file?
user5500750
I can understand why stackoverflow.com has to filter out certain questions and how frustrating it can be for beginners. And some very valid and useful questions are very often cancelled. But sometimes users can ask dumb questions.
user5500750
Imagine searching on Google for something and only to find that lots of people have asked the same question.
@Bardicer if you're asking that question something, somewhere has gone horribly wrong.
user5500750
And just one of these questions has the valid answer.
someone wrote a dll about 15 years ago that has been registered to our sql server. my service is not returning the results i expect it to, and traced it to this assembly
apparently it was done in a rush and the code was never put in version control
user7858150
@user5500750 Precisely. This is why the community might be a little more proactive in historical questions.
Run
Run far and run fast
i can't... the buck stops here
user7858150
@Bardicer I concur. You should run, unless there is a dire need for food on the table.
21:03
You don't want this buck.
This is a bad buck.
> dll assembly stored in sql server
what?
i mean... i have this "0x4D5A90000300000004000000FFFF0000B8000000000000004000000..."
user7858150
Oh good Lord
If this was a real buck, it's covered in coke and dead hooker blood.
is it even possible to take that and convert it into a file?
21:04
Have you seen No Country for Old Men?
i can't remember what i watched last night because my brain is melting
This is a briefcase full of bucks surrounded by dead and dying drug smugglers.
@Bardicer wait, this is in the database? Like in a varbinary column?
user7858150
@Bardicer This is where you bring in the consultancy group with the DBAs and the programmers who started with BASIC
sys.assembly_files.content
that's where i'm finding this
user7858150
You should see the gurn I'm pulling now
21:06
Jesus Christ. It's worse than I thought.
this is the only clue i have. the assembly name is not found on the server
user7858150
I could win championships
any other time i've run into a "...with execute as caller..." the assembly has been physically located on the server. this time i can't find it
well i guess i get to spend the rest of my day headbutting a brick wall
user7858150
Ah... couldn't by any chance be a physical location stored on disk, as referenced by the original device?
Yo yo everyone, a quick question on design: I need to perform business logic based on an object's status. The object will have a before and after status (example: before - sent, after - complete). I need to perform business logic for all statuses in between the before and after status. (Example of status flow: Complete -> incomplete -> sent -> draft.) In this case, I need to perform the "Complete," "Incomplete," and "Sent" business logic. Are there any good design patterns to accomplish this?
21:08
select *,
cast(content as varchar(max)) from sys.assembly_files
that's what i'm looking for @ScarySpice
so are they actually storing dlls in the database binary fields
that signifies a bigger witfuckery going on underneath
the cast returns "MZ"
:(
That's the exact result I get
lol they are actually storing them
21:10
So it ain't your dll
Unless your dll is also installed on my Staging database
In which case
Hope I have mercy on your soul
user7858150
@Bardicer Hrrrrrrmmmm... Have there been any device changes since the creation of the DB? More importantly, is this a RAID array that's been rebuilt, and what other changes have occurred in the lifetime of the product?
@ScarySpice i can't say... i just started a couple months ago and this was done apparently 10-15 years ago
user7858150
Well shit
I suspect your problem lies elsewhere though
but yeah... it's a CLR assembly that's been created in the DB. i have the content data, and i think my only hope is a way to convert that into an actual file that i can then decompile
21:12
9 mins ago, by Professor Squirrel
@Bardicer if you're asking that question something, somewhere has gone horribly wrong.
hello peeps
user7858150
@Bardicer are you consulting or employed?
FTR, MZ are the two first bytes of an executable file (well, strictly speaking, a PE header, so DLLs too)
employed
today I had one of the managers asking my about my knowledge on compiling dll files or something
anyone care to enlighten me?
21:14
i've googled so much... google thinks i'm a robot now...
@Nero you want project type "Class Library"
user7480455
try bing
user7480455
that is what I use
user7480455
and dogpile
user7858150
OK, you need to go and find out who was managing this 10-15 years ago. It's not worth your time to try to reverse engineer the project, since that'l take you far too long. Your best bet is to go through the DBA records, then find developers that had access to the DB from those, if that's possible
user7858150
@007 Dogpile sitll exists? I used to use that to find pirated music in my early teens
21:16
@Bardicer can you briefly explain that to me please before i jump onto google
user7480455
yes
@Bardicer so i'll have some sort of guidance in the direction i am headed
we've identified the developer. he hasn't been with the company for like 8 years?
@Nero visual studio -> create new project "MyProject" -> project type = class library -> write code -> build project -> go to project's bin folder and find MyProject.dll
as succinctly as possible
user7858150
@Nero the shortest explanation is this: A DLL is a compiled library capable of of being transported into other projects. Before compiling as such, one should consider transportability and extensible purpose.
@Bardicer you seem to misunderstand the word "explain" and rather tell me steps of creating one. thank you
@ScarySpice cheers mate
user7858150
21:20
@Bardicer Time to sleuth. You need to get in contact with this developer. LinkedIn? Facebook?
i'm totally on my own on this one @ScarySpice
i mean... i can pretty much deduce what the method i'm calling is supposed to do
and i could write/deploy a new CLR assembly much quicker - just not sure if it has other stuff i'm not aware of in it that might ramp the difficulty up
user7858150
@Bardicer That's really the preferable option. If you want to go it alone, your best bet is to rewrite the assembly as you see fit... but that's potentially a minefield
user7858150
If I were in your position, I'd be looking for the original dev.
> someone wrote a dll about 15 years ago
apparently it was done in a rush and the code was never put in version control
it's already a minefield lol
21:23
Must've been a hell of a rush if they couldn't find time in 15 years to put it in VC
most likely a did it and forgot about it thing
user7858150
@ProfessorSquirrel tbf that's not how it necessarily works in a corporate environment.
user7858150
what @Bardicer said. There's often too much going on to go back and wrap up stuff you missed x weeks ago
That's what we call technical debt
And it's basically the entire reason I have a job
user7858150
After I left HP I was still talking other devs through my clusterfucks
21:25
lol
@ScarySpice hey bro, just a quick one, you mentioned "DLL is a compiled library capable of being transported into other projects". You mean similar to a third party library?
@Nero yes
a DLL is a third party library of code that can be used by other code to do things
@Bardicer I am not talking to you, you are mean!
i can't explain worth a crap today >.<
@Nero not a third party library. Just a library.
user7858150
21:27
@Nero precisely. A third party library is often transported as a plugin because that's an efficient way to get it around. However, you can use a DLL for any transportation purpose, be it through a team or otherwise
user7480455
well that explains it Bardicer
ah okay makes sense, cheers lads
user7480455
and explains it well yes..
user7858150
The name "third party library" just means a library that has come from a source outside the scope of the project
friday afternoon... picking my way through a minefield that's gonna blow my foot off sooner or later... my brain is melting
haha
21:28
yeah it's just I find it easier to understand it in those terms
user7858150
@Bardicer do yourself a favour. Type out a report and send it to the relevant management chain on the intricacies of sorting this out. It might be your saving grace down the line.
yeah... that's what i'm thinking too
sigh
user7858150
@Nero OOI is English your first language?
user7480455
speaking of melting brains... has anyone ever had pork brains in milk gravy
Never change, 007. Never change.
user7480455
21:29
it melts in the mouth
well, y'all have a great day. i'm gonna go start working on documentation on the process i'm taking here
user7858150
@007 We have pork faggots and beef melt stew. Good stuff
user7858150
@Bardicer good luck bud
that's gonna get flagged
Only on the weekend.
at least i can show i've tried everything that has a chance of working
thanks @ScarySpice
user7480455
21:30
like cigarettes
user7858150
@ProfessorSquirrel Giggity
@ScarySpice Is english my first language? nope
@ScarySpice tend to understand it through examples then words; don't know why
user7480455
professor I can only be what I am...
user7480455
which is not much these days
user7858150
21:32
@Nero Ok, just in case you're not aware, "third party" means an entity outside the usual scope of a transaction. If I were to purchase a product from a person, and that person used a company to supply it, that company would be a third party.
user7480455
just an old man thats busted rusted and worn out..
@ScarySpice got it :)
user7858150
@Nero Similarly, if I were a toolmaker, and I were to use a bearing that came from another company, that other company would also be a third party.
@ScarySpice so something that's created internally would just be classified as simply "Library"
@Nero that would be first party, but no one says that
user7858150
21:33
@Nero The other definition is sort of like the following: If I own a car, and I have a contract with an insurer, when another person is at fault for crashing into me, they are the third party and are hence responsible for the cost, because they are at fault
user7858150
@Nero Yes, but what @KendallFrey said. We consider internal work to come from the same source.
user7858150
Usually anyway
ok this conversation went in a lot deeper than I anticipated lol
user7858150
It's important to note, though. The nuances of English can get quite complicated
rename the room to "C# & helping @Nero W/ English
21:35
Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo.
user7858150
Well, let's not go that far.
user7858150
The buffalo from Buffalo who are Buffaloed by Buffalo from Buffalo, Buffalo other Buffalo from Buffalo
I helped my uncle, Jack, off a horse.
user7858150
Man is a man is man
user7858150
21:42
James while John had had had had had had had had had had had a better effect on the teacher
The horse raced past the barn fell.
The old man the ship.
user7858150
Can can can can can can can can can can.
user7858150
That that is is that that is not is not is that it it is
user7858150
Colorless green ideas sleep furiously
user7858150
If police police police police, who police police police? Police police police police police police
21:43
Steak puns are a rare medium well done.
@ScarySpice seriously wtf is that
that only gives one google result
user7858150
@KendallFrey All of these are grammatically correct sentences in Englishg
but how
It's Englishg, dummy
Don't you know the rules of Englishg?
user7858150
@KendallFrey
"Man is a man, is man" The first is a descriptor, the second a collective, the third an exaggerant
21:46
no idea what those are
user7858150
"James while John had had had had had had had had had had had a better effect on the teacher" is an English sentence used to demonstrate lexical ambiguity and the necessity of punctuation, which serves as a substitute for the intonation, stress, and pauses found in speech. In human information processing research, the sentence has been used to show how readers depend on punctuation to give sentences meaning, especially in the context of scanning across lines of text. The sentence is sometimes presented as a puzzle, where the solver must add the punctuation. It refers to two students, James and...
what does it even mean?
user7858150
@KendallFrey So, the exaggerant is simple: "That's so cool man!"
user7858150
The collective is obvious - "Man" - the masculine of species
still doesn't make sense
user7858150
21:47
the descriptor "Man" describes the person
I know how "man is a man" parses
user7858150
in other words, the phrase could be reconstructed as "He's a male, man!
I don't get how you can put the second is in
english are dumb
user7858150
In hollywood, the exaggerant is common, primarily in black comedy: "Man you crazy!"
21:49
Man is a man's man, man.
Man, man is a man's man, man.
I know what the interjection "man" means
user7858150
@ProfessorSquirrel is also accurate
Read and lead rhyme, and so do read and lead, but read and lead don't rhyme, and neither do read and lead.
user7858150
In addition, the adjective, collective and exaggerant are also interchangeable
user7858150
Man is a man, man!
21:50
Here's a math/programming one for you
user7858150
used in a mysoginistic descriptor.
DEC 25 = OCT 31
3! = 6 and 3 != 6 are both true.
@ProfessorSquirrel That's two different languages though
........That's why I said math/programming
That's math slash not math and slash or
21:52
If a teacher taught, why doesn't a preacher praught?
Is a stressed out educator a taut teacher?
user7480455
bye all
user7858150
@007 Beware the vampire of English language!
user7858150
OK, I'm going for a bike ride to try and get this whisky through my system before I go to bed. Incidentally, I asked a question in here a few hours ago and never got an answer. Seems stupid, but where an asp:textbox control has it's textmode set to Date, is this the correct approach for setting a minimum date? <textbox>.Attributes["min"] = DateTime.Parse("1900-01-01").ToString();
21:56
2
Q: How to set minimum and maximum date of asp:textbox textmode=date ??? using javascript/jquery

Syed Muhammad YasirI have a asp:textbox , how can i set its minimum date to today using javascript: With C# I am doing it like this and it works fine..but I have to do it using Js/Jquery DateTime date = DateTime.Today.Date; String today = date.ToString("yyyy-MM-dd"); tourStartDate.Attri...

But I'd probably use DateTime.MinValue for clarity
user7858150
@ProfessorSquirrel That's where I got the idea from, but it doesn't really work and the question doesn't specify the min setting
user7858150
MinValue.. that's a new one for me... I'll give that a shot, thanks
Actually disregard the MinValue thing because apparently I can't read
user7858150
lol
user7858150
It seems logical that ["min"] would work, right?
user7858150
21:58
maybe I should raise a bug
You can't set it at design time?
user7858150
Design time?
In the designer. You have to set the min value via code?
user7858150
I'm not familiar with editing in designer. If that's an MVC thing I'm not really there yet, so for immediate values I'm using Page_Load for now
user7858150
Or do you mean within the aspx?

« first day (2666 days earlier)      last day (2507 days later) »