« first day (3545 days earlier)      last day (1397 days later) » 

2:53 AM
SkyVerge support is slow af
 
3:12 AM
SkyNet will get the job done
 
 
1 hour later…
mr5
4:37 AM
hello
 
5:12 AM
wasup
@mr
@mr5
 
mr5
wasup c0de
how ya doin
 
coding angular
and c# and db stuff
 
mr5
nice
have you tried blazor?
 
Morning o/
 
wuzthat
 
5:25 AM
C# Frontend framework
Gets compiled to a dll, dll gets sent to the browser, browser has Mono-runtime in WebAssembly and runs dll.
 
omg
 
Master is completely sufficient, but thank you very much.
 
5:52 AM
xD
 
yo how do I strikethrough in normal stackoverflow
 
never did... fish
check for markdown?
 
Sys a lot about headers and bold/italics, but nothing about strikethrough :/
 
132
Q: Does Markdown have a way to express strikeout?

Billy ONealI've been using <s> to put strikeout in posts -- is there a Markdown way of doing it? It seems like -[Text here] would make sense, hehe :)

 
Ok guess I'm using html, thanks!
Ok can someone tell me what happened in my CMD jsut now?
>cmd /C "exit 6" & echo %errorlevel%
9009
Why is it over 9000?!
 
6:14 AM
split it into second command
 
morning
 
6:34 AM
o/
Oh I have the right one now: cmd /C "(exit 6)" & echo %errorlevel%. This was for testing how to convert an exit code 5 TestsNotRun from NCrunch to exit code 0 OK for gitlab ci to recognize as successful.
And I was jsut wondering how the fuck it makes 9009
 
7:01 AM
GoOoOoOoOoOoOoOoOoOoOoOd Mornin' pleberinos!
@Squirrelkiller tripple dash
 
ohio!
Where is Proxy?
I miss him
 
He's dunk, sleeping.
 
Awesome, our dirty city is in extra lockdown today woooo
 
wietlol was drunk too
so many drunks these days -_-
which dirty city?
 
mr5
omg
 
7:15 AM
why you made it dirty? smh
 
mr5
this Swift is so infuriating to use.
 
7:29 AM
@Squirrelintraining As with the usual consistency with stackoveflow's markdown, triple dash doesn't work in answers.
@mr5 use a different Swift then
 
morning dickheads
 
@Squirrelkiller Yeahy \o/
Hey breakfast, how you doing?
 
lol
 
molto bene grazie
 
7:54 AM
@Shad Stack markdown strikes again
You can just search "markdown" in the transcript and like 90% of it is complaining about stack's crap implementation(s)
 
Hi folks, I discovered a new phenomenon as follows. :-)
0
A: C# - What does "\0" equate to?

