« first day (3684 days earlier)      last day (1268 days later) » 
06:00 - 13:0013:00 - 00:00

1:08 PM
Either make another png that is smaller so you control what it looks like, or provide an svg file
 
yeah I was just about to ask for the .svg version of what I've got, or just make a smaller png
 
Always prefer the svg
 
@Squirrelkiller Depends on the image, bitmaps dont convert to svg particularly well
 
I mean, bitmaps convert to svg as well as any other matrix-based image
 
yeah, I asked my boss why not use the .svg, but he's like "well the png is a vector anyway"
 
1:11 PM
where the fuck does it say png is a vector
IT HAS PIXELS
 
yeah I was confused, too, like....just because .png allows you to have empty backgrounds doesn't mean it's made of vectors
 
Hope you corrected your boss
 
but yeh, if the browser is doing the resizing, it isnt the most elegant, best to make multiple sizes and use something like Interchange
 
There's a good chance the creator of that image told him that
 
yeh png != vector xD its raster
 
1:13 PM
idk about "correcting," but I questioned him when he said .png was a vector
 
@Freerey this is overkill, but might be what you're after zurb.com/playground/foundation-interchange
 
like "are you absolutely sure..?"
 
but yeh, browser resizing isnt exactly good compared to something like Gimp/photoshop
I swear it just uses nearest neighbour or something
 
what I was considering was programmatically resizing the image in real time
so the page would render its own properly-sized version of the .png
 
@Freerey why and with what?
 
1:15 PM
idk with what; I was looking at one solution on stack, but I forgot what it was and it didn't work anyway
 
yeh... .Net's in built bitmap thing is not that great
we use it for creating multiple sizes of product images with a single upload, but the quality is not on par with whipping up a script for photoshop and having that produce them for you, unless you like lots of artifacts that is
 
aaand trying to open up the interchange demo results in a 522 error....nice
 
odd, looks fine on chrome
no idea why that's happening, seems ok for me, all interchange does is take an array of image links for diff sizes then updates the image source on window resize
the idea being you only serve the correct image size, and dont auto download all the sizes
 
it's not that interchange is broken; it's that the page for the demo won't load at all
 
oh, lol i didnt actually try the demo lol
ah, mixed contect, blocked in chrome
no wait, ignore that, thats something else lol
 
1:20 PM
aand trying to download the app fails, too, so something's wrong with the site
 
yeh something's up for sure
oh well, if it ever works, might be what you need
im sure there's plenty of alternatives out there
 
they don't seem to have an .svg file anywhere for these, so I guess I'll just have to make a smaller version when I get home
 
1:48 PM
Dynamically resizing it can be done using ImageMagick if that is what you want
NuGet Image.NET lets you do it in .NET
 
too late; he gave me an .svg lmao
 
Open it in a browser and zoom in, make sure he didn't just convert the png lol
 
omg the scm powershell console is aids
 
nah I can tell just by applying it tot he page he didn't just convert the png
 
4 hours ago, by Captain Obvious
I DONT KNOW HOW TO POWERSHELL
 
1:51 PM
in C#, when you modify a string, lets say concatinate another piece of string to an existing one. does it internally create another copy?
 
It creates the resulting string
The other strings stay where they are
 
does it override the old one and then deletes it? or does it still keep the old string?
 
// Will create three strings: "String number", "one", and "String number one"
string1 = "String number " + "one"
old string stay in the system
 
is there a way to delete the old ones?
 
Don't worry about it. Also no.
 
1:54 PM
@hazmatsuit Strings are immutable, so once they're made they cant be changed, changing it just creates a new string with the changes and updates the pointer iirc
 
In computer science, string interning is a method of storing only one copy of each distinct string value, which must be immutable. Interning strings makes some string processing tasks more time- or space-efficient at the cost of requiring more time when the string is created or interned. The distinct values are stored in a string intern pool. The single copy of each string is called its intern and is typically looked up by a method of the string class, for example String.intern() in Java. All compile-time constant strings in Java are automatically interned using this method.String interning is...
 
