noɥʇʎԀʎzɐɹƆ

 The Nineteenth Byte

The Nineteenth Byte: General discussion for codegolf.stackexc...
Jan 24, 2020 01:01
@Pavel the lesson I've learned that it's a bad idea to overcomplicate your data structures. make them as flat as possible...
Jan 24, 2020 00:41
Axtell's font is a bit big
Jan 23, 2020 21:00
a version of the game arras.io
Jan 23, 2020 03:08
problem is, the game competiion is outside of ppcg
Jan 23, 2020 03:07
who would be interested in participating in a bot competion along the lines of el'einda starman's spacewar, but for a much more complex game, and more competitors?
Jan 12, 2020 01:10
I am looking for an internet chatroom on computer science/software engineering education. I am part of a community that has this project that accidentally serves as a way to educate people about computer science, I want to promote that end, and I also want people to consult with.
Sep 25, 2019 23:27
Idea: "fastest brainfuck JIT"
Sep 22, 2019 01:04
@dzaima code golf programs should terminate quickly; you would just terminate if it doesn't terminate before the original program terminates
Sep 22, 2019 00:57
it did pioneer a lot of what we think of today as normal programming languages
Sep 22, 2019 00:57
C++: A modern programming language scarred deeply by its past
Sep 22, 2019 00:56
and yet another is "Insert Cheesecake"
Sep 22, 2019 00:55
@DJMcMayhem Another button is "Where am I?"
Sep 22, 2019 00:55
some of Haskell's extensions are the literal cutting edge of programming language research
Sep 22, 2019 00:53
Indeed
Sep 22, 2019 00:51
it's basically a TI-84 with 3 billion buttons
Sep 22, 2019 00:50
Mathematica: a glorified graphing calculator
Sep 22, 2019 00:50
Haskell: A next generation non-strict programming language
Sep 22, 2019 00:50
JavaScript: The only billion-dollar programming language that is not next-generation... At all.
Sep 21, 2019 20:29
or instead of 8, a random number from [1..programlengthinbits], chosen with a decaying distribution
Sep 21, 2019 20:29
@JohnDvorak Hmm, instead of modifying a single byte, modify 8 random bits
Sep 21, 2019 20:28
We want to reward higher radiation scores, so that means making higher radiation scores translate into lower code-golf score:

(2**(ProgramByteCount*8))/RadiationScore * ProgramByteCount
Sep 21, 2019 20:26
Strict langs like Python get high radiation scores
Sep 21, 2019 20:25
Programming language like Jelly with very few errors get low radiation scores
Sep 21, 2019 20:25
*Do not lead to an error
Sep 21, 2019 20:22
RadiationScore(x):
Counter = 1
For each byte:
   num = 0
   modify this byte, over 0..255 that lead to an error:
      add 1 to num.
   (num is at least one, because one of the modifications is the same byte)
   Counter *= num
Return Counter
Sep 21, 2019 20:12
@JohnDvorak yes, this is supposed to discourage the use of golfing languages simply because they're physically smaller
Sep 21, 2019 20:12
errors if mutated => <100%, so more benefit to languages like Haskell and Python which have stirct syntax
Sep 21, 2019 20:12
no errors at all => 100%
Sep 21, 2019 20:11
"If it runs without errors:" ?
Sep 21, 2019 20:08
hmmm, what if it was "If the mutated program has a compile error or runtime error:" instead?
Sep 21, 2019 20:06
I see what you're saying, I think I defined Mutate incorrectly
Sep 21, 2019 20:03
@El'endiaStarman I don't see what you're saying.
Sep 21, 2019 20:02
delete p, and you get a compile error, delete r, same thing, delete i, same thing ...
Sep 21, 2019 20:01
Haskell: main=print[1..]
Sep 21, 2019 19:50
This gives languages and submissions that are naturally less dense per byte an advantage. It rewards conciseness.
Sep 21, 2019 19:49
Mutate(Program) is defined as following:
MutationCoverage = 0
Repeat 100,000 times with non-deterministic seed:
   MutatedProgram = Program
   Random index P = random integer between 0 and the length of the program minus one
   Flip a coin, if tails:
      B = random number from 0 to 255
      In MutatedProgram, Insert a byte B after random index P
   Else:
      In MutatedProgram, Delete the byte at random index P
   Run the mutated program against the test suite
   If the mutated program fails the test suite OR the mutated program has a compile error or a runtime error in any test:
Sep 21, 2019 19:49
I have a new way to fairly measure code-golf submissions from different languages
1. The challenge must provide test cases, the more varied the merrier.
2. The score of each answer is Mutate(Program) * ProgramLengthInBytes.
Sep 15, 2019 17:03
As an IntelliJ user, when I'm on the last or first character of a I'm used to moving across lines with the with the left-right arrow keys. Is there a reason Vim doesn't let me do that?
Sep 15, 2019 17:00
I read one of ViSE's top answers, then cross-referenced with google and found out it was incorrect: OSX does have a secondary keyboard
Sep 15, 2019 16:58
I wish there was just a "vimtutor the sequel" out there
 

 :chat!

Vi and Vim chat vi.stackexchange.com
Jan 11, 2020 22:30
I'm confused. I've tried putting the folder in autoload, bundle, and pack. Can I install this plugin github.com/jaxbot/semantic-highlight.vim with only Vim's native plugin manager?
Oct 10, 2019 16:47
I'm running mac, I wonder if MSVS runs on Wine
Oct 10, 2019 16:46
Is VsVim real vim or just an emu?
Oct 10, 2019 16:19
@ngn I mean the excellent code diagnostics that come built-in to Windows' Visual Studio for C++. I want those diagnostics in Vim.
Oct 9, 2019 21:07
I am so confused. How do I get proper Microsoft Intellisense for C++ inside Vim?
Sep 22, 2019 15:07
I'm using a GUI version of vim that let's me change the color of things from within Vim.
Sep 22, 2019 15:06
@DJMcMayhem
Sep 22, 2019 15:06
I'm using a color scheme, and I'm trying to make comments look completely different from code. So, I successfully made the comments have a black background and a white foreground. Now, I want to make the cursor look a different color when it's on a comment. How do I do that?
 

 talk.tryitonline.net

For general discussion and feature requests regarding tryitonl...
Sep 21, 2019 20:03
Is there a TIO API?