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

Nothing is infinite. For the purposes of grinding basalt rock to sprinkle on farms, it is essentially sufficiently abundant that it doesn't matter.

comment 4y ago · link · parent

"In the late 1990s, the government instituted land reforms intended to evict white landowners and place their holdings in the hands of black farmers. However, many of these "farmers" had no experience or training in farming. Many farms simply fell into disrepair or were given to Mugabe loyalists."

" From 1999 to 2009, the country experienced a sharp drop in food production and in all other sectors. The banking sector also collapsed"

Looking past the racial issues, what this was is a socialist redistribution of wealth away from a productive educated class to an unproductive, uneducated and corrupt class. It's economic suicide, if only the corrupt government had been educated enough to recognize it. The results were predictable. South Africa is flirting around the edges of doing something like this. I hope the example of their northern neighbor is enough to stay their hands.

comment 4y ago · link · parent

Rock is not a scarce resource. The planet is literally made of it.

comment 4y ago · link · parent

I don't, but I'm general it matters most for the cheapest C calls, so the functions doing the least work. Batching those somehow can give big speedups, over 2x, depending on how much of the total time was going into cgo overhead.

comment 4y ago · link · parent

It's not as simple as NIH. Using cgo means you have to build and link external dependencies in another language. Compared to Go, this makes it quite a bit more difficult to build and distribute than a single binary. But I think the biggest reason is cgo is slow. Unlike rust which uses the C calling convention (correct me if I'm wrong) and has no garbage collector or coroutine stacks to worry about, Go has a hefty price to pay when calling a C funcion. For something like sqlite that causes a noticable slowdown. Typically what I like to do in this case is write a C wrapper around the slow API that let's me batch work or combine multiple calls into one. With sqlite, instead of fetching rows one at a time, I would write a wrapper that takes some arrays and or buffers to fetch multiple rows at a time. That amortizes the overhead and makes it less significant. When that's not possible, I use unsafe and or assembly to lift just the problematic C calls into Go. That can sometimes work wonders, but it's also not a magic bullet.

comment 4y ago · link · parent

A stock (specifically the company behind it) is also an income producing asset. That income will eventually be returned as dividends or through stock buybacks.

I know there are stocks that don't do either of those things (although rare) but the idea is they will one day in the future. You're still paying now for a piece of future profits. That's very different from a pyramid scheme.

comment 4y ago · link · parent

Because CS had physical offices and servers behind that digital knife. Lacking a physical security guarantee like the army, some armed group or nation state can simply take or destroy the physical things from CS and there goes your digital possessions too.

It's hard to imagine, but basically a state does need some level of force to be able to protect property rights. Without that you can't have much of an economy period, nevermind a digital economy.

comment 4y ago · link · parent

Haha, yeah that raises some interesting questions about what a company is. I feel like you could look at it through that lens.

comment 4y ago · link · parent

I would say the expense is both latency and availability because if one node doesn't ack within the timeframe then you have to drop it from the cluster. Requests that go there would need to be routed elsewhere to avoid being unavailable. If there's a network partition preventing that, then you have partial downtime. If enough nodes fail then you have full downtime across the whole cluster.

comment 4y ago · link · parent

Yes, that's true.

comment 4y ago · link · parent

The oldest company in the world is only 1443 years old (Kongo Gumi of Japan.) Most companies don't last a single human lifetime. It's completely besides the point to bring up things that play out over billions of years in that context. It's just trolling.

comment 4y ago · link · parent

For a Cloudflare article, this one is surprisingly light on technical details. And for the product where it most matters.

I'm guessing this is a single master database with multiple read replicas. That means it's not consistent anymore (the C in ACID). Obviously reads after a write will see stale data until the write propogates.

I'm a bit curious how that replication works. Ship the whole db? Binary diffs of the master? Ship the SQL statements that did the write and reapply them? Lots of performance and other tradeoffs here.

What's the latency like? This likely doesn't run in every edge location. Does the database ship out on the first request. Get cached with an expiry? Does the request itself move to the database instead of running at the edge - like maybe this runs on a select subset of locations?

So many questions, but no details yet.

comment 4y ago · link · parent

I was just at lake Powell a couple weeks ago. It was very sad to see how low the water was. Lone rock is completely dry. Beaches where people used to park their boats are now up 80ft of cliffs. I couldn't help but think I was looking at climate change first hand. I know it's more complex than that, but the feeling was unshakable nonetheless.