@hazmatsuit old ones should be picked up by the GC i think
 
ah got it
 
Yeah but this powershell console has no tab to autocomplete at all, no hinting, and worst of all
If you fuck a command up you have to wait literally minutes
 
Blame IT for bad VPN
 
1:55 PM
YAY, "Blame IT" is a phrase we use round here when we don't know what happened lol
 
I'm IT tho
Also I can connect to the server fine from my PC
It's the app service plan which can't connect for some reason
The name resolves good so I can't even blame fucking DNS
 
So if i need to modify a string many times, its better to use StringBuilder?
 
Depends, why are you modiying it so much?
 
@hazmatsuit Yes
Or a char[], depending on how you manipulate it.
 
good stuff
 
2:06 PM
Turns out I didn't wreck my login feature, I just couldn't type the correct password for some reason lol
So yeah, it works now: teambuilder.z6.web.core.windows.net
For some reason though the chat doesn't actually show the sent text now, damnit
Also chat doesn't show the name of the sender
It's a long way to go lol but at least the deployment works now
 
what are you actually doing?
 
I don't know either damnit
I'm trying to build the Teambuilder, a tool for people to make teams. Like if there are 20 people it can get pretty crowded in a whatsapp group trying to make teams of 5. So this is supposed to let people create teams and join/leave them.
Supposedly pretty simple. Seemed simple enough too when SiT built a WPF app. It got more complicated when I tried making it a WebApp.
 
so like Teams?
can probably stick your blazor in electron later
 
Electron's not going to happen
Like Teams but with global chat lol
Like a very very, very small cousin of Teams
When I'm far enough, I'll make it a PWA. No electron involved.
 
2:21 PM
smack some css on that bitch and ship it
 
Wait so are you CI-ing it now through Devops?
 
2:35 PM
I wanna bang a coworkers head against the wall
Uses the GIT repository as a TODO list
And commits pending/unfinished files
 
I see no problem with this as long as it's not in a branch which gets built
 
Master branch
 
oh lol
 
I think my boss realized png =/= svg
cause now he's made .svg versions of all our logo variants
 
I was reviewing changes to submit the database guys changes request and didnt undestand WTF was going on
 
2:55 PM
@Freerey leeel
 
Hey that's good
SVG <3
 
Hey hans get in the dioscord
 
:o
 
Cleptus you too you're regular enough
 
2:58 PM
im at work atm, dont have discord on the work laptop ;-)
I might include the server on my desktop tho
 
TIL the Korn shell wasn't named after the band; the creator's last name was Korn
 
@CaptainObvious CI/CD happens in Gitlab
 
#notinvited :(
lol
 
@Freerey Nice
 
I mean the link is in the topic
Everyone is invited
 
3:04 PM
@DAustin in the starboard (valid today)
And in the descirption
 
j/k :P same issue as clep, at work atm so no go on discord
 
(valid for eva)
@DAustin I have it in a new tab
and that tab pinend
so one can't really reconize it
 
are teh rulez the same as here?
 
No
They're better than here
 
awesome
will check it later
:D
 
3:05 PM
Beter, d'oh
 
Less angry mods suspending people for "inappropriate" messages
 
More jiggely tits
 
xD
 
especially if roel is let loose
 
inb4 BAND
 
3:06 PM
only if they're hand drawn japanese ones right?
 
Might have to make a nsfw/weeb channel
 
@CaptainObvious xD
 
change might, to must
 
Only if you join
 
i dont intend on lowering the tone, but it wont stop me looking :P
 
3:07 PM
@Squirrelintraining Release the lewds.
 
unless the gf is in the room ofc xD
 
Also we have voice channels, not that anyone has joined them yet
 
@CaptainObvious Did wonder, would be good for a giggle
 
@DAustin Men of culture appreciate the art that is hentai. Your GF should appreciate your interest in the artistic ways.
 
You'll be able to here everyone speeaking in ACHTUNG and GEKOLONISEERD
 
