one of my developments (the code) has disappeared

Back to General discussions forum

MULTIVAC     2020-09-13 16:42:17
User avatar

Hi, mi solution (The code only) for "fibonacci sequence" done in october 2019 has vanish! I am a little concerned by the time I request my certificate.

Thank you.

Multivac

qwerty     2020-09-14 13:27:48

That is sad. If you want, I can share with you my code for this task, so you can show something for certificate request.

Or maybe administrator can restore your code...

Rodion (admin)     2020-09-14 18:26:56
User avatar

Hi Friends!

I'd say there shouldn't be quite a problem with certification because of one or few solutions.

However the issue itelf is strange and regretfully I'm not sure I can easily track how this happened. Either incomplete transaction when writing to DB or some bug in server code? No idea right now, I'll try to look into DB in search for this solution. Very strange, really. Thanks for reporting this!

Rodion (admin)     2020-09-14 18:58:41
User avatar

UPD very interesting, the code is all right, something starting with lines

#Que porqueria de codigo, lo admito, est? super chambon
def fib(n):
    ...

I guess it's yours? But it is not loaded to web-page when viewing... Very interesting. I'll try to figure out what's the bug (no wonder I too make many mistakes, ha-ha). Sorry for inconvenience!

MULTIVAC     2020-09-15 03:07:18
User avatar

Maybe it was bad code and I felt guilty, it is possible that the comment is mine. It's my style. I hope the code is well preserved - in cryogenesis - and hopefully I can see it soon. again.

MULTIVAC     2020-09-15 03:09:35
User avatar

qwerty_one very kindly, thank you. Its not necessary and no good idea to share, thankyou.

MULTIVAC     2020-09-15 03:11:48
User avatar

Rodion, it is happening too to another fellows.

Thank you.

MULTIVAC     2020-09-15 03:13:21
User avatar

My error is this --on my own solution-- :

You can not comment solutions until you have rank of Acolyte. You can not post more than one comment for the same solution. Of course you can not comment your own solutions.

Rodion (admin)     2020-09-15 12:15:19
User avatar

Now it should work. Thanks for your patience! It seems that solutions may contain national characters, perhaps in some non-standard encoding (in your case it is symbol after est in first line). And one of the functions which prepares code for inserting into html silently returns empty string if such undecodable symbols are encountered.

I not yet completely understand this (as usually any national symbols in UTF-8 encoding are processed all right) but for now I added the flag to skip broken characters (as they are usually in comments or string literals and won't affect solution).

MULTIVAC     2020-09-20 02:26:51
User avatar

Thank you! its right again!

Please login and solve 5 problems to be able to post at forum