« first day (3839 days earlier)      last day (997 days later) » 

8:04 AM
Hey guys, could any of you please take a look at my proposed challenge? https://codegolf.meta.stackexchange.com/a/23700/94346
Is it clear enough? Do you think is interesting?
 
8:15 AM
@Ausername I'm working on the wording in an edit because I think it's not that clear atm,
 
@pxeger Ok
 
@Ausername have you consider to allow just a string in output? I think it would be more accessible for low level languages
 
is there a way to make the key alive in microsoft keyboard layout creator?
oh nvm got it
 
@golden_bat that doesn't really work for higher dimensional arrays though
@Ausername what about empty input?
I'd suggest saying the program is expected not to handle an empty list
 
8:38 AM
@pxeger Of course, I've said that bc I don't think that display the answer as an array adds anything to this challenge. How can you produce the correct (string) output without have treated it as an array with the given dimension? It's a bit redundant
 
@pxeger Oh yep
 
In the same way, nobody would take advantage of this type of output in a language capable of handling arrays. It doesn't give you more possibility
 
@pxeger Thanks for that
@golden_bat I understand your point, but I don't understand how to implement it for ≥3 dimensions.
Anyway, now that pxeger's fixed it, good to post?
 
@Ausername yeah probably, go ahead
 
8:50 AM
@PyGamer0 I got you hooked on MSKLC?
 
@Ausername what is the problem for ≥3 dimensions?
 
@Adám wdym?
 
You can express a 2d array like
1111
1001
1001
1111
 
@PyGamer0 Didn't you start playing with MSKLC after you saw my keyboard?
 
but how do you express a 3d one?
 
8:51 AM
i have 2 slots left for random chars
@Adám yes
 
@Ausername Like this:
1111
1001
1001
1111

1111
1001
1001
1111
 
4d then?
 
1111
1001
1001
1111

1111
1001
1001
1111


1111
1001
1001
1111

1111
1001
1001
1111
 
78d then?
 
Increase the amount of newlines for every dimension added
 
8:52 AM
I guess...
 
78D would add a lot of newlines but it still works unambiguously
 
Nono I think that just a string would suffice.
[4,4,4] => 1111111111111111111110011001111111111001100111111111111111111111
 
Aha big brain
 
You can't misinterpret it? Or can you?
 
oh so like already flattened
 
8:54 AM
If there's a bijection you can do it
 
Since the dimensions are specified already
 
yeah I'd say that would be fine
 
 
@golden_bat @pxeger Thanks!
 
@pxeger yes flattened! ahah I miss the term
@Ausername :D
 
8:55 AM
Actually, ravelled might be a more precise term.
@golden_bat Try it online!
 
@Ausername Now you can also do the reverse challenge! ;D
 
I'll leave that a couple of days, but sure!
@pxeger Why did you add 'consistent values other than 0 and 1'?
What's wrong with those?
 
@Ausername because 0 and 1 are the ones already used in the post
oh I see
 
@Ausername Almost a duplicate.
 
True
@pxeger Is it ok if I remove that?
 
8:59 AM
@Adám of what?
@Ausername I didn't mean "you can't use 0 or 1", I meant "they don't necessarily have to be 0 and 1 even thought they're the ones I used in the post"
 
@Adám what with that try it online?
 
i got my keyboard running f ← {⍵+⍺}
 
@golden_bat Just saying that some languages support that notation.
 
@PyGamer0 For one of your keyboard chars , .
 
21
Q: Wrap a seasonal present

AdámTask Given a wrapper element and a non-jagged 3D array, wrap the array top, bottom, and all-around. You must handle both character and numeric data, but the wrapper and the present will have the same data type. Character example For character data, you may chose to handle either 3D arrays of sin...

It is close to a generalisation of mine.
 
9:02 AM
This is a lot simpler tho
Btw how is your solution for that 12 bytes? I count 15.
@EnderShadow8 Long time no see!
 
@Ausername The last one is 12
 
Oh
I didn't see that
 
@Ausername I've got a 10-byter APL solution to yours.
 
argh śśit should be ⍉
 
@Adám Ok
 
9:06 AM
when i press altgr + s it becomes ś not ⍉
 
Well, what did you define it as?
 
@Adám it works in Test Keyboard Layout...
 
Strange.
 
0
Q: Build me a room

