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

Agreed, copyright has gone too far. I hope the advent of AI serves to weaken it.

comment 3y ago · link · parent

Ah, got it. That makes sense.

Very reasonable tradeoff for an application server, which is embarrassingly parallel and holds little state.

comment 3y ago · link · parent

One of the big reasons I left Canada is I didn’t like paying for the freeloaders. I didn’t like the high taxes. The other big reason was the insane real estate bubble that priced me out of the market. Between the two of those, I have better opportunities elsewhere.

comment 3y ago · link · parent

This is objectively true. There are plenty of people who would rather have a meager lifestyle on welfare than have to work. You can argue what the percentage is, but you can’t deny that’s above zero.

comment 3y ago · link · parent

I’ve used gevent, but I don’t remember this behavior. How does it prevent the GIL from being released when running Python code?

comment 3y ago · link · parent

No, I wouldn’t call it cooperative threading, it’s still preemptive in that any Python thread can be switched with another at any instruction. That’s the same behavior as the operating system with the same potential for race conditions (except python instructions are higher level than machine code instructions.)

While C extensions can release the GIL, that only makes sense if they do enough work that a Python thread could get some things done in the meanwhile, and it wouldn’t be surprising to the caller. Obviously the C thread can’t interact with the Python world after the GIL has been released.

comment 3y ago · link · parent

Correct. Python multi-threaded code is not magically thread-safe. What it did do is make C functions atomic, like dictionary and list methods, since they're implemented by C functions. The reason is the GIL is released and re-acquired while executing Python code (every 100 ops if memory serves), but isn't released by most C functions, making them called with the global lock held, which makes them atomic. You can still have a thread switch between any two Python op codes. e.g. foo += 1 may or may not be atomic depending on how many op codes it compiles to (IIRC, in CPython, it is not atomic.)

comment 3y ago · link · parent

That’s a lot of resources for a low success rate though. The obvious question is could you get a better result using those resources elsewhere? Like education?

comment 3y ago · link · parent

Who’s going to pay for that? Why would those people want to work if they can just freeload?

There are serious problems with welfare programs. They’ve been the downfall of entire countries. Look at Argentina where the bloated government payroll can be viewed as a sort of work for welfare program. The country can’t afford it and its currency blows up on a regular basis as a result.

That’s not saying you should have no welfare programs, but there’s a balance to be maintained. Probably it should be time limited so people are given a sort of “financial rehab”, but not disincentivized to work. And it shouldn’t stop if you get a job, why, just why would you want an incentive against that.

Some people seem to think there can be consumption without production or life without work, but that’s logically incoherent.

comment 3y ago · link · parent

It’s very low, lower than regular rehab, which is already not that effective.

comment 3y ago · link · parent

Or, more likely, if people no longer need to work they no longer provide utility and are dead weight that needs to go.

I don’t think work will go away, it will just change, maybe too quickly for people to keep up.

Post AGI nobody knows. It’s debatable that humans will still have a place in an AGI world. But that’s also much further away than people seem to think. I don’t expect to see it in my lifetime (next 40-60 years).

comment 3y ago · link · parent

Jocko Willink has a great quote on this subject:

  Rome wasn't built in a day.
  Everyone knows that.
  It took hundreds of years for Rome to reach its peak.
  But Rome also didn't fall in a day.
  It also took time, hundreds of years, for Rome to decay and fall apart.
He goes on to say that each day we're either improving or decaying, either getting a little better or getting a little worse. Those little things add up over time to make a big difference in our lives.

comment 3y ago · link · parent

I've seen numerous findings that support this. It could just be cherry-picking, so do your own research.

- High incidence of MS in northern hemisphere compared to low incidence near the equator. http://www.bandolier.org.uk/booth/neurol/MSgeog.html

- Better outcome for skin cancer patients if diagnosed going into summer vs winter. https://onlinelibrary.wiley.com/doi/abs/10.1111/dth.13625

There's a decent article on the subject on nih.gov here: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2290997/

And another by Harvard here: https://www.health.harvard.edu/diseases-and-conditions/benef...

comment 3y ago · link · parent

That just goes to show that people will complain about anything instead of applying their brain.

There are plenty of valid objections to hydrogen as a fuel, but water use is a total non issue. Not only does it use so little, but when you get energy back out of the hydrogen, the waste product is water again. It’s literally a renewable cycle.

comment 3y ago · link · parent

I think I made it clear that it’s my opinion, when I used the words “in my opinion”.

Your comment is a passive aggressive way of saying you disagree. I expect some people will disagree.