Too Fat Man No NeckI just found a good example in which \0 is very important and necessary. Assume we want to remove the last unwanted , in the following code. for (int i = 0; i < 5; i++) { foreach (var a in "Money") Console.Write($"{a},"); } If we only add Console.Write("\b\n"); as follows, for (int ...

 
@bradbury9 There's a reason people like my mum (used to work behind a bar) wear their watches on the inside of their wrist. If you do happen to make that mistake, at least you'll throw your pint on someone else, and keep yourself dry
 
good morning
 
@TooFatManNoNeck that's hack
 
8:10 AM
that is just a backspace, and nothing relevant to the question
 
mr5
@TooFatManNoNeck that is a strange behavior. Considering \b means backspace and would regard by console to delete the previous character which is ,
 
nah it delete any previous char
!~="ironman\b\0"
!==ironman
 
@TooFatManNoNeck as ntohl mentioned, it is a hack, the behavior of the null character in some low level apis would terminate the string, because the strings get converted from sane level storage to null-terminated storage
using Console.Write, you make use of this low api and therefor it has the effect you tried to make
however, it is a clever solution, a solution that works because of the environment/implementation detail
 
mr5
oh yeah
 
those solutions often obscure the reason why it works and can often break on updates
 
mr5
8:15 AM
I forgot consoles are null terminated
 
and they only work for very specific situations
 
all consoles null terminated?
you might find yourself, where it's not working.
 
apis are, consoles often arent
iirc
 
8:30 AM
That's because consoles suck PCMR etc
 
hmm
 
mr5
PSMR
stands for PowerShell MasterRace
 
powershell is not good
 
mr5
yeah who says it's good
Bash/Terminal ftw
 
eg
A.include(x => x.B) //I want to apply where condition on B
how can I add where condition in with my included entity when using linq?
 
8:36 AM
there is no such thing. Don't include B if you don't need it for all of the As
wait.
A.Include(x => x.B).Where(x => x.B > 4) doesn't work?
 
@all: so what is the best substitution for \b\0\n if I want to remove the trailing comma?
 
mr5
14
A: Conditional Include() in Entity Framework

HopelessFrom the link you posted I can confirm that trick works but for one-many (or many-one) relationship only. In this case your Post-Attachment should be one-many relationship, so it's totally applicable. Here is the query you should have: //this should be disabled temporarily _context.Configuration...

 
switch it up with if (i == 5) Console.WriteLine else Console.Write
 
.Trim(',')
 
Trim does only work if it's not going already to Console
 
8:40 AM
ok xD
 
!~>",i,r,o,n,m,a,n,".Trim(',')
!=>"i,r,o,n,m,a,n"
 
still. You are evaluating strings. You can construct a string before writing it to the console, but there is Console.Write in the foreach
 
mr5
!~>string.Join(",", "Money".ToCharArray())
 
writing out , on the console, you can't trim it later
 
<!>Argument 1: cannot convert from 'char' to 'string'
 
8:43 AM
^ that is good
 
!=>"M,o,n,e,y"
 
mr5
I suppose nyc's bot is running .netframework
manipulate the string first before feeding it into the console.
it's much easier that way.
 
!> info
!~ info
 
@CaptainObvious Maybe you meant: info
@CaptainObvious I awoke on Tue, 16 Jun 2020 05:59:48 GMT (that's about 14 days ago), got invoked 35 times
 
!~ about
 
I can't remember what the command is to get the detailed info
 
which one...
!~>info
!=> Runtime
- Elevated: True
- Memory: 1232180
Compiler
- Type: Roslyn
- Provider: Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider
- Version: 3.300.119.46102
- Parameters: /langversion:8.0 /lib:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8"
References
- Libs: run 'listLibs[page]' (450chars per page)
- .NET version: 4.8.3761.0
 
wait wtf
Oh well there you go @mr5
She's running netfx48 but explicitly compiling with c# version 8
And for some reason it's running elevated?
!~>Environment.MachineName
 
-!!>Request for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
 
@Wietbot evalcsharp Environment.MachineName
 
8:52 AM
169
 
that's an interesting machine name
 
mr5
169 hehe
@CaptainObvious so Roslyn is the OSS version of .netframework right?
 
@CaptainObvious why?
it doesnt even have a backspace in it
not interesting at all
 
@mr5 Roslyn is the compiler and friends for dotnet
It's essentially OSS Msbuild
I think
ANd other analysis and etc tools
 
elevated because compiler didnt clearing their temp stuff properly, still not sure why
 
8:58 AM
Let's find out more about Wietbot's environment
 
aws lambda?
azure functions?
 
@CaptainObvious be my guest
 
@Wietbot evalcsharp string.Join(",", typeof(Environment).GetProperties().Select(x => $"{x.Name}:{x.GetValue(null)}")));
 
javax.script.ScriptException(<eval>:1:68 Expected , but found {x.Name}:{x.GetValue(null)}
;string.Join(",", typeof(Environment).GetProperties().Select(x => $"{x.Name}:{x.GetValue(null)}"))
^ in <eval> at line number 1 at column number 68)
javax.script.ScriptException(<eval>:1:67 Expected , but found {x.Name}:{x.GetValue(null)}
string.Join(",", typeof(Environment).GetProperties().Select(x => $"{x.Name}:{x.GetValue(null)}"))
^ in <eval> at line number 1 at column number 67)
 
maybe azure have faster c# compiling than aws
 
9:00 AM
javax.script.ScriptException(<eval>:1:67 Expected , but found {x.Name}:{x.GetValue(null)}
string.Join(",", typeof(Environment).GetProperties().Select(x => $"{x.Name}:{x.GetValue(null)}")))
^ in <eval> at line number 1 at column number 67)
 
evalcs ~= evaljs
 
Microsoft.CodeAnalysis.Scripting.CompilationErrorException((1,98): error CS1002: ; expected)
 
it looks at your typo and it doesnt exist
 
That's retarded
 
9:01 AM
so, it tries to find something that looks like it
 
oh, the Environment
 
@Wietbot evalcsharp string.Join(",", typeof(Environment).GetProperties().Select(x => $"{x.Name}:{x.GetValue(null)}")));
 
Microsoft.CodeAnalysis.Scripting.CompilationErrorException((1,98): error CS1002: ; expected)
 
