Aqendo
А ведь серьезно кто-то прогает без пк
Aqendo
Жаль этих добряков
Snusmumriken
Викари натыкивает на мобилке, потому и не форматит
Aqendo
Так я понимаю
Aqendo
Поэтому он сначала в геймгуардиан полез, а не в ловку какую-нибудь
Aqendo
И всё-таки я не понимаю как такие красиво архитектурные шифровки он умудрялся делать при таких знаниях
Hello, World! 🎄
Поэтому он сначала в геймгуардиан полез, а не в ловку какую-нибудь
Love2d под android есть, можно на телефоне писать код
Aqendo
Но расшифровывать было интересно
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
Actually I also want to create a website to open some Lua writing jobs, and of course there will be many jobs available but I can't be an admin because of other activities.
Igor
Маленький человек с большими амбициями)))
Hello, World! 🎄
Если кому-то интересен код: https://github.com/fhw12/digital_trees
Oleg
шо це
Это ж деревья! Не видишь разве? :)
Aqendo
А хде листочки :<
по Z координате...
Aqendo
Hello, World! 🎄
шо це
Это деревья как у foo52ru, но вместо Pixilang я писал на C. У них есть геном 16*4 (в 4 стороны могут расти), в зависимости от числа (0-31) в конкретной клетке растре может вырасти в конкретных направлениях. Дерево вырастет и даст семяна, которые упадут и возможно случайно несколько чисел поменяется в геноме. Таким образом происходит эволюция, самые успешные растения растут, а не успешные исчезают из-за нехватки энергии.
Hello, World! 🎄
А хде листочки :<
Это абстрактные деревья
0xSU
Это абстрактные деревья
Да я же шучу)) Но листья добавь!
Hello, World! 🎄
Да я же шучу)) Но листья добавь!
Листья это ветки, суть не в этом)
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
7N0J-BJ94-X3WU-21VE @fhello_world can you redeem this googleplay
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
?
googleplay redeem
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
you can use for buy book or anything on googleplay 😅
Hello, World! 🎄
I don't use google play that often
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
oh i see
Hello, World! 🎄
Hello, World! 🎄
Hello, World! 🎄
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
Uraaaa
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
this bear and panda
Egor
Должно быть наоборот, не?
Hello, World! 🎄
Должно быть наоборот, не?
Если 1 час = 7 лет на земле, то сутки 24*7= 168 земных лет это 1 день на этой планете.
Egor
Если 1 час = 7 лет на земле, то сутки 24*7= 168 земных лет это 1 день на этой планете.
Ну да, но мне показалось, что лучше было бы, что на земле прошло 21 час, а здесь намного больше.
Egor
Типа, спустя 21 час такой, вуаля, я умею в плюса.
Egor
Да ...стало жарко ...
Hello, World! 🎄
Ну да, но мне показалось, что лучше было бы, что на земле прошло 21 час, а здесь намного больше.
Дело в том, что на другой планете сутки занимаю другое количество времяни чем на земле
Hello, World! 🎄
Поэтому если сутки идут больше, то выучить c++ за 21 день можно
Snusmumriken
Там дело в том, что планета находится вблизи чёрной дыры, и из-за охрененного гравитационного градиента там медленно идёт время. Так что мем на тему "если я отправлю ребёнка на земле учить С++ и просижу на планетке недельку, он таки выучит, а ещё помрёт и нарожает новых детей которые тоже выучат, нарожают внуков и в конце у меня будет целый штат С++еров"
Snusmumriken
В фильме проблема была именно из-за гравитационного замедления. Там чел на лишнюю пару "земных" часов задержался, а его дочка на земле состарилась и почти померла, и сам он капитально проебался со связью на протяжении этих лет.
Hello, World! 🎄
Такое тоже возможно
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
Isn't life on other planets the same age? only difference in length of day and night, on earth you can better enjoy the beautiful sunset during the day.
Egor
@Snusmumriken так не хватает реакций 😭
Snusmumriken
Isn't life on other planets the same age? only difference in length of day and night, on earth you can better enjoy the beautiful sunset during the day.
Do you know that in some areas of the earth, day and night last about six months? It may little differ: 3 month for day and 9 month of night and vise versa.
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
Do you know that in some areas of the earth, day and night last about six months? It may little differ: 3 month for day and 9 month of night and vise versa.
I remember when I was little my mother gave me a dvd with a picture of a penguin and I watched it. It told me about the life of the Antarctic penguin and there was an explanation about the sun that has never been seen.
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
but what i think is not about videos when i was little i wish to watch tom and jerry but what my mom bought was videos about animals 😅🤣
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
@alex_game_developer did you use webgl ?
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
mr @Snusmumriken why does reverse in Lua work on strings and not on tables?
Snusmumriken
mr @Snusmumriken why does reverse in Lua work on strings and not on tables?
Because in strings it uses more frequent, write own function for tables : )
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
Because in strings it uses more frequent, write own function for tables : )
and that's why Lua is one step ahead in thinking yes even one step ahead in index 1 and not 0 😅
Snusmumriken
Lua for can be any stepped
Snusmumriken
for i = #tbl, 1, -1 do ... end
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
I want to capture all the characters and convert them to bytes with the condition that if bytes are more than 32 and less than 127, but it takes time to select characters individually in a large file 🤧
Snusmumriken
character i mean char 😅
Char can be anything, you know?
Snusmumriken
Well, pretty per-byte file processing: local mb10 = 1024 * 1024 * 10 local chunk = input_file:read(mb10) while chunk and #chunk > 0 do chunk = chunk:gsub("[%z\1-31\128-\255]", "") output_file:write(chunk) chunk = input_file:read(mb10) end Just remove all bytes lower then 32 and higher hen 127 : ) It's faster if more bytes readed onetime, so mb10 can be mb100 or gb depends of how much ram you have.
Snusmumriken
Pretty easy, you see? All char processing on C side.
Snusmumriken
Кстати, где там у луёв конструкции типа while chunk = file:read(2048) do ... end Почему их не впилили, мм. По сути надо просто дополнить систему присваиваний, чтобы выражение возвращало собственный результат а ля foo = bar = 10, и оно сразу начнёт работать. И заодно сразу начнёт пахать REPL вида: myarray = {1, 2, 3, 4, 5} > table 0x12345 myarray > table 0x12345 без необходимости печатать "="
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
Pretty easy, you see? All char processing on C side.
okay sir, i read the metadata.dat yes it is binary and not human readable and i have to convert to bytes first , that's the first step i did, i want to get rid of some bytes that can't be read when converted back to char.
Snusmumriken
Lol, are you hakking something? : )
Snusmumriken
Binary files should be readed by their documentation. Do you have the doc?
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
Snusmumriken
Extracting "readable chars" it's just taking some readable strings that file have. It may have it or not
Snusmumriken
For example, zip file. It contains some string. We also can be sure that some of these strings is filenames. But other binary data is encoded by it's position in file relative from other bytes so you need a doc : )
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
I'm having problems in terms of speed that's all sir
Snusmumriken
It's pretty fast : )
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