« first day (3734 days earlier)      last day (1109 days later) » 

2:03 PM
@RedwolfPrograms The A programming language is a dialect of a programming language commonly referred to as the APL programming language.
 
The a programming language programming language :p
 
How dare you finish the election without me >:|
nevermind it's my fault for sleeping
 
Don't worry, we haven't been made ROs yet :P
 
yay there had better be a ceremony
 
How about 30 stars on a message? :P
 
2:09 PM
If we can get ten stars on a message here anymore I'll be surprised :/
 
or a chat event
@cairdcoinheringaahing wait did you just say we :P
 
@I'mgonnaregretthis Well, there were 4 winners
 
2:36 PM
I somehow broke Ash's addition operator yesterday and didn't even notice
I am smart
"nO YoUr nOt sMaRt yOuR ReDwOlF"
 
0
A: Sandbox for Proposed Challenges

RazetimePretty print my BQN Arrays ascii-art array Marshall Lochbaum's online BQN REPL has an interesting(and aesthetically pleasing) method of displaying arrays. Your task is to implement a version with simpler rules. [2,[3],4,[[[6,[5],7]]]] becomes: ┌─ · 2 ┌· 4 ┌· ...

 
@RedwolfPrograms hey smart, I'm Dad
@NewSandboxedPosts feedback on this please
 
@NewSandboxedPosts Needs more bacon puns :P
The format for taking strings as input may need to be specified
 
2:52 PM
err depends on the language
 
@user Thank you!
 
most probably json string or anything that can represent a nested array
it's prolly better to let the programmer decide
 
I'd suggest having a few set formats and/or guidelines so people don't abuse it
 
if someone abuses it they get downvoted to hell
 
Fair enough
 
3:00 PM
Do y'all like and for min and max?
 
those look nice
 
They also have proper spacing, which is nice
There's also and
Although I think I like the first two
 
How about « and » (not sure about spacing)
I like the first two too, they don't look ambiguous either
 
I considered them, but they could be confused with quotes and they're kinda ugly
 
Agree on the first, disagree on the second
 
3:04 PM
I'll go with the first two
 
@RedwolfPrograms Aren't they nor and nand?
 
you can use the apl tilde ones for those
 
Usually XOR and NOR I think, but I doubt they'll be that confusing
NOR isn't a particularly common operation in most golfing languages :p
 
NAND and NOR can be useful at times, but may be better as two bytes
 
@user Then you can just use NOT AND and NOT OR
 
3:08 PM
Oh right
 
@RedwolfPrograms Alternatives: and or maybe and with as average… and as mean.
 
3:42 PM
my cat apparently thinks it's a good idea to sit on my lap uninvited and repeatedly stab me in the stomach with her uncut nails
 
@I'mgonnaregretthis maybe it would appreciate something it can scratch instead?
 
@Adám Is A an APL programming language dialect?
 
@Neil Yes: apl.wiki/A
 
does APL acronym expand to APL programming language?
 
