« first day (3629 days earlier)      last day (1306 days later) » 
00:00 - 14:0014:00 - 00:00

12:03 AM
yo yo yo
 
oy oy oy
 
12:19 AM
yyy
ooo
 
12:57 AM
 
shut it Jack!
 
-_-
 
I'm not writing code, the code is writing me :O
 
1:17 AM
No, I'm pretty sure you're the one writing the code
 
I want to write a .NET Core 3.1 worker service that can accept a criteria (like a where condition in a sql statement) as a string from a web site user (enterprise level website deployed on cloud) to download records matching that criteria. Since the return rows could be very huge so I want move that logic to the worker service which will run in the background. But my question is what options do I have to generate such a file and send the link to the user?
 
I don't have enough coffee to answer that question
give me a minute
 
mr5
1:46 AM
5
A: Converting an IF condition to a mathematical equation

vannaTry $$ a = \frac{5}{2}\left( 5 \frac{b}{|b|} - 3 \right) $$ If you just want to shorten your code, I suggest using the ternary operator like (C++ style) int set_b(int b) { int a = (b<0)?-20:5; return a; };

what topic should I search in order to learn converting a code into Math equation?
 
 
3 hours later…
4:22 AM
RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0.5, Constant=-25}" What does this actually do in Xamarin.Forms?
 
mr5
@Squirrelkiller won't happen since I'm resigned and unemployed for almost a month already.
 
4:40 AM
@sarvpk I thought about it and I don't have a good answer that would be appropriate for a production-ready project
I'm sorry to hear that mr5. I know you live in the Philippines but have you thought about privately contracting to a US firm?
 
mr5
Why would I need to contract a US firm?
this is just my will to break for a moment.
will apply next next week probably.
 
Philippine wages < US wages
 
mr5
yeah but I doubt I would get qualified any residency there since I have no degree.
 
Do you need a visa to contract abroad online?
 
mr5
yep
but there's also few countries where visa is not a requirement for PH like TW and SG
 
I've never worked in immigration law before so I don't have much to say about it. I just thought working online would be different but I guess that they still have to list you as an employee.
 
@Feeds Quiet you!
 
mr5
ah, I thought you mean relocation and work. yeah, working remotely I think have very few restrictions.
I think I could work on a US firm but most of what I see are requiring a US residency so...
 
Relocation? Ha, no, that would take like 8 years.
 
mr5
really?
 
4:54 AM
it depends
 
mr5
how do these companies from SO ad say that they offer relocation?
isn't it just, as long as you have a working visa, that's enough?
 
probably through an H-1B
 
mr5
H-1B is US specific isn't it?
 
yeah
 
mr5
are you from US?
 
4:58 AM
Yes
I don't see any laws for working remotely (this is not legal advice)
give me a minute to look into it more
 
Anyone there?
 
mr5
@CupOfJava ah don't bother. I'm really not looking for any jobs based on US. Thanks btw.
there's nobody here ...
 
That's really interesting, I didn't find any US laws against it but there were a couple of Philippine laws restricting it. (not legal advice)
Usually, the US is pretty upfront with most of its laws but I guess they haven't caught up to remote working
Unless it's in a random "order" from one of our hundreds of departments
 
5:34 AM
Buenos dias
 
6:10 AM
morning fellow coders
 
morning fellow European
 
mr5
6:47 AM
I'm struggling to implement a function to populate a binary tree ugh...
 
there's a red-black tree in C# called the SortedSet
 
GoOoOoOoOoOoOoOoOoOoOoOd Mornin' pleberinos!
@Neil Ill report this as spam :wow:
 
7:13 AM
@Squirrelintraining no u
 
@Squirrelintraining The DOUBLE no u!? You didn't just do that..
I, sir, am deeply offended. You'll be hearing from my lawyer!
 
@Squirrelintraining Yes hello I am Neil's lawyer. We deeply apologize for making you do this, please don't sure us.
 
@Neil no u
@Squirrelkiller No.. YOUUUUUUUUUUU
 
no u!
 
7:47 AM
is yes me the rebuttal to no u
 
@Neil That was exceedingly easy not to laugh at
Like I didn't even have to try
 
ok, thank you for your feedback
not sure I really understand the animosity though
 
8:04 AM
ahoy mateys
 
mr5
ah, I'm posting an SO question once again.
 
Good luck
Ahoy Captain o7
 
what's the lore behind all the squirrel accounts?
 
there is no lore
we are all squirrels
 
@Neil nô u
@mr5 "Why does p3k keep dying"
 
