# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 34
# self = https://watcher.sour.is/conv/fawlu6q
@prologic try converting it as a binary number
@prologic try converting it as a binary number
@lyxal Huh?
@lyxal Huh?
@lyxal Huh?
@prologic this is something I only learnt from others: the first seven characters (F and Bs) are a binary representation of the row number. The last 3 chars (L and Rs) are a binary representation of the column number.
@prologic this is something I only learnt from others: the first seven characters (F and Bs) are a binary representation of the row number. The last 3 chars (L and Rs) are a binary representation of the column number.
@prologic iirc, F=0, B=1\nR= 1 L=0
@prologic iirc, F=0, B=1
R= 1 L=0
@prologic iirc, F=0, B=1\nR= 1 L=0
@prologic RRR gives row seven. Sub R with 1 and you have 111 (which is binary for 7)
@prologic RRR gives row seven. Sub R with 1 and you have 111 (which is binary for 7)
@prologic the whole entire "leave only the top halve" part is a little misleading/a complicated way
@prologic the whole entire "leave only the top halve" part is a little misleading/a complicated way
@prologic don't worry. I completely missed it and only figured it out after it was pointed out by some other code golfers
@prologic don't worry. I completely missed it and only figured it out after it was pointed out by some other code golfers
Yeah I get all that, but you can still do integer arithmetic too. Problem is despite my ParseBoardingpass() func being correct (_or so I think_) with correct test cases, The higestSeatID for my input doesn't quite come out right :/
Yeah I get all that, but you can still do integer arithmetic too. Problem is despite my ParseBoardingpass() func being correct (_or so I think_) with correct test cases, The higestSeatID for my input doesn't quite come out right :/
Yeah I get all that, but you can still do integer arithmetic too. Problem is despite my ParseBoardingpass() func being correct (_or so I think_) with correct test cases, The higestSeatID for my input doesn't quite come out right :/
@prologic try it with this input list and tell me what it outputs.
@prologic try it with this input list and tell me what it outputs.
@lyxal 983?
@lyxal 983?
@lyxal 983?
@prologic it should output 980
@prologic it should output 980
@lyxal It does not. I switched to using binary and bitwise arithmetic instead. Also solve my input puzzle. Thanks for the tips! I'm not sure what was up with my own implementation before, but I suspect an "off-by-one" which is easy to do if you're not just dealing with the straight up binary that this really is 🤣
@lyxal It does not. I switched to using binary and bitwise arithmetic instead. Also solve my input puzzle. Thanks for the tips! I'm not sure what was up with my own implementation before, but I suspect an "off-by-one" which is easy to do if you're not just dealing with the straight up binary that this really is 🤣
@lyxal It does not. I switched to using binary and bitwise arithmetic instead. Also solve my input puzzle. Thanks for the tips! I'm not sure what was up with my own implementation before, but I suspect an "off-by-one" which is easy to do if you're not just dealing with the straight up binary that this really is 🤣
I see there's some heated AOC going on here
I see there's some heated AOC going on here
@razetime Indeed there is 😁 Join us! ⭐️⭐️
@razetime Indeed there is 😁 Join us! ⭐️⭐️
@razetime Indeed there is 😁 Join us! ⭐️⭐️