Better HN
topnewbestaskshowjobs
Log inSign up

sutterd

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

Submissions

comment 7y ago · link · parent

Matlab - That was designed for engineers who are not experts in software, even if they were highly technical.

comment 7y ago · link · parent

A friend recounted a conversation where he was talking to one of his friends, saying he couldn't understand how these people could be so dumb. (I don't recall what "these" refers to...) His friend said, "I don't think it's that they're dumb. They just aren't curious." That was an enlightened comment. I think that is one of the elements that is needed to do brilliant things, just as Csonger says he was interested in understanding why this was "not possible".

comment 7y ago · link · parent

I left out some important details in the above explanation. So here is part 2...

Feynman discovered another very important item, the path integral formulation of physics. This was important for his derivation of Feynman diagrams and also it is a good conceptual tool.

Think of basic quantum mechanics and firing an electron through a double slit at a screen. In quantum mechanics the eletron does not have a single trajectory from the gun to the screen. Rather, it takes all the trajectories in parallel, like a wave. We can add the contribution as if the particle went over each possible trajectory and this is the same as treating the electron as if its position was given by a propogating wave. This sum over possible histories is the interpretation of Feynmans path integrals. And it is a nice way to think about quantum mechanics - multiple things are happening in parallel.

Taking the example in the video of two electrons scattering off each other, each Feynman diagram represents a possible history for the two particles, including their trajectory and any interactions between them. These interactdions are drawn as a connecting line, which is a "virtual particle" being exchanged.

More specifically, the diagram doesn't represent a single history, rather it represents all histories that have a ceratain topology, meaning here for example one photon is exchanged between the electrons. (There is an integral done to add up all the different ways this can happen.) To do the full calculation, there are many diagrams that must be included. As it is a perterbation theory, you can choose to get more accurate by include more diagrams. The expansion parameter is basically a vertex on the diagram. The more vertices you include, the more accurate you will be (assuming you include all diagrams with that number of vertices).

So basically the feynman diagram is a bookkeeping mechanism to account for all possible histories of the particles in the interaction (electon scattering here). We sum up the contribution from all these histories to find out the quantum amplitude for this scattering scenario. This is exactly analogous to adding the contribution from different paths to fine the amplitude (~probability) for our electron in the double slit experiment hitting a particular location on the screen.

To get to this intuitive result mathematically, the perturbation expansion and renormalization mentioned above are both involved.

comment 7y ago · link · parent

I also will expand on this.

Quantum field theory is very difficult and we can't solve many problems. We can solve one in particular, free particles that do not interact. (By the way, this is like solving a simple harmonic osciallator.) Feynman diagrams use the solution to free particles as a basis - these are the lines in the diagram, like particles moving in time. Then, we add the interactions between the particles as a pertabative exapansion. This is what the parent comment refers to as the power series expansion. It is expanding in the powers of the interaction terms.

As mentioned in the video, it is not quite as simple as this however. If you do this, you will get infinity as a result of the calculation. That is not a very good perterbation theory. However the real discovery of physcists from this time was renormalization. They found out you can sum many contributions from different terms in the exapansion, corresponding to different indiviaul feynmann diagrams, and you can make these infinities cancel out. What is magic is that when this process is done you can write an effective theory for the interactions that looks exactly like the original theory you started with, and only the values of the coeffiecients are changed a little.

The magic involved here could be explained more, but in summary what it means is that the perterbation calculation you do is valid even thought it looks like it should be infinite. It also lets you make the simple analogy that the lines in the diagram are real and virtual particles rather than just the non-interacting approximation you starter with.

comment 7y ago · link · parent

I live in sunny California but I still have problems with not enough sun. I used to be a cyclist and triathlete, being outside for many hours a week, and now I am doing maninly dancing. I am inside way more than I used to be. I can feel when I need more sun. Incedentally, I also had a recent physical where they measured that I had a vitamin D deficiency.

They said a lot of interesting things in this article related to the sun, so I leared some new things. At the same time I am surprised about some things they did not say.

I'm not an authority on the bodies need for sun, but I will give my non-scientifci observations. If some one finds this interesting they should do some additional research on the topic before they do anything I did, rather than just trust what I write here.

