Emeka

Results 27 issues of Emeka

There is something in the below I don't understand...to me the result of strtok is redundant because its inputs are constants. Is there something I am missing out? See https://github.com/tekknolagi/carp/blob/master/src/carp_tokenizer.c#L112...

Just noticed that assert macro was used twice on the same argument without change of state, any reason for this? Could be found inside carp_reg_inc and carp_reg_dec (https://github.com/tekknolagi/carp/blob/master/src/carp_registers.c#L89): ``` c...

Hello , I made this , https://gist.github.com/janus/c1a147f306be9f73f1036baaf1a06a76. See if it worths getting listed here

I noticed that Dockerfile inside result folder has this `CMD ["node", "server.js"]` and the docker-compose.yml has a result service that has this `command: nodemon server.js`. Are they not do same...

Failed to install xargo :: cargo install xargo `error[E0432]: unresolved import `toml::Value` --> src/cargo.rs:7:5 | 7 | use toml::Value; | ^^^^^^^^^^^ no `Value` in the root error[E0432]: unresolved import `toml::Table`...

Memory leaks while running example tcpecho ` ==4678==ERROR: LeakSanitizer: detected memory leaks Direct leak of 5 byte(s) in 1 object(s) allocated from: #0 0x7ff04461e30f in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x6230f) #1 0x44f3d5 in...

Got the below message error message . gcc --version gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609 `gcc -c -I/build/include -Iinclude -Imodules -DPICO_COMPILE_TIME=`date +%s` -Wall -W -Wextra -Wshadow -Wcast-qual -Wwrite-strings -Wundef -Wdeclaration-after-statement -Wconversion...

The below code fails once it calls commit function. What is it that I am not doing well here. Looks like I am omitting something important ``` pub struct Datastore...

What could be causing the below? I have not been able to figure if there is another crate with same name. `use num_bigint::{BigUint, BigInt};` `use num_rational::BigRational;` ```--> src/main.rs:38:45 | 38...

This line , `perrx("ioctl SIOCGIFHWADDR");` should be , `perrx("ioctl SIOCGIFMTU");` ` void getmtu_tap(unsigned char *name, int *mtu){ struct ifreq ifr = {};` `strcpy(ifr.ifr_name, (char *)name); /* get net order hardware...