« first day (2109 days earlier)      last day (2822 days later) » 

5:00 PM
That sounds like a weekend project
 
@KendallFrey My homework...
 
I'm one of the few people that can spend a weekend writing a single regex
 
Do you ever visualise an automaton when writing regular expressions?
 
5:02 PM
Thank you
 
includes pretty picture drawing.
you'll need to copy .dot to the release folder if you build in release.
you can modify the grammar / rules by line vs entire program to generate the meta-grammar encoding... of the meta-grammar-encoding.
 
I don't need to build it. I just need to read it on paper :)
I'm kidding
 
that includes the program that proves 0+1-1 = 0
 
Hey, made a simple "hello" program in FOS-X
 
I imagine this is useful in linguistics and NLP
 
5:04 PM
NLP?
 
Ninja Laser Potatoes.
Hot new research area.
 
sign me up!
Where is the dotted line?
ok, bbiab. let me know if it works.
 
natural language processing
 
Wait, why would we need to prove that 0+1-1 = 0 anyway?
 
@roscoe_casita I can prove that too
!!> 0+1-1 === 0
 
5:06 PM
@KendallFrey true
 
now do it without numbers.
 
@Darkrifts Because we can sometimes get useful insights from such
 
Well, wouldn't 0 + N - N always equal 0 anyway?
 
this will dive deep
you are using 0.
0 is a number.
 
!!> !![]-[]
 
5:07 PM
@GrantHill 1
 
!!> (!![]-[])-(!![]-[])
 
@GrantHill 0
 
Done.
 
Well, that didn't take long :P
 
lol... you have numbers.
0 is a number. ~
 
5:08 PM
@roscoe_casita Please share your proof
 
!!> ([]-[])+(!![]-[])-(!![]-[]) === ([]-[])
 
@GrantHill true
 
And also define what you mean by a number
and also name the type of objects that you used in place of numbers
 
@roscoe_casita Given that P(S(n)) = S(P(n)) = n, and 1 = S(0) and -1 = P(0) then 0+1-1 is P(S(0)) which is clearly 0
 
first order logic in this case
proving that Turing ~= Church ~= Godel
it will dive to the core of all of modern computation when you get to it.
you get one function, replace A with B
two types, Variables, Functions
variables can only be strings [a-z]
Apply = Replace all instances of Variable X in A with Variable Y
you can prove that all mathematics can be accomplished with one operator
'replace a with b'
damnit, not the latest version. bbiab... I'll have the program... that source is old.
 
user47589
5:31 PM
my code is borken
 
user47589
i'm getting an error how do i fix it
 
user47589
pls send codes
 
Got stuff working finally
 
@Darkrifts what am I looking at?
 
War
^
 
5:32 PM
^
 
^
 
Stuff I would say,
 
@Amy Burkee-a cude-a ih, feexit vit suom cuodes
 
things.
doing things.
 
user47589
5:33 PM
all the things?
 
the Best of Stuff
 
Figured out a way to read NOP strings, so I used it in a program
 
you can't handle all the things.
 
NOP?
 
Bertrand Arthur William Russell, 3rd Earl Russell, OM, FRS (/ˈrʌsəl/; 18 May 1872 – 2 February 1970) was a British philosopher, logician, mathematician, historian, writer, social critic, political activist and Nobel laureate. At various points in his life he considered himself a liberal, a socialist, and a pacifist, but he also admitted that he had "never been any of these things, in any profound sense". He was born in Monmouthshire into one of the most prominent aristocratic families in the United Kingdom. In the early 20th century, Russell led the British "revolt against idealism". He is considered...
 
user47589
5:34 PM
 
Amy: Have you encountered an NP-Hard problem?
 
user47589
probably.
 
@juanvan Only 1/3 of the 256 possible bytes do things
 
mmmmm.... have you written programs that don't solve the problem, even though they run until the end of time / bigger then the universe?
 
