« first day (2319 days earlier)      last day (2526 days later) » 

3:07 PM
0
Q: How good am I at CS:GO?

TheLethalCoderYou task is given an input string of the full/short name of a CS:GO rank return an integer from 1-18 representing the rank number. A higher number means you are a higher rank and so "better" at CS:GO. Input A string representing either the full name or short name of the CS:GO rank. Your code mu...

 
3:26 PM
Should we have a tag?
 
English, 3 bytes BadMayube 15 mins ago
 
Okx
@Mayube I think the language you're looking for is Text
 
no, because the language is english.
If the language was french it wouldn't be `Bad`, it'd be `Mal`
 
Okx
@Mayube Text
 
hey how would people react if i used Text on a bunch of kolmogorov complexity challenges
 
3:30 PM
There's already Bubblegum
 
@totallyhuman probably react by deleting your answers or at least flagging them
 
@totallyhuman with downvoted
 
@Mayube Carrot can output Bad in 3 bytes as well
 
can't post it anyway because Bad doesn't actually meet the spec :P
 
what about english
 
3:32 PM
@KritixiLithos Does carrot always start in insert mode?
 
yes, but in Carrot it's called caret-mode
 
solving the halting program in english
Read "Halting Problem" article in Wikipedia.
This program solves the halting problem.
 
@KritixiLithos link to GitHub? I'd love to read the docs
 
btw Carrot isn't TC yet, and so I am rewriting the interpreter to change all that
the docs are in the wiki
and the new interpreter is going to be written in node first
 
192
Q: DISARM THE B.O.M.B.!

AverroesYou have been hired for your tech knowledge as a Secret Agent's sidekick to ensure that the good guy can get his job done and the world can be saved. This is your last mission before retiring with a high paycheck and the gratitude of the whole world. But before you have to disarm the Evil Genius...

@MDXF We already have .
 
3:56 PM
@MDXF see my comment reply to Jonathan Allan
 
@KritixiLithos aww yiss :D
 
@Dennis do you Jellyfish?
 
4:15 PM
"covfefify a string" is now the 12th most upvoted question on ppcg
 
ಠ_ಠ
ಠ_ಠ ಠ_ಠ ಠ_ಠ ಠ_ಠ ಠ_ಠ
ಠ__________________ಠ
 
Actually it's the 12th highest scored
It has more upvotes than the one ranking just above it
 
:| how does covfefe beat upgoat downgoat
 
CMC: given e.g. 5, return 55555 (the given number will only be between 1 and 9) (repeat n n times)
 
4:18 PM
also, you must return a number, not a string, and you must use integer arithmetic
(Retina etc. is banned from this challenge for obvious reasons)
 
@LeakyNun VSL: n=>n*(10**n-1)/9
 
@LeakyNun lambda s:s*5
Takes input as decimal string
 
Okx
@LeakyNun Neim, 1 byte: R
 
@LeakyNun À"ap
 
@Downgoat Wait, VSL works?
 
4:19 PM
sorry, not repeat it 5 times @Downgoat @Phoenix @Okx
 
Okx
then 1 byte
 
1 min ago, by Leaky Nun
also, you must return a number, not a string, and you must use integer arithmetic
I suspect nobody read this @Phoenix @Okx
 
Okx
no, nobody did :P
 
