« first day (3195 days earlier)      last day (1750 days later) » 

1:00 PM
Uhoh what did I miss
@CaptainSquirrel Lol I was out getting lunch
 
@CaptainObvious I was essentially given the holy grail of lunch passes
Girlfriend told me to treat myself for lunch
There were too many options
Had to go to sainsburys because tesco's fridges were fubar
 
I went to the local butchers
 
am disapoint with lunch
 
Got some big MEAT butties
 
@CaptainObvious did you bring me anything
because if not
get yo ass back to that butchers and bring me some beeeeeeeeeef
 
1:06 PM
I have a spare butty if you want to come and get it
 
yes pls
I'll be there in 12 hours
 
I won't
 
WELL THEN
 
That's 2am wtf
 
Where's wizard boi today
 
1:07 PM
ohai
 
I don't have the car today so
I KNEW IT
 
What's a good tool for diagramming the code in a project (or collection of projects)?
 
@Wietlol IS @Harry
 
hehe
 
CONFIRMED
 
1:07 PM
@Hypersapien draw.io is decent
 
@Hypersapien you mean making a diagram?
for that, I always use draw.io
 
rekt
2fast
 
I dont understand the question tho
 
I have a chocolate twist, but i'm hesitant to put it in my bag because i don't want it to melt in my bag when i walk home, but i have no other way of taking it home
 
there is a better tool for diagramming code
 
1:08 PM
Is there anything that can actually scan your code? Even if it just makes partial rough outlines?
 
Eat it ya willy
 
its the unreal blueprint editor
because it literally diagrams code
 
@CaptainObvious I've already had 2 :(
I feel full
 
Have another
 
1:09 PM
'suppose i can save it for a little bit
 
DO IT NOWWWWWW
 
Is Unreal Blueprint Editor designed specifically for game code?
 
Also we improved out squash dispensr
 
not necessarily
it has some special support for an event system
but other than that, it is just a code editor
 
1:12 PM
 
(I want the unreal blueprint editor for standalone applications)
 
@CaptainObvious or you could just pour it out LIKE A NORMAL PERSON WOULD
 
4 Litres of squash mounted to a clipboard made of mystery material, mounted on a vesa mount to a monitor stand
That's far too much effort
 
Is this what your it dept does in its spare time? lmao
 
This spits out the perfect amount of squash every time
 
1:13 PM
And what if you have a massive cup
or a bottle
 
Use 2?
Or don't be so greedy
 
it still spits out the perfect amount of squash every time
 
You could pour it out and get the perfect amount
 
you just use a non-perfect cup
 
1:14 PM
^^
 
How do you screw them into the spigots?
 
@CaptainObvious If i get a big bottle i need to refil it once or twice inthe day
instead of going 5-6 times with a small glass
 
Well that's just greedy
Brb making a perfect squash
 
being thirsty and not wanting to die != greedy
@CaptainObvious next you'll be telling me you put the squash in first and then water
 
I'm sorry what else is an option
 
1:19 PM
rufkinsrs
Put the water in
then the squash
As you don't need to mix it together then
 
hol up
 
I'm gathering opinions
 
1:26 PM
mkai
 
or one of the many dad jokes my dad always told me, if you want squash, just throw a pumpkin in the air. It goes up a pumpkin and comes down squash..
 
You don't need to mix it tho
You probably should
but you don't need too, because the squash simply combines with the water and slowly goes to the bottom
 
Wat
No you're wjust wrong
 
DrinkStack.Push(water);
DrinkStack.Push(new Mixer(Squash.Orange, Amount.Perfect));
Glass.Add(DrinkStack.Pop());
Glass.Add(DrinkStack.Pop());
 
1:35 PM
Why is Amount an enum
 
Who says it is?
 
I'm assuming it is
 
Mouse over it and see
 
1:36 PM
@CaptainObvious you are entitled to your own opinion in this matter
however
 
Youre wrong
 
your opinion is wrong & you are wrong
@CaptainObvious You're*
 
I think we need an independent adjudicator
Battle of the Mersey right here folks
 
It is impossibru to have an independent adjudicator
Everyone will have a preference
FYI, i only do it the squash only way because I worked as a barman/waiter for a while and that's the way we did it
 
Fine then, a poll
 
1:38 PM
We should do it via a poll on the starboard
OOOO
I know
/r/askreddit
 
I don't know what you are talking about
Someone is trolling
who doesn't drink squash
 
The starboard is a terrible idea
The answers would go up and then in like 10 minutes somebody would come along with a load of "yo"s again
 
das true
 
@CaptainObvious depends on if you use a stack or a queue
 
1:43 PM
Wat
 
