« first day (4499 days earlier)      last day (432 days later) » 

mr5
3:44 AM
@GeneYuss does the update needed to be persisted in storage at all times?
 
 
3 hours later…
7:00 AM
Im pasting huge text from debugger and doing another task, tot was "Not Responding", waiting like 20mins
 
7:34 AM
dont use notepad
use notepad++
it is much better in handling huge files
 
Good moaning
 
whereas notepad just treats it as a very long string, causing issues easily
 
okay...
 
Notepad++ is better with literally everything compared to regular Notepad.
 
i mean i take 20mins to figured out it wasnt not responding
 
7:36 AM
Opening 400MB log file in Notepad++ takes 1s on my work laptop
Never goes unresponsive
* stares on VSCode *
 
opening 2GiB xml file in Notepad++ is a pain tho... dont try it at home
probably because the highlighter wanted to do its best
 
What the fuck?!
 
exactly
 
dont try on server
 
What generates 2GB XML file? lol
 
7:37 AM
access logs
 
just a random service that provides us with license data of every single company
 
That's insane
 
and the best way that they came up with to share that data is to have a single xml file that people can just download
 
It's still a text file. 7zip should shrink it up for download quite well
 
oh yea, it is zipped
but not any more when I need to open it
 
7:39 AM
ehhh... Duty calls - time for cigarette and coffee
 
eventually, I just gave up and wrote a C# program to read the lines and figure out what the content was
"luckily" they provide a formatted xml file
 
@Darj how about 70+GB of pi
 
we have a new candidate for !nohello workchronicles.com/nohellodotcom
!nohello
||nohello
 
Invalid command! Did you mean: hellno, help, nope? Try help for a list of available commands.
 
Botler, nohello
 
7:47 AM
@Wietlol Sorry, I don't know that one.
 
wait, I am sure we already have one
 
Isn't it registered with James?
Ah, I see. Somehow I missed James doesn't know it.
Yes, it most definitely used to exist.
Botler, hi
 
^ There you go.
Botler, learn nohello workchronicles.com/nohellodotcom
 
Learned the command nohello
 
7:53 AM
Huh, I was honestly expecting to tell me I don't have a privilege for that
Botler, nohello
 
I try to stay away from the learn/forget commands...
 
Something you learn with experience
And then never forget
/stupid joke
 
I remember that one time when I tried to Botler, forget mysillycommand and it turned out that Botler, forget disregarding arguments actually forgets every user learned command
 
HARAMBE, NEVER FORGETTI
 
7:54 AM
and it did not have restricted access
 
@nyconing pi? Like the Math.Pi?
 
so ye, something I learned with experience, and now never forget
 
@Darj yes, pi is infinity
on fraction
3.1415161718......
 
So, lim (pi) => 0 ?
No, 3?
I had math sooooo long ago I forget most of the stuff
It's terrifying
 
@Wietlol Now I wonder what Botler, learn forget <whatever> would do. Yet I don't really want to try it in case it actually nukes the forget command.
 
8:03 AM
Botler, forget learn
 
@Darj Sorry, I don't know that one.
 
Botler, forgot forgot
 
@nyconing Sorry, I don't know that one.
 
Botler, unlearn unlearn
 
@nyconing Sorry, I don't know that one.
 
8:04 AM
Botler, commands
 
@Darj Sorry, I don't know that one.
 
Botler, help
 
All 'native' commands (you can get more by asking me help <command>): about, clear_commands, conf, discordintegration, cs, help, join, learn, leave, say, shutdown, tell, test, tts
 
Botler, cong
Botler, conf
 
@Darj Sorry, I don't know that one.
@Darj YOU'RE NOT MY MOM/DAD (you don't have permission to execute that this)
 
8:05 AM
I tested botler for forgetting learn
I think
 
Botler, tts what the heck?!
 
in JavaScript, Jan 22, 2021 at 9:13, by Wietlol
||forget forget
I may or may not have been in trouble for that one
 
Botler, learn "what did I forget" Dre
 
Learned the command &quot;what
 
8:12 AM
OK, not exactly what I expected
Botler, "what
 
did
 
pefretc
Botler, forget "what
 
@VLAZ Sorry, I don't know that one.
 
oops...
Botler, forget &quot;what
 
@VLAZ Sorry, I don't know that one.
 
8:15 AM
Well then... Erm, sorry, I guess.
Botler, sorry
 
@VLAZ Sorry, I don't know that one.
 
Botler, learn some_test_command with space response to the command
 
Learned the command some_test_command
 
Botler, forget some_test_command
 
@Darj Sorry, I don't know that one.
 
8:16 AM
I give you that - Botler is very forgetful
 
Botler, clear_commands some_test_command
 
All learned commands cleared.
 
Botler, "what
 
@VLAZ Sorry, I don't know that one.
 
Lol
 
8:16 AM
LMAO
ripperoni
 