@LeakyNun :( the goat did
 
@Downgoat the goat did
 
Okx
4:20 PM
Downvoted 'Do X without Y'
 
Is it repeat n times
^^
 
@Phoenix yes
 
lambda s:`s`*s
 
CMC: output an ASCII goat
 
TIL we have a voting league
and that some random dude's only participation on PPCG is casting 8105 upvotes, putting him in 3rd
 
4:21 PM
@Mayube FOG: g
 
Okx
RProgN: goat
 
can't remember which language has a 1 byte builtin for this
 
@Mayube Duplicate
 
which is the one that literally uses a unicode goat?
as it's builtin
 
@Phoenix wait what :O
 
4:22 PM
Search on main
It exists
 
@Mayube 🐐
It uses extended ASCII
 
0
A: Sandbox for Proposed Challenges

Beta DecayCreate an SMBC Twitter Bot code-golf internet Challenge Create a program which when run, posts the latest SMBC comic image to the bot's Twitter account. Since, Twitter oneboxes any image links, the program only needs to link straight to the latest image file. The tweet should be formatted lik...

 
-14
Q: Print 'em goats

ATacoRelated Goats are great. Everybody loves goats. And they also, for some reason, are an excellent complex ascii art for many languages to have built-ins for. Because of this, I personally feel a catalogue to document just how easily a language can print goats is greatly needed. The Challenge G...

 
D: D: D: why so many downvote??? D:
0/10 obvious supression of goat minority
 
b/c although the goat image is amazing, it's a very lame challenge
 
4:23 PM
And it was made for FOG and Del|m|t
 
@TuxCopter there's a language that uses that character as a builtin tho, and I can't remember which one it is
 
@LeakyNun 05AB1E, 4 bytes: GT*+
 
I think it might be Charcoal
 
@Mayube It's FOG
 
github link?
 
4:24 PM
._. I earned a gold badge on politics.SE in 1 day whereas it took be almost 1/3 of a year to get one here
 
ooh yeah I remember now
 
@Riley GT = 10?
 
4:25 PM
G -> For 1..input
T -> 10
 
@LeakyNun Braingolf, 39 bytes ....91+8>[.]<*<+<,>**<+<,>***<+<,>****+
 
Does a language exist which is like BF but where each cell on the tape is a different stack?
 
stack or tape?
 
Tape and stack
So you've got an infinite number of stacks
 
@BetaDecay That perfectly describes my very poor knowledge of Braingolf
 
4:32 PM
*Stack stack flashbacks*
 
@BetaDecay this is a planned feature for Carrot (but slightly different)
 
even better idea: A tape of stack of tape of stack of tape of ...
 
@ETHproductions eh kinda, Braingolf does use a stack-stack, but isn't much like BF
 
oh, ok
 
@KritixiLithos Even better: a sheet instead of a tape (i.e. you can move up, down, lefy and right)
 
4:35 PM
Side question: Is there a BF-based language that's on a sheet instead of a tape?
 
You're getting closer and closer to Microsoft Excel
 
Is that a bad thing?
Whait nvm yes it is.
 
> Whait
My new favorite conglomeration
 
Whait = wait what?
 
That's excellent enough I'm not editing that
 
4:38 PM
Actually
Here's a better statistic
"covfefify a string" is the 3rd highest scored code golf question
 
@totallyhuman I never really had a faith in humanity anyways...
 
@BetaDecay that's what my idea was (I did say slightly different) :D
it's going to use Vim's hjkl for movement
the reason is that Carrot sucks at storing lots of data
 
@BetaDecay I believe stackcats does that
 
@ETHproductions I definitely remember seeing that on esolangs but I forget the name
 
4:58 PM
@Qwerp-Derp haha sorry, not yet. I'll probably be working on that today
I'll get back to you
@ETHproductions YES SIMPLEX DOES/DID
@Qwerp-Derp When you have time, please join the stacked room
 
@ETHproductions what's a sheet?
 
tape of tapes I think
 
0
A: Sandbox for Proposed Challenges

ETHproductionsTitle code-challenge number Challenge In your language of choice, write 25 programs, functions, or snippets that output or return the integers 1 through 25, inclusive. However, the goal is to simultaneous minimize the number of distinct chars used and the length of the snippets. Scoring Th...

 
@ConorO'Brien Excel
 
@Cyoce See previous message
37 mins ago, by Beta Decay
@KritixiLithos Even better: a sheet instead of a tape (i.e. you can move up, down, lefy and right)
 
5:12 PM
@Phoenix beg pardon?
 
Sheet is an excell spreadsheet.
2D grid of cells
 
@ETHproductions and yes that is simplex, except there are a few more commands
@Phoenix right, ok, but that's not what he's talking about I don't think
 
Oh - and I'm working on a newer version of Vitsy called PurseDog
Just so you all know
 
5:21 PM
Perfect HNQ top 3!
 
awesome :D
 
@DigitalTrauma No?
 
fun fact: part of the reason I joined PPCG was seeing a lot of PPCG posts come up on HNQ. This eventually convinced me that PPCG was not just a place where old-timers gather together to code a game of golf, so I joined it
 
Okx
HNQ can vary
 
@BetaDecay In Noether, are there only the five functions, or are the rest undocumented?
 
5:34 PM
ಠ_ಠ in JavaScript Array.map ignores undefined Wait no it doesn't
 
define "been to"
 
IDK 24 hours there?
 
@Laikoni There?
 
Or 12+?
I'm not sure
 
5:42 PM
I've been to the edge of Canada once (Niagara Falls), but I didn't cross over so I suppose that doesn't count
@ConorO'Brien Oh cool
 
@ATaco ok this typing userscript is awesome
 
I've been to Vancouver once. I only spent 20-ish hours there, so I'm not sure if that counts
I'm counting it though
 
@ConorO'Brien ikr :D
 
@ConorO'Brien Agreed. :)
 
@DJMcMayhem I'd say "been" means "stayed there", like, you haven't "been" to a country if your plane passes over it
 
5:44 PM
Stayed there overnight?
What if you only go into the airport?
 
I resolved my current "can't comment on a deleted answer" problem by commenting on a completely different answer by the same person. Let's see how much that gets me "shouted at".
 
hm
I'd think not
 
Now states... I think I've stayed in 6
 
If airport counts, I've been to 8
 
I'm really not very well-traveled
 
5:45 PM
I've been in... I think 3 states
But I'm not from the U.S.
 
@DJMcMayhem don't think stopover counts
 
I've been to 17 states
 
@ATaco ^^
 
Yeah, I had the same thing lol
 
Okx
5:47 PM
the PPCG userscript doesn't seem to work for this chatroom
 
@ConorO'Brien They're undocumented as of now. I'll see if I can do it now
 
Maybe @BusinessCat has the userscript installed twice (Greasemonkey + Tampermonkey)
 
@EriktheOutgolfer Yeah, I don't think it does either. So I only count 5
 
I'm not sure of a good formatting method for listing overloaded functions
 
Umm I certainly don't but I have no idea why that's happening
 
5:48 PM
Erik the Outgolfer and Erik the Outgolfer are typing.
really?
 
@EriktheOutgolfer Wait, did you see that? O_o
 
I only have Tampermonkey
 
ah ok
 
> Business Cat is typing.
only appears once here
 
5:49 PM
this is cool
i am typing
 
@EriktheOutgolfer Now I only see it once as well, it was just that once or twice that it happened
 
maybe @BusinessCat removed the second copy...but you can't have two copies of a userscript!
 
or someone haxed
 
I had another userscript that I made running, but after you said that I turned it off
 
Maybe there really were two BusinessCats typing...
 
5:50 PM
I don't see how it would mess it up but you never know
 
@KritixiLithos you didn't appear
 
@BetaDecay no rush :)
 
