Definitely open to some feedback on this, but I’ve gotten a new package for @nunomaduro's framework to a useable state so I figured I'd share:

github.com/hskrasek/laravel-ze

While the name might be unimaginative, it does exactly what it says on the tin: Allows you to create CLI applications that authenticate and interact with an OAuth2 protected API. It's very similar to what you experience with the AWS CLI when you execute `aws sso login`.

Let me know what y'all think.

@ian @derickr @josh @heiglandreas world-nuclear-news.org/Article

in reply to @ian

@derickr @josh @ian @heiglandreas there’s a company that claims they can upgrade existing coal plants into nuclear plants. If true, I think it’d be a huge push forward. A nuclear plant is basically just the same as a coal plant, plus the added nuclear reactor part. Doing rolling upgrades in place would be huge both for energy production and the environment.

in reply to @derickr

@ramsey 0 star hotel right there

in reply to @ramsey

@cspray GraphQL v0.0.1

in reply to @cspray

Double checking my understanding of . It should be possible to do a “login with ActivityPub” experience right? Versus needing to do buttons for mastodon, lemmy, pixelfed, etc.

@grmpyprogrammer holy shit yes please. Run out of the industry at a minimum

in reply to @grmpyprogrammer

I know my humor is somewhat childish at times, but the best (to my knowledge) CLI library for Rust being called Clap makes me giggle.

Making a new CLI tool? Time to reach for the Clap

@assertchris the more you show this off, the more I want to rip off your idea for my own site lol. Though it’s static markdown file based so, that might complicate things.

in reply to @assertchris

ground.news/article/north-caro

This is the dumbest shit I’ve ever seen. Hope the governor vetoes it, but the Republicans have enough power in the senate to just override this.

It will be abused against BIPOC; it will barely be enforced against whites. If I’m wrong, I’ll be pleasantly amazed, but I don’t believe I am.

While I can’t exclude the cost from my mind as the family member who closed out the bar tab at the hotel, I also can’t exclude the interesting and fascinating conversations with a local couple tonight. Or at least primarily the dude, Mario, and his contributions (I think me and his girlfriend, partner, whatever were more aligned at times) to the conversation. Admittedly a lot of it was him giving me shit for driving an electric car, especially with the intention of helping the planet.

But the conversation did eventually turn to religion, or faith in general as id classify it. I didn’t like Mario’s immediate dismissal of my appreciation of the church of satan for calling out political bullshit in the United States, it was still such a fascinating experience and conversation with someone, exploring our different view points, and where they aligned.

in reply to self

Honestly, while I didn’t get a chance to, I almost told this compete stranger what I’ve never told anyone before: my personal beliefs. I’ve shared countless times my simultaneous disdain for organized religion based off of history, but my appreciation and understanding of everyone’s individual beliefs. I’m personally a man of science, but I believe science requires a modicum of faith. Be it religious or otherwise, the faith in a hypothesis is just as powerful as the faith in a higher power.

in reply to self

I’m not sure if I’ll ever share my personal beliefs. I know by definition I’m skirting the line between agnostic and atheist, but I honestly don’t have the knowledge to know it what I currently believe in aligns with an organized religion.

Hell, there are so many tribes and subsets of our species that are unconnected that I don’t think we’d ever know.

in reply to self

I just know that, at the end of the day, if you need the promise of a better afterlife to be a good person, that you’re probably a shitty person in disguise. You should be a good person, a better person, because it is the right thing to do for your fellow man/woman. Regardless of religious, political, geographical, or otherwise.

Maybe I’m naive in believing this. Maybe it comes with my young age. But fuck even a small part of my belief thinks this is the overarching goal of our species

in reply to self

@ian ah yes, flip flopped in my head. $$$$$

in reply to @ian

@ian negative, I think that price is in KYD, $1 KYD == $1.25 USD

in reply to @ian

I present to you the most expensive drink I’ve ever seen on a bar menu, and a whopping $690. It’s basically “jungle juice” but for rich people

@chrisbiscardi Chris, you pointed me in the right direction. My logic is technically correct, but since I'm reverse engineering another applications database I didn't realize internally it tracked the tag /bar as both the root tag and the child tag /bar. Looks like I'll have to rethink my logic so that I can properly turn /bar into [[foo]][[bar]] (or [[foo]] ).

Appreciate the virtual rubber ducking

in reply to @chrisbiscardi

@chrisbiscardi AH! Ok now I'm following. It is technically possible a Bear note has a root level tag and a non-root tag /bar. Wonder if that's causing the issue.

I'm sure my pseudo Many to Many Diesel logic might be causing my problems as well

in reply to @chrisbiscardi

@chrisbiscardi I'm admittedly a bit of a Rust noob, but I'm having a hard time seeing how this function is being looped twice github.com/hskrasek/bear2refle

in reply to @chrisbiscardi

is driving me crazy. I have the following code:

if let Some(is_root) = tag.is_root {
if is_root != 1 {
println!("Skipping non-root tag: {}", tag.title.clone().unwrap_or_default());
continue;
}
// …
}

The code says skipping a non-root tag... and then still does the logic that is supposed to be skipped. I don't get it.

I am in Florida… and thankfully about to leave because it’s just a layover.

@assertchris oh neat, looks super cool and handy. And also the Minecraft addict in me noticed one of those talks in particular lol

in reply to @assertchris