« first day (3103 days earlier)      last day (1842 days later) » 
00:00 - 13:0013:00 - 21:00

1:00 PM
attribrute --force
 
if you learn to attribute good, you should post where you learned it because I know attributes would be handy for me sometimes
 
Wow attribute is one of those words that start sounding strange if you say the mtoo often. Even in your head.
 
I know my attribrutes, but not in .net
 
You know what's another strange word? Gorn
 
1:02 PM
> the System.AttributeUsageAttribute attribute.
 
Gooooorrrrrn
It's a nice, woody word.
A proper word. Not tinny at all.
 
Isn't that Cpt Kirk's enemy?
 
No, that's Khaaaaaaaaaaan.
 
That's a Gorn
Maybe two. I'm not entirely sure.
 
glad someone got that reference
 
1:07 PM
@Squirrelkiller why is this not Java?
 
Because Microsoft too likes to append the type of something to its anem
 
1:22 PM
any Log4Net expert here?
I am badly stuck with custom appender
 
Let's see it
I'm not an expert by any means but I have worked with it before
 
I am working on .Net core
its not able to call custom appender
in startup.cs
 
!!tell anil format
 
@anil Format your code - hit Ctrl+K before sending and see the faq
 
There's a verbose flag you can add to the config so you might be able to see where the problem is, let me look it up real quick
log4net crashes silently by design so it doesn't take your whole application down with it when it doesn't work, which is great except when you're trying to figure out why it doesn't work
 
1:25 PM
.Net version is 2
I have nothing in my sample application to crash
but I can look into it if it is
 
Add the following to your config file as a sibling to the log4net section:
  <appSettings>
        <add key="log4net.Internal.Debug" value="true"/>
    </appSettings>
It'll dump everything to the output pane
Please format your code
 
_logger.LogInformation("test", null);
 
@anil gist.github.com
 
@ANILMANE Why not create a structured question at StackOverflow and send the link here?
 
stop spamming code
 
1:32 PM
10 messages moved to Trash can
At any rate
If you have the debug flag set, check the output pane for the error that log4net is reporting
 
creating a new question on stack
 
mr5
guys
 
just a minute
 
mr5
airport question. what does it mean when it said, "book individually"?
is it just a hassle thing or add more cash thing?
 
It means to buy tickets separately.
 
mr5
1:36 PM
so hassle thing right?
 
Without more context I don't know if it's a money thing or a convenience thing.
 
What do you mean individually? They wont let you book two ticket at once?
 
mr5
^
I'm also not sure what it means
 
Yeah it could be almost literally anything.
If I had to guess, I'd say the airplane is probably overbooked and they don't want to commit to more people flying together
But that's based on absolutely nothing other than a guess
Ask Travel
One thing it certainly means is that you're not likely to find two seats together.
 
mr5
I think it's just a convenience thing as what Mike says
The provided link clears thing up I think
Oh ho. Google is showing incorrect fares.
 
1:48 PM
@MikeTheLiar unless its ryanair because then you don't get to sit next to each other anyway
 
I hate Ryanair with a passion.
 
Me too
Except I have the pleasure of ryanair planes flying over my house and workplace all dat
 
Lovely.
I have had the great pleasure of flying RyanAir with two children, an 8pm flight that was delayed until almost midnight.
A week after that, my sister-in-law had a flight to Poland to see her hospitalized father. She got to the plane, boarded, sat there for an hour and a half, and then was told they had unresolved mechanical difficulties and the flight was cancelled.
Generally speaking, fantastic service. 🙄
 
Sounds like every flight out of SJU.
 
mr5
@AvnerShahar-Kashtan that's completely normal thing here in the Philippines. Consider yourself lucky if you can recover your luggage upon arrival
 
1:56 PM
In the Caribbean there's a small airline called LIAT (Leeward Island Air Transport). We had endless fun coming up with alternative acronyms.
Leave Island Any Time
Luggage In Another Town
 
mr5
I can hear Trump saying, What do you expect from a shithole country? and I won't be offended.
 
sits in cockpit of plane made from palm fronds making engine noises with his mouth
 
posted on April 15, 2019 by ericlippert