3:08 PM
@Hozuki 😂
 
@Hozuki I had to explain to her what that word meant the other day, so should be entertaining lol
 
👴 back in my day that wouldn't have happend
 
"HEY BABE LOOK AT THIS GIRL WITH HER PET OCTOPUS! I admire the hatching technique of the shadows on the suckers"
lmao
dont think it would go down too well
brb
 
@mr5 im back
why cant a Majestic Green Flaming Lion just get a holiday in peace?
 
oh boi I heard some good news
 
mr5
3:12 PM
@Wietlol welcome back!! we thought you had the rona.
 
the virus might finally be handled late next year
 
mr5
but I saw you glancing here then immediately leave as soon as I mentioned your name 😂
@Freerey the other vaccine with 94.5% success rate?
 
I didnt even notice it
 
yep
 
We'll see. Vaccines are on their way, but we still have to wait a bit. For one to complete testing, then to actually produce enough doses for...well basically everyone on the planet probably.
 
3:13 PM
probably you wrote a message and then the user list got updated... which I was not in any more
 
"Late next year"
....
 
mr5
@Wietlol where have you been then?
 
I was expecting the virus to not be handled until mid-late 2022
 
in my cave :D
 
I need a holiday dammit
Wiet get in the Discord
 
3:14 PM
why?
 
Because nazi mods
 
I almost wanna ask how I've managed to not get the virus yet, but it's cause I actually follow guidelines
 
hmm... that is a fair argument
did anything special happen in the past 3 weeks?
 
Suspensions galore
 
or just still the monica business?
 
3:15 PM
I've been suspended like 3 times in the last week
 
and I thought I was being suspended a bunch
 
I mean 2 of them are in the last 48 hours
I think the other one was wednesday or thursday
 
mr5
kek
 
I have never been suspended... except... that one time with the thing... and that other time with the other thing... and the thing with Caprica... and... ok, I have been suspended a few times
 
And you can make a bot for discord ezpz
Unlike stack which is just bad
 
3:18 PM
apart from the ip blacklist, it works fine...
except the cookies handling, which was weird... and the login api is not really an api... and... hmm, I guess it is just bad
still, I managed to get 100% delivery rate from Wietbot to SO
independent of what messages or how many
 
HELLO
That's a lot of cyrillic characters
 
Sure I do
@Wietlol You havn't been here for ... ages?
 
I use serilog so I can't help sorry lol
 
3:21 PM
What happend?
 
He got suspended by the mods probably
 
That actually makes sense
Suprisingly.
 
Funny, my bank company categorizes EK hardware (water cooling related) under "house/home"
 
@Squirrelintraining holiday
 
@Wietlol Nice
 
3:22 PM
for 3 weeks
 
Come join the new discörd
 
oh no, another advertiser for datcord?
 
@Squirrelintraining FindRuleByName return null. can you help me?
 
Captain Obvious already tried to convince me
 
@Wietlol Only cuz it's the quickest to set up and can run in Bowsa
@ИванОнищенко Sorry no
Doesn't ring a bell.
 
