Stoian Ivanov
Stoian Ivanov
There is a off-by-one in getDayOfYear. The correct fnction imho is ``` function getDayOfYear(date: Date): number { return Math.ceil((date.getTime() - Date.UTC(date.getUTCFullYear(), 0, 1)) / 8.64e7)+1; } ```
also over the polar circle we have to check if there will be sunrise/sunset this given day: ``` if (cosLocalHourAngle>1 || cosLocalHourAngle
Why not just attach the object to the request with som resonably named property? This is what JS is made for 😃
> From my socket connection, I'm trying to set a jwt and send it back as an http response, or somehow set the cookie of the client. Am I in...
You create websocket connection to pas messages between peers a browser an a server or two servers. The establishment of the connection folows fixed rules but after that you can...
Some future devices of [Shelly brand](https://shelly.cloud/) by Allterco Robotics will use a Leshan based LwM2M gateway connecting NB-IoT wireless and our public cloud
TI version does not support streaming modes and does not support different key sizes .. this trims the code a lot.. we can do it here also, I think, if...
If we can provide the options we probably should. Relying on the compiler/linker to clean up the code is optimistic at best :-)
No rush 😃 I'm using the package from my repo thanks to yarn. I'm glad that you even consider this feature