Antoni Spaanderman
Antoni Spaanderman
The same Bitcoin wiki page also mentions how to calculate the megic bytes from the signet challenge, the first 4 bytes of `sha256d(challenge_len || challenge)` (length is encoded as a...
i do find this a weird way to enforce layout compatibility as this gives no guarantees for unsafe code, but this should be the only code that relies on layout...
All the `.unwrap()`s here are not needed, `&mut T` can be converted to `NonNull` with `.into()` ([source](https://doc.rust-lang.org/1.80.0/src/core/ptr/non_null.rs.html#1834-1844)), and non zero constants can be made because `NonZeroUsize::new` is a const fn...
i got here because of the following error ``` something went wrong: FetchError: request to https://mijn.magister.net/api/schools?filter=Marnix failed, reason: getaddrinfo ENOTFOUND mijn.magister.net at ClientRequest. (/home/antoni/js/node_modules/node-fetch/lib/index.js:1461:11) at ClientRequest.emit (node:events:394:28) at TLSSocket.socketErrorListener (node:_http_client:447:9)...
> It has simply been too long that somebody has updated it. Yes, true > You can try to implement the needed change yourself, and see if the library does...
I tried but it gave me too much errors. Magister changed completely
bedankt voor de info ga ik proberen
``` something went wrong: AuthError: Error: AuthCodeValidation at /home/antoni/js/node_modules/magister.js/lib/magister.js:575:15 ``` moet ik nog ergens een `authCode` in doen?
> ja je moet naast username password en school ook een authCode meegeven, ik denk dat de enige manier om die te verkrijgen is om in de devtools van je...
en het werkt btw