« first day (2397 days earlier)      last day (2444 days later) » 

4:00 PM
@TuxCopter It does.
@Mayube Isn't it?
 
no?
It's -0.7
 
yes?
 
-1.7 should be -0.7 I think
 
ninja'd
 
4:00 PM
@TuxCopter I don't think so
 
it's probably just floating point bull
 
yeah it'll work for 0.5 floats
 
but it'll fail for 3.4, 3.3, 3.6, 3.7 etc
 
wait... is the remainder after division by 1 always 0? What strange math am I missing here...
 
4:01 PM
@SocraticPhoenix only for whole integers
 
@totallyhuman that is because it is giving off complements of decimal (0.3->0.7), 0.5 would remain same
 
@Mayube I still don't get it... 1.7/1 = 1.7... doesn't that have a remainder of zero?
 
interesting
 
@SocraticPhoenix no it has a remainder of 0.7
 
4:02 PM
@Mayube $(\forall x<0) frac(x)=x-\lceil x\rceil$
 
1.7 / 1 = 1 r 0.7
 
@Mayube oh... I get it now..
 
Maybe this is because all the arithmetic calculation are binary number based under-the-hood...
 
@Mr.Xcoder sed: s/[0-9]\+\./0./
I can't get \d to work
 
@Mr.Xcoder \frac{num}{den} i think
 
4:04 PM
@totallyhuman Nope, frac is different than \frac. The latter is a fraction, the former is fractional part!
 
$\frac{1.7}{1}$
 
@totallyhuman No, look at the edited message
 
@Mr.Xcoder Do we ever have to handle an input like 5? Or would it be 5.0?
 
@BusinessCat Choose either 5 or 5.0
Brb
 
Ok well given that, Retina, 5 bytes
 
4:07 PM
python: lambda n:n.split('.')[1]
 
Mhm]
 
@Mayube Doesn't work for negative numbers
 
works as well as @BusinessCat's retina solution
 
What is the correct result for -3.7?
 
The fractional part needs to preserve the sign iirc
 
4:09 PM
lambda n:'-'*(n<0)+'0.'+n.split('.')[1]
 
@BusinessCat -0.7
 
Oh I need to have 0. as well?
 
The correct result for -1.7 is -0.7!!!. None of us were correct.
@BusinessCat Yes
 
@Mr.Xcoder Retina, 8 bytes Try it online!
 
So the only correct solution is my sed one? nvm
 
4:10 PM
Hey, I got a Raspberry Pi. What should I do with it?
 
@StepHen sell it
 
@StepHen Throw it in the trashcan
 
@Mayube ಠ_ಠ
@Mr.Xcoder ಠ___ಠ
 
@StepHen iirc there's mathematica preinstalled on rasp pi
 
@Mayube I don't need the money and I wanted something with Linux :P
 
4:10 PM
@BusinessCat ninja'd :P
 
@Mr.Xcoder SOGL, 2 bytes: 1%
 
@TuxCopter there is but I'm going to college on Thursday and they are buying me Mathematica :P
 
@StepHen spend 3 days thinking of something to do with it, then let it gather dust on a shelf
 
@Mayube Mine still didn't work anyway
 
@StepHen Connect it to your TV and a controller and use it as an emulator?
 
4:11 PM
@Mayube most likely
@TuxCopter yeah probably something like that
 
@Mr.Xcoder lambda x:x-int(x) would this work??
 
@StepHen implement a tape-based OS...
 
I'll probably take some time to learn non-Windows command line first
 
@officialaimm won't work for negatives
 
No one did JS yet?
n=>n%1
 
4:12 PM
does it work properly in js?
 
yes, but not in Python
 
yep
double-ninja'd
 
The one time that style of mod is actually useful
 
yeah it works, float innacuracies asside
 
4:14 PM
CMC: $e^{n}$
 
btw why is JS so inaccurate? I tought it used doubles
 
floating point inaccuracies
 
@Mr.Xcoder __import__('math').exp
 
@Mr.Xcoder Python:import math;lambda n:math.e**n
oh
 
5->148.41315910257657
 
4:15 PM
@TuxCopter doubles are to floats what longs are to ints
 
Gaia: ₵E*
 
@TuxCopter from math import*<newline here>lambda e**n is better, but totally human's is much better
Pyth, 4 bytes: ^.n1
 