because I don't have the userscript
 
I can tell
 
@KritixiLithos you must install it :P
 
5:51 PM
Hey, it doesn't tell you when you are typing anymore. That's nice
 
11 hours ago, by Kritixi Lithos
it's a bit creepy, that's it (as if we aren't already being monitored)
 
you can have it disabled if you want but I'd advise you to put that heck in...it's actually really cool
did I take much time for this?
> Conor O'Brien is typing.
wall of text again? :P
ok what's going on?
ok I think Conor slept on the keyboard...@ETHproductions
 
I see it too
 
0
Q: Should you answer a competitive question if your answer is not competing / is not competitive?

tuskiomiI'm curious, because some answers seem to be posted regardless of the winning answer. Should non-competitive answers be posted when better answers exist for entries of the same language?

 
should I ping him so that he wakes up? this is creeping the hell of me out
 
Okx
6:04 PM
uninstall the extension?
 
huh? it's not just me
 
weird
i have it too
 
isn't it creepy as hell?
 
> seen 10s ago
maybe he is typing a lot
 
keyboard sleeping is still typing a lot though
ok I'm now afraid something is going horrendously awfully
he hasn't even responded yet
 
6:07 PM
@ConorO'Brien
 
@Okx look here!
do you have the extension?
 
Okx
no
 
@MDXF what
 
wow he's alive!
 
maybe update it?
 
6:10 PM
@Okx it says that Conor is typing for a creepily long time
 
Okx
really? xD
 
btw if you think it invades your privacy you can disable it but you must have all taco scripts installed
;)
 
@ConorO'Brien People thought you were typing something huge
Or sleeping on your keyboard
 
oh no I just left a space in the textarea
 
what?
wait leaving a space without typing is considered typing?
 
6:13 PM
apparently so
 