I think for now the solution is to raise the price of water for agricultural users and let the chips fall where they may. That's the vast majority of water use in the southwest. One could do this in a somewhat balanced way by offering some financial support for said farmers. But it has to be done.

comment 4y ago · link · parent

It's not shit you stole, not even shit your ancestors stole, it's shit someone who once occupied the same territory that you now occupy stole during a state of war.

I think for the same reason we have a Statute of Limitations on property crimes, you shouldn't have to return anything. Returning it would be very woke indeed.

comment 4y ago · link · parent

There's a big difference between selling at a low and locking in that loss, than selling and watching the market move up afterwards. Especially if the low was artificial and extremely temporary.

comment 4y ago · link · parent

If you sold shares during that window, you lost real money. There are also possible margin calls and effects on leveraged instruments.

Certainly many did lose real money here.

comment 4y ago · link · parent

I think the biggest objections to fertilizers are environmental? It's not like pesticides where people worry about residue on their food? They may not be overlapping then.

comment 4y ago · link · parent

EdTech startup | Senior Full Stack (Software) | Zurich, Switzerland | Full-time | REMOTE (European or American Time Zones Only) *

https://www.dropbox.com/s/5zy8k6nw3h59zy1/20220406_Senior%20...

At Sparkademy, we’re on a mission to help people learn soft skills better, faster. We put learners and clients at the centre of everything we do and are working towards building a scalable application to process thousands of learners in the future.

We serve corporate clients and their employees all over the world, and we aim to help them achieve their learning goals more efficiently and effectively than anybody else. To deliver a product that learners love, we are building a new learning experience platform using cloud native and open-source technologies. We are looking for a senior developer who can be a main contributor to our product team, guide the architecture of our backend and ultimately help busy professionals build a habit of continuous learning and improvement. Please inquire for more details. Thanks!

Senior Full Stack (Software) - https://www.dropbox.com/s/5zy8k6nw3h59zy1/20220406_Senior%20...

Our tech stack: Python/Flask, Typescript, Postgres, React, Hasura/GraphQL

comment 4y ago · link · parent

I'm Canadian. I know someone who died because their cancer became inoperable during the 9 month wait for a scan. Might they have lived on the US system? Maybe.

Both systems have flaws. If I had to choose, I'd pick the Canadian system. But it's not a panacea.

comment 4y ago · link · parent

I don't see how it compounds. It's just a royalty stream?

It must keep pace with inflation though (I guess through increasing sale price of Listerine over time?)

comment 4y ago · link · parent

Do you have to be a US citizen to purchase these?

comment 4y ago · link · parent

While true for England, things went a little differently in France with the French Revolution. I'm not sure if it started as you say, but it ended not much differently than a violent overthrow of the ruling class in other countries.

comment 4y ago · link · parent

Offer me a great price to anywhere warm in winter and I'd be one of those impulse buys.

comment 4y ago · link · parent

Ironically those kinds of things are the things AI deals with most easily. That's all math and physics. The hard part is understanding the environment and adapting the the unexpected.

comment 4y ago · link · parent

There's an exception to every rule. I think the point is that energy may be a good signal. Are there better signals?

Spotting talent is hard.

comment 4y ago · link · parent

Or worse, like free mobile in France, force you to send a paper letter with a specific format to cancel service. I cancelled my credit cards instead and will let them try to collect internationally.

They also let you cancel by phone, if you speak French.

They have quite a nice online portal area where I can login and make changes to my plan. But they don't let me cancel there on purpose. It's a dark pattern and I'll never use their service again as a result. Which is too bad, because I was quite satisfied with it otherwise.

comment 4y ago · link · parent

> , the bulk of the excess gold in a money -> commodity -> money transaction comes from extracting value from labor

Huh? Thats just speculation, why would gains come from labor? Would losses go to labor? I dont see a connection.

comment 4y ago · link · parent

Evil is not an argument. It is a trivialization itself.

One can argue that it's a bad thing (evil is still too strong a word I think.) But that's not what's going on here.

comment 4y ago · link · parent

Short range fights might go electric. Long range fights may still use jet fuel, but hopefully jet fuel created using carbon from the atmosphere using renewable energy. That's carbon neutral.

comment 4y ago · link · parent

Is iPhone production very polluting? I don't think that factors into it very much really. More cost of labor, proximity to suppliers, and domain knowledge.
1
515253
184