One thing that really interested me was an article I saw here on Hacker News a several months ago. It said it is well known people with higher vitamin D levels had some health bvenefits. However, one particular study found that giving vitiamin D supplements did not seem to give the same health benefits. The authors concluded from their results that people who have high vitamin D often get this from the sun, and the sun gives them a different result from just taking vitamin D supplements.

I tried going to a sun tanning salon and found that did make me feel a subtle "high", as if I had been out on a sunny day. (Your experience may very.) From what I understand it is UVB that is responsible for this, the "bad" UV. It is considered bad because your body does not shield against it and it does not cause you to tan.

General tanning salons want to give you UVA. The expensive machines limit your UVB exposure, and the cheaper ones give you more UVB (salons often have different options for beds). You want to go to the cheaper option. I used beds at tswo salons with 5% and 6% UVB, for reference. They should know the UVA/B statistics for the machines.

As far as length of time, you don't need to go that long. The point is not to get a tan necessarily. I found that i would get more tired if I stayed in too long, so there is sort of an optimal time, for me at least. (I am very pale, by the way.)

I also noticed that the sun tanning bed was not enough. It is almost as if there are two effects. I feel good from the tanning salon, but at the same time it feels like there is something missing. I also need to go outside, I assume to get visible light.

To repeat above, these are not scientific results. I find this seems to work for me, and that is good enough. I would not suggest someone trust what I say here as authoritative, but hopefully it can be an inspiration to look into this if you have similar problems.

FYI, one thing I want to look into as a result of this article is timing of getting visible light. I do know that if I wake up in pitch black I have trouble getting out of bed. I would link to get more bright light in the morning right when I wake up and see how that effects me.

comment 7y ago · link · parent

When I was running track in high school, we were doing a workout that was 10 200m sprints. One of my best friends Erik was running in the same group as I was. We were about the same speed. But during these 200's, he was just sitting back while I was going all out. On the ninth sprint, the coach said whoever wins the group doesn't have to do the 10th one. Erik said to me, "Dave, you can win this one" because he knew I was working hard and was tired. And he is also just a quality person. But when we were running that ninth 200, I was just completely spent. I was in slow motion. He had to run past me. I don't recall what we said when he passed me, but something along the lines of him apologizing and that he had to go, and I said it was ok.

I had to run the 10th sprint even though coach knew very well had happened. I didn't have any hard feelings towards my friend. He wasn't trying to take advantage but I am sure he still felt bad. (Now, I may have had some hard feelings toward the coach...)

This is quite a bit different stakes between high school track practice and a national championship cycling race. But I wonder if something similar happened. The author, being trashed from working so hard, may have been going pretty slow and this may have helped the eventual winner say "Forget this I'm just going to go". I'm not saying its OK, I just wonder if it was a factor.

comment 7y ago · link · parent

I agree there is a problem. And there would be precedent for breaking up a company. But she is going further than that. How about the definition of platform utilities for companies with annual global revenue of over $25 billion (see article for full details). There is more too, I won´t repeat the points of the article. I am pretty liberal but I think this kind of regulation is risky.

comment 7y ago · link · parent

I was very surprised reading because I thought it sounded _somewhat_ reasonable when she was describing the problem. However her solution is very drastic. I don think we have any precedent for knowing how the market would respond to such heavy handed regulation. I would have to agree she is out of touch there.

comment 7y ago · link · parent

Sorry, I didn't mean to put words in your mouth, particularly based on a mere four words. I was talking to people who I have heard argue "it's only the headers".

I appreciate your response. I am not clear on if that particular information is open source. A quick Google search does not seem to give a good (single) answer.

comment 7y ago · link · parent

Yes, meditation could be called disciplined leisure. I'm not sure if the post you are responding to is getting at that. Meditation and minding wandering are very different things, even opposites. But I think both are very useful for that creative process. It would be interesting to examine the effects of these two things in the context of this article.

comment 7y ago · link · parent

Why do you say that? In some regards yes, and some no.

