« first day (3632 days earlier)      last day (1301 days later) » 

1:01 PM
guys
GUUUYS
I DID IT
I AM THE MASTER OF THE DATA
 
you used the toilet for the first time?
 
do you guys know how to edit or where to find the default Visual Studio code snippets?
 
1:19 PM
you mean like the stuff that automatically appears in the .sln when you start a new project?
 
lmao my firewall blocked that
 
No i jsut failed.
It's http not https
 
@Freerey no, code snippets are like shortcuts you can type that autocomplete into something
 
rly
oh
 
1:21 PM
like cw + tab x 2 => System.Console.WriteLine();
 
so that's what they're called eh?
 
Here the english version giybf.com
@Freerey xD
 
nO
 
I've written my own code snippets.
 
what's this google thing you're talking about?
 
1:22 PM
I see now you can do that hmmmm
 
never heard of it
 
For like string.Empty, string.IsNullOrWhitspace, creating methings etc.
@JansthcirlU Dunno, all I know is bing
 
the annoying thing about using google
is that everyone and their grandma ask about VS Code code snippets
and not just Visual Studio snippets
so google isn't very helpful in that regard
 
BING IT
honestly idk and now I wanna know
 
@JansthcirlU Do you need vscode or vc code snippets?
I am a master in VS Code snippets
 
1:25 PM
I need Visual Studio snippets
not VS Code
unfortunately
 
Oh thats easy
Gimme a sec
 
oh wait I found a depressing answer
turns out Microsoft saves their snippets in multiple places and they don't like it if you overwrite them
 
@JansthcirlU I think this is the way docs.microsoft.com/en-us/visualstudio/ide/…
@JansthcirlU thats a lie.
 
I'm only saying what I found in that answer
 
@JansthcirlU uhhh one of the guys providing the answer has an extremely racist icon 😅
like wtf
 
1:27 PM
@JansthcirlU you can open the code snippet manager, follow the path to the code snippet and modify it any way you like.
 
cool @Squirrelintraining thanks for the link
 
I've done this for prop to change the default value from int to string
@JansthcirlU docs.microsoft.com/en-us/visualstudio/ide/… This might be helpful when creating your own code snippet
 
yeah I wanted to change the propdp thing to use an expression body and to omit the lines that tell you how to use it
 
@JansthcirlU Dis is easy. navigate with the code snippet manager to the right snippet, copy path from below, open in file in favorite text-editor (i.e. vs code) and then modify... PROFIT
 
excuse me my favorite text editor / IDE is notepad
you gotta give it a chance with the right extensions
 
1:31 PM
dude here is talkin about code barrel....pretty damn sure that's not relevant anymore
 
@JansthcirlU Then go burn in hell ♥
 
@Squirrelintraining you know what's weird, the propdp snippet is part of Visual Basic, not C# even though it's WPF
 
@JansthcirlU bruh I mean at least Notepad++…
you're probably better off using vim :P
 
no no, Notepad++ is the devil
 
@JansthcirlU I'm affraid you're wronq.
It's in Csharp > NetFX30
 
1:35 PM
anyone ever use eclipse?
 
eclipse in C#?
 
I used netbeans for java, but I knew a guy who insisted on eclipse
 
I suppose it makes sense to use heresy to work with heresy
 
@JansthcirlU Set Language to CSharp, navigate tot he NetFX30 folder and you'll find it there.
 
@Squirrelintraining oh yeah you're right
 
1:35 PM
THE SQUIRREL IS THE MASTERRACE!
 
confusing why they specifically add WPF commands in the Basic folder though
 
Yeah, confused me aswell.
But you can see the shortcut when you click on one.
 
so you know how VS '19 automatically recognizes and adds namespaces if you try to type a class name
 
@Freerey I assume that same guy is now either insisting on IntelliJ or VIM
 
@JansthcirlU yes
 
1:39 PM
if you have a snippet and you happen to import a new namespace while filling out the $type$ template, VS will skip your snippet shenanigans
in the process of adding the missing namespace
 
VS suucks
 
minor tidbit but acceptable given how many other things it can do
 
WietIDE is the next big thing!
 