mr5
8:14 AM
@Squirrelintraining cuz, people keep reporting him :(
oh no, anyway
here's my SO question:
0
Q: Populating a binary tree

mr5I can't wrap my head around what's missing in my function to populate a binary tree vs the manual input. Printing the head value along with its left & right node value doesn't seem to help me as well since it looks correct to me. However, printing out all the values after auto populating it produ...

please don't downvote :(
 
isn't there a C++ chatroom
this is C#
 
mr5
oi, I forgot. lol
 
@mr5 reeestart pls
@mr5 ^ nice
Jack, tell mr5 kieran
 
and now we wait for jack to do something
 
mr5
@Squirrelintraining I might as well get banned though.
 
8:17 AM
Why?
 
mr5
people will link me to it.
 
I promise I won'T make p3k call @Wietlol a fat lion again
(I got kicked by feeds aswell)
 
26 Stars god damit kieran!
Seconded in my most-starred-list only by
Nov 11 '19 at 16:15, by Héctor Álvarez
Fun fact: Did you know that elephants are born at 100Kg? That makes them the 2nd biggest babies in the world, only after Wietlol arguing other languages. :)
 
8:51 AM
@Squirrelintraining how do you get kicked by feeds?
 
Dunno, I got kicked for writing that you're a fat lion multiple times now @Wietlol
 
mr5
dang. it's hard to satisfy the C++ community.
 
it is harder to insult the flaming lion community without being severely punished for it
 
Will someone complain my new profile name?
 
Zoomer
 
9:01 AM
By the way, are there anybody here who know whether or not ExecuteAsync of Dapper can be used to retrieve record set with SELECT command?
 
@NotAZoomedImage Bad profile name length, as it gets cut exactly where it counts
 
@Squirrelkiller The acronym does matter.
 
@mr5 Wait what I didn't notice, thought you were still on the verge. Sorry to hear that.
@NotAZoomedImage Hey as long as you're nice
 
@Squirrelkiller I am very nice human being. :-)
 
@NotAZoomedImage We will be the judges of that :P
 
9:04 AM
@Squirrelkiller The time will prove this. :-) By the way, is there anybody here who knows dapper?
 
Well not personally, I've heard of Dapper though.
 
mr5
@Squirrelkiller what does verge mean?
 
Like...you're close to being fired or maybe not or maybe yes
 
mr5
I'm on a vacation. but only in house.
 
Videogames all day yessss
 
9:06 AM
"If you are on the verge of something or come to the verge of something, you are very close to experiencing it"
 
mr5
ah, I resigned at will and take a break at will. I am preparing for my next big interview that's why I go back again to C++
> "despair verging on the suicidal"
no, I'm not close to suicidal
 
Committing suicide is not an option.
 
mr5
why do you think I am doing a sepuku?
 
Seppuku is great!
 
mr5
just because I'm unemployed I would seppuku?
 
9:09 AM
OK. I will be back later. My food is coming.
 
Food is always a valid excuse
 
9:29 AM
@NotAZoomedImage I'm disspoint that you changed your name from Wissen macht Frei to this...
 
if I have many applications (atm 16) with each their own service collection building code
AddTransient<>() and AddSingleton<>() and stuff
and part of that service collection building is always the same
for example the logging part
or the configuration
how would I easily manage those service collection builders?
 
Make a logging package that you version properly and distribute too all those applications
Or, if the config is indeed always the same, you could make a kind of me.wietlol.technicalbase package or something
 
what is the difference between those two suggestions?
to me it sounds both like "make a nuget package with helper methods like AddDefaultLogger() and add the nuget packages to each project using those methods"
?
 
9:51 AM
The difference is 1) seperate packages or 2) one package for everything.
The one-package-for-everything bit can be dangerous if it gets too big.
 
mr5
@Wietlol put all the service dependencies into mark up file (XML) and create a parser for it.
 
ye... that wont work
it is not just ThisInterface -> ThisClass
@Squirrelkiller how do you mean dangerous?
 
If it gets too big and you want to change something for one context, it's ok. When you then make a change for a different context and update it in a different app, that will also update the first context.
So it might be easier to make multiple packages
Of course this experience is from having such a central package used in 5 teams, so possibly a different scale.
At the time is was a great idea "hey nice now not everyone has to build the same thing again!" but well...for some reason stuff got in there that isn't really interesting for other teams...so now we have to be very careful when managing dependencies, since we're the team basically using libraries from all other teams while those libraries all use that central package.
 
mr5
how does a typical AddTransient or AddSingleton looks like?
 
services.AddTransient<IService, Service>();
 
mr5
9:57 AM
but
5 mins ago, by Wietlol
it is not just ThisInterface -> ThisClass
 
would one package with multiple methods (each having their own service it registers) be sufficient to avoid that problem @Squirrelkiller?
 
Well I guess The Wiet™ doesn't only do typical calls
 
mr5
Wiet™ol
 
@Wietlol As long as you're really sure those things are indeed the same across all applications - yes.
 
I guess that is what i'll do then
@mr5 non tradittional ones would be .AddTransient<IService>(provider => new Service())
 
