HN user

wjmao88

137 karma
Posts0
Comments43
View on HN
No posts found.

They make the earth extremely hot as they absorb so much heat from the sun

What are you smoking? The sun is not sending more light to the places with solar panels. It just absorbs light that is already hitting earth. If anything it makes earth cooler as it absorbs light that would otherwise just hit the ground and make ground hotter.

In the beginning everyone thought COVID is only droplet transmission and in that case regular masks work really well because it prevents someone carrying the virus from spreading dropdlets. It doesn't even have to be very tightly fitting because droplets will get attached to the fabric. Later there were some evidence that it can become aeresol in some high concentration situations like hospitals, but for all practical purposes in everyday life its droplet.

The problem is not that they are ineffective but that people followed them poorly. I've seen countless people wearing them super ineffectively like leaving their nose completely out, and many people when they wear surgical masks they don't bend the metal bar to fit to their nose and instead basically have like a canopy instead of a mask which of course doesn't do much.

Its Conway's Law, Your code organization is a reflection of your engineering teams organization.

The number of repos you have should roughly be equal to how many autonomous engineering "groups" you can divide into that work largely independent of other groups. Anything a group touches should probably be in the same repo as everything else that the same group touches.

If your whole file is semantically the default export, then why not?

There are advantages with default exports, e.g. you can name it at usage site the way you want without the `:` syntax. Also some things like `React.lazy` only works with default exports.

I can see where you are coming from, but all the points you made are actually still relying on the mental health of a small group of indivduals. What prevents them from picking the cult of personality for personal gain over their public responsibility? Not to mention some of these people aren't even democratically elected. You don't need to look further than the current US republican support for Trump.

I think any blanket policy that just apply the same rule to everybody is just lazy policy. A less lazy approach is provide the capability (through e.g. ISP or device manufacturer) to do so to parents/guardians and let them make the choice on an individual level.

Even for education, its much better to have options for home school or special needs school, than it is to just blanketly say all children must go to a regular school like every other child.

I mean sure, you could blame cronyism for any ideology or systems because these ideologies were always presented, as the name implies, in an ideal situation. What is always important is the ability of that system to be fault tolerant in a not so ideal world, which is where capitalism fails and that is squarely on capitalism itself.

Ironically, that article was written in a era where there weren't really boot camps, only CS Grads from actual universities, and in that article it specifically calls out many CS grads cannot code.

Interestingly, Baidu had been selling moderator rights for boards on its Tieba (which is kind of the same as subreddits on reddit). It got lots of backlash especially after they sold mod rights for some cancer patient support group boards to, well, alternative medicine promoters.

Factorio 1.0 6 years ago

If the people who own the factories can make everything they want, then they have no incentive to expand their factories beyond what is necessary to give them what they want, and, unless their factories takes up all available resources, then what prevents other people from making their own factories? So everyone will just have enough factories to be self sufficient on their own.

However, there are two conditions for that to happen: 1. That there are enough resources to build factories for everyone 2. Everyone have access to the knowledge and means to create those factories.

The way I see it, space exploration is vital in guaranteeing the first condition, and having an open forum of knowledge sharing and research is needed guarantees the second condition.

Data from unknown sources should just be thoroughly checked where they enter js land to make sure they conform to type expectations. If they are, then relying on static type checking from that point on should be fine.

React state is scoped to the outer-most box, that way it doesn't change on every render

The state (of the hooks) for individual components are still scoped to that component only, its just stored in the "outer-most box", and the structure corresponds to the component tree. If a component unmounts and remounts, the prior state is lost.

I would say the issue with symbols is why I had trouble with linear algebra in college, specifically dot and cross products. The fact that they used the same symbols as scaler multiplication and are also called products confused my mind so much.

Skylinesort 6 years ago

So I don't really understand this after reading the explanations.

1. You claim to have explained the height of the sticks "later". Maybe you had it explained in one of the paragraphs, but I just don't see it.

2. In the diagram that is supposed to illustrate the left sweeping part, it has fancy windows and doors but doesn't have anything to explain why the lines are drawn that way. The home page animation also didn't give me any insight on how that part is supposed to work.

Educated Fools 6 years ago

but its not the physician who is actuall making the decision, its the policy makers that actually made the decision that if you meet certain criterias then certain actions will be taken. The physician is only there as an advisor to assess whether you meet those criterias.

The supply system for Europa Universalis (which is part of what I referred to as "other Paradox titles") is actually very barebone, consisting almost entirely of "you can only keep a certain number of troops in a province without attrition", where the number of troops depends on terrain, friendly/enemy territory, etc. Hearts of Iron has actual supply chain management.

As for Civilization, I've always treated it as a battle chess game rather than an actual strategy simulation game.

The scale/scope of most of the RTS games is that of a battle, not that of a war.

I remember there was an old game, Napolean 1813, that has some level of supply management in the form of needing to build a chain of supply stations in different cities to support nearby troops. The map of that game stretches from Paris to Eastern Europe.

Another game that has supply management is Hearts of Iron, where the map is the entire world. I mostly play other Paradox grand strategy titles, but people have jokingly called Hearts of Iron the "Best supply chain similator game"

Hi Dan, this is great and I really like this. But, I think what made me appreciate this is mostly your algebraic effects blog post. My issue with the examples in the reactjs doc pages is that it compares a naive and (intentionally)buggy implementation to a working implementation, so to evaluate the benefits I have to mentally fix the buggy version with existing react and compare that to the working version. It would be easier to see the difference if it could have a working implementation with current react to compare to the implementation with concurrent react.

Also, I'd love to read something about why throwing promises was chosen over other possibilities.