Live data from Hacker News

Ask HN: What's the hardest problem you've ever solved?

news.ycombinator.com

421–430 of 441 posts

Re: Ask HN: What's the hardest problem you've ever solved?

#421

This was more of an introspection, but i used to be rather depressed. When I started reflecting on life and all I could contribute or succeed at (this was actually years ago, not specifically this question). I realized that if someone 1000x more intellect / capable / knowledgeable came along, everything I could add or solved from an intellectual perspective would be useless. After meditating / contemplating this for…

Awesome. I just finished reading Man's Search for Meaning and it has a very similar message.

Re: Ask HN: What's the hardest problem you've ever solved?

#422

Getting well with a genetic disorder while the world harangues me and accuses me of making that up. Next up: Figuring out how to talk to the world about it effectively. I'm not sure that's solvable. "Curing CF" seems easier.

DoreenMichele, how did you do it? Give me technical and medical details.

>Next up: Figuring out how to talk to the world about it effectively.

My guess is that you will be unsuccessful. (from similar accounts that I have read )

Re: Ask HN: What's the hardest problem you've ever solved?

#423

Earlier quoted context omitted.

Wow, that blows my mind. I don’t even know how to ask the right question, but is there some kind of “formal verification” or “type-checking” that could have caught this issue earlier? Or is that just too difficult, and reserved for medical equipment, nuclear reactors, etc.?

It was a problem with a clock domain crossing with IP from another company into ours. There were testbenches/simulations for verification, but they didn't test every packet size. In hindsight, everything can be caught, but it's a matter of how extensive the testing is. For example, passing every packet size through would not have showed the symptom. Everything looked normal, and all packets succeed. The key was that…

Also I just found this hardware description language called Clash [1]. It's based on Haskell and compiles to VHDL.

That sounds really awesome to me! I'll learn VHDL as well, but this seems like a nicer high-level language with a really good type system.

[1] https://clash-lang.org

Re: Ask HN: What's the hardest problem you've ever solved?

#424

Getting well with a genetic disorder while the world harangues me and accuses me of making that up. Next up: Figuring out how to talk to the world about it effectively. I'm not sure that's solvable. "Curing CF" seems easier.

DoreenMichele, how did you do it? Give me technical and medical details. >Next up: Figuring out how to talk to the world about it effectively. My guess is that you will be unsuccessful. (from similar accounts that I have read )

I don't think I can really do that in a nutshell.

I've spent years trying to figure out how to explain it to other people. I actually joined HN in hopes of learning to program so I could write a simulation to more effectively convey the information, but that hasn't happened. Getting well and other life drama has taken all my time.

Trying to explain it with mere words seems to be something that needs like a million of them and still isn't really adequate.

But, in a nutshell (or an attempt at a nutshell explanation):

First, I did things I knew were helpful from before having a diagnosis and tried to then go figure out why it was helpful. Having gotten diagnosed late in life, I had my own mental models and ideas that didn't jibe with our current official understanding of the condition. I respected my innate knowledge rather than just agreeing with the experts.

Second, I tried to understand the pathology. We know the mechanism behind the condition: A malfunctioning (or sometimes missing) cell channel called the CFTR that handles trafficking of certain molecules into and out of the cell. So I tried to understand how we get from there to all the symptoms typically associated with CF, such as malabsorption and lung infections. That seems to be a different approach from what medicine currently does.

Some of my general conclusions:

Malabsorption leads to malnourishment. Many of my issues were rooted in malnourishment. Improving my nutritional status was a major cornerstone of my efforts to get healthier.

I found ways to compensate for the defective cell channel. One thing that is known is that CF involves misprocessing of fats. I got very picky about what fats I eat and tried to develop some understanding of why some fats are helpful and others are problematic. This seems to be rooted in chemistry and at least partly in how complex the molecule is. My body generally handles long chain triglycerides poorly and I favor medium chain triglcerides, though that is likely a wholly inadequate explanation of the phenomenon.

Most genetic disorders involve a misfolded protein. I learned what promotes misfolds. Chemical derangement in the cell promotes misfolds. I believe this is an important mechanism behind the progression of CF, where you steadily get worse. I think reversing the chemical derangement stopped the positive feedback loop (aka vicious cycle) and this was a huge, huge factor in being able to get healthier rather than just try to slow or halt the progression.

I'm currently trying to figure out what I want to say on my blog about my understanding of "the immune system." When we speak most systems, we can name specific organs. The digestive system involves the stomach, small intestine and large intestine. The circulatory system involves the heart and an extensive system of blood vessels. But I can't list for you the organs involved in the immune system.

So I think better understanding exactly what we mean by that -- what is going on when the body successfully fights off infection -- is a major thing and I am still trying to figure out what I want to say about that. I think we generally have a poor concept for how that happens.

That's probably several hundred thousand words short of conveying much of anything, but it's an attempt to reply to your question.

Re: Ask HN: What's the hardest problem you've ever solved?

#425

Earlier quoted context omitted.

