Better HN
topnewbestaskshowjobs
Log inSign up

slashdev

17,493 karma · joined May 14, 2013 (13y ago) · 5,498 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 6y ago · link · parent

Agreed, lead blocks radiation quite well. I don't know why anyone would care about that property in a fungus. What is fascinating is that life evolved a novel energy pathway here, this is like photosynthesis but with gamma radiation. I'd love to know more about it.

comment 6y ago · link · parent

I can second this having done the same for many years. You often need to supply the company with a W8-BEN form, which they don't need to submit to the IRS, but they do need it on hand should they be asked for it. The form exempts the company from needing to do withholding of taxes in the US.

comment 6y ago · link · parent

Doing so may likely require creating a separate code path for threads = 1 case, which is probably not worth the effort involved.

comment 6y ago · link · parent

Relaxed atomics translate to native loads and stores. In theory there is no cost to them apart from the compiler barrier which prevents other loads/stores from moving past them, depending on the case.

For larger objects, std::atomic uses a mutex, so it's kind of silly anyway. If you wanted a mutex, better to make it explicit.

comment 6y ago · link · parent

I think it's about creating habits. I struggled to workout at home during the lockdown, and slid backwards a lot. When I have the gym available, I just go 5 times a week at the same hour every day. I don't have to think about it. I don't take my phone with me, so I have an hour at the gym with nothing else to do but do my exercises. So my advice to you is set a time on the weekends when you're going to workout, and make sure you do that every weekend without fail, pretty soon it'll just be another thing you do, like brushing your teeth.

It's a little awkward now because I have to schedule an appointment for the gym and I can only get access 3 times a week, and it's the building gym so there isn't a huge variety of equipment, but I'm making do.

comment 6y ago · link · parent

I agree very much with this idea. I'm working on bootstrapping a body building hard company at the moment.

I'm not exactly sure how it will play out, and it sure isn't easy. But I'm chipping away at it day after day and I'm confident I can make a living at it.

comment 6y ago · link · parent

This is not really relevant, but I found body building made me a better programmer.

I'm not sure if it's just healthy body healthy mind, or building up discipline, or something else.

I'm not much of a body builder compared to most, mind you, but I keep at it.

comment 6y ago · link · parent

I don't use those products, they only work for very specific types of queries. While I expect they will make it more broadly useful, I don't see it replacing content sites altogether.

comment 6y ago · link · parent

To the question raised in C, what's the alternative?

I think it's the best strategy. If you have a business, like the celebrity net worth one, you're in trouble. It's worth keeping in mind these days if your business has long term staying power based on the trends we know are currently underway.

comment 6y ago · link · parent

I disagree with that point. People are not going to stop searching for things online, and while Google does try to capture some of that traffic and keep people on Google, it doesn't work, even when they get it right, except for the simplest of queries. Anything more involved and I always click through to read more of the source material. I don't think that will change either.

comment 6y ago · link · parent

Except nobody wants to click on something produced by an NLP algorithm.

I don't doubt people will do that as they have every other shady SEO technique, but Google will continue to fight it as spam.

At the end of the day I think quality content is still king and the only viable long-term SEO strategy.

comment 6y ago · link · parent

It's very hard for people to be disciplined about not increasing their lifestyle when doing this in order to actually save enough. But it's a nearly 100% sure-fire way to achieve that goal.

comment 6y ago · link · parent

As usual the truth is somewhat more nuanced. There definitely are million dollar ideas, and there's a lot of bad ideas that sound like they could be million dollar ideas, but which don't work in practice, no matter how much work you put into it.

However, coming up with ideas is far, far easier than executing on them. If you're in a situation where you can't generate ideas, I would recommend reading/watching various advice on the subject in the YC library and elsewhere, to try and get closer to the right mindset to be open to opportunities. Then pay attention to all the little things you ignore day to day. Every time you find yourself getting frustrated with a company or process, that could be an opportunity in disguise. It's also beneficial to broaden your work experience. Go work in a different field or a field at an intersection with yours and pay attention.

Be Mindful of The Living Force as you go through life :)

comment 6y ago · link · parent

Nuclear does have a huge PR problem.

comment 6y ago · link · parent

