Forgot your password?
typodupeerror

Comment Re: A beautiful resurgence (Score 1) 91

Well, if you're not a Star Wars fan (I know Star Trek fans are Trekkies, what are Star Wars fans? Warries?), what're you doing on this post?

Well yes, I would be a trekkie. I don't know what starwars fans are, maybe jedists? But what got my interest in this story is the fact that Disney lost to not one but TWO indie films, despite how much they spent on the movie. Shit, they probably exceeded the budgets of both films combined on just marketing and promoting their movie.

Having said that, I don't believe "loud, annoying and stupid" is a valid reason to report somebody. If it was, I'd have done it already.

And the South Park guys had their own take on JarJar:

https://youtu.be/z-y4stp65HM?t...

Comment Re:I don't currently use Rust (Score 1) 161

Oooh...I think I heard of that before. At least, the concept is familiar, but I didn't know the name for it -- haven't needed to use one, though I don't typically deal in caching, aside from in-memory caching for high performance applications, but every time I've needed that, it needed to be lossless and highly concurrent and parallel, so this wouldn't work. For that, I've always relied on flurry.

An LRU map is similar but it is "primary storage" not cache, but still with a fixed capacity so when you try to put more in it than it can hold it has to discard something, and it does that by discarding the least-recently used item.

Ah, thus enabling stack allocation. Have you looked at this?

https://lib.rs/crates/small-co...

Has both a hash and a btree variant, both heapless, of lru. Might be worth building a struct that has the map contained in a refcell, then define your helper functions around the refcell to make your code more ergonomic. Let those helper functions handle the unwraps (or if you want to micro-optimize, then unwrap_unchecked, though usually this isn't necessary -- I've only found one case of a tight loop where the compiler couldn't optimize out the checks, which was for a custom lz77 implementation for unpacking/repacking data from a PS2 game.) As for passing your state around, there's a great, ergonomic way to do that already:

https://crates.io/crates/state

One other comment about something you said, which you might find interesting: You said that in Rust, moves are cheap. This isn't really true.

Depends on how you build your program. I think if you use that heapless version of Box, all you'd be moving is the pointer and nothing else. At least, that's the way Box works on the heap -- just an owned pointer, and when moved, the heap memory doesn't move anywhere, just the pointer on the stack does. And that is cheap.

Also if you're not doing it, I highly recommend using 'cargo clippy'. Despite the name, it's actually far more useful than it is annoying.

Comment Re:Stop beating a dead horse (Score 1) 91

They probably should have done with starwars what they did with battlestar galactica. I never saw the original, though from what I understand, the fans of the original were annoyed by some PC shit like making Starbuck a female, which I get because it's annoying when they really change a character you liked. But the new one was great regardless -- I liked Starbuck's character a lot, it, it would be weird to go back and watch the original with her as a man -- but it was a big success regardless of what the fans of the original thought of it. Sometimes, it's best to ignore what the fans think, because if it manages to be good and original, like what the BSG remake was, the fans will probably still like it anyway.

Comment Re:Rogue One, Andor, ... (Score 1, Insightful) 91

Rogue One was actually good, a worthy companion of episodes IV and V.

That movie made barely any sense to me. All I really remember about it is the death star blew up a bunch of planets while the rebels smuggled out its secret vulnerability, and a CG Carrie Fisher at the end. I felt like I was watching Mortal Kombat 2 -- just a bunch of action scenes with very little story telling.

Comment Re: A beautiful resurgence (Score 1) 91

But, to just shove a character into the universe, then just vanish them, that's just bad practice.

George Lucas said he was supposed to be the comic relief character. Outside of that, the character is pointless. The problem is he wasn't funny, he was just an annoying CG version of drinkypoo.

Though I was never into starwars, so I don't know what appeals to starwars fans. The only thing that was interesting about the whole series was that it started Harrison Ford's career, and he's made a lot of very good movies since then. From what I understand, he cares as much about it as I do.

Comment Re:UK police false positives on facial recognition (Score 2) 86

Thanks, that is very interesting. But something smells fishy.

1. 1 false positive from "over 641,533 faces" seems too good to be true. Very few systems of any kind are that good, and facial recognition? I don't buy it. And that's an oddly specific number to be "over". It does not pass the smell test.

2. "Shows no bias" is similarly too good to be true and doesn't pass the smell test. Didn't Apple have some problem in the last year or two with trying to spiff up faces, where black skin didn't work as well? "No bias" is not credible.

3. "Zero unlawful arrests" is weasel words. Just because an arrest has conformed to various legal standards, such as having a warrant, being cautioned, not beaten up, etc, does not make it a proper arrest. Lots of people are acquitted at trial after having been lawfully arrested.

4. The rate has not changed. Well, yes, it must have, if this is the false positive rate, since it presumably once upon a time had 0 false positives and now has 1, and the denominator has been increasing all this time unless the first 641,533 faces were all recognized in the first day.

5. The only credible answer. There may well be no national false positive rate.

But it's an interesting response. Thanks.

Comment Re:Yeah what you want is irrelevant (Score 1) 86

I don't know what she's been doing. But from the fact that it took 40 years to track her down, and that only because a non-cop found her, I'd say the evidence is strong I know what she *hasn't* been doing -- terrorism, or training terrorists.

Seriously, if she's been living for 40 years training terrorists who haven't done anything to draw attention to themselves or her, she's either been running a false flag terrorist school with the government's connivance, or she hasn't been running a terrorism school.

If society wants to punish her for what she did 40 years ago, fine. But stop pretending the police took a dangerous terrorist off the streets.

Comment Re:A 67 year old woman living in hiding (Score 1) 86

Might DOES make right; that's how government works. One definition is a monopoly on "legal" violence within their territory, although they aren't very good at it, considering how many riots there were in 2020 and the two autonomous zones where city governments surrendered their monopoly for a spell.

Comment Re:I don't currently use Rust (Score 1) 161

In that case, have you looked in the heapless crate? E.g:

https://docs.rs/heapless/lates...

You can "move" them by putting them in the heapless Box. Though you probably don't need to do that. I'm just not sure what your application/design goals are. Usually when I move something into a function and then move it back out, it's to use the builder pattern.

Comment Insufficient and misleading data (Score 3, Insightful) 86

If you want to make the case that government should use facial recognition, you'll need some real data.

* One success ... how many false positives -- how many people were wrongly tagged? How many false negatives -- how many times was this woman seen but not tagged? Was she a hermit and this was her first public appearance in 40 years?

* How recent were the pictures of her which were the basis of her being tagged? Do you really want us to believe the only success story you have is based on artificially aging her photograph by 40 years?

Slashdot Top Deals

I'd rather just believe that it's done by little elves running around.

Working...