Better HN
topnewbestaskshowjobs
Log inSign up

slashdev

17,493 karma · joined May 14, 2013 (13y ago) · 5,497 submissions

Founder of revscope.co

Revenue focused web analytics to help you quickly identify where to focus your effort to best increase revenue.

And embersofvictory.com

Retro turn-based strategy game.

Submissions

comment 5y ago · link · parent

You're missing the whole point of the article. If you set this up in an active-active configuration (if that's even supported) you have the exact same distributed systems problems as the author.

comment 5y ago · link · parent

> A downstream consumer might not need to use the keyword unsafe, but by calling such a function, they have de facto lost memory safety.

That's a silly definition of memory safety. You can't write a non trivial rust program that doesn't use unsafe in it's dependencies. No interior mutability, no allocation, no containers.

The point is these uses of unsafe are checked by the author to ensure they can't introduce unsound behavior through the exposed safe API.

> Rust in practice is likely not as safe an ecosystem as C#, because Rust users are more likely to use unsafe blocks for performance tricks.

Sort of agree with you here. Unsafe code is rare in C#. But C# has race conditions so some kinds of bugs are more common. But C# isn't as suited for systems programming type of problems or really high performance code.

comment 5y ago · link · parent

Here's a crazy idea of dubious ethical value:

The problem with Russian hackers is the law there doesn't give a damn, so they're untouchable.

Why not ignore the law then? Put a price on their heads and use the same Russian criminal elements to take them out. Do that a few times and the problem will magically vanish. Nobody will be willing to work for these gangs.

It also makes the Russian courts have to consider whether they'd rather handle this inside the law or deal with consequences of it happening outside the law.

comment 5y ago · link · parent

The money they don't spend on advertising is a huge part of their competitive advantage.

comment 5y ago · link · parent

The US would block that acquisition. No way they'd let Intel go to a foreign country.

comment 5y ago · link · parent

Bringing PC gaming to a portable form factor will probably be successful, but I don't game on my phone, so I don't think I'd buy this.

I am in the market for a gaming laptop that can dual boot Linux as my work machine. If they did an Alienware or ROG style build I'd very likely buy that.

Btw if anyone has recommendations for me, I'm looking right now. Looking for a 15-17" heavy ass laptop with minimum 32gb ram, quality 4k or close display, and as much performance as I can find.

comment 5y ago · link · parent

Its not enough to own it, you have to actually have armed security on the ground to protect it. People are killed in Brazil trying to defend the forest from illegal logging and clearing.

I think the state should take on that role, but there needs to be a strong inventive for them to want to protect it.

comment 5y ago · link · parent

I agree it's unfortunate. I don't know of any alternatives to globalism and capitalism that aren't worse though.

But it's important to recognize where capitalism fails (tragedy of the commons situations, negative externalities) and address those.

comment 5y ago · link · parent

I would guess that process is not 100% efficient and some stays buried in the soil. Just a guess though.

The big deal with forests is they keep a large amount of carbon out of the atmosphere on a rotating basis. We really need that right now.

comment 5y ago · link · parent

> It’s an interesting thought experiment as to what it would take for the world to force protection with an external military force (e.g. this might be the only solution, but the chances of it happening are zero).

Brazil would never tolerate that, nor should they.

On the other hand if you want to buy huge tracts of the Amazon and pay private security forces to protect it, that's doable.

Better though would be to make it in Brazil's interest to protect the Amazon. We all benefit from it being intact, so we should all chip in to create an economic incentive for the county of Brazil to maintain it.

comment 5y ago · link · parent

> Only a moron would base a world view around the low quality entertainment they kill time with.

I think it's naive to assume it doesn't shape your world view in subtle ways, even if you understand it's a poor source of information.

comment 5y ago · link · parent

Its not what it spends now specifically that is haunting it, it's the decades where it didn't educate the majority of its citizens. It's an effect that lags multiple generations.

comment 5y ago · link · parent

Are there domestic heating systems that can work on both oil and gas?

I've never encountered that, and it's pretty important in Canada where I live.

I've only ever seen gas or electric here.

comment 5y ago · link · parent

South Africa was doomed by apartheid. Democracy doesn't function if you have an uneducated populace. They were uneducated because of apartheid policies.

It will take many generations for that stain to be undone. Leaving the policy in place was untenable for humanitarian and practical reasons. Simply repealing it and giving the vote to everyone was also untenable. It was a lose lose situation and the only good solution was and remains to leave while it's still possible.