user47589
that other 2/3 are lazy bums
 
user47589
5:36 PM
@roscoe_casita i once coded the Ackermann function
 
Those bytes aren't pulling their weight.
 
Turns out that anything after the ASCII value for capital O is a NOP
 
aye, the ackermann is an instance
 
pfft.
I've written plenty of programs that run forever and don't solve a problem.
 
but would they have if they could ~
 
user47589
5:37 PM
i let the Ackermann function run on my work computer for like a week back in 2006 or thereabouts
 
@GrantHill Hey, they pull their weight in that they can be used to store arrays :P
 
!!> while(true){}
 
@GrantHill Maximum execution time exceeded
 
lol
 
cheater... it solves the halting problem... by making it somebody elses problem^
 
5:37 PM
all those bytes are to Overflow..
 
i embrace it
 
The only data structures in FOS-X is the source code, the stack, the queue, and the single integer mem register
So, I gave it the ability to be self-modifying
 
no tabe?
tape?
 
The source code is the tape
 
5:38 PM
Just don't run byte 23 :P
It crashes the program, and this allows me to share the data structures and create a core warfare environment
 
user47589
Darkrifts is re-inventing the movie War Games
 
Never seen it
 
Good evening, Professor Darkrifts.
Would you like to play a game?
 
Would you like to play a game?
 
user47589
GREETINGS PROFESSOR FALKIN. WOULD YOU LIKE TO PLAY A GAME OF GLOBAL THERMONUCLEAR WAR?
 
5:40 PM
@Darkrifts watch this movie now.
 
It's a classic.
 
Well, in any case, FOS-X Corewar runs by having a shared stack, queue, and mem register. The tape, IE source code, is not shared though
 
P-Space
 
So if a self-modification instruction is run (1d or 1f) and it writes 23, that could cause it to crash
Or if a jump instruction (relative or absolute) causes it to jump to the end of the program
 
now write the routines to cleanup after itself
so it deletes the execution that it did.
 
5:43 PM
Like, cleans up the stack, queue, and register?
 
and the tape
 
Simple, append the bytes 2A 2B 03 to the source code
2a = stack, 2b = queue, 03 = mem. The tape is only loaded for a given program
 
assume that I can gain access to memory and scan you, if I find your code... then I can find you.
 
The tape is local only
Stack, queue, and mem are not
 
everything is global
at least in 'real' corewar
 
5:44 PM
But this is "FOS-X Corewar"
 
meh, pretend its pure asm environment
 
If you want to mess up someone's day, just run 2A 2B 03, and that'll wipe all memory they have, apart from the tape
Or better yet, push random numbers
 
hmmm. is this some instance of attacking the hardware platform to gain access?
 
And, if you know they call a 1D and/or 1F instruction, put a 23 instruction in respective register.
Not the hardware
 
'hardware' = interpreter
 
5:47 PM
The 2 programs only have access to a stack, queue, and mem. Each one has their own source tape
23 simply ends a programs execution
 
ah, ok DAT instruction
so yeah, mov [ptr_other_program_execution_point],END
 
23 is not exactly a DAT instruction, but a similar premise
 
user47589
Guys, a reminder that this is the C# room. Can you take the FOS-X discussion elsewhere?
 
Good idea
 
you can attack the C# instruction pointer
 
5:49 PM

FOS-X

Discussion room for FOS-X programs, corewar, and reductions fr...
 
the CLI has such a thing, so you can dig for it and attack another program running in the same memory space
CLR*
 
What does the FOS-X say?
 
It says "Don't run 23"
 
@Darkrifts have you built a coreware interpreter ?
corewar*
 
Yes
 
5:58 PM
awesomesauce! compiler to byte code?
and how do you handle SPL/SPI commands?
 
user47589
Again: Guys, a reminder that this is the C# room. Can you take the FOS-X discussion elsewhere?
 
