« first day (3408 days earlier)      last day (1546 days later) » 

11:00 AM
advantage is mostly performance and single source of truth...
 
@HéctorÁlvarez didnt know JSON can be used in a console app
 
json is a format for text
a console app can use whatever it wants
the limits are the sky
 
but ive also never had any involvement with JSON so XML would be my convenient option
 
you cant use sky in your console app
 
@WhatsThePoint the app being console doesn't factor in, the console part is only how the app communicates with the user
 
11:07 AM
@Wietlol I did that thing once. Wanted to minimalize the serialized package
but that was before protobuf
 
text commands from command line, vs buttons on a framework with graphics, or requests from a webAPI, your program can always do the same stuff regarding business logic.
 
but... our web services are console apps
and our user interfaces (with buttons and text fields and images and such) are also console apps
and our websites are console apps
to console app or not to console app
 
Just because you keep proactively working against the standard doesn't mean it's the way it should be done
 
that is the standard :D
 
Displaying websites as console apps with buttons?
 
11:11 AM
the application running the website is a console app
you access it via your browser
but the project is a "console app"
 
Oxygen-Potassium
 
only in china
 
11:44 AM
@Hans1984 I would too if I were forced to work there
no way I'm catching that virus
 
yeah
bet its fun
and the air inside of that
oof
imagine farting in there
you ll never get rid of the smell
but i guess its better than catching a deadly virus and die
 
V.7
 
well thats because your company is spying on you
and blocking it
everyone else can see it
!~shiba
 
I hope you can atleast see the shiba ?
 
woof woof
 
mr5
12:16 PM
> "Pretty sure felt being touched 3 times, no harm thou, but the last one was out the street (city)and my dogs where out of their skull barking at thin air, then I felt a bit uneasy. (Naaaah I was petrified lol)"
What does the phrase in bold means?
 
barking at nothing very loudly
 
mr5
Oh
It's the same phrase as "I shout on top of my lungs" (didn't recall the phrase correctly)
So why skull and not lungs?
 
iDunno
 
mr5
Why u dunno?
 
only doggos know
woof woof
 
12:26 PM
I know the phrase "from head to toe" for a human is "from nose to tail" for a dog
 
^ I suspect something similar
 
I only know this because of Warriors
 
barking is more connected to opening the jaws rather than emptying the lung
 
I remember when "Who Let the Dogs Out?" was popular
those were dark times
 
dark bark times
 
Rob
12:50 PM
@mr5 Out of their skull I'm assuming means crazy
 
Out of their skull, means behaving unusually/extremely in a mental capacity, such as being really drunk, or otherwise under the effect of a mind altering substance or psychological influence.
 
Rob
Not related to the phrase 'top of my lungs'
 
out of their mind is an alternative phrase.
 
1:18 PM
> public override bool Equals(Object obj)
{
// Perform an equality check on two rectangles (Point object pairs).
if (obj == null || GetType() != obj.GetType())
return false;
Rectangle r = (Rectangle)obj;
return a.Equals(r.a) && b.Equals(r.b);
}
I find it odd, this GetType() - shouldn't it be this.GetType()?
I've forgotten how to make code look like code in chat
 
@CopperKettle the "this." is implied
 
a lot of the times in VS if you even put the "this." in there, the system will be like "you don't need this bro"
 
@Neil Ah! I did not know that. The compiler substitutes this. Interesting.
 
Hello @Freerey we got a new user here
 
1:27 PM
Please, make sure to read the description, don't ask if you can ask since that creates an infinite loop, and press CTRL+before you submit your code to format it properly
 
HECTOR
YOUR AVATAR HAS CHANGED
 
I really hope you enjoy it here, new user.
 
I DEMAND YOU CHANGE IT BACK IMMEDIATELY
 
@CaptainSquirrel Why would I
 
@HéctorÁlvarez umm no you don't?
 
1:27 PM
I am the white glint now
 
NYET!
YOU MUST BE THE YELLOW DIAMOND AGAIN
 
I'm not a new user
 
@Freerey Yes you are
 
No. I'm not..?
 
I'ver neer seen your name around
 
1:28 PM
Its AlRey
 
enable your pictures; I'm Alrey
 
