The Nineteenth Byte

The Nineteenth Byte: General discussion for codegolf.stackexc...
Sep 30, 2019 19:10
at least as far as i understand
Sep 30, 2019 19:10
TLDR is that SE is (1) trying to assert that they have the right to change licenses on content, and (2) remove their mods willy nilly
Sep 30, 2019 19:08
it won't die, it will just become something in which I will have no desire to participate
Sep 30, 2019 19:05
@Dennis haven't been here for awhile but thanks for all you've done for PPCG. hoping stackexchange gets their feet out from their backsides and you'll come back when they do
Apr 27, 2018 04:51
Both good ideas
Apr 27, 2018 04:41
:P
Apr 27, 2018 04:39
@ASCII-only sure, you write the program that solves the halting problem, I write the challenge, we split the karma 50-50?
Apr 27, 2018 04:32
I came up with a fun challenge idea. Unfortunately, it involves solving the halting problem :/
Apr 25, 2018 15:34
That is one definition of free. :P
Apr 25, 2018 15:12
Honestly that sounds kind of good
Apr 23, 2018 20:21
@flawr true, what I mean is "the golfiest a turing machine language could possibly be" (i.e. no extraneous delimiters and symbols)
Apr 23, 2018 20:14
Know if there's a golfier one?
Apr 23, 2018 20:13
Hm yeah that does seem to be what I want, but not very golfy...
Apr 23, 2018 20:11
Does anyone know if there's an Esolang that's literally just a turing machine?
Apr 22, 2018 02:09
too far for me :/
Apr 22, 2018 02:08
just make it a CMC, no one will find out :^)
Apr 22, 2018 01:03
Darn, 6 hours no answers...
Apr 18, 2018 15:42
Let me know if you guys have thoughts on my question in the sandbox :)
Apr 15, 2018 15:52
Just saw. Thanks!
Apr 15, 2018 15:51
@user202729 I really think you should stop telling people "we are not a question and answer site". First of all it does not answer any of their questions, i.e. "Why is my challenge being downvoted? Why is it not valid? What can I change to make it valid?". Second much of the language of the site uses the word "question", so your statement seems quite contradictory.
Mar 31, 2018 04:13
Thanks @ConorO'Brien ! Working on test cases now, trying to figure out how to solve my own challenge first so I can have a reference implementation :P
Mar 31, 2018 04:08
Aug 13, 2017 17:08
Trying to award the bounty
Aug 13, 2017 17:08
@LeakyNun Your answer seems to be the earliest to claim O(n) + O(1), but there's a note about it being cheaty?
Jul 24, 2017 03:01
What's wrong with using Object?
Jul 24, 2017 02:01
@StepHen makes sense. if you have older friends who have already taken the courses (I'm guessing calc 1/2?) you can buy or borrow their book. But if you are not obligated to bring the book to class then you don't need to buy the physical book (and that's something you can ask the prof)
Jul 24, 2017 01:59
@StepHen if you can study from a screen you may be able to locate cheaper alternatives, if not then you can probably rent it for around $35 if you don't want to keep it
 
Sep 3, 2017 13:12
@DougCoburn it's possible, but it is an interesting question
Sep 3, 2017 13:12
Is [] a valid input?
Sep 3, 2017 13:12
@StepHen good catch, thank you
Sep 3, 2017 13:12
Is the list guaranteed to have all elements in [1, length] at least once?
Sep 3, 2017 13:12
We typically have pretty lax I/O on our challenges; is it okay to throw an exception instead of returning -1?
 

 talk.tryitonline.net

For general discussion and feature requests regarding tryitonl...
Aug 6, 2017 02:20
thank you :)
Aug 6, 2017 02:20
Yeah you can script that with awk, sed, etc
Aug 6, 2017 02:18
the hex values in the .text section
Aug 6, 2017 02:18
OH wait, that's the code right there
Aug 6, 2017 01:56
Hmmmmmm that's werid
Aug 6, 2017 01:51
That's so weird. It's not documented online or in the version of spim I have.
Aug 6, 2017 01:49
@ASCII-only I don't see the -assemble flag in any of the documentation
Aug 6, 2017 01:41
There has to be a better way, but it's more complicated especially if you're using macro instructions
Aug 6, 2017 01:40
Actually, I don't think you can put a full MIPS program into a C function. I don't think that will work because you'll be past the header already, so you can't put anything new in the header
Aug 6, 2017 01:39
@AndrewSavinykh The only way I can think of at the moment is to feed the assembly into the main function of a C program (that is otherwise empty) and use the version of gcc that compiles to MIPS (or clang with the LLVM backend for MIPS), then get the length and hexdump of that. But that's a lot of effort
Aug 6, 2017 01:32
I would love if there were an easy way to see the hexdump of the assembled machine code and its byte count
Aug 6, 2017 01:26
@Dennis Looks great, thank you so much! :D
Aug 5, 2017 02:15
If you need help, let me know - I'm no expert in MIPS but I have programmed in it before and have some reference material
Aug 5, 2017 02:14
Gotcha
Aug 5, 2017 02:14
Also, this program should work as a Hello World. (I'm sure you tried it, but I can confirm it works in MIPS on Red Hat)
Aug 5, 2017 02:05
@Dennis You may be able to use one of the available installers on their SourceForge. It looks like they don't have an rpm installer, but you may be able to convert the deb to an rpm using this tool - haven't tried it myself so no idea if it will work reliably
Aug 4, 2017 18:12
Thank you!
Aug 4, 2017 18:07
@Dennis I think I may have asked this before, but do you have any intention of supporting MIPS assembly on TIO? There is a simulator available for Linux called SPIM.