« first day (1867 days earlier)      last day (2982 days later) » 

5:22 AM
WTF?
I just got kicked for "spamming" when I wrote "GLHF"
 
Anonymous
?
 
Gordon Leeman Half-Life?
 
Anonymous
Good Luck Have Fun or Good Luck High Five
 
@Cyoce lol
 
@Mego Good lunch has fries good luck have fun
 
5:24 AM
I get kicked all the time by non-english speakers for saying normal stuff
 
Anonymous
Kicked from one of the SE chatrooms?
 
no
a server
 
Anonymous
Oh
 
Anonymous
Mods be powertrippin
 
tdm matches are the worst, clans get together and get kick everyone else on the server
 
5:26 AM
I saw a friend post an image on Facebook with this slogan:
translate: Jeder Tag ein Frauentag: Gleichberechtigung endlich umsetzen! - Die Linke.
(from German) Each day a women's day: implement gender equality at last! -The left.
Google translate actually just said "equality finally implemented!", basically.
 
s/left/reasonable people/
 
So I decided to take a closer look at the word for "equality".
translate: Gleichberechtigung
(from German) Equal rights
Google Translate gave that.
Then I did this:
translate: Gleichberecht
(from English) Gleichberecht
 
"Gleichberecht" isn't a word.
 
Hrm, Google successfully translated that as "Gender equality".
@mınxomaτ Why does Google think it is? If I delete the 't', it doesn't translate to anything.
 
It doesn't think it is. It's autocorrecting.
 
5:32 AM
It's not giving me any "Did you mean..." suggestions.
 
ahhhh, I know why
I have a bunch of other German text in the box as well.
Lesson learned: use a fresh instance every time. :P
translate: Gleichberechtigt
(from German) Equal rights
 
It's still not a word though ;)
 
Well, kinda hard for a beginner to know! :P
Incidentally, @mınxomaτ, when do you put words together to make a compound and when do you keep them separate? German seems to have a lot more compound words than English, though maybe about the same as "words" like, I dunno, a-better-way.
I mean, Gleichberechtigung could be translated as "equal rights", but it has more of a feel of "equal-rights".
 
ARE WE NO LONGER GRADUATING?
 
5:44 AM
Well, you can create the word "Gleichberechtigung" from "Berechtigung" (entitlement). Gleichberechtigung is the the right (or entitlement) to be equal ("gleich").
 
@Optimizer huh?
 
Anonymous
@Quill The pinned message did exactly what all pinned messages do and automatically got unpinned after a certain amount of time. He thought that was surprising enough to warrant an all-caps message.
 
-_-
 
ALL CAPS IS SACRED, YOU MONSTER
 
OH?
 
Anonymous
5:46 AM
Steering and whatnot
 
Anonymous
Let's not have a caps lock war >_>
 
WHYNOT?
COZULYKTABS?
 
@El'endiaStarman Also, "Gleichberechtigung" is a Determinativkompositum (which is my favorite word ever) :D
 
Anonymous
I shouldn't have to explain why a caps lock war would be annoying
 
Anonymous
Also you misremember. I'm on the correct (spaces) side of that war.
 
5:48 AM
CAPS LOCK IS FOR THE WEAK> REAL ENERGY IS EXPRESSED BY HOLDING DOWN THE SHIFT KEY>
 
Anonymous
whyyyy must you people insist on using all caps
 
I was supposed to have a two hour lecture on binary numbers today
 
Anonymous
i'm going to use no caps as a symbol of opposition
 
I'm glad I skipped it
 
Anonymous
@Quill 10 hours is a lot
6
 
5:49 AM
lol
 
Anonymous
and that's how comedy is made and stars are gotten
 
translate: Determinativkompositum
(from English) Determinativkompositum
...
Well, I can almost figure out what it means.
Is it the German word for compound word?
 
Does anyone know if there's a way to get days visited through SEDE?
 
yes prolly
i forgot, but who is mars ultor?
 
6:06 AM
It's somebody
 
isn't it an anagram of an existing user that i used to know?
 
@El'endiaStarman Only for some compound words.
 
Mars Ultor is somebody.
Though not an anagram.
 
Should I add a ?whowas command to the bot?
 
Hooray, my first Julia package is up and running!
 
