Better HN
topnewbestaskshowjobs
Log inSign up

programmarchy

1,892 karma · joined Apr 15, 2012 (14y ago) · 1,207 submissions

Submissions

comment 4y ago · link · parent

If I'm understanding correctly, this is binding event handlers "just in time" instead of when a component initializes. Isn't that just a tradeoff between working the CPU at load time vs. working the CPU on user interaction?

This doesn't seem like a great tradeoff to me. Sure, maybe you save time during component initialization, but while that is happening the user is digesting the information anyway. Then once they make their decision to act, there's no extra delay to produce the next state. However, with a "just in time" event binding, now the user has to wait (slightly) longer after they've already made their decision, which seems worse.

comment 4y ago · link · parent

“First they came for the mosquitos, but I said nothing because I was not a mosquito.”

A bit tongue in cheek, but there are ethical issues raised by wiping out species. Next mice, then wild hogs, then on to other “pests”.

comment 4y ago · link · parent

LGTM!

comment 4y ago · link · parent

To answer this, ask why you use an SSH key to authenticate with all of your servers.

comment 4y ago · link · parent

This is an aspect of liberalism not democracy. It seems paradoxical until you realize liberalism is anti-democratic. The original intent of liberalism was to protect the private interests of the land-owning class, who were and are a small minority, although now any minority can buy into the franchise. The majority is openly hated, and the resentments of the minority against the majority is cloaked in language about love and democracy.

comment 4y ago · link · parent

The government grants charters to corporations. Corporations are thus franchisees of the state. The idea that corporations are sovereign rule makers for society and not bound to the laws of the land is misguided.

If the government charters corporations that suppress free speech, then they are effectively making a law that abridges free speech.

comment 4y ago · link · parent

Sounds like something other than thinking.

comment 4y ago · link · parent

Yo dawg, I heard you like dependencies, so we created a dependency injector dependency for you to inject so you can inject your dependencies.

Sorry couldn't resist. The additional dependency is the biggest problem I have with OP's approach though. Now none of my classes are easily portable across projects, and this DI framework is going to spread around everywhere.

comment 4y ago · link · parent

April fools! Ha, they really got you didn't they?

comment 4y ago · link · parent

I try to address the definition in another comment below (to tenuousemphasis), and would be curious to hear your response there. I would add that I think the dictionary definition raises the same issues as the colloquial ones.

comment 4y ago · link · parent

Personally, I do believe in a universal reality. Tangentially, I also believe that cannot be justified by an autonomous epistemology. But to the point, humans make mistakes, have biases and incentives, and do not always tell the truth. Science is a human affair. Because of this, politics is present in science and even intrudes upon the processes of conducting the scientific method. Ignoring this "heresy" will only compound the issue, and further erode trust in our institutions. The remedy is more honesty, not less.

comment 4y ago · link · parent

I’ll take the opportunity to expand. Say you observe an event directly, with your own eyes. We’ll exclude optical illusions, hallucinations, or the possibility of a demon manipulating your brain in a vat. Is your direct observation a fact?

It’s an important observation, so you must communicate it to others. You perform a speech act to tell a few colleagues, with utterances and gesticulations to describe your observation as closely as possible. Is your oral exposition a fact?

You must communicate the observation widely for the good of society. You write a Tweet thread, and publish a scientific paper to the journals. Are these written productions also facts?

It’s retweeted, and a summary of the preprint is published to nature.com. Facts?

Colloquially, most people would refer to all of these things as facts. And each one is a carefully constructed human artifact, whether it’s sensory data imported and stored in your brain, a speech utterance, a Tweet, or a scientific article.

comment 4y ago · link · parent

Sure, I’ll concede that definition. But I’m referring to truth claims presented as facts.

comment 4y ago · link · parent

I’m not a skeptic but recognize Hume has a point, and if one doesn’t take epistemology seriously then one is merely a dogmatist. Dogmatism has become an acute problem in our institutions as the OP indicates, and surely you’ve heard of the replication crisis as well.

comment 4y ago · link · parent

Facts are carefully constructed human artifacts, not ideal platonic forms. Since they are usually formed by a consensus, or at least the appearance of a consensus, they are inherently political. The scientific method will tend to produce facts which are "eventually consistent" with reality, but since humans are involved, it's not a guarantee, especially in the short term.

comment 4y ago · link · parent

As mentioned, official support was dropped and the community supported extension hasn't been updated in ~2 years. If you need to target WebGL, then Unity is a better bet.

comment 4y ago · link · parent

You don't need an app to detect alcohol because you can taste it, unlike GBH.

comment 4y ago · link · parent

It's interesting to see a Tweet by the founder of YC get flagged on HN.

comment 4y ago · link · parent

Most people in the world don't have time to post on HN, or even have the privilege of knowing it exists. You posting a reply here is a very strong entitlement.

But if they did, they would probably come here and reply that they don't want 8 drunken college bros constantly partying next to their house either.

comment 4y ago · link · parent

Thankfully, I don't live in ancapistan, so I can vote instead.

comment 4y ago · link · parent

If you have a family home, you probably don’t want 8 college students moving into the house next door to you. This was a restriction in my college town. As a student, I didn’t like it, but as a homeowner with a family, I completely understand.

comment 4y ago · link · parent

Suggesting alternate investments is a separate issue than a critique of index funds. Of course people will be reluctant to offer financial advice. But the author of the article is advocating for value stocks.

comment 4y ago · link · parent

Unlike American corporations, it'd probably have to be decentralized, highly liquid, and ideally trustless, but I can't think of anything like that. However, another strategy could be a basket of currencies in developing countries. They won't be immune to the cascading effects of an imploding US dollar, but theoretically would rebound better.

comment 4y ago · link · parent

Michael Burry has two main points against index funds: 1) large-scale passive investing has deteriorated the price discovery mechanism for index funds and 2) there's a liquidity risk because trillions of dollars are linked to stocks in index funds that only have hundreds of millions of trade volume. So if there's a cascading failure, as smarter money realizes the price is wrong and begins to exit, there will be no buyers and the majority of index fund holders will be holding the bag.

comment 4y ago · link · parent

Isn’t Vulkan compatible with macOS, though? MoltenVK is an implementation using Metal.

comment 4y ago · link · parent

Presumably there's an epigenetic effect from this i.e. having dumber parents would have negative effects on their children. But over time that should improve with the removal of lead from the environment. So we can at least take solace in that things ought to get better:

> Blood lead data were instrumental in developing policy to eliminate lead from gasoline and in food and soft drink cans. Recent survey data indicate the policy has been even more effective than originally envisioned, with a decline in elevated blood lead levels of more than 70% since the 1970s.

https://www.cdc.gov/nchs/nhanes/about_nhanes.htm

comment 4y ago · link · parent

And so few capable of nuanced discussion.

comment 4y ago · link · parent

You appear to be shadow-banned, FYI. Other than this comment, most of your other ones show up dead.

comment 4y ago · link · parent

Right, I think you could say a binary tree is a kind of B-tree, though.

comment 4y ago · link · parent

I had assumed btree in Postgres was referring to a binary tree but that is definitely not the case. I also learned when to use a hash index, rather than a btree. (If I understand correctly if you’re only using the = operator rather than something that needs sorting with >, <, <=, etc. then a hash will perform better.)
1
131415
41