Denis Olshin (@denullru) profile picture
Saint Petersburg, Russia
Joined January 2009
Photo by Denis Olshin (@denullru)Photo by Denis Olshin (@denullru)Photo by Denis Olshin (@denullru)Photo by Denis Olshin (@denullru)Photo by Denis Olshin (@denullru)Photo by Denis Olshin (@denullru)Photo by Denis Olshin (@denullru)Photo by Denis Olshin (@denullru)Photo by Denis Olshin (@denullru)Photo by Denis Olshin (@denullru)
Got tired of waiting for a Minecraft worldgen mod which would trade infinitely-sized worlds for realistic rivers, waterfalls and tectonic-based relief, so I made one myself. I think it turned out more interesting than a bunch of noises on top of each other #minecraft #procgen
1
3
190
Decided to design a simple, yet (at least moderately) effective captcha. Came up with an idea of using emojis instead of characters. Here's a demo: denull.ru/exp/captcha What do you think?
1
2
199
Published yet another Nim library! This one is a HyperLogLog data structure implementation. It allows to estimate the number of unique elements in arbitrarily large sets, using just 12kb of memory. No dependencies, just a single Nim file :) github.com/deNULL/hyperloglo… #nimlang
1
3
233
This is a port of Redis implementation, here’s an article describing the algorithm in more detail: antirez.com/news/75 I’ve added one little tweak from myself: for small sets (up to 1000) it can store the exact list of elements, which reduces the error in this range to 0.
2
134
Nim is a great language, however its community is still relatively small, so it lacks libraries for many tasks. For example, I wanted to use perceptual hashes to find duplicate images, and couldn’t find a good package for that. So I made my own: github.com/deNULL/perceptual #nimlang
1
1
3
305
It uses ideas from pHash.org and from this post: hackerfactor.com/blog/index.… (and also a basic histogram hash for a good measure) For even better matching it would be nice to also implement SIFT/SURF. It would work much slower though.
1
1
172
Previously I’ve generated a picture of “java developer”, as seen by Stable Diffusion network. Now I did the same with DALL-E, and its equally hilarious: labs.openai.com/s/OU6CgoiOCr… #dalle
Replying to @grishka11
а это у @denullru получилось, господи как же я ору
3
Tried following in @watawatabou footsteps by generating road networks using slightly modified polygon bisection algorithm. Looks promising so far!
1
1
14
And here’s a bonus video: an infinite city in 3D! It would probably make a nice old-style screensaver #procedural #procgen
1
5
43
I think my boredom (caused by a lack of social interactions) is now mutating into new variants :( Have anyone got any vaccines for that?
1
Made a tiny JS library to simulate “human-like” randomness. It basically prevents the same element to be chosen twice in a row — or just makes it less probable. Generates sequences which are perceived as “more random”. Here it is, check it out: github.com/deNULL/human-rand…
Wordle 212 3/6 🟩⬛🟨⬛🟨 ⬛🟨⬛🟨⬛ 🟩🟩🟩🟩🟩
Если у вас есть Telegram — проголосуйте, плз, в опросе про то, в каких социальных сетях вы активно читаете ленту: t.me/missing_username/405
As a Russian (who stores string constants in code), I feel attacked by VSCode's latest Unicode highlighting 😒
You’re unable to view this post because this account owner limits who can view their posts. Learn more
7
18
2
110
I mean, I get the intention (to prevent spoofing attacks like these ones: certitude.consulting/blog/en…). But still — I would very much prefer an option to enable it only outside of string literals (because making assumptions about their content doesn't seem like a good idea).
2
12
Whew. Guessing a word you don’t know isn’t easy, but somehow I still managed to do it Wordle 209 4/6 ⬛⬛⬛🟨⬛ ⬛⬛🟩⬛🟩 🟩⬛⬛⬛⬛ 🟩🟩🟩🟩🟩
Now also managed to replicate biome selection from the latest snapshot of @Minecraft. Should help looking for interesting seeds. Here's the seed 424242, for example (map sizes are 15360x15360 blocks and 46080x46080 blocks). #minecraft #procedural #procgen
1
1
I'm using Go, so those images are generated relatively fast (about 20s each — that's 1280x1280px resolution). But now I'm thinking about rewriting the whole thing as a fragment shader, so it could be rendered even faster using GPU🤔
Reverse engineered the new #Minecraft terrain generation. Here's it at different scales: 4096x4096 blocks, 16384x16384 and 65536x65536 (and a height map). Looks more interesting than before, but it's still just a bunch of Perlin noises mixed together :) #procedural #procgen
1
1
4
This specific map is for seed 12344321, by the way (as generated in snapshot 21w43a). Maybe later I'll make some kind of map preview tool to help searching for interesting seeds.
Replying to @kiwicom247
@kiwicom247, why are you ignoring my questions about my refund request? I've been waiting 5 whole months for the refund, and a month for a reply in your support helpdesk. Are you okay there? Is this really the level of service you're providing to your customers?
2
Сделал удобные графики по результатам всех округов Москвы в ДЭГ: denull.github.io/elections-2… (там показаны не абсолютные голоса, а проценты на каждом интервале, поэтому ночью график «болтает») Главное — там можно прятать кандидатов от ЕР и видеть, как выравниваются распределения
2
2
1
31
Подробнее об этих аномалиях можно посмотреть видос от @max_katz и @bananstena: youtube.com/watch?v=4ffEHROI… (ну а я так, решил перепроверить и заодно сделать штуку, которую можно всем потыкать)
1
4
Replying to @max_katz
@max_katz @bananstena Вам в копилку ещё два графика. Первый это график курильщика — как менялись с течением доли за кандидатов по 198 округу. Второй — те же доли, просто без Хованской. Магическим образом результаты перестают «плыть» во времени и становятся гораздо ровнее
2
4
Не забудьте сходить проголосовать! По Московскому времени три с половиной часа осталось. Сейчас ваш голос очень ценен: у него в 225 раз выше вес, чем на голосовании по поправкам, например. А если не знаете, где и как — пишите, я расскажу и помогу. #Выборы2021 #ЕДГ2021 #Выборы
1
1
Implemented a couple of point sampling algorithms: on rectangular and triangular grids, Poisson disk, random (with minimum allowed spacing), and random after performing Lloyd's relaxation on triangulated mesh. Here's the comparison with different number of points: #procgen
1
1
And here're some variants of Voronoi-style diagrams for each of those point samplers.