but it was intentional right?
> :37895106 what
true he really left a space in
@ATaco huge problem should be fixed, leaving text in textarea apparently means typing at the moment
 
@DJMcMayhem How can you configure Vim so that Left/Right go to the previous/next line?
Like how it works in any other text editor.
 
@Phoenix :h 'whichwrap'
 
Ok
 
@Doorknob Thanks, I couldn't remember that lol
 
6:25 PM
thx
 
> witchcraft
 
@DJMcMayhem :h l references it. :P
 
I'm sorry, I'm a complete idiot
 
How are you all seeing when you're typing?
 
6:30 PM
@VoteToClose I am Typing
 
I suppose... you could write an extension that allows you to see what other users are typing... That would just be too creepy though
 
0
A: Sandbox for Proposed Challenges

carusocomputingGroup a List by Frequency Given a list l, group the elements which occur most first, then group the next most, then the next and so on until each element in the list has been grouped once. Examples: Input: [1,2,3] Output: [[1,2,3]] Input: [1,1,1,2,2,3,3,4,5,6] Output: [[1],[2,3],[4,5,6]...

0
A: Sandbox for Proposed Challenges

Dom HastingsI need to see what you did there... My designer keep sending me flat images with gradients and overlays. I know the exact colours that are being overlaid, but I don't know the opacity value. code-golf Challenge Given three colours, return the opacity value for the result of colour2, over co...

 
@ØrjanJohansen Thanks! I got your notification in chat, but couldn't fix the answer properly while on mobile.
 
@LeakyNun APL, 5 bytes: 10⊥⍴⍨ (evaluate n×10ⁿ+n×10ⁿ⁻¹+n×10ⁿ⁻²+…+n×10⁰)
 
6:44 PM
@Laikoni Aha! I thought maybe you had not got the message, and just thought of the pi/pi part yourself.
 
you know, this is kind of funny. the userscript allows you to "change" your username. talk about monkey patching :P
 
@ØrjanJohansen I actually had sum[]^sum[] in my file of attempts, but somehow failed to make the obvious step from pi-pi to pi/pi ...
 
I shall remember this moment forever
 
I remember capping from one answer. It's very satisfying
It got 40 in one day though, so I list 50% of my rep that day
 
@ConorO'Brien Haha, does it work?
I think I figured out how to do it
@DJMcMayhem Hah, nice. I've gotten 19, 23, and now 20 votes on the same post across three days
The first day I also had 13 votes on another answer
 
7:02 PM
Geez
My last question is the worst received question I've ever had
 
"Tips for golfing in V"?
 
(without being closed/deleted that is)
@ETHproductions Yeah
 
my last question too
 
Hmm, I don't remember my last question
Oh yeah, it wasn't bad
 
chrome thinks rubik's cube in C is Polish
 
7:05 PM
lol
 
0
Q: Verbose IP Range Generator

carusocomputingThe task is simple, given two IP adresses a and b, output all addresses within that range. Examples Example #1: f(a = 192.168.0.1, b = 192.168.0.4) 192.168.0.1 192.168.0.2 192.168.0.3 192.168.0.4 Example #2 (TIO will truncate this, use a smaller range when testing): f (a ...

0
Q: A+B using C++ language

eaglemangoI'm golfing a program to sum two numbers in C++. Example: 10 3 13 I found out that this problem can be solved in 54 symbols (without spaces and so on) using C++. My code (63 symbols): #include <iostream> main() { int a, b; std::cin >> a >> b; std::cout << a + b; } I have no ide...

 
@betseg Why is your PPCG green?
 
i have the new design
jk just a userscript
 
hi all
 
@betseg That's what I was worried about :P
 
7:15 PM
are there still math geniuses (like Peter Taylor) answer ppcg questions or has that time passed?
 
Peter is very active
 
oh cool! I must just not have written a question
he likes recently
there was also an amazing person called... (let me find it)
Ton Hospel
who is truly extraordinary
(absent since Nov 2016)
and.. there were project euler people here too at one point ... the good old days :)
are there other places on the net to pose programming challenges other than ppcg?
 
@KritixiLithos already done
not right/left but similar I think
based on Lost, search it up
obviously not a dupe if the task is different though
 
@VoteToClose is there a difference? I don't see one /s
 
7:27 PM
@ETHproductions idk, I haven't tested it yet
 
