« first day (2330 days earlier)      last day (2514 days later) » 

7:00 PM
@Okx You're asking a bunch of code golfers about sanity. You might want to turn somewhere else. :P
 
Okx
but we are sane
only crazy people format code with spaces and whatnot
5
 
Just took 8 bytes off of a 6-month old answer I've mine. Feels good man.
 
@DJMcMayhem pls link
 
@MDXF OK
 
Meh already voted it
Also I don't see the 8 bytes off
 
7:07 PM
It was in two chunks
 
Ah yes now I see
 
It was 149 earlier today, then I went down 4 by drastically changing the approach, then down another 4 by going back to the original approach
 
Not bad
 
@LeakyNun oh, lol map callback has 2 args value, index, so it's really adding value + index :P basically you end up with (+)(value, index, 1) since you've right-bonded
I reccomend n->n.map((+:1))
 
Similar to this, I changed the approach at least six times while trying to get it to spec
I think the first byte is leftover from my initial approach, but I have no idea why it would be there as I never had any use for a loop ಠ_ಠ no way to golf it off anyway so might as well leave it I guess
 
7:10 PM
@Downgoat is it a bug?
 
not really, it's just a quirk
You could say it's been 'fixed' with (+:1) because that is correct way to right-bond ops
TIO cheddar doesn't support it yet tho :(
 
Hahahahahaha, Oh wow, I borked it bad: Try it online!
 
@DJMcMayhem :| and I thought Jelly was hard to read :P
 
It is.
 
@Dennis Why does TIO use SBCS for C (gcc)?
 
Okx
7:16 PM
probably because of bork
 
user165474
Okay so my language is ready for me to start adding on a ton of functionality (the tokenizer and interpreter seem to be fixed after I broke it about 5 times). What does everyone suggest for the focus of the language? e.g. string mod, list mod, 2d string mod (ASCII art), math, general (essentially rewriting Jelly except worse), etc. Destructible suggested to do lists and I'm thinking of doing mostly math and lists; any other suggestions?
 
@HyperNeutrino Math and lists sounds cool
 
user165474
yay :)
 
user165474
Also, pushing again
 
@Okx That may or not be true... but we also make more money
 
7:21 PM
i started writing a language and then i realized i'm not creative and the idea's already been done
 
rip
 
Okx
@Poke money is crazy
a piece of paper is equal to a chocolate bar
this is over powered
 
all transactions are just bartering when you think about it
 
there needs to be some ridiculous, extremely hard language idea that hasn't been done yet...
 
user165474
@totallyhuman How about make a language where the memory is stored on the surface of a 20-sided Rubik's-Icosahedron? Similar to Cubically (?) but even MORE confusing :D
 
7:24 PM
cubically fulfills that @totallyhuman
@HyperNeutrino hehe
I'm currently working on making Cubically extendable so that the memory can be a 5x5 >:D
 
hmm
memory on a grid?
 
No, memory on a freaking Rubik's Cube
 
user165474
(The surface of it)
 
no i was asking if it was done before lol
 
The only memory operations twist the cube
Well IDK if grid memory has been done before, but cube memory hasn't
 
user165474
7:26 PM
@totallyhuman I would not be surprised
 
side note: what is with the chat.SE notification sound o0
 
@totallyhuman this one?
@totallyhuman :P
 
user165474
Wait is something wrong with it?
 
:P
it just sounds weird to me :P
 
user165474
@HyperNeutrino Has it changed?
 
7:26 PM
Naw it's just weird @totallyhuman
Yep
 
user165474
No it's the same.
 
it's really jarring
 
@HyperNeutrino and that is why I don't use caret-reply
@Poke Jarring, you say?
 
@MDXF troll :P
 
i have sounds muted at the moment
:P
 
7:27 PM
@totallyhuman Heh I'm deaf :P
 
user165474
@MDXF I intentionally used it... I wanted to hear the sound. :P
 
@HyperNeutrino here have it
 
@HyperNeutrino This sound?
 
user165474
ಠ_ಠ I already got it >.< and besides, I muted my system again after hearing it...
 
@HyperNeutrino or this one? :P
 
user165474
7:28 PM
@MDXF Neither.
 
oh look there's a mute button on the page
 
