schteph

joined 2 years ago
[–] schteph 10 points 1 week ago (2 children)

For those wondering, that's apparently called a masonry stove, specifically a tiled stove. These were pretty common where I'm at and people still sometimes keep them for decorative purposes.

[–] schteph 4 points 2 weeks ago (5 children)

But sales tax still works for that, since if you want to buy a Ferrari we're keeping 20% automatically at the point of sale.

Unfortunately, that is very easy to circumvent. Rich people usually own companies which made them rich in the first place. They can easily buy cars in the company name and write not just the VAT off, but income taxes as well.

[–] schteph 19 points 2 weeks ago
[–] schteph 6 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

They didn't give her a ten percent raise, but a hundredth of ten percent raise, for some reason (I would say for fraudulent reasons, but it could just be a mistake)

[–] schteph 3 points 4 weeks ago

In relational databases (sql) tables are actually table representations of relations, where a relation is defined as any subset of a Cartesian product.

In the first sql example we have a "person" relation, which is a subset of namesXgenders cartesian product. Because of this an element of the person relation ("Jimothy", null) cannot have "no gender" (as it wouldn't be a member of the cartesian product namesXgenders).

All of this leads to the following: null in sql doesn't mean "said element doesn't have that property", it means that said property is unknown.

With that in mind, the first example returns expected, if on the surface counterintuitive result: you don't know what Jimothy 's gender is, so when queried with NOT M NOT F, that row shouldn't be returned, because you can't just assume Jinothy's gender. The query should be, for those cases: not m, not f or unknown (ie is null).

Similarly for the second case. Email is not nonexistent, it's unknown, so it makes sense that the db allows you to insert more than one person with unknown email addresses.

I wouldn't say that either of these is an sql wtf, I would just call both of those tables badly designed.

[–] schteph 9 points 1 month ago (2 children)

As much as I understand us military, they are required to follow all orders (like any military, really) except orders that are illegal.

So, if Trump ordered an invasion of Greenland, the military should refuse that order, unless that order also comes with an act of congress declaring war on Greenland. However, Nixon bombed Cambodia without a declaration of war, so I don't know.

[–] schteph 34 points 1 month ago (2 children)

If they have any balls left, they'd just release it anyway and have Biden pardon them.

I don't think they'll do it, but they should.

[–] schteph 125 points 1 month ago (29 children)

I'm obviously out of the loop. What happened?

[–] schteph 1 points 2 months ago

True, however there's this photo of Tom as Picard, so he did at least pose as Picard.

[–] schteph 3 points 2 months ago (2 children)

Tom Hardy also played Picard. So, there are three actors that played Picard

[–] schteph 28 points 3 months ago (3 children)

Java is religiously backwards compatible. Modern java projects are not as enterprisey and boilerplatey, but, as jdk21 is backwards compatible with jdk1.3, you can still happily write code as if it's 2003.

Additionally, the java space is huge, so just wildly googling will probably not help you that much.

[–] schteph 13 points 3 months ago (2 children)

If I'm not mistaken, James SA Corey is an alias for two writers.

Point still stands though.

view more: next ›