I think it forgets it then responds that it doesn't know what you're talking about
 
Botler, nohello
 
@Darj Sorry, I don't know that one.
 
Oh, wait... "All learned commands cleared." missed that
 
I was expecting this syntax: clear_commands command1<, command2, command3...>
 
8:18 AM
Not unreasonable, I must say.
 
Botler, rollback
 
@Darj Sorry, I don't know that one.
 
Botler, manual
 
@VLAZ Sorry, I don't know that one.
 
Botler, learn manual i.imgur.com/AQvBOWz.jpeg
 
8:21 AM
Learned the command manual
 
Best I can do here.
 
Botler, learn nohello workchronicles.com/nohellodotcom
 
Learned the command nohello
 
Botler, learn idk thumbs.dreamstime.com/b/…
 
Learned the command idk
 
8:27 AM
Botler, idk
 
how can I teach parametrized command?
 
Learned the command idk
 
Botler, idk
 
8:28 AM
 
@ntohl you probably can't, bot is so primitive that it allows deleting all learned commands
 
8:45 AM
I wanted to teach welcome-c#
most used command ever
 
!! welcome-c# me
 
@{1} Welcome to the C# chat! Please review the room guidelines and tips. If you have a question, just post it, and if anyone's free and interested they'll help.
@me Welcome to the C# chat! Please review the room guidelines and tips. If you have a question, just post it, and if anyone's free and interested they'll help.
 
May 31, 2018 at 13:27, by Kendall Frey
!!learn welcome-c# "<>@$0 Welcome to the C# chat! Please review the [room guidelines and tips](https://stackoverflowcsharpchat.github.io/). If you have a question, just post it, and if anyone's free and interested they'll help." .+
 
9:33 AM
Botler, learn welcome-c# "<>@$0 Welcome to the C# chat! Please review the [room guidelines and tips](stackoverflowcsharpchat.githu…). If you have a question, just post it, and if anyone's free and interested they'll help."
 
Learned the command welcome-c#
 
Botler, welcome-c# ntohl
 
&quot;&lt;&gt;@$0
3
 
lol
 
mr5
Botler, shutdown
 
9:39 AM
@mr5 YOU'RE NOT MY MOM/DAD (you don't have permission to execute that this)
 
mr5
Botler, help
 
All 'native' commands (you can get more by asking me help <command>): about, clear_commands, conf, discordintegration, cs, help, join, learn, leave, say, shutdown, tell, test, tts
 
mr5
Botler, tell Botler, tell test
 
@Botler,, tell test
 
mr5
It pinged itself ha!
 
9:41 AM
Botler, tell Botler, tell Botler
 
@Botler,, tell Botler
 
that second comma is messing it up?
 
mr5
Botler, tell Botler tell test
 
@Botler, tell test
 
Can't have @
@Botler, tell test
Botler, tell test
 
9:42 AM
@test,
 
yup
 
mr5
Botler, tell /@Botler tell test
 
@/@Botler, tell test
 
mr5
Botler, tell \@Botler tell test
 
@\@Botler, tell test
 
9:43 AM
Botler, tell d@ _ @b
 
@d@, _ @b
 
ALMOST!
 
mr5
Botler, recursion
 
@mr5 Sorry, I don't know that one.
 
mr5
Botler, learn recursion chat.stackoverflow.com/rooms/7/c#
 
9:44 AM
Learned the command recursion
 
mr5
Botler, recursion
 

C#

General discussions about the c# language, Squirrels | gist.gi...
 
mr5
Stupid bot
I can't fkng solve my rework task ugh
The URL fragment is inconsistently being encoded/decoded and it's meant to determine which page to show up
 
someone put gpt here we will going lively
 
mr5
Someone integrate gpt into botler. That's the best outcome
Come on nyc, I know you can do it
 
9:56 AM
@Botler Wait, Botler has a permission system? Yet just causally allows wiping all commands by just anybody.
Botler, help test
 
test: **
 
Super useful
Botler, help learn
 
learn: *Learns *
 
mr5
Lmao
 
OK, more useful. But the bar was very low.
 
mr5
9:58 AM
Wtf just happened
 
Botler, help clear_commands
 
clear_commands: Clears all the command learned
 
Botler, test
 
@VLAZ YOU'RE NOT MY MOM/DAD (you don't have permission to execute that this)
 
> that this
 
mr5
9:59 AM
Botler, help learn
 
learn: *Learns *
 
I think that's just all the documentation.
 
mr5
Botler,.help
 
Or maybe can't read all of it because of newline or a weird character.
 
mr5
Botler, help
 
10:00 AM
All 'native' commands (you can get more by asking me help <command>): about, clear_commands, conf, discordintegration, cs, help, join, learn, leave, say, shutdown, tell, test, tts
 
mr5
Yeah, it's borked
It was working before iirc
 