6:16 AM
yes
 
Um
Anyone want to help?
 
Anonymous
Woohoo, shaved off 10 bytes!
 
Anonymous
1
A: Calculate the volume of an object

MegoSeriously, 65 59 55 bytes `kd@;Σ½╗"╜-"£Mπ╜*√*3@/``kπ``ª*╦*``3;(^/4*╦*`k,;lD(E@i(ƒ Try it online! Explanation: This one is a doozy. I'm going to break the explanation into multiple parts. Main body: `...``...``...``...`k,;lD(E@i(ƒ `...``...``...``...`k push 4 functions to a list ...

 
runtime increased by 19 years!
 
Anonymous
Nope, no change
 
6:17 AM
so you say
 
Anonymous
In fact it might be faster now
 
8 secs ago, by Optimizer
so you say
 
Anonymous
Since there's no pushing/popping from registers, it's faster
 
6:39 AM
0
A: Generate an aperiodic integer sequence

Mama Fun RollRETURN, 9 bytes (noncompetitive) 0[' ,1+$¦{\3}§.1!]! Try it here. Make sure to run using "timed run," because this is an infinite stream. Also replace \3 with character U+0003. Explanation Basically just outputs each number reversed. I couldn't find any periodicity, but please tell me if yo...

Do you guys think this is aperiodic?
I'm sure it is, but...
 
7:02 AM
a period? i c
 
7:28 AM
woo! got red-black tree insertion to work
That took a while.
 
What's the shortest way to get the first non-truthy value from a python 3 list?
 
@AquaTart No it does not. The only thing it has right now is some Java code that compiles Brachylog code into Prolog code, and then you run the Prolog code from SWI-Prolog REPL, because SWI-prolog library for Java sucks
Since I'm the only one using this language it's pretty badly done, e.g. you change the code in Main to input your Brachylog code
 
Anonymous
@MarsUltor [x for x in l if not x][0]
 
But if you're interested I can try to clean this up a bit
 
Damnit, there's nothing shorter?
 
Anonymous
7:33 AM
That's the only thing I can think of
 
Not sure if there's a horter way by using filter()
 
Anonymous
Maybe while l[0]:del l[0]\nl[0]
 
Anonymous
filter(lambda x:not x,l)[0]
 
Anonymous
Filter is longer by 2
 
@Mego Typo: x, not not x
 
Anonymous
7:35 AM
?
 
Anonymous
@MarsUltor Nope. filter returns a list containing only the values of l where the predicate is true. If you want the first non-truthy value, you need not x.
 
Anonymous
filter(lambda x:x,l)[0] would give you the first truthy value
 
Anonymous
(and it'd be shorter to write as filter(l)[0])
 
Anonymous
Also keep in mind that the filter solution doesn't actually work in py3 because filter returns a generator, not a list
 
@Mego That doesn't work. Also, whoops, didn't notice I said non-truthy.
 
Anonymous
7:39 AM
So really the shortest way to get the first non-truthy value in py3 is the list comprehension
 
Anonymous
And why are you using py3 for code golf?
 
TIL
6
A: Tips for golfing in Python

Sp3000 None arguments in Python builtins map (Python 2 only) Mapping with None in place of a function assumes the identity function instead. This allows it to be used as an alternative to itertools.izip_longest for zipping lists to the length of the longest list: >>> L = [[1, 2], [3, 4, 5, 6], [7]] >>

@Mego Changed to Python 2
@Sherlock9 Commented on your answer
 
Thank you Mars
 
@Sherlock9 Um. *Commented again.
 
Ladies and gentlemen, I have my 2218 rep!
 
7:50 AM
\m/
\o/
 
Anonymous
Now remind me again why you wanted 2218 rep
 
2218 looks like 221B, as in Sherlock Holmes's address, 221B Baker Street
 
Anonymous
Oh
 
I'm typing that out in full so I can link to it if the question comes up again
 
7:54 AM
@Sherlock9 Next goal: 8731 (221B in hex)
 
Anonymous
There now I ruined it
 
Ta, Mego
I've already got the pictures
 
Wait, apparently it doesn't work
 
The filtering?
 
it does, but 4*z*b*b-(z+b*b-c*c)**2 gives a negative, which can't have a square root
 
7:58 AM
@MarsUltor That's only if you don't have a valid triangle. In this case, one that doesn't satisfy the triangle inequality
Does that with the Python 3 version too, but it goes into complex numbers
 
@Sherlock9 Yeah, but that means it won't work for spheres etc.
 
Oh right
Well, it works fine for me, but I did keep v(a,b=0,c=0,d=0)
Oh int is the problem. Right then
 
Anonymous
I wonder how my Seriously solution, implemented in Python would compare
 
Hmm.
 
Since Python doesn't have a decent product() function like it does for sum(), it would probably do poorly
 
8:04 AM
What's the shortest way to get the maximum of <number and 0?
 
Anonymous
@MarsUltor max(n,0)?
 
@Sherlock9 def v(a,b,c,d):z=a*a;P=3.14159;return filter(int,[max(0,(4*z*b*b-(z+b*b-c*c)**2))**.5*d/12,a*b*c,P*z*b,P*z*a*4/3])[0], 115 bytes
 
Python 2, apparently
 
Anonymous
@MarsUltor Move the pi definition into the function args
 
@Sherlock9 2, 3 uses next(filter()) instead of filter()[0]
 
Anonymous
8:08 AM
And print instead of return
 
@Mego How would that save bytes?
 
Anonymous
@MarsUltor I guess it actually doesn't, nvm
 
def v(a,b,c,d):z=a*a;P=3.14159;print filter(int,[max(0,(4*z*b*b-(z+b*b-c*c)**2))**.5*d/12,a*b*c,P*z*b,P*z*a*4/3])[0], 114 bytes
@Mego BTW, neither does a=b;c=d vs a,c=b,d
 
Anonymous
@MarsUltor I'm not sure how this is relevant
 
@MarsUltor Also this is 116 bytes. Just checked
 
8:11 AM
@Mego Well, it isn't really, just I have a compulsion to do that to all Python golfs I see.
 
@MarsUltor Except that they do two different things. Did you mean a=b;c=d vs a,c=b,d?
 
@Sherlock9 Whoops, yeah
 
Anonymous
Why are you filtering on int?
 
Anonymous
Why not just leave out the first argument?
 
@Mego Doesn't work, takes two arguments
 
Anonymous
8:16 AM
Oh right the first arg isn't optional
 
Anonymous
@MarsUltor There's no need to be rude
 
@Mego Whoops, sorry. What do i use instead though?
 
Anonymous
@MarsUltor Usually a link to the docs
 
Anonymous
RTFM should be reserved for when someone continually asks questions where the answers are easily found by reading the docs
 
Anonymous
8:18 AM
When it's clear that they have not RTFM and need to RTFM
 
@Mego So like bad SO questions?
 
Anonymous
@MarsUltor Pretty much
 
Anonymous
I've got a 122-byte version that could probably lose a few
 
I got 99 dollars but a bit ain't one
 
Anonymous
Err, 128
 
8:24 AM
@Mego Can you post it in chat?
 
Anonymous
@MarsUltor lambda a,b=0,c=0,d=0,p=3.14159:[4/3*p*a**2,p*a**2*b,a*b*c,1/3*d*((a+b+c)*(b+c-a)*(a+c-b)*‌​(a+b-c))**.5][len(filter(int,[b,c,d]))]
 
@Sherlock9 def v(a,b,c,d):z=a*a;P=3.14159;print filter(int,[max(0,(4*z*b*b-(z+b*b-c*c)**2))**.5*d/12,a*b*c,P*z*b,P*z*a*4/3])[0]
114 bytes, and it works
 
@Mego Are we golfing this?
 
Anonymous
@El'endiaStarman I was; it's a golfed translation of my Seriously answer
 
ah, okay
 
8:26 AM
serious answer*
 
Anonymous
I miss the original title of the challenge, even if it did lead to inappropriate interpretations
 
For starters, what about b=c=d=0? And s/(.+)**2/\1*\1/g.
 
@MarsUltor This says 116 mothereff.in/…
 
@Mego Use @Sherlock9's triangle area formula that he ported from somewhere
 
@Sherlock9 that's not the right source to calc bytes
 
Anonymous
8:28 AM
@Optimizer Yeah it is
 
@Sherlock9 Oh wait, yeah, my bad
 
@Mego no it isn't. it calculated utf-8
 
@Optimizer Yeah, they're all ASCII, so all one byte
 
@El'endiaStarman Will you trade 8 jungle wood (not planks mind) for 1 diamond? (getting to jungle is proving difficult chat.stackexchange.com/transcript/message/28148845#28148845)
 
irrespective of whether the characters fit in extended ASCII or not
 
8:29 AM
@MarsUltor @Mego I got that version of Heron's formula from @CᴏɴᴏʀO'Bʀɪᴇɴ's ES6 answer
 
Anonymous
@Optimizer Yeah, and if you're using a UTF-8 encoding (which is correct for Python), it's correct
 
@HelkaHomba You can take the wood and not worry about paying me back until later.
 
@HelkaHomba It is the Nineteenth Byte, but you're welcome here.
 
Anonymous
@El'endiaStarman ಠ_ಠ
 
ahhhh context :P
 
Anonymous
8:30 AM
Also don't we have a chatroom for the server?
 
@Optimizer What do you use?
 
@zyabin101theHated I know. One or two minecraft messages here won't hurt anyone
 
@Mego Yes. Dunno why Helka didn't use it.
 
@El'endiaStarman Thanks!
 
8:31 AM
@Sherlock9 my brain..?
but mostly, CJam, convert to ascii code, ceil divide by 255 and add
 
Anonymous
Mothereff.in works for everything because it gives you both bytes and characters. If your code fits in a single-byte code page, use the character count. If not, use the UTF-8 byte count.
 
@Mego but u need to know that
@Mego and if not case - not really.
 
Anonymous
@Optimizer It's really easy to know. Are you using a language that is ASCII-only? Does it use a single-byte code page like CP437, Latin-1, CP1252, or Jelly's? If so, it's simply the character count. If not, it's UTF-8, and it's the byte count.
 
Anonymous
@Optimizer Explanation please?
 
Anonymous
@Optimizer What about them?
 
Anonymous
8:37 AM
Or you could just be more specific
 
Anonymous
Do you mean strings that contain Unicode in a language that uses a single-byte encoding? You'd have to manually encode the Unicode into the target code page anyway. Otherwise, the language would have to use UTF-8, and therefore the UTF-8 byte count would be correct.
 
Anonymous
120 is the shortest I can get my version :/
 
Anonymous
lambda a,b=0,c=0,d=0,p=3.14159:[4*p/3*a*a,p*a*a*b,a*b*c,(4*a*a*b*b-(a*a+b*b-c*c)**2)**.5/‌​12*d][len(filter(int,[b,c,d]))]
 
Anonymous
@Sherlock9 I'd like mentioning in your answer, since I helped shave a byte :P
 
Ah sorry
 
9:09 AM
user image
4
 
It's unfortunate that you can't use z=a*a in a lambda
 
@Mego Wait, why the =0 after every argument?
@Mego Also, no printing D:
 
 
1 hour later…
11:17 AM
If it's a compromise surely it should be called TI?
 
11:30 AM
@trichoplax -1 too calculator name-like
 
Fair enough :)
 
12:04 PM
@zyabin101theHated Who says we are using the arithmetic mean? E.g. the geometric one would result in sqrt(pi * 2pi) = sqrt(2)*pi, way better!
@Mego If it is work I agree, if it is time you're golfing then it is way to little.
For some reason I just had a quick look in the Nineteenth byte while in class. But by the end of the class I had four "the 19th byte" tabs open. How the hell....
You know, I only took my computer out because I wanted to check my mail. Which I did not end up doing.
 
12:20 PM
 
lol
 
12:53 PM
Challenge idea: compute the first X digits of pi in the least time.
 
I think time is rarely a good criterion.
 
Then make it code-golf?
 
@zyabin101theHated I think its a good criterion, but you need to make X large
the only problem is that what you describe has already been researched extensively
135
A: What is the fastest way to get the value of π?

nlucaroniThe Monte Carlo method, as mentioned, applies some great concepts but it is, clearly, not the fastest --not by a long shot, not by any reasonable usefulness. Also, it all depends on what kind of accuracy you are looking for. The fastest pi I know of is the digits hard coded. Looking at Pi and Pi[...

there's even a code golfed version
oooh, another interesting answer:
1411
A: How to determine whether my calculation of pi is accurate?

MysticialSince I'm the current world record holder for the most digits of pi, I'll add my two cents: Unless you're actually setting a new world record, the common practice is just to verify the computed digits against the known values. So that's simple enough. In fact, I have a webpage that lists snippe...

 
1:12 PM
@flawr There appears to have been a flaw(r) in your plan
 
@Sherlock9 :P
 
1:41 PM
Updated the page a bunch. Any input?
 
-1, no reference to pursedog ;-)
 
> Vitsy is also referred to as "Purse Dog", Flasp, and VTC's Child.
 
+1 I retract my previous statement ... goes to show what happens if I skip over the Trivia section.
 
2:04 PM
g'morning m8s
 
Monking.
 
Monkey?
 
@CoolestVeto Monking?
 
Mankey?
 
27
A: What's a Zombie? And what are the many other memes of Code Review?

Vogel612Meme: Monking Originator: Morwenn Cultural Height: The 2nd Monitor Background: A morning greeting to the Monkey doing his monkey-business, in other words: monking Examples: A small chat search Variations: Monkernoon, Monkevening, Monknight, ... Important is only that it begins with Monk... ;...

 
2:18 PM
> Nibjubg
Who presses the B key with their right index finger?
 
Not I.
 
@TimmyD What do you press it with?
 
Left index finger.
 
See, that seems way weirder to me.
 
(US QWERTY layout -- I should specify)
 
2:23 PM
Yeah, same.
 
Nose for B and Y
 
My right hand tends to rest roughly on "buip".
 
The F finger is responsible for 456RTFGVB ... the J finger is responsible for 7YUHJNM.
Actually, the 6 could go either way. I prefer my left finger.
 
@MorganThrapp Mine is usually bjk;
 
I've been trying to get into the habit of resting on hjkl for vim.
 
2:26 PM
I don't think my hands will ever be comfortable with that.
 
doesn't touch type at all
 
For PC games, WASD or ESDF?
 
WASD.
It's hard to hit 1` from ESDF.
 
I prefer to play my PC games on consoles instead.
 
@crayzeedude Good morning!
 
2:29 PM
@MorganThrapp Sure, but it's hard to hit 56TGB from WASD.
 
I use WASD since it's a little difficult to hit ALT+QQ from ESDF
(subtle joke)
 
hah
 
Good, someone got it. My ego thanks you.
 
@TimmyD True, but I just remap everything to be within one key of WASD. I also used to have the Razer Naga, so I had another 12 buttons on my mouse.
 
0
Q: Good Old Suffix Vector

NᴮᶻInspired by an old manual... The challenge I define the ath suffix vector of b as the boolean list of length a with b trailing truthy values. Write a program or function that, given a and b by any means, returns the ath suffix vector of b by any means. Now this may seem trivial, but here is t...

 
2:37 PM
Ah, I never could get used to having lots of extra buttons on my mouse. Always ended up accidentally clicking them with my thumb. Left/middle/right/scroll and one thumb button is all I usually use.
 
0
Q: Tag(s) for reference to a language's name or year

NᴮᶻSome challenges involve the name or release-year of whatever language(s) is used in the answer: *Language name* is awesome! What's my name? Produce the name of the language indirectly Write a polyglot that prints the language's name Programming Languages Through The Years Automate Saving the Wo...

 
0
Q: Old Spanish alphabetical order

Don MuesliBefore 1994, Spanish dictionaries used alphabetical order with a peculiarity: digraphs ll and ch were considered as if they were single letters. ch immediately followed c , and ll immediately followed l. Adding the letter ñ, which follows n in Spanish, the order was then: a, b, c, ch, d, e, f, g...

 
3:21 PM
@TimmyD This is my weapon of choice:
 
Huh. Turns out that about a quarter of my music files are dupes from being copied/moved around over the years. Some songs had up to nine copies scattered around my drive.
Easy way to free up 24GB at least.
 
24 GeoBits? That's a lot!
 
Can you imagine? The horror...
 
The transcript would be covered in Geobits. 24 funny remarks every hour
24 downvotes on every poor question
Wait... this sounds like a good thing
 
@Dennis Pretty sure I use the same mouse at home. Logitech G700, right?
 
3:26 PM
@Rainbolt Hmm. I'm not so sure, but if you can find a way to make it happen, I'm willing to give it a go.
 
I'm not so sure that I'm not so sure
:O
 
in The Block, yesterday, by Marky Markov
@Vihan oh, shit.
 
@TimmyD Yep.
 
You should throttle Marky's responses and set him loose on some unsuspecting chat room
See how long it takes him to be suspended
 
I've thought about that :D
 
3:28 PM
Or reel him in before he gets suspended
 
@Rainbolt ಠ_ಠ
 
Bring him back to a response every three minutes or so (plus a random addition)...
Or random out of every twenty messages to account for traffic.
 
I can hear Dennis's thoughts. "I must frown upon this idea because I am a mod, but secretly I want to see it happen."
 
@Dennis Think of it as a Turing test >_>
 
He hasn't been suspended yet, and look how many offensive messages he has already posted
 
3:30 PM
Grr, PowerShell ...
 
@Rainbolt do it on The Bridge. they'll never suspend him
worked here for me for months
 
why do you all hate challenges that use the language's name
I think that its quite clever, and allows creative searching for the "best" language
 
The same reason I don't like searching for the best sonnet, or picture, or whatever. It makes that the focus of the challenge, and the code almost doesn't matter (in many cases).
 
well, if the code doesn't matter, then that's a problem with the challenge itself, not the fact that it uses the name
 
What do you guys think of this? I have deleted the question based on criticism, but I don't see why I. To me, a comma is a natural separator between inputs, even if in this case it's a convenient one for the challenge
 
3:37 PM
@NathanMerrill Right. I'm just saying that most challenges I see that depend on the name are that type. It can be done right, I'm sure, but I don't see it often.
Do you have an example in mind that brought this up?
 
did you like the challenge where you had to convert your language's name into an image?
oh, I'm referring to the recent meta post
-2
Q: Tag(s) for reference to a language's name or year

NᴮᶻSome challenges involve the name or release-year of whatever language(s) is used in the answer: *Language name* is awesome! What's my name? Produce the name of the language indirectly Write a polyglot that prints the language's name Programming Languages Through The Years Automate Saving the Wo...

I don't think we need a tag for it
 
@DonMuesli I didn't have any problem with the way you separated the input, with the correction you did to the output (I assume [a b c] is the natural list representation in CJam) it was fine
 
but in the comments, people are hating on the idea
 
@NathanMerrill I didn't vote one way or the other on that one, but also didn't answer it.
 
@Fatalize Thanks for your feedback
 
3:40 PM
OK, what the deuce ... z is case-sensitive less-than Z, and za is case-sensitive less-than Za, and ze is case-sensitive less-than Ze, but ze is not case-sensitive less-than Za ...
 
aha, found it:
51
Q: Golf Your Language's Identicon

Helka HombaIdenticons are small images of geometric patterns that represent the hash value of a string. Stack Exchange uses the identicons from Gravatar as each user's default avatar image. In this challenge, we will use the Gravatar identicons as well to generate some text to golf. Challenge This stack...

 
Then again I don't know CJam so I don't know if commas are a very hacky way of separating things
(I imagine verything is very hacky in CJam anyway)
 
@Dennis What do you think about this, if you have time? I'm not concerned about this answer, just about the general rule
@Fatalize The comma happens to generate range, which is very convenient here (evaluate the input and you get the range and the second number). So yes, it's a trick. But code golf is all about tricks :-)
 
@DonMuesli Personally, I think the comma is introducing code in the input, which shouldn't be allowed.
No need to delete it though. Just flip the input order and put the comma in your code.
 
@Dennis Thanks
 
3:53 PM
@Fatalize Well I hardly know Prolog but I thought Brachylog looked cool so was just curious
I'd be happy to help in whatever limited way I could
 
@AquaTart I think I my attempt to entirely recode everything in only Prolog, but this is gonna take a while (and might not get done because I'm lazy/suck at prolog)
might*
(You should try some Prolog btw, it's not very useful but pretty enlightning :p)
2
 

« first day (1867 days earlier)      last day (2982 days later) »