« first day (3617 days earlier)      last day (1324 days later) » 
00:00 - 14:0014:00 - 23:00

12:22 AM
hey guys im looking to get some advice on a data persistence situation im entangled in right now, would this be an alright place to ask?
without making a post about it
 
 
6 hours later…
6:19 AM
Buenos doas
||justask
 
Jul 3 '18 at 19:41, by Kendall Frey
Don't ask if you're allowed to ask a question. Don't ask if anyone's available or knows how to use what you're using. Don't say you're going to post a question. Just ask your question.
Aug 28 '17 at 15:53, by mikeTheLiar
Don't ask if you can ask, it creates an infinite recursive loop. Just ask your question. If someone is around who can help, they will.
 
||forget dontask
 
You do not have permission to remove this command.
 
6:59 AM
GoOoOoOoOoOoOoOoOoOoOoOd Mornin' neglecterinos!
 
7:10 AM
Hewwow evwywone
 
I feel like you're getting weebier each day
Very cute
 
yo what, yo what, yo what
 
Anyone got an idea why my unit tests would just not get executed? There's like 5 unit test projects in our solution, and one of them just...doesn't get executed.
Tests always skipped/inconclusive
 
@Squirrelkiller Bad framework?
Maybe [Ignore] tags?
 
NUnit
Nothing ignored
Classes are public and have [TestFixture] attributes
 
And it doesn't matter whether I use VS Test Explorer, NCrunch, or ReSharper to run the tests
net472
 
How about rider?
 
Have you tried turning it on and off again?
 
@Squirrelkiller uwu
 
you trapped them with your weeb language, quick link your onlyfans while they're paying attention
 
7:18 AM
<eye twitch>
 
@Squirrelintraining I'd expect it to work the same as ReSharper. Although I just don't have the time to set up Rider for our complicated Solution.
 
@Squirrelkiller Aye
 
This problem exists for weeks now, or maybe months, nobody knows
 
I think it might be your test. Check if an exception was thrown on your last try run
 
The tests don't actually get run, they are skipped entirely. Debugging doesn't work, since they are never called.
 
7:22 AM
interesting
I'm opening my VS now to see if I can help you troubleshoot this
 
Would be great, but I couldn't even make an MCVE from a new project. You'd need to be real lucky to replicate this I'm afraid.
Well or unlucky
 
do you remember the day this started (i know its a big ask)?
 
No idea. Might be weeks, might be months.
The tests are usually only run in the pipeline
 
@Squirrelkiller As bad as rider is, it should just work to open the solution and run the tests
 
And we only look at them when they fail
 
7:27 AM
Unless you've done something truly horrific
 
what do you mean by we?
 
I work in a team of 6 devs, we all work on this solution
And I'm the one pushing hard on testing and getting everything to run in the pipeline
So if our tests are just skipped, I'm the one who cares
 
@CupOfJava Here you go. Here's my OnlyFans page for ya uwu
 
ok, so it's not the computer and not the development environment. So it's a coding issue
@Hozuki I'm not clicking that for whatever virus you're sending me
 
trust the weeb
 
7:36 AM
^ never
@Hozuki I am dissapoint that it wasn't this youtube.com/watch?v=dQw4w9WgXcQ
 
Ok, so I ran a simple script and Ignored the unit test and it still showed up in the test explorer. Are you not seeing anything there?
 
@Squirrelintraining I think you meant this, right?
 
@Hozuki Wadafaq 🤣
 
oh dude
my project want to got a json with a field named "operator"
but "operator" is a keyword in c#
and they don't want to change this field name now
what should I do?!
 
@CupOfJava Oh they do show up - just as "skipped" in Test Explorer or "Inconclusive" in ReSharper
 
7:49 AM
new
{
  //...
  operator = value // error
}
 
Using @ you can use keywords are names
public string @this = "I'm usually a keyword"; // this one works
 
it works
 
@Squirrelkiller Either add a comment to the test and rebuild or check the build to make sure no one F*cked with the settings. If neither of those work then I'm out of tricks
 
A comment?
Ah because making it rebuild
 
yeah, it sounds weird but sometimes it works
 
8:02 AM
Didn't work, still skipped :/
 
I'm out of ideas
 
Guess I'll have to be very brave and make a stackoverflow question without MCVE
 
no worry stackoverflow now has new generation of mods
 
I'm going to be the first person to ask you why are you asking a question like that here. (I'm just kidding about that)
 
Come at me lol
 
8:14 AM
@keyword is a basic knowlage of c#, but I forgot it at all!
<=*stupid squirrel*
 
@Hozuki More like this one here - I think you will agree.
 
