good day everyone does jester have support for google oauth?

2024-04-14 Thread isaiah
yeah i saw a library in the nimble directory. oauth. i will check that out.thanks

good day everyone does jester have support for google oauth?

2024-04-14 Thread isaiah
I intend finding out if jester has support for google oauth so i can use it for login on my site.You can suggest other libraries that support this if it does not.thanks alot.

what is the nim equivalent to the python None type

2024-03-14 Thread isaiah
okay. thanks i will look into that

what is the nim equivalent to the python None type

2024-03-13 Thread isaiah
`type Point* = object x,y,a,b: int func initPoint(x,y,a,b:int):Point = result.x = x result.y = y result.a = a result.b = b if some(x).isNone and some(y).isNone: return if not(y^2 == x ^ 3 + a*x+b): raise newException(ValueError, fmt"({x}, {y}) is not on the curve")` Run

what is the nim equivalent to the python None type

2024-03-13 Thread isaiah
`import std/[strformat, options] import math type TypeError = object of ValueError type Point* = object x,y,a,b: int func initPoint(x,y,a,b:int):Point = result.x = x result.y = y result.a = a result.b = b if some(x).isNone and some(y).isNone: return if not(y^2 == x ^ 3 + a*x+b): raise newExcept

what is the nim equivalent to the python None type

2024-03-13 Thread isaiah
`type Point* = object x,y,a,b: int func initPoint(x,y,a,b:int):Point = result.x = x result.y = y result.a = a result.b = b if some(x).isNone and some(y).isNone: return if not(y^2 == x ^ 3 + a*x+b): raise newException(ValueError, fmt"({x}, {y}) is not on the curve") ` Run

a chat app please recommend necessary libraries

2024-03-07 Thread isaiah
thanks to everyone i will go through each one

what is the nim equivalent to the python None type

2024-03-07 Thread isaiah
thanks a lot for the explanation.I am actually trying to translate the jimmy song programming bitcoin book from python to nim in order to actually learn nim. I am trying to implement the Point field with infinity.

what is the nim equivalent to the python None type

2024-03-07 Thread isaiah
it seems it will solve the problem.thanks alot.

what is the nim equivalent to the python None type

2024-03-07 Thread isaiah
I am translating a python code to nim and i need to find out the nim equivalent of None

a chat app please recommend necessary libraries

2024-03-07 Thread isaiah
i know i have to use something like jester, websockets and authentication library.

a chat app please recommend necessary libraries

2024-03-07 Thread isaiah
Good day everyone. i want to build a chat app with nim, please can you recommend necessary libraries.

Please who can help me with nim filter

2023-12-27 Thread isaiah
>: Thanks.i wiil surely go through it.

Please who can help me with nim filter

2023-12-27 Thread isaiah
>: Thanks. i will go through it.

Please who can help me with nim filter

2023-12-26 Thread isaiah
thanks to everyone who helped out.I later figure it out.it is working well now.

Please who can help me with nim filter

2023-12-25 Thread isaiah
Thanks. please how do you format code on the forum using rst. a link to learn it will be appreciated.

hello

2023-12-25 Thread isaiah
# This is a Nim code block proc greet(name: string): string = return "Hello, " & name & "!" echo greet("World")

Please who can help me with nim filter

2023-12-25 Thread isaiah
`# The nim code #? stdtmpl(subsChar = '$', metaChar = '#') #import "../database" #import user #import xmltree proc `$!`(text: string): string = escape(text) proc renderMain*(body: string): string = result = "" return $""" Blog Written in Nim${body} """ proc renderLogin*(): string = res

NIR

2023-11-25 Thread isaiah
I believe Nim is a more powerful and beautiful language than most people see it to be and also simple.please What is an NIR?

please who can explain this code

2023-11-18 Thread isaiah
`type Animal = ref object name: string age: int proc speak(self: Animal, msg: string) = echo self.name & " says:" & msg proc setName(self: Animal, name:string) = self.name = name proc incAge(self: Animal) = self.age += 1 proc `$`(x:Animal ): string= $x.name & " is " & $x.age & " years old" var s

please who can explain this code

2023-11-18 Thread isaiah
thanks for the quick reply, i really do not know how to format the code using rst. after going through the nim manual i was able to fix it.

please who can explain this code

2023-11-18 Thread isaiah
`type Animal = ref object name: string age: int proc speak(self: Animal, msg: string) = echo self.name & " says:" & msg proc setName(self: Animal, name:string) = self.name = name proc incAge(self: Animal) = self.age += 1 proc `$`(x, y:Animal ): string= $x.name & " is " & $y.age.int & " old" var

is jester now working well with nim version 2

2023-11-13 Thread isaiah
thanks

is jester now working well with nim version 2

2023-11-11 Thread isaiah
how do i host a jester app

is jester now working well with nim version 2

2023-11-08 Thread isaiah
thanks alot i will do well to share what i finally build with jester here.it worked well.

is jester now working well with nim version 2

2023-11-08 Thread isaiah
i tried to use jester with the latest nim sometimes ago. but it never compiled.

how to wrap c scanf procedure in nim

2023-10-27 Thread isaiah
thanks it worked well.i am interested in building something usefull with nim.please could you make a suggestion. something not too hard and too easy.

how to wrap c scanf procedure in nim

2023-10-27 Thread isaiah
i been able to wrap printf, sqrt from math.h. but finding it difficult to wrap scanf.i will appreciate any help.

What is the best way to learn nim for someone who is fluent with python

2023-08-11 Thread isaiah
jester.

What is the best way to learn nim for someone who is fluent with python

2023-08-11 Thread isaiah
No stack traceback available SIGSEGV: Illegal storage access. (Attempt to read from nil?) Segmentation fault Error: execution of an external program failed: '/home/isaiah/NimProjects/blog/src/blog.out' tools.nim(36) doCmd > Error: Execution failed with exit code 1

What is the best way to learn nim for someone who is fluent with python

2023-08-10 Thread isaiah
i am interested in learning nim but it seems to lack resources and the libraries have no documentation to use. what are your recommendations to learn and use it well.thanks