It was a problem with a clock domain crossing with IP from another company into ours. There were testbenches/simulations for verification, but they didn't test every packet size. In hindsight, everything can be caught, but it's a matter of how extensive the testing is. For example, passing every packet size through would not have showed the symptom. Everything looked normal, and all packets succeed. The key was that…

Thanks a lot for sharing this story! I started reading about clock domain crossing and metastability issues, and for the past few days I've been thinking a lot about circuit designs and FPGAs. I posted on /r/FPGA on Reddit [1], and I asked about the best development board to start with. I was wondering if you had any thoughts on that? I think I'm going to order a snickerdoodle black [2] and a breakout board, and star…

Sorry, I can't help much with the dev board side of things. I mostly work on sw these days, and the fpgas we use at work are some of the largest you can buy (stratix 10). I can ask around at work if that would help.

Re: Ask HN: What's the hardest problem you've ever solved?

#426

Earlier quoted context omitted.

It was a problem with a clock domain crossing with IP from another company into ours. There were testbenches/simulations for verification, but they didn't test every packet size. In hindsight, everything can be caught, but it's a matter of how extensive the testing is. For example, passing every packet size through would not have showed the symptom. Everything looked normal, and all packets succeed. The key was that…

Also I just found this hardware description language called Clash [1]. It's based on Haskell and compiles to VHDL. That sounds really awesome to me! I'll learn VHDL as well, but this seems like a nicer high-level language with a really good type system. [1] https://clash-lang.org

That looks really interesting. I've never used any high-level languages, though, so I can't comment. Most of the fpga developers I know somewhat despise those higher-level languages since you lose a lot of the control you have writing the HDL. They also tend to take up a lot more resources in terms of gates and memory, but things may have gotten better.

Re: Ask HN: What's the hardest problem you've ever solved?

#427

Earlier quoted context omitted.

Thanks for the idea! I found a variety of altimeter apps for the phone; I'll have to try just walking around my yard with one (or several), then see if it's possible to get elevation data on a map from such an app.

I'd suggest getting an app like Sensors Multitool for Android which gives you the raw output of your phone's sensors. I tried one of the altimeter apps a few years ago to see how tall a big hill was, and the value that the app reported turned out to be far off the actual value. There are various techniques for mixing and cleaning data from the GPS and barometric pressure sensors and a premade altimeter app (if it's n…

Well, I tried both Accurate Altimeter and Sensors Multitool, and I must say I'm disappointed. The values varied by 20 meters! In reality, my property varies by 2 to 3 meters at most.

I'll keep thinking about how to solve the problem.

Re: Ask HN: What's the hardest problem you've ever solved?

#428

Earlier quoted context omitted.

Hey Yholio, don't even bother to explain to the nuts here, who are questioning your 'ethics'. They do not have a nuanced view of ethics. For them the rules, as laid out by the authorities (in your case the university) is the template of what is 'ethical', they are incapable of thinking beyond that. The frightening thing is that they unfortunately represents the vast majority of people.

Wow. How that comment hasn't been flagged yet I have no idea. People who don't agree with you are 'nuts', yet you have a nuanced view of ethics? That's the most condescending, deluded thing I've heard in years. "For them.." blah blah.. you don't know us; in my case at least, your assumptions couldn't be more wrong, but what do you know or care; you've decided who the in- and out- groups are here.

Personal attacks will get you banned here, regardless of how bad another comment is. Please review https://news.ycombinator.com/newsguidelines.html and don't post like this again.

Re: Ask HN: What's the hardest problem you've ever solved?

#429

Earlier quoted context omitted.

I guess you are right. It's ethically wrong but not morally wrong.

I guess you are right. It's ethically wrong but not morally wrong. Huh? I don't see a significant difference between 'ethically wrong' and 'morally wrong', no idea why you would say that.

'Cheating at an exam' is transgressing a rule that doesn't "exist" in nature, it only exists in our social (if that's the right word) system. So if I cheat at an exam, I'm breaking a rule that's in the system that we made up (together), and therefore I can judge that, in some circumstances, I can break the rule without feeling morally wrong, without feeling guilt, because I, in some sense, made the rule myself. I'm breaking my own-making rule.

Another example of that could be: I want my kid to go to bed at 9pm. Sometimes I will break that rule. To some extend, because of the reasons I've advanced, I claim that cheating at an exam follows the same characteristic as the "kid go to bed at 9pm". Just not in the same magnitude if you will.

I then guessed that it may draws the limit between what's ethic and moral.

Re: Ask HN: What's the hardest problem you've ever solved?

#430
post #398
post #367

Earlier quoted context omitted.

Cheating on an exam does not always mean one has 'lack of ethics'. It may mean the opposite - say, "my parents aren't paying out of their veins for me to waste time on this nonsense."

So drop out of college then. No-one is forcing you to take the exam.

I am not talking about myself. Young people are strongly forced to pass the exam by multitude of strong incentives, including societal pressure and prospects for their financial well-being.
Post reply on HN