I’m one of those dangerous people not afraid to break rules, any rules, if it’s my judgement that the breaking the rule will lead to the better outcome for all involved. A lot of people don’t live that way and can’t fathom that kind of attitude. I don’t always make the right judgment call, but I’m not going to shirk the responsibility of making a judgment call, nor be afraid of making it. I’m willing to take responsibility for the consequences of my actions.

If you follow all the rules blindly, you are still a child.

comment 3y ago · link · parent

And while you’re doing that, get a few more titles from the same publisher and don’t pay for them. Vote with your wallet that this is not acceptable behavior. That’s also fair in my opinion. You ought to be compensated for your trouble and risk.

comment 3y ago · link · parent

You’re usually prohibited by the PSP from gathering or storing the CC details directly. You’ll notice you often don’t give the merchant the details directly.

Some large merchants do take the details directly, but they typically have to go through all the PCI compliance hoops and maintain that.

There are exceptions, but most of the time the merchant does not see your credit card details.

comment 3y ago · link · parent

With “proven” in quotes, since nothing is actually proven in the scenario you’re talking about.

comment 3y ago · link · parent

Extraordinary claims require extraordinary evidence. Can you point me at it?

comment 3y ago · link · parent

As a software engineer and a huge fan of technology in general, I think electronic voting machines are the devil. Digital information is too easy to alter. Good old-fashioned paper elections are a well vetted technology that we know how to use and can be implemented and audited well. Electronic voting, not so much. It's not just important to have a free election, it's important that everyone has faith that it was a free election. Because if people no longer believe in the process, democracy will die. So it has to be transparent, audited by neutral and external parties, and it has to not just be impossible to tamper with, it also has to make everyone believe that it is impossible.

I hope the will of the people prevails over the supreme court in Brazil eventually.

comment 3y ago · link · parent

To me the biggest revelation was how enmeshed the Twitter executives were with the FBI, the CIA, the DHS, local and state governments, etc. The reporting on the left was very dismissive, so if you don't also read any right leaning news sources, you definitely didn't get a balanced take on it. News media is so biased these days (on both sides) that you have to read both sides critically just to get some idea of where the truth might lie. Other revelations of note were how they suppressed information arbitrarily, seemingly on a whim. Sometimes at the behest of the government. That's very dangerous when the government can start dictating what speech is allowed and what is not.

comment 3y ago · link · parent

It was eye opening to see how Twitter was moderating things behind the scenes. These companies can be trusted about as much as you’d trust a wild bear to share the trail with you peacefully.

Why the downvotes? Asking for a friend.

comment 3y ago · link · parent

Fascinating. Have you considered open sourcing this without your algorithms ( empty buy/ sell loops)?

I’d like to play with something like this but I couldn’t be bothered to build it all from scratch.

comment 3y ago · link · parent

I think you misunderstand me. What I’m saying is that price inelastic demand for the stock through buybacks puts upward pressure on the stock price, no matter the current price, preventing the normal market process of price discovery from working well.

This then is amplified by passive investment. I think that’s what makes buybacks so effective.

I’m not saying anything about it making it harder to determine the intrinsic value of a stock, which I think is what you’re talking about.

comment 3y ago · link · parent

Stock buybacks create a steady demand that’s price inelastic. I think one side effect of that is it suppresses natural price discovery.

Another part of it is passive investing in indices and etfs cause money to flow disproportionality into the biggest stocks by market capitalization. This is a positive feedback cycle for the largest companies in the index.

These stocks may well go higher. But they are also at levels right now where you are unlikely to get a good return on them if you invest long term from here.

I would neither invest in them nor go short against them.

comment 3y ago · link · parent

I really love playing with vector instructions, especially AVX2, which is the most limited in my opinion. You get a whole bunch of oddly shaped legos, and it’s very challenging to build something beautiful from them. But also very fun and rewarding.

comment 3y ago · link · parent

Mmmm. Cheesy scalloped potatoes. I haven’t had that for a long time. One of my most treasured possessions is a folded piece of paper on which my mom hand wrote her cheesy scalloped potatoes recipe for me.

comment 3y ago · link · parent

Honestly I don’t think the government is sufficiently competent to cover up something as big as intelligent aliens arriving on earth. That’s the most exciting news ever. There’s just no way in my mind they could keep that quiet successfully.

comment 3y ago · link · parent

Sorry, what war has been fought over cobalt, lithium, or nickel? I think that’s just not true.

comment 3y ago · link · parent

Because renewables are intermittent and unevenly located. This could potentially solve those problems.

There could be a space for it. Or maybe batteries will just always be better. Depends on the full costs of each and the use case. Burning fuel to make electricity is pretty inefficient, but burning fuel for heat compares better.

1
252627
184