10:04 AM
@Squirrelintraining A super user (not moderators) changed it from Wissen Macht Frei to user329382932900 and now I changed again to Not A Zoomed Image (as you can guess its acronym).
 
then I can do the configuration reading and such inside the service builder instead of the service itself
.AddTransient<IService>(provider => {
    var configuration = provider.GetRequiredService<IConfigurationRoot>();
    var host = configuration["service:host"];
    return new Service(host);
})
this keeps the services simple
 
mr5
how about with extension?
example use:
registry
    .UseDomainProvider(ApiAddress, AuthAddress, WebAddress)
    .UseAuthService()
    .UseHttpService()
    .UseDownloadManager()
    .UseDownloadService()
    .UseUploadManager()
    .UseUploadService()
    .UseCachingService("ProjectName")
    .UsePermissionService();
 
still requires me to write those methods
but yes, I would write those methods in a shared package
as I am setting up now
and perhaps one more function UseDefaultServices() which calls all of them
or groups
 
mr5
.UseProjectNameServices()
or an extension to aggregate common bundled services
the combinations are just too many!
 
@Wietlol Can't you inject the host parameter into the service though?
Like, automatically
 
10:10 AM
inject how?
by adding the host parameter to the service collection?
 
create a syringe class
 
mr5
inject using this:
 
@NotAZoomedImage brah
 
mr5
 
What's the acronym for?
of*
 
10:10 AM
Gonna have to think about that one after lunch, we have our own DI framework that basically mimics the netcore one but was built on net451.
 
@mr5 no u
 
mr5
@JansthcirlU ahhh. I forgot what it is called.
DI should be renamed to Syringe.
this means, I failed at communicating.
 
Yikes
Post link
I'll balance you out. Unless the question is garbage in which case I won't
 
mr5
haha it is
it's just the community have a high standard (as compared to Android community)
 
what community are you in? the fat lion community?
 
mr5
10:23 AM
if I posted an Android question, I'm sure it will get upvoted fast as the speed of universe expansion!
hint:
double m[] = {7709179928849219.0, 771};
int main() {
    m[1]--?m[0]*=2,main():printf((char*)m);
}
 
hello
I have a custom made dll with user controls. I want to be able to use them in Blend 2019. I made a project in Blend, where I added a reference to it, but the controls do not appear in the Assets pane nor in the toolbar. What am I doing wrong?
 
mr5
The final boss for 2020 is approaching but fear not because we have this: 9gag.com/gag/avzd65q?ref=android
 
I see why meme archaeology is in the description
 
@Squirrelintraining hey, haven't logged in since forever
Nope, I live in Leon, all the way across Spain
 
MEC
@sergiol - were the controls made in a Control Library Project and built in release mode?
 
mr5
10:35 AM
@HéctorÁlvarez hey you got ressurected!
 
Oh piss arse bollocks
My teams calendar and my ourlook calendar don't match
 
@MEC : I don't know how where I can see the project type. This dll is from an old source code base I inherited. And yes, it was built in release mode.
do you mean the thing i surrounded here?
 
10:54 AM
@mr5 Yeah I don't get in here a lot lately since I barely touch C# any more
 
