News for hackers. Stuff that matters.
Re:Dear Client, Here’s Why That Change Took So Long by ma2rten on Tuesday May 07, 2019 @01:55PM (#19851806)
If it's language that has byte-code like java or .net you might be able to decompile the production binary.
Re:Dear Client, Here’s Why That Change Took So Long by dllthomas on Tuesday May 07, 2019 @02:56PM (#19852345)
Even if it's not, decompilation might be useful. What I'd try is decompiling both the running version and the build of the available source code, and see if the diff is informative.
Re:Dear Client, Here’s Why That Change Took So Long by ma2rten on Tuesday May 07, 2019 @05:34PM (#19853666)
Last time I checked x86 decompilers were not that useful.

They were producing code that is not compilable, often completely failing on more complex, translating code compiler boilerplate into code.

This was a while ago so maybe things improved since then.

Re:Dear Client, Here’s Why That Change Took So Long by dllthomas on Tuesday May 07, 2019 @06:58PM (#19854218)
The goal here is some window into "what changed". For that, we don't need "compilable", and boilerplate won't be an issue provided it's stable (by no means guaranteed, to be sure).

If I had to bet at even odds, I'd bet against it being useful. But the win is potentially large and the effort isn't.

Re:Dear Client, Here’s Why That Change Took So Long by avgDev on Tuesday May 07, 2019 @03:16PM (#19852523)
Good suggestion.

I have decompiled the version in production. I will admit that reading it, is extremely frustrating as there are no objects and fields are named field1, field2, field3.

Re:Dear Client, Here’s Why That Change Took So Long by Drdrdrq on Tuesday May 07, 2019 @05:52PM (#19853786)
Still, you can compile + decompile the code you have, and compare that to decompiled production app. This might allow you to apply any cganges back to the code.

Btw, it's not a dev who lost the code, it's the company and inadequate development process. It should never have been the single dev's responsibility to make backups.

Re:Dear Client, Here’s Why That Change Took So Long by avgDev on Wednesday May 08, 2019 @11:33AM (#19859800)
Definitely did not mean to only blame the dev. The company knows that errors were made on both sides, hence why we are working on improving the process.