« first day (2056 days earlier)      last day (2790 days later) » 

9:04 AM
Yep, no one's on
 
Yo!
I may have borked something
The syntax isn't displaying correctly in my atom thing
"scopeName": "source.logicode"
"name": "Logicode"
"fileTypes": ["lgc"]
"patterns": [
  {
    "comment": "Binary Strings"
    "match": "[01]+"
    "name": "constant.numeric.logicode"
  }
  {
    "comment": "Circuit Names"
    "match": "(?<=circ )(.*)(?=\\()|(?<=out )(.*)(?=\\()"
    "name": "entity.name.function.logicode"
  }
  {
    "comment": "Variable Names"
    "match": "(?<=var )(.*?)(?= *=)"
    "name": "variable.logicode"
  }
  {
    "comment": "Declarers"
    "match": "(var|cond|circ|out)"
 
@DestructibleWatermelon I have made my thought room, and now you can chat in here =)
 

  The Woods of Lurking

A place where it's very calm. Home of zyabin101, who tames dow...
 
9:17 AM
oh
I was thinking of making a new programming language
 
Gimme ideas...
 
I have none ._.
 
@DestructibleWatermelon, do you want help with language ideas? (if so, then generally speaking what kind of language do you want)
 
I was thinking maybe I would make a terse version of woefully, but that seems kinda .~.
 
@zyabin101 about what?
 
9:24 AM
idea has happen!
 
@Qwerp-Derp 0/10 atom is the worst
 
@ASCII-only Now say that to 30,697 stargazers on the Atom repo. :P
 
@ASCII-only Why u do dis
@zyabin101 Make that 30,698.
(I just starred it)
 
@Qwerp-Derp Atom takes forever to load certain things, plus it's really RAM-intensive
 
9:31 AM
wait my idea was bad
 
@Qwerp-Derp :D
 
Oh no
Need to do left recursion removal ;_;
 
???
Also
 
This is for Cheddar
 
How do conds work right now for multi-digit vars and stuff?
Oh
 
9:37 AM
@DestructibleWatermelon do you want another idea?
 
you can have your idea. I use my own ideas, thanks
 
@ASCII-only How do conds work for something like this cond 111 ->
 
Chat macro challenge:
Programming language with these qualities:

two non-intersecting command subsets (A, and B)

A and B are both TC

Any subset of A is not TC, same for B

Any set that contains: All but one of set A or B, one command of the other set, is TC
 
9:56 AM
Hmm... @betseg If you won't spam in my thought room, then you should be fine.
 
@zyabin101 when did i spam anything
 
Okay :3
You've been granted writer permissions in the room. :3
 
@Qwerp-Derp They take the first number, once I get the current update done it'll just compare to [0]
 
'morning
 
with the basic 2d langs
 
10:01 AM
@quartata @Laff-O-Tron ಠ_ಠಠ_ಠಠ_ಠಠ_ಠ
ꊀ < this is the yi letter 'wat'
 
@ASCII-only Ah thx
Are you joking... 40 upvotes on my "There can be only 1" question
 
Where did all the NetHack persons go? :/
 
i am here
 
Good. You can watch me play seeded UnNetHack in the Zyabin 101 room :3 Uhh, probably not, it'll be at evening, when more NetHack persons come up.
 
That's beyond macro, considering that flow control has to be split across multiple non-related commands in both A and B @DestructibleWatermelon
 
10:12 AM
yay i have found a workaround with a cyrillic letter for looping in straw
 
0
A: Sandbox for Proposed Challenges

FatalizePrime factors buddies Given an integer N > 1, output all other numbers which prime decompositions have the same digits as the prime decomposition of N. For example, if N = 42, then the output must be [146, 161, 74], because 42 = 2 * 3 * 7 therefore, the available digits are 2, 3 and 7 and we...

 
yay the loops work
@Dennis could you please pull Straw
 
0
A: Sandbox for Proposed Challenges

FatalizeLargest prime factors buddies set Related to this challenge Rewrite details on prime factors buddies… Find the largest set of positive integers that are all prime factors buddies. Scoring The largest set wins. Sandbox: Given the definition of prime factors buddies given in the related cha...

 
hey there! i've never post any question or answer in codegolf, but i love reading your code. how can you calculate the bytes the piece of code takes?
 
@lois6b If you use ASCII (basically no weird characters) it's just the length of the code (don't forget about newlines)
Otherwise it depends on the encoding
 
