-
jtgrassie
needbrrrrrrr90: it can be used with a remote node too. doesn't have to be local.
-
jtgrassie
it can even be used with remote public nodes (just like many do for their wallets)
-
jtgrassie
hence one doesn't need to run their own local node to use self-select.
-
needbrrrrrrr90
ah fantastic, xmrpow was implying that it required a full node
-
needbrrrrrrr90
-
needbrrrrrrr90
shilling your work jtgrassie :)
-
needbrrrrrrr90
What are the major drawbacks, in your opinion?
-
needbrrrrrrr90
I feel like I should be actively attempting to get this popular, unless there's some big drawback I'm missing
-
jtgrassie
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.
-
jtgrassie
for a miner, they need access to a node (local or remote).
-
jtgrassie
which again, is really a non-issue.
-
jtgrassie
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.
-
jtgrassie
if one of the nodejs pool devs bothered to implement, we'd probably see much higher usage.
-
jtgrassie
but then they can't add fast-mode randomx for share validation, I'm not holding my breath.
-
dzimmerm
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.
-
moneromooo
What glibc version problem exactly ?
-
moneromooo
Is this a gitian build ?
-
moneromooo
IIRC gitian (or depends) wants a libc compatible with some particular verison, but later ones should be accepted too.
-
dzimmerm
glibc.so.6 wants version 2.27, has version 2.26
-
moneromooo
You've built the binary on the same box, right ?
-
dzimmerm
checked and opensuse does not offer an update unless I change to tumbleweed.
-
moneromooo
And did you update glibc after building ?
-
dzimmerm
no update for glibc is offered for opensuse leap 15.1
-
dzimmerm
I used the straight downloaded linux 64 bit version of monero. monero 15.02 runs fine
-
moneromooo
Ah, there's your problem then. If you're going to develop for monero, build it yourself :)
-
dzimmerm
I suck at Cmake, LOL. Ok, will build from source if I want the latest
-
moneromooo
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).
-
dzimmerm
I also have the issue with AMD ryzen 1600+ not liking randomX
-
dzimmerm
saving for a newer processor
-
selsta
GUI binaries were compiled on Ubuntu 18.04
-
dzimmerm
ok, everyone loves Ubuntu. I am old Novel admin person so am partial to opensuse
-
dzimmerm
thanks for the suggestions.
-
dzimmerm
bye
-
selsta
vtnerd: how can I compile the supercop benchmark?
-
selsta
which cmake var?
-
selsta
`MONERO_WALLET_CRYPTO_BENCH=cn` ?
-
vtnerd
if you don't specify anything, then do `make monero-wallet-crypto-bench`
-
vtnerd
probably need a readme for this
-
vtnerd
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
-
vtnerd
or sorry `cn amd64-51-30k amd64-64-24k` for the benchmark. but only on amd64 platforms
-
vtnerd
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)
-
vtnerd
the crypto bench is NOT in the default cmake target group, so doing `make` will never compile it by default
-
vtnerd
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
-
gingeropolous
bloody hell, i still got this on the release tagged thingy
-
gingeropolous
2020-05-11 03:12:22.194 E Failed to load hashes - unexpected data size
-
gingeropolous
huzzah the 6514/15 PR worked
-
rbrunner7
Any idea why two or more blanks lead to an empty element in the list returned by this method: wipeable_string::split(std::vector<wipeable_string> &fields)
-
rbrunner7
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
-
rbrunner7
At least in core it seems that spliting method is only used for seeds; did not check the GUI
-
selsta
rbrunner7: it should not, what version are you using?
-
rbrunner7
HEAD
-
selsta
oh wait, I read the code wrong
-
rbrunner7
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 :)
-
rbrunner7
And as I said, the result for seed is not very good
-
rbrunner7
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?"
-
rbrunner7
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(" +")
-
dEBRUYNE
I call it redundant spaces :-P
-
dEBRUYNE
^ rbrunner7
-
moneromooo
Does this fail ?
-
moneromooo
ASSERT_TRUE(check_split("foo bar baz ", {"foo", "bar", "baz"}));
-
moneromooo
tests/unit_tests/wipeable_string.cpp
-
rbrunner7
Well, did not try, but I would say so, after my attempt to understand said method
-
moneromooo
Then paste an example input giving bad results and I'll check.
-
selsta
-
rbrunner7
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 :(
-
rbrunner7
Alright, will debug. That's too much.
-
rbrunner7
GUI might be completely different story, will check that afterwards.
-
selsta
Adding a seed with spaces works here.
-
selsta
rbrunner7: GUI uses the same split function
-
rbrunner7
Alright, then my cursory analysis was wrong that it uses JavaScript for splitting seeds
-
fluffypony
can't reproduce here, just restored with many spaces in the string
-
selsta
I think the problem is when entering arrow keys and then deleting them again.
-
moneromooo
Did you have a test case selsta ?
-
fluffypony
ah yeah I've had issues with backspaces on password entry, but a loooong time ago
-
fluffypony
might be an interaction with readline
-
moneromooo
With readline or without ? If without, then it's expected.
-
selsta
I don’t know how to do arrow keys in testcases.
-
fluffypony
moneromooo: yeah was old builds pre-readline, iirc
-
selsta
WIth readline. But readline does not seem to work during seed entry.
-
selsta
It does work afterwards.
-
fluffypony
oh hmmmm
-
moneromooo
Ah, good point. It's raw entry to avoid leaving traces in memory.
-
rbrunner7
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
-
selsta
rbrunner7: I got confused too :D
-
rbrunner7
And you know why blanks do not disturb? Did not see any logic higher up that filters out those empty array entries again ...
-
rbrunner7
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?
-
rbrunner7
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
-
rbrunner7
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
-
rbrunner7
(single difference should be a blank)
-
rbrunner7
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.
-
selsta
rbrunner7: Can you explain?
-
rbrunner7
Which? The latest sentence?
-
selsta
`fields.push_back({});` looks like an empty element to me.
-
selsta
But maybe I don’t understand it :)
-
rbrunner7
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
-
rbrunner7
Had to actually debug and single-step through it until I could convince myself that there is no bug :)
-
rbrunner7
Talk about the power of prejudice
-
rbrunner7
But I still wait anxiously somebody checks multiple blanks on the GUI seed entry field ...
-
selsta
Ok I get it now too. The second push_back is not the vector it’s for the wipeable_string.
-
rbrunner7
Yes :)
-
selsta
Both functions being called push_back confused me but it makes sense.
-
selsta
-
selsta
double space means you can’t enter the last word
-
rbrunner7
?
-
selsta
I mean if you enter two spaces you can’t click on next
-
rbrunner7
Yes.
-
rbrunner7
What do you think about this behaviour?
-
selsta
We tried the automatic stripping of double spaces but it did not work well
-
selsta
-
rbrunner7
I see. That 'split' function on the line you give, is that JavaScript?
-
rbrunner7
split(" ")
-
selsta
yes but that is just the frontend, it uses wipeable_string afterwards
-
rbrunner7
Ah ok. But if you don't get beyond this point that's for naught, right?
-
rbrunner7
Please let me try split(" +") instead of split(" "). That could work. That might be my redemption for the fuss from me today here
-
selsta
rbrunner7: split(" +")? AFAIK split requires one separator and not regex.
-
rbrunner7
I will check ... after my old creaky notebook finally finishes to compile the embedded Monero core ...
-
rbrunner7
It's split(/\s+/)
-
rbrunner7
Works like a charm
-
rbrunner7
Will make a PR
-
rbrunner7
Wow, cool new animation when checking for daemon still running :)
-
rbrunner7
I checked that regular expression on this interactive playground first:
developer.mozilla.org/en-US/docs/We…ference/Global_Objects/String/split
-
» fluffypony hates regex
-
moneromooo
Sooo... I've been looking every now and then just in case and...
google/oss-fuzz #2451
-
moneromooo
It's an account with the ability to reopen a bug, so likely talking from a position of being able to back it up.
-
moneromooo
Looks like fuzz tests are about to receive more attention ^_^
-
dEBRUYNE
Nice one :D
-
gingeropolous
curious - how does fuzz testing work with vulnerability reporting?
-
gingeropolous
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
-
moneromooo
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.
-
moneromooo
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.
-
gingeropolous
ah ok. so there's a human.
-
rbrunner
"As of January 2020, OSS-Fuzz has found over 16,000 bugs in 250 open source projects." From their project page.
-
moneromooo
At least an AI that can recognize bloody cars and traffic lights.
-
asymptotically
i think that the guy that created AFL is working on an automated exploit thingy too :D
-
moneromooo
Anyone's worked with oss-fuzz before ?
-
luigi1111w
selsta do you want 6515 merged now?
-
moneromooo
Docker downloads like 1 GB every build ? My god it can't be that stupid...
-
» moneromooo suspects a near future filled with swearting at shit
-
scoobybejesus
most everything gets cached.. but if you blow it away, yup (though i never looked at how much it actually was)
-
moneromooo
Well, if it errors out after downloading, it definitely slurps it again.
-
sarang
I assume the commenter might be the same person as unseddd?
-
moneromooo
Yes, they said they asked at the time.
-
moneromooo
I thought it was pointless and a bit spammy, but looks like I was wrong ^_^
-
dEBRUYNE
luigi1111w: I think he wanted to have it merged, yes
-
xmrpow
Jtgrassie, are you there?
-
selsta
luigi1111w: yes please
-
moneromooo
Nice. It stopped downloading a gig after 5 times. It just has to fail a bit later.