« first day (5099 days earlier)      last day (39 days later) » 

01:14
@Adám except for scalars
0
Q: Is the number sum of 3 squares?

Shieru AsakotoChallenge Write a program (function) that given a nonnegative integer input, output whether the number can be represented as the sum of 3 square numbers. That is, the program should, given nonnegative integer input \$N\$, determine whether \$N=a^2+b^2+c^2\$ where \$a,b,c\$ are all nonnegative int...

 
2 hours later…
02:56
**CMC** Find x that fact1 and fact2 return different value due to imperfect floating
function fact1(x) { return x<1?1:fact1(x-1)*x; }
function fact2(x) { var s=1; while(x>1) s*=x--; return s; }
just 100 works
@emanresuA about your golfing suggestion, I think you should post that as your own answer because it's pretty different to what I would have thought to do. It's your 6 bytes, not mine :p
I tend to avoid posting this sort of brute-force FGITW answer - feel free to take it yourself :p
(the [1, n] at the start needs to change to a [0, n])
 
3 hours later…
05:38
@RubenVerg Right, but argument is restricted to rank 3 in this case.
 
2 hours later…
08:02
Any language designed written one hand on keyboard one hand on mouse?
SpaceChem, Opus Magnum
08:32
0
Q: Ranking of binary trees

