« first day (2093 days earlier)      last day (2744 days later) » 

8:07 PM
Question: In C#, how to replace only one occurence of a thing in a string?
 
1
Q: Let's get ready for Halloween

DopappI don't know about you all but I'm not preparing for Halloween––never did never will––but, my neighbor is, so we'll help her out. She needs help figuring out which brand of candy she has, but she has so much candy she would not be able to finish before Halloween. She has: Snickers KitKat Star...

 
Just noticed I didn't go onto PPCG on October 13th, so I ruined my consecutive day streak 2 days before 400 days
 
:(
 
"Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo" is a grammatically correct sentence in American English, used as an example of how homonyms and homophones can be used to create complicated linguistic constructs. It has been discussed in literature in various forms since 1967, when it appeared in Dmitri Borgmann's Beyond Language: Adventures in Word and Thought. The sentence uses three distinct meanings of the word buffalo: the city of Buffalo, New York; the uncommon verb to buffalo, meaning "to bully, harass,or intimidate" or "to baffle"; and the animal, bison (often called buffalo...
@quartata oh well
just have to stay on PPCG for 391 more
 
@quartata aww, that's too bad. I'm coming up on 300 now
 
8:17 PM
@EᴀsᴛᴇʀʟʏIʀᴋ Buffalo.
 
8:46 PM
@NewMainPosts I feel like that's a dupe...
 
»  python
Python 3.5.1 (v3.5.1:37a07cee5969, Dec  6 2015, 01:38:48) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Failed calling sys.__interactivehook__
Traceback (most recent call last):
  File "C:\Users\Elie\AppData\Local\Programs\Python\Python35-32\lib\site.py", line 419, in register_readline
    readline.read_history_file(history)
  File "C:\Users\Elie\AppData\Local\Programs\Python\Python35-32\lib\site-packages\pyreadline\rlmain.py", line 165, in read_history_file
lolwut
 
Previous history file is corrupted; this happened to me once when I ran python while I was making a copy of my home directory with dd
When I ran Python on the new image it didn't like
It's not a problem
 
Oh no I know why it do this
Because there is an unicode character in the history file
And Python don't like unicode
 
9:09 PM
> only the letters and numbers and space have the same assignments in all EBCDIC code pages.
xD
 
Are code-golf challenges about higher-order programming accepted / well-received?
 
higher-order programming?
 
@Dennis that's certainly a unique choice for input/output
 
@TuxCopter where you use functions as input to functions
like with std::transform (in C++) or map (in Haskell)
 
It's probably accepted
 
9:20 PM
@SEJPM Haskell is accepted, and any other "reasonable" language too.
 
I think he mean challenges where input id composed of functions
 
@TuxCopter yes, exactly, something like "re-implement map (in your favorite language)"
 
@SEJPM This challenge already existst AFAIK
@DestructibleWatermelon YO
 
Oh sorry, I did not understand that correctly
 
9:23 PM
@miles And not a good one... But I ran out of time. :/
 
@TuxCopter it was an illustrative example
mine would be: "Implement a program that given a function from N x N -> N produces a (printed!) 2D map of the results"
 
Wow, do some computers really used EBCDIC
This codepage is simply stupid
 
> IBM adapted EBCDIC from punched card code in the early 1960s and promulgated it as a customer-control tactic (see connector conspiracy), spurning the already established ASCII standard.
 
also the OP might need to clarify if the output should be an exact integer or if floating point precision is good enough
 
@IBM lolwut
 
9:26 PM
It was a good strategy.
 
@miles I'll either go with floats anyways or restrict the ranges (eg do uint_32 x uint_32 -> uint_32)
 
@Dennis - your cop entry went 7 days: codegolf.stackexchange.com/a/96341/53748
 
¯\_(ツ)_/¯
0
A: Find the program that prints this integer sequence (Robbers' thread)

Destructible WatermelonMolecule, midnightas They didn't hide the program... "ᘰᜟᘄఄሳÝ̲"C`n

 
The worst thing: It's safe xD — TùxCräftîñg 6 secs ago
 
is it better to keep the number of arguments as low as possible and let people hard-code stuff or are more arguments also "ok" (right now I'm looking at 1 function + 6 numbers as arguments)?
 
@DestructibleWatermelon what on earth
 
Wait, they have to write safe for it to be valid, right?
 
IDK
 
I probably should have checked dates and stuff
I have no clue how thats safe
 
@DestructibleWatermelon They needed to say what OEIS it is to be safe.
 
9:40 PM
I still probs should have checked the dates. I just realised how old the challenge is...
 
-2
Q: using functions to evaluate students scores

John JamesOutline: Your program will process a set of data that contains test scores, five per person. For example, here is an input with three sets of five grades: 99 87 92 86 100 89 76 91 90 88 78 88 98 100 98 You will read in the data in main(). Then, you will call functions to: 1. validate each score 2...

 
@NewMainPosts YAGTTSEWAHSS (Yet Another Guy That Tought StackExchange Was A Homework Solving Service)
6
 
@TuxCopter -1 unpronounceable (GAPOJI principle)
@TuxCopter Fun fact: Google Translate pronounces that as "yactsuazes"
 
9:56 PM
Naturally, most people who aren't capable of solving basic homework problems also are unable to successfully disguise their homework as a challenge. Yet, it must have happened occasionally. I wonder, how often PPCG is successfully used as a homework solving service?
 
Idk, if homework is correctly disguised, it's hard to distinguish it from a challenge
 
Usually homework is too specifically targeted to e.g. 1 language
 
But if you post an easy problem from Python homework, you can be pretty sure you'll get a solution somewhere.
Java is also likely.
C++ could be problematic though.
 
True, but it's probably an answer that gets you very little points :-)
It will do all kinds of strange things...
 
It's when they submit their Jelly answer to the teacher...
 
10:01 PM
Put in autoformatter, rename variables to words that sound related to the problem...
 
0
A: Output the Hebrew alphabet

Elronndzsh, 25 21 bytes echo ${(j..):-{ת..א}} My browser is messing it up: the ת should be the first letter, then the א. If you paste somewhere else, though, it should work. The old version: for i in {ת..א};printf $i

^ This is invalid
 
0
A: Sandbox for Proposed Challenges

SEJPMIntroduction Surely you've also come across the problem where you have a multi-dimensional function at hand and want to visualize it (it's just such an everyday problem!). So we need a (programmatic) solution to this. A memorable solution, thus obviously the shortest solution is best! Specifica...

 
52
A: Fibonacci reversed!

MegoActually, 1 byte f Yes, there's a builtin for this, since November 16, 2015. Try it online For fun, without the builtin, it's 9 bytes: ╗1`F╜=`╓i Try it online! Explanation: ╗1`F╜=`╓i ╗ push input to register 0 1`F╜=`╓ push list containing first value x (starting with x = 0...

lolwut
 
@TuxCopter you're late to that one ;)
 
10:17 PM
@TuxCopter first snippet for D2 pls
 
1
A: Showcase your language one vote at a time

TùxCräftîñgD2 Factoid D2 is a Brainfuck-like turing tarpit with a 2D memory model

please
 
Ok :)
@DestructibleWatermelon Done
 
@TuxCopter linky?
 
@TuxCopter o, I didn't realize he wanted you to edit that post :O
<- potato
 
@SEJPM Wait, is that you? :O
 
@TuxCopter too scifi
I'm more of a grounded potato
and sometimes I'm also a drumpftato
 
does anybody else here play Besiege?
 
I used to
 
10:26 PM
I'm going to make a giant walker with like, spinning spike balls on the legs
I will show you when it is done
 
o_O
 
also can't wait for the moon to be made!
@TuxCopter when was the last time you played? there is a whole new island, entirely finished now
Tolbrynd, unless you played really recently
 
Huh, probably 2 months I didn't played
 
Do you want me to show you a tiny walker though?
 
Why not
 
10:32 PM
something isn't right....
ok
also really recently I learmed you can make steamguns with water guns
 
Really?
 
yup
diagram
WW
 BT
Place block at b,the watergun at w, torch at t (facing watergun)
 
@JonathanAllan w00t Now I just have to remember what I did there...
 
@Dennis all I could muster was that if you take a list with n items where n is the decimal of [1, 10,101, 1011, 10111, 101111,...] and bounce it it will have that length, but cant squeeze it into ??ŒḄL
... i.e. [0,1,2,3,4,5,6,7,8,9,... -> [1,2,5,11,23,47,95,191,383,767,...
 
No, it was something else. Something hacky.
 
10:47 PM
yeah I pretty much figured - something weird like a recursion that breaks itself
 
omg what's going on over in Japanese language!
@Dennis - yes it's the only oeis it may be
 
@JonathanAllan No idea. Someone is spamming flags I think
 
gonna make that huge walker now
 
10:56 PM
@JonathanAllan ?
 
my avahi daemon diesn't work
oops wrong chatroom. :(
 
@TuxCopter fluffy of about 20 chat flags
*flurry
 
Wow
My Hebrew alphabet (or should I say alephbet?) challenge have 5 downvotes
 
well... I don't really know how to build big walker, soooo
 
@TuxCopter any idea why people dislike it?
 
11:01 PM
Probably because it's a boring kolmogorov complexity ¯\_(ツ)_/¯
 
@ΛεγίωνΜάμμαλϠΟΗʹ It's cool that you used my autogolfer, though.
 
seems to have an interesting twist to me (literally :p)
 
11:23 PM
@TuxCopter you wanna play textbased shooter
 
What textbased shooter?
 
@TuxCopter type say hi when you enter
 
Done
 
11:41 PM
@TuxCopter O_o
@DmitryKudriavtsev yea, in this chat room we use "pls halp ___ borked ;_;"
 
So, I'm watching Legend of Korra, and I was wondering how pro-bending could be made into a KotH.
 
@PhiNotPi Just curious, what's the difference between HW, HW2, HW3, and HW4? (It took me long enough to find the string that I needed to change to my desired output)
 
@ΛεγίωνΜάμμαλϠΟΗʹ versioning
"HW" was literally two random letters because I needed a name for it.
 
11:59 PM
It's been an hour and still no Meta bot :/
 

« first day (2093 days earlier)      last day (2744 days later) »