Feb 4 at 14:37, by AlRey
that's it; half of this room is obvious trolls
 
new User();
 
Link totally unrelated
 
ooooohhh
10/10 hector is troll
 
1:29 PM
But since you don't get it at first ...
 
protected class newUser() {
 string name;
 var int; // out of 10
 var rank;
}
newUser HA = new newUser("Hector Alvarez", 3, 3);
 
> var int
no, you dont get to use var ints
 
intelligence
play some d&d jeebus
 
Spooky variable
 
1:33 PM
var ints are bae tho
 
you're right; they are based
 
still that syntax tho
> protected class newUser() {
string name;
var int; // out of 10
var rank;
}
newUser HA = new newUser("Hector Alvarez", 3, 3);
I mean... what the heck is up with this?
 
new newUser
 
protected class newUser()
var rank;
var int;
you shouldnt use 7 languages at once
 
newUser WL = new newUser("Wietlol", 0, 3);
 
1:35 PM
just stick to one
 
Dim int As Integer
 
when they take the pseudocode seriously
Jack, cringe
 
1:54 PM
pseudo code is love, pseudo code is life
 
That used to be my party trick
ask me a question
get some pseudo code
 
mr5
Meme patrolling
 
we need to come up with a pseudo code that references as many language features as possible in the minimal number of lines
like protected () => { let _ = new Clazz({a: 'Hello', b: 'World!' }); return _; }
 
Where's Dim ... As ... :D
 
2:15 PM
@DKDhilip get out
we don't vb here
only c#
 
Goodbye world...
 
mr5
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
 
2:36 PM
Does casting an abstract type to its concrete type involve the boxing/unboxing?
 
user47589
No
 
so its different when you do it to object?
 
user47589
Boxing applies only to value types
 
@erotavlas it's different when you do it to a non-value type
value types are treated differently
 
like if I made an int and object then cast itback?
 
2:37 PM
yes, because int isn't an object
so to make it an object, it has to box it
 
but if I alsready start with a reference type then it doesn't matter?
 
A runtime boxing a value type is a strange spectacle, but a program boxing an abstract, now you've lost me
 
user47589
A reference type isn't a value type, so boxing doesn't apply.
 
@erotavlas you've lost me
 
:)
 
2:38 PM
a reference is just a pointer to a place in memory representing a concrete class
 
@mr5 oooh, is that fish?
><>
 
user47589
I will find you Neil
 
@Neil he lost you, and you lost The Game
 
I remember that there is performance penalty to using 'object'
 
@MikeTheLiar ah damn it
 
mr5
2:38 PM
fish language
 
that's why i'm asking
 
boom headshot
 
@erotavlas in what context?
 
I don't know
i forget
 
it occupies more memory
 
2:39 PM
there is a performance penalty to write code as well
 
user47589
There is not a performance penalty for using object. There is for boxing a value type into an object.
 
without code, your application runs a lot faster
 
not much, but still more than just an int
because now you need a pointer to an int, not just an int
 
ok so long story short don't use object for value types?
 
@Wietlol fewer bugs, too
 
2:40 PM
and yes, the boxing/unboxing is a performance penalty
 
@Neil and behind that pointer is not even an int, it is a boxed int, which means another reference to the Int32 type
instead of 4 bytes, its now 8 + 8 + 4 bytes
 
If you're seriously concerned about the performance hit from boxing and unboxing, you have bigger problems to worry about.
 
^
 
@erotavlas don't use value types where a boxed value type would work.. don't use a boxed value type where a value type would work.. if you have to use both, box/unbox as little as possible
 
like not having a powerful enough computer?
 
2:41 PM
If your performance requirements are that high, you shouldn't be using C# in the first place
 
mr5
int32 is expensive. it occupies 4 bytes of memory
 
@Wietlol is that optimized at all?
 
nope
 
mr5
OOP is expensive. it pads unnecessary memory
go procedural
 
2:42 PM
the only way for the runtime to actually know the type is to have a reference to the type as header for the object
so, (object) 5; must have a header
 
@mr5 if you're not writing raw bytecode, are you even programming?
 
oh, I am writing raw bytecode
 
Jack, xkcd butterflies
 
choose me
 
2:43 PM
....Come Again?
 
the cat has a mask on the forehead.. whyyyyy
 
