« first day (2837 days earlier)      last day (2303 days later) » 

01:01
Oh yeah, it's that time of year.
0
Q: Print the Lost numbers

Eduardo HoefelAs a big fan of the Lost TV series, I always got intrigued by the sequence of numbers that repetitively appears on the episodes. These numbers are: \$ 4, 8, 15, 16, 23, 42\$ (A104101) Using any programming language, write a code that outputs these numbers. Scoring: Shortest answer wins The o...

 
2 hours later…
Anonymous
02:53
@flawr I wrote a 58-byte solution. I bet it can be optimized.
05:12
0
Q: It seems the consensus on Scratch is to use scratchblocks2 syntax, but what about "when green flag clicked"?

Silas ReelIn many code-golf Scratch submissions, I see when green flag clicked used, when when gf clicked is also valid in scratchblocks2. Is there a reason for this, or is it just because people submit raw conversions?

 
3 hours later…
08:21
0
A: Sandbox for Proposed Challenges

Vedant KandoiWorded Calculator I saw a similar challenge somewhere but I can't find it anymore. Task Write a program that takes a string as input and outputs the result of the expression. Rules The input string will be worded and not numeral. There will be no parentheses. Order of calculation will be d...

08:52
@Mego I haven't even finished writing the challenge!!! :)
 
7 hours later…
15:41
1
Q: Determine the Widest Valley

BMOImagine we get a slice of some mountainous region, this would result in a shape similar to this: 4 _ 3 _ _ __/ \ 2 / \__/ \ _/ \_ / 1 / \ / \_/ 0 \/ 12322223210012233343221112 As we can see, we can represent this (to a certain ...

16:05
smh Fedora 29 hit and still refuses to run Wayland on my laptop
I'm sure my gpu is incompatible or something like that but I wish I got an error message somewhere explaining what's wrong
i7-3667U integrated graphics, in case anyone knows anything
kwin_wayland and weston run fine...
Ye I can launch like a sub-wayland and then go on to nest a bunch of kde desktops on top of each other but I'm not sure how to tell it to wayland on launch
17:03
what's the smallest weighted graph for which BFS gives an incorrect shortest path?
 
2 hours later…
19:30
CMC: Given an even number of input integers, add them together. However, when given an odd number of input integers, multiply them together. You're always guaranteed at least two inputs. Examples: 1 and 3, output 4. Input 2, 3, 4, output 24.
Yeah ok I'll just delete
@Quintec Your solution is was more general
@Adám Speaking of arrays of functions...
@Quintec Yes, you could. (But it would be longer.)
19:36
(I assumed as much)
Although isn't +/,×/ technically an array of functions?
ngn
ngn
@Adám remember the trick with rotate?
@ngn Ah, yes. ⊃≢⌽+/,×/
ngn
ngn
@Adám thumbs up
Oh wow that's cool
@AdmBorkBork ^^^
19:40
@Adám lol exactly
@Quintec No, it is a 3-train (a fork). Though in some ways, trains with , or or {⍺⍵} as even tines act like arrays of functions.
20:01
@flawr Thanks flawr. I've been away from chat for a few days and reached the same conclusion but took much longer...
20:31
@AdmBorkBork I have 38 bytes in PowerShell Try it online!
I'm not talking to myself. You're talking to myself.
20:48
Have we had a challenge where you walk through an input string, go "down" if the next letter is further in the alphabet, and go "up" if it's earlier? Like the following for input abcad it shows as
a
 b a
  c d
is that empty column necessary?
No, that's a typo.
hm, I guess not, but it's really 1) char codes 2) deltas 3) signs 4) cumsum 5) the rest
Yeah, not a difficult challenge, but I was going to use it as a basis for a different challenge.
@AdmBorkBork Remove unnecessary part by giving number list as input.
20:57
Not sure what you mean?
is it really necessary to use letters?
Oh, I see. Have it like 01212 instead
@AdmBorkBork Yeah.
or [0, 1, 2, 1, 2]
Or any reasonable input format.
@AdmBorkBork What if it is the same? Stay level?
20:59
Right. That might work better.
Yeah, same level would stay the same.
essentially represent the signs of the deltas as a line
@AdmBorkBork Does it actually matter what the line is made of?
No, not for my purposes
OK, that gives me some better direction to head with my challenge. Thanks!
@AdmBorkBork May we assume the first number is always 0/1 (up to answerer)?
Yeah, probably.
21:04
@AdmBorkBork How about returning a Boolean matrix then?
1 0 0 0 0
0 1 0 1 0
0 0 1 0 1
Hehe, that's an interesting take.
@AdmBorkBork In fact, 13 21 78 40 520 1 2 1 2 may be the very essence of the challenge.
Hmm, kinda. I don't want to give away too much before I post it.
Wait, which challenge are we discussing?
One I'm in process of drafting
21:08
Ah, I see.
100% on-topic — for once.
@Zacharý ĥe comes…
@Adám What?
4422
A: RegEx match open tags except XHTML self-contained tags

bobinceYou can't parse [X]HTML with regex. Because HTML can't be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not allow you to consume HTML. Regular expressions are a tool th...

@Adám Oh, sorry, I typed in the wrong tab for that "aĥ". Not supposed to be Zalgo.
21:10
@Zacharý I know. I was just making a computing related joke.
@dzaima SE Dark hides the charts on one's user profile.
@Adám you mean this? Cause it seems to be there for me
@dzaima No chat profile's appearance statistics.
@Adám ah this thing
21:21
@dzaima Yes, and also the big ones below the giant avatar in the main panel on the left.
@Adám fixed. Stylus should allow you to click a thing by the script to update it
@dzaima Yup, thanks.
21:49
@AdmBorkBork 6 bytes (jelly)
Or a funnier one, Lị⁾PSv
 
1 hour later…
23:24
wow, it's been over three years since i asked a question
maybe i should ask another one

« first day (2837 days earlier)      last day (2303 days later) »