« first day (3329 days earlier)      last day (1612 days later) » 

1:00 PM
yeah but you are the only person that thinks so
minority !
 
but he is an RO
 
Mainly because people keep walking past asking "whats with the squirrels"
 
power!
 
2 mins ago, by Captain Obvious
3 hours ago, by Captain Obvious
We need to implement a ban on chains of animal picture spam
 
RO may be true, but it's not an agreed rule so I can't enforce it
 
1:01 PM
@Wietlol That can be fixed quite easily
 
they do ?
 
i agree, too many squirrels @Squirrelintraining @Squirrelkiller @BlackSquirrel @CaptainSquirrel
 
Jack, votekick Proxy
 
then lets ban all the squirrels first
 
1:02 PM
Jack, votekick Proxy
 
Is that even English?
 
then the pics
 
yes, we should get rid of those squirrels
 
Yes, yes it is
 
@Squirrelkiller ♥
 
1:02 PM
Isn't @AlRey also trying to be a squirrel
 
the squirrels and their bots
 
31 secs ago, by Squirrel in training
Jack, votekick Proxy
33 secs ago, by Squirrelkiller
Jack, votekick Proxy
 
Also Squit, Captain and Killer are fine because they existed when I got here
 
litteraly posted less than 1 second apart
 
nah we exterminate all of them.
 