o7 kieran
 
8:29 AM
13
Q: Programming: Minimum steps required to convert a binary number to zero

roger_thatI was working on a programming exercise and was stuck on figuring out the correct algorithm. Here is the problem: Given a decimal number, how many minimum possible steps are required to convert this to zero provided: Change the bit i if the next bit i+1 is '1' and all the other bi...

I am just curious how to apply the rules for the following binary? 1000
How basically the following series is created with "1000"? 1000→1001→1011→1010→1110→1111→1101→1100→0100→0101→0111→0110→0010→0011→0001→0000
 
8:49 AM
all the squirrels are here
 
Well not all of them
Squiggle isn't even in the autocomplete list anymore :/
 
@Squirrelintraining ... I don't know what to say. This is too weebish even for me
 
Hiya
 
@Hozuki ^^ I would never ever have dreamt about you saying that my old friend.
 
Who knew :3
 
9:01 AM
why did I watch that
that's four minutes of my life I'll never get back
I regret that more than thinking learning brainf*ck was going to be a good career move
 
mr5
o/
123
456
789

can 345, or 678 be considered as adjacent numbers?
 
I lack context to properly answer that
 
if you can place them next to each other, perhaps
[345, 678]
now they are adjacent
;)
 
mr5
 
Want a hard answer?
No. No they can't. There's a few hundred numbers between them.
 
mr5
9:09 AM
according to PE, 9989 is adjacent number. but that's all the context they provided
 
Adjacent to what?
Adjacent starts to look very strange after reading it a few times over
 
mr5
9989 is the four digit adjacent number that have the largest product in this matrix.
I'm not sure if I should call it matrix since it will be limited to row-only adjacent numbers.
 
If they call it matrix, digits may be vertically adjacent too
 
mr5
oh right
crap
 
just 9989 is the biggest because there is no 9999, neither vertically nor horizontally
 
mr5
9:11 AM
also, diagonally adjacent
 
as far as I can see
 
mr5
oh
they did mention it is a "1000-digit number"
 
mr5
so I think it's rather a list than a matrix?
 
It looks like a 4 digit number
 
mr5
9:13 AM
no, I mean, the pic I uploaded
 
@mr5 in their context, adjacent means consecutive
consecutive digits
so 4 digits in a row... or perhaps column
as they also say it is a matrix
 
mr5
@Wietlol no they didn't say it's a matrix.
 
you did?
 
mr5
yeah
so I think I'll treat it as a list
 
9:39 AM
jrnekbwrtvoibgdd
 
Gesundheit
 
Gesundheit
 
 
1 hour later…
11:00 AM
Jo what's Latin for "tele-"?
 
@Squirrelkiller www.gidf.de
 
Huh, it seems the new mobile firefox kinda fucks up the SO chat
I tried google, it keeps giving me greek.
 
11:22 AM
Even my colombian girlfriend doesn't know, mostly because even spanish uses telefono
And television
 
11:36 AM
@Squirrelkiller How so?
Seems to look and work fine for me
As far as I can tell
This message sent from Firefox android
 
\o
I've lost my head
ah there it is
 
AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
 
AHHHHHHHHHHHHHHHHHHHHHHHH
 
Well for one, it doesn't properly resize the window when I open the keyboard, making me scroll up and down to get the input field into sight.
AHHHHHHHHHHHH
 
Why did I ever decide to be a software engineer?! AAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHH
 
11:39 AM
AHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
 
Because you can build stuff yourself without ever leaving the chair
 
AAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
 
!~shiba
 
AAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
 
nyconing: nonono
 
11:40 AM
My brain is hurting
 
@CaptainObvious Also I actually wrote the part about google only giving me greek, but it somehow got lost. I blame it on firefox because the resizing is so fucked up too.
 
@Hozuki how come?
 
@Hans1984 did you hear any sirens today?!
 
I didnt even give you my hell
 
Still don't know what tele would be in latin though
 
11:41 AM
no i didnt
they were supposed to be around 11am
but there were none
 
@Wietlol This task is killing me. I'm in a hell of my own design unfortunately :-(
 
k Hans will die with the next war or flood then
 
@Hans1984 Neither in Hamburg.
 
care to elaborate the hell?
 
@Squirrelintraining strange isnt it ?
 
11:42 AM
I have nobody to blame. I wrote this while I was still learning how to write apps and 6 years later it's such a mess because we never took time to clean shit up.
 
Bergedorf doesn't count.
 
What resizing ng
 
I had sirens in suburban Hamburg
 
Seems fine O think
 
Pull on one little thread and EVERYTHING falls over.
 
