« first day (2395 days earlier)      last day (2743 days later) » 

00:02
0
A: 1, 2, Fizz, 4, Buzz

Leaky NunTeX, 304 bytes \documentclass[9pt,a4paper]{article}\pagestyle{empty}\begin{document}\count0=0\count1=0\count3=3\count5=5\loop\advance\count1 by1\count0=0 \ifnum\count1=\count3 Fizz\advance\count3 by3\count0=1\fi\ifnum\count1=\count5 Buzz\advance\count5 by5\count0=1\fi\the\count1 \ifnum\count1<1...

I would compare it to javascript where semicolon are both necessary and unnecessary
and I still haven't figured out how the expressions in TeX are parsed
Is that what would be considered a "onebox"?
@Zacharý yes
I've heard people say "don't onebox"
... One does not simply ... outgolf Dennis ...
> Some links will be automatically inlined if posted on a single line by themselves, such as:

Stack Exchange questions, answers, and users; Chat messages and rooms; Images; Wikipedia pages; Amazon products; Youtube videos; Twitter messages; Github gists
We call this "oneboxing". - from the help button
The spam >_<
00:14
@Zacharý sorry trying to get rid of the spam and made more
@StepHen Does editing re-notify you? ?
@Zacharý yes
@NoOneIsHere oh lol I'm so used to chat strikethrough
1
Q: How many states do I border?

Step HenWhen I was younger, I had a big map of the US tacked up on my wall across from my bed. When I was bored, I would stare at that map and think about stuff. Stuff like the four-color-theorem, or which state bordered the most other states. To save younger me some brainpower in counting, you are going...

Okay then, stop edit spamming me.
CMC: compute all factorizations of a number, e.g. 4=>[[4],[2,2]], 5=>[[5]].
@Zacharý shouldn't that be [[5, 1]]?
and [[4, 1],[2, 2]]
00:26
No ones.
@Zacharý crap that eliminates the mathematica builtin
Is there a challenge like that? (When I add the extension command to MY, that will be one of the commands, which won't be for a WHILE)
@Zacharý different output format, but basically the same (at least answer-wise): codegolf.stackexchange.com/q/104590/65836
actually that's prime factors, not all factors (although yours isn't all factors either because of no ones)
Should I post this on main?
@Zacharý you probably could
get some bigger test cases first though
and make sure 1 is in the test cases or eliminated from the input domain
00:33
Like this? 20=>[[20],[2,10],[2,2,5],[4,5]]?
and I mean like 6 or 7 characters long
I've got a horrible APL solution that runs so slow that 20 won't run on TryAPL: {∪L/⍨⍵=×/¨L←1~⍨¨,⍳⍵/⍨⌈2⍟⍵}
@Zacharý would the factor sets have to be sorted smallest->largest like yours are?
No order required.
and I mean like 6 or 7 digits long (maybe find a longish prime and a longish perfect number)
@Zacharý maybe a test case like 40340 - one of the last abundant numbers that fits on OEIS
00:42
... too large ...
@Zacharý for your program or for a testcase?
Both,
@LeakyNun this is me literally all the time
does anyone know jelly decently in here
@StepHen I wasn't on...
00:44
@ConorO'Brien Decently-ish
Just look at the wiki, that's how you do Jelly.
@ConorO'Brien I know how to Ctrl-F keywords...
let's say I've made a list, and I want to remove all instances of the two inputs from that list. how might I do that?
I tried ,ḟ and that didn't seem to work
@ConorO'Brien yes nobody really knows Jelly decently :P
@ASCII-only I suppose
00:45
@ConorO'Brien So, a list of tuples, remove any instance of the inputs joined into a tuple?
@ConorO'Brien link pls?
Posted on main.
@DJMcMayhem I think so. jelly concats my list together so idk
@ConorO'Brien don't they both need to be a list of tuples first
I'm copying and pasting commands and hoping for the best
00:49
@ConorO'Brien Could I have a TIO link?
ok, gimme a sec I think I broke it
@ConorO'Brien you probably need to W (wrap) the input tuple
Jelly output methods ... blech!!
@Zacharý ?
0
Q: Total Factorization

ZacharýThe challenge Given positive integer input n (n>1), calculate the array of unique factorizations of n, not including 1. Order does not matter. Test cases 2 => [[2]] 3 => [[3]] 4 => [[4],[2,2]] 5 => [[5]] 6 => [[6],[2,3]] 7 => [[7]] 8 => [[8]] 9 => [[9],[3,3]] 10 => [[10],[2,5]] 11 => [[11]] 12 =>

