« first day (2137 days earlier)      last day (3002 days later) » 

18:06
> 11<sub>3</sub> 3 bytes
Struck out 4 is 11 in base 3
@betseg Really?
@wizzwizz4 Look at Dennis's answer on that challenge
@betseg Base 3 is the maximum base that you can't confuse 4 with 4.
@ErikGolferエリックゴルファー That's a point.
Hey! I've developed the ability to tell the difference between the two! :-)
Well, Base 4 exists too, but you can confuse it with Base 4, so nope. Wait; I have that ability too!
18:10
You have to strike the 4 on base 4 numbers (10<sub>4</sub>)
No there is no 4 on base 4 numbers, unless you are referring to bijective base 4. See the confusion? Stay with base 3 instead.
@betseg Neither of those were 4. They were both 4.
what screen capture software do folks use for animated gifs
Meh I think you understand what I'm trying to say
i've been using greenshot but i think it only supports screenshots
18:11
@Poke licecap
@Poke recordmydesktop and imagemagick
@Poke In Ubuntu, I use SSR (Simple Screen Recorder).
the FPS isn't great for big gifs, and it spazzes a bit on games/applications that take over your cursor, but it works for most things
@ErikGolferエリックゴルファー ah good point. i'm on windows
@Poke PRTSCN and GIMP
18:12
iirc doorknob also made some sort of gif recorder but idr well
@wizzwizz4 for animated gifs? wowsers
SSR does not make HD vids though. It creates a video, you have to convert it to gif. I would argue it's the best option for now.
thanks
I use recordmydesktop to make a video, then imagemagick to turn the video into a gif
18:14
@EᴀsᴛᴇʀʟʏIʀᴋ Lol LICEcap is so spastic.
@Poke I use loilo to record to .avi and ffmpeg to convert to gif.
i haven't used ffmpeg in years
I'm pretty happy with it
haha
ffmpeg is feature-rich I think.
18:15
Too rich IMO
it used to be what was used under the hood of just about every format converter iirc
idk if that's still the case
@betseg You mean too heavy?
It's like systemd, but about videos lol
@ErikGolferエリックゴルファー What makes you say this? The website makes it look pretty easy and decent
i guess it's probably not as good as a converted video
The gifs make me say that. If you watch closely, you will see that they lag quite a bit.
18:27
Does anyone here have a chromecast? If so, any complaints?
@ErikGolferエリックゴルファー ah ok i think i see what you're saying
I will forever be shocked that my boss still finds me useful
5
@mınxomaτ I have one in my apartment. I don't have any real complaints. It has spazzed once or twice where I've had to reset it
@mınxomaτ I have one, works pretty well.
Other than that the only frustrating thing is finding a good app to stream saved content
18:29
@ConorO'Brien can you test cheddar debugger on windows? github link you can test using npm run build && node test/cheddar.js
some video encodings seem to work better than others
@Poke That's my main intended use. What have you tried?
@mınxomaτ I think the one that has been most reliable is Videostream
@Geobits bovine brethren with legs brutally slaughtered off :(
Wait does cow count as bovine
@Downgoat Yes.
18:32
Yes
You ninja'd me, well done!
There should be a chat badge for that.
I'll ask.
@mınxomaτ Have also used plex but most smart tv's just have an app for that
@wizzwizz4 brb making userscript
plex seems like overkill unless you have a full media server and/or other people
@Poke I use Videostream for Chrome. Works very well.
18:34
... You can... do that? Reply to deleted message.
I don't have a smart TV. My parents recently bought one and it serves ads in the menu, and is overall slow. I have a LG PF1000U, with most of the "smart" features disabled.
Chromecast is great ime
@mınxomaτ i dont but i can tell you that apple tv works great if you like 50 minute latency in screen mirroring
:33923416 wop
@Downgoat Or I could not use an Apple TV and remain sane.
18:35
Does anyone own A New Kind of Science (ideally digitally) and can tell me whether it actually contains the complexity classes of all 256 elementary automata? (if it does, it should be around page 223)
yeah i don't understand why smart tv's are "the thing" lately... unfortunately if you want a dank 4k oled display, chances are it's also smart
> dank... memes
was looking at net traffic to/from my friends' smart tv. there's a webserver running on it that just serves "Hello world"
like wtf
TVs really shouldn't be dank. Not good for the circuitry at all.
8
well put
18:37
@Poke I don't get why they are so slow in general. If you sell me a $3k TV, then use a proper CPU (like $200 more is going to hurt) ...
@mınxomaτ probably the same reason battery technology still sucks
Yeah, the Vizio my parents have has a stupid slow menu.
Most that I've seen perform like 2nd gen android smartphones.
The quality from the LG PF1000U is amazing though, I do not miss the TV experience.
at some point we're going to inspect the traffic when it updates
then own it
18:40
Comments? Can I post this as it is now? It has +3 in the Sandbox.
Is Peter T. correct, is it really a dupe?
Wait for 5 minutes
Before posting it
@Poke You should mess with them somehow, like alter the speed at which stuff is displayed on screen. Decrease the speed reallllllllly slowly over the course of a long period of time so they can't tell it's happening.
It's tim's tv
so no
>.<
Or just do one of those X movie, but sped up whenever they say Y.
Ahh, well in that case we'll have to think of something special
well i'm waiting for him to do it since we have an update available that's been available for months at this point
just waiting for it to get owned remotely
18:46
Let's say I have lang A and lang B. Lang A is a golfing lang. AaA is a body in that lang. You can make that into a func using f=AaA. AaA is accepted in . Let's say B isn't a golfing lang. Func1();Func2(); is the body. But this isn't accepted. You have to do f(){Func1();Func2();}. Why?
i'd say "good thing we're on different routers" but then he'd make fun of me for previously hosting a webserver on my main desktop
@betseg Func1();Func2(); is a snippet
CMC: How long would it take to go through TNB's entire message history if you started scrolling at 1 message/sec but sped it up by .5 messags/sec every time someone mentioned the words 'code' or 'golf'.
@Poke but in Lang A, AaA is a snippet too. But people don't write f=AaA, they just write AaA
do you have a more concrete example
for some languages "just a body" can constitute a full program
for many golfing languages output is not explicit
For example, (I don't know apl this is the first one I found plz don't hit me) codegolf.stackexchange.com/a/68299/56721
Can this be a full program?
Or people do this without the h=
Or this, again, without h=
18:56
@StewieGriffin Post it
@betseg When I write lambda's in C#, I exclude the func_name=, but someone mentioned on one of my posts that I should include it if I have a recursive call in the lambda, which makes sense imo (otherwise, the function name would be meaningless inside the body).
I don't write lambdas in Java specifically for this reason. It feels dirty to me.
(for golfing that is)
I, however, don't include the Func<T,...> name; either, since most people seem to exclude that.
Right, that's the part that feels dirty. If it was fully specified it would be fine.
Yeah, it feels wrong since technically if you copy/paste a solution that is just n=>{...}; into a program with nothing else, it won't compile unless you define it a name and that has to have type func blah blah blah.
But it makes for shorter answers!
19:00
I started calling my answers Java 7 just to (sometimes) stop people from commenting that.
Meh, I'd rather lose with a function than win because of a lambda.
It's rare for an answer in PowerShell to be shorter as a function, since param($n) (as a script executed from the command line) is shorter than filter f($n) (as a function)
So, can I post (x)puts(x) and say it's lambda in C (like #define f(x)puts(x))
Well, even with doing that I don't think I'm gonna win anything, I just like using them since before I started golfing I really had no idea how lambdas worked (never really understood them in the classes I took)
@Yodle Oh sure. There's nothing wrong with lambdas, I just don't like the way they're counted for golfing purposes.
19:02
​​​​​​​​​​​​​​​​​​​​​
Wut
@Geobits I've still gotten comments that i could use a lambda with java 8 to save like 10 bytes
Yeah, I still do sometimes too.
@betseg You heard me, I said ​​​​​​​​​​​​​​
i'm just stuck in my java 7 ways
19:03
@Poke You could use a different language and save 60 bytes :p
redhat still supports it so i feel justified
@TimmyD whoa you're right
brb
It's like saying hey, you can save 99% of your bytes by using a golfing language!
Ninja'd
I use C just to not use C++ and lambdas /s
@TimmyD Just 60? You picked the wrong language :P
@Poke I don't bother with comments like that as long as the person has specified Java 7 or earlier
19:09
Yeah, that's supposed to be the point of putting the 7 in there (at least for me). It doesn't work on everyone.
someday i'll learn all of the new fun and exciting java 8 things
like a real datetime library
I like Java 8. Like I said, I just disagree with the counting here.
I personally just wish imports didn't have to count. It ruins so many Java 8 answers for me
I have an unused Herbert Schildt's Reference/Guide for Java SE 8
@Xanderhall Almost anything with streams for sure :/
19:10
from * import *
4
ಠ_ಠ
Well, I guess for java it'd be import java.*;
@Geobits Yeah. Streams are so good for doing things with lists of numbers. But the import kills it
Lambdas are a key part of the book
@KritixiLithos how much was that :P
19:11
If you're going to make it up, why even bother with the java. part? Just import *; :P
@Yodle not everything is under java
@Yodle Nope. That only imports the layer, not everything nested in it.
again, geobits
honestly
sdfalkdfjaldf
@Xanderhall I know, but if it did, it'd work ;)
@Poke :D
19:11
import java.util.* doesn't import java.util.stream.*
@Yodle ...
@Poke Dunno, my parents bought it for me. I have so far only used it to create a program that will delete every file in your computer
sounds like it was worth it
C can't #include * :(
@KritixiLithos I have a book titled something like "Squashing bugs in Visual Basic" from the 90's that I got from my school's We Don't Need These Anymore pile. It has a picture of a giant cockroach on the front.
Sure learnt a lot of File IO
19:13
Was there a discussion on why imports should count towards your byte count?
@betseg But you can #define true false
Or NULL 1
I understand the concern about using some external library
Or any other fun thing that uberbork any codebase
HeavyJava: Just like regular Java, but it automatically adds a header to every file that imports everything in the standard libraries.
@Yodle lol
19:13
@TuxCopter Even after including stdbool.h?
@TuxCopter even after including unistd.h?
7
Q: On scoring imported functions

OgadayThere are lots of questions about whether to count the bytes in an import statement, etc. This question is not about that. Instead, this question is more inline with this question but I think it would be considered off topic/distinct. Again, assume standard library imports are allowed at least, ...

maybe
@Geobits If you make it, I'll use it.
Ah, well obviously to make this work it needs to be after includes
19:15
@Yodle If you use it I'll downvote it :P
@TuxCopter woah it only gives a warning and that's it
@Geobits If you downvote it I'll upvote it
@Geobits No surprise there
@TuxCopter No surprise there
import java.suprise;
19:17
If you use it I'll post ಠ_ಠ
there, how there's a suprise.
@Poke That one doesn't seem to be about whether or not to actually count imports.
@betseg If you ಠ_ಠ it I'll do nothing
@Yodle SurpriseNotRegisteredException thrown at line 33924265
4
Q: should imports/includes count in golf

ratchet freakfollow the title mainly I'm asking this so I know whether to count all the import declarations that are required for the code to run successfully (especially when the import/include is required in the language like in D)

comments on the question maybe
19:21
so did you guys know that it's possible to prove that 42 is actually the Ultimate Answer?
No?
Prove or "prove"?
I proved it a few years ago
@GabrielBenamy 42-42+42 = 42
mind-mind+mind = blown
@TuxCopter bruh
19:22
@TuxCopter I see what you did there...
#define return if (std::rand() < 2) throw std::exception(); else return
42 is the code point for the asterisk *, which represents any string of characters of length 0 or more. No matter what you're searching for, * will find it. No matter what the question is, 42 is the answer.
Regex ftw
@GabrielBenamy :O
What do you get if you multiply six by nine
19:23
42
@GabrielBenamy Is this on coincidence? I think not!
@KritixiLithos yay base 13
@Poke you get an illegal scrabble tileset because scrabble only has 2 Y tiles, but that question used 4
@GabrielBenamy That's just silly. Everyone knows code point 42 is B.
Talking about bases, Processing has a unhex() builtin: processing.org/reference/unhex_.html
19:26
Drop the base!
(into acid)
Too fizzy for me
could also be 1+8*5+1
just messed up the order of operations
@betseg No thanks, I don't want salt dissolved in water
@Poke No no, that's 46. Or 49. 42 would be too consistent for this kind of thing.
@GabrielBenamy star for the lesser known reference
19:30
But... scrabble tiles are routinely used for two words each.
@Geobits Not the way they were playing in the book
It's been a long time since I've read it, but how do you play scrabble with no interlocking words?
Arthur was just pulling tiles out of the bag one by one and throwing them at Ford
0
Q: Transpile WordMath

Flp.TkcWe've all seen those online "maths hax" that look like this: Think of a number, divide by 2, multiply by 0, add 8. And, by magic, everyone ends up with the number 8! Language Let's define a programming language which uses the syntax of the text above, called "WordMath". WordMath scripts fo...

@GabrielBenamy Hmm. Sounds like both less and more fun than the usual rules.
19:37
Good night!
0
Q: Binary to decimal converter

Stewie GriffinBinary to decimal converter As far as I can see, we don't have a simple binary to decimal conversion challenge. Write a program or function that takes a positive binary integer and outputs it decimal value. You are not allowed to use any builtin base conversion functions. Rules: The code ...

hi all
20:01
Muahaha, brain-flak is shorter than Python!
@DJMcMayhem Why did you have to post just as my "messages since active" counter reached a nice round power of two?
I have "should I post or comment" question: the only Python answer for Reverse Deltas is 54 bytes. With two tricks I'm down to 42 bytes. Post or comment?
How similar are they?
@Sherlock9 If it's just tricks, comment. If it's a refactoring, post.
20:05
C# don't have binary literals
@TuxCopter Use C instead.
C is confusing
@Sherlock9 it's actually 37 now. :P
He uses l[i] for i in range(len(l)), I use j for j in l
@DJMcMayhem I reloaded and it still says 54 bytes. What do you mean?
@Sherlock9 That's a comment, imo. But your decision entirely.
20:07
Yeah, I thought so. Thanks :D
@Sherlock9 oh, I thought you were talking about a different challenge. Nvmd
0
A: Sandbox for Proposed Challenges

redstarcoderSandbox Questions Is this a unique challenge? Is it unambiguous enough to be posted? Display a Digital Clock codegolf Write some code that continuously updates a digital clock displayed in the format h:m:s where h, m, and s can occupy 1 or 2 characters each. Newlines are not allowed Trail...

@NewSandboxedPosts I'm certain I've seen that before...
@DJMcMayhem What challenge were you thinking of?
So I retuned an electronic keyboard to have a 12-note subset of 19edo tuning... it's pretty great.
20:14
3
Q: Binary to decimal converter

Stewie GriffinBinary to decimal converter As far as I can see, we don't have a simple binary to decimal conversion challenge. Write a program or function that takes a positive binary integer and outputs it decimal value. You are not allowed to use any builtin base conversion functions. Rules: The code ...

Ooh, that's a very nice Python answer :D
Yeah, for a short moment I was beating it in brain-flak, lol
my head is heavy and i can't think and i have another hour and a half left of work
@wizzwizz4 How does your binary answer not run afoul of "You are not allowed to use any builtin base conversion functions."?
@TimmyD It's not a function, it's a language feature. In some implementations of ES6, it works via a (hackish!) internal eval.
I'll delete if it's deemed wrong; it was quite a low-effort solution.
20:28
Seems like that's just arguing semantics.
no builtins. that means no functions. you must manually write to STDOUT directly, the result of your hard-coded solution for every possible input.
no shortcuts like "print" allowed
I have a solution that outputs the answer as piles of sand of varying sizes. Does that count?
depends on where the sand comes from
From the beach. It doesn't create them, just shuffles them around to form piles.
@Downgoat will do once I arrive at home
20:34
okay but you have to hardcode the signals to the machine that organizes the sand
It's all mechanical.
Input is also piles of sand.
how do you input a binary pile of sand
@GabrielBenamy It's tricky...
Lots of gates and scales, with a pile over a certain size/weight being a 1 input, else 0.
@Geobits Yeah, but then you run into sorites paradox ...
20:38
Is that the one where there's no such thing as a pile of sand (or that a single grain is a pile)?
Right.
Yeah, probably best to make sure you define a hard cutoff.
Also, the challenge says "The code must support binary numbers up to the highest numeric value your language supports (by default)". What if my chosen language doesn't have numeric support by default? Can I just input/output nothing?
Then, according to this site, it's not a language.
Pseudo ninjedit?
@TimmyD What if it has string support?
I'm wondering about the "by default" bit mainly. What if I have to import something to get numbers?
20:41
@Geobits That's a really sorry excuse for a language
I've seen some sorry excuses for languages here, so that's not a showstopper :P
Yeah, that's where the "pseudo ninjedit" came from ... that would still be a language according to this site.
is COW one of them?
I don't know COW. Haven't even seen it.
Just seen chat about it.
4
A: Make big rocks into small rocks

Gabriel BenamyCOW, 297 291 bytes MoOMoOMoOMoOMoOMoOMoOMoOMoOMoOmoOMoOmoOmoOoommOoMoOMOOmoOMMMmoOMMMmoOOOOMoOmOoMOOMOomoOmoO MOOMOomOoMOomoOmoomOoMMMOOOMoOmoOMMMmOomOomoomoOmoOMOOMOomOomOomOoMOomoOmoOmoOmoomOomOomOo mOomOoMMMmoOMMMMOOMOomoOOOMmOomOoMoOmoOmoomOomOoMoomoOmoOmoOMOOMOoMOomoOMoOmOomoomoOMMMOOO mOoM...

20:42
If it's a bf-derivitave of moo, then yes :P
Sierpinski pyramid drawn with a single line?
it's a 3d sierpinski arrowhead curve
it looks nice... I hope you wrote to generate it in Cow!
20:54
LOL I wish! But I found it online, sadly

« first day (2137 days earlier)      last day (3002 days later) »