11:42 AM
maybe they thought ppls psyche is already messed up too much because of the corona situation
 
Because yes, UI, services, controllers, data, utilities, everything is mixed
 
so they cancled the siren stuff
 
Damn cchat is explosing atm... Not like the Warntag.
 
sounds to me like you just have legacy code
 
11:43 AM
WOULD EVERYBODY JUST CALM THE FRIGG DOWN PLEASE?!
 
@Hozuki this resonates with me way too hard
 
nonono
 
@Squirrelintraining NOOOOOOOOOOO
 
@Hozuki At least you didn't put everything that is not UI into a separate class called "Operator" that extends thread and think it would therefore run on a separate thread, right?
 
it's javascript so no but close enough lol
@CaptainObvious lol i feel for you
 
11:43 AM
but then i was wearing ear plugs at that time
maybe thats why i didnt hear them ?
 
Okay maybe it is a bit wonky
 
My second app written for work is nice and elegant. It's a beauty. It's organized. It applied everything I learned about making apps. BUT THIS ONE OH MY GOD
 
muahahaha
 
but shouldnt they be so loud
 
11:44 AM
In my case I only wrote the code up to 5 years ago (its my 5 years anniversary on Monday actually)
 
you can hear them through ear plugs ?
 
@CaptainObvious ohhh dear is it such a mess too :D
 
