00:08:30 needbrrrrrrr90: it can be used with a remote node too. doesn't have to be local. 00:09:06 it can even be used with remote public nodes (just like many do for their wallets) 00:09:36 hence one doesn't need to run their own local node to use self-select. 00:10:56 ah fantastic, xmrpow was implying that it required a full node 00:12:04 https://old.reddit.com/r/Monero/comments/ggywr1/skepticism_sunday_may_10_2020/fq80b26/?context=10 00:12:10 shilling your work jtgrassie :) 00:12:23 What are the major drawbacks, in your opinion? 00:12:52 I feel like I should be actively attempting to get this popular, unless there's some big drawback I'm missing 00:15:40 well the only real difference for a pool is they must validate the templates miners use, this is very fast though so not really a drawback. 00:16:06 for a miner, they need access to a node (local or remote). 00:16:19 which again, is really a non-issue. 00:17:28 the bigger reason uptake has not been that high I put down to the majority of the pools use that crappy nodejs pool, and nobody has bothered to implement it for that pool. 00:18:23 if one of the nodejs pool devs bothered to implement, we'd probably see much higher usage. 00:23:10 but then they can't add fast-mode randomx for share validation, I'm not holding my breath. 00:26:44 Is there any reason for me to upgrade the gui monero client to 15.04? I use opensuse leap 15.1 and there is a glibc version problem with the latest build of monero, opensuse leap 15.1 has version 2.26 and monero 15.04 wants version 2.27. 00:32:41 What glibc version problem exactly ? 00:33:08 Is this a gitian build ? 00:33:40 IIRC gitian (or depends) wants a libc compatible with some particular verison, but later ones should be accepted too. 00:34:06 glibc.so.6 wants version 2.27, has version 2.26 00:34:27 You've built the binary on the same box, right ? 00:34:50 checked and opensuse does not offer an update unless I change to tumbleweed. 00:34:52 And did you update glibc after building ? 00:35:43 no update for glibc is offered for opensuse leap 15.1 00:36:09 I used the straight downloaded linux 64 bit version of monero. monero 15.02 runs fine 00:36:30 Ah, there's your problem then. If you're going to develop for monero, build it yourself :) 00:37:20 I suck at Cmake, LOL. Ok, will build from source if I want the latest 00:38:01 I *think* the GUI binaries will need whatever was on the machine where it was built since it does not use depends (which does some things to ensure backward compat with some versions of glibc). 00:39:03 I also have the issue with AMD ryzen 1600+ not liking randomX 00:39:09 saving for a newer processor 00:39:17 GUI binaries were compiled on Ubuntu 18.04 00:39:57 ok, everyone loves Ubuntu. I am old Novel admin person so am partial to opensuse 00:40:50 thanks for the suggestions. 00:44:24 bye 02:08:28 vtnerd: how can I compile the supercop benchmark? 02:09:29 which cmake var? 02:12:23 `MONERO_WALLET_CRYPTO_BENCH=cn` ? 02:31:56 if you don't specify anything, then do `make monero-wallet-crypto-bench` 02:32:35 probably need a readme for this 02:33:44 if you specify no special parameters on the command-line, it chooses amd64-64-24k for the wallet backend, and does `cn amd64-51-30k` for the benchmark 02:34:12 or sorry `cn amd64-51-30k amd64-64-24k` for the benchmark. but only on amd64 platforms 02:35:46 if you want to do it manually then a cmake option `-DMONERO_WALLET_CRYPTO_BENCH="cn amd64-64-24k amd64-51-30k` is what to specify for amd64 (there are no other backends currently) 02:36:31 the crypto bench is NOT in the default cmake target group, so doing `make` will never compile it by default 02:38:34 the benchmark by default "depends on" every crypto backend available for the platform, so I removed it from the default make target so that only the backend in use (if any) gets built 03:12:44 bloody hell, i still got this on the release tagged thingy 03:12:45 2020-05-11 03:12:22.194 E Failed to load hashes - unexpected data size 03:18:04 huzzah the 6514/15 PR worked 08:30:29 Any idea why two or more blanks lead to an empty element in the list returned by this method: wipeable_string::split(std::vector &fields) 08:30:58 No idea what this could be good for. I just now what is not good: Include 2 blanks anywhere in a seed to restore and it already fails. Bad UX, if you ask me 08:33:01 At least in core it seems that spliting method is only used for seeds; did not check the GUI 08:38:08 rbrunner7: it should not, what version are you using? 08:38:30 HEAD 08:38:34 oh wait, I read the code wrong 08:39:32 I think the intention is implemented correctly (2 or more blanks -> empty element in list), I just don't have any idea in what situations I would want that method to do that :) 08:39:50 And as I said, the result for seed is not very good 08:44:12 I think dEBRUYNE even has that in their standard arsenal of helpful questions if somebody reports that a restore by seed did not work: "Any double blanks?" 09:21:35 If my quick glance is correct the GUI seems to use JavaScript split(" ") which also would have the problem to fail with multiple blanks. For being robust a regular expression would probably be needed, like split(" +") 10:34:23 I call it redundant spaces :-P 10:34:25 ^ rbrunner7 10:36:59 Does this fail ? 10:37:01 ASSERT_TRUE(check_split("foo bar baz ", {"foo", "bar", "baz"})); 10:37:55 tests/unit_tests/wipeable_string.cpp 10:38:08 Well, did not try, but I would say so, after my attempt to understand said method 10:38:58 Then paste an example input giving bad results and I'll check. 10:55:15 empty element gets added here: https://github.com/monero-project/monero/blob/master/contrib/epee/src/wipeable_string.cpp#L196 10:56:59 Yeah, but I just tried and could *not* get it to fail (again). Maybe I had some invisible characters in the input string, from editing. But then I start to doubt my capacity to understand C++ methods that are a mere 10 lines long :( 10:57:43 Alright, will debug. That's too much. 10:58:27 GUI might be completely different story, will check that afterwards. 10:58:47 Adding a seed with spaces works here. 10:59:03 rbrunner7: GUI uses the same split function 10:59:31 Alright, then my cursory analysis was wrong that it uses JavaScript for splitting seeds 11:05:27 can't reproduce here, just restored with many spaces in the string 11:06:20 I think the problem is when entering arrow keys and then deleting them again. 11:06:48 Did you have a test case selsta ? 11:07:01 ah yeah I've had issues with backspaces on password entry, but a loooong time ago 11:07:15 might be an interaction with readline 11:07:16 With readline or without ? If without, then it's expected. 11:07:17 I don’t know how to do arrow keys in testcases. 11:07:37 moneromooo: yeah was old builds pre-readline, iirc 11:07:49 WIth readline. But readline does not seem to work during seed entry. 11:07:57 It does work afterwards. 11:08:02 oh hmmmm 11:08:08 Ah, good point. It's raw entry to avoid leaving traces in memory. 11:08:13 Sorry then for making a fuss, blanks do work, I just worry about my mind not understanding a few lines of C++, but debugging and watching will surely help finally 11:09:59 rbrunner7: I got confused too :D 11:10:32 And you know why blanks do not disturb? Did not see any logic higher up that filters out those empty array entries again ... 12:01:01 Before I make again a complete laughing stock out of myself: Can somebody please check whether the most recent GUI wallet accepts seeds with extra blanks in them? 12:01:09 With this seed: abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey 12:01:46 And then please try this: abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey abbey 12:03:02 (single difference should be a blank) 12:10:20 And of course that split method does not add empty entries. I was simply reading the code wrong, probably under the unconscious assumption that there *must* be something wrong with it. Sigh. 12:12:23 rbrunner7: Can you explain? 12:12:41 Which? The latest sentence? 12:13:03 `fields.push_back({});` looks like an empty element to me. 12:13:12 But maybe I don’t understand it :) 12:14:43 Yes. It's the place where elements are created in the first place. They have to be created somehow, right? And after creating it letters are added to it. The "if (!blanks)" around that whole statement group filters out multiple blans 12:15:32 Had to actually debug and single-step through it until I could convince myself that there is no bug :) 12:16:02 Talk about the power of prejudice 12:17:14 But I still wait anxiously somebody checks multiple blanks on the GUI seed entry field ... 12:19:46 Ok I get it now too. The second push_back is not the vector it’s for the wipeable_string. 12:20:47 Yes :) 12:20:51 Both functions being called push_back confused me but it makes sense. 12:23:44 rbrunner7: see here: https://github.com/monero-project/monero-gui/blob/1b7844ec345033b7809ef69ad941bd8a4a3986fb/js/Wizard.js#L111 12:24:02 double space means you can’t enter the last word 12:24:38 ? 12:25:27 I mean if you enter two spaces you can’t click on next 12:25:35 Yes. 12:25:44 What do you think about this behaviour? 12:25:52 We tried the automatic stripping of double spaces but it did not work well 12:25:53 https://github.com/monero-project/monero-gui/pull/2771 12:26:45 I see. That 'split' function on the line you give, is that JavaScript? 12:27:33 split(" ") 12:27:43 yes but that is just the frontend, it uses wipeable_string afterwards 12:28:06 Ah ok. But if you don't get beyond this point that's for naught, right? 12:29:00 Please let me try split(" +") instead of split(" "). That could work. That might be my redemption for the fuss from me today here 12:45:29 rbrunner7: split(" +")? AFAIK split requires one separator and not regex. 12:46:18 I will check ... after my old creaky notebook finally finishes to compile the embedded Monero core ... 13:06:31 It's split(/\s+/) 13:06:48 Works like a charm 13:06:57 Will make a PR 13:19:09 Wow, cool new animation when checking for daemon still running :) 13:29:12 I checked that regular expression on this interactive playground first: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/split 16:24:21 * fluffypony hates regex 17:34:15 Sooo... I've been looking every now and then just in case and... https://github.com/google/oss-fuzz/issues/2451 17:34:57 It's an account with the ability to reopen a bug, so likely talking from a position of being able to back it up. 17:35:12 Looks like fuzz tests are about to receive more attention ^_^ 17:55:00 Nice one :D 17:55:41 curious - how does fuzz testing work with vulnerability reporting? 17:56:46 is there a human between that fuzz thing and reporting a bug, or does some machine just crawl github and fuzz everything and report bugs 17:56:56 Coder runs fuzz tests. Fuzz tests find a crash or other. Coder tries to find an exploit for it. If found, coder reports to H1 os similar. 17:57:44 You mean how google actually runs them themselves ? I think they have a doc explaining this somewhere, I saw that long ago. I think it's partly automated. 17:58:30 ah ok. so there's a human. 17:59:30 "As of January 2020, OSS-Fuzz has found over 16,000 bugs in 250 open source projects." From their project page. 17:59:30 At least an AI that can recognize bloody cars and traffic lights. 18:04:22 i think that the guy that created AFL is working on an automated exploit thingy too :D 18:22:41 Anyone's worked with oss-fuzz before ? 19:04:18 selsta do you want 6515 merged now? 19:26:23 Docker downloads like 1 GB every build ? My god it can't be that stupid... 19:27:00 * moneromooo suspects a near future filled with swearting at shit 19:29:54 most everything gets cached.. but if you blow it away, yup (though i never looked at how much it actually was) 19:30:37 Well, if it errors out after downloading, it definitely slurps it again. 19:32:37 I assume the commenter might be the same person as unseddd? 19:34:54 Yes, they said they asked at the time. 19:35:22 I thought it was pointless and a bit spammy, but looks like I was wrong ^_^ 19:45:44 luigi1111w: I think he wanted to have it merged, yes 21:10:08 Jtgrassie, are you there? 21:26:08 luigi1111w: yes please 21:52:44 Nice. It stopped downloading a gig after 5 times. It just has to fail a bit later.