1:03 PM
OFF WITH THEIR HEADS !
;(
 
Exterminate the imposters
 
we want kieran back
 
a girl from work is a big squirrel fan as well.
 
and whatever the heck the others are called
 
I dont give a shit about kieran
I want caprica back
:'(
 
1:05 PM
true
 
see noone of us gets his wish
that's life
 
santa is busy this year.
 
He's got the wishes of 16.8 million people to make true first
 
santa has problems tho
I bet
 
drug problems
 
1:07 PM
and we have to halp him on 12/1
 
and 4 squirrels
 
@Proxy sounds like a beautiful person
 
I would too if I was in his place
 
You mean 12/12
 
reading all these stupid letters
 
1:07 PM
every day, he will ask us to halp him... twice
@CaptainObvious yyyy/12/1
 
only drugs can get you through that..
 
he will ask us to halp him every day in december until the 25th
only 87 hours remaining
 
drugs can get you through a lot of things
 
#countdown
 
eventually they will be your downfall though..
 
1:09 PM
what? countdowns?
 
Jack, learn WhyIsHansBanned <>https://chat.stackoverflow.com/transcript/message/47955933#47955933
 
I've learned the command WhyIsHansBanned
 
Jack, ban Hans1984
 
today everyones getting on my nerves in this company
 
1:09 PM
wtf is this sh.t
 
5 mins ago, by Hans1984
I dont give a shit about kieran
 
so?
 
Me heart is break
I am Kieran
 
I dont gave a sht about anyone except cap
 
1:10 PM
Jack, forget WhyIsHansBanned
 
Command WhyIsHansBanned has been forgotten
 
cap :(
 
</3 </3 </3
 
I've learned the command WhyIsHansBanned
 
1:10 PM
Had to fix it
Jack, WhyIsHansBanned
 
5 mins ago, by Hans1984
I dont give a shit about kieran
 
If you add the <> he will just post the <>
 
wat
 
1:11 PM
@Squirrelintraining he shouldn't...
 
wut
 
Jack, learn test <>https://www.google.com/
 
I've learned the command test
 
Jack, test
 
1:12 PM
I hate all those fkng co-workers
screw them
 
Jack, forget test
 
Command test has been forgotten
 
Jack, forget it
 
@Wietlol There's no command called it, Savvy?
 
-_-
just forget it
 
@CaptainObvious It doesn't necessarily have to be agreed to be enforced
Constant picture spam isn't great
Even if it is of squirrels
 
alright no more pics
just personal insults from now on
 
I've learned the command Hans
 
@CaptainSquirrel When did you change that?
Jack, tell Hans Hans
 
10 mins ago, by Hans1984
alright no more pics
 
so now im at 225570 on WT
from 230714
so I moved up around 5k places in 4 hours
so that means
around 36000 hours to go
at that pace
62 days
hmmmmmm
2months
next year
2020
ugh
 
What are you on about now
 
1:40 PM
It's best not to interact with the old and senile, Lee, just love him for the person he is not the person he has become
cough
 
Fuck you I saw the word cough and then coughed
 
@CaptainObvious my place on the waitinglist for WT.social
 
Nope, still no idea
 
Found out why I wasn't getting change feed notifications for CosmosDB changes. It was because the change feed processor can't handle polymorphic documents (with an object payload). With the regular Read actions from Cosmos, you can read a stream and deserialize manually, but not with the change feed.
 
1:48 PM
suddenly I want a pet chihuahua
 
SDK is on github. Went to open an issue. Turns out someone already did. And also fixed the problem, added support, and opened a PR.
Which was reviewed, fixed, and approved.
Now awaiting a merge to master.
As of 17 hours ago.
 
Maybe it was you in your sleep
You solved it yesterday and you've woken up, had the genius idea and you've already done it for yourself
 
I'm Jack's approved pull-request.
 
there are 2 big changes in aws lambda for me
now I have to decide if I want to apply those changes to my entire design and implementation of all my hosted services
 
@AlRey no pls no
don't get yourself eine fußhupe
 
2:03 PM
yeah I'm prolly not gonna get one; last experience I had with a chihuahua, it kept growling at me and trying to be tough
 
back from lunch
@AvnerShahar-Kashtan Wow this is cool, someone who had the same issue as you, who also proceeded to fix the error themselves. tips fedora
 
@AlRey chihuahua's suffer from small dog syndrome
And also from owners who think its cute when they show aggression
Those same owners will then try and get someone's dog put down just because thier chihuahua was mauled to death by a dog that was defending itself
 
@CaptainSquirrel they are like napoleon just as dogs ?
 
I'm not sure i understand the reference
tl;dr, don't get a chihuahua, get a real dog
Or if you are going to get a chihuahua, teach it correctly
 
napoleon was suffering from small man syndrom
 
2:17 PM
oh, then yes
 
yeah he was french of course you didnt know
;)
 
fr though I have been wanting a husky for awhile
problem is it might be too big for my house
 
@Hans1984 I've understood that that's wrong
he was ridiculed by the english (the english didn't like him very much as you can imagine) because he was shown in a photo next to one of his closest in command who was basically a giant by comparison
but it turns out, he was of normal height
 
he was average around 1.70m I think
 
I hate nuget sometimes
 
2:35 PM
I confused nuget for gradle...for some reason
I hate gradle all the time
 
I use maven, works like a charm
 
@CaptainSquirrel how? The thing doesn't have enough neurons
 
@ntohl Don't reward it when it's aggressive, simples
 
@AlRey aye
My cat (the siamese if you interested @Squirrelkiller) almost killed a chihwauwau(?) once
 
2:52 PM
I can defintely imagine that
 
Cats can be vicious beasts when they want to
 
And it's obviously the siamese
 
Also cat tax
PAY YOUR CAT TAX @Squirrelintraining
PAY IT
 
So I had a bluescreen, and now VS2017 says Error: Unexpected symbol: " - within some .NET framework class. Help?
 
was talking about cats with my mom yesterday cause she's getting something for her apt
I brought up sphinx cats and she's like "why do people like those weird things??"
 
2:56 PM
@Squirrelkiller throw it into a cupboard, steal a coworkers computer
@Squirrelintraining i'm still waiting for this cat tax
 
suddenly remembering ending off the 2000s with a damn hockey game...wonder if that's how this decade will go on NYE
You're Going Down by Sick Puppies was stuck in my head that night
 
@CaptainSquirrel nope
@Squirrelkiller Yeah right?
Eagle is way to nice!
@CaptainSquirrel You are waiting invane good sir.
 
@Squirrelintraining :(
Why won't you pay the tax
i wish to see kitties
 
user10864482
hey, hello everyone
 
user10864482
I'm trying to monitor Microsoft Word network traffic. I installed Fiddler; I can see a bunch of request already but I'm specifically trying to 'see' webdav request.
 
user10864482
3:11 PM
@Squirrelkiller if you got a bsod it probably generated a dmp file. Using a bsod viewer you could load that dmp file and 'see' what caused it
 
user10864482
 
where's the dmp file?
I guess I have to reinstall netFx anyway though
 
user10864482
there different 'type' of dump file, I'm assuming you are on Windows 10, correct?
 
user10864482
Automatic Memory Dump -> %SystemRoot%\Memory.dmp
Active Memory Dump -> %SystemRoot%\Memory.dmp
Complete Memory Dump -> %SystemRoot%\Memory.dmp
Kernel Memory Dump -> %SystemRoot%\Memory.dmp
Small Memory Dump -> %SystemRoot%\Minidump
 
user10864482
if you want to go for a more thorough analysis you can install windbg and get the proper pack of symbols, (specific to your windows target version)
 
3:19 PM
Yup, win10
Actually I just wanna fix it so I can work again
 
user10864482
for the windbg road you will need symbols. for sake of brevity here is a link to get more info- > docs.microsoft.com/en-us/windows-hardware/drivers/debugger/…
 
user10864482
@Squirrelkiller the first link I sent is what you want; a simple viewer; you will get a detailed stack trace and with that information you probably will have enough for a quick fix
 
user10864482
plus the viewer will scan your pc to get all your dmp file, independently of what type they are
 
user10864482
I almost forgot; maybe memory dump collection is not activated on your station, in which case the following will guide you trough activation of that functionality; bitdefender.com/support/…
 
@CaptainSquirrel What is the tax?
 
3:26 PM
@Squirrelintraining you post picture(s) of the cat
now pay your tax >:(
> Microsoft Word network traffic
what
 
Well fuck
 
@CaptainSquirrel Oh
No
To lazy
Forget it
 
Also @Squirrelkiller can confirm, lovely is mean like a witch
And eagle is as fat as a cusion
 
Guess he has to
 
user10864482
3:29 PM
@CaptainSquirrel example; MS word get a document open from a network folder, maybe the document is protected with a digest authentication. I would like to capture that data exchange
 
So the bsod came from literally the kernel - ntoskrnl
Guess I'm fucked
 
user10864482
from an elevated command prompt, type the following
sfc -scannow

it will scan windows file system, check for unauthorized modification, attempt to fix it and provide you a log
 
ah, core 3.1 preview3 was marked go-live. nice. Not sure how I missed that update
 
3:35 PM
Oh wait it gets better. ApplyStockLevelToWhlLocationusingALocationAuditableCallIfItIsASingleItemAndItOnlyHasALocationWithAStockLevelOfZeroOtherwiseItJustDoesntDoAnything()'s method body is entirely commented out, so it isn't even doing anything
 
Sounds like you're just retarded and don't know how to async
 
^ this one creates a new thread, makes it available to the pool, then does a .result on an async call (which blocks the current thread), which normally would block the system, but instead continues because it has the new thread to use
after the result, it will remove that thread again from the pool
to avoid flooding the pool
 
3:38 PM
dat
 
hit dat
 
Why would you even
 
because we couldnt use async at the time
you know... frigging web forms
 
But then why does it use async
 
because a certain library did not expose a non-async function
it only has async
 
3:40 PM
Nah the logic doesn't check out
 
so, we were forced to use async in a non-async environment
and considering our local IIS ran single threaded... .Result broke our application 100%
 
Was the certain library HttpClient?
 
not HttpClient, no
it was the SSO client
I assume it uses HttpClient in the background actually
 
Ran single threaded? IIS always assigns one thread per connection in non-async env, and it still has a thread pool to do work stuff in .net, and has another thread pool for the connections. I call bs :p
 
it blocked tho
I assume because it was single threaded
IIS express localhost
and providing the new thread prevented the blocking
 
jrh
3:59 PM
This question has kinda good answers but an edit made them really hard to follow, what do you guys think should be done with the question? Ideally IMO the fix would be a partial rollback that just put the variable names back to what they were in the original.
Whoops... "you guys", should probably say "you", "you all" (y'all?)
 
the wat lady is funny cause she legit looks like my grandma without glasses
 
4:15 PM
wow apparently the original wat pic was taken 16 years ago..?
 
4:31 PM
She's probbably dead now
 
she died 3 years ago
 
@Wietlol If it was an ASP.NET app it probably deadlocked due to this: blog.stephencleary.com/2012/07/dont-block-on-async-code.html
 
mr5
4:49 PM
aside from this being weird, it makes no fucking sense to me
why would you chose a sperm bank that's been contaminated with HIV over a normal one?
 
I think the idea is that they're under successful treatment so that it can't actually be transferred
So it's an optics thing. We're successful enough with treatment that it's a safe option for donations.
Or I suppose for regular procreation.
 
mr5
and who in the right mind would try that though?
 
I don't know. Maybe there's a discount.
 
mr5
hey, come try our HIV contaminated sperm, don't worry, it will not harm you
 
It's not contaminated is the point.
Just that the donors were positive when they donated.
 
mr5
4:59 PM
ideally, one would think that anyway
 
Right, which is what they're going for, pushing that mode of thinking over the current stigma.
 
mr5
or depopulation in disguise
 
That doesn't seem like a cost-effective means of depopulation.
 
It's probably your standard business decision making
Sperm from HIV dudes is cheaper because they can't sell it to anyone else; supply and demand and all that
 
I'd almost expect for the cost to be higher due to increased demand on testing and verification.
 
5:04 PM
But they have to test all the samples anyway
So the testing remains the same
Anyway it's home time for me
 
5:54 PM
>definitely can't give you HIV
maybe that's the kind of sperm bank suicidal people use
 
6:10 PM
There are faster, quicker & less painful ways to commit suicide should that be the case
Also o/ @MadaraUchiha
what got flagged?
 
@CaptainSquirrel Flagged?
 
I'm just assuming because you materialised someone flagged something
Jack, Shrug
 
¯\_(ツ)_/¯
 
I apologise for making an ass out of u & me
 
6:39 PM
I'm using Linq to SQL to make a change to a database row. I'm stepping through the code. The initial value I'm changing in the database is 0.0000 and I'm changing it to 0.0004. I step through the code. I can see the value in the hoverover. I step past the SaveChanges function and go check the value in the database. It's still 0.0000.
I made sure I'm looking at the right database and the connectionstring is pointed at the correct database.
I checked the identity field, and there's only five rows in that table anyway.
NM. Got it.
 
Really stupid question:
var a = await SomeMethod();
SomeAdditionalMethod(a);
The first line should finish before moving to SomeAdditionalMethod correct.
 
7:01 PM
@Greg Given that it compiles, how would you imagine it working otherwise?
 
It might not if SomeMethod returns a Task<Task<T>>
 
@JonathonChase Then, assuming SomeAdditionalMethod() accepts a T, it wouldn't compile, now would it ? :D
 
 
@Feeds SHHH!
 
Oh, absolutely not, but I can think of a lot of ways to abuse my future self with implementations of SomeAdditionalMethod to make it work.
 
7:15 PM
they're right; we do need https for paper
 
7:31 PM
@JonathonChase Heh, it reminds me of the question of whether finally{} block always runs
Am I allowed to rely on finally{} to always guarantee cleanup or post operations have happened?
 
Well you see what my try block does is send a signal to a razberry pi which extends a wand which clicks off the switch to my machine's power strip. It sleeps the thread for several minutes for this to execute. I have observed that the finally block is not executing. This is inexcusable.
Although the framework thrown ThreadAbortException being so slippery did throw me off at one point.
 
@MadaraUchiha I can confirm that the finally block does not always run
I used a library once, which was supposed to nicely parse command line arguments
however, if the input was incorrect, it crashed your application
no catch or finally could prevent it from crashing
 
So the original story is that this guy (incidentally, the one who made the DailyWTF) went for an interview, and he got asked that question.
 
so, you better use correct command line arguments, or stuff is going down
 
That right there sounds like an excellent parser.
 
7:38 PM
He answered that finally is not guaranteed to run, and the interviewers said he was wrong
He then told them about StackOverflowException, the finally block doesn't run because you're out of stack space
They said that the CLR reserves call stack space for finally blocks (it does not)
He then asked them what they thought would happen in the case of memory corruption, or the power being cut
 
how about out of memory?
oh
 
Oh, I would love to have an interview that resulted in me intentionally causing a StackOverflowException to prove a point.
 
At that point they looked at each other with a horrified look on their faces, he inferred they used finally to do some critical shit, and they had just realized that their assumption for guarantees was misplaced :D
 
we can test that tho :D
 
This is different, by the way, from an RDBMS's concept of transaction
A correctly implemented transaction will protect you even from things like power outages and memory/disk corruption
 
7:43 PM
in Java, finally runs on stack overflow exceptions
 
@Wietlol But not on kill -9
 
(dont have a C# project opened)
 
And not on cat power-plug | scissors
 
true, there is always the disaster scenario
but I am not afraid of cats and silly commands and such
 
@Wietlol Yes, the question is what you use the finally for
 
7:45 PM
I am afraid of a StackOverflowException
 
If you thought it was infallible in the face of disasters, you're gonna have a Bad Time™
 
and perhaps an OutOfMemoryException
but what will you do against those power outage issues?
how do you recover?
 
@Wietlol Transactions
Also define "recover"
 
assuming that the power outage did something horrible, what would that be?
 
The bad thing that could happen in a disaster scenario is that you end up in a corrupted or otherwise dirty state
 
7:47 PM
corrupt files?
 
You were writing to a file, you have sockets with locks on them that never got released, etc.
Corrupt files is probably most of the cases you'd get.
And if you didn't have transactions on your database, welp, good luck with that.
 
ye, I had a few programs that, when they crashed during file saving, the file got corrupted
 
@Wietlol Implementing transactions in this case is so easy
 
assuming you use a database?
 
@Wietlol No, on the filesystem
 
7:49 PM
hmm...
is "transaction" here a concept or an actual functionality you can use?
 
You write to a new file, and when you're finished writing the new file, you stop looking at the old file, and look at the new file.
@Wietlol concept
 
ah
 
The secret is that you just want one as-atomic-as-possible operation that marks the commitment phase
 
ye, you write to a temporary file, then delete the old file, then copy the new file to it and then delete the temporary file
what you want is to have the correct state in one place at all times
 
@Wietlol No, because between deleting the old file and copying the new file you might die
 
7:51 PM
which means that, if you want to move that to somewhere else, you first need to duplicate
the program, on startup, can look at the missing/corrupted file and recover from the temporary file
 
A more atomic operation is to store the interesting path in memory, write the new file, and then overwriting the interesting path, only then deleting the old file.
 
@MadaraUchiha the program can recover from the temporary file
@MadaraUchiha but you cant have two files on the same location... can you?
 
@Wietlol No
 
@MadaraUchiha Was concerned that a synchronous method below would start executing before the asynchronous finished though it was marked as await, since it is being offloaded to the thread pool.
 
im not sure what the overwriting of the interesting path would be
but my approach doesnt assume atomic operations
 
7:54 PM
var path = "/path/to/file.sav";
var newPath = "/path/to/newfile.sav";

await WriteSave(newPath);

// COMMIT
path = newPath;
 
it always has a state, from which, the application can recover
but /path/to/file.sav is then still the old file, right?
oh wait, you mean that your application is still trying to access the file at random moments
while it is still saving
 
@Wietlol After the atomic operation, you can remove the old file safely
 
what I mean is more like an image editor or something
 
It doesn't hold any more meaning
 
I want to save my image to /path/to/file.img
but during saving, my machine (or the application) crashes
 
7:58 PM
You can then rename newfile to file, and your program will look for it there by default, and fallback to newfile in case the rename failed
 
so, /path/to/file.img is then horribly corrupt
is renaming atomic?
 
@Wietlol It's certainly much more atomic than copying is
 
but copy doesnt need to be atomic
 
Also, yes, I think most file systems guarantee that a rename won't corrupt your disk if you die midway
I don't know for sure if that's actually the case or not.
 

« first day (3329 days earlier)      last day (1612 days later) »