Here is how I fix bugs in my code: media.giphy.com/media/11ZSwQNWba4YF2/source.gif
6
 
wonder what happens if i click it...
 
user165474
@totallyhuman your computer explodes
 
@DJMcMayhem Me too, all the Triangular bugs took less than four minutes to fix
 
user165474
7:29 PM
I tested it. My computer just blew up.
 
user165474
@MDXF All 50-something of them!?!?!?
 
There's one intentional bug that no one knows about
No that was Cubically @HyperNeutrino
and those bugs took like an hour each lol
 
user165474
oh rip
 
hmm what about a 3d lang
o0 how would you do that
 
I don't think that's ever been done
There are hundreds of scholarly articles about it
 
7:30 PM
code that transcends your computer
 
user165474
@totallyhuman carefully
 
but seeing as how a file can't really store three dimensions per se, I have no idea how that'd be done
 
user165474
@MDXF Then make them able to do that :D
 
Apr 2 at 15:51, by Kritixi Lithos
Here's an idea for an esolang that I just thought up:
I had an idea for a 4d language
 
7:31 PM
wat
 
user165474
$ man why did my wife break up with me?
No manual entry for why
No manual entry for did
No manual entry for my
No manual entry for wife
No manual entry for break
No manual entry for up
No manual entry for with
No manual entry for me?
 
user165474
@MDXF
 
@HyperNeutrino Requires an older version of man
 
user165474
oh
 
It used to only support one-two arguments lol
 
user165474
7:31 PM
lol
 
user165474
sudo apt-get install sl
 
@KritixiLithos wat
 
alias ls=sl >:D
 
user165474
It's used to punish people who accidentally type sl instead of ls.
 
yes but it do sl most of the time just for fun
 
user165474
7:33 PM
alias a=b, b=a
 
it's a nice locomotive
 
@HyperNeutrino #define if while and #define for if, watch them wonder why a for loop can't have a semicolon... and watch them not realize the while >:D
 
user165474
NOTE: DO NOT ACTUALLY DO ANY OF THE ALIASES BELOW
 
Okx
alias ls=rm -rf /
 
@Okx heh
 
Okx
7:34 PM
@MDXF i improved your alias :D
 