South Africa is an extreme case of how investment in education (severe underinvestment in this case) is strongly correlated with the future prospects of a nation.

comment 5y ago · link · parent

I find that believable, but we're talking about carbon, not oxygen.

Forests do sequester carbon for a period, although most of it is released again in fires and decomposition (chemically just a slow fire.)

But the point is that a forest locks up a lot of carbon compared to cleared grazing or cropland.

comment 5y ago · link · parent

How is natural gas a competitor to oil? I know of nothing that can be powered by both. Natural gas is way more competitive in electric generation, but oil is not commonly used for that if there are other alternatives. These are two very different markets.

The US and fracking have been the major competitor to the Saudis lately.

comment 5y ago · link · parent

Are you saying there isn't informative content on tv? That's pretty obviously false. There's a lot of misinformation too, but I don't see how the internet is better there either. You need good critical thinking skills period.

comment 5y ago · link · parent

The Amazon rain forest is not net zero because of animals. It's net zero (actually net negative last I heard) because humans are burning it to make way for agriculture.

Trees sequester carbon. They also return that carbon to the atmosphere eventually, but as long as they're replaced by new trees, that's fine. That's not what's happening in the Amazon.

From a carbon perspective forests for timber are even better because then we keep several generations of trees worth of carbon locked up in our structures. It's also an easier sell because that has real economic value.

From a biodiversity perspective it's not as good to have monoculture crops of any kind, including trees.

comment 5y ago · link · parent

Adhesives are not built for high-humidity environments. My parents live in the tropical rainforest of Panama. One of the challenges is that anything stuck together with adhesive usually comes apart over time. The glass panel on the door of my mom's oven fell off.

comment 5y ago · link · parent

I was talking about in cars specifically. It would seem to me that adding some kind of TEG around the engine and part of the exhaust system might be worth it on a hybrid vehicle. https://en.wikipedia.org/wiki/Thermoelectric_generator

I guess it would depend on if you can make it cheaply enough.

comment 5y ago · link · parent

I'm going to get downvoted to hell for saying this, but instead of "not letting the world make you feel bad about yourself" you could also harness that negative feeling as a motivation to do something about it.

Because being overweight is not you being the best version of yourself. Your health, energy, romantic life, and likely even career would improve if you did something about the problem. It is something that's entirely within your control to do something about.

Life is short, it's too short to spend it fat. The best time to take action is now.

comment 5y ago · link · parent

I think you're referring to the hole drilled in Oklahoma back in the seventies: https://en.wikipedia.org/wiki/Bertha_Rogers

comment 5y ago · link · parent

It can, through the second order effects you mentioned yourself. Eating more x or less y can definitely help you reduce your calorie intake without feeling hungry all the time.

comment 5y ago · link · parent

Yeah, that makes sense. If the heat at the bottom of the dam, to mix your metaphors, has no further to fall, that is the temperature gradient compared with the external environment is low, then you're right, you can't really do anything useful with it in a practical way.

comment 5y ago · link · parent

I think the car is a bad example because the temperature gradient is high and it should be possible to harness some of that waste heat. We just don't try. With hybrids we could definitely put that electricity to use, so I'm surprised no attempt is made to harness it. Especially for long haul trucking it could be worth it, but they're aren't diesel electric hybrid trucks that I'm aware of. Or at least they're not common.

I do understand your point though.

comment 5y ago · link · parent

I don't see how you can have it both ways. Either there isn't much waste heat, or there is lots of it and you can potentially harness that still.

comment 5y ago · link · parent

That's a good point.

comment 5y ago · link · parent

You wouldn't use a plutonium based RTG in civilian use for obvious reasons.

comment 5y ago · link · parent

> Also: RTGs are typically 3-7% efficient, so your trunk will put out thousands of watts of waste heat continuously. Hope you live in a cold climate.

Ouch. It might be possible to harness some of that with e.g. Thermal to electric circuits to improve the efficiency.

comment 5y ago · link · parent

There are lots of animals that can beat us at specific neural tasks. So I don't think it's helpful to think in those terms. For example, our visual short term memory is bested by chimpanzees, at least on certain tasks used to measure it across both chimps and humans.

Lowly mice likely have better olfactory capabilities than us. It wouldn't surprise me if their brains can handle some very specific things better than we do.

1
656667
184