Better HN
topnewbestaskshowjobs
Log inSign up

sutterd

592 karma · joined Oct 2, 2014 (12y ago) · 351 submissions

Submissions

comment 5y ago · link · parent

I know the coffee thing is just an analogy to make his point, so there is not much point in arguing about it. But since I face this question every morning, I can't help but say what I think about, and it is not latency versus throughput. It's latency versus risk.

For me it is tea, and not coffee. I have an automatic kettle that will bring the water to a desired temperature and then holds it there. I also have a small ceramic tea pot I brew tea in. I often rew 2 or 3 batches (I know which when I start). I heat the entire amount of water by default, even though that takes longer to initially heat.

Sometimes I am in a hurry and want the tea sooner. Then I consider if I should heat a smaller amount of water to get started faster. I don't think I have ever done that though. The reason is risk. (1) Will it heat the water in time. The answer is yes it should, but that would be very bad if it didn't. Then my tea pot would cool down as I waited. I think that might be bad for the tea quality. To me this is an assymetric bet. (2) Will I even remember to put more water in the kettle. I am such a creature of habit. That would really mess up the tea pot temperature. (3) Will I even put the right amount of water in for the initial pot. That takes 2+ portions of water. One to preheat the tea pot, a small amount to rinse the tea, and then the portion to actually brew the tea. That would also be bad if I didn't have enough water.

Granted, a number of those items are just because of habit/momentum. If I normally heated enough only for he first batch of tea, then I might be hesitant to heat all the water ahead of time.

So for me it comes down to latency versus risk. I suspect this is a factor in "real world" decisions to.

For what it is worth, when I write software, I would say I dive in sooner and start writing something like an MVP, along the lines ofwhat the author is saying. Admittedly I plan more features than I plan on writing for the first version, kind of like giving yourself a good leve when playing pool.

comment 5y ago · link · parent

I bet the author uses print debug statements some times.

comment 5y ago · link · parent

A ways back, the president at a multi-discipline engineering consulting firm I worked in made an interesting point. If you give ten EEs a hardware task, they will come back with something that looks similar. If you give ten software engineers a software task, they will come back with ten completely different things. I think this is because in software there are so many possible ways to do something, and so much richness, that writing software is a very different from making hardware, or architecting a building, to go along with the parent comment.

comment 5y ago · link · parent

This may be beside the point, but I don't think there is any alien lift out there. I am going to make up number N_life_universes which is the number of universes needed in order for an instance of intelligent life to evolve. Many people seem to assume this much less than one. I think it is much greater than one, meaning most universes you look at will be void of life. I'd also say there are many universes, one source being the rules of quantum mechanics. But I know some people believe in wave function collapse, and if that is true I am not sure what this means for having mulitple universe.

There is a related number, N_hamlet_universes. This is the number of universes needed in order for monkeys to type Hamlet typing as fast as they can, covering every planet spaced 6' feet apart (in case one gets sick). I think this is also a very large number but I haven't figured it out.

comment 5y ago · link · parent

I don't understand how people view changing the past with time travel. If I go back in time I might experience a given point in time twice, but that point in time still only happens once. So if I go back to 1940 and kill my grandfather, then the first time 1940 happened he got shot. The second time...there is not second time. (Fortunately my parents were born in 1930s.)

comment 5y ago · link · parent

Wow. People are being pretty hard on this guy. A common complaint is that he wants to code but not put the least amount of work in. What is wrong with that? Or why get angry at him?

I've been working on a side project related to being an easier coding environment. I hope that is not a terrible idea.

https://www.apogeejs.com/web/apogee.html?url=/web/examples/q...

comment 5y ago · link · parent

Most people with exposure to any physics learn some basics about electrons, light and quantum mechanics, but I think it is tough to put these different ideas together. The hard part about quantum mechanics for physicists is not the rules for quantum mechanics but how that manifests itself in the real world. This is how I have understand it.