10:27 AM
@ASCII-only thanks for the fast answer. i also find funny the related answer and your username
 
Use this if the language you're using is a normal UTF-8 language
 
ohh nice!
 
0
A: StringgnirtSStringgnirtSString

TùxCräftîñgStraw, 10 bytes <:(:>"),*& Try it online! <:(:>"),*& < Take the input (Stack: ["", input]) : Duplicate (Stack: ["", input, input]) ( Start a string : Duplicate > Output " Reverse ) End the string (Stack: [""...

no CP437 this time
★silence★
 
will fall
 
10:45 AM
i think i found a better workaroud for pings for zalgo
now @ is replaced with `@`
nope, @ still ping
@zyabin101 do you receive the ping?
 
Yeah.
 
:/
@ zyabin101
do you receive the ping?
 
@TùxCräftîñg them parens
 
Nope.
 
10:49 AM
kcool
 
Does anyone play Torn here?
 
watis Torn?
 
0
Q: Invert a boolean array

Basically Alan TuringA nice simple one Input Given a boolean array (Or an acceptable alternative), you can assume the array will never be more than 32 elements long. [false, false, true, false, false] Output Invert every element of the array and output it. [true, true, false, true, true] Rules You can writ...

 
^ hard to straw
 
11:16 AM
Haha, I posted an answer in Logicode!
 
11:29 AM
Hey, that's my question hehe
 
lol
 
I like writing nice easy questions
 
True
 
@BasicallyAlanTuring not so easy on c :(
 
@BasicallyAlanTuring it's very hard in straw
 
11:36 AM
rot26 is very secure
10/10
 
Thou shalt not use this service in the following situations:

    building weapons of mass destruction
    aiding terror organisations
    murdering kittens
it's like JSON, it's not free haha
 
lol
 
is murdering puppies ok?
 
It's extremely simple in Logicode
But yet it's extremely difficult in Straw
Are they...
ANTI-LANGS?
dum dum dum
 
@betseg visibly yes
but anyway murdering kittens... ಠ_ಠ
 
11:38 AM
@Qwerp-Derp ba dum tss
 
0
Q: Write a Palindrome-Polyglot-Quine

KvanTTTWrite a "palipolyquine": the program that both quine, polyglot and palindrome. Based on this question: Write a Polyquine. My example (I have a reposirtory Freaky-Sources with tests): C#/Java (1747 bytes): /**///\u000A\u002F\u002A using System;//\u002A\u002F class Program{public static void//\...

 
Wot
 
@Qwerp-Derp Write a Palindrome-Polyglot-Quine
 
> palipolyquine
 
VTC
 
it's a code golf
 
1
 
Yeah, but still, VTC
1
 
^^^ in a lot langs this will print 1
 
Done
 
11:41 AM
All the logins on my school system's grading system for my account are from this year, except for one from 2014
 
LOL, answer that then
 

 The Block

Hangin' with Marky. Please be nice to him, his kill queue is a...
what happened to marky?
 
i tried osable 2sable actually and 1 works
should i answer with it
 
^^^also jelly and pyth
 
11:43 AM
Answer away, my friend
There are no limitations
 
derp
 
@TùxCräftîñg Started hating people.
Possible duplicate of Turtles All the Way Down. (Or any one of a bazillion other almost identical challenges.) — Nathaniel 5 mins ago
I don't think it's a dupe.
 
-3
Q: On Kolakoski sequence A000002

Abdallah HammamA new paper on this famous sequence is at http://pubs.sciepub.com/tjant/4/3/1 free access

 
I'm sure it's not a dupe.
 
I don't know why random people would post stuff that isn't even related to code golf here.
I just can't even.
 
11:54 AM
Aaaaah.
 
@flawr The “outgolfing Dennis” meme is honestly one I’d like to see fade away:
Aug 31 at 15:48, by Dennis
@LeakyNun Not my vote, but I have to say, I could do without the little victory dance every time someone outgolfs me and/or Jelly.
 
But it's impossible to outgolf Dennis...
 
Also, I can't flag posts that don't advertise a product as spam.
 
It’s just not very sportsmanlike, and Dennis himself sounds tired of it.
 
What do you think about the upside-down tent question, is it a dupe?
 
11:57 AM
@Lynn True. But, in my (and everyone's) defense, it's still a big achievement.
 
Not always, which is the point
 
I just wish we could (a) take our own advice of “not comparing across languages”, and (b) appreciate achievements without having to pin one person down as a benchmark ┐( ̄ヘ ̄)┌
 
Yup
 
I guess it's hard to appreciate that excessive praise can become tiresome until you've experienced it, so we should work harder to help people understand that.
 
12:15 PM
halo
 
HHHA!
 
ninja'd
 
12:18 PM
¡ಠ_ಠ¡ !ಠ_ಠ! ¡ಠ_ಠ¡
 
20
Q: Output an upside-down tent

zyabin101Given an integer, output an upside-down tent. The input determines both the size of the tent (absolute value) and whether the entrance is on the left side (negative numbers) or the right side (positive numbers). If input = -1: ____ \/_/ If input = -2: ________ \ / / \/___/ If input = -3: ...

60
Q: Turtles All the Way Down

Helka HombaWrite a program or function that takes in a positive integer and prints or returns a stack of that many ASCII-art turtles, where each turtle is larger than the one above it. Specifically, if the input is 1, the output should be: __ /,,\o If the input is 2: __ o/,,\ ____ /,__,\o If the ...

 
@Downgoat :D Hence, this question
 
^^ What's the same in these questions? ^^^
 
@Lynn Haha, it is the first time I actually used it. I agree with point (b), but in this situation I thought it was actually funny because of the obviousness.
But it was not very creative, right.
 
12:49 PM
halp my connection is slow
 
Get a turbocharger.
Maybe a cold air intake
 
Do you remember when computers had a turbo button?
 
I do :)
I still don't know what it actually did, but I loved pressing it.
 
I never knew how long it was safe to hold it down for
 
Oh, what a ripoff. Don't look it up. Its actual function is terribly disappointing :(
 
12:57 PM
haha it slow down the clock
 
Ikr, what kind of asshole calls a button that slows things down 'turbo'?
 
¯\_(ツ)_/¯
 
I'm sure I remember the turbo button making things run at least twice as fast
 
The turbo button is probably turned on by default for some. ;)
 
I have those vague memories too, but it could be that I just remember it backwards, or what I thought was on was actually off.
I mean, I was a kid, so...
 
1:00 PM
0
Q: Are transformed versions of Java's types acceptable as function input?

Olivier GrégoireIn Java, all "basic" input types are immutable with very few tools at our disposal. Some other class that still represent the same value exist and allow us to do more. In trying to golf Java code, I always check if StringBuilder/StringBuffer can help me. In this case, a StringBuilder still repre...

 
@Geobits This reminded me of the chat gem in Diablo II
 
Maybe there was more than one type of turbo button
 
there is also turbo buttons on keyboard
 
1:31 PM
Can anyone recommend a good streaming service that can be easily programmatically streamed to? The last time I tried to stream to Twitch with ffmpeg it was a real pain
 
Termcast :P
for terminal, for GUI idk
 
ideally I'd just like to be able to shovel video data (preferably uncompressed or encoded with an easy to use codec) into a socket and forget about it
@mınxomaτ I think I remember you mentioning a new YT stream api
 
If it's the one on his GH, it's for streaming MP3 audio from YT.
 
Yes.
 
Oh.
Can I do that in reverse without losing my sanity
 
1:40 PM
...no
 
@quartata YT live streams are not that different from Twitch.
 
Depends on your definition of sanity: developers.google.com/youtube/v3/live/getting-started
 
YT live streams are bad
 
s/ba/goo/
 
ಠ_ಠ
s/zyabin101 .*//
 
1:43 PM
@Geobits It doesn't look like ths has what I need though...
 
@TùxCräftîñg Nice. zyabin101 is crazy is removed.
 
@TùxCräftîñg This has nothing to do with gaming so YT would be better actually
 
It's correct, 'cuz I'm not crazy.
 
@quartata I've looked at it but not really
 
@El'endiaStarman doesn't work for me
or at least
it's a static image
 
@El'endiaStarman big black circle
i dont think it's the expected thing
 
I see Escher's Angels and Demons.
 
Yeah, it works fine here.
 
CMC: Given a number N, yield the numbers 0 to N - 1 with k spaces in between each, where k is the previous number. E.g., for input 10, yield should be: 01 2 3 4 5 6 7 8 9.
 
2:10 PM
@El'endiaStarman so do I, but the caption suggests it's interactive, which it isn't for me
 
@orlp Nothing happens when you click and hold anywhere on it?
 
@El'endiaStarman no
I know what's supposed to happen (traveling in the hyperbolic space), but it doesn't happen
@ConorO'Brien what about trailing whitespace?
 
    puts  @ip < @s.length
    while @ip < @s.length do
 
@orlp Hmm, that's a bummer.
 
the first line works but the second throw a error o.o
 
2:12 PM
lambda n:"".join(i+i*" "for i in range(n))
if no trailing whitespace, add .strip()
 
@ConorO'Brien Minkolang, 15 bytes: n[i6Z" "iDr$O].
 
@orlp trailing whitespace is acceptable.
 
@ConorO'Brien class A{public static void main(String[]a){System.out.print("no");}}
 
@ConorO'Brien bash: cat /dev/stdin /dev/random should output the correct string
 
2:17 PM
@TùxCräftîñg May take an arbitrarily long time though.
 
and is standard loophole.
 
@ConorO'Brien Much whitespace. Very wow
 
@ConorO'Brien Ok, that was mean. try this one instead:
 
There's a fun V answer in there, just give me a minute
 
for(char i=109;i<111;)System.out.print(++i);
 
2:20 PM
...
3/10, not obfuscated enough :P
 
Yeah, being lazy today. I'll have to work on that.
 
for(char i=10*10+4*4+1;i<11*10+1;)System.out.print(i-=-1);
and now
 
Eww. At least use primes for building the numbers :P
 
0
A: Sandbox for Proposed Challenges

TimmyDA Mouse and Dynamite You're a mouse in a maze, and you want to get to the cheese. You have a perfect map of the maze, so you can plot the solution, but you want the shortest route. Thankfully, you happen to have exactly one piece of dynamite ... Challenge Given an input maze, output the shorte...

 
@TùxCräftîñg Doesn't this infinite-loop?
 
2:24 PM
i dont think
 
@TùxCräftîñg i starts at 117, ends at 111, counting up.
 
ah typo
for(char i=10*10+4*2+1;i<11*10+1;)System.out.print(i-=-1);
 
Well, actually, technically, because of overflow, it wouldn't be an infinite loop.
 
@El'endiaStarman Well technically that's not infinite due to overflow >_>
dammit
 
2:26 PM
lol
 
0
Q: Remove all that nonsense

SteeveDrozIn order to bring some happiness to the kingdom, your goal is to remove all elements that look more or less like something the king would not like. His Majesty particularly likes things that make sense and that agree with Him. For exemple, He does not like null, because that doesn't mean much. H...

 
@ConorO'Brien PowerShell v2+, 43 bytes --- '0'+-join(1..($args[0]-1)|%{" "*($_-1)+$_})
 
@ConorO'Brien Ouch that 0-indexing hurts :P
 
lol which language are you using?
 
Python (0/1 index difference is 3 bytes)
 
2:33 PM
show me both? :3
 
... oh wait, this wouldn't work anyway, nvm
For some reason I assumed single digit input o_O
 
Hmm, mine barfs spectacularly if input is <2
 
Mine seems to work the same for all cases <_<
 
... works in Py 2 (4 byte difference now): f=lambda n:n*'0'and f(n-1)+' '*(n-2)+`n-1`
 
Has anyone here ever worked with creating sound from scratch in the browser?
 
2:37 PM
@ConorO'Brien JavaSlow, 35 bytes: f=n=>n<1?"0":f(n-1)+" ".repeat(n)+n
 
Not me, but I've always wanted to try that
@TùxCräftîñg Golfed 5 bytes: f=n=>n&&f(n-1)+" ".repeat(n)+n
 
waitwathow
 
-.-
if you insult the language you can't use it properly
 
I created a simple function that approximates the denominator of any given decimal number
It comes up with some interesting results for irrational numbers, such as 5419351/1725033 for pi
 
2:41 PM
Is this using continued fraction convergents?
 
@Sp3000 No, it's just a horribly inefficient loop: function den (x) { for (var i = 1; Math.min((x * i) % 1, 1 - (x * i) % 1) > 1e-7; i++); return i; }
 
:( okay :P
 
I'm sure continued fraction convergents would be more efficient :P
 
I only asked because I was wondering whether you did it because of the recent continued fractions challenge :P
 
No, my main goal is to write a function that deciphers whether a sequence of integers is arithmetic, geometric, recursive, etc.
 
2:46 PM
0
A: Make an error quine!

TùxCräftîñgStraw /opt/straw/straw.rb:108:in `initialize': no implicit conversion of nil into String (TypeError) from /opt/straw/straw.rb:108:in `new' from /opt/straw/straw.rb:108:in `step' from /opt/straw/straw.rb:225:in `run' from /opt/straw/straw.rb:254:in `<main>' Try It Online!

 
Apparently e is approximately 14665106/5394991, sqrt(2) is approx. 9369319/6625109, and the golden ratio is approx. 9227465/5702887
 
does the challenge ^^ have to be a file or can i echo "..." | gcc -x c -
 
@RenderSettings you're back! \o/
Let's hug! :D
 
I'm really good at approximating irrational numbers... for example pi is approximately 314159265/100000000
 
2:52 PM
cheater
 
@PhiNotPi Now simplify your fraction. And also, ^ XD
 
"Listen to your wife" ... good advice always. :-) — Dan Esparza yesterday
 
And golden ratio is approximately 573147844013817084101/354224848179261915075 :D
 
For pi, 5419351/1725033 is accurate to 12 decimal places
Random question: how many of pi (in order) have you memorized?
 
3.14159?
 
2:55 PM
2
i only know 3.14 xD
 
5 after comma.
 
I know all of the digits, but getting them in the right order is difficult.
 
...not what I meant :P
 
@zyabin101 I am!
Started college too
 
How's your now? :3
 
2:56 PM
honestly, when i need pi i use irb<CR>Math.PI
 
So, you run Math.PI in Ruby, right?
 
@ETHproductions 3.1415925359
 
@zyabin101 yes
 
@RenderSettings Let's check...
 
@ETHproductions 3.14159265358979323
 
2:57 PM
@RenderSettings Uhh, you're missing a digit
 
Here's what I know: 3.14159265358979323846264338327950288419716...999999...
I don't have enough to do
 
@ETHproductions 3.141592653589793238462643383958471829485992847582910395829571839509281748291049‌​86922nevermindimjustspammingrandomdigitsnow
 
Oh, oops
89 :(
 
irb(main):002:0> Math::PI
=> 3.141592653589793
huh ruby have less precision
 
@RenderSettings 8979323
 
I memorized the first 32 digits from a book, then the next 10 on a college visit I took recently
@TùxCräftîñg hahaha
 

« first day (2056 days earlier)      last day (2790 days later) »