I think the intellectual property is in the APIs/"headers". That is what Android uses from Java and what this company is copying from SmartCar. Its not easy to write a good API. (But, I should say, once you have the headers it is not as tough to populate them with code.) As for coping actual documentation, that is just plain stupid but not the _worse_ crime here.

Now, what is different is that many of us don't approve the way Oracle is enforcing the rights on this information. Java is not like the SmartCar APIs in that it has been free to use for so long. All the same I think Oracle should have the legal right to do this.

Many may disagree about Oracle vs Android but I think it is devaluing the work of people like James Gosling _and_ SmartCar if you say there is not intellectual value in the code/API headers.

comment 7y ago · link · parent

I have a different opinion about why OO was popular. I think it can work well for small programs. But it doesn't scale well to bigger problems. It just becomes too confusing. Once people used it for bigger things, possibly because programs got bigger with Moore's law, it can just be untenable. (But, then again, in some places it still can make sense.)

comment 7y ago · link · parent

I'd agree income inequality is a problem, but I think what is specifically bothering people is that they feel they don't have the opportunity to make more. Once someone has money they can use it to help themselves and "hold down" others. (I put that in quotes because it might be a little exageration, but I think people feel that way.)

There are many examples but a the most basic one in the US is that the outcome of a trial is highly correlated with the amount of money you spend on lawyers.

A problem with Khanna and the article is that he is just continuing to give outsize influence to the rich. I hope he can learn something from Sanders and not worry too much about "alienate(ing) some of his wealthiest backers".

comment 7y ago · link · parent

I think the real problem in the US media is political bias. I think essentially the article is accusing the left leaning media of letting that bias color their views. Of course the article is equally guilty of that same thing. And I assume it does not see its own bias.

And sadly, the fact that the media is like this is largely a reflection of the population in general. And, as others point out, the media is probably like this because they are just chasing profit.

comment 7y ago · link · parent

Back in the 2008 financial crisis I read articles about what went wrong, but I am not sure I understood exactly what was going on so well. I filled in details mysefl by guessing. Maybe someone can clarify this?

When they combine a number of risky assets into a single asset, they factor in an assumption that a number of these will fail. Others will not and given the payoff of those, the net investment pays off.

I don't know much about finance and how they do these calculations, so I'm going to say something dumb here, and maybe someone can tell me if they are being this dumb (or dishonest) when the calculate these things. Forgive the "explain it like I am 5" description.

There is a naive way of combining these probabilities which high school students probably know. However, this assumes the outcomes in question are not correlated. For example if you flip two coins, the probability of each coming up heads is .5 and they are not correlated, so the probability of getting two heads on two coin tosses is .25.

Of course, if the events are correlated, then that formula doesn't work any more. For example, if there is a new Quantum Coin Toss Manipulator (because we all know it would have to be quantum) that makes all coins flips near it come up the same, then the probability of getting 2 heads when you do two coin tosses is no longer .25 but instead it is .5. And, if you do 100 coin tosses, the probability is still .5 of getting all heads.

Back to the CDOs or CLOs. The chance of individual components failing is clearly not completely independent. Economic conditions such as a big recession presumably will have similar effects on the different components. So the naive formula does not apply.

Hopefully they are not being that naive or dishonest, but it seems like it would be pretty tricky to estimate the correlation and correspondingly difficult to estimate the true risk. Is it that case that they are just not good at estimating the correlation in the risks of these different assets?

comment 7y ago · link · parent

I think the post did make a classification mistake there. I'm not sure exactly what is meant by professional, but there are a lot of jobs people can find fulfilling that are not in the classic defintion of "professional", like park ranger or dancer. And there are a lot of professionals who don't like their job and do it just to get a paycheck. I think otherwise the post does raise a very good point about the importance of having more to your life than just work.

comment 7y ago · link · parent

Wait until the next engineer, however experienced, inherits your code and he will tell you everything you did wrong.

comment 7y ago · link · parent

I second this. It would also be nice to specify what is new about a given language. As the parent comment says, this type of thing would be difficult to capture, but it would be very interesting if we could. It would be sort of a Darwin "tree of life" for the evolution of programming languages.

https://en.wikipedia.org/wiki/Tree_of_life_(biology)

comment 7y ago · link · parent

