Enabling compression on socket send/receive.

2024-08-18 Thread treeform
Here is the corrected version with improved spelling and grammar: I’m not sure what you’re trying to do. Do you have an HTTP server and want to add compression to it? Mummy () already does this and is super performant in other ways. Do you have some sort of TCP p

Pixie and NiGui

2024-08-18 Thread treeform
Small correction pixie uses RGBX format. Where X is pre-multiplied alpha. It probably will not matter for most things but important to keep in mind. Pre-multiplied is great if you are going to use this with blending and more complex graphics stack. It’s much faster to do operations on. But might

UncheckedArray and closure issue

2024-08-18 Thread DMisener
**Araq** : Start by not capturing elements in: (index.with_length length).sort do (a, b: int) -> int: elements[a].cmp elements[b] Run Before **janAkali** 's kind help. .. I resorted to the **temporary copy hack** in the above code. I just thought there should b

UncheckedArray and closure issue

2024-08-18 Thread DMisener
Thanks! That does eliminate the problem. In my production code vs the above exemplar **elements** is indeed memory safe. The results of incorporating it into my production code was interesting... I thought replacing the indirect sort using a **seq** copy to/from would speed things up. **Apparen

Pixie and NiGui

2024-08-18 Thread janAkali
This was fun to track down! event.control.canvas.drawImage(niGuiImage, 0, 0) Run At least on Linux, this line passes image to the Cairo library that actually does the drawing. `niGuiImage` here and Pixie's `image` is just an array of bytes. If we copy raw bytes from

How to cite the Nim?

2024-08-18 Thread Araq
I don't know. Back then my PhD thesis about Nim was rejected. ;-)

Enabling compression on socket send/receive.

2024-08-18 Thread void09
Thank you, I guess that is an acceptable workaround while keeping the same syntax of nntp.sendProc(), but the reason I wanted to store the procedure as a field in the object, is to avoid the if compress: sendCompressed else: sendUncompressed. Would avoid extra code and runtime overhead for all t

Pixie and NiGui

2024-08-18 Thread chrisecker
There is an interesting bug in the code. The lines are supposed to be blue: > ctx.strokeStyle = rgba(0, 0, 255, 255) However they appear in red! How can I fix this (and again sorry for my beginner questions).

Enabling compression on socket send/receive.

2024-08-18 Thread Clonk
> Any idea what I am doing wrong and how to fix it ? Instead of storing the proc as a field, why not use the type for static dispatch ? proc sendProc(s: AsyncNNTP, ...) = discard proc sendProc(s: NNTP, ...) = discard proc new(T: typedesc[NNTP | AsyncNNTP], host: string,

Glycogen Plus UK Reviews - TRUTH Exposed! Dragons Den & Do NOT Buy Until Reading This!

2024-08-18 Thread eigfigz
✅ Keyword: - Glycogen Plus UK Furthermore, the makers claim that the Sugar Protector contains an over the top sum of juniper berries, which may help in weight lessening and aggravation administration. One thing to keep in intellect is that the producers did not clearly depict the measurement fo

Nexalyn 리뷰: 정말 효과가 있나요, 아니면 사기인가요? [2024년 업데이트]

2024-08-18 Thread nexalynpricekr
당신은 남성 보충제를 복용하는 사람들 중 하나입니까? 그렇게 하지 마십시오. Nexalyn 왜냐하면 그것들을 사용하는 것은 부끄러운 일이 아니기 때문입니다. 오늘 최고의 남성 보충제를 사용하고 싶다면 여기 최고의 보충제를 사용해 보세요. 귀하의 필요를 충족시키는 데 도움이 되는 남성을 위한 최고의 영양 보충제입니다. Nexalyn 이 보충 자료를 사용하면 귀하의 요구 사항과 파트너의 요구 사항도 충족할 수 있습니다. 다른 남성 보충제와 마찬가지로 이 제품도 체력 향상에 도움이 됩니다. 체력이 낮아서 잘 할 수 없다면 이 보