mr5
@HéctorÁlvarez are you still working in Mexico/Portugal? (Can't remember the country name exactly)
 
Spain, yeah I never moved.
 
spanish users population growing in this chat, I would bet sergiol is one of us
 
11:14 AM
is there a way to change the project type to "User Control Library" if it already exists?
@Cleptus No I am not
 
@mr5 FYI, Mexico is in North America and Portugal is in Europe
 
mr5
11:34 AM
@JansthcirlU no. They are the same country.
@HéctorÁlvarez still with cartels huh
 
@HéctorÁlvarez dang
Why you gone missing hector?
 
mr5
Cuz project hide el chappo
 
@JansthcirlU Lies!
YOU FILTHY RODENT!
I just noticed how huge your babeh is!
Are you tall or why is your babeh so big?
 
FILTH
 
LIAR
KILLER
DEMON
 
11:41 AM
@Squirrelintraining its pretty big for a squirrel
 
@Freerey BACK TO RIVER ARAS
 
12:19 PM
0
Q: ASCX control not showing up on Site.Master click event

FreereyI have a Bootstrap modal which is meant to be used as a login panel, meaning there are two scenarios where it would need to show up: When the user, not logged in, has entered a page that requires them to log in When the user clicks the button to log in While the first part of my program runs co...

wondering if I should deletet his
 
@Squirrelintraining because I barely do any C# and this chat is nothing by a shadow of its former self
 
!~shiba
 
caught a shark for me
good shiba
 
mr5
 
12:23 PM
feflyers? flyers made of iron?
 
12:46 PM
@Squirrelintraining is it? My firstborn was 2750 g 52 cm, second born 3930 g 51 cm. We are both short, but the newborn height is pretty regular I think.
 
@HéctorÁlvarez true
@ntohl That weight to height ratio xD
 
This old tool teach me the necessity of the knowledge of design patterns
 
Either seuper skinny or super fat xD
 
yeah.
 
@Hans1984 I think it's a whale.
Which reminds me, joke time!
Where do you way whales?
 
12:52 PM
in wales ?
wales != whales
 
No, in a Whaleway Stattion.
 
lol
wales would also make for a good match
whales/wales
have to go into town now and buy stuff
later
 
Wouldn't you weigh whales though?
 
hehe
 
@Hans1984 Good luck, don't get Corona
 
12:54 PM
@Hans1984 seeingyou
@Squirrelkiller Fuqq
 
yeah. I didn't understand the "way" verb
 
thanks, I'll take care
 
My friggen bad
 
later
 
Well mein hirn istz durch anyways
 
12:55 PM
It's not even 3
Get sum coffee
I'll just commit and push this hotfix, then get coffee while waiting for the pipeline
 
1:06 PM
I haz killerino
This projekt
is kelling meh
why why always we have this shit of ausnahmen?
 
Because that is the way of the german. Ausnahmen with Ausnahmen, except sometimes without Ausnahmen, but then with other Ausnahmen again.
 
> It turned out that at 7am every morning the occupant would switch on their old tv which would in-turn knock out broadband for the entire village.
 
aren't circuit breakers supposed to protect against this kind of thing?
 
It was an old TV that spat out loads of EMI
 
without which I think it really would just take out power for everyone
@CaptainObvious so his TV turned into an EMP bomb? :D
 
1:12 PM
oh boy my boss is doing his first review of me 😓
how nervous should I be, considering this is my first job outside college?
 
since it's your first review I assume you've not been working there for a long time
I wouldn't worry too much unless you've been extremely lazy or if you've literally destroyed other people's work
 
I've been here since May 2019
 
@Freerey don't be nervous, just stay packed and ready to go :D
 
so friends
its been that time of the week for me
for a while
I signed a contract for a new role today :)
 
congrats
 
1:16 PM
@ntohl thanks ☺
ooohn ice
 
Nice
 
mr5
@Freerey oh boi
time to job hop
 
I'm waiting for a call in for an interview. Tho my plan was to work abroad remote...
 
mr5
@ntohl exploit the exchange rate?
jobs from the US is the bestest in that regard
 
@CaptainSquirrel Congratulations! Mo money? Mo vacation? Mo home office?
 
1:19 PM
@mr5 exploit the sheer wage.
 
@Squirrelkiller ^
 
@Squirrelkiller more money, and it allows me to move down to my lady :)
 
Makes me sicc
 
mr5
@ntohl what does that mean?
 
Mo money
 
mr5
1:20 PM
first time hearing raining again after ~a year
sheer wage == pure wage?
 
Yeah pure
 
@Neil Yeah essentially. Same time every day. Took engineers 18 months to work out what the fuck was causing consistent knowckouts for a small town in Wales
 
mr5
MultiValidationRule<T> : ValidationRule<T>, where T : new()
what is the correct syntax for this?
 
@mr5 sigh
 
@mr5 no comma
 
1:25 PM
Reminds me of this time the power kept going out in a software house sister location of my workplace
They couldn't figure out the reason, so without much to go on, they started asking around if anyone noticed any strange behavior lately
 
mr5
@JansthcirlU dang it. I swear I tried it before but it works now.
 
Some intern says, "Oh yeah, when I plug this in the power goes out" and then he plugs in his surge protector or something and the power goes out again :D
 
I would imagine former intern now?
 
Why would anyone fire an intern for applying safety
 
I don't honestly know, it was second hand information being told to me by my boss in a social context
Hopefully they wouldn't fire you for something like that.. as serious as that is, firing someone for that is just silly
 
1:30 PM
maybe some warning for playing around with the surge protector instead of notifying the problem to someone until asked
 
well no doubt he got a warning
 
then again if it's your boss's side of the story it might have been your good ol' managerial exaggeration to be taken with two truckloads of salt
 
for a software house, having the power and the servers go on and off like that is a nightmare
@JansthcirlU that's true too I suppose
 
@ntohl MO honey
 
I have a project in my solution that's nothing more than a store for .sql files. Is there a way to suppress all errors coming from that project?
VS 2019
 
1:47 PM
are you sure that those errors can be ignored?
without consequences
 
Since they aren't actually used in the project and are only for reference and keeping database definitions with the project, yes.
 
@Hypersapien Unload the project ;)
 
Actually, I just got it. I just set all the files to "Build: None" in their properties.
 
Or that
 
00:00 - 14:0014:00 - 00:00

« first day (3629 days earlier)      last day (1306 days later) »