« first day (2680 days earlier)      last day (2494 days later) » 

11:00
@TomW thank you
My senior told me what dont use data reader because using data reader we are not efficiently utilizing our resource memory
So data adapter will be good in this case in order to utilize my resources ?
Well then go and ask him what you should do
Which ressources?
11:01
He told me find solution for this
Database server will reside on server
Solution for what?
Memory? Download->compare CSVs will fuck up your memory.
i noticed that MVC automatically decodes get parameters. i think that is the reason why sometimes my encryption fails
but hard to debug and i'm afraid to release it. haha :)
and we are going to perform this on another server so idea is to utilize resources of that server where this process will take place
@qd0r You noticed this a few days back - if it's passed in the query string (as a GET / URL) it will be mapped appropriately from the start. If you were UrlEncoding a POST param then it would remain encoded
It's not magic it's just the intertubes working
11:03
Resources like memory,cpu,IO etc
@Learning-Overthinker-Confused If it's about a clients database, you should actually clone it to your own server and do it there
^
Slamming a production db with load that wasn't anticipated while it's trying to do its real job is bad juju
@Metallkiller Previously we use to do this only but everytime there is an update in client database he/she have to go through import process
which is a pain for them
Also, you have to specify "save ressources". What are the ressources for? When they're for comparing hte clients databases, use them. Unused ressources are wasted ressources.
Importing a database is a whole other level
as client database are highly used in their respective apps,so if we are also gonna put load on them then it could be problametic
11:05
We usually send a dev to the client as someone fucks up something and we have to repair the stuff
@RudiVisser thank you
@Wietlol is it anything to do with this? stackoverflow.com/a/21529654/313414
no, HttpContext is pointing to the class
other than that, not enough information to answer
11:09
System.Web.HttpContext to be more specific
@Wietlol Do you call it from another thread? Check if the thread makes a difference.
i assume we use ASP.net web api
@Metallkiller nope, have seen that before, but this is literally in the handlers
I assume somebody said something about assuming stuff not being good
which is done using a svc file
svc files are WCF, not asp.net
11:11
im not familiar with the C# web stuff
when you assume you me an ass out of u and me
Yeah you can't use that in WCF.
WCF services are often not even http-based
@TomW I need to get the client public ip address
i thought it was asp.net so searched for stuff for asp.net
naturally, they didnt work
in this case because the service wasnt asp.net
ah
35
A: Obtaining client IP address in WCF 3.0

GazIt turns out you can, so long as (a) your service is being hosted in a Web Service (obviously) and (b) you enable AspNetCompatibility mode, as follows: <system.serviceModel> <!-- this enables WCF services to access ASP.Net http context --> <serviceHostingEnvironment a...

