![](https://hexbear.net/pictrs/image/6bef1c02-560a-4c7f-b0e9-8f3d39af6ff4.jpeg)
![](https://lemmy.ml/pictrs/image/c0ed0a36-2496-4b4d-ac77-7d2fd7f2b5b7.png)
Also, it still counts as pushing straight to prod if your PR reviewer gives it a once-over and stamps it with “LGTM”
Profile picture credit to Andy Warhol
Also, it still counts as pushing straight to prod if your PR reviewer gives it a once-over and stamps it with “LGTM”
Tigran Hamasyan (Armenian piano jazz-metal)
The Gabriel Construct (self-described as art music iirc, but basically just some experimental rock)
Jaggery (avant-rock, cool harp sounds)
Noah Sias (deathcore? Just so fucking heavy idk)
Bent Knee (experimental rock, just an absolutely gorgeous song)
Mel Bryant (indie rock, great hook, cool breakdown)
deleted by creator
I’m gonna spend about 3 hours researching the local positions where my vote counts and leave everything where my vote has already been decided for me blank. Then, I’ll use all the extra time I saved from not pouring my brain down the drain watching endless election coverage to instead do some mutual aid, which has already saved several lives this winter. Fuck Donald Trump and fuck Joe Biden.
Moving away for school is a decent way to get away from overbearing parents if that’s an issue. Hard work is key to success, but letting your parents define success for you sucks, especially if you’ve never been given the space to get in touch with your own wants and needs. It’s a feeling of knowing that their success is bullshit, but having no other targets to shoot at.
It simply finds all possible digits and then locates the last one through the reverse indexing. It’s not efficient because there’s no shortcircuiting, but there’s no need to search the strings backwards, which is nice. Python’s startswith method is also hiding a lot of that other implementations have done explicitly.
I already write code in my sleep and it sucks. Pushing this code to production would be heretical.
I think I found a decently short solution for part 2 in python:
DIGITS = {
'one': '1',
'two': '2',
'three': '3',
'four': '4',
'five': '5',
'six': '6',
'seven': '7',
'eight': '8',
'nine': '9',
}
def find_digit(word: str) -> str:
for digit, value in DIGITS.items():
if word.startswith(digit):
return value
if word.startswith(value):
return value
return ''
total = 0
for line in puzzle.split('\n'):
digits = [
digit for i in range(len(line))
if (digit := find_digit(line[i:]))
]
total += int(digits[0] + digits[-1])
print(total)
Those overlapping spelled out numbers were rough
You may be able to find a repository of example inputs and outputs to work with, but that’s generally frowned upon since organizing AOC involves so much work.
How do they even legally define what “the LGBT movement” is? Do they think that people are card-carrying members of some official LGBT organization?
Yeah it has big “the CEO of antifa” energy
No need to search when you already have someone you wanna pin it on.
I am famously a dem trooper. This is me going to bat
No but receiving money because of relationships with politicians seems pretty legal in the US
Republicans do be going on about dick pics
So true. Between them and some general chumpfuckery, this has been a cromulent fuckcrustable of a day. Tommy needy drinky.
Yeah, blackface is fucked up. And using spiritually significant indigenous clothing to go butt chug booze is fucked up. I think the difference is that blackface was never part of black culture. It was part of white culture. The appropriation part comes from the fact that it’s crossing cultural boundaries.
Funnily enough, lemon squash is what we call it when the elderly play racket sports
Look, just because PHP doesn’t have multiple inheritance doesn’t mean you can’t wildly overengineer everything.
Once they come for the birth control there’ll be plenty of forced births, no worries