5, [5], [[5]], all look the same.
2 ... 3 ... 4
@ConorO'Brien Here?
Do we have a regex metagolf challenge yet? (Ala xkcd)
01:02
link to this xkcd?
@ASCII-only yeah that works. too long tho, oh well
How long did you want it to be
basically under 5 bytes
>.>
@ConorO'Brien Actually, Seriously... and now you want Basically?
01:04
no I really don't
A nime ctually was a mistake </s>
@ConorO'Brien FINALLY SOMEONE AGREES!
@ConorO'Brien why do you have an extraneous end strikethrough tag there
it's a sarcasm tag
@ASCII-only ... /s indicates sarcasm
01:08
@StepHen but it's in angle brackets
Noooooo it almost worked but it didn't
@ASCII-only ?
@Downgoat [tag:/s]
btw i started on LLIR and working on algebraically doing graph optimize
Yay
Also: is ><> just >_> with beak
But need help because we're gonna have to write a lot of basic algebra 101 rules
01:12
><> is a FISH!!!!
@DJMcMayhem hm sounds interesting (I'm assuming you mean the second panel)
Meta regex golf would be interesting test battery challenge
@StepHen I was thinking the infinite one, but now that I think about it, your idea is much better.
:P
@DJMcMayhem yeah I'm thinking the same thing as @Downgoat - something like
01:17
@DJMcMayhem hey I have a matl question. I'm trying to get matl to run locally with octave on windows. every time I run octave from the command line, it opens up a new console. do you know how I might avoid this?
I've never run it locally, even once lol
, HUH? That doesn't work on Sandbox.
@ConorO'Brien write a script to close the newest console whenever you run octave
@StepHen right but then I can't retrieve the result...
@DJMcMayhem alright, thanks anyway
@ConorO'Brien uh close the second newest then
01:21
@Downgoat ok
maybe I'm not making myself entirely clear. When I run octave --eval "disp(32)", it closes the active console, makes a new one, displays the result, then closes that one as well
@ConorO'Brien -W?
--persist?
produces a segfault
01:24
@ConorO'Brien @LuisMendo Any idea how to fix this?
@ConorO'Brien ok wat
@DJMcMayhem oh wait I think I got it. apparently the windows install for octave calls a wrapper function around the raw exe. I just have to call the exe instead of the wrapper
01:36
Clojure is a nice lang, but it's really painful for anything outside of writing basic command line apps (with the exception of CLJS)
Which is a shame
Server-side CLJ is just cancer, probably due to the fact that it has to wrap around Java
@Qwerp-Derp this is why node is the best :P
01:55
@ASCII-only Eww node is even worse
10 libraries just to start off
Express, FS, React, etc.
@Qwerp-Derp but at least it can do STDIN in JavaScript...
None of the libraries work well together
The ecosystem is pretty crappy IMO
@StepHen What use would that have?
@Qwerp-Derp online interpreters for programming languages :P
Ehhhhhhhh
Sinatra = best backend :P
Kemal = Sinatra on Crystal = better backend than Sinatra :P
02:20
@Qwerp-Derp what no
Crystal is great!
@Qwerp-Derp then don't use them?
@NickClifford :D
@ASCII-only Don't use libraries?
Exactly
LOL this is JS, you can't not use libraries
02:21
They're like jQuery
Makes most things easier but usually unnecessary overhead
Have you ever written JS without using a library?
DOM manipulation without JQuery is super painful
Good luck trying to make a server without Express
ES6+ makes things better, but it's still kind of a pain
You technically can't do IO in Javascript >_<
02:29
can you guys give me some tips on anything I should try to change/improve on with Ohm v2 before I publish it to master?
03:21
@Zacharý wha???
@Qwerp-Derp this is actually pretty simple
@NickClifford looks like you're missing the goat built in :P
@Downgoat wow. I can't believe I forgot that. completely unusable without the goat builtin
@Qwerp-Derp wth no
Just look at zquery
@NickClifford precisely
(but actually though does it look ok?)
is that the canonical ASCII goat?
@Qwerp-Derp if it was 2003 I'd agree with you but other wise not at all
@NickClifford I think so :P @Downgoat can you confirm
@Downgoat What about DOM manip using vanilla JS?
@ASCII-only Link?
NVM
03:40
@Qwerp-Derp ...
@Qwerp-Derp ......
OMG I said "NVM" at the end... calm your farm
document.querySelectorAll is your friend
@Qwerp-Derp node version manager?
@ASCII-only ....................
@Qwerp-Derp yeah but seriously pls read first geez
@NickClifford also querySelector if you're using an id
03:42
right
Also bind operator is amazing for DOM iteratjon
Oh, did not know that, cool
Read through the zQuery thing, and it's cool
But I would still use jQuery :P
IMO JS's random stuff like document.getElementById doesn't match up with the rest of the language
then you have things like how giving a DOM element an ID (<div id="hi">hello</div>) creates a global variable (hi.textValue === 'hello')
And hoisting's a pain :P
IMO Ruby and Crystal > JS in syntax, but usability-wise JS is probs better (more libraries = more support I guess)
JS is horrible, But I don't hate JS.
Much like Lua, it's horrible, but I love it.
@ATaco the similarities between JS and alcohol don't end :P
04:13
Any noun probably has both an Alcohol brand and a JS library named after it.
The main thing I don't like about JS is its syntax, and for me syntax makes or breaks a language (I think this might be a bad approach to programming, but I like to program in languages that make me not want to strangle myself while working with its syntax)
@Qwerp-Derp to slow down the page and waste clients' bandwidth?
@Qwerp-Derp ... JS syntax is C syntax
@ASCII-only See my point above
@Qwerp-Derp ... How
With weird things that you have to watch out for
04:18
@Qwerp-Derp like?
@ASCII-only It just doesn't match, you have your nice and easy things like function, var, for and while and bam, document.getElementByClass!
@ASCII-only Hoisting, === instead of ==, super weak typing
@Qwerp-Derp eww lol end isn't better than braces to me
@ASCII-only I like end instead of braces, it seems cleaner
@Qwerp-Derp ... Obviously? Why would DOM manipulation be a language feature?
@Qwerp-Derp how exactly
@ASCII-only IDK, it just seems cleaner to me
04:21
I really don't see the difference lol
@ASCII-only ??? So you think it would be better to place it in a module? BUT WAIT! JS doesn't have a module system!
It's like 3 char braces
@Qwerp-Derp uh what
JS = one-file philosophy :p
@Qwerp-Derp ... Who said that
You have jQuery + your own code = 2 files
@ASCII-only I mean like all of the code that the programmer writes that isn't a library
04:23
@Qwerp-Derp when did I say that, it wouldn't make sense as a language feature so it's a method on the document node
sigh fine
@Qwerp-Derp well of course, normally you don't run a large project on a webpage
@ASCII-only But wouldn't it be better to separate your code into separate pages?
@Qwerp-Derp idk, what do you mean
files*
Not pages
04:25
@Qwerp-Derp it's like saying ruby print should be part of they syntax not a function
@Qwerp-Derp yeah? That's what I do with my JS
@ASCII-only Webpage JS or Node?
@Qwerp-Derp webpage JS
Well node as well of course :P
Using a library, I'm assuming?
Or multiple <script> tags?
@Qwerp-Derp how else
@ASCII-only But wouldn't it be better to have just one <script> and using a proper module library?
04:28
Yeah?
But JS doesn't have modules
It's called webpack/browserify/a lot of other things
@ASCII-only Those aren't really modules
And they're external libraries
05:15
@Qwerp-Derp how.
@Qwerp-Derp you don't use them directly on the webpage though
05:31
@ASCII-only Don't you have to wrap your entire code with a require statement, and there's limitations compared to actual modules?
@Qwerp-Derp Limitations?
@ASCII-only ??? How does that detract from the fact that it's an external library
@Qwerp-Derp Well the compiler does that for you doesn't it
@Qwerp-Derp Nothing?
But seriously? JS was never meant to be modular
Do you think Brendan Eich could imagine what JS would be used for in the two (?) weeks he took to program it :P
@ASCII-only Yeah, I see your points
I just don't like JS as much as something as Ruby
Of course :P if you're programming in a browser though you're either crazy or have no choice
05:35
What about CoffeeScript? :P
Makes no difference if it's still in a browser
Syntax-wise, not performance-wise
Because CS compiles into JS anyway
@Qwerp-Derp IDK, personally JS is fine to me, but if you're not a fan of C-based languages then CoffeeScript is probably a better alternative
0
Q: Square and square

iBugSquares looks symmetric, and so are the required codes. Objective: Write a program whose source code is a solid square (n lines with n printable characters each line) and prints a square of equal size. See my answer below for an example. Requirements Both the source and the output must contai...

06:02
@NewMainPosts I'd answer in Charcoal but I'd feel bad because it's just too easy :P no matter what method I use
06:26
@ASCII-only wish I could say the same with SOGL. N=2 is most likely impossible as the newline in the middle basically makes the effective program 2 bytes no matter what
06:37
@dzaima what why D:
yay, brute-forced and found N=2 :D
@dzaima :| but comments aren't allowed
@ASCII-only there are co comments, the code is basically replace $ with H in the next line and then run the next line - "HQ"
07:13
@NewMainPosts Ugh I can't get a n=6 one in C :P
@dzaima lol same
I have these two equations:
2b - 2x + 3y = 0
y >= 56
Is there a way to create an inequality with only b and x by substituting y in?
I've tried this, but I'm not sure if there's anything wrong with it:
2b - 2x = -3y
2x - 2b = 3y
2x - 2b >= 168
x - b = 84
@Qwerp-Derp I think that would depend upon constraints of b and x, are they always positive or can they be negative?
b and x are always positive
I got to b>=28
Wait what
07:43
@Qwerp-Derp *>= 84
@officialaimm You can't
@ASCII-only Can't edit anymore :P
Oh sorry I placed a wrong sign...
and got that
@officialaimm Um :/ it's exactly the same (btw no space between ] ()
Yay commata is broken @totallyhuman
07:48
@ASCII-only Sorry again.... Put ¹¹¹¹ on the first line, then...
@officialaimm but I want more than one type of random no-op :P
@ASCII-only You can use Not exactly a no-op but doesnt affect (split at spaces). Wait the first line wont get executed anyways right??
@officialaimm Right
 
3 hours later…
10:42
@ConorO'Brien ḟ,
(dyad-dyad rule under dyad parsing)
10:55
\documentclass[12pt,a4paper]{article}
\begin{document}
	\newcommand{\fib}[1]{
		\newcount \a
		\newcount \b
		\newcount \c
		\newcount \i
		\a = 0
		\b = 1
		\c = 1
		\i = 0
		\loop
		\advance \i by 1
		\a = \the\b
		\b = \the\c
		\advance \c by \the\a
		\ifnum \i < #1 \repeat
		\the\a
	}

	\fib{11}
	\fib{12}
	\fib{13}
	\fib{14}
\end{document}
89 144 233 377
11:41
@DJMcMayhem I'm only used to using Octave through the GUI. But it seems Conor solved it
12:09
Yeah, JS has no IO in its specification.
Perl is <insert language here> done wrong
2
@Zacharý well it wasn't meant to be commandline so...
@Zacharý ... How
Perl is just confusing as hell.
12:43
@Zacharý what why
@ASCII-only You can have grammars which barely work, things are referred to by natural language terms (one reason I don't use J), those stupid sigils, operators can be squeezed in between precedences, usage of things like x as an operator, circumfix reductioh, ...
@Zacharý also you can just avoid them
I'm assuming you use Perl?
Like most people do
@ASCII-only What is "them" that you are referring to?
12:49
@ASCII-only i'm aware of that, i accidentally made everything floats
i'm not gonna fix it
@Zacharý kinda? Not for a project though
@totallyhuman doesn't that mean it's nowhere near golfy anymore
@ASCII-only ಠ_ಠ
@Zacharý okay not all of them but sigils aren't that bad, and x is fine if you make it clear for using it as an operator
@ASCII-only it never was but how does this affect golfiness?
ohh you wanna answer the square challenge?
@ASCII-only Still unclear what "not all of them" is referring to.
12:54
my advice: give up on commata :P
@totallyhuman yeah lol now it's basically turned into a tarpit
...yes, yes you did
@ASCII-only mm if you really want to, you can cast to an int with i
@totallyhuman * and Perl
and newlines are no-ops
12:58
Can anyone help me with something. How can I activate mathjax in chat again? I found this but I have no idea how to use it
@Mr.Xcoder what browser are you using?
Safari
ooh idk much about safari, does safari have extensions?

« first day (2395 days earlier)      last day (2743 days later) »