It seems weird, but I think getting hit by a truck mad it forget what month it was.
Getting hit by a truck might have made it forget to keep living. Brown leaves don't sound like a good sign.
It seems weird, but I think getting hit by a truck mad it forget what month it was.
Getting hit by a truck might have made it forget to keep living. Brown leaves don't sound like a good sign.
Being a hat, without any possibility of creating or interact seem like hell itself in its own right,
It could also easily be as boring as the boring choice.
Turning into inanimate object to live forever
I'd be surprised if the average hat really lives all that long.
I'm with you in choosing the boring life. Also, if worse comes to worse you can just off yourself. Not an option as a hat.
With how much war, malnutrition and unfairness and wealth inequality in the world, I wonder how many people would see at least the boring choice as a massive upgrade over the status quo? I'd guess it's probably a lot.
Dry beans are a lot cheaper than canned (less waste also). If you get a big pressure cooker, you can just soak a bunch of dried beans overnight and it only takes ~30min to cook up a massive pot of beans. Add more water and some stuff like carrots, onions and you'll have same tasty bean soup. Split peas are great for thickening soup and making it really hearty.
Of course, it's possible to cook beans/soup in a slow cooker or whatever but personally I love my pressure cooker and I've had less issues with burning stuff or uneven cooking as well. Great for steaming vegetables, potatoes (you can have mashed potatoes in ~15min). Can even use a pressure cooker to make rice and it's very fast.
Note: both code fragments and links contain things like &
Yes, I know. lemmy mangles stuff like ampersand and less than even inside code blocks. I noted this in an edit for the main post and included a playground link as well.
Thanks for the reply. Unfortunately, I could just use Any
for that since Vec
is 'static
as long as the items are (and I don't think you could use anyvec
if the tiems weren't static).
I asked in the Rust Discord channels and it seems like my approach is fine. Even the mutable version is okay and doesn't need to be unsafe if it returns the reference with self
's lifetime.
The ones that make me happy are when passed family members or pets stop by for a visit.
Those kinds of dreams make me really sad. I'm always so happy in the dream thinking I was wrong that they were gone and then when I wake up and realize it was just a dream... it's hard.
Not sure if OP was talking about in the dream or not. For me at least, how I feel about it would be completely opposite.
Alternatively:
Staff: Uh, the blocking feature is having some issues.
Emu: Well fix it.
Staff: No one knows how that part works and you fired the guy who wrote it. And then you insulted him.
Emu: Meh, just remove the whole feature.
My comment did not say that the US did not benefit.
My mistake, I thought you were the person I originally replied to. My post was also specifically criticizing how they said we didn't benefit:
"Quick, let’s sell this US funded tech to the Chinese or Japanese or Germans and not actually benefit from home grown research. This has happened so many times over the decades it’s disgusting."
I'm not sure why you'd reply to my post if you're talking about something different, but I'll admit I assumed responses wouldn't be non sequiturs.
I’ve stopped reading your comment here,
Wow, what a crazy coincidence. You stopped reading right before the strong counterargument. Seems to happen a lot on the internet, people just randomly get bored right at that point or find some other reason to be offended and blame the other party.
The more I think about it, the more I'm convinced the immutable slice version is safe. I'm pretty sure the mutable version in the playground is also safe because you can't turn it into a mutable reference without consuming it and it requires a mutable reference to build.
The mutable version is pretty inconvenient to actually use if you want to store the AnySliceMut
and pass it to other functions. The other function would have to reconstruct it and pass it back once it was done with the mutable reference. But what if:
// ^ impl AnySliceMut
pub unsafe fn as_slice_mut(&mut self) -> Option<&'a mut [T]> {
if TypeId::of::() != self.tid {
return None;
}
Some(unsafe { std::slice::from_raw_parts_mut(self.ptr as *mut T, self.len) })
}
Obviously it's possible to abuse but if I just do something like pass it to a function that takes a mut ref and that function doesn't do anything weird like save the reference is this okay? MIRI is apparently okay with it: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=149ad441a1c66b3f1fd7f2107acbeccf
so you’re arguing for no reason whatsoever.
This is some classic projection. What I said boiled down to "this solution may not be a good one, but there's some benefit to solving the problem". In your quest to find a way to criticize what I said, you ignored the first part of what I said entirely.
You seem to be one of those people who will just never admit it if you make a mistake. Doesn't matter if you accidentally said water is dry, you'll never admit water is wet until the end of time. I actually never understand why people dig in like this. It's not like you're saving face by refusing to acknowledge the mistake, it's not like you're going to convince me there's any doubt. Everyone makes mistakes and the best way to deal with them is to acknowledge it early and move on.
My comment was that the US missed out on the opportunity to be the dominant financial beneficiary in this sector.
You didn't say that, you just said "benefits" in general as though you were talking about all the benefits. I was just responding to what you wrote: that was my point.
Fine though, now I understand you were just talking about a part of the potential economic benefit of manufacturing those products. In the future, you could make these kinds of misunderstandings less likely by being more specific.
A rich guy has gotten involved - Elon Musk, who owns Solar City.
Is it your position Solar city 1) currently manufactures its own solar panels and 2) doing so is currently profitable and the business is thriving? Because as far as I can see it's not even clear they're still manufacturing solar panels. They had a deal with Panasonic but Panasonic exited a year or so ago, presumably because they couldn't get enough of a compensation for their investment even with the subsidies. Even at that point, it seems like they were just assembling components at the most, they weren't doing anything like fabricating the chips themselves.
"A New York State Comptroller’s audit found just 54 cents of economic benefit for every subsidy dollar spent on the factory, and external auditors have written down nearly all of New York’s investment. Most of the solar-panel manufacturing equipment bought by the state has been sold at a discount or scrapped." — https://en.wikipedia.org/wiki/Gigafactory_New_York
Regarding effects after Tesla acquired Solar City: "By 2019, Tesla's solar panel market share was falling, prompting the company to cut its sales force. Revenue from Tesla's energy generation and storage operations from January to September 2019 fell 7% from a year earlier to $1.1 billion." — https://en.wikipedia.org/wiki/SolarCity
My take away is Musk tried to milk as much as he could from the subsidies and generally for society the thing was a net value loss. That's in line with my conception of how he operates.
I'd guess it's probably because of the "Me, like many others, don’t buy a car for the 98% of drives, we buy it for the 2%" part which just makes no sense. Now, not being able to handle the 2% might justify the car not being the correct car for that person but realistically, people primarily buy a car for what they're going to use it for the majority of the time.