@Mr.Xcoder TIO
 
3 byte built-in for e!!!!!!!!!!
 
"You did not tag code golf."

x = eval(input())
term = 1
n = 0
sum = 0
while abs(term) > 0:
	sum += term
	n += 1
	term *= x
	term /= n
print(sum)
@Mr.Xcoder 1 second...
you had to type in that one second, lol
 
4:17 PM
@LeakyNun >_> CMCs are code-golf by default
 
@Mr.Xcoder I'm just fooling around
 
I see
 
CMC: create a web server
 
@Mayube 5 bytes
 
4:18 PM
You didn't say it had to do anything so I bet you could make a pretty short one in Node
 
CMC: Output "no" - totallyhuman, 2017
 
print'"no" - totallyhuman, 2017'
 
#include<math.h>
#include<stdio.h>
int main(int a,char**b){float f;scanf("%f",&f);printf("%f",exp(f));}
@Mr.Xcoder ^ needs -lm
 
@Mayube print'"no" - totallyhuman, 2017' (polyglot)
 
print("hmmm...")
 
4:20 PM
@Mr.Xcoder ninja'd
 
@TuxCopter Wouldn't it be shorter to hardcode e :-/
 
um, yeah
 
@totallyhuman Yours was missing print so I assumed it was REPL
 
#include<math.h>
float f(float n){return pow(n,exp(1));}
 
@Mayube SOGL, 19 bytes
 
4:22 PM
Braingolf.js: "\"no\" - totallyhuman, "DY&@
 
charcoal, 24 bytes: ”|4·∨O⎆U¢ρW@(gYδ∨‴/⊙O”
1 byte shorter than regular
 
CMC: output the current date and time (Year, month, day, hour and minute. Second/ms/day of week optional)
 
@Mayube bash + python: python -m SimpleHTTPServer
Also, the ID of your message have the 4 least significant digits 0
 
oh really?
 
@Mayube Can I also output day of the week?
 
4:25 PM
@Mayube Pyth, 3 bytes: .d2
 
sure if you'd like
 
Gaia: ∂X
 
Braingolf.js: 2 bytes DA
 
bubblegum, 27 bytes:
0000000: 53ca cb57 52d0 5528 c92f 49cc c9a9 cc28  S..WR.U(./I....(
0000010: cd4d ccd3 5130 3230 3407 00              .M..Q0204..
 
@Mayube sh: date
 
4:26 PM
@Mayube Japt, 1 byte: K
 
ugh what userscript is messing with it now
 
@Mayube DA means YES in my language
 
So.. you're german?
 
russian?
 
wait no
 
4:26 PM
romanian
 
yeah russian/ukranian/other similar language
 
@Mayube No and no. German is Ja.
@Mayube Romanian ain't similar to either of those
 
oh
 
Noooo, Romanian is a latin language
 
well yes in most slavic languages is da too
 
4:28 PM
Or Ha
 
ha very funny
 
It's [dah] in Russian, i.e да
 
and the romanization is da
 
Kinda
 
CMC: given a letter from [C-O], output the respective android version name
 
4:30 PM
@TuxCopter Well, latin languages are older than slavic languages, so I guess the "slavonization"? is да.
@totallyhuman Eugh
 
cupcake, donut, eclair, froyo, gingerbread, honeycomb, ice cream sandwich, jellybean, kitkat, lollipop, marshmallow, nougat, oreo
 
romanization = foreign alphabet transcribed into latin alphabet
 
@Mr.Xcoder eugh?
 
Like "bah"
Like "bleh"
 
ye but why?
 
4:32 PM
Because I dislike Android
 
i am an iOS guy :)
 
But oreos > apples
 
Bleh, chat.SE has the icon of Math.SE on my computer :-/
 
@Mr.Xcoder -1 for non FOSS software
 
4:33 PM
FOSS?
 
Free and Open-Source Software
 
At least Swift is open source
 
@totallyhuman lambda c:['cupcake','donut','eclair','froyo','gingerbread','honeycomb','ice cream sandwich','jellybean','kitkat','lollipop','marshmallow','nougat','oreo'][ord(c)-‌​67]
 
what.. SOGLs dictionary has only 6 of the words
 
4:35 PM
lmao
 
@TuxCopter You can do better. str.split() is your friend
 
lambda c:'cupcake,donut,eclair,froyo,gingerbread,honeycomb,ice cream sandwich,jellybean,kitkat,lollipop,marshmallow,nougat,oreo'.split(",")[ord(c)-67‌​]
at first I tought split would get a longer code
 
@TuxCopter You can still do better
 
@TuxCopter use spaces instead of commas
and .split()
 
@StepHen Except that ice cream sandwich has spaces
 
4:37 PM
oh uh
 
oh, right
CMC: Print $2-5$
 
Cinnagum, 118 bytes:
0000000: 6c0d cac9 1183 300c 05d0 5638 fd26 74cc  l.....0...V8.&t.
0000010: bed7 2084 020e b2c5 0818 c6dd 87eb 9b77  .. ............w
0000020: 80ac 93f0 a874 44e7 655d e804 15e3 1474  .....tD.e].....t
0000030: c637 bc3a 5dd0 a7d2 6bb4 a1dc d115 8317  .7.:]...k.......
0000040: ade2 b9a5 1b92 6823 bbe7 66e6 d26d 4906  ......h#..f..mI.
0000050: bae3 a766 b555 2ef4 c098 9691 177a c2dc  ...f.U.......z..
0000060: 2c4d 3ed1 0b99 631e 329b f946 6f14 5ffb  ,M>...c.2..Fo._.
0000070: 7d7c e0a1 fe07                           }|....
 
