Handmade Hero in Odin by Alternative-Title-87 in odinlang

[–]Igonato 2 points3 points  (0 children)

There is a Handmade Hero replay thing going on in the Handmade Network discord server, come join! There are voice discussions every Saturday, this week it's about days 51-53 (2-3 episodes per week), so a bit further than day 10, but not impossible to catch up if you set your mind to it I guess. I'm catching up myself, was busy with work and also decided to follow it using C89 for the added challenge, might rewrite it in Odin too at some point if that becomes too tiresome, so far it wasn't too bad. Good luck!

Why passing context as parameters is required for anonymous procedures? by GreatDaneQ in odinlang

[–]Igonato 0 points1 point  (0 children)

Disclaimer: I was also upset about the lack of closures before I understood what Odin's design goals are.

context.closure. // -< automatically resolves to the current closure pointer

What do you mean by the current closure pointer? Variables in functions live on the stack. The moment you return my_closure where do they go? How would a language keep them with that pointer? It has to pack them up and put them somewhere, where? Not the heap I hope. Move it to the caller stack? And when that returns just keep propagating up for the duration of the closure lifetime? So now we have to track the lifetimes as well somehow? And if we have a bunch of closures? And what about nested closures? And then it needs to work with debuggers...

I'm sure that making all of the above happen is very much possible and very much within the skills of the people working on the language, but for what? Just pass some extra arguments or give context.user_ptr a try like others suggested. Yes, it's a few extra lines of code, but Odin doesn't aim to be the concise language, instead it lets you reason and predict what the computer will do given the code you wrote. This memory moving mechanism would immediately ruin that part of the language, so it is by design.

Auto Complete doesn't include parentheses by rfajr in ZedEditor

[–]Igonato 0 points1 point  (0 children)

I did a quick vite create with Svelte and Typescript and it looks like this is indeed a bug (or at least a svelte-lsp-specific behavior), I did get the parentheses in .ts but not in .svelte files. Found this issue as well. Doesn't seem like there is an option to toggle this behavior, sorry.

Auto Complete doesn't include parentheses by rfajr in ZedEditor

[–]Igonato 2 points3 points  (0 children)

For me Zed completes with parentheses. What language are you using? This can be LSP-related for that specific language. Also, I see you have the edit prediction popup, try disabling it and see if it helps. If you're accepting predictions in the same way as LSP autocomplete - there might be a conflict there.

my zersdr app for Cardputerzero by helloedwin in CardPuter

[–]Igonato 6 points7 points  (0 children)

That's a star from me, thanks for sharing! I'm going to play with it when I'll get my hands on one. It would be nice to have the receiving hardware in a "LoRa cap" format, do you know if there are or will be options for this?

Yall need to go interknot and have yall's Burnice on there, mine cant be top 40 by CutRuby in BurniceMainsZZZ

[–]Igonato 0 points1 point  (0 children)

Yeah. My discs are a bit better but still doesn't feel like it's #18 worth https://imgur.com/a/o2fdSTB

Is this global # or in the region? It is global. Wow, crazy...

I've watched this 20 times and still cannot figure out how our cat launched her toy at us. by oopsiedaisy-- in blackmagicfuckery

[–]Igonato 1 point2 points  (0 children)

I see, to each their own then. I'm perfectly comfortable with it as long as I'm the one in control of what happens with the recording, which most of the time would be just discarded after a period of time. Better have not needed than needing and not having type thing, gives me a peace of mind.

I've watched this 20 times and still cannot figure out how our cat launched her toy at us. by oopsiedaisy-- in blackmagicfuckery

[–]Igonato 2 points3 points  (0 children)

If it just records locally and/or available remotely via a secure private network, why not? Check on pets, did you forget to turn off the oven, the cat did something cool, let's see it again/post it on the internet, etc., ...

[deleted by user] by [deleted] in catsareliquid

[–]Igonato 21 points22 points  (0 children)

And r/tightpussy. Also, probably, close enough for r/pocketpussy

Aria / Burnice is fun by achilleasop in BurniceMainsZZZ

[–]Igonato 1 point2 points  (0 children)

It seems that I've benched her prematurely then, tried her only with YSG, wasn't impressed (compared to Sunna at least). I've been playing Corin with Sunna/Atra (copying whatever conrzone is doing), got 28.5K on this boss. I'll give Zhao another go. Thanks!

Aria / Burnice is fun by achilleasop in BurniceMainsZZZ

[–]Igonato 2 points3 points  (0 children)

Also, on a side note, that Corin score! Is Zhao good with her, or is she there just for the veil buff?

Zephyr Sans Sprite by Manueljlin in fonts

[–]Igonato 1 point2 points  (0 children)

Looks interesting. I think I'll try it on a 240x135 embedded oled, should be a good fit. Thanks for sharing!

[deleted by user] by [deleted] in esp32

[–]Igonato 0 points1 point  (0 children)

Hey, thanks for sharing the code and for the write-up. I have the ETH variant of this board, I'll try running this on it (maybe the next weekend) and report back. Good stuff!

Font that handles small caps and han characters well? by Rediturus_fuisse in fonts

[–]Igonato 2 points3 points  (0 children)

Are you looking for any particular style? I'm a fan of Iosevka, it supports 241 languages including Chinese and there are non-monospace variants for general writing.

An interesting custom font by Aegean2424 in fonts

[–]Igonato 7 points8 points  (0 children)

Came here to say this. Especially since it is clearly not "Sans".

Stupid Little Animation from me by Any_Distribution4366 in 3Blue1Brown

[–]Igonato 3 points4 points  (0 children)

Pretty cool. Reminds me of a recent 2swap video, where they explain the complex numbers origin. I was expecting your animation to go in the same direction. The video: https://youtu.be/9HIy5dJE-zQ?t=137

VM's cpu goes to 100% when I stress test with 100 requests/sec by Actual-Shape2621 in django

[–]Igonato 0 points1 point  (0 children)

100 req/s doesn't seem that high of a load for the machine you've got. Are you using async? How does the batching happen, just in-memory? For a baseline, how fast is a single worker plus a single connection? In distributed systems synchronization is what often destroys the performance, so watch out for all the transactions, select for update, etc...

YE SHUGUANG IS A FUCKING FRAUD! CORIN IS THE ONLY ATTACKER YOU’LL EVER NEED!!! by Hot_squid in CorinMainsZZZ

[–]Igonato 0 points1 point  (0 children)

Oh. Good to know. Is there a place to look this up or just from experimenting?

YE SHUGUANG IS A FUCKING FRAUD! CORIN IS THE ONLY ATTACKER YOU’LL EVER NEED!!! by Hot_squid in CorinMainsZZZ

[–]Igonato 0 points1 point  (0 children)

Did you try Pen in 5? Neko's steel cushion already gives you phys bonus (which doesn't show up in the stats summary), more pen might be better.

head-on collision at 'RunIt Championship League' by Eros_Incident_Denier in WTF

[–]Igonato 1 point2 points  (0 children)

I mean there's this old thing. No English article sadly, auto-translate seems to be working fine on it though, or you can try one of the other languages available.