--- Log opened Sun Jan 27 00:00:02 2019 |
01:23 | | Kindamoody|afk is now known as Kindamoody |
02:33 | | Kindamoody is now known as Kindamoody[zZz] |
04:04 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code |
04:28 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
05:06 | | Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code |
05:06 | | mode/#code [+qo Vorntastic Vorntastic] by ChanServ |
05:10 | | Derakon is now known as Derakon[AFK] |
05:15 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
05:15 | | mode/#code [+o himi] by ChanServ |
05:36 | | Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has quit [Ping timeout: 121 seconds] |
05:40 | | Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has joined #code |
05:40 | | mode/#code [+o Alek] by ChanServ |
06:21 | | celticminstrel is now known as celmin|sleep |
06:28 | | Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has quit [Ping timeout: 121 seconds] |
06:31 | | Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has joined #code |
06:31 | | mode/#code [+o Alek] by ChanServ |
08:39 | | Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has quit [Ping timeout: 121 seconds] |
08:43 | | Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has joined #code |
08:43 | | mode/#code [+o Alek] by ChanServ |
09:42 | | Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has quit [Operation timed out] |
09:46 | | Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has joined #code |
09:46 | | mode/#code [+o Alek] by ChanServ |
09:54 | | Kindamoody[zZz] is now known as Kindamoody |
10:16 | | Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has quit [Ping timeout: 121 seconds] |
10:20 | | Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has joined #code |
10:20 | | mode/#code [+o Alek] by ChanServ |
11:55 | | Kindamoody is now known as Kindamoody|afk |
11:59 | | Kindamoody|afk [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds] |
12:49 | | Kindamoody|afk [Kindamoody@Nightstar-hp9.f6t.15.193.IP] has joined #code |
12:49 | | mode/#code [+o Kindamoody|afk] by ChanServ |
12:57 | | Kindamoody|afk is now known as Kindamoody |
14:06 | <&[R]> | <ender> https://twitter.com/berenguel/status/1088814229401018375 → https://www.google.com/search?q=how%20to%20tell%20if%20you're%20running%20jdk%20or%20jre |
14:20 | < Emmy> | yup, does the same for google NL as well XD |
14:26 | | Degi [Degi@Nightstar-3d9llc.dyn.telefonica.de] has joined #code |
14:33 | <~Vorntastic> | That is wild. I wonder why |
14:34 | | celmin|sleep is now known as celticminstrel |
15:13 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
15:13 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
15:26 | <&ToxicFrog> | Google (like most other search engines) has a feature where if it thinks you're researching ways to kill yourself it'll insert a local suicide hotline or similar as the first result, which appears to be triggering here |
15:27 | <&ToxicFrog> | I have no idea why it's triggering on this query, though |
15:28 | | * [R] wonders if it's related to Oracle being asswipes |
15:33 | <@abudhabi> | https://www.youtube.com/watch?v=ZWQ0591PAxM |
16:36 | | Kindamoody [Kindamoody@Nightstar-hp9.f6t.15.193.IP] has quit [Ping timeout: 121 seconds] |
16:37 | | Degi [Degi@Nightstar-3d9llc.dyn.telefonica.de] has quit [Operation timed out] |
16:43 | | Kindamoody|autojoin [Kindamoody@Nightstar-hp9.f6t.15.193.IP] has joined #code |
16:43 | | mode/#code [+o Kindamoody|autojoin] by ChanServ |
16:44 | | Degi [Degi@Nightstar-3d9llc.dyn.telefonica.de] has joined #code |
17:07 | | Kindamoody|autojoin [Kindamoody@Nightstar-hp9.f6t.15.193.IP] has quit [Ping timeout: 121 seconds] |
17:29 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
17:45 | | Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
18:28 | | Kindamoody|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code |
18:28 | | mode/#code [+o Kindamoody|autojoin] by ChanServ |
18:50 | | Kindamoody|autojoin is now known as Kindamoody |
21:38 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
21:43 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code |
21:43 | | mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ |
22:16 | < Degi> | Is it possible to turn a double[n] arr to a byte[n * sizeof(double)] in c++ with reinterpret_cast<char*>(&arr) and back? |
22:17 | < Degi> | Or is there any simpler method to store a double[8*64] on a esp8266 |
22:20 | <&ToxicFrog> | What's wrong with just declaring it as a double[8*64]? |
22:20 | <&ToxicFrog> | If you do need to cast it, yes, I think that should work, although you'll probably want uint8_t rather than char* for clarity |
22:27 | < Degi> | I think I need it as byte type to store it with spiffs.write since it requires a uint8_t array |
22:33 | <&ToxicFrog> | I have no idea what spiffs.write is, but in that case, yes, just cast it and make sure you pass the correct size |
22:43 | < Degi> | Hm ok, that's pretty nice about c++ |
22:46 | < Degi> | Oh wait, it takes const void* as a type. So can I pass &arr or arr as an argument? Is the size the size of the array in doubles or in bytes? |
22:51 | <&[R]> | " Is the size the size of the array in doubles or in bytes?" <-- ??? |
22:52 | <&[R]> | double d[6]; // array of six doubles, which is sizeof(double) * 6 bytes |
22:53 | < Degi> | Ah oopsie, it is sizeof(double)*n because it needs byte size. All good. |
22:53 | <&[R]> | "So can I pass &arr or arr as an argument?" <-- an array is syntactically similiar to a pointer. So arr (without an index) is technically a pointer to the first element for most purposes. |
22:54 | < Degi> | So arr can be used instead of &arr in most cases |
22:56 | <&[R]> | &arr would be used if something's asking for a pointer-to-a-pointer. (Eg: void **) |
22:57 | <&[R]> | Unless arr is a double array (IE: double arr[10][10]), then arr raw would be a pointer to a pointer and &arr would be used to fill a pointer-to-a-pointer-to-a-pointer. |
23:03 | < Degi> | data.write(reinterpret_cast<uint8_t*>(calibrationSlope), 32*8*sizeof(double)); |
23:03 | < Degi> | data.read(reinterpret_cast<uint8_t*>(calibrationSlope), 32*8*sizeof(double)); |
23:03 | < Degi> | This compiles |
23:04 | < Degi> | https://github.com/esp8266/Arduino/blob/74819a763bfb6e9890a57411dcea4aba221a778d/cores/esp8266/FS.h This is the header source I think |
23:10 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds] |
--- Log closed Mon Jan 28 00:00:03 2019 |