I know your name has a different origin but please tell me it'll have light green and dark green themes by default
 
I imagine WietIDE as IntelliJ with a theme
 
1:42 PM
@Wietlol gdi that guy
I mean he was alright, but like....sometimes I would tell him something, he'd ask, I'd clarify, and then he'd ask me another question that I literally just answered for him
 
clearly not a concurrent brain user
 
that was easily the most stressful semester I've ever been through and part of it was cause apparently I was the best programmer on my team and people kept asking met his and that about the language
at some point I had to be like "STOP IT I'm not a library!!"
and yet they respected me for some reason, despite how batshit insane I was at that point lmao
that's key to leading a group: earn their trust and respect
 
@JansthcirlU You can define the namespace to import in the snippets..
@Wietlol Sadly this is true..
@Wietlol This on the otherhand is preposterous
Written correct? - No.
 
@Freerey I'm a framework at this point!!!
And then try teaching them the difference
 
@Squirrelintraining nah I'll just manually import the namespace first and then do the snippet
 
1:52 PM
@Squirrelkiller lol bruh back at that point I did not have the patience or willpower to do that; my head was hurting all the time that semester
 
@Squirrelintraining hehe
 
@JansthcirlU But but but but but it's easy
 
no it's ugly cause then I'll have a line with a using that I'll have to type AND move to the beginning of the file where it belongs
 
@JansthcirlU docs.microsoft.com/en-us/… here you don't even have to look it up :o
 
ok you know what
that's actually a pretty useful link
 
was a good prank though
 
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <Title>File Exists</Title>
      <Shortcut>exists</Shortcut>
    </Header>
    <Snippet>
      <Code Language="CSharp">
        <![CDATA[var exists = File.Exists("C:\\Temp\\Notes.txt");]]>
      </Code>
      <Imports>
        <Import>
          <Namespace>System.IO</Namespace>
        </Import>
      </Imports>
    </Snippet>
Add the <imports> after the <code> and you're done.
 
and while I appreciate the help, I don't feel like hard-coding all the possible imports in a snippet
 
@JansthcirlU Well i'ts funfriday after all.
Jack, funfriday.
Oh let's see if the . confuses him.
 
I'll just wait till Microsoft perfects their IntelliCode stuff so I don't even have to write my own code anymore
it'll just be all shortcuts
 
2:06 PM
Intellicode is gawd aweful.
imo
 
no idea, I don't really use it
 
....Come Again?
 
I use IntelliSense but not IntelliCode
 
Jack, funfriday
Friggn jack.
So bork
@JansthcirlU It's that star in intellisense suggesting the wrong property or wanting you to change selections based on the totally diffrent one you just created.
 
I figured yeah, but I ignore the stars cause they're mostly wrong
Microsoft is working on making it more accurate though
as demonstrated in this video
and here's another demo
 
2:18 PM
> Visual Studio IntelliCode uses machine learning to offer useful, contextually rich code completion suggestion
How about start comparing friggen DataTypes.
If i have an int id field I do not want to assign a List of dogs to it!
 
> simply offers last method you used from this type
 
EVEN IF THEIR NAMES ARE SIMILAR
>,<'
@Squirrelkiller ^ WHERE IS DIS MACHINE LERNING?!
Argh
VS is such a bad IDE
No wonder C# is deaded
 
If I learned anything from reddit, it just doesn't have enough if statements yet
Also VS is pretty rad IMO
 
@Squirrelkiller No.
Vanilla VS succs.
The debugger is great - yeah - but for coding there are so many horrible features.
 
2:20 PM
VS2019 made a big step forward once again
 
Something like ReSharper shouldn't need to exist.
 
Well R# has performance implications, so you couldn't just make it standard
 
@Squirrelkiller Truth, but still, no automatic brackets, ;, quotation marks if you open with$, closing brakcets there, datatype-context-predicitons
Damn there is so much core things off IMO.
 
Do you have R# at work?
 
The things I want arn't that big, they are quality of life things that i shouldn't have to worry about.
@Squirrelkiller We do, I chose not to use it because it frigged up my code-snippet behaviour.
 
2:23 PM
lol
Snippets are ctrl+j with R#
 
