« first day (3597 days earlier)      last day (43 days later) » 

12:05 AM
Okay so I just found a weird bug with 05AB1E
You can raise numbers to the power of 1 but not 1.0
(1 z computes the reciprocal of 1, which is, well, 1. But it leaves it as a decimal)
Can you normally use decimals as powers in 05AB1E?
Huh, that's weird.
@Lyxal Even weirder is that it times out, rather than producing an error
12:10 AM
Maybe it checks if the power is 1, then it's not (bc it's a decimal) and tries to do some sort of loop for the root, but it's doing a 1th root over and over again?
i used to know elixir like a year ago so i'm going to try to dive into the source lol
@RedwolfPrograms but then why not just rely on the language's built-in functionality?
Oh, true. That's a really odd bug.
What, it doesn't have nth root builtin?
None I can see
I searched both info.txt and the wiki and got nothing
12:13 AM
this line should be the one firing and i can't imagine what the problem would be
Maybe it's just quirky and not like other exponents :p
that exponent appears to be fine in elixir
I just tried the same thing, weird
and i don't see how anything else could be happening in 05ab1e
Okay so am I doing something wrong then?
Is my program incorrect?
12:18 AM
Bug with z maybe?
No, because it works with other decimals
z may act differently for 1 than other inputs
For whatever reason
1.0 is not less than 1
so the problem would have to be in z
the reciprocal or the reciprocal of 2
So it doesn't like floating in the form x.0?
Some quick testing suggests so
That's definitely the pow function that is problematic
Then I should update the issue I raised
And apparently the pow was fixed in the recent commits
(one of the added testcase is assert evaluate("T1zm") == 10.0)
so we're just seeing TIO getting stale over time
12:41 AM
Wait, so it's not a bug anymore?
1:02 AM
Could I get a couple of comment upvotes on this so that it's visible without having to click "see more comments"?
1:39 AM
@cairdcoinheringaahing Surprise surprise, I failed very quickly :P
2:00 AM
@cairdcoinheringaahing it's ok we can do it next year
2:14 AM
@Razetime It'd be interesting to see what the longest run of 200 rep in a day is on the site
I'm guessing Dennis
Bash mystery. If you do bash -c "cat" <<<"hello world", it prints "hello world". The bash sub-process (I think) gets stdin from the here string, and then cat reads from that stdin. But if that's the case, why does bash -c "read x; echo $x" <<<"hello world" print nothing?
2:31 AM
@cairdcoinheringaahing maybe an SEDE query would work
2:45 AM
Just by diving into Dennis' rep history, 16 days is the longest run I could find, from 20/10/16 to 04/11/16 (Of note, Dennis was 58 rep away from making that 22 days)
As an aside, check out this month, Jan '17. Not quite 200 each day, but 100+ for a whole month
3:14 AM
Ugh, so you lose rep when mods delete a question you answers ಠ_ಠ
3:28 AM
i wonder if martin ender has a bigger streak
3:58 AM
Q: Language of the month for December 2020: Rust

K3v1nIn accordance with our meta agreement, since one candidate received more votes than the others, we have a new featured language! Throughout December 2020, our Language of the Month, nominated by myself (Technohacker, a.k.a K3v1n) will be: Rust What's a Language of the Month? See the meta post for...