@Amy I tried to :P I pinged them with a response in that room, but nah
 
will do, although it was implemented in C# ;)
 
 
1 hour later…
7:04 PM
I need to ask a quick question plz.
 
Well you're not going to get anywhere by not asking it
 
oh well in a try catch statement does the try breaks when throwing ex?
 
Can you explain your question better?
 
It's not going to keep executing.
 
Have you actually tried it?
We don't like questions that you can easily google or try yourself
 
7:07 PM
Thank you and yes i did just making sure
tried google
 
Are you asking if the catch block will catch an exception you throw?
 
I think he's asking if throwing an exception in a try block will make it stop executing in the try block.
 
@Ch344y Throwing an exception in a block will cause the code after the exception to not be executed. Try - catch - finally blocks are no exception
 
Yeah i know but it weirdly did so i was just making sure i wasn't wrong :\
 
Please don't use the word 'weird' referring to expected behaviour
 
7:14 PM
If you have a question about some code, it helps if you actually post the code.
 
Sometimes, your diagnosis is incorrect and your peers may help you see the light
 
There isn't any debugger, so i'm trying to find where exactly :$
 
Are you not using Visual Studio?
 
Not in this machine
 
This seems like a fun question conversation
 
7:20 PM
If you don't have a debugger, print out the code and the IL
And do the debugger's manual work
OR you could always install one
Surreal numbers are interesting
 
@MoonOwl22 what
 
The idea is very interesting
 
> If you don't understand what your code is doing, MAKE IT HARDER TO UNDERSTAND!!!
 
That last line didn't quite fit in with the rest of your answer.
 
Hav u tried messinarouwnwiv try-kechn ohtr circumstances
Dolinduck 4 lief
 
7:28 PM
Ok, let's cool down :D i found it, it was the <finally> clean up block, i'm using Awesomium and as or as you not know the WebCore is a static class so i closed it unintentionally
 
Sounds fun
I follow a simple process to make things and/or fix them. 1) Achieve a problem to solve 2) Identify a section where said problem occurs 3) Attempt to recreate problem in a separate subsection 4) Dew sum tests 5) Repeat until problem solved/new fun idea found
 
Stop telling people to print out code
the fuck
 
@MoonOwl22 helpful at all? the Untyped Lambda stuff
 
Moonowls hate trees.
It's an animosity as old as time.
Or at least as old as thyme.
 
7:44 PM
what about as old as rhyme?
 
Or as old as mime.
 
We need to go back to before then and prevent mime's existence
 
fuck
my mind just exploded
 
@MoonOwl22 you never watched Furngully
 
@roscoe_casita I'm working with macroeconomics at the moment
I'll look at the untyped lambda stuff in about thirty to forty-five minutes
@TomW Nope
 
7:47 PM
stfu moon was I talking to you?
 
@TomW Nope
 
Meant to reply to @juanvan sorry. Nope
 
@juanvan FERNgully you fucking pleb
And if you ever seriously consider printing code, just stop. Turn off the computer. Think long and hard about the choices you've made that brought you to this place.
 
@mikeTheLiar thankfully you don't have to read what I write, or Might hate me..
 
thank god i can't read or write
 
 
1 hour later…
9:12 PM
Has anyone run into this issue before?
2
Q: Why is a disabled button clickable?

user1908842This case is using C# WPF. I want to instantly disable a button after clicking it to prevent clicking it twice in short succession. I disabled the button in OnClick_Event but still clickable. Part of source is as below. private void Button_Click_UpdateBurndownChart(object sender, RoutedEventArg...

I'm running into it using Xamarin.Forms lol
 
Does it appear to respond in the UI to clicks?
i.e. do you get the UI feedback?
+1 for those people saying "threading problem" though
 
Yes it responds to the clicks!
Here's my code: pastebin.com/Rv1vteZz
 
10:01 PM
Idk
 

« first day (2109 days earlier)      last day (2822 days later) »