profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/treeform/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
treeform treeform istrolid.com blog.istrolid.com I like the Nim programming language.

treeform/chroma 66

Everything you want to do with colors, in nim.

treeform/chrono 60

Chrono a Timestamps, Calendars, and Timezones library for nim.

treeform/asyncssh 23

SSH and run commands on other servers asynchronously for Nim.

treeform/benchy 22

Benchmarking.

treeform/bumpy 20

2d collision library for nim.

treeform/dumpincludes 19

See where your exe size comes from.

disruptek/dist 15

a nim distribution 👑

treeform/bitty 5

Utilities with dealing with 1d and 2d bit arrays.

treeform/asterisk 3

Web based code editor.

treeform/digitalocean 3

Wrapper for DigitalOcean HTTP API.

push eventtreeform/puppy

Andre von Houck

commit sha 8d809377d1ed52cc79533b3316ade121160b6930

Some doc changes.

view details

push time in 19 hours

issue commenttreeform/puppy

can't send binary data in POST request

Feel free to reopen if its still an issue.

veksha

comment created time in a day

issue closedtreeform/puppy

can't send binary data in POST request

this works:

  req.body = @[byte 32,32,32,32]  # just spaces

this doesn't:

  req.body = @[byte 0,0,32,32]

Current behavior:

request (WinHttp.WinHttpRequest.5.1) will be sent with an empty (or truncated) body and content-length header will be changed accordingly.

What I've tried:

editing puppy.nim like this:

		let AStream = CreateObject("ADODB.Stream")
        AStream.Type = 1 # binary
        AStream.Mode = 2 # write mode
        AStream.Open()
        AStream.Write( toVariant(COMBinary req.body) ) #Write data to stream object
        AStream.Flush()  
        
        obj.send(AStream)

No luck! Don't know how to work with COM so I need your help :)

PS: in libcurl mode - same thing. EDIT: had to add curl.easy_setopt(OPT_POSTFIELDSIZE_LARGE, req.body.len) to make it somewhat work, but still getting SIGSEGV on curl.easy_perform()

closed time in a day

veksha

issue commenttreeform/puppy

can't send binary data in POST request

Thank you for reporting the bug.

I think we fixed this. Can you try and confirm?

veksha

comment created time in a day

release treeform/puppy

1.1.0

released time in a day

created tagtreeform/puppy

tag1.1.0

Puppy fetches HTML pages for Nim.

created time in a day

push eventtreeform/puppy

Andre von Houck

commit sha 90157aa688cef086148f858dff35bba9b0c12ceb

1.1.0

view details

push time in a day

PR merged treeform/puppy

Add fetch though Mac's Appkit.
+362 -21

0 comment

8 changed files

treeform

pr closed time in a day

push eventtreeform/puppy

Andre von Houck

commit sha 305e6545ee1a2d04ac8cdb4a00110b49fdea500f

Add appkit version.

view details

Andre von Houck

commit sha 40f1350e09fb610a95df6f4470e305f1fe6c25b8

Merge branch 'master' of github.com:treeform/puppy into appkit

view details

Andre von Houck

commit sha 61874a6b63d1dc003d716a597583a249ce0b18ea

Better testing.

view details

Andre von Houck

commit sha bf7cb0cf62e1f789071f962f71ad949492e7fe72

ptr[X] to ptr X

view details

Andre von Houck

commit sha ea87aeaf186c2541fe1fae1a41ade03532224e17

only pass "-framework AppKit"

view details

Andre von Houck

commit sha f65d729c60a72058bca0819d713c0097baa2c022

Fix body contains NULL char for curl.

view details

Andre von Houck

commit sha 6c4dc9d06707805df8adc9c6669ca72bff6ae4f9

replace `X[0] =` to `*X =`

view details

Andre von Houck

commit sha 97255177d5b110ae53619c4d5ed4f799250a78a6

lets try macos-latest

view details

treeform

commit sha 19f05b866021b47f54bb4527189471d3cb9edaed

Merge pull request #27 from treeform/appkit Add fetch though Mac's Appkit.

view details

push time in a day

push eventtreeform/puppy

Andre von Houck

commit sha 97255177d5b110ae53619c4d5ed4f799250a78a6

lets try macos-latest

view details

push time in 2 days

push eventtreeform/puppy

Andre von Houck

commit sha 6c4dc9d06707805df8adc9c6669ca72bff6ae4f9

replace `X[0] =` to `*X =`

view details

push time in 2 days

push eventtreeform/puppy

Andre von Houck

commit sha bf7cb0cf62e1f789071f962f71ad949492e7fe72

ptr[X] to ptr X

view details

Andre von Houck

commit sha ea87aeaf186c2541fe1fae1a41ade03532224e17

only pass "-framework AppKit"

view details

Andre von Houck

commit sha f65d729c60a72058bca0819d713c0097baa2c022

Fix body contains NULL char for curl.

view details

push time in 2 days

PR opened treeform/puppy

Add fetch though Mac's Appkit.
+360 -20

0 comment

7 changed files

pr created time in 2 days

create barnchtreeform/puppy

branch : appkit

created branch time in 2 days

release treeform/puppy

1.0.6

released time in 2 days

created tagtreeform/puppy