@Squirrelkiller Snippets are tab tab
prop tab-tab (okay one to many maybe but hey )
 
to execute yes, but I noticed with R# sometimes they don't actually appear in intellisense
 
And R# borked my personal snioppets, theywhere gone
Couldn'T access.
And i rely to much on empty -> string.Empty or anon -.> x => new { }
So no can use sorry.
 
I see
Turns out since being in this team, I don't actually have a good use case for snippets, except for test methods sometimes. Very strange.
 
orly?
How come?
You no code no more?
 
2:29 PM
maybe @Squirrelkiller just likes typing a lot
like a Starcraft player bumping up their APM, except it's WPM for them
 
Ryan Donovan on September 25, 2020
Welcome to ISSUE #39 of the Overflow! This newsletter is by developers, for developers, written and curated by the Stack Overflow team and Cassidy Williams at Netlify.  It’s a big, round milestone, so we’re celebrating the way we always do: giving you the scoop on future robo-coders, getting names for lonely lists, and marking the moment when Moment.js…
 
@JansthcirlU WPM?
Wraps per minute?
 
windows
actually words but that's boring
 
Things like string.E-tab I write faster than VS could execute a snippet
and bigger things like prop I use so rarely that I usually don't even remember to use a snippet before I'm done just typing it out
 
I bet I can type "" faster than you can type string.E + tab
 
2:34 PM
I agree, but sometimes I just want string.Empty
 
@Squirrelkiller wronq
 
@Squirrelintraining Remember that my Workstation isn't the fastest
 
e tab tab
finished
@Squirrelkiller oh the double tab makes sense.
the first is to complete the snippet --> e --> empty, the second one is to execute it.
But then it's not obvious.
The other guy won't know if you've just forgotten to add soemhting or if it should actually be an ampoty striung
 
There are several things I don't do as quickly as I physically could because my workstation would just not be fast enough to do it at the same pace
 
2:37 PM
What are the specs killerino.
How much POWA
 
Hey there guys! Does anyone know how to set Height in RelativeLayout in Xamarin to 15% of the sceen height?
 
That makes 2 of us!
 
What have you tried?
 
worst case scenario, use a binding that takes the screen height as a parameter?
converter*
 
2:41 PM
@juanvan HeightRequest = "{Binding Screen_Height}"
 
@Squirrelintraining i7-7700HQ @ 2,8GHz, 16GB RAM, NVIDIA Quadro M1200
 
If you set it manually to a value it's working in xaml?
 
@Squirrelkiller Howmany threads?
 
just the binding isn't working
 
Screen_Height is a public readonly variable which equates to DeviceDisplay.MainDisplayInfo.Width / 10;
 
2:42 PM
Also if I ever again use it without having it connected to power, the CPU goes down to 700MHz. I actually asked Fujitsu about this.
 
@juanvan Hmm.. then what do I have to add? I am new to this Xamarin thingy
 
@d4rk4ng31 you can use a value converter to return 0.15 * (double)value
 
@Squirrelintraining 4 Cores but 8 logical ones
 
@Squirrelkiller Then yozu got moa powa than me my friend..
 
where value in your case would be Screen_Height as a result of the binding you've made
 
2:43 PM
Check Telegram
 
What does he need a value convertor for?
 
you can't do computations inside a xaml binding, can you?
 
I'm thinking of my bool convertors - thinking thinking :)
 
@JansthcirlU I have no clue
 
check out converters anyway, they're really useful
 
2:45 PM
Sure
 
That they are, and you end up using them for all kinds of things
 
!~shiba
 
in the ui
 
leaving
bye
 
2:46 PM
auf Wiedersehen
 
\[o
wear your faceshield !
 
Tschuess
 
implying I ever go outside
 
Tschüß !
 
@Hans1984 Ah! Ich habe keine Deutsche SchluesselTafel. (Going out on a limb here to guess:P )
@juanvan I am guessing this was for me?
 
2:53 PM
Tschüsschen Küsschen Hanslilein ♥
xxx
 
Oh no! Germans!
 
@d4rk4ng31 did you figure anything out?
 

« first day (3632 days earlier)      last day (1301 days later) »