Last time in this series I left you with several challenges for improving our DSL for imperative probabilistic workflows. But first, a puzzle: Question One: You are walking down the street when you see a can of gasoline, some matches, … Continue reading →

 
When I fly and dont have a seat by my girlfriend, I usually walk around and ask people to switch seats. I'm not the only one sitting seperatedly.
 
Hello Mike
0
Q: Unable to call custom appender for Log4Net in .Net Core API

ANIL MANEHere is my code. I am using only Microsoft.Extensions.Logging.Log4Net.AspNetCore reference I am getting following exception in debug window. can you please guide me in setting up log4net config file. log4net: configuring repository [log4net-default-repository] using XML element log4net: Config...

 
1:59 PM
And yes, I did think about writing "seperately". I feel it doesn't fit this case.
 
@ANILMANE what's in the output pane when you run the app?
 
mr5
Do you guys use tracking for cheap flights?
 
@mr5 Well, he would probably say it about Puerto Rico as well, not actually knowing that it's part of the US.
 
I pasted in same question
 
@Squirrelkiller Yeah, I had the same thing with EasyJet a while back, before they canceled their "tackle everyone in line to get a seat next to your partner" policy. We managed to find someone to switch with us one way, and sat in front of one another on the other.
 
2:04 PM
log4net:ERROR Appender named [AuditAppender] not found.
 
I got really lucky last time, frist one I asked was actually the boyfriend of the girl then sitting beside my girlfriend, so it was a no brainer.
 
mr5
should have just exchange partner
 
any luck ?
 
Nah we switched and I had my own girlfriend again
 
mr5
@Squirrelkiller what if the person looks grumpy, would you still ask him/her?
@ANILMANE if the logger is causing me more delays than productivity, I'd rather create my own logging service. It's pretty easy anyway.
 
2:09 PM
do you have any reference for custom logging
which can support at least 2 sinks
or appenders
 
mr5
@ANILMANE what does 2 sinks mean?
I can only find this as the definition of sink in web development context: quora.com/…
 
In computing, a sink, event sink or data sink is a class or function designed to receive incoming events from another object or function. This is commonly implemented in C++ as callbacks. Other Object-oriented languages, such as Java and C#, have built-in support for sinks by allowing events to be fired to delegate functions. Due to lack of formal definition, a sink is often misconstrued with a gateway which is a similar construct but the latter is usually either an end-point or allows bi-direction communication between dissimilar systems, as opposed to just an event input point. This is often...
@mr5 log4net is quite extensive though. Once it's up and running it can be configured pretty easily to log to many different systems. Writing your own logging service is a no no for me.
 
mr5
2:25 PM
Geez. Why don't they just name it as sewer
@Default I guess it also depends. In mobile development, esp. in Xamarin Forms, you only need to spend half an hour to implement a logging service for both platforms.
 
well, yeah.. log4net is for .net.. you don't use log4net for kotlin either.
 
mr5
Well, I'm using .NET in mobile dev...
 
is it wise to use static in unit testing?
I feel like I am doing something wrong everytime I do this
like cheating, cause I am trying to get access to something I shouldn't have
 
sorry, I haven't done xamarin forms or mobile development. What I meant as log4net is a good logging framework for .net full framework development when targeting windows platform, .NET versions 4.5(?) to 4.8(?)
 
@mr5 Of course. Maybe they're grumpy because they didn't get the seat beside their girlfriend
 
mr5
2:36 PM
@Squirrelkiller but you will be also grumpy so you might get into trouble
^^
@Default so you're telling me you're still not using .NET Core?
 
yes
if that's what you want to take from that, sure
 
But why
If you're starting a new project then there isn't a huge amount of reasons to use FullFX over CoreFX
 
@CaptainObvious was that directed to me?
 
Who says I would choose fullfx over corefx when starting a new project?
still haven't ported all of our legacy system, which still needs logging
.. and instead of writing my own logging system I gladly use log4net.
 
2:47 PM
You were talking about targeting .Net 4.5 or 4.8. Which is FullFX
 
yes
.. where our legacy systems currently are
I can't say if log4net is a good fit for .net core, because I haven't tried it there.
but I would still go for an existing logging system instead of writing my own though
 
mr5
:D
 
@mr5 I'm generally never grumpy. It's really hard to get me grumpy or, even harder, angry.
 