tag1.0.6

Puppy fetches HTML pages for Nim.

created time in 2 days

push eventtreeform/puppy

Ryan Oldenburg

commit sha 817dfc238210ebe68e94c4a762ebc4152ca4ed10

mac segfault fix

view details

Ryan Oldenburg

commit sha dd29fcbae0d653a81a807ab77d41d17684a3f397

1.0.6

view details

Ryan Oldenburg

commit sha 55390f31db46a0e9c127463864376787cfce55c8

voodoo

view details

treeform

commit sha b0fc6ab8dcfd15a2cdc2bf48b22d3cb4ab3576de

Merge pull request #26 from guzba/master 1.0.6 mac fix

view details

push time in 2 days

PR merged treeform/puppy

1.0.6 mac fix

repro'd segfault on intel mac then confirmed fix on intel mac

+63 -63

0 comment

2 changed files

guzba

pr closed time in 2 days

release treeform/puppy

1.0.5

released time in 3 days

created tagtreeform/puppy

tag1.0.5

Puppy fetches HTML pages for Nim.

created time in 3 days

push eventtreeform/puppy

Ryan Oldenburg

commit sha bfae79020e923c51d55635979d90d72f4429dd40

winhttp

view details

treeform

commit sha 11177d2d5ef296f697ae1d346198ca6ea1a3c55f

Merge pull request #25 from guzba/master v1.0.5, iwinhttprequest on windows

view details

push time in 3 days

PR merged treeform/puppy

v1.0.5, iwinhttprequest on windows
+506 -28

2 comments

5 changed files

guzba

pr closed time in 3 days

issue commenttreeform/pixie

[Feature] GIF animation support

You can make animations with pixie yes. But the question was, I think, about animated GIFs (were you use GIFs to play memes and stuff).

v3ss0n

comment created time in 6 days

created tagtreeform/slappy

tag0.3.1

3d sound api for nim.

created time in 7 days

release treeform/slappy

0.3.1

released time in 7 days

issue commenttreeform/pixie

Guidance on usage as a C library

That is progress!

You can try to --noMain:off to generate a "libpixie.a" without main.

Color should probably be: c.color(1.0f, 1.0f, 1.0f, 1.0f) the 0xff might be wrapping them to zero some how.

The C output is very raw.

Sobeston

comment created time in 13 days

issue commenttreeform/pixie-python

OSError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found on Google Colab

It looks like we compiled with a newer GLIBC then you have. We will ship a lower version and see if it works better.

arye321

comment created time in 13 days

issue commenttreeform/pixie

Guidance on usage as a C library

We are working on C bindings but they are just not ready yet, that is way we don't advertise it. Sorry, you probably just came too early. But they should still build!

It looks like the real error is: Error: can raise an unlisted exception. I think this is related to us not updating minimum versions of our dependences, we recently cleaned up the exceptions we can raise. What version of Nim do you have? (We use nim -v Nim Compiler Version 1.4.8) Its also likely you have older versions of bumpy, chroma or vmath, that don't have the clean up pass. Could you try updating them manually? nimble uninstall bumpy and nimble install bumpy should do it.

Command to build the bindings is: nimble bindings in the folder of pixie.nimble

That should generate a pixie.h file you could use to dynamically link. We are mainly working on dynamic linking as that's what's other languages python/node/ruby... support.

Thanks for trying us out!

Sobeston

comment created time in 13 days

issue closedtreeform/vmath

document differences to nim-glm

I am just curious about the motivation behind this project since there is already nim-glm. There might be more people than just me who wonder why there are multiple vector math libraries.

closed time in 14 days

krux02

issue commenttreeform/vmath

document differences to nim-glm

When I first started with nim-glm it was creating strange errors, so I just started writing my own. At first I really wanted to not use macros/templates/generics and just have a very plain library. VMath started out very light but just became more and more like nim-glm as I needed to add features. Currently they are pretty similar.

Vmath is faster, speed is very important to us:

name ............................... min time      avg time    std dv   runs
GLM raytracer .................... 112.511 ms    113.910 ms    ±3.140   x100 
vmath raytracer ................... 73.786 ms     74.387 ms    ±0.904   x100

https://gist.github.com/treeform/843e83c670d403bc74daefea974178bc https://github.com/treeform/vmath/blob/master/tests/bench_raytracer.nim

The nim-glm is missing some of the angular routines which I noticed when I made vmath tests run on nim-glm.

The speed of the 3 different vector representations is very baffling to me: https://github.com/treeform/vmath#vector-and-matrix-representation-and-benchmarks but it looks like both nim-glm and vmath use the fastest obj-array representation. So its the same in this regard.

VMath also works with javascript and shady (GLSL) backends which use the obj representation which nim-glm does not have.

VMath uses IVec3, UVec3, Vec3, DVec3 similar to GLSL rather then GLM that uses Vec3f/vec3f so its easier to transition to it.

I think VMath's readme and documentation is better, CI is better as its run on every commit. VMath has an API reference site: https://nimdocs.com/treeform/vmath and has a bunch of benchmarks.

If you want me to put a section in vmath docs on how its different from glm, I don't think I want to do that, there could be too many libraries to compare too.

I hope that answers your question.

krux02

comment created time in 14 days