Sophia AntipolisLet N = [0,1,2,...n-1] be the initial segment of the natural numbers of length n, then all permutations of N can be sorted lexicographically, starting with the identity. The index into this sorted array is known as the rank of the permutation. For example, the permutations for n = 3 can be seen i...

 
2 hours later…
10:12
help i'm blanking on a term
in bash and relateds, you can use the output of a command and have it be output to temporary file descriptor, such that commands that only operate on files given to them as args can be piped to, what is this called?
10:27
In computing, process substitution is a form of inter-process communication that allows the input or output of a command to appear as a file. The command is substituted in-line, where a file name would normally occur, by the command shell. This allows programs that normally only accept files to directly read from or write to another program. == History == Process substitution was available as a compile-time option for ksh88, the 1988 version of the KornShell from Bell Labs. The rc shell provides the feature as "pipeline branching" in Version 10 Unix, released in 1990. The Bash shell provi...
that's it thanks
Don't thank me, thank… the internet‽
i know who i won't thank
microsoft, for not putting it in powershell
(my goals are beyond anyone's - including myself- understanding)
11:07
I once again find myself with two tabs of TNB open
I thought I'd gotten past this
but alas, (or to some, whatever the opposite of alas is), I find the allure of this room compelling me to have it open multiple times once more
my way of fixing this is having TNB on a pinned tab, so if i see a full-width TNB tab i know it's an extra
Those are rookie numbers, I have 14 tabs of TNB open (I am actually every person in this room)
 
2 hours later…
att
att
13:07
that won't work, my full length tabs are narrower than my pinned tabs
i genuinely don't understand opening that many tabs
I open that many tabs sometimes but every now and then I go on a killing spree and close most of them
when i was like 13, i remember seeing ads for google chrome (like IRL ads) that were saying stuff like "baking a cake? 1 hours, 36 tabs and no slowdowns later, Lisa made it with the help of Google® Chrome™" and like, why was she opening 36 tabs for a cake recipe
25 wikipedia tabs for the chemistry of various ingredients and tangents thereupon
13:16
the main point was that chrome could suspend tabs and have many tabs "open" but leave ram free in a time where 4 Gb was a lot of ram, so maybe it's just that i grew up with computers that would grind to a halt if you dared open 3 internet explorer tabs, but i just don't need that many tabs
I remember when I needed to always close my browser to be able to run games at a reasonable fps
att
att
ok tbf i don't usually open that many tabs in a single window
i remember using tools that would kill and then restore explorer.exe while games were running because i was so strapped for ram
13:37
@mousetail'he-him' I still need to do that at times :p
14:18
I remember when web pages were so light that I could have hundreds of tabs open
I mean, some still are
my website has almost no JS on most pages
Enough CSS or large images can make a page slow with no JS needed
don't got those either :p
14:44
You are putting big oil out of business with your efficiency, you should be ashamed of yourself
14:57
Question for anyone who has read at least the homepage of iogii (golfscript.com/iogii). Do you know what the world "iogii" means/refers to?
Apologies for the self serving question, but I suspect no one will know and wonder if I should make it more obvious
15:13
@DarrenSmith ^
oh nevermind
are you not the creator of golfscript?
nevermind again, you're testing us
sorry i'm a bit slow
well testing myself really, I think it is too difficult to get since there is no hint
no idea tbh, then again it took me an embarassingly long time to figure out previous, so maybe i'm not really the perso nfor the job
the only thing the name evokes is "Uiua" but i don't see an easy mapping between the 2 names
unless you mean literally en.wikipedia.org/wiki/Yogi but that sounds a bit obvious
Alright thanks! I think the hint is way too subtle, was hoping it would be like an easter egg, but I think it's one no one would ever notice lol
15:33
i really like the trees in the interpreter btw
Thanks they were fun to make, couldn't get boxes around functions like I wanted though with that library
good news! i don't know hwo you wanted them so i just think they look neat :D
16:09
0
A: "Hello, World!"

madeforlosersHatchback, 145 bytes 0 0 72 13 0 0 0 101 13 0 0 1 108 13 1 13 1 0 2 111 13 2 0 0 44 13 0 0 0 32 13 0 0 0 87 13 0 13 2 0 0 114 13 0 13 1 0 0 100 13 0 0 0 33 13 0 65535 this is a very boring way of doing it, it's just printing every char one by one.

@mousetail'he-him' weirdly this has actually never been a thing for me unless my computer's been on for, like, way too many consecutive days without a reboot
and then closing browsers barely even help at that point
@DarrenSmith Yeah, "yogi" is all I could guess too
16:27
@DarrenSmith makes me think of Io, the moon of Jupiter
@Themoonisacheese same lol
17:15
Ah thanks how do you make spoiler text here?
17:27
[spoiler](https://youtu.be/dQw4w9WgXcQ "spoiler text goes here")
att
att
17:55
it evokes ioccc to me
18:22
Thanks, those are cool meanings too I guess
19:03
Hello everyone! I recently posted a sandbox challenge about a paint-like application working on a terminal. I originally wanted to have a bonus command involving a bucket-like tool in order to add recursions, but I wanted to make a challenge that can be done using programming languages with limited functionalities.
For now, I changed the challenge from code-golf to code-challenge, and @Ginger suggested to remove the feature altogether. It's been two days since my reply explaining why I wanted this feature, and I'm not sure about what to do here. If you have any idea, please let me know.
0
A: Sandbox for Proposed Challenges

Weird GlyphsTerminal Paint Note: This is my first attempt at writing a challenge. I thought that it was a good idea, but the complexity of it became overwhelming. Please tell me if you see any mistake or if you have any question concerning this challenge. code-challengeascii-artgrid Write a full program that...

19:35
CMQ compute all sequences of 5 integers that are an increasing sequence followed by a decreasing sequence. No consecutive integers should be the same and a single integer is both increasing and decreasing . The integers should be between 3 and 8, inclusive.
 
2 hours later…
21:26
My chem lab prof just skipped hot to go when it came on
automatic grudge
wait wttbp just came on
I take it back
22:05
this suggested edit seems to do nothing???
heart draw coding python i dont know Someone accidentally into a queue and clicked edit by mistake
@DarrenSmith oh
That's actually clever
Wouldn't have thought that one at all
@DarrenSmith am I weird for thinking of "pierogi"
codegolf.meta.stackexchange.com/questions/2140/… Does this seem ok? Do I need to add anything?
Ohhh I just figured it out. Clever
22:30
@AlephSquirrel Looks good! you might want to add a testcase for (( / ))
probably could add at least one more tag. probably [string] I guess
0
Q: Interpret a SqueezeL string

AlephSquirrelInterpret a SqueezeL string SqueezeL is a golfing language I'm developing. Its main distinguishing feature is its 40 character code page, which led me to create a semi-complicated encoding method for string literals, which I think could be an interesting code golf challenge. Input Any string cons...

22:49
I've also added
22:59
@WeirdGlyphs I was going to suggest maybe making the flood-fill its own challenge, but it already exists: codegolf.stackexchange.com/questions/83808/flood-fill-a-2d-grid
Ok how tf do regexes groups that match themselves work? And why only sometimes?
What are you trying to do?
Here I was thinking I knew regex
ofc it's from deadcode :p
23:04
(\3xx|^x) means "the group itself or x (at the start). As I understand groups, it would take the first match which would always be just x making this equivolent to (x|xxx) but the behavior is different. Seems the * is able to modify the group after it has been referenced somehow
one does not simply understand deadcode's regex answers
they regex on a whole different level to us mortals
But it's super inconsistent, (\3xx|^) for example never matches anything
It seems the group has to be non-empty for this behavior to work?
I wish the regex101 debugger actually showed what value it thinks each group has during the parsing
(Or does it even have a concrete value?, the value of a group might be a more nebulous concept than an actual string)
Oh, Group is the LAST matched group, not the first.
So (\1\1|^x) would match any power of 2 - 1
^(\1\1|^x)*x$ is thus any power of 2
(.(?!\1))* matches any sequence of non-repeated characters
23:24
@ATaco what's wrong with this?
@Adám It doesn't let me advertise :P
fair
Now All I need is a lefthanded language
lefhanded language?
does that include languages made by someone lefthanded?
23:38
As to be typed entirely with the left hand, rather than the right
> yuiop is a programming language for right-handed developers.
smh discrimination as usual
Given only 10% of the population is left-handed, I have to assume any langauge written is statistically going to be written by a righty, and thus all langauges are written by rightys. It's simlpe maths
counter-argument: Vyxal
Y and L are right hand keys, the evidence is mounting
Everything is a left hand key if you're brave enough
23:40
Everything is a left hand key if you can't be bothered taking your hand off the mouse
@ATaco well I suppose that's a result of cross-dominance
fitting :p

« first day (5099 days earlier)      last day (39 days later) »