Botler, help cs
 
cs: Enables you to compile and run cs snippets
 
Sounds super safe
 
mr5
Haha
Delete the file system
 
10:01 AM
I was thinking of while(true); to be quite honest.
Botler, cs 2+2
 
cs> 4
 
Botler, cs Console.Write("hello")
 
Script compilation error, dumdum:
(6,45): error CS0103: The name 'Console' does not exist in the current context
 
mr5
Botler, cs System.Environment.MachineName
 
10:05 AM
cs> vm2020TwitchTes
 
Botler, cs string s = "hello"; for(int i = 0; i < 3; i++) s += s; s;
 
Script compilation error, dumdum:
(6,93): error CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
(4,49): error CS0161: 'Script.Execute()': not all code paths return a value
 
+= is not an assignment?
What are you talking about?
Oh, got it. Its complaining about s;
 
mr5
Botler, cs 1/0
 
Script compilation error, dumdum:
(6,45): error CS0020: Division by constant zero
 
mr5
10:08 AM
Botler, cs .1/0
 
@mr5 Sorry, I don't know that one.
cs> Infinity
 
Botler, cs string s = "hello"; for(int i = 0; i < 3; i++) s += s; System.Console.WriteLine(s);
 
Script compilation error, dumdum:
(4,49): error CS0161: 'Script.Execute()': not all code paths return a value
 
What?
Maybe doesn't like the single line for?
Botler, cs string s = "hello"; for(int i = 0; i < 3; i++) { s += s; } System.Console.WriteLine(s);
 
Script compilation error, dumdum:
(4,49): error CS0161: 'Script.Execute()': not all code paths return a value
 
10:10 AM
There is no branching here!
Botler, cs string s = "hello"; for(int i = 0; i < 3; i++) { s += s; } return s;
 
Script compilation error, dumdum:
(4,49): error CS0161: 'Script.Execute()': not all code paths return a value
 
Or, wait, does it expect a return?
 
mr5
Try making the last line a variable?
 
cs> hellohellohellohellohellohellohellohello
 
*facepalm*
OK, so if you do 2+2 you don't need a return. But if you don't use a single expression, you do need one.
 
mr5
10:13 AM
Botler, cs int.Parse("one")
 
Well thanks, mr5. You broke me.

System.FormatException: Input string was not in a correct format.
   at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
   at System.Number.ParseInt32(ReadOnlySpan`1 value, NumberStyles styles, NumberFormatInfo info)
   at System.Int32.Parse(String s)
   at css_root.Script.Execute()
   at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
   at StackoverflowChatbot.NativeCommands.Eval.ProcessMessageInternal(EventData eventContext, String[] parameters) in D:\a\1\s\StackoverflowChatbot\NativeComm
 
10:28 AM
Botler, cs var s="var s={0}{1}{0};System.Console.Write(s,(char)34,s);";System.Console.Write(s,(char)34,s);
 
Script compilation error, dumdum:
(4,49): error CS0161: 'Script.Execute()': not all code paths return a value
 
*sigh*
Bother, cs var s="var s={0}{1}{0};System.Console.Write(s,(char)34,s);";System.Console.Write(s,(char)34,s); return s;
Hmm
 
play in the sandbox plz
 
Sorry
> Bother
 
don't bother
 
10:41 AM
 
 
4 hours later…
2:36 PM
I have a resx file, with a strongly typed interface. In my aspx file, when I do <asp:Literal runat="server" Text="<%$MyResource:Welcome %>" />, it shows the correct welcome message for my current culture. But when I do <span><%=MyResource.Welcome%></span>, it shows the English message regardless of my current culture. Why?
 
3:03 PM
Ryan Donovan on February 09, 2023
This affects the individual developer writing insecure code, the engineering team blindly trusting their dependencies, and the organization thinking that their best bet is to roll their own security controls.
 
3:13 PM
When editing a .resx file in Visual Studio, what determines whether the "Access Modifier" dropdown is enabled or not? In one of my projects I can choose between Internal / Public / No code generation, but in another project it's greyed out.
 
 
1 hour later…
4:27 PM
[Captain Obvious] No idea
[Captain Obvious] For the first one though, are you using asp forms because if so then lol
 
4:49 PM
I am having a Xamarin forms error when I try to upload to the play I get the error 'android:exported' property not set.
 
5:46 PM
Do you use firebase?
@Jeffersion Ok different question actually: Have you exported all your activities that have an intent filter?
 
Yes, I'm using asp.forms. I now suspect that my page changes its culture halfway through its life cycle, and my "<%=" tags execute when the culture is still English, and my "<%$" tags execute after it changes to French.
This almost-MCVE seems to show that "<%$" tags execute before Page_Load, and "<%=" executes afterwards. Which is the exact opposite of what my horribly complicated real code does.
 

« first day (4499 days earlier)      last day (432 days later) »