I'll talk about electrons first. An electron is a point particle. The position of the electron is governed by a wave (wave function). The wave is not made out of "electron". It is made out of something else, kind of like "probability". The wave tells you where you find the electron. But when you do find the electron, it is always a point particle. You will never detect the electron smeared out over space. (As an aside, for those who think about field theory, I still see the electron as point in field theory, though some might see it differently.)

Light is a field/wave made of the electric field. And it has a wave function too. The wave function again is made of probability. But it is probability for different electric field configurations, rather than photon locations, so it might be harder to picture.

Why does a light behave like a particle at all? Though the light has spatial extent it does come in discrete chunks, specific quanta of energy. When light is absorbed it can only be absorbed in these discrete quanta. In most detectors (like photographic paper) the light is absorbed by an electron. Since the electron is a point particle, the photon absorption happens at a single point. This might make it look as if a "particle" of light hit the detector.

comment 5y ago · link · parent

There is an argument that one instance of life evolving does imply there should be much more. I personally don't believe this though, though it is a valid argument. There is a counter argument too.

The common argument in favor of more life is that the probability of life evolving is some very small number, such that there must be a very large number of opportunities for life to evolve in order for life to actually evolve. At the same time, there are a large number of opportunites given the size of the universe. Given that there is presumably no relation between the "small" probability for life to evolve and the "large" number of opportunities in the universe, we don't expect these two numbers to conspire to be near the same size, which is what would have to happen for just one life to evolve. Rather, we expect there should be lots of life that evolved in different places or that the probability that any life evolved at all is extremely (vanishingly) small. So if this argument is correct and we know of one life form, we should expect many more in the universe. (Not to imply we would necessarily be able to find them.)

There is one potential problem with this argument. It assumes there is just one universe. If there are many universes then it is possible that life did not evolve in almost all of them. In universes where life did evolve, odds are it happened just once. And of course, that life (us, for example) would see that univese and the life that evolved there, however improbably that would be.

I read a saying "You know an argument is wrong if it invokes quantum mechanics." But I'll do it anyway. Some educated people believe quantum mechanics works this way - the univese effectively branches into parts that are essentially distinct (referred to as different universes too). It is not as outlandish as it may seem. The whole reason quantum computers are supposed to be powerful is that different things happen in parallel.

You don't have to buy the quantum mechanics part. If there are multiple universe for whatever reason then the probability argument above is not valid.

I do want to add one thing. The number of "opportunities" for life in our universe grows linearly with each dimension in the universe. (Lets just say to the fourth power of the size of the universe.) On the other hand, the size of probability grows/shrinks exponentially. So it is not hard to imagine between the two of these numbers, the exponential one wins.

comment 6y ago · link · parent

I think a mix of conformity and independent thinking is important. Conformity is hardwired into us, and I assume that came from evolution as a means to help our survival, though I can't say I understand to what extent. I remember an off hand remark a friend made, but it says a lot: "If people see someone riding a Segway, they will go and beat him up." First, I think that is hilarious. Partly because it is true. This says a lot about our nature. Maybe this urge helps us work together? Of course, a certain amount of new thinking is needed too, or else we wouldn't get anywhere.

comment 6y ago · link · parent

I think it is unfair to say he is not cut out for a startup. If he has trouble doing some of those things, he needs help from someone who is good at those. People in a startup have to wear a lot of hats, but they don't have to wear every hat.

comment 6y ago · link · parent

I'm not an expert but I can make an educated guess. They put dimples on golf balls to create turbulence, which gives less drag than laminar flow over the ball. I assume that is the same thing happening in the sharkskin swimsuit. For the ship hull I have another guess (sorry). In fluids, you can't reduce "friction" by having a "slipperier" surface. The rule is (for laminar flow) the speed of water at the surface, relative to the surface, is 0. That determines the velocity field around the object, which in turn determines the drag. My guess is that when the air is between the ship and the water, the air has 0 velocity at the surface of the ship. The air also has a 0 velocity relative to the water at that boundary. But the air has a velocity gradient so the net effect is that the surface of the water if now in motion relative to the ship, meaning the ship can cause a smaller velocity profile of the water.