Jack, learn realprogrammers <>https://xkcd.com/378/
 
I've learned the command realprogrammers
 
Jack, realprogrammers
 
2:44 PM
Jack, realprogrammers
 
ninjaed
 
@CaptainSquirrel Jack needs an xkcd command
Jack, google test
 
....Come Again?
 
Jack, bing test
 
he has
 
2:45 PM
he needs lots of things
 
Jack, xkcd,378
 
I don't understand mate
 
Jack, search test
 
Is that even English?
 
ok, he has not
Jack, commands
 
2:46 PM
You'll make him upset if you keep asking him for stuff he can't do
 
Jack, listcommands
 
like list his commands
 
....Come Again?
 
for some stupid fucking reason
 
Jack, help
 
2:46 PM
I don't understand mate
 
Jack, get help
 
Is that even English?
 
Jack, panini
 
May 4 '16 at 14:23, by Caprica Six
Jan 12 at 16:55, by Markus Werner
to all stupid put all "Panini" in your asshole
 
yes, that is english, now get help
 
2:46 PM
the important command is there
 
sirisli
 
The only command that matters
Jack, kieran
 
Feb 27 '17 at 16:02, by Kieran
Thank you for confirming im an idiot c:
 
god dammit mike
2
 
wtf is wrong with EF?
 
2:48 PM
How long do we have?
 
insert (11 seconds)
IN... FRIGGING... SERT!!!
 
How many rows?
 
1 record
1 table
on an empty table
 
@Neil because humans are dumb
 
2:50 PM
Jack, learn thiscommand'; drop table commands
 
the database itself is fine tho
 
I've learned the command thiscommand';
 
I agree with the lady; real programmers do use vim
 
Jack, thiscommand';
 
drop table commands
 
2:50 PM
@Neil heh, you silly mortal
he doesn't store the commands in sql
 
ah well
 
does he store them in WietDb?
 
@Wietlol I think your next step is to profile the insert statement and see what's actually happening
Try the insert in SSMS and see what happens
 
@Wietlol nah, JackDB
 
I thought my next step was rant on EF
 
2:51 PM
Jack, forget thiscommand';
 
Command thiscommand'; has been forgotten
 
also...
> SSMS
heck no
 
What's wrong with SSMS
Apart from the lack of a working dark mode...
 
everything
 
Are you using EF with a different RDBMS?
 
2:52 PM
EF with MySql
 
................................
 
also, EF with sql server for some other apps
 
YOU MIGHT HAVE LED WITH THAT FACT
 
there is nothing wrong with the database tho
I can smack 1000 records in it < 1 second
but EF wants to do some model validation or stuff and is being silly
 
EF also allows you to execute raw SQL
 
2:54 PM
then why do I use EF if I just send raw sql?
 
I will kick you
Why use EF if you don't want model validation and database abstraction?
 
I want it, but not on a silly way
 
Write your own EF
 
I would
 
Jack, myown entity framework
 
2:56 PM
but this is for work, so I better not
 
I don't understand mate
 
Jack, echo I'll write my own Entity Framework. With blackjack. And hookers. In fact, forget the Framework.
 
I'll write my own Entity Framework. With blackjack. And hookers. In fact, forget the Framework.
 
I recommend Dapper if you disliked EF
 
I need migrations tho
iirc, Dapper doesnt have them
 
2:57 PM
 
I've learned the command "who
 
how to do without model validation, if you want migration? WTF
 
Jack, forget "who
 
Command "who has been forgotten
 
2:57 PM
I've learned the command thislie
 
> I want it, but not on a silly way
I WANT MODEL VALIDATION
but EF is being silly
and does it unnecessarily often
 
Jack, forget thislie
 
Command thislie has been forgotten
 
2:58 PM
and takes way too long doing it
 
Is that even English?
 
@Freerey it's generally good practice to make sure your link is valid :)
 
?
 
lolo
 
2:59 PM
The link i fixed
 
Jack, forget thislie
 
@Freerey There's no command called thislie, Savvy?
 
squirrel not found
 
Jack, kys
 
2:59 PM
are squirrels immune to covid-19?
 
I've learned the command thislie
 

« first day (3408 days earlier)      last day (1546 days later) »