Abuse filter log

Abuse Filter navigation (Home | Recent filter changes | Examine past edits | Abuse log)
Jump to navigation Jump to search
Details for log entry 7,407

13:22, 6 December 2019: Emi (talk | contribs) triggered filter 9, performing the action "edit" on Intcode. Actions taken: Warn; Filter description: require new users to introduce themselves (examine)

Changes made in edit

 
|-
 
|-
 
| 8 || 3 || Like 7, but equal to instead.
 
| 8 || 3 || Like 7, but equal to instead.
  +
|-
  +
| 99 || N/A || Halts the program
 
|}
 
|}
   

Action parameters

VariableValue
Edit count of the user (user_editcount)
0
Name of the user account (user_name)
'Emi'
Age of the user account (user_age)
103
Page ID (page_id)
12806
Page namespace (page_namespace)
0
Page title (without namespace) (page_title)
'Intcode'
Full page title (page_prefixedtitle)
'Intcode'
Action (action)
'edit'
Edit summary/reason (summary)
'Add opcode 99 to opcode table'
Old content model (old_content_model)
'wikitext'
New content model (new_content_model)
'wikitext'
Old page wikitext, before the edit (old_wikitext)
''''Intcode''' is an esoteric programming language created purely to annoy programmers competing in the [https://adventofcode.com/ Advent of Code 2019]. It was featured on days 2 and 5, but it may be featured later on this month. == Program Structure == An ''Intcode'' program is a list of integers (positive ''and'' negative) seperated by commas. In other words, programs will look something like this: 1, 3, 4, 2, 99 Some integers are ''opcodes'', meaning that they are the instructions for the program. Opcodes take a varying amount of ''parameters'', which are found in the program. I guess you could say that Intcode is a self-modifying esolang. == Opcodes == {| class="wikitable sortable" |- ! Op !! Arity !! Description |- | 1 || 3 || Takes the next two items, adds them and stores them in the position designated by the 3rd parameter |- | 2 || 3 || Like 1, but multiplication instead |- | 3 || 1 || Takes a single integer as input and writes it at the position indicated by the parameter |- | 4 || 1 || Prints the value at the parameter position |- | 5 || 2 || If the value at parameter 1 is non-zero, set the ip to parameter 2 |- | 6 || 2 || Like 5, but jump if parameter 1 is zero |- | 7 || 3 || If parameter 1 is less than parameter 2, write 1 at position parameter 3. Otherwise write 0 at that position. |- | 8 || 3 || Like 7, but equal to instead. |} == Parameter Modes == On day 5, it was decided it would be a good idea to complicate everything by adding in a feature called ''parameter modes''. These impact how the parameters are read. There are two modes: ''position'' and ''immediate''. Position mode treats parameters as index locations. Immediate mode treats parameters as literal integers. From A.O.C: [https://adventofcode.com/2019/day/5 ''Parameter modes are stored in the same value as the instruction's opcode. The opcode is a two-digit number based only on the ones and tens digit of the value, that is, the opcode is the rightmost two digits of the first value in an instruction. Parameter modes are single digits, one per parameter, read right-to-left from the opcode: the first parameter's mode is in the hundreds digit, the second parameter's mode is in the thousands digit, the third parameter's mode is in the ten-thousands digit, and so on. Any missing modes are 0.''] == Example Programs == === [[Hello, World!]] === 72,4,0,-1,1101,1,100,3,4,3,1101,100,8,3,4,3,4,3,1101,100,11,3,4,3,1101,40,4,3,4,3,1101,30,2,3,4,3,1101,80,7,3,4,3,1101,100,11,3,4,3,1101,100,14,3,4,3,1101,100,8,3,4,3,1101,98,2,3,4,3,1101,30,3,3,4,3,99 === Count from 1 to 10 === 4,17,4,19,1001,17,1,17,8,17,18,16,1006,16,0,99,-1,1,11,32 == Interpreters == No. Write your own. That would be cheating to provide an interpreter for a competition which hasn't finished. I'm only providing the specs, which are freely available regardless of whether or not you are competing. [[Category:Self-modifying]] [[Category:2019]] [[Category:Implemented]] [[Category:Unknown computational class]] [[Category:Languages]] [[Category:Usability unknown]]'
New page wikitext, after the edit (new_wikitext)
''''Intcode''' is an esoteric programming language created purely to annoy programmers competing in the [https://adventofcode.com/ Advent of Code 2019]. It was featured on days 2 and 5, but it may be featured later on this month. == Program Structure == An ''Intcode'' program is a list of integers (positive ''and'' negative) seperated by commas. In other words, programs will look something like this: 1, 3, 4, 2, 99 Some integers are ''opcodes'', meaning that they are the instructions for the program. Opcodes take a varying amount of ''parameters'', which are found in the program. I guess you could say that Intcode is a self-modifying esolang. == Opcodes == {| class="wikitable sortable" |- ! Op !! Arity !! Description |- | 1 || 3 || Takes the next two items, adds them and stores them in the position designated by the 3rd parameter |- | 2 || 3 || Like 1, but multiplication instead |- | 3 || 1 || Takes a single integer as input and writes it at the position indicated by the parameter |- | 4 || 1 || Prints the value at the parameter position |- | 5 || 2 || If the value at parameter 1 is non-zero, set the ip to parameter 2 |- | 6 || 2 || Like 5, but jump if parameter 1 is zero |- | 7 || 3 || If parameter 1 is less than parameter 2, write 1 at position parameter 3. Otherwise write 0 at that position. |- | 8 || 3 || Like 7, but equal to instead. |- | 99 || N/A || Halts the program |} == Parameter Modes == On day 5, it was decided it would be a good idea to complicate everything by adding in a feature called ''parameter modes''. These impact how the parameters are read. There are two modes: ''position'' and ''immediate''. Position mode treats parameters as index locations. Immediate mode treats parameters as literal integers. From A.O.C: [https://adventofcode.com/2019/day/5 ''Parameter modes are stored in the same value as the instruction's opcode. The opcode is a two-digit number based only on the ones and tens digit of the value, that is, the opcode is the rightmost two digits of the first value in an instruction. Parameter modes are single digits, one per parameter, read right-to-left from the opcode: the first parameter's mode is in the hundreds digit, the second parameter's mode is in the thousands digit, the third parameter's mode is in the ten-thousands digit, and so on. Any missing modes are 0.''] == Example Programs == === [[Hello, World!]] === 72,4,0,-1,1101,1,100,3,4,3,1101,100,8,3,4,3,4,3,1101,100,11,3,4,3,1101,40,4,3,4,3,1101,30,2,3,4,3,1101,80,7,3,4,3,1101,100,11,3,4,3,1101,100,14,3,4,3,1101,100,8,3,4,3,1101,98,2,3,4,3,1101,30,3,3,4,3,99 === Count from 1 to 10 === 4,17,4,19,1001,17,1,17,8,17,18,16,1006,16,0,99,-1,1,11,32 == Interpreters == No. Write your own. That would be cheating to provide an interpreter for a competition which hasn't finished. I'm only providing the specs, which are freely available regardless of whether or not you are competing. [[Category:Self-modifying]] [[Category:2019]] [[Category:Implemented]] [[Category:Unknown computational class]] [[Category:Languages]] [[Category:Usability unknown]]'
Unified diff of changes made by edit (edit_diff)
'@@ -30,4 +30,6 @@ |- | 8 || 3 || Like 7, but equal to instead. +|- +| 99 || N/A || Halts the program |} '
New page size (new_size)
3099
Old page size (old_size)
3063
Lines added in edit (added_lines)
[ 0 => '|-', 1 => '| 99 || N/A || Halts the program' ]
Unix timestamp of change (timestamp)
1575638557