comment 6y ago · link · parent

Imagine that in each pond several different combinations are being tried in parallel, kind of like in a quantum computer. Of course, the universe is a giant quantum computer. This leads to the idea that even if life is very unlikely, it can still develop since there are so many "attempts". It also means that life can develop many times, but in different attempts. By this I mean different parallel attempts, such that whatever happens in one of these attempts is not accessible to what happens in another attempt.

I also think life is very rare, and I am in fact of the opinion we won't find any other instance of it.

comment 6y ago · link · parent

Hi HN! This is intended to be an extension of the concept of a spreadsheet to a general programming environment.

It looks like a notebook and can be used like one. It can also be used to write client aplications and web services. I find it works very well for quick and dirty calculations and for data wrangling.

164.

Show HN: Apogee – cross between a spreadsheet and a notebook(apogeejs.com ↗)

15 points · by gpsx · 6y ago · 1 comment

comment 6y ago · link · parent

Regarding the short term versus long term, I agree with you here. I meant to differentiate between getting profit by investing, which certainly has a lot of value and is the whole point of capital markets, and from getting profit from fluctuations in the current price not tied to an inherent value of the company, which is where I think you have the winner and loser, even if the trades involve multiple parties. Clearly this is what is being done in high frequency trading.

I can buy the idea of high frequnecy trading serving as market making even if it is not something I can fully appreciate. But it still seems like these high frequency traders (and others invovled in investing based on fluctations) are mainly skimming money from the market without providing value.

comment 6y ago · link · parent

I'm not an economics or finance expert, so I may not have a very extensive view of this, but I think there is a meaning to the expression of providing value. If a product has more value to a person than the price of the product, assuming they have correct knowledge, that is the creation of value. In high frequency trading, or stock trading in general, people may be willing to pay more than the listed price, but I don't think value is created because this is generally due to incorrect knowledge. I think stocks are pretty much a zero sum game. If one person is making money, someone else is losing money.

As I mentioned, I'm not an economics or finance expert, so I'd be interested to hear what more experienced people would have to say.

comment 6y ago · link · parent

If you want to get technical, what about air resistance?

comment 6y ago · link · parent

It is much easier to think in two dimensions than three. If you picture the ball following a parabolic trajectory in space then you are really thinking in three dimensions here. It might be easier to think of throwing the ball straight up, after which it eventually falls straight back down. NOW plot this in two dimensions with one of the dimensions being time. As the original comment says, the scaling of the time dimension in seconds is not a good comparison to meters. Physicist like units where the speed of light is 1 (one). In these units, in our two dimensional space-time graph, the ball travels a very far distance while the change in our space dimension is still small. It is very close to straight line.

comment 6y ago · link · parent

Watching the video, I'm not sure I interpret it to say the term technical refers only to code needing to be refactored because it was well written but based on incomplete knowledge. But I understand how someone could interpret the video differently.

In the video he tells how he used the term to explain to his boss why they wanted to spend time refactoring code. He justfies what they did as borrowing money to make an investment. They had to pay off the loan but he thinks this was a good investment.

The specific section where he talks about people getting something wrong related to the debt metaphor at 3:18, the section title "Agility". If you just watch this, it can seem like he is saying they are using the term wrong. But I think what he is saying is that they are getting the _justification_ for going into technical debt wrong, not that they are using the term technical debt wrong. After he calls it a metaphor, not a term.

In other words, I think it is OK to use the term technical debt to refer to "debt" no matter how it is incurred.

I understand people could interpret the video differently and I would be interested in hearing other interpretations.

comment 6y ago · link · parent

I think Mozilla should have worked on a cloud application suite, like Google and Microsoft have. And possibly they could have done a better job extending it into an ecosystem for other application providers. This is very natural for the company that invented javascript and is a leading contributor to web assembly. It also would have had excellent revenue potential.

comment 6y ago · link · parent

I don't feel nearly as smart or "outstanding" as I did when I was younger. But I don't think it is because I have gotten much less smart or outstanding. I think my perception has become more accurate.

