reverendsteveii

@reverendsteveii@lemm.ee

Solitary, poor, nasty, brutish and short

This profile is from a federated server and may be incomplete. Browse more on the original instance.

reverendsteveii,

blog updates seem to be signed by someone named Dinnerbone

ɐɯ I ʇɥᴉuʞᴉuƃ oɟ ʇɥǝ ɹᴉƃɥʇ pᴉuuǝɹqouǝ ɥǝɹǝ¿

reverendsteveii,

conservatives are really good at arguing against what they imagine leftists to be and really bad at arguing against what leftists actually are

reverendsteveii,

fuck the butterfly effect, do what you want. you’ve thrived in chaos once already.

reverendsteveii,

“You don’t often think of those other two as having their shit together.”

–Sterling Archer

reverendsteveii,

These games are tagged capitalism, but they use this wild version of capitalism where the person doing the work gets to keep the value their work creates. I think there’s a name for that…

reverendsteveii, (edited )

Microsoft is thrilled to announce a new scripting engine: the Full Automation Platform. Do routine maintenance tasks bore you? Why not FAP instead? Want an offline media library? A few minutes’ effort and you’ll be FAPing to thousands of pictures and videos from all over the web. You can even FAP with friends and coworkers thanks to our online code-sharing platform! Just set up an account with our Command Line Interface Tool Online Repository for Information Sharing and your FAPing knows no bounds. Microsoft: Show us how you FAP!

reverendsteveii,

Well how else are we supposed to encourage people to be related to people who develop intellectual property? It makes sense from a neponomic standpoint.

reverendsteveii,

blue cheese has mold in it

you have shit in you.

reverendsteveii,

you seem to have created a false dichotomy where it’s impossible to fix bad code without being abusive. would you like me to call you “dumb motherfucker” or is this explanation enough?

reverendsteveii,

looks like every day is a great day to not work on the linux kernel

reverendsteveii,

this got so out of hand at my local fest that they decided to do time traveller’s weekend as a theme. this year we went, and my costume was a cave man who hit his head on a tree branch while chasing a rabbit, woke up here and is amazed by everything

reverendsteveii,

I wanna quibble with this just a little bit. People work. Left to their own devices, with their needs met, people will dedicate their energy toward generating value.

What no one wants to do is a job, which is an arrangement by which several of us have to do more in exchange for less so one of us can do nothing all day and then complain that “nobody wants to work anymore”.

reverendsteveii,

Once again: if paying for it isn’t owning it, then not paying for it isn’t stealing it.

reverendsteveii,

what happened to chapelle is the same thing that happens to so many has-beens: they realize that if they start parroting right wing talking points they don’t have to be funny or talented or anything like that and they’ll get instant access to an audience that will buy anything that affirms their worldview.

I feel like the Steam Deck is the best proof of Gabe Newell's quote that "piracy is a service issue."

They could have easily crammed the Steam Deck full of stuff to make it hard to use for piracy - locking down everything, making it usable only to play games you legitimately own, force you to go through who knows what hoops in order to play games on it. That’s what Nintendo or Apple or most other companies do....

reverendsteveii,

Please read 1984. That’s where this term comes from. You’re living through a combination of it and Brave New World.

reverendsteveii, (edited )

The steam deck is how you prevent piracy. If you look at the huge influx of streaming services, you’ll see an example of how you encourage piracy. I recently dropped three of my services in favor of one pirate site that has almost everything. They even offer a subscription tier and I’ve considered it. I’m willing to pay for good content. What I’m not willing to do is pay dozens of middlemen across multiple companies to rip off the people who actually make my favorite shows and then memory hole the shows a few months after they premiere.

reverendsteveii, (edited )

`//Get CustomerInfo from CustomerRepository by Customer ID or else throw an CustomerNotFoundException

public CustomerInfo getById(String customerId) {


<span style="color:#323232;">return customerRepository.getById(customerId).orElseThrow(new CustomerNotFoundException());
</span>

}`

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) {


<span style="color:#323232;">    try {
</span><span style="color:#323232;">
</span><span style="color:#323232;">        String[] split = dateString.split("-");
</span><span style="color:#323232;">
</span><span style="color:#323232;">        //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
</span><span style="color:#323232;">
</span><span style="color:#323232;">        int month = Integer.parseInt(split[0]) == 12 ? 1 : Integer.parseInt(split[0]) + 1;
</span><span style="color:#323232;">
</span><span style="color:#323232;">        return LocalDate.of(Integer.parseInt(split[1]), month, 1).minusDays(1);
</span><span style="color:#323232;">
</span><span style="color:#323232;">    } catch (Exception e) {
</span><span style="color:#323232;">
</span><span style="color:#323232;">        throw new RuntimeException("Invalid date format - must be MM-YYYY");
</span><span style="color:#323232;">
</span><span style="color:#323232;">    }
</span><span style="color:#323232;">
</span><span style="color:#323232;">}`
</span>

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?

reverendsteveii,

I work on a Web app and we recently decided that we’re just not gonna support double quotes in free text fields because oh holy balls what a thing it is to try to deal with those in a way that doesn’t open you up to multiple encoding vulnerabilities.

reverendsteveii, (edited )

The issue is the filter that we’re using to avoid multiple encoding attacks de-escapes everything via multiple rounds, then tries to pass it to the next layer of filtering with the de-escaped request body as a json string. Your absolutely right that this is a silly way of doing it, but sometimes we have to live with decisions that were made before we were onboarded to a project. In this particular case, I pushed to improve the filters but all our PO heard was “spend development time weakening security” and at the end of the day they decide what to do and we do it.

reverendsteveii,

OP link us to the comment where you merely mentioned Tiananmen square and got banned for it

reverendsteveii,

state’s rights

wanted the federal government to override the rights of free states

made slavery mandatory rather than leaving it up to the states

tried to flat-out steal entire states using violence

Like every conservative, when they talk about freedom they’re only talking about their freedom to do what they want, and their freedom to make you do what they want using violence.

reverendsteveii,

It’s neat how they include both Confederate flags

reverendsteveii,

vegan food isn’t expensive. artificial meat replacements are expensive, because you’re paying someone to chemically torture plants until they vaguely remind you of animals. lentils, beans, and other awesome-tasting protein sources are dirt cheap. vegan-first dishes are great and really cheap.

reverendsteveii,

This is the first Christian church I’ve ever seen that has been willing to respond to the violent rhetoric of other churches with something strong than “Oh, well, everyone is entitled to their beliefs”. They need and deserve our critical support.

reverendsteveii,

Uplifting unless you live in that watershed.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #