Ask HN: What's the hardest problem you've ever solved?
21–30 of 441 posts
Re: Ask HN: What's the hardest problem you've ever solved?
#22Tried many libraries and eve saas solutions like monkeylearn, etx but couldn't do it to what was required.
Had to switched to a mechanical turk like solution in the end :/
Re: Ask HN: What's the hardest problem you've ever solved?
#23My company is building a device which collects data from a car while you drive. We wanted to group those in "trips" on a very simple logic. If the device sends any data for the first time, start a trip and if there's none for more than 5 minutes, close the last trip. Problem was that the source of the time is coming from the device which had a lot of bugs (e.g. time was in future, time is from year 1970, time is not…
This was the hard problem you solved, right? How did you go about it?
Re: Ask HN: What's the hardest problem you've ever solved?
#24Re: Ask HN: What's the hardest problem you've ever solved?
#25So, I had to write first the network engine itself (which was used both for networking and load/save), and then rewrite the whole game logic to take advantage of this mechanism. Now, if you want to write any game mechanic, you have to define it in proper MVC terms (although, due to amount of legacy code, I didn't separate the view and controller as well as I should have). Dozens and hundreds of small scripts for all the unique quest content and game mechanics working on top of a unified platform, relying on it to sync their data, one-off events (think "play sound" command that doesn't change any data but has to be replicated) and not even knowing on which one of connected clients is it run with authority, while all others run this particular object in "slave" mode.
I honestly tried to research if any other game developer have used a similar solution, but found nothing - it seems as if all open-world games that have multiplayer rely on dedicated authoritative servers, operated by developer, to run. Here's the project itself, although this update is not yet released: https://store.steampowered.com/app/526160/The_Wild_Eight/
Too bad that at the end of this project I got the worst case of burn out in my career, spiraled into the worst depression episode that I've ever experienced, and now quit the company while struggling to put my life back together. I have no idea if I'll be able to publish anything on this tech, but I still feel that it's been worth it.
Re: Ask HN: What's the hardest problem you've ever solved?
#26I was working on a calendaring system. We supported recurring events, and each event could also have a piece of equipment associated with it (one or more). Events could also be changed, either the current event or this and every event. Event start/stop times were stored in UTC, but the event was displayed in the users timezone, and could cross daylight savings time boundaries. This was done with a mix of javascript o…
It was one massive several-month nightmare. Totally relate...
Re: Ask HN: What's the hardest problem you've ever solved?
#27Note: the team was very specialized, so there really were no competing tools around for that specific task.
Re: Ask HN: What's the hardest problem you've ever solved?
#28Re: Ask HN: What's the hardest problem you've ever solved?
#29For my thesis project back in 2011, I wanted to create an interactive installation, the kind you see at museums. Since multitouch tables were insanely expensive to buy or rent, I decided to build one myself. Learned the basics of woodworking over a semester, and built a table after two failed attempts. Then I bought an LCD TV, took it apart, connected it to a playstation camera with a modified infrared lens and devel…
Re: Ask HN: What's the hardest problem you've ever solved?
#30Using a mock libc to intercept everything since there was no strace.
Porting Ruby to the IBM Blue Gene/L.
Updating a DAG stored in a SQL table.