Technically, how all law really works at its core.
Well, that and the threat of overwhelming unilateral violence
Solitary, poor, nasty, brutish and short
Technically, how all law really works at its core.
Well, that and the threat of overwhelming unilateral violence
once again - not a ban, a seizure. Steve Mnuchin is heading a group of government insiders who want to buy TikTok, and this bill bans it if and only if they don’t sell. The government has decided that TikTok is a dangerous propaganda and espionage network and intends to steal it and run it themselves. Even if you think that TikTok is that dangerous you have to ask yourself: why is it legal for everyone else and why does our government want so badly to do it themselves?
In 2023 Israel spent $4 million in lobbying and got $4 billion in aid. We should pool together and buy ourselves some politicians, y’all. No other investment reliably returns 1000:1.
I feel that police departments that treat these calls as legit without their own due diligence is a much bigger problem.
MTG is swatted so often that local cops check up w her security team before responding to calls.
Demi bi checking in. Anyone can buy me a cup of coffee, but everyone has to buy me a cup of coffee first.
When you roll out the feasible alternative let me know. Until then, I’ll be voting for the candidate whose rallies don’t break out in chants of “kill f*ggots, kill all transgenders”
`//Get CustomerInfo from CustomerRepository by Customer ID or else throw an CustomerNotFoundException
public CustomerInfo getById(String customerId) {
return customerRepository.getById(customerId).orElseThrow(new CustomerNotFoundException());
}`
This is the kind of pointless comment I see in my codebase all the time. Best I can tell, a couple of my coworkers like to plan out their code using comments, then backfill in the actual executable code. That’s fine, but they leave the comments in when they add no value.
` public static LocalDate parseEndDateFromString(String dateString) {
try {
String[] split = dateString.split("-");
//In order to get the last day of the desired month, we go to the first day of the next month, account for rollover, then subtract one day
int month = Integer.parseInt(split[0]) == 12 ? 1 : Integer.parseInt(split[0]) + 1;
return LocalDate.of(Integer.parseInt(split[1]), month, 1).minusDays(1);
} catch (Exception e) {
throw new RuntimeException("Invalid date format - must be MM-YYYY");
}
}`
Stuff like this, otoh, is where comments are useful. The required format is obvious from the error message, the param and return from the method signature, the only part that requires a comment is the fiddly logic of accounting for the edge case where month == 12 and the rationale behind how we determine the last day of the month. As a rule, comments are for why something is being done, if it’s not obvious, and for magic numbers. Code should tell you what code does.
edit: can anyone spot the bug that I introduced with that parseEndDateFromString() method?
“I’m into if statements lately”