@Mr.Xcoder print(2-5)
 
@TuxCopter Nope
 
print'2-5'?
 
4:39 PM
Should be 6 bytes in most golfing languages, or 7
 
Hm it shows as 2-5
 
@totallyhuman Yes
@totallyhuman print'2 - 5' please
 
quetion: should i take android version thingy to main
 
SOGL unicode, 6 bytes: "2−5
 
@Mr.Xcoder "2 - 5 nearly every golflang in existence
 
4:41 PM
@dzaima "2 - 5
@totallyhuman Nope, I'd find it boring
 
@Mr.Xcoder bias :P
 
@totallyhuman SOGL, 89 bytes: dzaima.github.io/SOGLOnline/…
 
@totallyhuman probably a dupe
 
:c okay
 
Longer, interesting version: Try it online!
 
4:43 PM
@DJMcMayhem heh ice cream sandwich's length wrecks the byte count
 
Yeah
 
@DJMcMayhem Save bytes by declaring the space and use multiplication
 
@Mr.Xcoder Better yet: Save bytes by having a better approach
Such as
8 mins ago, by TuxCopter
lambda c:'cupcake,donut,eclair,froyo,gingerbread,honeycomb,ice cream sandwich,jellybean,kitkat,lollipop,marshmallow,nougat,oreo'.split(",")[ord(c)-67‌​]
 
bah
 
@TuxCopter Wait, why didn't you split on spaces? Saves three bytes
lambda c:'cupcake donut eclair froyo gingerbread honeycomb ice cream sandwich jellybean kitkat lollipop marshmallow nougat oreo'.split()[ord(c)-67]
 
