« first day (3164 days earlier)      last day (1975 days later) » 

A _
A _
00:41
Does anyone know how to create a program in Caboose that returns the last character of a string?
It seems that the language does not support string indexing.
 
1 hour later…
A _
A _
02:09
Never mind, I will just finish implementing my language first (the meta website is not working).
 
2 hours later…
03:45
@A_ Can you cast it to a list of integers?
you could do some weird encryption to combine all the integers to one integer and use some math-like tactics to decode it
A _
A _
@MilkyWay90 Sorry, it does not have the concept of a list, so evidently there is no straightforward function that converts a string to a list.
@A_ so what can you do with strings?
A _
A _
@MilkyWay90 Here lists every string function in the language.
@A_ Use a bunch of endsWith and hardcode every character?
does the challenge in question only accept printable ascii?
A _
A _
@MilkyWay90 Here, the challenge is not clear enough.
03:52
@A_ Is there any default?
A _
A _
@MilkyWay90 Never mind, I think we can just assume printable ASCII first. Extending to the whole codepage will be relatively easy.
then just hardcode
Ha ha, trying to bug fixed when muddle minded
04:08
@Veskah "muddle minded"?
04:20
Drunk
 
2 hours later…
A _
A _
06:23
I tried to create a language suitable for restricted source challenges (Resource), but currently it sucks for these challenges.
Are there tips on optimizing this langauge?
A _
A _
06:56
I don't expect changing the paradigm from queue-based to stack-based. I believe this change is not fundemental.
(Also I worry about whether the instrutions generalize enough for restricted source challenges.)
07:08
Examining the precise challenges you want to optimize it for is probably a good idea, but you've already done that, so... maybe consider how much redundancy you might want to introduce? If byte X is disallowed then you ought to be able to use byte Y, but if you don't want to do the same thing at all under some other circumstances then maybe you want to use some other pair of bytes that has nothing to do with anything else
07:26
@ngn how's the book (if you read it)?
A _
A _
@UnrelatedString That is too abstract, can you give some examples?
07:47
I was writing a long question here with lots of explanation and accidentally hit the "Escape" on my keyboard, all the text in chat box is removed now without an undo option. I guess I won't ask my question anymore ... :(
A _
A _
@Night2 What is your question?
You can send your
question text separately
like what I just did.
@A_ I don't have the motivation to write it all again, it was a question about a code golf challenge idea.
I'm just wondering why someone has written the code for "Escape" key to remove all the text in the textarea. If I wanted to do that, pressing CTRL+A and DELETE wouldn't be hard.
A _
A _
Evil villains. They didn't even preserve the edit history. :(
I see, Ctrl+A and DELETE is 3 keystrokes, ESC is only 1 keystroke.
Not preserving the edit history is still inhumane though.
08:03
@A_ Well as a programmer I probably do +20K keystrokes a day, those extra 2 would be only ~0.01% more!
3
A _
A _
@Night2 As far as I can tell this builtin does not generalize enough, therefore the instruction is not useful enough for people to use in actual programming.
@A_ Interesting suggestion: let users create their own lookup tables for different characters in the header/footer (or cmd-line args)
A _
A _
@Jono2906 Good idea, but customizing that will probably be a waste of bytes. (Also you must count the code for the lookup table, otherwise it will be cheating.)
08:29
Depends on the question. It's probably impractical in a majority of cases but having some sort of define macro syntax could be more generally useful
Hard to say though
I'm going to try this challenge using Scratch
And completely on my phone
Wish me luck!
A _
A _
Good luck!
@UnrelatedString So we need a conversion algorithm that will be useful in most cases.
I already have the reversed keyboard conversion I wonder whether it will generalize enough though.
I believe it was quite powerful, and possibly it will remove the need of customizing a lookup table.
ngn
ngn
@Cowsquack i haven't read it. i remembered about wolfram's ideas because sometimes i run into them online when searching for other stuff.
A _
A _
@A_ I need to remove unneccecary instructions unless they are absolutely in use in actual restricted source competitions.
This makes sure that programming is easy enough.
08:46
wow, that was fast
And I got the 69th answer on the question. nice
Dont know if this is exactly on topic, but...
A _
A _
Be Nice

    Be Nice means being patient and welcoming, especially to new users. It means not being rude, and being polite instead. And it means avoiding name-calling, bigotry, harassment and inappropriate language.
Be On-Topic

    While off-topic conversations are allowed in The Nineteenth Byte, they should not get in the way of on-topic discussions. The Nineteenth Byte's purpose is to provide a place for users to discuss PPCG.
Don't Be Disruptive

    Being disruptive means doing anything that prevents, impedes, or discourages other users from using The Nineteenth Byte for its intended purpose. This includes continuing off-topic conversations while an on-topic conversation is happening, or posting nonsense that makes it harder to follow conversations.
09:02
Image zapped by uBlock. Possession of memes does not in itself prove criminal intent, however antithetical to humor it might be.
I've seen a factorial challenge on ppcg with time limit
I've gone crazy and spent entire day on it
and I've got a program calculating factorial of million in 5 minutes
(on my crappy i5-6ksomething)
 
3 hours later…
11:44
0
A: Sandbox for Proposed Challenges

NaruyokoPolynomials Through Points You will get a set of n Cartesian coordinates. You must output a polynomial going through all of the points. Input Points are 2-dimensional. You may assume that no two points share a x coordinate. You may take points as a tuple of pairs, or pair of equal length tupl...

12:08
Any feedback on this? I know its a little trivial, but worse challenges get posted
12:44
0
A: Sandbox for Proposed Challenges

caird coinheringaahingHexdump quine Your task is to write a valid quine where your program is in the form of a hexdump. Specifically, a hex dump in this format: 0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0020: 00 00 ...

A _
A _
@NewSandboxedPosts I can't access meta at the moment, but I believe a hexdump of the hexdump (any sequence of hexdumped output) is a Hexdump quine.
My browser is loading REALLY slowly.
@A_ I'm the OP, so you can talk to me here if you can't get to meta :P
A _
A _
@cairdcoinheringaahing The problem is that I can't access the compete challenge body.
@A_ Ah, that would be an issue
A _
A _
13:14
Uh-oh. In addition, I can not access the main site anymore now. (It is probably just me.)
A _
A _
13:24
@A_ I used 3 hours in order to implement an encryption/decryption algorithm.
@A_ :51870448
It's working, I'll be working.
@cairdcoinheringaahing Like 0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ will be a Hexdump quine,
@A_ Depends on the language, no? If I run that program in Jelly, it won't output itself
A _
A _
No, it isn't a hexdump quine. I don't think there exists a language that does this.
A _
A _
14:22
It's 22:22 in my timezone.
 
3 hours later…
17:45
0
A: Sandbox for Proposed Challenges

AZTECCOPOSTMAN Hello golfers! I just got a job as a postman and I need your help to keep it. I have trouble with the civic numbering system. Streets are numbered strictly sequentially, starting with 1 at the start of the street, and continuing in order skipping no numbers until the end, with odd numb...

 
1 hour later…
19:04
0
Q: Write a piece of code that prints out itself

WhatsUpI'm new to this site, so I don't know whether this challenge already appeared: Write a piece of source code, so that after running the code, it prints out exactly (i.e. not longer, not shorter) the source code itself. The code can be in any programming language, but preferably in commonly used ...

19:16
@A_ are you from the future????
19:27
western australia? china? irkutsk?

« first day (3164 days earlier)      last day (1975 days later) »