boatswain

joined 2 years ago
[–] boatswain 7 points 3 days ago (1 children)

Sauerkraut is apparently a reasonable way to store vitamin C for a long time. I imagine cabbage in its own doesn't keep too well.

[–] boatswain 20 points 1 week ago

I've only ever seen Chile as the country.

[–] boatswain 1 points 1 week ago (1 children)

I really didn't think that's correct--though it's been a few years since I did SQL regularly.

SELECT *
FROM articles
WHERE last_updated >= %s
  AND created_at IS NOT NULL
UNION
SELECT *
FROM articles
WHERE id IN (1, 2, 3)
  AND created_at IS NOT NULL

That should give a list of all articles updated after whatever date (regardless of ID), appended to a list of all articles where the ID is 1, 2, or 3 (regardless of when they were last updated). I would expect to see extra articles that only fit one criteria or the other, and also duplicate articles.

I included the join quote because an inner join would be the way to do this, rather than a union--though it would likely be less efficient than just filtering on the required parameters.

If I'm wrong here, I'd love an explanation of why.

[–] boatswain 2 points 1 week ago (3 children)

UNION is used to append the result of one query to the result of another: https://learn.microsoft.com/en-us/sql/t-sql/language-elements/set-operators-union-transact-sql?view=sql-server-ver17

A UNION concatenates result sets from two queries. But a UNION does not create individual rows from columns gathered from two tables. A JOIN compares columns from two tables, to create result rows composed of columns from two tables.

Your two queries are not equivalent.

[–] boatswain 5 points 1 week ago

Sure seems to be. I see it advertised here and there pretty often.

[–] boatswain 24 points 1 week ago

FYI these vulns were all patched. Source: saw this talk yesterday.

[–] boatswain 4 points 1 week ago

Anyone dealing with health information should definitely be encrypting email address; it's one of the HIPAA identifiers.

[–] boatswain 65 points 1 week ago

Gotta love the EFF. Just threw a bunch of cash to them.

[–] boatswain 99 points 1 week ago (1 children)

This right here. Unions are a much more potent way to tell management "that anti-consumer idea is bullshit and we won't do it."

I've been tech conferencing all week and I've already seen two talks about unionizing tech workers. Maybe the tide is turning?

[–] boatswain 4 points 3 weeks ago (1 children)

People don't just look at the TV for an hour straight - they are doing other things, or second-screening, or having conversations, and multiple methods being available to pick up on the show dialog is helpful.

Wouldn't this make subtitles less useful rather than more? You can't see the subtitles if you're not just looking at the TV. For second-screening, it would be more helpful to listen to the audio while you're also scrolling Lemmy or whatever.

[–] boatswain 7 points 3 weeks ago (5 children)

Windmills can do things other than grind flour. Both terms are correct.

[–] boatswain 1 points 3 weeks ago

Yeah, it sounds like the real problem is lack of off-site backups. Bad password policies will certainly make it easier for ransomware gangs, but they're not the only thing that has to go wrong.

5
submitted 7 months ago* (last edited 7 months ago) by boatswain to c/cybersecurity
 

Looks like they're pretty concerned with the possibility of mass discrimination by AI, perhaps in the wake of the news about United Healthcare using AI to decline coverage. This could be useful to people:

If you believe that you or someone you know has been subjected to unlawful discrimination due to a health care provider’s or health insurance plan’s use of AI, please let us know by submitting a complaint to my office: https://ocrportal.hhs.gov/

 

Hi all, I recently got into the world of ergo mech by borrowing a friend's old Iris v2, and I really love how powerful and customizable things can be with QMK firmware.

Recently, my old n52te has started to show signs of age after a dozen or so years of abuse. If you're not familiar, they look like this:

There's definitely stuff that could be improved on--just being able to build your own firmware for it would be amazing. Having one or two more thumb buttons for layers would be sweet as well.

The community of ergo mech keyboard builders are doing some super cool things with 3d printed builds and all kinds of neat stuff. Since I've just been dipping my toes in, my question is: does anyone know of any good replacements for my n52te? Is this something anyone has tried tinkering around with?

Thanks!

 

I'm trying to figure out the best way to deal with some homebrew stuff I'll be dealing with in my 5e campaign.

If you're not familiar with Ancestral Weapons, it's a pretty cool system that gives you the ability to have weapons that level up with your players. The players get points periodically that they can spend on upgrades to their weapons.

I'll be using a variation of this setup in my campaign, and I'm trying to figure out the best way to do so. My initial thought was a scene for each character's weapon, with some Monk's Active Tiles to handle a "talent tree" kind of interface where a player could select and then lock in which powers they want.

That doesn't really take care of updating the item itself though, which means that the players would have to update things manually ("oh, I need to make this sword +2 now" for example) after using the scene as a kind of calculator.

So maybe there's a better way: make the weapons Actors of their own, with special character sheets or something? Or maybe there's an existing mod I can use? Any thoughts or suggestions on the best way forward are appreciated.

view more: next ›