Send headers from server to client with httpbeast

2023-02-09 Thread demetera
Thanks a lot. Based on this example I will learn how to proceed further. In the meantime there's a question, why instead of just passing header to the function as a string, need to create additional type and another procedure to create headers. I guess, it's C/C++ legacy to save memory / less bi

Send headers from server to client with httpbeast

2023-02-09 Thread jyapayne
@demetera, Nim is statically typed and has some type inference, so when you don't see a type listed, Nim's type inference is at work. The type of `headers` is a string, because Nim infers the type from the default value. `headers:string=""` could also be used equivalently. As for how to use tha

Nim for Beginners video series discussion thread

2023-02-09 Thread demetera
Thanks a lot for your videos. Those are really helpful for beginners in the Nim world and make this awesome language more popular. Please consider to cover "sockets, http, https, server-client architecture, json" stuff in the future.

Send headers from server to client with httpbeast

2023-02-09 Thread demetera
Dear All, I'm relatively new in Nim, came from Python. Developing my own little resource monitoring project and chose raw **httpbeast** as a platform for REST API due to its simpleness and performance. I'm stuck with the way on how to send headers from server to client. To be honest, this is n

working towards a Nim Devroom at FOSDEM 2023 (physical event)

2023-02-09 Thread pietroppeter
btw, for those who went, how was it? interesting talks to watch when the video will be available (or are they already)? I was able to (sort of) watch a couple of interesting talks: * [What I learned about leading a healthy project from speaking to 50+ maintainers](https://fosdem.org/2023/sche

working towards a Nim Devroom at FOSDEM 2023 (physical event)

2023-02-09 Thread pietroppeter
> Out of curiosity, the devroom wasn't approved? to expand a little on @dlesnoff correct assessment (and partly using some answers I did provide in nim telegram channel, I was planning to update this thread but forgot, thanks for the reminder! :)). Yes, the devroom was not accepted. I think I c

working towards a Nim Devroom at FOSDEM 2023 (physical event)

2023-02-09 Thread dlesnoff
The number of devroom was limited due to COVID restrictions. We could have joined and give talks within the devroom "Minimalistic and emerging programming languages". I didn't went there in the end.

working towards a Nim Devroom at FOSDEM 2023 (physical event)

2023-02-09 Thread teras
Hello all. Out of curiosity, the devroom wasn't approved? This was so sad :( I was looking forward for this year's FOSDEM with a Nim devroom :(