Live data from Hacker News

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

news.ycombinator.com

291–300 of 441 posts

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

#291
post #189
post #8

Learning to throw years of work to thrash with no hard feelings.

Hey Leo, You may be interested in Dan Ariely’s short book on Motivation, which is based on his Ted talk here: https://www.ted.com/talks/dan_ariely_what_makes_us_feel_good... Part of it covers the motivational impact of having years of work cancelled. If you’ve struggled with this, I just want to wish you the best.

Just watched, great motivational content, thank you for sharing! Cake example was really weird and still making me think.

I dont struggle as I used to since I've learned it is about environment we are in (meaning as in video) and tomorrow is uncertain (because many people are involved)

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

#292

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…

[deleted]

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

#293
I convinced my wife to marry me. She was very pessimistic, thinking that I would leave her. It took six months to get a positive response to my proposal and another year of reassurance before we married. We have been married 41 years. The courtship was helpful experience for the marriage.

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

#294
post #261

Earlier quoted context omitted.

Ethics is not something that gets decided by the Dean and laid down in a code of academic ethics. The University is just a part of society and it has it's own perverse and quite unethical practices; for example, the tendency to grab one's money and time and not provide any substantial education in return. Furthermore, the university might be perfectly aware that it provides crap services and that fraud is rampant, ye…

If you sign a code of ethics swearing you won't cheat and you do anyway, that's unethical. Even without an actual signature, the social contract is implicit. The fact that the university exploits athletes and postdocs is unrelated. You can break out the "I did what I had to do to survive" argument but then you're just conceding the point that you abandoned ethics out of necessity or simple mercenary desire for a bett…

As I anticipated, it's hard to relate to somebody living in a profoundly corrupt society. My gripe with the university was not that it was exploiting postdocs or killing the environment; rather, that it failed to setup and enforce a system of rules where my extant academic ethics mattered.

The social contract includes not just what's written or implied, it's also what people do in practice, what is acceptable. If cheating is acceptable and required to get a tech job, then I can do that, in fact I can do it better than most. That says very little about my profound sense of ethics.

To counter your analogy: what if you are indicted of a crime you did not commit in North Korea? You surely accepted their rules when entering the country, but would you trust their judicial system to do the right thing? Would you bribe your way out if you were given the chance? Would you ask your country to put diplomatic pressure on your behalf, a clearly unethical advantage no Korean has? Would you consider escaping from prison if wrongfully convicted?

In a narrow definition of ethics as "whatever the current rules are" (typical, I would say, for somebody living their whole life in a state with strong rule of law), the only ethical behavior is to subject yourself to whatever abuse NK decides for you.

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

#295
post #279

What was supposed to be a weekend project consisting of re-grouting bathroom shower tile turned out to be a two-month side project replacement of wall from the studs out. It was the kind of project that got worse at every step. The contractors who built the bathroom cut corners by creating a bathroom in a single day. They didn't sufficiently mortar each tile to the wall (back butter) and wait a couple of days to set…

I was always told to make sure you keep extra of any kind of material like that around. A handful of extra tile, some extra wood flooring, some carpet that we pulled out to replace with wood floor at one point, even some extra molding just because why not?

Worst case scenario, it sits up in the attic and the 15 minutes spent taking it up there is a waste, best case scenario it makes it so that a single cracked tile or a deep scratch in a wood floor isn't as big of a deal. And I have found that I pretty much always have at least some left over normally anyway.

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

#296
post #294

Earlier quoted context omitted.

If you sign a code of ethics swearing you won't cheat and you do anyway, that's unethical. Even without an actual signature, the social contract is implicit. The fact that the university exploits athletes and postdocs is unrelated. You can break out the "I did what I had to do to survive" argument but then you're just conceding the point that you abandoned ethics out of necessity or simple mercenary desire for a bett…

As I anticipated, it's hard to relate to somebody living in a profoundly corrupt society. My gripe with the university was not that it was exploiting postdocs or killing the environment; rather, that it failed to setup and enforce a system of rules where my extant academic ethics mattered. The social contract includes not just what's written or implied, it's also what people do in practice, what is acceptable. If che…

That's throwing the baby out with the bathwater. It's true that law and ethics aren't always aligned, especially in authoritarian regimes. But basic things like integrity are essential for any human society.

Also, I'm not convinced that growing up in the former Soviet bloc necessarily means that honesty isn't the best policy. If everyone around you is corrupt, being the one dependable person around is a differentiator. Maybe I'm being naive, but it seems like that reputation could have some real world value to you.

By the way, it doesn't matter what your classmates are doing. Comparing myself to the average was horribly destructive to my college education. It turns out, everyone around me putting in average amounts of studying and getting average grades ended up getting average jobs with average pay! The one or two people in class that always aced everything, about whom I thought "well I don't have to be as good as them" - those were the ones who ended up having a real shot at grad school or dat $100k Facebook new-grad signing bonus. It's just like when you move from high school to college and suddenly you're not the smartest person in the universe anymore. Your cheating classmates are bozos - stomp them with harder work and keep moving up. Don't sink to their level.

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

#298
Not the hardest and the exact technical details are a bit murky now, but super annoying nonetheless.

I had an external disk for extra data with an APFS volume as well as an NTFS partition for data when I was in Windows. Once I plugged it in under Windows, it must have nuked the partition table because of an 'unrecognized' partition or something, as I then rebooted back into macOS and noticed my APFS container wouldn't show up.

I opened disk utility and saw that it was marked as NTFS too. No my data! I contemplated what to do and realized that it may be just the partition table gone and my data may still be intact, since I haven't actually formatted the drive myself, or anything similar.

The problem was, this was an APFS container, not a simple partition and the tooling was not very good in the Sierra days. So I had to manually calculate the sector at which I then created a new APFS container, but without formatting and indeed my data was there.

That episode ended up reducing my already little time spent in Windows to practically nothing these days. (As primarily a Linux user, I don't spend much time in macOS either, but Windows is forbidden on real-hardware since that fiasco).

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

#299

ICOs and DAOs both present difficult legal problems vis-a-vis the SEC and securities laws. Where others have failed we believe we have developed a legal framework for both a non security/unregistered ICO and legal DOA. To legitimize our legal position we submitted a No Action Letter to the SEC. Uniquely this is not just another legal article/arguement, because the SEC will not respond to a hypothetical No Action Lett…

You could just post the links here, instead of collecting user email addresses..

We previously posted with the links, it was flagged before anyone read our work. Through email exchange Dang agreed we could repost but suggested not post the links to our work. Flagged again, which is strange because it is upvoted.

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

#300
I was working at an IT agency as an ops guy. One Saturday morning our alerting went of for one of our customer's sites (a somewhat high profile public sector company). Turned out we were being DDOS-ed.

The hosting company was trying to mitigate, but the attack was "real traffic" so hard to just black hole. I dove into one of the Apache logs and was looking for some way to sift out the bad traffic and keep the real traffic.

Then I noticed a lot of Nintendo Wii user agent headers. That was suspicious. Who in hell is using this service 100 times per second from their Wii from Pakistan and Russia?

I wrote a quick regex that blocked all IP's from requests with Wii user agent headers. This took care of 99% of the DDOS traffic. After 2 hours the whole attack stopped.

Post reply on HN