0
A: Sandbox for Proposed Challenges

tuskiomiDecode my I2C Stream! I2c or TWI, is a 2 way stream that uses 2 signal lines: SDA and SCK. This is used in sensors to communicate between a master and a slave. So, how does this work? Well, here's the boilerplate: Input: 1 I2c command represented by 2 strings where - is a high signal, and ...

 
@ConorO'Brien o-O
 
@Riker I am offended.
 
@VoteToClose ok
 
has the minimum bounty gone up to 100?
I put a bounty and that's all it offered me
 
7:39 PM
if it's your own challenge then it's 100 I think
or s/your own/somebody else's/
 
0
Q: Copodope Gopolopfop

mbomb007The Language: Oppification A funny language to speak is created by applying the following process to each word: Place op after each consonant. So Code becomes Copodope. Yes, that's it. For the purpose of this challenge, y is always a consonant. The Challenge: De-oppification Given an oppif...

 
8:07 PM
0
A: Sandbox for Proposed Challenges

Comrade SparklePonyName coming soon pythonkoth You have made it into the hacking Olympics! You have made it into the final round, where you need to gain access to the winner variable and put your name there. Gaining access was the easy part. The hard part will be making sure that no one changes the variable to th...

 
Who is "The Magnificent Green Dragon"?
 
8:31 PM
@ATaco XSS is possible with your userscript
 
Did someone actually XSS it to bork the entire screen?
 
At least script seems to not work, which is a good thing, but totally changing the stylesheet is still possible
 
@TuxCopter Which one is that?
 
@Phoenix The I am typing userscript
It's really really really easy to abuse
 
@TuxCopter share with the class
 
8:37 PM
?
 
proof of concept?
 
Oh
wait
 
if your name has html in it i guess
 
var ws = new WebSocket("wss://a-ta.co", "typing");
ws.onmessage = function(msg) {
    var data = JSON.parse(msg.data);
    if (data.action == "getDetails") {
        ws.send(JSON.stringify({action: "setUserID", data: 1}));
        ws.send(JSON.stringify({action: "setUserName", data: "Hi"}));
        ws.send(JSON.stringify({action: "setRoom", data: 240}));
        ws.send(JSON.stringify({action: "startTyping", data: undefined}));
    }
}
 
oh you mean if you manually send data on the socket
gotcha
that'll do it
 
8:45 PM
@ConorO'Brien I see you figured out how to change your typing name
 
Actually it's possible to bork everything, not just change the name
And it's not rocket science
 
Oh my god what just happened
 
XSS just happened
 
any haskellians here?
 
?!?!?!
 
8:50 PM
That's a result of the typing userscript I assume?
 
Oh right, I can see how XSS can happen with that.
 
i don't know, i'm checking rn
 
I'm 99% sure Tux did it :P
 
I'm glad people have been ripping it piece to piece, let me add some serverside security.
 
8:50 PM
done by the typers
 
I'll just vet HTML from the SetUserName
 
@ETHproductions Yep I did
 
You can make yourself someone else if you really want, for now.
I recommend turning it off for now if you're concerned for security.
 
@ATaco The script tag doesn't do anything, the only damage possible is messing up with the stylesheet really
 
Tilted messages are a feature
 
8:53 PM
@flawr If it concerns golfing, then yes.
 
@ATaco how do you do that?
 
I have no idea, I didn't do it.
 
i think "the magnificent green dragon" is conor
tell me your secrets!
 
You just need to somehow retrieve the websocket used by the userscript and then use ws.send(JSON.stringify({action: "setUserName", data: "<name>"}));
 
what
> Please turn me off!
oh god
pls stop trolling
 
8:55 PM
I've already turned it off
 
Jesus christ this is a nightmare, I'm fixing as fast as I can.
 
dear lord
 
"Oh wait, I can just turn off the server"
 
whever's doing this, know that it's not appreciated and not funny to anybody
 
Oh well it's closed
Holy crap the userscript is getting crazy
 
8:57 PM
I recommend refreshing for now...
 
i saw an "ok sorry" there lol
 
Server's down for now, no additional spam should be able to be added.
 
great vulnerability exploited 10/10
 
@Laikoni I have a question regarding creating a main function that times the execution of some funciton
 

« first day (2319 days earlier)      last day (2526 days later) »