I would also like to see a lasting peace there, and I hope we will. It happened with other things in my lifetime that many did not expect to see. The fall of the USSR, peace in Northern Ireland, etc. I'm not going to hold my breath though.

comment 6y ago · link · parent

That's an interesting story, thanks for sharing.

comment 6y ago · link · parent

I hope so, I bet on Rust for my latest venture. I'd be so sad to have to rewrite it in C++ down the road.

comment 6y ago · link · parent

I did some research, because I had trouble believing that the cameras don't deter crime. They do deter some kinds of crime (e.g. theft in the areas with the cameras) but not violent crime.

I'm really quite surprised, you'd imagine having a bigger chance of getting caught would make people stop and think.

Probably the reason is, as you say, that those types of crime take place where the cameras mostly aren't, like indoors.

comment 6y ago · link · parent

We use a variation of this "four squares" game at Sparkademy. The four squares of randomized point values (there's a pattern to it, but I don't want to give it away here.) The goal is to maximize your score which involves switching between exploring for a better payoff and exploiting what you think is the highest paying square over a large number of trials. We use it to as part of a criteria to identify if a person might be well suited for our innovation online course, and later be able to apply that knowledge in their company.

comment 6y ago · link · parent

In a common-law system the written (legislated) law is not actually the law, it's the court's interpretation of how it should be applied, taking into account similarities to other laws and the precedents set in applying them, that determines what it actually means. That makes it quite subjective and vulnerable to initial precedents in applying it.

comment 6y ago · link · parent

I think the cameras and electronics are great. A good way to reduce crime as opposed to adding more police. It's worked well in London to the best of my knowledge and I think we could use more of that in general.

What I object to is Google being the one entrusted with this data, with no oversight, and cross-referencing it with all the other data they have on me.

comment 6y ago · link · parent

That's part of the solution I'm working towards.

I'm using 'static references for the map keys, but they're not really 'static, so I use unsafe transmute to create them and I rebuild the map when the memory map changes to a different address.

comment 6y ago · link · parent

TimescaleDB is great, not just for timeseries data, but also if you're trying to scale your Postgres database (with some cavaets, obviously.)

One often has a small number of tables, often a single table, with a high write workload. Changing it to a timescale hypertable, provided you can work with the additional restrictions that has, can let you instantly 10X your write throughput (or more with multi-node timescale.) That's a lot cheaper than trying to scale your database write IO by 10x.

I like multi-cloud services like this because it reduces the vendor lock-in that happens with these public clouds.

comment 6y ago · link · parent

I always rather thought D had a lot of good ideas. But it hasn't caught on, and I don't see that changing.

If you can't get a job in it ( comparatively), can't find quality libraries for common tasks, and don't have a large user base running into painful edge cases before you do, it's going to be a rough ride.

comment 6y ago · link · parent

Now make it a global thread safe hash map where the keys are references into a mutable memory map that can move it's address (be remapped.) That's currently where rust is making my life miserable today. In C++ this is quite straightforward, albiet full of footguns.

Every time I need a static mutable thread safe map in rust for a cache or registry or some such thing, I groan.

I have a love hate relationship with rust. I love a lot of things about it, but sometimes I get so fed up with the borrow checker I drop into unsafe and just write the problem off as something better not done safely.

comment 6y ago · link · parent

The article published in nature: https://www.nature.com/articles/s41477-020-0740-1

3447.

Hacking photosynthesis increases crop yields with less water(theguardian.com ↗)

2 points · by eloff · 6y ago · 1 comment

comment 6y ago · link · parent

Yes, objectively the evidence I've seen supports that HCL and zinc, if given early enough, improve the outcome for the patient.

The media, which is mostly left leaning, ignores this and instead prefers to take cheap shots at Trump whenever possible on the subject. It seems very biased, very childish, and entirely divorced from reality - actually that more or less sums up the state of US politics lately.

comment 6y ago · link · parent

How about just tell the truth. Masks work, but we have shortage of PPE for our frontline medical workers, so please do not buy PPE.

I think people can handle the truth. When you lie, you might temporarily achieve your objective, but you're sacrificing your ability to achieve any of your objectives in the future. Now I don't trust the WHO because of this, and I'll be less inclined to take them seriously.

1
114115116
184