Wow. I'm shocked by the comments here. If the author reads these I am sure she will give up all hope for the area. Of course a number of commenters didn't actually finish the article.

comment 7y ago · link · parent

You can google "electron size" and you get different classical estimations and hopefully a statement that there is no measuarable size and that it is considered a point particle.

But that doesn't mean it can't have interference. Interference occurs because of the wave function. The wave function for the electron and the electron itself are two different things.

They did a electon double split experiment where they fired electons one at a time. The electrons each made a single point (or small mark) on the measuring screen, but over time, the interference pattern formed. (To be honest I heard this back when I was learning physiscs, which was along time ago. It could have actually been a thought experiment or it could have been something besides an electron. Anyway I believe it is true.)

comment 7y ago · link · parent

> There is no simple logical connective in ordinary language that captures that

Yes, I'd agree with this. I was trying to say something aproximately true to convey a point. In your post you did agree with my salient point - the electric field moves with the electron, it doesn't do something funny when the elestron has some spread in its wavefuntion for position. This seemed to be the what the article was talking about, that the gravitational field behaved differently for a superposition of states.

I will try a more concrete example.

Suppose you have an electron gun and shoot a single elctron at a metal plate. Suppose the wavefunction is such that it is uniform over the surface of the plate (So the electron has an equal probability of hitting anywhere on the plate.) What does the damage to the plate look like? Is it spread uniformly over the plate? No. It is a single small mark at some specific place on the plate. The electron is not smeared over the plate, the probability of finding the electron is smeared over the plate. The electron is still a point particle (to the extent of our current laws of physics) and it will only interact with the plate at one point. (Some people will not like my language and tell me I am wrong. But it is true the electron will hit the plate at a single point - not smeared out like the wavefunction is.)

In actuality the electron didn't cause the damage to the plate. The electric field did. The electric field moves with the electron almost like you would expect in classical physics. It's not like the electric field is smeared around because the electron is in a superposition of states.