comment 6y ago · link · parent

I really liked this linked article below which talks about what makes people most productive. Its starts off talking about brainstorming, which it says doesn't work, but goes on to talking about more general collaboration and is relevant for this debate.

https://www.newyorker.com/magazine/2012/01/30/groupthink

comment 6y ago · link · parent

I agree MWI is the minimal "version" (don't get hung up on that word) of quantum mechanics. I take it as a given and consider the way we experience/interpret the universe as an insight into how the brain works.

comment 6y ago · link · parent

Wow, with all that information generated you would think some of it would tell us how to move off the planet and use more of the universe.

comment 6y ago · link · parent

No. I wasn't trying to say that. He is right that there is a lot to know to make any contribution to physics. I was trying to make a more general comment that people shouldn't be afraid to try something even if they don't know all the background. Make mistakes and learn as you go. That applies more to "easy" things like software.

comment 6y ago · link · parent

Gerard 't Hooft knows a thing or two about being a GOOD theoretical physicist. But I do have one general complaint about what he is saying. It is apparently common for people, especially ex-physicists like myself, to think they have figured it out (whatever "it" is). In reality, they just forgot (or never knew) enough to realize how bad their idea is. He pretty much agrees with this and his solution is for people to learn it all. In _general_ I don't think it's fair to say you have to be an expert to contribute. We wouldn't make any progress if nobody was allowed to make a suggestion unless they were an expert. This would pretty much silence me (in things not related physics, such as software, or if I was so inclined, in physics too).

Now, I am being a little unfair. I think it is great what he is doing. AND, if anyone does think they have solved the secrets of the universe, don't take it to one of the top physicists in the world before checking it out a little more humbly.

But in any oher case, just throw caution to the wind and don't worry if you don't know everything.

comment 6y ago · link · parent

Cooks use a knife straightener on their knives to keep them sharp longer. Well, I'm not a cook, but I do it too. It works really well. I was wondering if people could do this on razors. I think this is equivalent to palm stropping. For a cartridge, I think something with small metal teeth, at the right angle, ran back and forth over the blades, would do a good job of straightening the edges.

comment 6y ago · link · parent

Watching a video of the blast, you can see a very large shock wave in the air. A large amount of energy was dissipated this way which would not happen in a normal earthquake. I am sure the fraction could be estimated. In fact, in a fluids physics course I had the teacher said Russia was able to estimate the power of one of the first US test nuclear explosions by watching its video.

comment 6y ago · link · parent

Don't worry, if this were to ever catch on it would be incorporated into browsers, meaning the net effect is just to make browsers more complicated.

comment 6y ago · link · parent

I think the real question with the probability of life starting is eactly how easy it is to create life or even a good reproducing state given the proper conditions. What makes it dificult is that probabilities shrink very rapidly. If you cover every planet in the universe with billions of monkeys each typing randomly on typewriters, starting a new try every week for billions of years, they will never write Hamlet. They won't even get the first line. The probability to type the right n characters is 63^n, which grows exponentially. We can think of giant volumes of planets, but the number of planets will only grow linearly with the volume. The probability of creating even basic constructs is very small.

Even if you do manage to create a basic reproducing construct, that doesn't mean you are finished. The reproducing construct will only have a limited number of instances on its single planet. So once again, it is difficult to get to the next step beause your numbers are small relative to the the imaginable probability (of course what this is is not known).

On the other hand, the probability of us observing intelligent life is 1, since the intelligent life is the observer. No matter how few planets develop intelligent life, each will look at itself and say, "There it is." Our own existance or the history on our planet says nothing about the probability of life evolving without knowing the number of "tries" that failed to evolve life.

People who agree with what I have said so far may disagree with this next part, and that is ok. In counting the number of tries, we don't know that there is only one universe in which those tries exist, meaning we could be the only ones in this universe, and ours is one of the relatively small number of universes that have life.

Of course, I can't say the probability will be small. But I think it is also unfair to just assume the probability of life evolving is big.

1
567
12