3:23 PM
@Squirrelintraining ((((((((((((((((((((((((((((
 
on the interesting part, it might be a good excercise to link Wietbot to Datcord as well
for one, ill have experience making a Datcord bot
and I also get to make an actual second client for Wietbot
it would take a bit to figure out the formatting and stuff tho
although, I mostly solved that when making the website
 
Sounds liek a good plan
We even have a sand-box channel for that
‡™
 
I wonder if it's possible to put an asp.net <navigation:sidenav> under the main content when the page is shrunk enough
 
4:00 PM
that feel when me and some team lead work on the same issue and we both make merge requests by accident and my code is much cleaner
oh sweet jesus the joy
 
☰ turns out the menu button is now a Unicode value
 
@ИванОнищенко I never needed FindRuleByName. Why you need it?
 
fkin hell boys and girls, so HR is late for our interview today, has asked the recruiter to push it back, turns out the interview is for someone who applied directly so no idea who HR and the recruiter were talking about lol
just rang him and he seemed pretty clueless too lol
this interview should have started 8 mins ago xD
left it with HR to sort out, YOU HAVE 1 JOB!
 
like when our HR didn't know, that a phone number in the DB were interviewed once, and they asked him to interview again.
our senior developer, who didn't accept the candidate was pretty surprised to see him again...
 
@ntohl lol, seems like if I want to do nothing all day I picked the wrong career
 
4:11 PM
@DAustin preettty much....
 
Hello
 
I have some daunting stories
 
I've just started using asp.net, but have a confusion.
I still dont understand wwwroot and Pages
for example, if i want to link to an image how would i do that? ../wwwroot/image.ext?
and also, can html files be present in wwwroot
and how is wwwroot the root of the website if Pages/index.cshtml is the one im redirected to?
 
Jun 17 '19 at 13:37, by ntohl
the 3 months, which was mandatory from my part, because I quit
read from there...
 
wwwroot == /
 
4:14 PM
pages?
 
@ntohl Will do after i get this interview out of the way, if it happens at all
so wwwroot/images/image.png would equate to www.youwebsite.com/images/image.png
anything can be in wwwroot, but if you need to serve .html out of there then you're doing something wrong
@ntohl That's pretty rough
no need to be assholes because someone wants to leave
 
someone just offered me his vcr
 
also she made decisions about my payment... Which is pretty... I would fire her in the first sight thing...
apparently she was so recognized, she got someone to work for her. She did not much anyway, from that point she didn't need to do that anymore...
 
4:33 PM
but then whats the Pages/ directory
where index.cshtml is stored
 
What framework
Also it's probably just that folder in your project, not in the published version
If you want to link static content in the WebApp, the static content needs to be either under wwwroot or on another server
 
@DAustin 😂
 
all she did was sending a mail with a meme each friday to fill the timesheet. It didn't matter if the meme is appropriate for the timesheet or not...
 
Have nice day of work kids
 
@Squirrelkiller asp.net of course
@Squirrelkiller then why are all cshtml files in Pages
 
5:25 PM
asp.net MVC? Or Blazor?
@OmerHijazi Are they in the published version in that folder too?
Also: because they aren't linked directly like the content in wwwroot, they're part of the dynamic content of the WebApp.
 
@ntohl Jesus that's petty
thankfully HR here isn't that petty, it's just they'r enever actually here unless someone quits like me :D
 
5:49 PM
@Squirrelkiller mvc
 
6:02 PM
Good morning :-)
I'm having some trouble getting started with Azure DevOps if anyone here is familiar with DevOps.
 
6:24 PM
Yes, what are you trying to do?
 
6:40 PM
I have been unable to set up an Agent Pool with local agents.
I asked on SO.
I have a book on the topic and I've reviewed MS documentation, and what I see in my browser is completely different from what is in the documentation as I describe in my question: https://stackoverflow.com/questions/64862353/how-to-find-agend-pools-settings-in-azure-devops
 
Yo
Uh
If you're getting started, have you tried the hosted agents?
It might be worth giving those a try (you can do 1 for free) and see if you like devops
 
Hosted agents work just fine for testing purposes, but I've been asked to set this up for a project that must build and deploy behind a private firewall, so I can't use them in my production environment.
 
is there a good quick guide to c#?
ive read the textbooks on c# and know c++ well
need to pass a test in it to get a job
 
Uh
That's a wild question
 
not so wild for a c# chat
 
6:52 PM
@Vivian Ah okay
I thought it was a more general "ive never used devopsand I want to try it" type question
 
@CaptainObvious I've used DevOps a tiny bit in the past, so for most intents and purposes, I am new to it.

However, I do not understand why I cannot find the page of settings for this basic thing according to the MS documentation.
 
Yeah unfortunately I haven't tried the local agents
I use it for basically all my builds and then the pipelines push into Octopus deploy and I runt he deployments through there
 
The settings page looks like this in the documentation: docs.microsoft.com/en-us/azure/devops/pipelines/agents/…
But in my browser view, I do not see [Organization Settings] and I do not see [Agent Pools]
It feels as if they simply removed these from the interface and left them showing in the documentation.
I can't make any sense of this at all and I'm completely stuck.
And I haven't been able to find any help.
 
Umm
Hold on I'll check my devops org
 
The documentation is dated September 2020, so it shouldn't be out of date.
In my SO question, I included a screenshot of what I see so you can compare it to what is in the documentation.
 
7:00 PM
Oh yeah it says you need to go into your organisation settings (at the bottonm left)
Then you'll see th ebuttons you're looking for
 
::facepalm::

Why did they move that??? :-(
Thank you @CaptainObvious.
I was feeling really stuck!
 
The organisation settings button?
It's been there as long as I can remember
You're welcome. We like to be helpful here
 
Perhaps in the documentation, they did the screenshot with a small browser window so that the button appeared to float below the list of organizations.
 
7:59 PM
lol my coworker's son might have had covid 🤪🔫
 
Test
@Freerey congratz
!~sandbox
 
@Squirrelintraining Please go play in the Sandbox
 
Jack, sandbox
 
"Go play in the sandbox"
 
Yooooo
 
8:16 PM
is there a heap data structure in c#?
i cant find one in collections
 
I mean technially yes
 
8:39 PM
Hello friends!
 
omg
IT@S ALICE
ALIVE
 
[Captain Obvious (on Discord)] ALL HAIL BOTS
 
9:02 PM
Hello friends!
 
Screw this
 
[Captain Obvious (on Discord)] Hey it works
[Captain Obvious (on Discord)] We can now communicate both ways
[Squirrel in Training (on Discord)] Hussa
 
[Captain Obvious (on Discord)] omg
[Captain Obvious (on Discord)] the future is here
[Squirrel in Training (on Discord)] The future is ours!
[**** (on Discord)] Admittedly, that is damn cool. Well donez.
[Captain Obvious (on Discord)] Knocked together in about 3 hours
 
Wtf
Wait did yoi wipe out your nickname then change youe username or something
 
9:16 PM
Yeah. Something like that. Set a nickname, removed it, changed account name to Hozuki.
 
[**** (on Discord)] Now I have a nickname. Let's see.
[Captain Obvious (on Discord)] Hmm okay. Remind me in the morning to sort that, and html encoding for message's with apostrophes and other <crap>
[**** (on Discord)] Noted. Will do. Gonna walk the doggo now anyway.
[Captain Obvious (on Discord)] Sick
 
 
1 hour later…
10:25 PM
Hey Guys, when you have a Type parameter in a function, is there a way to pass it to a method with <type>
as the type
 
[Captain Obvious (on Discord)] What do you mean
[Captain Obvious (on Discord)] As in you dont know how to use the typeparam?
[Captain Obvious (on Discord)] Or do you mean you're wanting to pass a TypeParam after you recieve an instance of type
 
10:44 PM
so i have Type as a value
for this function
JsonConvert.DeserializeObject<T>(json)
function(string json, Type type){
JsonConvert.DeserializeObject<T>(json)
}
if could do if(type == typeof(class1) for each type but that seems like the wrong way to go
 
[**** (on Discord)] Generics
 
11:10 PM
woa so this is a thing now, huh?
 
[**** (on Discord)] awesome lmao
[Captain Obvious (on Discord)] Yeah theres a couple of bugs I need to tidy up which I'll probably do at work tomorrow
[Captain Obvious (on Discord)] Like if you don't have a nickname set on discord then you just have no name on the stack message
[Captain Obvious (on Discord)] And html encoding for dodgy message content from stack to here
[Captain Obvious (on Discord)] Don't really care enough about oneboxes and multi line messages from stack so they'll probably remain dodgy
 
06:00 - 13:0013:00 - 00:00

« first day (3684 days earlier)      last day (1268 days later) »