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 3y ago · link · parent

It’s 5% of deaths, not of the population.

comment 3y ago · link · parent

I’ve been using GitHub copilot for six months now. It definitely produces a lot of code that looks right, but isn’t. I review anything it produces carefully. I’ve introduced one bug to production where I can say that was likely from copilot. Compared to the number of bugs I produced in that time, that’s nothing. It’s a productivity tool, not magic, and it’s not replacing me anytime soon. Like the auto complete in my IDE, it accelerates my work. There’s no going back for me.

comment 3y ago · link · parent

It would make more problems than it would solve.

comment 3y ago · link · parent

- the fed will keep rates higher for longer than people expect, and we’ll enter a “real” recession

- the fed will break something unintentionally in the economy

- stock market will bottom, maybe down another 20% from here

- crypto will bottom, down a lot more

- housing will pull back, good!

- housing in Canada will crash and take the economy with it. The world outside of Canada won’t be affected by that

- the war in the Ukraine won’t end

- Russia won’t use nukes in the Ukraine

- China won’t invade Taiwan

comment 3y ago · link · parent

How difficult would it be to stake Ethereum, supposing you could afford a multiple of 32 eth?

I know you can join cooperatives for this purpose, but then it’s not your crypto anymore and this space is filled with thieves and con artists.

It’s something I’ve been kicking around as an idea for a while as part of a diversified portfolio, if eth drops to a point where I could afford 32.

I’m extremely skeptical of cryptocurrencies, but eth is the best of them and the network transaction volume is supposedly in the neighborhood with Visa ( something I find hard to believe.)

comment 3y ago · link · parent

This makes intuitive sense to me. Startups are so hard that I know I wouldn’t persevere if I was sufficiently wealthy already. I’ve been failing at this game for twenty years straight. Like the OP, I quit last year and got a full time job again. But it always beckons me back somehow. It’s the failed startup attempts, the failed investments, the fraudsters who conned me out of my money, the career that could have been spectacular, but only ended up so-so because I’m not in the US. Somehow every knockdown from life makes me a little grittier, a little more determined when I get back up. How does a rich kid develop that?

comment 3y ago · link · parent

A few centuries. The biggest sea level rise will be at the end, the effect will be non linear. Long after we decarbonize, sea level will keep rising.

comment 3y ago · link · parent

Ouch, looks like they’re clobbering each others cache. Also, well done. It looks like you optimized the hell out of your code.

comment 3y ago · link · parent

It depends what you’d substitute into your diet instead. Meta studies I’ve seen show lower mortality for people consuming cheese, butter, yogurt, sour cream, etc. Which suggests to me that the average person chooses worse substitutions.

I don’t see why you’d include it in your diet if you don’t like it. But assuming you do, the evidence seems to suggest it won’t hurt you. It may even be better than common substitutes (like butter over margarine.)

comment 3y ago · link · parent

Yes, that’s precisely why hyperthreading is such a good deal.

comment 3y ago · link · parent

I’m sold, where do I sign up? Seriously, this sounds so amazing, I’m blown away* that I’m only learning about it now!

* pun intended

comment 3y ago · link · parent

That’s a valid and fair point, unless the study was registered ahead of time to protect against that.

comment 3y ago · link · parent

The meta analysis of dairy that I have seen suggest there are health benefits, especially for cultivated dairy (cheese, yogurt, etc). Do you know otherwise?

comment 3y ago · link · parent

Probability matters here. How many Nigerian princes that reach out to random strangers are for real? 0 to a large number of significant digits. How many studies with conflicts of interest are invalid? I suspect less than half until you show me numbers to the contrary.

comment 3y ago · link · parent

Plant based “milks” are seriously lacking nutritionally compared to dairy. You don’t need a study for that, reading the back of the carton will do. Almond milk, especially, is flavored water. Still, I agree about the inconsistency you point out.

comment 3y ago · link · parent

