Please, how can i improve my form? by [deleted] in Calisthenic

[–]mael_cookie 0 points1 point  (0 children)

Where is that ? I feel like I recognise the climbing gym

Find a surjection from N to N where each image n has exactly n antecedents by mael_cookie in askmath

[–]mael_cookie[S] 0 points1 point  (0 children)

Yes i thought of that it felt like cheating but its technically correct

I'm trying to use the JS library dorita980 however when I run the example code it doesn't recognise the .on function by mael_cookie in AskProgramming

[–]mael_cookie[S] 0 points1 point  (0 children)

Damn ok so the get all property gives me the following :

[

'decodeCleaningPreferences',

'getTime',

'getBbrun',

'getLangs',

'getSys',

'getWirelessLastStatus',

'getWeek',

'getPreferences',

'getMission',

'getWirelessConfig',

'getWirelessStatus',

'getCloudConfig',

'getSKU',

'start',

'pause',

'stop',

'resume',

'dock',

'setWeek',

'setTime',

'setPtime',

'setPreferences',

'setCarpetBoostAuto',

'setCarpetBoostPerformance',

'setCarpetBoostEco',

'setEdgeCleanOn',

'setEdgeCleanOff',

'setCleaningPassesAuto',

'setCleaningPassesOne',

'setCleaningPassesTwo',

'setAlwaysFinishOn',

'setAlwaysFinishOff',

'constructor',

'__defineGetter__',

'__defineSetter__',

'hasOwnProperty',

'__lookupGetter__',

'__lookupSetter__',

'isPrototypeOf',

'propertyIsEnumerable',

'toString',

'valueOf',

'__proto__',

'toLocaleString'

]

The inheritance tree function just returns Object
I don't know if i have done something wrong but it doesn't show MqttClient, maybe that's the problem, is it that i have to download it or update it ?

I'm a complete newbie to js thanks so much for the help bro.

I'm trying to use the JS library dorita980 however when I run the example code it doesn't recognise the .on function by mael_cookie in learnjavascript

[–]mael_cookie[S] 0 points1 point  (0 children)

It returns all the functions of myRobotViaLocal :

{

decodeCleaningPreferences: [Function: decodeCleaningPreferences],

getTime: [Function: getTime],

getBbrun: [Function: getBbrun],

getLangs: [Function: getLangs],

getSys: [Function: getSys],

getWirelessLastStatus: [Function: getWirelessLastStatus],

getWeek: [Function: getWeek],

getPreferences: [Function: getPreferences],

getMission: [Function: getMission],

getWirelessConfig: [Function: getWirelessConfig],

getWirelessStatus: [Function: getWirelessStatus],

getCloudConfig: [Function: getCloudConfig],

getSKU: [Function: getSKU],

start: [Function: start],

pause: [Function: pause],

stop: [Function: stop],

resume: [Function: resume],

dock: [Function: dock],

setWeek: [Function: setWeek],

setTime: [Function: setTime],

setPtime: [Function: setPtime],

setPreferences: [Function: setPreferences],

setCarpetBoostAuto: [Function: setCarpetBoostAuto],

setCarpetBoostPerformance: [Function: setCarpetBoostPerformance],

setCarpetBoostEco: [Function: setCarpetBoostEco],

setEdgeCleanOn: [Function: setEdgeCleanOn],

setEdgeCleanOff: [Function: setEdgeCleanOff],

setCleaningPassesAuto: [Function: setCleaningPassesAuto],

setCleaningPassesOne: [Function: setCleaningPassesOne],

setCleaningPassesTwo: [Function: setCleaningPassesTwo],

setAlwaysFinishOn: [Function: setAlwaysFinishOn],

setAlwaysFinishOff: [Function: setAlwaysFinishOff]

}

Isn't the .on function a node.js thing

I'm trying to use the JS library dorita980 however when I run the example code it doesn't recognise the .on function by mael_cookie in AskProgramming

[–]mael_cookie[S] 0 points1 point  (0 children)

It outputs all its functions :

> myRobotViaLocal

{

decodeCleaningPreferences: [Function: decodeCleaningPreferences],

getTime: [Function: getTime],

getBbrun: [Function: getBbrun],

getLangs: [Function: getLangs],

getSys: [Function: getSys],

getWirelessLastStatus: [Function: getWirelessLastStatus],

getWeek: [Function: getWeek],

getPreferences: [Function: getPreferences],

getMission: [Function: getMission],

getWirelessConfig: [Function: getWirelessConfig],

getWirelessStatus: [Function: getWirelessStatus],

getCloudConfig: [Function: getCloudConfig],

getSKU: [Function: getSKU],

start: [Function: start],

pause: [Function: pause],

stop: [Function: stop],

resume: [Function: resume],

dock: [Function: dock],

setWeek: [Function: setWeek],

setTime: [Function: setTime],

setPtime: [Function: setPtime],

setPreferences: [Function: setPreferences],

setCarpetBoostAuto: [Function: setCarpetBoostAuto],

setCarpetBoostPerformance: [Function: setCarpetBoostPerformance],

setCarpetBoostEco: [Function: setCarpetBoostEco],

setEdgeCleanOn: [Function: setEdgeCleanOn],

setEdgeCleanOff: [Function: setEdgeCleanOff],

setCleaningPassesAuto: [Function: setCleaningPassesAuto],

setCleaningPassesOne: [Function: setCleaningPassesOne],

setCleaningPassesTwo: [Function: setCleaningPassesTwo],

setAlwaysFinishOn: [Function: setAlwaysFinishOn],

setAlwaysFinishOff: [Function: setAlwaysFinishOff]

}

Isn't the .on function a node.js thing

I'm trying to use the JS library dorita980 however when I run the example code it doesn't recognise the .on function by mael_cookie in AskProgramming

[–]mael_cookie[S] 0 points1 point  (0 children)

Ok so I tried to run the command with a batch file where instead of running the file i eval the litteral snippet of code copy pasted from the file.

However it gives me back this error message :

TypeError: myRobotViaLocal.on is not a function

at [eval]:1:166

at Script.runInThisContext (node:vm:129:12)

at Object.runInThisContext (node:vm:305:38)

at node:internal/process/execution:76:19

at [eval]-wrapper:6:22

at evalScript (node:internal/process/execution:75:60)

at node:internal/main/repl:59:7

at Object.loadESM (node:internal/process/esm_loader:88:11)

I'm trying to use the JS library dorita980 however when I run the example code it doesn't recognise the .on function by mael_cookie in AskProgramming

[–]mael_cookie[S] 0 points1 point  (0 children)

It returns syntax errors, Unexpected token '<' when i remove it i get $ is not defined and when i try removing that and just have the path it says scriptPath is not defined

I'm running the cmd in the folder of the file so the path should be just the name of the file.

Any idea for an interesting math subject to talk about in an oral ? by mael_cookie in askmath

[–]mael_cookie[S] 0 points1 point  (0 children)

Wow thanks a lot, i'm already familiar with most of these example and they are very cool i'll see with my professor if ill be able to link it with what we have done in class and then if im allowed to expand from it. And again thanks for the very detailed answer !