4:14 AM
Can any mod unfeature last month's LotM and feature ^?
4:53 AM
Less than 10 minutes to AOC
It would suck if I was reading old challenges for an hour and didn't notice and got like 10,000th place
4:59 AM
I was first!
got it wong :(
Q: Make an ASCII table

Redwolf ProgramsWe're getting markdown tables! I assume this is what they look like: data data data data --------------------- | | | | | | | | Your task is to make a program or function to generate one of these tables. You'll be given ...

5:03 AM
fucked it up
is this just because of the empty lines
I counted the wrong things
256 for part 1
I counted the invalid passports
what am I doing wrong
it's still giving me 128
it was fucking cid
i am too fast for my own good
I do not like part 2
screw part 2
wow, part 2 is much harder than part 1, and the stats show it
I got 503 for part 1 and 86 for part 2
I didn't actually find it that hard
and I'm now second on the private leaderboard, behind only Doorknob
I can;t do #2
5:15 AM
why not?
I just can't figure out why it's not right
part 2 is a good question
lots of validation smh
@Lyxal got 219
391 :(
I choked so hard so many times
I swear I would have placed on star 2 if I hadn't fucking died on star 1
that is the most incredible red herring I have ever seen
> That's not the right answer. Curiously, it's the right answer for someone else;
I got that too lmao
turned out I did a slice backwards
5:22 AM
cid is just a useless field lol
It's part of the flavor
it's part of the flavor
Are they all inclusive?
yes, all ranges are inclusive,
I don't know why it won;t work :(
`input here`.split`

5:28 AM
You typo'd 3030 when you meant 2030
In the eyr validation
(I didn't test it, just looked at the code)
I still need to wait 4 minutes :(
That delay is cruel
very cruel
It serves a purpose.
5:29 AM
5 minutes though?
that's probably a bit long
What purpose, making me want to place my head in a fruit juicer? :p
It's only 5 minutes if you guess wrong 4 times
Well, at least I'll get top 2000
oh ffs. stupid idle covering the challenge specs
I missed an eye colour
@RedwolfPrograms For what it's worth, I tested the code you posted with my puzzle input, and it gave the right answer once the typo was fixed.
5:33 AM
FINALLY! Thank you so much :p
No, hold on, I screwed up
It worked, I got 1603rd
ugh 16 long seconds
Am I the only one here who did better in part 2 than part 1?
I am going to permanently remove the 3 key from my keyboard
5:36 AM
They really need to sandbox these for input formats
Crap, applying seven different functions to seven items in an array is nightmare in Factor
What's wrong with the input format?
It's majorly inconvienient
Split by double newlines, map [split by newlines, join with a space in between, split by spaces]
I guess it would have been nicer if either all fields were on one line or each field is on it's own line.
5:37 AM
At least it wasn't a major barrier to me
In my python solution, parsing the input was 25 lines of code (shared by both parts), part 1 was 10 lines, and part 2 was 20 lines
I just used a split and map, like 30 bytes overall to parse it into an array of key/value pairs
Interesting that I took a completely different approach than you.
My part 2 used assert statements to validate each condition,
(I seriously need to learn how to use regex in Factor)
5:41 AM
I'm surprised I only went down one spot on the CGCC leaderboard for taking 15+ minutes on part 2
because apparently lots of people have fumbled in part 2
If they're fumbling I'm running backwards and getting a touchdown for the other team (american football joke :p)
yeah the empty lines in the input were a big part of how i basically didn't do star 1
not as big as cid
but big nonetheless
What happened with cid?
I still used cid by counting each substring lol
5:49 AM
I just used a wackass set based approach
Well at least I did before I uploaded to github
sum([(x in r) for x in ["byr", "iyr", "eyr", "hgt", "hcl", "ecl", "pid"]]) in [7, 8]
and accounting for cid was just a matter of removing it from the set to check against
and i didn't just do something like that because I had the input split on lines because I use input instead of files
5 used lines for part 1 and 41 used lines for part 2
as in lines of code
5:51 AM
Were there keys other than the allowed ones that had to be filtered out? If not I wasted a lot of time on that.
i don't know
I may or may not have written an if-statement for each field
@RedwolfPrograms apparently not
finds table
bangs head against table
i wrote an if for each field on part 2 because i didn't realize how many of the fields were range checks that i could have factored out into a function lmao
At least Factor has a range check builtin, which is called between?
so I simply spammed it throughout part 2
5:54 AM
I wonder how many checks I did that were for conditions that were always true...
@UnrelatedString succ
it doesn't even mean successor
it means success
I know
i don't know either
Mine was Yes
With a capital y
5:55 AM
i already used v for value even though i didn't use v on star 1 anywyas
A capital Y I screwed myself over with by accidentally assigning false to lower case y
i am so bad about capitals in stuff i write for aoc
Protip: use lowercase
bad as in using them at all not as in getting them mixed up lol
No shift button saves time and less screwing up
5:56 AM
like i just turn a variable name all caps if it's, like, conceptually related
I was like "there's a lot of data here to convert into rules. I should have idle open along side the Web browser." accidentally covers half the page... misses one of the eye colours
Well done SE chat for mobile...good job posting my message twice when I just wanted to edit the first message
An hour in and there's still more people currently on #2 than have finished it
i didn't even try to have both visible at the same time because my trackpad is 6 years old and reaching down for my mouse to move a window is Too Hard:tm:
6:01 AM
@RedwolfPrograms it's fun to refresh the page and see people complete it in a kind of real-time
Even more fun is to do it a few thousand times per second on a hacked botnet and wait for the FBI to catch on
@RedwolfPrograms did you see the feedback I gave on the google survey you link to on your site?
You can generate one phrase at a time by pressing one of the five buttons
But I'll add mobile support
I need to update my website, it still has surveys from my friend's 6th grade student council campaign
6:36 AM
finally finished it
i messed up the inches checking lol
yeah that's where i got the sllce backwards
I checked 60-76 instead of 59-76
it was one off lmao
still finished it tho
7:15 AM
@cairdcoinheringaahing which question did they remove?
I don't know which one it was, but I've noticed a rep change for the worse as well
Nvm I found it
They deleted "choose the best ride"
Oof someone had a 19 vote post
(apparently you don't lose rep when the deleted post is sufficiently old, though idk how old is sufficiently old)
(many of them are heavily refactored before uploading)
7:41 AM
@Bubbler I'm interested in the unfactored ones
I don't keep them because they're messy
How are they refactored if they are already written in Factor? ;p
@Lyxal no osabie for part 4?
they're re-factored
they were in factor and now they're in factor again
when I go to the meta they tell me that I have to log into my account. I go but I am transferred to the main site. and so on in a circle. What to do?
7:54 AM
You don't appear to have an account on CG&CC
so that might be part of the issue
8:14 AM
@Razetime no, I don't write it fast enough for top 100
1/3 of all people who solved day4 part1 are failing to solve part2
did people just see all of those individual mini specs and give up
maybe some of them simply don't feel like solving a tedious problem, some of them went to sleep, etc
3 hours later…
11:02 AM
@Jonah you're echoing the outer shell's $x, not the inner one's
2 hours later…
12:36 PM
@Bubbler It's 2 months. You lose rep regardless of age if the score of the answer is less than 2.
1:20 PM
@Neil Of course! Thank you.
1:35 PM
Q: Generating Euler bricks

MichelI've been trying to do this exercise for my friend. However, I'm good with programming but not very good at math. Any one can help me doing it? (a) Write a function CuboidFaces(s,t) which accepts as input two pairs of positive numbers s and t and returns True if they represent the dimensions of t...

2 hours later…
3:39 PM
Interesting that participation in AOC has dropped by a steady 20k per day so far...I can't wait for December 7th when there are -20,000 participants :p
Q: Common, dudes! Common dudes, I say!

Wesley Atwiid𝙒𝙧𝙞𝙩𝙚 𝙖 𝙥𝙧𝙤𝙜𝙧𝙖𝙢 𝙩𝙝𝙖𝙩 𝙛𝙞𝙣𝙙𝙨 𝙩𝙝𝙞𝙨 𝙗𝙖𝙙 𝙠𝙚𝙮𝙬𝙤𝙧𝙙𝙨 𝙞𝙣 𝙦𝙪𝙚𝙨𝙩𝙞𝙤𝙣𝙨 𝙖𝙣𝙙 𝙩𝙝𝙧𝙚𝙬 𝙞𝙩 𝙞𝙣𝙩𝙤 𝙩𝙝𝙚 𝙩𝙧𝙖𝙨𝙝 𝙘𝙖𝙣 𝙗𝙚𝙘𝙖𝙪𝙨𝙚 𝙞𝙩 𝙞𝙨 𝙖𝙡𝙧𝙚𝙖𝙙𝙮 𝙬𝙧𝙞𝙩𝙩𝙚𝙣. essayssos\.com trimfire social-?bond\.[a-z]+ 08151729325 advancehospital\.co...

Views: 16, Score: -14...that's a record right there, 93% downvote rate
@RedwolfPrograms Well, that dude has been spamming a lot recently, in a pretty consistent style. I just scrolled down to flag it as soon as I saw the excerpt on main
Have they been using the same name consistently?
Wesley Atwood
I guess deleted comments don't onebox
3:55 PM
I think after enough questions get spam flagged six times it IP bans them, hopefully that'll happen soon (although I'm sure they're using a VPN)
1 hour later…
5:23 PM
Q: Can we spell a third number?

ArnauldYou are given two strings, each consisting of the English word for a number between 1 and 13: one, two, three, four, five, six, seven, eight, nine, ten, eleven, twelve, thirteen Your program or function must find out whether it's possible to spell at least one other word from the same list witho...

2 hours later…
7:11 PM
Third time I've ever repcapped :p
1 hour later…
8:23 PM
only 47 more and you become epic, I think?
8:45 PM
Q: How many Battleships boards are there?

Martin KochanskiBattleships is a game in which one player lays out a number of shapes ("ships") on a board (typically 10×10) and the other player then fires at them. This challenge concerns not the gameplay but the configuration of boards. Our family's variant of Battleships is probably different from yours. The...

8:56 PM
@NewMainPosts I was planning to answer this in scratch but soon realised there wasn't any n-root builtins
Any there aren't any custom exponents either
@Lyxal just makes it all the more fun to implement :)
But I just discovered I can use e^((1/nth)*ln(under)) instead
Because, yknow, scratch has blocks for e^ and ln
Even though it doesn't have normal exponation
Maths and exponentials to the resuce
Wait, if you would get over 200 reputation on one day then someone downvotes you, does the existing overflow keep you at +200 for the day, or does it just give you +198 and ignore the rest you would've got earlier (assuming nobody upvotes later in the day)?
Any rep you would get over 200 is forgotten (aside from accepts and bounties)
So you'd end up with +198 and a burning resentment for the downvoter :P
9:12 PM
Do you have to end the UTC day at +200 to get Epic/Legendary, or just get it at some point during the day?
I think end the day, but I'm not sure
Actually I think it's the second, it shows me at 3/50 for Epic
Let me just downvote you to see if it changes :P
Wait, do it and then undo it a minute later.
This is cause for science™
Downvoted, what does it say?
9:14 PM
Still 3/50
What if it rewarded it again when you undid it :p
@RedwolfPrograms Undo what now? :p
Apparently Inquisitive doesn't get rewarded until the end of the day
I still need to get Curious :/
@RedwolfPrograms hey that's what mine says too!
9:55 PM
Okay so it turns out that Scratch is surprisingly accurate with decimals
annoyingly accurate that is.
It's as accurate as most practical languages
I was hoping it'd fudge decimals, but it doesn't
At least not in the way I want it to
10:15 PM
You should never want your programming language to be wrong.
Or you should always want your programming language to be wrong
But no
I was hoping that it wouldnt treat 5.00000001 and 5 as separate numbers because it's scratch
It just has to be accurate
It's a programming language designed for kids. They probably don't need that much decimal precision
yes they do
gotta teach them about floating point errors young
If you don't confuse a child by showing them 0.1 + 0.2 you aren't introducing them to programming correctly :P
But Scratch is more visual not maths. You don't need 8 decimal places to move the cat right by 3 steps!
10:21 PM
you do if you want it to be smooth if they fuck around with it enough
10:33 PM
also have you seen, like, the custom 3d engines and stuff
those were kinda big like 5 years ago or whenever the last time i used it was
wait it can't have only been 5 years
probably more like 7
All I know is that string manipulation and nested function calls in scratch are so unbelievably painful I just implemented a simple machine code sort of language in it to avoid having to suffer
And then it turned out there were only two assignments left in the class where I needed scratch
10:49 PM
Scratch was the first language I learnt, and now I just golf in it ironically
11:05 PM
Any opinions on allowing this input method or this output method? (Cellular automata interacting with user built structures)
11:49 PM
I don't see anything immediately wrong with it, not sure why it was downvoted
What version of Python is it?
a TIO link might help
but that's assuming it can terminate within 60 seconds
there's also the issue of scoring in characters but the rest of the answers do because it's an old challenge so that shouldn't be an issue

« first day (3597 days earlier)      last day (43 days later) »