« first day (2048 days earlier)      last day (2806 days later) » 

5:00 PM
0
A: Sandbox for Proposed Challenges

zyabin101Output an upside-down tent tags: code-golf [another tag needed] This challenge is based on a chat mini challenge by Helka Homba, which is allowed to be used in real challenges under the conditions of Calvin's Hobbies Public License. Given two inputs, both integers, output an upside-down tent...

 
@Lynn just think of processing I/O in C using only getchar()/putchar() ?
 
@Dennis I guess you're too busy with TIO V2, I made my date challenge not require date utilities though. No Golfing language solutions yet:
6
Q: When is their birthday?

Jonathan AllanDonald Knuth was born in 1938, on the 20th day of Capricorn. The first day of Capricorn is the 22nd December. Donald Knuth was born on the 10th of January (1938). The challenge Write a program or function which takes three inputs about a person (any other specified order is fine): Their (ca...

 
CMC: Take this typing test and share your results in here
 
618 / 124, some mistakes
 
Damn. I was really proud of my 86
 
5:14 PM
@DJMcMayhem Don't want to take this test.
 
Why not?
 
Don't want to be rated.
 
@JonathanAllan Yeah, quite busy atm.
Related: Tfw you realize you wrote <h2 class=".clear">...
 
@zyabin101 I am horribly offended. -15 imaginary CMC downvotes upon you.
:P
Hahaha:
I disagree. STACK OVERFLOW IS HEREBY CANCELLED. — Jeff Atwood ♦ Dec 10 '10 at 10:41
 
@DJMcMayhem I got 65 WPM, but it felt really unnatural for some reason.
Particularly having to press the spacebar after each word. I felt like I paid a lot more attention to that than I normally do. Pressing it really hard and stuff like that.
 
5:20 PM
@DJMcMayhem 108
But I didn't do as good as I normally do. I can get up to 120
 
@DJMcMayhem 33 cos I cqn't trype tp sabe my lifw
 
255/51 on mobile :/
 
Oh, I didn't see what my CPM was
Just WPM
 
@DJMcMayhem 92 wpm
 
when i glance up, i stay around 140 if i'm not making mistakes
 
5:24 PM
Nice
 
Watched the movie
 
i misspelled beauty twice, missed the a
 
@Geobits you type fater than me on your mobile! wt..
 
It was beautiful
 
spelling is American English too
 
5:26 PM
AE is the only E
 
(N)
British English is the real English
 
Well, except for grey. Gray is just stupid.
 
^
 
Nah, the brits changed too much after the split :P
 
we changed what?
 
5:29 PM
we changed back to beta
 
> Present-day British is no closer to that earlier form than present-day American is. Indeed, in some ways present-day American is more conservative, that is, closer to the common original standard than is present-day British.
> Some examples of American conservatives versus British innovation are these: Americans generally retain the r-sound in words like more and mother, whereas the British have lost it. Americans generally retain the ‘flat a’ of cat in path, calf, class,whereas the British have replaced it with the ‘broad a’ of father.
 
that does not make it the Queen's English me'laddy (or laddette)
 
Right. It makes the Queen's English wrong :P
 
586/117 on second try.
 
it messes me up that pressing backspace a lot brings you back to previous words, even if you typed them correctly
 
5:31 PM
You dare to call her wrong :p
 
On the first try I foolishly placed the test on the monitor not in front of my keyboard, which was terribly un-ergonomic.
 
off with his head :p
 
@JonathanAllan Don't you mean "off wit' 'is 'ead"?
;)
 
exunctly
 
647 / 129 slightly better
 
5:34 PM
I have a question for you all: Any given FRACTRAN program has interchangeable primes. A multiplication program like 455/33 11/13 1/11 3/7 11/2 1/3 could easily also be 715/6 3/5 1/3 2/13 3/7 1/2 which is golfier
Given that I can change the primes around in a FRACTRAN program to make it golfier, what's a decent way to find the golfiest permutation of primes, without iterating through all the permutations?
 
@Sherlock9 Ah.
 
I'm not entirely sure how to optimize my search here. I thought that maybe taking the Cartesian product [logarithms of the primes in a permutation] and [count of how many times each variable is used] and taking one of the permutations with a minimal sum
 
@Sherlock9 Trying them all but avoiding obviously inferior choices should be good enough.
 
5:41 PM
But I'm still iterating over every permutation
Not sure what a good heuristic for an inferior choice is here
 
In each bin, you know how many digits a given choice will add to within an error of 1.
So you can immediately see that using 2 in a fraction that has p^5 is better than using 53 there
err
I mean using 2, 53 for p^5 * q
Assuming p, q are used nowhere else.
 
Ah, the trouble is going to be that the primes are used in several places. Some as markers to go from one loop to another
 
Yes, that was an overly simple example.
You'll have to consider all the bins both primes are in.
 