@nyconing calm down
give shiba :(
 
But like 90 to 95% of the code was entirely written by me
 
I get extra 1 month salary for completed project
 
11:45 AM
Its absolutely horrific some of the older stuff
 
Oh yes. I thought it would be a good to make an 'app state'. Result: one big class containing all the data of all the pages of all the things in the app.
 
@nyconing Noice, congrazt!
 
please tell me past self that was fucking stupid
@Wietlol yeees
 
11:46 AM
@Hozuki I...have a class "AppState" in my personal project...maybe I should split it up.
 
@Squirrelkiller For the love of everything you hold dear, YES, SPLIT IT UP. One state per page at max.
 
!~shiba
 
now it works
 
Data for differnet pages is in different #regions right now
 
11:47 AM
7 mins ago, by Hans1984
!~shiba
didnt work there
 
But then there's stuff like CurrentPlayer that is needed by several pages
 
I even have something called supressNextError that actually supresses intentional errors because i was in a hurry 3 years ago...
 
@Squirrelkiller yeah but that's fine if you make it a self-contained service or something
 
Could put it into UserService, but does state also get accessed via services? Does the UI just call the service? I have it hooked on the state right now, because it displays the state. Seemed logical.
 
11:49 AM
@Hozuki oh jesus christ why would you do that
 
@CaptainObvious I was young and naive and designing an app that had 2 pages. I thought, what would be the harm? There are two pages and it can cache between them. So nice!
 
@CaptainObvious dont worry, it can get worse... trust me
 
@Squirrelkiller I prefer UI <-> ViewModel <-> Services
 
my first app was... one class...
 
That said, I'm fairly certain ive got things like that somewhere
 
11:50 AM
it was only 14k lines long
 
When you're starting an app and don't really consider the future of the growth...
 
now, my average source code files are around 25 lines
 
@Hozuki Since this is Blazor, I basically have UI and ViewModel in the same file
 
@Squirrelkiller EWWWWWW WHAT
Is Blazor mandating that? That is utter shit!
 
Razor == UI (HTML with inline C#), C# == ViewModel
 
11:51 AM
@Wietlol Youchh!
 
No it's not, this is just the default template for blazor pages and components
 
@Squirrelkiller The C# ViewModel is in another file at least, surely?
 
Of course not
 
says average source code files are around 25 lines
alt tabs back to IDE
"this one is an exception"
 
It's fine if a file is longer, as long as it's just doing one thing.
 
11:54 AM
although, to be honest, it is mostly documentation
 
@Wietlol Way too big for npm packages
 
it is an interface with 2 methods... with 18 overloads each
most of them are default implementations pointing to another method in that interface
only 4 are actually abstract
on the other hand, I have 7 exception classes of each 6-7 lines
so that helps a lot for the average
 
Boy are you gonna be glad when you learn about optional parameters
 
depends
doesnt C# have optional parameters for years now?
 
mr5
o/
anyone here doing project euler?
 
12:15 PM
nope nope nope
 
\o
nope
 
I feel like every time I mess with my phoen's SD card, the next day I face shenanigans involving the alarm not going off
 
12:35 PM
@Freerey Maybe Google is too busy uploading your SD card data to their spy network causing the alarm to fail
 
srsly though that card got hot asf once it was done in my pc
 
@mr5 Nibidy dies priject euler
Fist a type then a statement.
 
12:53 PM
@Wietlol Absolutely, but your interface doesn't know that yet.
 
I dont know what you mean
 
18 overloads each pointing to different overloads with defaults? Just make one overload with optional parameters stating the defaults there.
 
sooooooooooooooooo
when i went AFK
One of the cats walked across my keyboard
 
@Squirrelkiller how's waifu dooing=?
 
and sent a message in a group chat
WITH THE ENTIRETY OF THE UK BASED STAFF IN IT
 
12:57 PM
did it spell porn
 
interfaces do not have default parameters?
 
No i believe it was
#''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
 
wat
 
one of my colleages messaged me about it and asked if it was the cat or if i was asleep lmao
 
interface Foo
{
	void bar(String test = null);
}
@Squirrelkiller this works perfectly fine
 
12:58 PM
String?!
 
STRING!
 
It's string you madman
 
it is String!
 
That's the ugly naming!
What, do you also declare Int32 a = 10;?!
 
oh yeah whoever suggested I use handbrake: thanks, it actually works
 
12:59 PM
my Boolean says false
 
Jack, votekick Wietlol because of heresy
 
EEEEEEK REALLY
 
also, yes, it is Int32
 
@AvnerShahar-Kashtan that was you; it works awesoem
 
@Wietlol focking hell that is so ugly and silly to write why would you do this?
 
12:59 PM
I'll come back tomorrow when Jack arrived
 
because I can
 
its even worse for performance
 
it isnt worse for performance
 
yes it is
 
no it isnt
they are synonyms
 
1:00 PM
yes it is!
no they're not
 
people who call it String are boomers
 
Can any one of you two back their claim about performance?
 
yes they are
 
Weren't the full names the boxed versions aka always objects?
 
> int is a primitive type allowed by the C# compiler, whereas Int32 is the Framework Class Library type (available across languages that abide by CLS). In fact, int translates to Int32 during compilation.
- https://stackoverflow.com/a/15325700/2764866
@Hozuki no, that is Java
 
1:02 PM
Oh for fucks sake
 
where int is a struct and Integer is the boxed class
 
Fucking Java
 
in Kotlin, ironically, both are Int
 
That was not the plan, Jack
 
i still don't like seeing String or Int32. It's silly.
 
3 mins ago, by Wietlol
my Boolean says false
3 mins ago, by Wietlol
also, yes, it is Int32
 
wouldya look at that, Jack took 5 minutes to respond
 
5 mins ago, by Wietlol
interface Foo
{
	void bar(String test = null);
}
I wanted to flag these for the mods
 
ever wonder who the wat grandma was trying to talk to?
 
1:03 PM
I don't understand mate
 
But I think they won't appreciate
 
@Freerey what grandma?
 
wat grandma
who died like 4 years ago
 
oh, that was a real person? it looks a poorly cgi'd character. rip wat grandma
 
@Feeds how dareth thee?!
 
1:07 PM
 
@Wietlol See the quoetes after to know why and how
Oi, I saw that!
Papaaa, wietl0l is abusing the power of his bot again! - maybe
 
wietbot's server is out of memory!
cant even open task manager
 
Tried the AI thing again?
 
nope, this is windows messing it up
bot died due to OOM
but the server is still at 97% ram
it is a 1GB windows server though
not the most impressive one
should be fine after a restart
 
Could anyone here offer support on my question? stackoverflow.com/questions/63830502/… - I am unsure what I need exactly. A new thread? A task? Thanks in advance.
 
1:21 PM
@Wietbot welcome back
 
I have no clue what you meant right there. You can use the listCommands command to see all my commands.
 
thank you
 
1:36 PM
@asynclife You could create a List<Task> and then wait for all of them to finish.
Task.WaitAll(listOfTasks); or sth. among those lines.
 
@asynclife The only modern option is to use async/await. TPL is what's recommended going forward. Everything else is old.
 
And old is baaaaaaad
 
1:57 PM
I have a question:
Are any of the method calls in the following line of code executed, or are they executed only when the query variable is used in a foreach loop?
`IEnumerable<int> numQuery2 = numbers.Where(num => num % 2 == 0).OrderBy(n => n);`
 
hey guys
 
IEnumerable<int> numQuery2 = numbers.Where(num => num % 2 == 0).OrderBy(n => n);
 
is there an easy way to copy a whole folder (added manually to visual studio project) to the output path?
 
@BlackPanther No, nothing is executed, until something enumerates over it.
 
@Hozuki Thank you @Hozuki
 
00:00 - 14:0014:00 - 23:00

« first day (3617 days earlier)      last day (1324 days later) »