A usernameRelated A room, in the context of this challenge, is a multidimensional array where the elements on the "outside" are 1, to represent the walls, and all the other elements are 0 (empty space inside the room) Here's a 1D room with size 5: [1,0,0,0,1] And here's a 2D room with size 6x4: [[1,1,1,1]...

 
Go answer, go play!
Hm, Lynn used to be called Mauris.
 
9:14 AM
@Adám your layout works though
⌈⌈⌈⌈
also do you have some image of the keys in your layout?
it took my 3 minutes to that
 
Oh I see
not even a textarea
import sus
 
@Ausername why the ping
 
> Customer shall not [...] use the Software in a manner that violates this Agreement
I just read this in a licence agreement:
does this infinite recursion make the whole licence null and void? lol
 
@EnderShadow8 Saying hi?
 
@pxeger yes it should
 
9:22 AM
ok then
I barely use TNB anymore
 
Your rep is perfect
 
@PyGamer0 There's code in the repo to generate it.
 
Two more upvotes please....
 
?
 
10991 + 20 = ...
 
9:27 AM
@PyGamer0 Which layout do you use? US? UK?
 
@Adám did you get the list of lb mappings for Vyxal? Link just in case you missed it the other day
 
@Adám US works fine for me
 
@lyxal I did, but I've been busy with the competition and my upcoming webinar.
@PyGamer0 This:
┌────┬────┬────┬────┬────┬────┬────┬────┬────┬────┬────┬────┬────┬─────────┐
│~ ⌺ │! ⌶ │@ ⍫ │# ⍒ │$ ⍋ │% ⌽ │^ ⍉ │& ⊖ │* ⍟ │( ⍱ │) ⍲ │_ ! │+ ⌹ │Backspace│
│` ⋄ │1 ¨ │2 ¯ │3 < │4 ≤ │5 = │6 ≥ │7 > │8 ≠ │9 ∨ │0 ∧ │- × │= ÷ │         │
├────┴──┬─┴──┬─┴──┬─┴──┬─┴──┬─┴──┬─┴──┬─┴──┬─┴──┬─┴──┬─┴──┬─┴──┬─┴──┬──────┤
│Tab    │Q ⍰ │W ^@│E ⍷ │R ¨@│T ⍨ │Y ~@│U _@│I ⍸ │O ⍥ │P ⍣ │{ ⍞ │} ⍬ │| ⊣   │
│       │q ? │w ⍵ │e ∊ │r ⍴ │t ~ │y ↑ │u ↓ │i ⍳ │o ○ │p * │[ ← │] → │\ ⊢   │
├───────┴┬───┴┬───┴┬───┴┬───┴┬───┴┬───┴┬───┴┬───┴┬───┴┬───┴┬───┴┬───┴──────┤
 
@Adám oh, sorry about the ping then. I just wanted to confirm that you did see it.
 
Oh wait...
My rep won't be perfect for another 11 upvotes
I use accepts to get my rep right
So at one point I managed to get 6969
And now I'm aiming for 11111
 
9:34 AM
Why have 7 people bookmarked this? What do people even use bookmarks for? codegolf.stackexchange.com/questions/229375/decode-usb-packets
 
No clue
 
10:02 AM
@pxeger uuhhh they want to know how to decode usb packets?
also oedit now has a copy feature
you can copy text
open to suggestions for oedit
 
@PyGamer0 permalink
@PyGamer0 DejaVu Sans Mono
 
@Adám so for the monospace font?
 
Yes.
@PyGamer0 Get rid of the "stdout.deselect is not a function" error.
 
@Adám done
@Adám ^
oh yes, report issues
 
@PyGamer0 Do you know about dzaima.github.io/paste?
 
10:15 AM
@Adám no
 
CMP: Are there any users which have positive scores in all tags? If not, which user has the most tags?
 
m90
No: two of the most infrequent tags have no users in common -- codegolf.stackexchange.com/tags/klein/topusers, codegolf.stackexchange.com/tags/prelude/topusers
 
11:00 AM
Hm. #2?
Way to go...
" I didn't want to use built in functions for an array because in JavaScript that would be too easy"
I almost feel sorry for the people on CR.
 
why feel bad?
it's got people who wanna learn and people who wanna teach
good community
 
11:30 AM
CMC: score an Oh Hell! round. Given a list of pairs (g, r), for each pair, output 10 + r if g == r and otherwise -abs(g - r)
 
11:41 AM
@pxeger Vyxal, 10 bytes: ƛ≈[t₀+|÷εN
 
@pxeger uuhh how do i solve that, ok my brain is hurt in
 
@pxeger Japt -m, 10 bytes, ra n ªUÎ+A
 
@pxeger APL, 9: ≠⊃+,∘-∘|- Try it online!
 
m90
@pxeger Python 3, 39 bytes: lambda l:[-abs(a-b)or b+10for a,b in l] -- Try it online!
 
@m90 nice, I was about to post the exact same lol
 
12:04 PM
@pxeger or 8 bytes if we can assume (g,r) is sorted in ascending order.
 
12:53 PM
@Shaggy I don't know Japt, but is there a 1-byte way to sort (g, r) to get 9 bytes?
 
@pxeger I use bookmarks on meta to have a quick link to the post (profile -> favourites), don't know why anyone would have favourites on main, especially when following a post exists
@pxeger Can we take input as two lists, one of r and one of g?
 
@cairdcoinheringaahing yeah that's ok
 
@pxeger Jelly, 9 bytes: +⁵$ạN¥=?"
@Adám How does that do 10 + r?
 
@cairdcoinheringaahing Oops, I misread.
 
@cairdcoinheringaahing what's the footer doing? It doesn't seem to work without it
 
1:09 PM
@pxeger I'm on mobile, so I couldn't be bothered to retype out the lists as two inputs. Essentially, U reverses each, Z transposes so we have a lists of lists [r, g]. We then reduce this list by the actual code
If you change it so that it has 2 arguments, the first being the r list and the second being the g list, you can remove the footer
 
ah yes I see
 
is there a lisp implementation in python?
 
uuuh idgt
 
1:16 PM
@pxeger Correction, 12: =⊃-ö|ö-,10+⊢ Try it online! (CC: @cairdcoinheringaahing)
 
@xnor was rudely omitted from today's xkcd:
 
@pxeger What I don't get is why he calls XAND a "GORT". It is a normal gate.
 
@Adám apparently it's an unusual alternative for what is normally called xnor
 
Indeed.
 
@pxeger Noooo.....
ANDORX GANT lol
 
1:22 PM
Wonder what NORX does. I guess it outputs the signal and its negation.
 
NORXONDOR GORGONAX looks like a clock
 
It confuses the gate symbol's outline with wiring.
 
looks a bit like a half bridge rectifier
 
The symbol for XAND (GORT) actually makes a bit of sense. I'd be the negation of XOR, which is XNOR, which is in fact what XAND is.
 
@Adám except it's a triangle instead of a NOR-shaped thing
 
1:26 PM
NORG negates its inputs then treats them as if fed to XOR but then gives the output of AND, and negates that.
 
@pxeger Yup, that was the version in the message just before that.
... which didn't post, for some reason.
 
oh haha
 
So: Japt -m, 9 bytes: ÍrÍͪUÎ+A.
 
1:59 PM
0
Q: Use python turtle to draw out individual pixels in an image, eventually leading to a full image

LordimassYou can get the RGB value of pixels by using the Python Imaging Library (PIL), use this tool to pull all of the values of the pixels and put them on the Turtle canvas in the right place, you could do this in an ordered way, or pick random pixels to do to make the image fade into existence. I did ...

 
^ requires winning criterion
right?
 
Yes, and a lot of details
I'd do the welcome comment, but I'm on mobile :(
 
@cairdcoinheringaahing let's let hn do it this time lol
 
2:14 PM
@pxeger I think I need to create a sock puppet who just posts those comments whenever a user with 1 or 101 rep posts a question :P
 
ooh, nice
 
@hyper-neutrino Not that it affects you :P
 
hey CGCC isn't the only site I have close vote privileges on :p
not that I tend to cast many reoepn votes on SO
specifically, i have cast 23 close votes and 1 reopen vote
 
We should close SO as a duplicate of itself
 
And now you have the option to retract that one vote :P
 
2:27 PM
well the post has since been reopened so alas i cannot undo the sole reopen vote i've cast
unfortunately i don't quite have enough rep on MSE yet :p
 
I'm 91 flags away from it on MSE :P
 
I wonder what the computational class of creating class schedules given course requests from each student and a list of courses each teacher can teach is
 
(In actuality, I prefer to not have massive amounts of MSE rep, and am using 3k as a ceiling to award bounties to FRs when I get close to it)
 
i don't really care much about my MSE rep and every time i've wanted to bounty something the question already had a bounty on it by the time i saw it
and then i usually just forget by the time the boutny is actually awarded
 
@RedwolfPrograms At least O(n) :P
 
2:32 PM
> Moreover, the alphabet of wenyan contains only traditional Chinese characters and 「」 quotes, so it is guaranteed to be readable by ancient Chinese people.
My number one concern when golfing :p
 
@RedwolfPrograms That hello world example doesn't even print Hello, World! smh :P
 
the sieve example is technically correct but nobody says 一十一 or 一十三, etc
 
Would it just be 十一?
 
2:38 PM
yeah
 
I came up with a cool idea for a rock-paper-scissors like game for a KotH, but it'd need to be a smaller part of a KotH focused on something else to be interesting
You have three options: attack, shield, and farm. Attacking will damage the other player, unless they shield that turn. Farming gives you one gold, which you need in order to attack.
So you ideally want to attack when the other player farms, farm when they shield, and shield when they attack
 
sounds a lot like snowball KoTH
 
Huh, it's identical
 
the slight difference is that snowballs insta-kill and throw+throw is a tie because they cancel out
 
Idea for a koth: it's just a Minecraft pvp server :P
Do CMs automatically have accounts on every single site, or can they choose which ones?
From some quick "sleuthing", it looks like all the CMs have accounts on every site tho
 
2:58 PM
Slate has 177 communities and Catija has 176
 
How did you count them?
 
it lists it on their profile
 
like if you go to a site profile, the left side list of communities includes a count
 
I was looking at the network profiles ಠ_ಠ
 
3:00 PM
i also doubt catija hid any profiles and if so, doubt she'd hide exactly one
 
Are there any sites in private beta atm that Slate might be a member of (and that private beta doesn't start an account for CMs idk)?
 
in Vyxal, 29 secs ago, by Aaron Miller
Transpile it to Jelly
 
God that'd be painful :P
 
@RedwolfPrograms Probably NP
 
@RedwolfPrograms O(1), if you just do it really badly
 
3:08 PM
Which as we all know* is P
*: Knowledge may not be entirely proven :P
 
lmao
@cairdcoinheringaahing May I ask why?
 
@RedwolfPrograms ...and which courses have which sessions, and which sessions can be taught in which rooms, and which teachers can teach on which days, and which teachers can teach which sessions, and which teachers can teach in which rooms, and which students can use which rooms...
 
@user I mainly use MSE as a method of communication with SE, and I've found that bounties are a good way of doing that. I don't really care what happens with the rep, as anything I want to do/get done on MSE (edits, closing, whatever) I can either do myself and have it approved, or flag for it to be done, and staying below 3k means that I can flag spam/VLQ to be closed and get it marked as helpful when it gets closed/deleted
So long as I have 15 rep on MSE, I'm happy
 
i think you can still flag for closure even with 3k rep :p though if you keep flagging instead of just voting someone might question why
not sure though, haven't actually tried
 
Yeah you can, but it's quicker and easier to just VTC
 
3:23 PM
what annoys me most of all is not being able to flag without being logged in, specifically when already logged in on the network but when using a site where you don't have an account
 
That and editing is why I have accounts on like 30 sites where I've joined just to edit or flag
 
I quite often see what I know are terrible answers to HNQs even without knowing the site, but can't flag them because I don't have an account (and I can't be bothered to connect mine)
@cairdcoinheringaahing but that's almost the weirdest thing - you can edit while not logged in! (it has to be peer-reviewed of course, just like if you don't have enough rep)
 
@cairdcoinheringaahing I was asking about the 3k, not the bounties. Why not get the ability to cast close votes? Aren't flags less effective?
 
@pxeger Flags are only handled by mods tho, edits are community handled. If someone decided to create a bunch of bots that raised flags, it'd overwhelm the mods pretty quickly. Edits have to be 6 characters or more, and have a summary, by anon users (so harder to bot farm) and even then, each user with 2k or more rep can reject 20 spam edits in a day
 
also if you raise 6 spam flags it automatically validates and cleaning that up would probably be rather annoying
whereas you can't create random bots to abuse suggested editing
 
3:28 PM
so I'm suggesting to have a semi-logged in mode, for if you're logged in somewhere on the network but you don't have an account on the specific site
and then you can flag
 
@user I kind of started out flagging just to get Marshal, then I realised that I prefer a slightly less binding way of saying "This should be closed" when I'm on MSE, because I'm less confident in my knowledge of the site and it's culture. Plus, flagging as a dupe still posts this "Does this answer your question?" comment, without actually making it 1/5 of the way to being closed
 
i want 3k rep so i can close vote myself because most of the questions i flag for closure are really obvious :p
 
Here, I'm much more cavalier with VTCing because I'm much more familiar with what is and isn't ok here. MSE is a bit of a weird place in my experience
CMP: How many VTCs have you cast here (and, if you have it, your next highest site with 3k rep)?
642 here, and 5 on M&TV :P
 
254 here, and 23 on SO
 
This is my only 3k+ site lol
 
3:33 PM
don't think i can find how many close votes i cast on my deleted account but i doubt it was a significant number
 
165 VTCs here
 
@cairdcoinheringaahing That flag (raised on Jul 28th) is still pending, wow
 
@cairdcoinheringaahing we've had flags for a several months but there are probably sites that have had flags stick around for longer
and also i don't know where to find this information anyway
 
@cairdcoinheringaahing Ah, makes sense
 
@hyper-neutrino Hack the SE flag database :P
2
 
3:38 PM
@cairdcoinheringaahing 64 here, 100 on SO
 
lol
even here, i am not sure how to look at that data; i can check the flag history but doing that for every post is slightly impractical
 
Is there a complete log of all flags raised anywhere in the mod tools?
 
not that I know of
 
4:24 PM
@cairdcoinheringaahing 294 here, only. 73 on SO
 
 
2 hours later…
6:11 PM
Anyone want to guess what percentage of answers on CGCC follow the format Language, x (bytes|chars|characters)??
 
That's very close, 76.69%
 
darn, ninja'd
i just took the percentage of questions tagged code-golf and reduced it a bit
 
6:12 PM
@hyper-neutrino Imagine getting the answer wrong after it got revealed :P
 
@hyper-neutrino Oh, well only counting answers that were to code golf questions
I filtered out tips and polyglots and non-code-golf
 
I'm guessing it's closer to 65% of all answers
 
oh
well that's somewhat awkward then, guess 80% being close was just a coincidence
 
Oh, y'all were more accurate than I thought, I forgot to count chars so it's actually closer to 77.5%
 
honestly a surprisingly low number
 
6:16 PM
@RedwolfPrograms Is that only searching <h1> headers?
 
No, anything in the first line
Wait, I'm not filtering out stuff in <s> tags correctly, lemme fix that
Oh, it's because <strike> exists
Apparently there's del too >:|
 
6:53 PM
> This question has been edited 3 times since closure.
That's new, right?
 
Goddamn ninja :/
I'm guessing it's the first wave of this
 
7:26 PM
@cairdcoinheringaahing Are Hatred and Mixology supposed to be in your language list?
 
@rak1507 Blame old answers
 
7:41 PM
@AaronMiller No, they're still in dev
I should probably do some dev on them tbh
 
So you're saying I shouldn't self-inflict Hatred yet? :p
 
It's not even released yet, so good luck hating yourself :P
 
How does one push 100 in Deorst? From looking at the wiki, it looks like it's supposed to be 'E ', but that just errors.
 
7:50 PM
@AaronMiller Yeah, that's definitely borken :?
 
Bro what kind of keyboard do you have where Shift + ` is ¬?
 
ah i forgot you're in the UK
 
There are two major English language computer keyboard layouts, the United States layout and the United Kingdom layout defined in BS 4822 (48-key version). Both are QWERTY layouts. Users in the United States do not frequently need to make use of the £ (pound) and € (euro) currency symbols, which are common needs in the United Kingdom and Ireland, although the $ (dollar sign) symbol is also provided as standard on UK and Irish keyboards. In other countries which predominantly use English as a common working language, such as Australia, Canada (English speaking parts), Pakistan, India, and New Zealand...
@AaronMiller Try it online!
No idea why that works
 
y not?
 
7:57 PM
    'l':lambda i,s: s.push(-i),
That's what l does
 
I have no idea why that turns 64 into 100 ¯\_(ツ)_/¯
 
because hexadecimal
0x64 = 100
 

« first day (3839 days earlier)      last day (997 days later) »