5
42
blazebra

@programming.dev

blazebra 24 points 2 years ago

Following this logic whole human life is a puzzle game.

path: 0 10784679, hotness: undefined, score: 24, children: 2
blazebra 12 points 2 years ago

It’s a good suggestion

path: 0 10708247 10709696 10714636, hotness: undefined, score: 12, children: 0
blazebra 5 points 9 months ago

I would still prefer Rust over C++ even in GamrDev.

path: 0 21540957, hotness: undefined, score: 5, children: 7
blazebra 5 points 2 years ago

Could you please explain why he should be embarrassed by such post? What would you improve?

path: 0 9880417 9889313, hotness: undefined, score: 5, children: 0
blazebra 3 points 2 years ago

7z has way better (ultra) compression

path: 0 10463566 10467854 10473990, hotness: undefined, score: 3, children: 3
blazebra 3 points 2 months ago

I haven’t use AI at all

path: 0 25329679 25337712, hotness: undefined, score: 3, children: 1
blazebra 3 points 10 months ago

Deku is a declarative binary parser. deku_string is an extension which currently provides utility wrappers for data vectors and unicode strings, which can be prefixed or fixed length. Additionally library provides support for 7-bit encoded integers from .NET.

For example, I often work with binary structures where strings are either length prefixed (with zero character in a buffer) or in fixed size buffer with a zero-ended sting inside.

There’s multiple examples with custom writer and reader functions, which work, but are less convenient to use.

Any additional ideas for utilities are welcome.

path: 0 21274513 21275841, hotness: undefined, score: 3, children: 0
blazebra 3 points 2 years ago

It makes sense if they hire middles, not seniors

path: 0 16172266 16184721, hotness: undefined, score: 3, children: 0
blazebra 3 points a year ago

Quick analysis of code shows that there’s no suspicious build scripts or imports added, just an additional poorly documented and not tested function.

Documentation is additionally published to a third-party website.

Repository is probably is hidden which is ok.

path: 0 19877775 19878060, hotness: undefined, score: 3, children: 0
blazebra 3 points 10 months ago

For 32-bit float 6 decimal digital are precise in representation, beyond that expect to have rounding errors.

I don’t see if blender ever has 64-bit support but there were rejected requests.

path: 0 21244966, hotness: undefined, score: 3, children: 0
blazebra 2 points 2 years ago

Nice article, I enjoyed it. Why float sqrt has been used? Integer sqrt is way faster and easily supports integers of any lengths

path: 0 9902808, hotness: undefined, score: 2, children: 6
blazebra 2 points 2 years ago

Integer sqrt can be used for integers with any length, not only for integers fit into f64

path: 0 9902808 9907403 9915762 9916333 9916871 9917367 9923330, hotness: undefined, score: 2, children: 0
blazebra 2 points 2 years ago

It would be more cool with better descriptions and visual examples

path: 0 10353328, hotness: undefined, score: 2, children: 0
blazebra 2 points 2 years ago

The test of behaviour I tell is an input field, allowing to type letters of European languages like ü, ä, ą and so on. I’m quite disappointed when I can’t input something like „Łabądź” as a player name, but able to edit in memory or in save file.

Also I prefer to have Alt-F4 as an emergency exit

path: 0 10228321 10231329 10236051 10250159, hotness: undefined, score: 2, children: 0
blazebra 2 points 2 years ago

One more thing I forgot to say. If default function of the alt key is to open menu, that it’s defined somewhere in your game, settings or the engine. If you try default loop in win32 api app with an empty window, alt key does nothing and you need actually bind it to change its behaviour to show menu. So I recommend to blame settings or an engine first before disabling events on so low level.

Also such way of disabling events would prevent you of porting your app to other OSes like Linux and macOS

path: 0 10228321 10231329 10236051 10250247, hotness: undefined, score: 2, children: 0
blazebra 2 points a year ago

And Deno

path: 0 20536199 20538333, hotness: undefined, score: 2, children: 1
blazebra 2 points 2 years ago

If you’d have any user input, this would break it. Even if you emulate it using key codes later, localisation will be hard

path: 0 10228321 10231329, hotness: undefined, score: 2, children: 3
blazebra 2 points 2 years ago

I still prefer 7z for compression

path: 0 10467909 10469203 10474227 10475735 10499618, hotness: undefined, score: 2, children: 0
blazebra 2 points a year ago

Why you’ve wrote “dont sign in…” for GitLab? GitLab is safe

path: 0 19877900, hotness: undefined, score: 2, children: 4
blazebra 2 points 2 months ago path: 0 25330506, hotness: undefined, score: 2, children: 0

thanks for using Leebra!

go to feed...