I prefer to get the water out first so I have the taste at the end
so, if you use a stack, squash first
if you use a queue, water first
 
Do you not mix them or something?
 
what? hell no
 
REKT
WIZARD BOI AGREES
 
1:44 PM
nonono
 
yesyesyes
 
He doesn't even SQUASH HIS SQUASH
 
@Wietlol you must pour the water glacially slow
 
oh ye, ice is one solution
 
1:46 PM
omg
Ice and raw squash
 
wot is happening
 
just make two solids
 
WAIT
WHAT
 
solids dont merge that well
 
1:46 PM
@Wietlol you drink squash by itself?
 
obviously
 
I drink it after the water tho
 
So it mixes inside you instead
 
Wait
so you have a glass of squash
and a glass of water
 
1:47 PM
Wtf
 
by the time it reaches my stomach, it has perfectly merged
 
and you drink them seperately
what the hell is wrong with you
 
So you have a mouthful of nothing
 
it helps to use small cups
 
Water with a squash chaser
 
1:47 PM
Then you have a mouthful of syrup
 
@CaptainObvious we can both agree that @Wietlol is a serial killer
 
I bet he codes on a white background too
 
you people have no taste for humour
 
!!sandbox
 
1:48 PM
@CaptainObvious Please go and play in the Sandbox
 
Can you just confirm in 1 message that you drink the squash on its own undiluted?
 
from a small cup
 
Under what circumstances does an assembly's PublicKeyToken change? Create and use strong-named assemblies says the public key "is generated from an assembly file [...] which contains the names and hashes of all the files that make up the assembly."
From this I would expect the public key to change if a file is added / deleted / renamed / edited, but when I add a new file to my assembly, its PublicKeyToken stays the same. This is surprising to me.
 
mr5
 
I thought it was derived from the key you sign the assembly with
 
mr5
1:52 PM
I forgot to buy spoon & fork
 
It looks like raw mice and rice
 
mr5
exactly
I just caught a mice earlier
 
@CaptainSquirrel no
lime
 
@CaptainObvious I also thought that. I assumed it was a combination of the key plus the names/hashes of your files.
 
@Wietlol ...you code on a lime background?
 
1:53 PM
Umm hold on
 
this is also a gem
Netbeans had a color scheme "City Lights"
 
mr5
is it a high contrast?
 
nononono
I'm out this place is weird
 
mr5
idk what high contrast means
 
And it's meetingoclock
 
1:55 PM
looks like there was a plugin that made this
 
mr5
it looks WinAmp
 
that was the goal
 
mr5
and it's ugly af
 
netbeans is pretty nice now tho
 
It really kicks the llama's ass
 
1:56 PM
iirc, its beautiful even
 
mr5
I used to like that kind of colors way back in college
 
this is my color scheme basically
 
mr5
Darcula is it?
 
nah
dracula is too orangy
 
mr5
it's actually spelled darcula m8
 
2:01 PM
hmm... ok
I like a darker background than drarcula
 
mr5
did you get it from Netbeans?
 
I copied most stuff from VS tho
VS' default drark theme
 
mr5
lol
 
and ofcourse... IntelliJ's stuff
the green parameters are IntelliJ
 
mr5
did you write your own theme?
 
2:03 PM
green classes are from VS
orange value literals (strings, numbers, etc) are also from something
I use this theme in every language now
the yellow is interfaces
I will miss that one
purple is properties
pink is constants
 
mr5
ew
 
I really need to get my vs theme from home and put it on my work machine
 
blue is keywords
 
mr5
too many colors
 
the colors provide meaning
I like meaningful colors
also... this pretty much sums up all colors I have... so... there arent that many
 
mr5
2:04 PM
do you also think of numbers as colors?
 
no
numbers are numbers, colours are colours
 
mr5
well, some people abstract their memorization using different things. like red represents the number 6
blue sky represents the number 9, etc.
 
orange represents literals
all numbers are literals
as are strings
characters, booleans and null
(but most IDEs wont let you do booleans and nulls as values)
(they often put those under keywords)
 
232 messags
!!c#
 
May 5 '16 at 15:17, by BoltClock
THIS ROOM IS OUT OF CONTROL
 
mr5
2:07 PM
hmm I see. I saw that pattern from a genius people. lemme google it
 
@Squirrelintraining not our problem if you can't keep up
<3
 
pattern?
 
This is a chat room after all
 
How often do you guys use <qualifyAssembly> in your configs? I see it absolutely everywhere in this legacy project and I'm trying to figure out if it's a common idiomatic design or if my predecessor took cargo culting way too far, or what.
 
I might write a SO bot that sends me messages from here to slack via a slackbot
imma do it
 
2:08 PM
ye, write another bot :D
 