I'd expect gravity to work the same way. But seeing how we don't have a theory it is possible it could violate the above idea. To me that would be a pretty weird violation too. (This short writeup doesn't really do that justice.) I'd bet against it.

comment 7y ago · link · parent

That's a funny cartoon, and _very_ fitting to the discussion.

I'm a physicist and its true phsycist's don't always tell the whole truth when talking about quantum mechanics. I understand the different perspective between a person doing quantum computing and physicist thinking about the real world. In a quantum computer there are maybe 32 objects each with 2 states. In the real world something like an electric field has an infinite number of possibly values for each of an inifinte numbers of points in space. And then there are interactions between different objects which we can't hope to mathematcially solve but only approximate. And, on top of that, we have to relate the mathematcis to what people see around us.

So generally we have to create a straw man for a specific scenario, hence the line in the comic where phsycists don't tell the whole truth. And that's why all these people can look at the straw man example I gave and then say "No, that's not right. It's not "OR".

So, you can say a particle is in two places (AND) at the same time wihtin a given context. So that is fair. In the context of describing the connection of a field to its originating particle, that strawman is not useful. The elctric field is correclated with the position of the particle so the "OR" idea is helpful there, but if you try to take that example too far, sooner or later that strawman breaks down.

So you could look at the statement in the comic instead about wave functions. Does that provide an clarity to how a field relates to the particle from which it originates? Probably not unless you already know the answer.

Admitedly, I guess what I wrote didn't provide much clarity either. Any disucssion of quantum mechanics in a place like this usually devolves into everyone talking past each other.

comment 7y ago · link · parent

There appears to be a very basic error in this writeup. I say there appears to be because it seems to be so easy to misunderstand language used in casual descriptions of quantum mechanics. Neither I nor the writer is a lawyer. My apologies if I misunderstood what was written. My experience here in general is when something seems very clearly wrong, it is my misunderstanding. None the less...

Quantum mechanics does not say a particle can be in two places at the same time. A wave function does not say a particle is at point A AND point b. The wave function says the particele is at point A OR point B.

To take this a step further, if the particle has an electric field, then the wave function would look like the following:

(particle at A AND electric field around point A) OR (particle at B AND electric field around point B)

The wave function would NOT be:

(particle at A OR particle at B) AND (electric field around A OR electric field around B)

And also not:

(particle at A AND particle at B) AND (electric field around A and B)

Presumably the same applies to a gravitational field.

comment 7y ago · link · parent

No, that is why I said this has been the golden age to date. Meaning I think there is much more to come. (So I guess maybe it really isn't the golden age then...)

comment 7y ago · link · parent

Yes, this is it. I became not so motivated in physics. I have enjoyed the work I have done since then more. I missed the golden age of physics but instead have been able to take part in the golden age (to date) of software and the internet.

comment 7y ago · link · parent

I don't think there is a correct answer to the question should we build the next particle accelerator. Its an opinion based on the probability of us finding something (also an opinion) and the relative value of that discovery to $20B.

I got a PhD in theoretical particle physics in 1995. My thesis was about the supersymmetric flavor problem, where we tried to infer information about physics we couldn't measure based on the naturalness criteria she criticizes. My thoughts on pursing this: well, I left physics. I thought it was too hard to make any progress. I went into software. I don't have any regrets.

I shouldn't admit this but I occasionaly daydream in a Walter Mitty sort of way about doing great things. I have had a few physics ideas related to things like quantum gravity that I think about occasionally. Just a few months ago I was daydreaming about me pursuing one of these back in graduate school and it being very successfull. I intertrupted my daydream with a thought, "I'm glad that didn't happen. Then I might have stayed in Physics."

So that is my answer to the question about investing my own time in searching for new physics. None the less, I wouldn't say people are crazy because they think there is some value to pursuing physics as is currently being done.

comment 7y ago · link · parent

I don't think Sun should have protected the code for Java. But I think it should be possible to protect it. Most people here may hate the Jaa language but it took a ton of work and expertise to invent it. And it took something to make the ecosystem as large as it is today. This seems to contain as much intellectual property as something like a book. And when it come down to it, the intellectual property is in the method signatures anyway. There is no big trick to the code inside them. An intern could write that.

As the lesser of two evils, I prefer Google to Oracle. And I hate patent trolls, especially this instance of it. But at the same time I don't want to reduce the legal value of software. If java is not protectable, is a program like Micrsoft Word or Autocad?

comment 7y ago · link · parent

I have to confess what I know about Paradise lost comes from the movie Animal House.

https://www.youtube.com/watch?v=Ciw1os85nz0

comment 7y ago · link · parent

Yes, glacier melting should mean more water. That is not what the graph labeled "The Rhine river has been receding as alpine glaciers at its source melt" shows.

Another alternative is that, because temperatures are warmer and there is less water stored in the glaciers during winter and less melting in summer, there should be a wider depth variation between winter and summer but a similar average. Also not what the graph shows.

It seems like it is just less precipitation. (Which is climate change, possibly due to global warming)

comment 7y ago · link · parent

Other people here have said this general idea here, the large centrealized services like Google and Facebook have succeeded in becoming so big through a lot of effort and a lot of cost, which was paid for by all the money they make. At a minimum they have to pay for their server use.

From what I understand the proposal here seems to not allow for the advertising model. I don't think a services can grow and survive making people paying because people are too cheap.

There might be a better chance for something like this is they allow for the economics. - Maybe the data host can provide a "advertising" profile which the user has control of. This can be exposed to the application hosts to allow for advertising. - Maybe you also throw micropayments into the mix, along with bartering for information or micropayments.

Another issue is complexity. A number of comments have talked bout over-engineered solutions and protocols. This decentralizezd idea could be started with something small like an open social network standard. I think I saw something similar to this on HN not too long ago: - You have a web site, which is your profile. A provider could give you a nice editor for it. - You have a feed, where you can put pictures, short posts, long posts, whatever. This is distributed with RSS. (The host makes this all seamless for you.) - Identity is controlled with OAuth, used only to give an identity to visiting users. The owner users can manage permissions for certain remote users (his "friends")

Such a service could be managed on your own web server, or there could be different cloud providers that make this arbitarily easy, with arbitrary levels of functionality on the "profile" page, the "feed" and the "friend" permission management.

1
789
12