4:47 PM
@DJMcMayhem ice cream sandwich :(
 
Oh yeah, haha
11 bytes shorter: lambda c:c+'upcake,onut,clair,royo,ingerbread,oneycomb,ce cream sandwich,ellybean,itkat,ollipop,arshmallow,ougat,reo'.split(",")[ord(c)-99]
 
you guys sure about it not being main-appropriate? 'cause i kinda like the problems that some of the approaches end up having
 
And shouldn't it be 99 instead of 67?
 
@totallyhuman I like it, but not sure that others will.
 
@DJMcMayhem lowercase vs. uppercase i think
 
4:50 PM
@DJMcMayhem C is 67
 
c is 99
 
You said [C-O] tho
 
@TuxCopter fine add (?s) to the beginning :P
@dzaima eh you know what, i'm bound to have another question voted dupe
might as well put this challenge out there
 
Even calling c.lower() is shorter
 
in the main challenge you can choose one of them or both
anyways nobody answer it now
:P
!wiki android version history
whoops
 
4:54 PM
Hm, how is SMETANA a BSM?
I don't see how when it can only swap instructions and jump to instructions
 
@TuxCopter how is what a what
 
Recursiva, 152 bytes: Y['cupcake','donut','eclair','froyo','gingerbread','honeycomb','ice cream sandwich','jellybean','kitkat','lollipop','marshmallow','nougat','oreo']+Oa-99
 
@officialaimm nobody answer it now :P
i'll be putting it on main, answer there
 
@totallyhuman SMETANA and a BSM is a Bounded Storage Machine
 
agh my intro is sucky
 
5:05 PM
finally added SOGL built-ins for increase/decrease by 2. About time..
 
...which otherwise would just be 2+ and 2-? :P
 
@dzaima Uh, I don't see a lot of usecases for that
 
out of my 95 answers I scraped from SEDE a while ago it'd have saved me 19 bytes total
 
Huh
Is increment by 2 that common?
 
Has answer ready - copied to clipboard - for totally's challenge
 
5:08 PM
@TuxCopter Think of making boxes where where the walls are 2 characters longer. ASCII art has a lot of that
 
oh
 
@Mr.Xcoder i'm trying to improve my intro ;-;
 
@Mr.Xcoder Same here :P
 
139 bytes here
 
125
Which is probably about as short as you can get without using stupid compression
 
5:09 PM
@DJMcMayhem I have this
 
@totallyhuman I just added string-split operator in recursiva, will I be allowed to use that? :D
 
@officialaimm Of course
 
@Mr.Xcoder Yeah, that's identical to my python solution. But I have a 125 V solution
 
Oh
V is golfy :)
 
At times ;)
 
5:10 PM
But very bad at basic arithmetic
 
Surprisingly long though now...
 
What are you talking about? The text itself is like 117 bytes
 
woo Cubically reached 99 commits
 
@DJMcMayhem It's nearly as long as Python...
 
Yes, because the text itself is 117 bytes
 
5:12 PM
ok :)
 
alright, crappy intro or not, here goes
wait, tags
erm
 
SOGL still wins :)
 
@totallyhuman code-golf, kolmo, string? V
 
anybody have appropriate tags?
@MDXF no
 
5:13 PM
wait why does SOGL not have lol as a word
 
:(
 
@Mr.Xcoder not KC, but string yeah
 
<- is a thing?
 
@totallyhuman Why not KC? It is the best tag =]
 
@Mr.Xcoder but it takes input
and the output is not fixed
 
5:14 PM
ok, do as you wish... But the whole point is compression
 
It's still KC
 
@totallyhuman wasn't there a meta post about different KC types, one being limited input amount?
 
it's also KC if it takes input iirc
 
Not always, but the point here is that there's a lot of data (all the OS names) that you need to recreate in as few bytes as possible
 
5:14 PM
solves the challenge in Pyth
 
> Kolmogorov complexity, informally, is the amount of code it takes to describe or produce a constant object, such as a string or image.
yeah... i'll go with not
 
Now, someone should do it in brain-flak. >:D
 
Oh no... has slow internet
 
woosh
 
10 seconds :)
Exactly 10 seconds :)
 
5:18 PM
agh rip my notifications
downvote ;-;
 
I upvoted
 
@Downvoter... hi. — totallyhuman 51 secs ago
 
@DJMcMayhem Pyth beats V
 
...looks like imma have another dupe on my profile
 
By how much?
 
5:21 PM
117 bytes in Pyth
 
@totallyhuman Well, it's not like no one warned you...
 
no i willingly did this
 
@Mr.Xcoder Using text compression?
 
30 mins ago, by totallyhuman
@dzaima eh you know what, i'm bound to have another question voted dupe
 
@DJMcMayhem Using the Pythonic approach
 
5:23 PM
Too bad V has no way to index the letter, so I can't delete the first letter of each word. :/
 
@DJMcMayhem 116 bytes now
 
what the dupe target has 9 answers
...c'mon
 
@totallyhuman Why would you submit a challenge you expect to get closed? Are you looking for a question ban?
 
@DJMcMayhem i don't expect it to get closed
 
> eh you know what, i'm bound to have another question voted dupe
 
5:25 PM
i just have a tendency of making dupes
 
> i willingly did this
 
2
Q: Oreo? No... Lollipop, maybe?