No :-( only to A Programming Language.
 
3:47 PM
a slightly unusual golf'ish question. I want to download a lot of text to make a list of words in python. I don't care what text I download. What is the shortest code to do that?
 
@Anush Like from a sample of text, extract the unique words?
 
@Anush requests.get().....
 
@RedwolfPrograms not the unique ones. Just the words . so "hello my friend" becomes ["hello", "my", friend"]
@Wasif thanks but where from?
 
I'd just use an existing dictionary
 
I want there to be some duplicates so normal english text would be best
 
3:50 PM
@Anush A bunch of long Wikipedia articles?
 
@Anush You can just split on newlines, then split on spaces
Google searches might be good to get text
 
@cairdcoinheringaahing that would be good. How do you get them easily?
 
You can download all of wikipedia but that might be overkill
(says the person who did it for no reason then lost the USB drive it was on)
 
@cairdcoinheringaahing won't that involve parsing html?
 
3:51 PM
Just copy and paste the plain text
 
I want the code to be as short as possible
@RedwolfPrograms I just want the code to do it
 
@Anush Yeah, but you can just use a preexisting library to do that
e.g. import html in Python
 
yeah I couldn't work out a way of writing "A APL programming language"
 
@cairdcoinheringaahing can you walk me through what it would be?
 
Beautifulsoup will be very easy
 
3:52 PM
this doesn't sound short
is there really no plain text out there?
 
You can probably find an existing corpus
 
@Anush Probably, but you'd have to go looking for it
Very few pages are entirely plain text. Even blog posts involve some formatting
 
Just use something from project gutenberg
Split it on non-word characters that aren't '
 
@RedwolfPrograms I am looking there now
 
3:54 PM
That's just a dictionary
 
This might be a good resource of words in plain text
 
@Wasif I really want plain English so there are duplicates
 
Looks like i have a 697kb article with plain english text
I would upload it to github or paste ubuntu if you need it
 
I just tried github.com/c-w/Gutenberg but sadly the demo code doesn't work
as in text = strip_headers(load_etext(2701)).strip() fails
 
3:58 PM
thanks!
if you tell me the gutenberg number I think I can get it now
the search facility seems to be down :(
 
I think you're overcomplicating this massively
Just google "project gutenberg <old book>" then download it and split it on spaces and punctuation
 
@RedwolfPrograms I am going to give the code to someone else . It's for students.
it is to test the hyperloglog algorithm
 
Why do you want it to be short then? Golfed code isn't exactly good example code for students
 
Then use requests.get or something on gutenberg.org/files/2701/2701-h/2701-h.htm
 
@cairdcoinheringaahing maybe his students won't see the code, that's why
 
4:06 PM
@RedwolfPrograms and then parse the html?
 
Just use regexp and get rid of the tags, maybe remove anything in tags other than <p> as well
Or use import html
 
You can here
 
@RedwolfPrograms The Python Way™
 
@Wasif This is very basic HTML, from a known source
You never use regex to parse unknown HTML
 
4:09 PM
Like how you can use eval if you know what the input will be, but not if it's unknown
 
@RedwolfPrograms still it is better to avoid, and if you or Anush like it you can try parsing with regex
 
Even if you think you know the HTML, you are bound to be surprised
 
I've done it before, although it was with systematically generated HTML from a markdown parser
 
I am always unhappy when I parse html
 
even that is too free-form
 
4:11 PM
But just use import html or beautifulsoup
 
it seems hard to fully automate
 
What do you need fully automated?
 
Does someone have an idea how to convert string to int when we cannot use a builtin or direct type casting?
 
@RedwolfPrograms because I will give the code to someone else
 
4:52 PM
sorry for the incoming spam - i'll deal with it in a bit
 
2 messages deleted
 
Don't get rid of the spam, it's nice to have a record of it
 
As a heavy Retina golfer, I'm glad to see that Pilcrow was a Pointless answer on today's show
 
4:54 PM
currently we have no RO :P
 
Ah the election has ended
And the previous ROs are sacrificed to great golfy god
 
@Wasif incorrect. xnor was never removed
 
@hyper-neutrino oh sorry
 
@RedwolfPrograms eh, sure, i'll keep it around lol
 
4:56 PM
Wow, wasn't expecting a purge of the old ROs :P
 
the starboard is now just completely gone though :P
 
Also, oooh, fancy italic names
 
If anyone wants to test out the RO tools (even if you aren't a mod/RO here), I can add you to this room
 
O-o
 
italicized name gang
@cairdcoinheringaahing two reasons - 1. to make it clear to a user who's trying to find an RO on the list who they can ping for help, 2. the other accounts have been inactive for so long there's a risk of them being compromised without the user noticing (though this is not that significant of an issue; nothing they could really do that i can't undo)
xnor is still around, and even though doorknob hasn't been in chat for like 200 days he's still a current mod so i'm keeping him on there
as long as most of them are contactable it's fine. if i didn't remove them we'd have 5 active ROs to 10 inactive ones lmao
 
5:12 PM
You kicked me so hard I lost wifi lol
3
 
@hyper-neutrino Sp3000 is typically active every few days or so
(not disagreeing with the decision, just mentioning)
 
@cairdcoinheringaahing oh really? huh. they can't be pinged here though and haven't sent a message in a really long time
also BTW if you look at their profiles all of them say last active within like 5 days or less, that's due to a mistake i made
i moved stuff out of this room and accidentally copied permissions over which apparently makes SE think they were last seen then?
that's the only reason i can think of why like 6 users have the exact same Last Seen despite having not sent a message in upwards of close to 1800 days
 
5:30 PM
I was thinking of other possible ways to approach my digit replacement challenge, since all solutions seem to bruteforce all 10^x possibilities. What if we went digit-wise instead from right to left maintaining the sums? I think that might be faster, maybe shorter too. Thoughts?
 
@Neil What was the question?
 
5
Q: Welcome The Nineteenth Byte's newest room owners!

hyper-neutrinoThe votes are in, and the following four members of our community have been elected as room owners of CGCC's main chat room, The Nineteenth Byte. They have been instated effective immediately. Please welcome them as our new room owners and join us in thanking them for volunteering. In the wor...

 
@NewMetaPosts Our flairs are kinda interesting. We all have CGCC and SO in our top 7, 3 of us have MM and CR and then Puzzling and Math are shared by 2 users each
 
The fact that our second communities are all different is definitely interesting
 
5:42 PM
None of them are even programming related lol
 
@RedwolfPrograms We all have exactly 3 programming communities :P
 
wait your second community is movies? huh
that's cool :p
 
Time to go eat soup with a spork o/
 
@hyper-neutrino Fun fact, despite having 10x the rep here, I only have one more gold badge :P
Got to love 6 Famous Question badges :P
 
wait i repcapped at 9am utc today??
suffering from success
 
6:13 PM
I just got a welcome message for the late answers queue....
Oh I guess they're new
 
I got one for first posts
 
At least it's dismissable
Just head to the review page and it shows one
 
Yep
Honeslty it's not a bad change imo
The queues are super confusing if you're a new user
 
It just restates the info in the access review queues privilege, with a little bit more detail
 
6:16 PM
lol, i am getting one, as a literal mod. this is funny
did smth change that i need to know about
 
Yeah, they're working on improving the review queues
 
Are you sure you know how to review late answers though? :p
 
So I suppose I support the change overall :P
 
hey guys
i just hit 500 rep are y'all proud of me
3
 
Hooray! Nice job!
Soon you'll be able to run for moderator
 
6:18 PM
Idk if I could imagine HN with a mod diamond. Would be super weird :P
> Additionally, new reviewers will also receive an email notification about the newly earned privilege. They will only get the email if they earn the privilege and don't perform a review within 24 hours
 
oh no
 
> We are also showing a popover to users who earned access to review queues in the past, but have never done a review or haven't reviewed in the last 30 days. This popover is only appearing for the next 90 days.
 
HN, have you been doing your reviews?
 
i think i actually have very few reviews done
i have 31 close vote reviews, 19 first posts, 3 late answers, 21 LQ, 17 reopen, and 21 suggested edits
:/
 
The wording in the MM post is unclear about whether the modal appears every time you enter the queue or not :/
 
6:21 PM
i often forget the review queues button in the top right even exists, lol. the list of flags draws my attention sooner
 
I really don't want to have to deal with a modal every time I review
 
@cairdcoinheringaahing link?
 
7
Q: New onboarding for review queues

Lisa ParkThe Public Platform team is continuing to work towards improving the review queues and we’re here today to announce a new onboarding experience for the review queues. In the product discovery phase, we learned that each queues’ instructions could be easily misinterpreted and additional informatio...

 
6:46 PM
@cairdcoinheringaahing Typographical symbols with bits missing. Apparently nobody could identify ¶ given P_L_R_W.
 
0
A: Sandbox for Proposed Challenges

caird coinheringaahingDid I die or not? Given a permutation of the alphabet and an intended "word", determine if the word was guessed in a game of Hangman, where the permutation is the list of guesses. For example, given ASTNORDYUVKFMCLWIHEBQGPJXZ as the permutation, and ASTRONAUT as the word, we know that the word as...

0
A: Sandbox for Proposed Challenges

UnderslashSum over an Interval Inspired by this challenge. The goal is to sum an interval of integers, both inclusive and exclusive, and output the total to stdout. Input regex: [\(\[]\d+,\d+[\)\]] Examples: Input -> Output [2,6] -> 20 (15,25] -> 205 [0,16) -> 120 (15,20) -> 70 [1,2) -> 1 (2,12] -> 75 [11...

 
oh, supporting both inclusive and half-exclusive? hm, this might not be a dupe then
though i don't know if the weird input format actually really adds anything other than cumbersome I/O
 
IMPORTANT NOTICE: If I like your sandbox proposals, please post them while I am awake.
 
7:12 PM
@hyper-neutrino It's closely related to this. I wrote up a Jelly answer for the Sandbox post and it's basically the stuff between the µ...) in my answer or Jonathan Allan's answer, but with a trailing S
 
oh. in that case yeah, i don't think it'll be unique enough, probably.
 
I'd vote as dupe, but not hammer it as dupe :/
 
lol. yeah that would be a nice feature :/
 
What type of trousers does Mario wear? Denim denim denim
 
i do not get the joke and i feel dumb :c :c
 
7:26 PM
Say it aloud
 
Still don't get it :/
 
still don't get it :c though idk if i just don't know the reference or if i'm just not seeing it but will understand when explained
 
This is the best clip I could find of the sound
 
oh well i recognize that sound but i don't see the connection :p
or rather, hear
 
¯\_(ツ)_/¯ "denim denim denim" sounds (to me) like the pipe descending noise
 
7:29 PM
@cairdcoinheringaahing the consensus is to close as unclear
 
Speaking of consensus, looks like my suggestion for the blog format is in the lead by a considerable margin
We should probably start deciding what the first post should look like
 
should i make a chat room for this?
 
Sounds like a good idea
I turned into Mr. Krabs for a moment there lol
 
@hyper-neutrino wait no you have to ask meta :P
 
@hyper-neutrino Currently doing that
 
7:32 PM
i've unfeatured the format question and moved the topic proposal to featured
 

 CGCC Blog Chat

For discussion around CGCC's site blog and for drafting the posts
5
 
7:59 PM
@RedwolfPrograms sup, new owner of the nineteenth byte
 

« first day (3734 days earlier)      last day (1109 days later) »