Maybe a simple implementation would be to start with ordered list of primes and swap two at a time to see if the result is better. A sort of hill-climbing algorithm
 
That might work. The main problem I could see is that there are many swaps which don't change the score.
 
5:50 PM
@feersum Just curious: Did you see my second suggestion on your fragile quine answer?
 
Oh. I saw it and then got distracted.
 
Been there.
 
Yep. I've been trying to golf my Fibonacci program that I posted here earlier (though reduced from 13 primes to 10 primes temporarily so that my golfer would finish sometime this week) and there's about 200 permutations that have the minimal score
 
0
Q: Noah's (upgraded) ark

tuskiomiAs preparation for the nth Exodus, Noah decides to write a program that will decide If he will let animals on his ark. However, Noah wants to go back to grass roots. Thus he decides that the program should be as small and as simple as possible. GOAL: Recreate the Contrabulous Choosematron, in ...

 
Yesterday I had less than 900 rep. Now i have more than 1k. dreams
 
6:03 PM
i have 1826 rep, so close to 2000
yay
i sucefully compiled Win32a
 
Wat iz
 
a windows version of curses working with GDI
so no more silly limitations because of the win32 console
and full rgb support
and unicode
 
Nice
 
0
A: Sandbox for Proposed Challenges

zyabin101Output a number tent tags: code-golf [another tag needed] Given an integer, output a number tent. (The number tent is just called as such.) The input determines: whether the tent is upside down (negative) or right way up (positive), whether the entrance is on the left side (even) or the ri...

 
6:21 PM
@betseg congrats on hitting 1k!
5
 
@DJMcMayhem thx
 
@MitchSchwartz I think that's usually the easy part; I just never really know how to set up the tape. …I guess that’s just a general Brainfuck problem :)
 
i died with a ring of polymorph D:
 
Nice rendering, Internet Explorer
 
6:45 PM
@DJMcMayhem Would you like me to edit this to be an @mention instead of a reply, so the name shows on the starboard?
 
@trichoplax oh. I didn't even think of that. Sure why not?
 
So I just heard the new CS:GO weapon sounds for the first time
 
@DJMcMayhem Done. Hopefully betseg doesn't mind the extra ping...
 
This is awful
@TùxCräftîñg What are you using curses for?
 
russians kicked me and i got 1 week banned
@quartata lel i cant play counter strike (competetive i mean)
@Chat.SE y u change the order of messages
 
6:50 PM
@trichoplax One of the advantages of supreme editing power you can ping someone as many times as you want. :P
 
Honestly, I don't think I'll be playing any GO again with these new sounds. They're horrible. I can't listen for sounds at all
 
oh, yearling is given every year?
 
I've always preferred Source anyways so this isn't a huge deal
@Optimizer Yeah.
 
waitwat in SLASHTHEM i can start as a jedi
 
Solution: Mute?
 
6:51 PM
I'm about to get it in a week 0_0
 
this game is cool
 
@DJMcMayhem That would be even worse
The point of having good sounds is so I can hear other players
I can't tell the difference between any of the pistols anymore
 
@trichoplax I DO I HATE GETTING PINGED PLZ ELEVEN HIM
 
@DJMcMayhem Mods can use a superping which is audible even when your computer is on mute
 
0
A: Simulate a Rubik's cube