mr5
You're still into that logging service. I only recommend writing your own if it's causing you more trouble than productivity. I would also just install a package if it's ez pz but ANIL MANE doesn't seem to go ez pz for that.
 
Especially when I'm on an airplane. I love flying.
 
3:00 PM
1391
Q: A potentially dangerous Request.Form value was detected from the client

Radu094Every time a user posts something containing < or > in a page in my web application, I get this exception thrown. I don't want to go into the discussion about the smartness of throwing an exception or crashing an entire web application because somebody entered a character in a text box, but I am...

if I have such an error, it is useless to encode the data client side, right?
if I just use the content of the textfield to be sent to the server database to be stored, there is no problem with this, right?
 
mr5
I think it's time to learn COBOL: reddit.com/r/cscareerquestions/comments/1ybel5/…
TL;DR he plays ping pong while earning $5M in 5 years
 
wait for c# to get outdated in 20 years or so
 
mr5
@Wietlol don't use postback. Use a popup page
 
and just outlive every other programmer
bang you got it made
 
@misha130 lol
 
3:09 PM
damnit, misha discovered my true intention
im actively (not so much) trying to get people away from C#
so I can one day be the only C# developer and be wanted everywhere
and ask €5K per hour
calculates how much that actually is per month
 
3,720,000 assuming 744 hours?
 
confirms €5K is fine
realizes noone would pay that much
feels depressed
 
t. the forgotten art of C#
 
@Wietlol apparently, if you stick with full framework you have a chance :D
 
thing
I dont understand these lists
why are C#, TypeScript, Dart, Kotlin and such so high?
also, where is Java?
> We didn’t include Python, JavaScript, and Java on our list because they’re popular languages people usually pick up, and we wanted to evaluate less popular languages to see how they would fare against one another.
picks C#, TypeScript, lua
 
mr5
3:19 PM
C# is not popular?
 
it appears so
 
@mr5 it is. that article discusses first language to learn - c# is number 20 on that list
 
mr5
dang.
Doing a Google search yields C# on the last of the list also
It's unbelievable that Swift surpasses C# in just a couple of years in terms of popularity.
 
ah, wait, they took 20 languages, so these lists are "exhaustive"
@Default not to learn
which puts it at #1 language to learn
 
well yeah, If you want to be the last person to know a language in 20 years I figured that would be a good fit :)
@Wietlol yeah sorry. I'm having a hard time explaining myself today it seems..
 
3:28 PM
according to that article, there only exist 23 languages
im not sure what to think of that
 
@Wietlol I dunno why i hate dart and program mainly on typescript
its like I hate the twin brother
some kind of jealousy complex
 
iDunno why I hate JS so much... oh wait, I do
so much that I prefer to not use TS either
at least I have a fallback option that I like very much
 
tbh ts is just js beta
 
3:52 PM
 
mr5
Who uses PropertyChanged.Fody here?
 
4:13 PM
in WPF I have
 
4:29 PM
>This is an addin for Fody
Why the fuck isn't it called Fody.PropertyChanged
 
mr5
@juanvan does it work with something like this: TotalPrice => PurchasedProducts.Sum(el => el.TotalPrice) and PurchasedProducts being the only thing that's modified?
Additionally, I would like it to extend from each element of PurchasedProducts but it seems it is not supported yet: github.com/Fody/PropertyChanged/issues/86#issuecomment-50306785
 
Ahh I see what you're asking, I never used it in that use case
 
 
2 hours later…
6:34 PM
whew how am I regretting not doing TDD here I am for 2 weeks writing unit tests
cursed
 
Unit tests are the death of us all
I need to figure out a Unit Test for this project i'm working on
 
7:39 PM
Test my unit.
 
8:02 PM
There's a setting in Visual Studio that makes it constantly try to interpret your code, right?
 
8:13 PM
try?
Need more context
 
Visual Studio constantly lags and crashes. I had the lagging problem once before until I figured out how to turn that feature off.
This is VS 2015
 
8:43 PM
How many projects do you have loaded?
I have never had a problem with VS15, but I haven't used is in a few yrs
 
Just the one
 
@Hypersapien you mean like pattern recognition and ml?
I think I saw this on vscode
 
It's not just Intellisense. It's the IDE responding at all
 
ohh
 
00:00 - 13:0013:00 - 21:00

« first day (3103 days earlier)      last day (1842 days later) »