We will decarbonize. The only fossil fuel we have in massive abundance is coal, and it’s already not economical for electricity generation. Natural market forces could get us there alone. The problem has always been that it doesn’t get us there fast enough.

If we can just mine a mountain worth of lime and dump it in the ocean, that seems simpler and cheaper than trying to move all our coastal cities. Even if we decarbonize at the maximum possible speed, we’ll still have to do that.

comment 3y ago · link · parent

Yes there’s a conflict of interest. No, it does not necessarily invalidate the result. Claiming that it does is actually quite insulting to the scientists involved. Making that claim without even a cursory examination of the study design is just being a shit disturber.

comment 3y ago · link · parent

I think dairy in a lab would probably beat meat in a lab to market. It seems like a simpler problem. I think we will almost certainly move beyond both in the next thousand years, maybe even the next hundred. You’ll get your wish.

comment 3y ago · link · parent

Are you kidding me? One large mountain? That can’t be true. Why are we collectively losing our shit over climate change when we should just blow up some coastal mountains?

This seems eminently doable and a lot cheaper than just moving every city away from the coast, among other things.

I feel like there’s some fineprint I’m missing.

comment 3y ago · link · parent

But not the same memory operations. Unless your code fully saturates the memory bandwidth, which is rare, you get some gains here.

comment 3y ago · link · parent

In reality you never have a finely tuned load that uses all the resources all of the time. Processors spend a lot of time waiting for memory, so hyperthreading allows for better utilization of compute. It’s rare to have a workload that benefits from turning it off, and in those cases it’s usually because the hyperthread is hurting the cache hit rate enough to offset the gains.

comment 3y ago · link · parent

Sorry, I should have said they’re not safety problems. The commenters below got it right.

Memory safety bugs are very different, because whether or not they affect the functioning of your software, they’re a ticking time bombs that could compromise your system. A memory leak will at worst crash your software.

comment 3y ago · link · parent

Rust doesn’t though. But it does make it much harder to leak memory than C. You need to create a cycle between reference counted objects versus just forget to free something.

Not that it matters as much as people think. Memory leaks aren’t a correctness problem. You typically want to restart a program or service regularly anyway to deal with memory fragmentation. You also frequently have a watchdog like systemd to restart your program if it crashes. Heroku restarts your whole dyno once a day. This means in practice that programs with slow memory leaks tend to work just fine (there are plenty of them in the wild.)

comment 3y ago · link · parent

The plastic doesn’t really end up getting recycled. It gets burned, dumped, or shipped overseas where mostly it gets burned or dumped. Plastic is mostly not economical to recycle. Recycled PET is more expensive than new PET and structurally inferior.

comment 3y ago · link · parent

That’s ridiculous. We recycle all kinds of things. It has little to do with entropy, a lot more to do with can we make the process cheaper than starting from raw materials.

With plastic the answer is mostly no so far, but these enzymes have the potential to change that, maybe. With glass, steel, aluminum, it’s cheaper to recycle than start from ore.

comment 3y ago · link · parent

Japan is already in this position. I don’t think the change is about weapons.

comment 3y ago · link · parent

That’s also how I manage my weight. After a while you don’t necessarily need to count everything, you get pretty good at just estimating. I know if I have some drinks, I tend to go over budget and I compensate by trying to have a subsequent day under budget, or do some more exercise.

I like it because I don’t feel deprived. If I want something, I just fit it into the calorie budget. You pretty quickly learn that potato chips, soda, beer, and candy consume budget quickly and don’t fill you.

comment 3y ago · link · parent

Their rename functionality definitely saves me time, but I’d guess maybe only about half an hour per month on average.

It saves you more in stronger typed languages and if you rename things across files a lot. I work on smaller code bases.

comment 3y ago · link · parent

Did you miss the bit about grades?

comment 3y ago · link · parent

When the good students are Asians and the bad students are minorities, I can see this being canceled pretty quickly as being a racist policy. It makes sense to my engineer’s brain though. Why wouldn’t you want a meritocracy.
1
363738
184