Paul SchmitzJavascript (ES5), 1615 bytes function m(a){b=[];b[0]=a[6];b[2]=a[0];b[8]=a[2];b[6]=a[8];b[1]=a[3];b[5]=a[1];b[7]=a[5];b[3]=a[7];b[4]=a[4];return b}function q(a,b){c=[];c[0]=b[0];c[1]=b[1];c[2]=a[2];c[3]=b[3];c[4]=b[4];c[5]=a[5];c[6]=b[6];c[7]=b[7];c[8]=a[8];return c}function r(a){var b=[];b[0]=m...

 
6:52 PM
@betseg Um, mods can't eleven people...
 
> This was a very difficult challenge.
duh thats why i posted
@trichoplax joke bro thats y i italic'd
 
@betseg I know :P
 
> c - an uncursed +1 lightsaber (weapon in hand)
 
@trichoplax woah.... does it do anything else?
 
@DJMcMayhem I was joking about that - should have included a :P
 
6:55 PM
Hahaha.... I'm an idiot
 
@DJMcMayhem it solve the TSP in O(1)
 
@DJMcMayhem I'll have to stop telling jokes in my serious voice...
 
Yes, please use your joking voice next time.
 
It looks like this :P
 
Ya know, cause text has a voice
 
6:57 PM
Or like this for sarcasm(!)
 
2
Q: Bitflip and negate

xnorGiven an integer, make an expression that produces it from 0 using unary negation - and bitwise complement ~ (~n = -n-1), with the operators applied right to left. ... -3 = ~-~-~0 -2 = ~-~0 -1 = ~0 0 = 0 1 = -~0 2 = -~-~0 3 = -~-~-~0 ... Your expression must be as short as possible,...

 
@trichoplax send an \a. problem solved.
 
@trichoplax I don't know if I can trust either of those messages, seeing how one was a joke and the other was sarcastic.
 
@DJMcMayhem Cunning, huh?
 
6:59 PM
woah exists?!
 
@betseg Disappointingly that only gives me a standard ping :(
 
@trichoplax 
did it work
i sent U+07
 
No - still just a ping
 
it would probably work on a terminal emulator tho
 
I'm really proud of this one:
1
A: Bitflip and negate

DJMcMayhemV, 21 bytes /ä é D@"ña-~ñá0kgJó-- Try it online! V has very limited number support, and it actually has no concept of negative numbers. This means in order to support negatives (or even 0), we have to use some hacky workarounds. Explanation: /ä "Move forward to the first di...

 
7:12 PM
I like it. Nice explanation as well!
Cool way of handling negative numbers
 
Thanks!
 
simple challenges have more updoots than harder ones Q_Q
but simplest ones have negative Q_Q
what do i ask
 
Thankfully, ñ handles 0, otherwise it would be a pain in the butt
That's actually something I had to manually add, since vim doesn't like the concept of "do this 0 times"
 
@betseg Yeah, that's a bit unfortunate
 
@betseg Something simple, interesting, funny, and informative.
Easy.
 
7:15 PM
Something clever, and worthy of being starred
 
Wow, such star bait.
 
#noshame
 
Isn't using a hashtag for no shame a bit redundant?
 
#arelife
 
@DJMcMayhem #shame #shame #shame
 
7:22 PM
#snekizback
 
@TùxCräftîñg Hash functions are life? I mean, I agree they're great but that seems a little extreme. We could probably live without them
 
ಠ_ಠ
 
I think it should have been #islife. Hash is delicious.
 
dammit
 
@TùxCräftîñg Humans predate computers. Hard to believe, I know.
 
7:24 PM
ಠ_____ಠ
 
Hmm. Well, not if you're of the opinion that humans are just computers in a skin suit.
 
@HelkaHomba Tell me, how were humans created then, if not by computers?
 
0
A: Simulate a Rubik's cube

AaronPython 760 Bytes I mostly just did lots of numpy list slicing and used its built in rotate and roll functions. Input is handled by calling the functions directly with eval() from numpy import* l=[0];c=kron([[32,89,32,32],[66,82,71,79],[32,87,32,32]],ones([3,3])).astype(int) def i():l[0]();l[0](...

> rot90()
woah dude
 
@flawr Well, one popular story has an evil snake in it
 
7:28 PM
ಠ_ಠ
 
@HelkaHomba No snakes, blindworms!
 
sneks r not evil
 
I've never heard the version with the evil blindworm.
 
yeah, I agree
 
Maybe he just liked apples and sharing. idk
Not unlike the modern tech generation
 
7:31 PM
so teh evil snek was a computer :O
 
I never really understood that story anyway. So before the fruit, they were just naive and innocent? Where's the fun in that? We should be thanking the serpent-computer thing.
 
Probably heresy but I always thought it would be more interesting if it was an evil apple trying to get them to eat a snake
 
wow
 
@HelkaHomba microsoft ftw
 
7:32 PM
there is a mosquito on my monitor
mosquito is sinek in turkish
 
sinek?
 
TIL - Bill Gates is the person who convinced Eve to doom humanity.
 
yup
 
one more proof than Bill Gates is evil
 
@quartata The latest Apple now refuses snake entry (and can walk in water :o)
 
7:35 PM
Well yeah. That's why it's called the Jesus Phone.
 
bwahaahaha
 
@HelkaHomba I bet it is only water proof for Apple iWater™
 
Apple™®© i™®©Water™®©
 
You forgot a servicemark
 
7:44 PM
I just noticed Apple™'s products are damn egomanic.
 
iNoticed some time ago.
 
haha™℠®©
 
TIL Google's first logo was made in GIMP
 
@Lynn getting an integer in decimal that doesn't exceed cell size seems beginner level to me, printing would be intermediate (but you can build on the work of others and not think about it much, if you want), and things like arbitrary precision mul and divmod should probably count as advanced
For int input you only need to keep track of current result and current char (and temp space), seems ok to think about?
 
7:56 PM
@MartinEnder I was remembering our conversation where you said that you would prefer it if all users would be forced to use the sandbox (with SE custom code). Would you also prefer that we enforced a minimum waiting time?
 
@NathanMerrill NO
 
Does anyone know how to limit search results to answers from a single question?
 
Software that tries to force me to do stuff is the worst.
 
@mbomb007 question:qid
 
@HelkaHomba to the latter? or both?
 
7:59 PM
@feersum cough Windows 10 cough
 
@quartata what was this in response to?
> deadly serious
 
@mbomb007 What does it do? I've only used it for one period of a few days.
 

« first day (2048 days earlier)      last day (2806 days later) »