sandbox tho
 
9:02 AM
@Wietbot evalcsharp return string.Join(",", typeof(Environment).GetProperties().Select(x => $"{x.Name}:{x.GetValue(null)}")));
 
Microsoft.CodeAnalysis.Scripting.CompilationErrorException((1,105): error CS1002: ; expected)
 
you have one too many close parens tho
 
!~> var str = "Money"; foreach(var item in str.Select((x, i) => new { Value = x, Index = i }))
if (item.Index == str.Length - 1) Console.WriteLine(item.Value); else Console.Write($"{item.Value},");
 
<!>Invalid expression term '.'
!=>"{void}"
 
yeah. Bot doesn't write to console
@Wietbot evalcsharp var str = "Money"; foreach(var item in str.Select((x, i) => new { Value = x, Index = i }))
if (item.Index == str.Length - 1) Console.WriteLine(item.Value); else Console.Write($"{item.Value},");
 
9:07 AM
Result: null
Output:
M,o,n,e,y
 
Does @wietlol is @harry?
 
no
 
Hmm
Also why doesn't wietbot get built via some CI solution and then uodate like magic
Also also why is your Users folder on the D drive
 
Old windows maybe
ihave a lot of harddisk have Users folder
 
@CaptainObvious why do you think it doesnt?
@CaptainObvious I am master of deception :D
 
9:17 AM
Because it's compiled from D:/users/harry/ideaprojects
 
and what makes you think I didnt use @Harry as CI container?
 
The moral I learnt today is:

When saving "abc\bd" to a file, the saved string is no "abd".
 
hmm. You should learn. Don't hack
 
it would be abcd
backspace and delete are actually characters, like a, b and c
I used them a few times in passwords :D
 
The saved string is still "abc\bd". But when this saved string is displayed on the monitor, the monitor will use its own convention to interpret \b.
The same thing for printer, it will interpret \b properly. It is time to take a rest. Bye bye guyz!
 
mr5
9:25 AM
the \b is still there. the text renderer removes it
 
@mr5: Yes.
 
mr5
it's not the monitor
it barely knows anything
 
@mr5 Transistor. :-)
 
mr5
still no
 
9:40 AM
\o
 
o/
 
thats the real reason i was gone for 3 months
 
@Harry what is the real reason?
 
im wiet 2.0
 
Jul 1 '19 at 13:23, by mr5
That make sense since Wiet=Harry irl
it has been an ongoing thing for quite a while
so, I just shamelessly use the name "Harry" :D
 
9:52 AM
wow its been a year
where's kieran these days
 
<0>
 
ok Rider, I get it, it is about exceptions
 
<o>
 
10:16 AM
!~shiba
 
indeed
 
o/ Avner
 
10:20 AM
hey @AvnerShahar-Kashtan
 
henlo
 
we missed you <3
 
How've things been around here?
 
@Neil @Squirrelintraining @Squirrelkiller he's here! :P
 
mr5
o/ avnir
 
10:21 AM
what about you?
 
hey av
 
I am fine
 
Me? Life, you know. Working from home, life goes on.
 
yeah...it certainly does
 
More bots
 
10:22 AM
so many beginnings and endings in between
so weird... xD
and cool
 
@Shad Oh greeat he's loose!
Hello AVNI
How's spying google going for you? ☺
 
mr5
hey
do you think it's a good idea to show off our workplace from our home here? :D
 
@Squirrelintraining Pretty good. Getting the hang of things. Still tripping up over C++ pointer ownership hassles.
 
mr5
like avnir didn't have access to our machine's camera.
 
Why use C++ if you could use Rust? :lemmy:
 
10:24 AM
Don't be silly, it's Google
They'll just create another new language to solve the problem
 
:D
@AvnerShahar-Kashtan Good to hear that everythings fine on your end ☺
 
C++ is very good at not telling you exactly what's bothering it.
 
mr5
if you like to make your life hard, use C++
 
@mr5 life advice for the uninitiated
 
I think you mean
 
10:31 AM
@AvnerShahar-Kashtan 😂
 
@AvnerShahar-Kashtan trying to understand some C++ myself lately, I can confirm this frustration :D
 
ahh fuck it
 
Java:You shall have no other gods besides me
@Wietlol
;)
 
10:55 AM
I just had to switch to Avnis DNS again cuz ours is down right now :/
ENJOY MY DATA AVNER WHILE U HAVE IT!!11!1!
 

« first day (3545 days earlier)      last day (1397 days later) »