@totallyhuman so yeah, the fourth dimension is time, so you can access information from the past (and maybe the future, but I don't know how this will be implemented)
 
@HyperNeutrino o0 i think my brain has auto-correct
 
alias wget=ping
or alias ping=wget
 
user165474
alias rm=rm -rf / then watch as people try to delete something and accidentally delete everything
 
@Okx alias rm="echo \"You can't use rm\" #"
 
user165474
7:34 PM
alias cd='rm -r'
 
Heh this (conversation) is awesome
 
Okx
alias alias=alias alias alias
 
alias alias="alias #"
 
user165474
@Okx 0/10 you need quotes
 
that what I actually have in my bashrc
 
7:35 PM
alias alias=unalias and unalias unalias
 
@HyperNeutrino you forgot "--no-preserve-root"
 
user165474
@Poke close enough
 
Okx
@HyperNeutrino i break what i want thank you very much
 
While we're on the topic of funny aliases, I have this in my .bashrc:
 
user165474
NOTE: DO NOT ACTUALLY DO ANY OF THESE ALIASES
 
7:36 PM
My favorite for MinGW systems: alias ls='cmd.exe /C DIR'
 
@DJMcMayhem HAHA
 
user165474
@DJMcMayhem HA when you know you vim too much
 
That is now an alias in my bashrc
 
Jim
7:37 PM
zsh > bash
 
user165474
fish > zsh
 
user165474
><>>fish
 
alias bash=zsh
 
Okx
(bash=fish=zsh) > zsh > fish > bash > zsh > bash
 
><> > fish
 
7:38 PM
@betseg hehe
Oh heh how about this: alias gcc=rm
 
as a fun prank, add this to a co-worker's .bashrc: echo "sleep 1">>.bashrc
 
On a more serious note, I have a mkcd command, and it's super useful
 
user165474
@betseg 0/10 plagarism that's just my message ungolfed
 
I have an xkcd command, it prints Black Hat in ASCII art (it now also pings XKCD)
 
user165474
@DJMcMayhem mkcd $i -> mkdir $i && cd $i?
 
7:38 PM
Yeah
 
@HyperNeutrino o shit i didnt see ur message sorry D:
 
Okx
@MDXF but it doesn't actually ping xkcd
 
@Okx just updated it lol
 
Okx
wow ur so fast at making commands are you a robot
 
I have a script
 
7:39 PM
it makes shells take progressively longer to open
 
modrc <alias name>=<new alias>
 
user165474
@betseg lol that's fine mine was confusing anyway
 
i have this: alias breakmysystem='pacaur -Syuu --noconfirm --devel --noedit'
 
user165474
ooo I wonder if I will be able to eventually surpass betseg in rep (not plotting anything)
 
It automatically deletes the line where <alias name> is aliased and appends alias <alias name>='<alias>'
 
Jim
7:40 PM
@DJMcMayhem Likewise I have a cdtemp and rmtemp
 
@Jim alias rmtemp='rm /tmp'?
 
I would hope not
 
Jim
copy files to a newly created dir, rmtemp delete it and return to previous path
 
Ah
 
user165474
mvtemp: temporarily moves your files to the specified location. They will be moved back at some random time in the future.
 
7:41 PM
Oh my favorite alias is alias man='echo No manual entry for $1'
 
user165474
Stop forgetting close quotes ಠ_ಠ
 
@MDXF .... Oh it hurts so bad
 
You mean like 'this?
 
Jim
Too much golfing with esoteric languages
 
user165474
(this is worse
 
7:42 PM
@DJMcMayhem heh I have a script on a USB called trollscript.sh and I stick the USB in, run it, and it'll screw many things up
rm aliases to rm -rf, apt-get aliases to apt-get remove $1 &&
vim aliases to ed >:D
@Jim ...how was that related to the conversation at hand
 
Jim
Do you actually use it?
 
user165474
alias alias=echo
 
@HyperNeutrino accurate
@HyperNeutrino Hehehe
alias cat='cat >'
cat big-source-file.c :o why is it empty
 
Jim
@MDXF The reason why you keep forgetting closing quotes is probably because of "Too much golfing with esoteric languages"
 
@Jim Ohh okay :P probably true
Huh, I just realized... I have never golfed in an esolang that was not my own
 
Jim
7:48 PM
And those are?
 
memescript, rk (not really an esolang), many trivial Brainf*ck derivatives
and whatever else is on my esolangs page
 
Jim
That's quite a few. I particularly like Cubically. Seems awful to use
 
That's it's entire purpose haha (also there were no existing languages based off cubical memory when I wrote it two days ago)
The Hello World took 35 minutes to write, IIRC
 
8:04 PM
I now have permission to write that KOTH :D
 
@LeakyNun Given that TIO doesn't support different encodings yet, these are pretty much arbitrary choices. X bytes (Y) means that the code is X bytes long if it can be encoded in Y, not more and not less.
 
Cool! You also now have permission to write the Cubically quine hint hint :D
 
Heh. I'm not sure how I'd start writing that or anything in the language
 
I think I've answered two or three things in Cubically, one being the Hello World lol
 
Could use some feedback on a language I wrote codegolf.stackexchange.com/a/126978/68923
 
8:10 PM
-1
Q: SQL Puzzle: Find the combination of matches that can be played between given teams

AnveshGiven a list of teams please find the combination of matches that can be played between them. create table team (tname varchar(10)); insert into team values ('T1'),('T2'),('T3'); Input data: Team ------- T1 T2 T3 Require output: Team_1 Team_2 ---------------------- T1 T2...

 
@Jaggler3 Hey not bad!
 
0
Q: Second iteration of a challenge

Wheat WizardI wrote a challenge, I was concerned it would need some fine tuning, but was not able to get anyone on board to help me test. So I posted it to the main and it turned out while it was pretty fun it did need a good deal of tuning. I would like to do a improved version of the challenge. I don't ...

 
Way better than my first language lol
 
I think we need to not be named "Programming Puzzles and Code Golf", since we don't actually allow regular Programming Puzzles most of the time. "Code Golf and Programming Contests" is more descriptive of what's actually done here, and would help to reduce the amount of bad challenges.
7
Don't think anything can be done tho ¯\_(ツ)_/¯
 
I also think ppcg.stackexchange.com should redirect here
 
user165474
8:14 PM
cg.se.com should too (we like to golf our URLs)
 
@HyperNeutrino No, just cg.se
 
cg.se
ninja'd
 
meta-ninja'd
 
Okx
what is this website cg.se
 
0
A: Sandbox for Proposed Challenges

carusocomputingASCII Reverse Quine Okay, so everyone is familiar with the ASCII-table, correct? I'd hope so. I've been going to that site for my asciitable reference for as long as I can remember needing one. We'll be doing some fun source-code manipulating using the ASCII keyspace. Your task is to write a ...

 
8:15 PM
I love how in Google Chrome's confirmation boxes they never use the word No, they always say Nope
 
@ATaco : Make that chat preview have a "hide" button or hotkey, and make the text wrap when it reaches the starboard instead of the edge of the page, because currently it extends behind the starboard and also it blocks messages underneath.
 
What do you guys think? Is this sandbox challenge (https://codegolf.meta.stackexchange.com/a/12893/59530) sufficiently different from this existing one (https://codegolf.stackexchange.com/questions/38173/play-the-chaos-game)?

Mine adds actually showing the animation of the game in progress, but I am not sure if that is different enough.
 
Haven't read it yet, but if it's just inserting time.sleep(1) at each iteration, it's not different.
 
I guess it depends from language to language how much of a difference it makes to plot the steps instead of the final result
 
Speaking of sleep, has anyone noticed how the C implementation of sleep is like 50 lines of code and makes low-level Unix function calls, while this works fine:
void sleep(int seconds)
{
    for (int t = time(0) + seconds; time(0) < t;);
}
 
8:22 PM
Why is it returning an int
 
Because it's golfier than void, i.e. I'm lazy
I mean, yeah, my implementation isn't thread-safe, but the C standard library isn't built to be thread-safe
IDK why they decided to have some of the functions be extra-complex for thread compatibility while completely not bothering with others
 
@LeakyNun Do you have a test case? I could try and investigate some, but I can't seem to replicate.
 
@MDXF this blocks the whole thread though no?
 
9 mins ago, by MD XF
I mean, yeah, my implementation isn't thread-safe, but the C standard library isn't built to be thread-safe
 
not about thread safety just efficiency
 
8:34 PM
Oh. yes AFAIK it blocks the whole thread
 
I'm 77% sure that C stdlib's sleep function is not a busy-wait
 
Yeah it's not, it uses alarm
 
user165474
> 77%
 
?
 
Where did the number 77 come from?
 
8:36 PM
it's my estimated confidence
there are an infinite about of numbers you can use and people only use 99% (or some variation), 100%, 0%, and 50%
 
s/they/there but yeah I agree
 
user165474
> 24.35735%
 
It's not too specific. just do a scale of 1-5, multiply by 20, then take a scale of 1-5 again and keep proportionately scaling
 
<insert relevant xkcd here>
 
@Downgoat huh that's an interesting method
@totallyhuman I'm 76.28361775% sure there is one
 
user165474
8:39 PM
@MDXF there is always a relevant xkcd
 
It is , lemme actually insert it
 
@HyperNeutrino No, there's an 89.36155% chance
 
Quick question about this contest:
7
Q: Draw a sudoku board using ascii box characters

Joel CoehoornThis is code golf. For this challenge, I will accept a method (you don't need a full program), but the method signature does count towards the byte count and I want to see the full signature (not a lamdba). The input for the method is an integer array with 81 elements. The output/return value fro...

 
new meme using totally-not-random percentages instead of stereotypical 100%, 0%, 25%, 50%, 75%, 97-99%
 
>.> Why can't I find it
 
8:40 PM
@MDXF ok, now you're just being silly :P
 
@Downgoat and you weren't? :P
 
In SQL, I have to use a NVARCHAR data type to hold the extended drawing characters (╔═══╤═══╤═══╦, etc)
 
@Downgoat That's modulo and not percent ಠ_ಠ
 
:O this give me challenge idea
 
8:41 PM
Does that mean those string literals count as 2 bytes per char?
 
@Phoenix I know that is point
 
When I add up my bytes?
 
Yes
 
@BradC yes unless SQL can take an encoding in which they are one byte
 
NVARCHAR >.< 0/10 do not recommend
btw which userscript auto-inserts closing everything? it's super freaking obnoxious
 
8:43 PM
My school got out at 11:20 today O_o
 
@Downgoat Ok, so potentially I'd save bytes by substituting other (ascii) chars while I work with them and replacing at the end
 
@Mendeleev grade?
 
user165474
@MDXF ChatFormatting
 
ahh...
 
8:44 PM
@Mendeleev why is so surprise?
 
@Mendeleev wait... 9th grade and you have a car? o_O (you mentioned something about it yesterday)
 
Not mine
My parents'/
 
user165474
s/\///
 
I mean you could have been held back 2 years :P
 
Why can't you have a car in 10th grade?
 
8:45 PM
@Mendeleev makes sense
 
Someone I know who's in 10th grade has a freaking Camaro
 
@Mendeleev Wait, how are you still in school? It's June
 
0
A: Sandbox for Proposed Challenges

Moartem10 Clickbaits you can't resist Write a program/function/script that takes a natural number i from 1 to 10 as input and outputs the URL of the Question with the i th most votes on the Code Golf Portal Like in https://codegolf.stackexchange.com/questions when you click on votes. There are no st...

 
My school year ends on June 20
Is that not normal?
 
IIRC my (much younger) brother's school also ends then
 
user165474
8:47 PM
My school year ends on June 19-21 (20 and 21 are not mandatory); exams start 22nd
 
Around here it usually ends early May
 
@Mendeleev In the US it isn't, I hear in the UK the go until nearly the end of june.
 
user165474
@DJMcMayhem here = where?
 
Washington State, U.S.
(For me)
 
Colorado. Is it really a state thing?
 
8:48 PM
For me too...
 
It really is
 
It is
 
user165474
> The ministry of silly walks
 
@Phoenix You live literally 15 minutes away from me - when does your school year end?
 
For most of the East Coast, it goes until the end of May
 
8:48 PM
Missouri, my kids got out mid-May
but they start mid-August
 
@Mendeleev Finals week next week
 
Ok.
 
user165474
Wait people here know each other in person?
 
We meant to meet at a math competition
 
I don't know him in preson
 
8:48 PM
@DJMcMayhem O_o when does school start for you?
 
Didn't work out
 
School ended for me at the end of May, but it was mid-June for a friend in North Carolina.
 
@Downgoat what grade are you in?
 
3rd
 
ok stop that :P
 
8:49 PM
@Downgoat Well, I didn't do school normally, so not really sure, but August
 
user165474
Oh okay
 
lol
 
Imagine if a 5 year old got onto PPCG
And outgolfed Dennis O_o
 
hehehe
 
user165474
brb hatching child out of egg and putting through time accelerator
 
8:51 PM
I'm gonna ask this again until someone (or me) can think of something; anyone have any ideas for how to take input in Cubically?
 
user165474
« or » ?
 
wat
You remember what Cubically is right?
 
Input as a Rubik's cube algorithm
 
user165474
yes
 
O GOOD IDEA
 
user165474
8:52 PM
it's painful
 
but wait
 
user165474
You should add algorithms (Y, E, etc.)
 
Wait but how would it take integers/characters as inputs?
@HyperNeutrino Yeah I plan to, kind of
 
user165474
cool
 
The only thing more painful than writing code in that language was writing the language itself
 
user165474
8:53 PM
Actually I think writing the language might have been less painful
 
user165474
¯\_(ツ)_/¯ I didn't write it
 
It wasn't; remember the 55 bugs that took hours to work out?
 
user165474
true
 
Also I do not plan to add X or Y
 
user165474
my interpreter had a bug caused by me changing the framework of the tokenizer and not adjusting the interpreter. took like 5 hours to fix >.<
 
8:54 PM
Those would add so much complexity to the code lol
condolences
 
user165474
@MDXF please Xplain Y not
 
user165474
oh you did already ok
 
ಠ_ಠ
 
😑
 
what is that?
 
8:57 PM
Anyone here interested in reviving OPPCGMCS?
 
@Mendeleev OPPCGMCS is...
 
The Open PPCG Minecraft Server
 
Ooh
 
IP is dk0.us
 

« first day (2330 days earlier)      last day (2514 days later) »