apparently you can enable it
I guess we use WCF 0.4
alpha version
11:17
uhh
why would you assume that
that is how things work here
especially legacy stuff
not to mention .net 3.5 solutions
shivers
You...use an alpha version of WCF in production?
oh god
probably not, but i wouldnt be surprised
i hope not
11:21
!!giphy do it live
perfect ^
You gotta get rid of your probablies and assumtions. Get some facts
how would i see what version it is?
11:25
Ask the peeps that wrote it
i'll do just that
!!afk lunch
3.0.6920.4902
hmm... sounds solid
11:38
what will
DateTime.Now.Date
will give?
The current date
and time?
00?
12
you could ofcourse try it
time will probably be 12 + utc offset
so that utc -12 is 0 and utc +12 is 24
not sure either exist... but still
can someone order pizza to my office pls
11:54
alexa can
refuse to use alexa
You know what, that is a weird conceptual barrier to me
not cause of any noble, anti spy reason, i just dont want to make siri sad
I find the notion of ordering takeaway during the day really weird for reasons I can't explain
well remember im 18
11:55
maybe it's a built-in defence against obesity
so its kinda regular
my metabolism is sublime
oh yeah if I eat something as calorific as pizza for lunch, I'll fall asleep
there is that
i might just go subway tbf
quick question guys
why is a hash map not ordered?
I understand you bind data to a key, so ordering isn't necessary
but is it computationally tasking to sort a map?
I mean, is it sorted by key/footprint? What's the logic behind hash sorting?
Do you know how hash table works?
12:08
Yes. new Hashtable(). Am I right
now i finally figured out why my string encryption fails in some cases. it was not a double decoding. it's a problem with an encoded plus character
@milleniumbug no
@Harry don't go to subway
Its not fresh!
i wrote a few lines of pseudo code. may someone take a look and let me know if a string replace is really the way to go? pastebin.com/au6T6EfH
@HéctorÁlvarez yeah I assumed so. Let me try explaining then
let's say you have a collection of key-value pairs, like a linked list. Finding a specific key-value pair would involve checking every pair, by iterating over it. That's not very efficient.
But what if we had an array of lists, and some criterion that lets us check only one of the lists?
12:17
I follow so far
> let's say you have a collection of key-value pairs
Like a dictionary I guess
well no that's layering violation
because you're trying to implement a dictionary with a dictionary :P
oh wait, a linked list
so, given a key, we need to map it to the specific index of that array. Then, when looking it up, we iterate only over that list.
right, so you forget about the values
for now
!!amirite
@HéctorÁlvarez That didn't make much sense. Use the !!/help command to learn more.
12:22
we don't care much about the values except that they're in that list, together with the keys (think List<KeyValuePair<K, V>>, well, or a linked list)
@CaptainSquirrel what d'you mean?
Make it easy. Link a video. youtube.com/watch?v=KyUTuwz_b7Q @milleniumbug @HéctorÁlvarez
get a key, get its .GetHashCode(), modulo it by the number of lists, and check that list
@milleniumbug I'm lost now, lol. I'll check @Roel's video, tyvm sensei.
yeah maybe some form of visualization will help
12:27
I'm asked to accomplish an API assignment as a recruitment process.
Do anyone know how to host it, i'm sort of away from server-things details?
evenings o/
woah, @milleniumbug yo
@MohamedAhmed create a WebAPI in VS, click Play, boom.
seems a lot of the guys from Maid Cafe are here
12:29
@HéctorÁlvarez No i need to host it so it can be available for the recruiter to use it
publish it to IIS
whats the meaning of this sentence:
Executing another similar query will only lead to contention
by default it's published on a local IIS - Express
@Learning-Overthinker-Confused given the zero-context, I'll be it on Strife.
@HéctorÁlvarez TL;DR version: there is no ordering on the GetHashCode() results, and there are no ordering constraints on how GetHashCode() map to internal buckets. In fact, disorder is introduced on purpose in order to make keys unlikely to map to the same bucket.
Nice, I get this, but I need to see how it works underground
btw some advanced SQL question, I added CDC to one of my tables, I have a CT object pointing at my table, but the function to retrieve the changes wasn't created, any idea why?
The request for procedure 'fn_cdc_get_all_changes_dbo_dat_liq' failed because 'fn_cdc_get_all_changes_dbo_dat_liq' is a table valued function object.
13:08
The phrasing of the error message implies you're invoking it like a sproc, when it isn't
exec vs select?
What is the best tool to parse the IIS log file? Are there powerful libraries?
Do You want viewer or lib?
@TomW yup figured it out shortly after, I didn't find it because it wasn't in the SP folder /facepalm
now I'm stuck with Envers for NHibernate, I have genuinely no idea how to use it and the few docs out there are for the Java version
appaerntly the only current docs are here envers.bitbucket.io
but eeeh... java port
13:23
hibernate for .net?
@ntohl I want a a C# librarary to parse the content of a IIS log file, so that I can use the data in my code
Hi there. Does anyone know if it is possible to enable whitespace symbols in wpf textboxes, such as here: i.stack.imgur.com/NEFKI.jpg
@Wietlol yes, they want to use Envers for bulk loading and MSSQL CDC to track changes... but Envers is all about tracking changes, so what now?
why use hibernate in .net?
because its winter
duh
13:31
I wish hibernation was socially accepted.
it is
its called your teens
I mean what
what was that about blow
i too love bubbles
14:06
For the love of aftershave
God I hate America sometimes. "Round two of Florida tomorrow."
GOD DAMN IT MIKE.
I realized mid-click what I was getting into..
youre gonna have to do better than that
14:27
https://docs.microsoft.com/en-us/scripting/javascript/reference/this-statement-javascript
"this" statement - i've gone blank, is it just a way of referring to an object without having to type it's name when giving it properties?
It's disambiguation, to distinguish from other symbols like static classes with the same name that could also be in scope
ah, nice one
sorry am green to JS
#00FF00
Protip you can omit doubled couplets
So #0F0 is the same as #00FF00
14:35
?
oh
thought thats what you meant
oh, did not read that it was js
this in js is kind of erm...mumble mumble
this is JS can basically be almost anything
It's constantly changing depending on scope
THIS IS JS
That's why you see a lot of var self = this;
@Harry no, this is Patrick
There is a dedicated JS chatroom FYI
On second thought, let's not go there. Tis a silly place.
Dan
Dan
Morning folks
14:37
im firmly sitting here cause of that exact reason
@Dan afternoon!
@TomW my bad, sorry
@MikeTheLiar so this can be used multiple times in the same scope?
Here's a fun experiment - hit F12 and enter this. Then do the same thing in a Node REPL.
this is madness!
sounds like one of those pranks you'd tell an idiot to go do
he's on to me
'hey kevin, go to command prompt and enter delete system32 it's fun!'
14:43
Let him tell you about acorns
and bird feeders
s/acorns/skooma/
@Harry Ctrl+W opens an Easter Egg in Chrome
i injected 3 skooma today am I going to die?
very funny mike
You'll just feel dead when it wears off.
Left Ctrl + Alt + PrntScrn opens a hidden game in Windows.
I was legit disappointed when you found Skooma in Caius Cosades's home in Morrowind
14:45
i know i'm green but im not an idiot :'(
I was like "Dude, I looked up to you!"
never played morrowind
He's blending in
i need to get oblivion again though
By Azura by Azura by Azura!
14:46
THAT MOTHERFUCKER
s/motherfucker/Bosmer/ but I repeat myself
Bitchass tree elves
Squirrel-ass motherfuckers
hmm...
Resist the false song of using System.Globalization;
Join the dark side and together we can make the entire project global
whats wrong with globalization lib
14:52
(((dark side)))
@Harry nothing I'm making fun of Trumpsters
oh right
dad joke alert ;)
listen whippersnapper
whimpering
curmudgeon intensifies
law care concerns increasing
turns down thermostat
I put on my robe and wizard hat socks and sandals
I am going to be sick
14:59
not in this car young man
dad can't we stop at a service station?!?

« first day (2680 days earlier)      last day (2494 days later) »