totallyhumanSince 2009, Android's version code names have been confectionery-themed. Android 1.5 is Cupcake, Android 1.6 is Donut, Android 2.0 is Eclair, etc.. In fact, the version names are alphabetical! C -> Cupcake D -> Donut E -> Eclair F -> Froyo G -> Gingerbread H -> Honeycomb I -> Ice Cream Sandwich J -

 
why is loll a SOGL word but not lol.. loll
 
also seriously why is the That solved my problem! button so big
 
@dzaima Is dzaima in SOGL's dictionary?
 
5:26 PM
> 1. To move, stand, or recline in an indolent or relaxed manner.
TIL
 
@Mr.Xcoder Huh. Thought I added that. Currently, no
 
9k!
 
nice
i'll probably hit 7k tomorrow
 
Why are mine the only upvoted answers, both with 2 >_>
@totallyhuman You once had more rep than me
 
5:29 PM
I once had more rep than you
Pretty sure I was above 7k when you started ¯\_(ツ)_/¯
 
@BusinessCat You had 5 k back then
 
Wow I'm faster than I thought
 
@Mr.Xcoder I +1 ed because of the removing first letter thing... Actually saved me a 11 bytes! thank you!!
 
When I joined, Dennis had 130k
 
#1DV&1CV-life
 
5:30 PM
@officialaimm You're welcome. (likes upvotes)
When I joined, Martin had more
 
How does one make compressed strings for Jelly
 
go to the tips for golfing in jelly question
 
@BusinessCat It has a dictionary, very hard to use though
 
the first answer is how to do that
 
@totallyhuman @Mr.Xcoder Are you saying its not a dupe because its easier? This is a dupe precisely because it is an easier version of an existing question. We've already done this type of question to death and this one provides absolutely nothing new or interesting to the genre. - You're happy WheatWizard doesn't have the gold badge so that he can hammer dupe
 
5:32 PM
mm
whoops just rotated my screen
 
@BusinessCat magic
 
i am currently talking to you guys horizontally
this is very dizzying
 
Yup, I found Lynn's magic program to compress
 
I have written a script to generate:
"C"
"D"
"E"
"F"
"G"
"H"
"I"
"J"
"K"
"L"
"M"
"N"
"O"
Doing it by hand would have saved energy
 
oh yay i found the shortcut
i'm vertical again
hooray
 
5:36 PM
Any language with compressed strings should have a command to compress strings
Or it's too much of a pain to use
 
@BusinessCat command within the language or command exposed by the interpreter?
 
Either way
 
@BusinessCat an interpreter flag yes but a command no
wastes space
 
Ohm just exposes a Ohm::Smaz.compress method from the interpreter
 
@BusinessCat SOGL has a generator (though somewhat manual) for compressed strings because without it it'd take ~50 minutes to get something like the android version string
 
5:39 PM
The only problem, imo, with have a function from the interpreter is that the user has to know how to use the language the interpreter is written in in order to call it
 
you just put a string in verbose mode in charcoal and it'll compress for you
 
I had to look up how to call a Ruby function to use Ohm's
(call from command line)
 
loadString("words3.0_wiktionary.org-Frequency_lists.txt") is now a word in SOGL :p
 
@totallyhuman that executed as JS results in a list of SOGLs words
 
5:40 PM
I like the idea of an interpreter flag, I'm gonna use that when I get around to doing compression in Gaia
 
compression's boring
 
Yeah, it's not on the top of my priority list
 
How can you even write a program like that without your brain exploding into a million little chunks of tissue. — Ashwin Gupta Dec 28 '15 at 16:15
this comment still applies to a boatload of answers on PPCG
 
Ha, Pyke beats V too - and ties Pyth - :)
 
:o jelly beat sogl
 
5:51 PM
@totallyhuman SOGLs word list isn't the best..
 
and JS ties python :O
wait nvm JS just beat python
 
I expected JS to beat
Godammit
@totallyhuman Why did you greet the downvoter?
 
felt like it
 
@muddyfish - When I try to Copy Answer a Use Hex Encoding solution, your interpreter crashes
 
I can't change my vote now but a better dupe might be this. — Wheat Wizard 45 secs ago
mate
 
5:56 PM
That's restricted source, I disagree
 
:o i've already hit HNQ
 
Of course, all that FGITW
 

« first day (2397 days earlier)      last day (2444 days later) »