docs.microsoft.com/en-us/dotnet/framework/configure-apps/… tells me that you can use it if you want the project to search the GAC for the assembly instead of using a local reference, which seems like the exact opposite of the behavior I want
 
(i lie, i won't do it)
!test
gud
I shall use ONE !
 
use @ instead
 
@Wietbot pls kick Captain Squirrel
Wietbot: player 3 has joined the game
 
mr5
2:10 PM
@Wietlol when you accompany something that is completely irrelevant to the subject, it tends to loosen up the complexity
 
but what pattern?
 
@CaptainSquirrel CAlled kickern with boss
 
mr5
I'm searching for that guy I saw ago from youtube. can't find him.
He have an autism, highly intellectual, very good at numbers, and very sociable.
he's computing big numbers on his head. was asked how he did it. he said, he's accompanying numbers with different objects
 
computing with what operator?
 
I suspect the <qualifyAssmbly> was a work around for the problem of referencing assemblies in other projects. It used to be that MyCoolProject and Contoso were in separate solutions. But now that I'm moving Contoso into MyCoolProject's solution, I don't think I need to use the GAC to make Contoso visible to MyCoolProject.
 
mr5
2:16 PM
it is also said that his case is very rare since most people who have that high IQ and autistic are highly likely can't socialize.
 
dont look at me! I can socialize very well
 
... In theory. Now that I've deleted all the <qualifyAssembly>s in my solution, the solution builds without problem, but it crashes at runtime with Could not load file or assembly 'Contoso' or one of its dependencies. So maybe I'm doing something wrong.
 
mr5
@Wietlol I can't remember exactly what he was asked but it's something a normal person can't do on their head.
 
2^2^2^2^2^2^2 ?
 
mr5
he also learns the Finnish langauge in just a week
 
2:18 PM
how can you learn a language in a week?
I cant even read the dictionary in one year
let alone understand all exceptions
 
We have a javascript issue on one of our client sites
 
while I'm sure he knew the language well, it's quite grey the meaning of "learning a language"
 
and the issue is due to a function being passed a null and the while statement can't call a specific variable in the object that is passed
however the while statement is literally this
 
while (true);
 
Alessio Civitillo on July 16, 2019

import seaborn as sns

sns.set(style=‘white’)

plt.figure(figsize=(12, 8))

plt.title(‘Cohorts: User Retention’)

sns.heatmap(user_retention.T, mask=user_retention.T.isnull(), annot=True, fmt=‘.0%’);

 
2:20 PM
function someFunction(variable) {
	var _int = 1;
	while(variable = variable.someOtherVariable) {
		_int++;
    }
	return _int;
}
And it works
but the while statement makes me anxious
 
wait... even more ew, mutation
wouldnt that function throw an error when you pass it null?
 
mr5
whenever I hear or read mutation, I always think of Hulk
found him!
 
@Wietlol it does, that's what the issue is
But looking at the while statement
That will just run continuously because it will never return false
 
it will stop as soon as someOtherVariable is a false value according to the truth table
for example, if variable doesnt contain a property someOtherVariable
 
Aye, but variable and someOtherVariable are both html elements
wait
I think i know why it was like that now
 
2:34 PM
It climbing up the DOM tree like a squirrel
 
exactly
Its a strange way of achieving that, mainly because there are no comments to say why its being done that way
and to the uneducated mind it doesn't seem right
aka, i don't know much about the frontend of this project and it confused me
 
When element.Parent is …. null? or undefined? … The assignment resolves to ??? Falsey?
Meaning reached root element
 
I think so
I think its maybe to try and figure out how deep the starting element is?
 
mr5
@CaptainSquirrel if the names are just named descriptively, it'll be a lot easier to understand.
 
!!lenny
 
2:37 PM
( ͡° ͜ʖ ͡°)
 
@mr5 sorry, i'm just always hesitant to directly copy and paste stuff outside of my org
I suppose in this case its alright
 
mr5
we have something like this in our code:
func GetRoowViewController() => {
    var window= UIApplication.SharedApplication.KeyWindow;
    var vc = window.RootViewController;
    while (vc.PresentedViewController != null)
    {
        vc = vc.PresentedViewController;
    }
    return vc;
}
 
return window
    .RootViewController
    .InEnumerable()
    .SelectRecursive(it => it.PresentedViewController)
    .Last()
 
mr5
@Wietlol can wietlang do that?
 
C# can do that
opens up epic C# project
 
mr5
2:43 PM
How would you inject .InEnumerable()?
 
I'd convert it to a list instead
because im not a heathen
 
public static IEnumerable<T> InEnumerable<T>(this T self)
{
	yield return self;
}
 
mr5
oh
Why does it needs to be generic? Why not object?
 
because if Object, it => it.PresentedViewController wouldnt work
 
mr5
oh yeah right
 
2:48 PM
I suppose I could even make the SelectRecursive without the IEnumerable
 
mr5
how about the .Last()?
 
// Type: System.Linq.Enumerable
// Assembly: System.Linq, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
SelectRecursive returns IEnumerable<T>
but the first parameter doesnt have to be IEnumerable
 
mr5
what would be the implication of using Extension too much?
Doesn't it deduce in high coupling?
 
does while (c) { b(); } imply high coupling?
coupling is only bad when your business rules define the link
because business rules change
and coupling is bad for changes
while (c) { b(); } doesnt really change a lot
as do these special methods
they just make sure you cant mess up stuff
 
3:16 PM
Is it normal to have a namespace with the same name as an assembly? I feel like I keep encountering headaches because I can never tell whether Contoso refers to a dll or a namespace in my code.
For example in the hbm.xm filel of an NHibernate Entity, you might refer to a column's custom type with type="Contoso.WidgetType, Contoso". I'm pretty sure the first Contoso there is the namespace and the second one is the assembly, but if I'm wrong it will be a pain to debug if I ever decide to rename the assembly.
(and in fact I am deciding whether to rename the assembly right now, so this isn't a hypothetical)
 
mr5
@Wietlol nice. I'll remember this
 
3:29 PM
@Kevin it's normal
 
Semi-related question. Let's say I want to change my assembly's name to "NewContoso". I have a few LoadAssembly("Contoso") calls in my project and I don't feel like changing them all to LoadAssembly("NewContoso"). Is there something I can put in the config to make LoadAssembly("Contoso") load the NewContoso assembly? Is this what <qualifyAssembly> is for?
 
mr5
Is it normal to name the last part of the namespace the same as the class type?
I.e., App.Controls.VideoView.VideoView?
 
HEllo friends
 
@mr5 why would you do that?
do you also put your games in nested folders?
 
is there any good documentation or usage of Task Parallel Library and those operator use case....
 
3:33 PM
C:/ProgramData/Games/Minesweeper/Minesweeper ?
 
please let me know
thanks....
 
@bluetoothfx are you my friend?
 
this room is my home & this rooms ppl are my friends & family
 
I've never seen you before
 
me either
 
mr5
3:35 PM
@Wietlol because this particular controls have types only specific to it. I'm not sure if it's a good idea to put its enums, and interfaces in a higher level of namespace.
 
However, welcome o/
 
But you joined chat in 2016 so I don't know what to believe
 
-_-
 
mr5
Anyway, I have encountered some issue in VS where the type was confused as namespace name so I remove the extra namespace from the namespace declaration just like there was no enclosing folder.
 
ask Mike the lire -_-
 
mr5
3:37 PM
I thought his last name was banjo
 
@JosephPatchen i love it
 
@CaptainSquirrel That's older than the internet :)
I think it's the second most known XKCD after Bobby Tables
 
mr5
!!xkcd 327
 
3:45 PM
'lil bobby tables
@MadaraUchiha don't think i've seen that goto one before
 
!!xkcd 292
 
mr5
me too. first time I see it
 
Older than Bobby Tables for sure :)
 
mr5
How do you guys find a person that is always awkward? Would you avoid talking to them?
 
3:53 PM
Learn how to make them think what you need them to do was all their idea in the first place.
 
mr5
Learn how to make them think.
What you need them to do.
It's all their idea.
In the first place.
It's kinda hard to understand that sentence
 
mr5
Paraphrasing from the article I read: "How do older generations deal with awkwardness? They just deal with it like it's a normal thing. New generations tends to avoid awkwardness at all cost"
 
mr5
@BlackSquirrel that page have like 3000+ lines of html code including tons of payment gateways, 3rd party auths, lots of iframes and script tags
 
4:00 PM
!!xkcd 1
 
it's strange to see how different 1 is to any others
 
@mr5 well it is basically trying to sell the book
 
4:35 PM
@Kevin Out of my league
 
4:45 PM
Mine too. Luckily I only wanted to rename the assembly for diagnostic purposes. If it's too hard I can just pick a different way to debug my problem.
My project now builds and runs even though I erased my GAC, so that's a good sign that I'm on the road out of DLL Hell
 
5:24 PM
 
 
1 hour later…
6:52 PM
posted on July 16, 2019 by Phil Haack

I love it when a web app lets me use my Google, GitHub, or Facebook account to log in. Chances are, I’m already logged into those sites, so it’s one click to log into a new site. This is a great experience for users. It reduces the friction to registration and loggin in to your site. They’re less likely to clam up.

 

« first day (3195 days earlier)      last day (1750 days later) »