-
ypavtv97lx[m]
For some time now I get "wrong share" / "cannot find job #" / "wrong hash #" errors in xmrig-proxy
-
ypavtv97lx[m]
-
ypavtv97lx[m]
not all my miners are affected
-
plowsof11
sech1 ^
-
sech1
wrong channel
-
ypavtv97lx[m]
?
-
sech1
#monero-dev is not a place to ask about xmrig
-
sech1
make a github issue
-
ypavtv97lx[m]
kk
-
ypavtv97lx[m]
don't have github account to ask
-
ypavtv97lx[m]
i thought some dev could tell me if this update is needed for mining
-
ypavtv97lx[m]
devs told me i won't need to update my miners before the hard fork
-
sech1
you definitely need the latest release to keep mining
-
ypavtv97lx[m]
due to this update ?
-
sech1
yes
-
sech1
if you mine solo
-
sech1
if you mine to a pool, it shouldn't matter
-
sech1
but better update anyway
-
ypavtv97lx[m]
ok
-
ypavtv97lx[m]
thx
-
Bouska
Hello everyone
-
moneromoooo
hi
-
cjac
oh, it's moneromoooo!
-
cjac
moneromoooo: can I get a review of
monero-project/monero #8673 ?
-
cjac
do you still stand by your comment about not removing the definition with the declaration?
-
selsta
we discussed this so often in the past lol i think it's best if you apply it to the debian package
-
cjac
selsta: okay, I've submitted the patch to debian. I'm just a bit curious why it hasn't been better documented or resolved.
-
selsta
like I said yesterday, I have never heard of a compiler getting killed because of an unused variable, but I also don't use debian
-
cjac
it's gcc's -Wunused-but-set-variable
-
cjac
along with treat warnings as errors
-
DataHoarder
the compiler stops due to that, the killed is just an artifact of the stoppage
-
Bouska
I corrupted a wallet cache doing a force reboot, now I get an error "Error: failed to load wallet: invalid signature". I need some information inside that cache. My idea was to compile a new version of monero-cli-wallet to bypass that signature check (so basically with a different boost::archive) and hope for the best. Am I a fool or could that
-
Bouska
work?
-
cjac
hex editor?
-
cjac
my guess, and I don't know how the wallet works, is that the signature check indicates that there's been a partial write to some block. without all of the data, it's impossible to decrypt that block.
-
cjac
you may be able to decrypt and read all data up to but not including that block. it depends on what cipher is being used, and how the data is encoded.
-
moneromoooo
-Werror is a stupid idea.
-
moneromoooo
If you must have it due to distro rules, then this patch cannot hurt.
-
moneromoooo
It's just busywork though.
-
Bouska
cjac yeah, that was my idea, I'm going to check if it worth it
-
moneromoooo
About the reason behind that var, I've not looked at it again since then. I don't really have the will to these days.
-
cjac
moneromoooo: I agree that -Werror is not a good idea when developing. It's good to see the warning that your change has caused. But if you're at the point of your release process that you're building a version that's ostensibly known good, there should be no warnings at that time.
-
moneromoooo
-Werror can be good as a development tool to force you to address things early.
-
cjac
moneromoooo: that's reasonable. there's a lot of code in the repo.
-
moneromoooo
After stuff is released, it's a bad idea since it means someone with slightly different headers may be unable to even build your stuff, even if such warnings are innocuous.
-
moneromoooo
It'd be a good idea if you knew people would always build with the same env, but then you would not need -Werror in the firts place.
-
moneromoooo
It'll also break if you use a new compiler that adds new checks.
-
moneromoooo
Maybe the warnings do show something that's actually wrong, but then if you're not a hacker, what good does it do ?
-
moneromoooo
For Debian, it might make sense, since they have hackers that are able to fix stuff (at least sometimes) but it also means you get to waste your time for stuff like this variable.
-
moneromoooo
But then Debian maintainers can see warnings when building, without having to slavishly kill everyone while wasting time doing it.
-
moneromoooo
So, -Werror is a stupid idea.
-
moneromoooo
kill everything, by the way ^_^
-
moneromoooo
er, every one.
-
moneromoooo
Funny how a space changes meaning a lot here.
-
sech1
p2pool has been using -Werror since the very beginning :P
-
sech1
in additio to highest level of warnings
-
moneromoooo
The one thing that really pisses me off with -Werror software is when I debug code. Often, it means some var will end up unused because I may have commented out part of the code.
-
moneromoooo
And those idiotic build systems waste my time on purpose writing pointless stuff, commenting other lines/declarations, etc, basically doing more boilerplate to please the idiot, which will take more time later when undoing.
-
moneromoooo
I've not hacked on p2pool yet so I don't hate you yet :)
-
moneromoooo
Oh, and this is double plus rage inducing when the changes are in a header file, which means you waste WAY more time with compile cycles just because some moron wants you to comment a declaration because it's afraid of unused vars.
-
moneromoooo
Oh, and that preposterous thing about warning when indent is wrong. WTF. It's not python.
-
moneromoooo
I tend to add debug code with no indent so it's obvious later what needs removing.
-
moneromoooo
But some idiotic -Werror will waste my time until I've located it in the build system and shived it.
-
» moneromoooo grumbles
-
moneromoooo
It's basically a DoS attack masquerading as a good thing.
-
moneromoooo
It's not like you cna't see the warnings in the first place.
-
moneromoooo
(assuming there are not pages and pages of them, of course, it does happen in some code)
-
UkoeHB
I learned a neat trick about unused stuff: just cast the identifier to void like `(void)unused_identifier;`
-
UkoeHB
handy when your identifier is only used in an assert
-
moneromoooo
It's about the same waste of time as doing: // int unused_identifier
-
UkoeHB
well it works in production code too :)
-
moneromoooo
The point is that you build your stuff, and the compiler tells you "no, add some pointless boiler plate first".
-
moneromoooo
The actual edit is trivial, it's the wasted time of another cycle that's a monstrous attack on my time :P
-
moneromoooo
Also I should add at this point that I am not vetoing adding -Werror to monero if most poeple want it. Given I'm not contributing much anymore. It's just, like, my opinion, man.
-
UkoeHB
doesn't seem necessary
-
DataHoarder
enable -Werror on release, not in debug :)
-
UkoeHB
DataHoarder: no, that just makes unit test oriented development more of a pain
-
UkoeHB
monero does not use many asserts, it's mainly unit tests
-
DataHoarder
in game projects with Werror for example release has everything enabled, but there is a middle version without debug and with optimizations, but with most asserts, and without pedantic rules
-
DataHoarder
that said unused variables tends to be one of the highest false positive there, at least, maybe enable Werror on CI on some projects might be cool
-
UkoeHB
Looks like we are closing in on 2 weeks without much attention on the recent PRs I made for upstreaming seraphis_lib stuff. These PRs are very lightweight compared to what is coming - only around 300 line diff total and no new crypto. The seraphis_lib is a 65k line diff, so at this pace we will have seraphis sometime in the 2030s.
-
UkoeHB
p.s. thanks to jeffro256[m] for taking a look at the PRs
-
endogenic
hah
-
UkoeHB
endogenic: looks like you are volunteering, that's great
-
UkoeHB
looking forward to some reviews
-
endogenic
hahah
-
endogenic
i mean i am decent at c++ and know existing monero fairly intimately. so i'd be a good candidate except for my significant lack of availability
-
plowsof11
2030 is only 7 years away
-
endogenic
but exit scam is 2023 hm
-
hyc
it would certainly help kill the "moner ohardforks all the time" fud
-
endogenic
in a few months i might free up a bit
-
endogenic
if it's all got tests etc. should it be "upstreamed".. what does that mean? should it not be its own repo.. libseraphis?
-
endogenic
or some such
-
UkoeHB
endogenic: I invite you to look at the PRs and the library, then maybe it will become clear.
-
UkoeHB
code which, btw, has been in progress for over a year - did no one bother to look at it? I am suddenly very annoyed
-
endogenic
i searched for seraphis in prs, also otherwise didnt find anything obviously relevant
-
» endogenic sends hugs to koe
-
UkoeHB
-
endogenic
not sure i understand
-
endogenic
quick scan of crypto misc updates didnt seem like seraphis code
-
endogenic
but it is described as part of the effort in the descr
-
endogenic
btw the name didnt scream seraphis to me
-
endogenic
and.. do i infer any seraphis changes arent going to be in a new repo bc they will be integrated with existing crypto/cryptonote?
-
UkoeHB
because these are generic PRs that future PRs will depend on
-
UkoeHB
yes, this is the branch I have been linking to continuously over the past year
github.com/UkoeHB/monero/tree/seraphis_lib
-
endogenic
sorry fwiw i have been scrambling to survive and complete lots of work. past couple yrs have been interesting
-
endogenic
thats just me tho
-
endogenic
no idea why people arent reviewing your code except a lack of visibility into its purpose
-
endogenic
at the risk of sounding unfamiliar with your efforts, have you published the roadmap of PRs and code deps and sent it to hyc, vtnerd, ndorf and other people? mooo ofc
-
UkoeHB
sorry for getting annoyed endogenic
-
UkoeHB
there is no specific roadmap, these PRs are just preliminary work
-
endogenic
have ppl like luigi weighed in on seraphis ?
-
endogenic
and has a broader research community ?
-
UkoeHB
I take the lack of complaints as a sign to keep going
-
endogenic
it's not that
-
endogenic
it's that we need someone to tell us "this is the right way to go"
-
UkoeHB
there is no such person
-
endogenic
sure there is
-
endogenic
not here but sure they exist
-
endogenic
anyway community overall can decide
-
UkoeHB
people outside monero somehow know the best direction for monero?
-
endogenic
sure
-
endogenic
who is IN monero?
-
UkoeHB
INvolved
-
endogenic
we build on shoulders of those giants who can say things are right
-
endogenic
just bc they dont chat on irc
-
endogenic
doesnt mean theyre not in the work
-
endogenic
so...
-
endogenic
core can guide and inform
-
endogenic
but we also need other informed parties to help us confirm the right way
-
endogenic
i know a few
-
endogenic
and have been involving them over this year
-
UkoeHB
ok well I'm going to keep doing my thing - if someone shows up with something interesting to say I'll listen, otherwise I have work to do
-
endogenic
:/
-
Rucknium[m]
IMHO, for the best chance at input from the general research community, Seraphis needs formal security proofs. AFAIK, writing those proofs are on the roadmap.
-
endogenic
thats only part of verifying if its the right path
-
cjac
hmm... I was getting 5280H/s with 18 threads, and I'm getting 5195H/s with 25. There should be plenty of memory for each thread to make use of. There's no disk usage. What might be the bottleneck here?
-
endogenic
UkoeHB: anyway let me suggest tagging or prefixing yr PRs with "[seraphis]"
-
endogenic
if i wasnt clear
-
endogenic
and let's make a thing of talking about them during dev mtgs
-
endogenic
that's how we used to do it
-
endogenic
well
-
endogenic
aside from having noethers
-
endogenic
tho that also was a transient state
-
endogenic
i have to say i find it out of place that my other questions were swept away too
-
endogenic
make a checklist of whose approval you need to get on merging it and PR them
-
Rucknium[m]
cjac: That is a good topic for #xmrmine:matrix.org or #monero . Short answer is probably CPU cache.
-
cjac
thanks, Rucknium[m]
-
UkoeHB
endogenic: ok I added [seraphis] to emphasize their purpose
-
endogenic
nice. confirmed. now i can search for seraphis AND discern btwn those marked explicitly and those which only say the word in text
-
endogenic
and w0w so many
-
endogenic
i'd amend your descr to add that it's not used *but* is a dep of such and such future code and is tested by X and or is otherwise functionally equiv and 'can be merged' etc but
-
endogenic
with all this
-
endogenic
continuous pr merging to core crypto code
-
endogenic
there's an attack surface too
-
endogenic
possibly also will lead to review fatigue
-
endogenic
if none of it's used rn i would suggest making it all a plugin to existing code as a separate repo for now
-
endogenic
personally
-
endogenic
then it would get merged
-
UkoeHB
no all the code has deep dependence on the monero repo
-
endogenic
that doesnt matter
-
endogenic
you can write it so that it consumes or wraps or whatever you want
-
UkoeHB
does to me, I'm not spending 2+ weeks setting up a new repo
-
endogenic
it takes 2 seconds
-
endogenic
all your code gets copied
-
endogenic
your diff is the merge
-
endogenic
youre already working from a form
-
UkoeHB
I don't get it - what's different from having a separate branch?
-
endogenic
fork
-
endogenic
right
-
endogenic
the alternative is you make a lib
-
endogenic
you can still code that so that it's adjacent
-
endogenic
there isnt an issue
-
endogenic
you still copy code
-
endogenic
from monero
-
endogenic
sigh
-
UkoeHB
still don't get it
-
endogenic
you can just as easily consume monero code as a lib
-
endogenic
then you write your code to consume that
-
endogenic
then voila
-
endogenic
it's visible
-
endogenic
not buried
-
endogenic
if that takes you two weeks, then just maintain a fork and commit things to mainline which will get used
-
endogenic
otherwise it's probably not time
-
endogenic
sorry
-
UkoeHB
I mean, if it's that easy then maybe you could do it?
-
endogenic
if you bought me groceries and paid for my ct scans
-
endogenic
ok
-
UkoeHB
the monero repo is not really architected for librarizing
-
endogenic
eh
-
endogenic
it's not bad
-
endogenic
wallet2 is the biggie
-
endogenic
tho for me wallet2 is a 2 wk job
-
endogenic
not a 1 day ? job like seraphis factorization
-
endogenic
i mean dont get me wrong
-
endogenic
expanding monero is the issue
-
endogenic
that's what entropy means
-
endogenic
it should be broken apart
-
endogenic
but it's already fairly wel factored
-
endogenic
the issue is how you add to it
-
endogenic
that's a software engineer's art
-
UkoeHB
if your solution is 'duplicate src/crypto', I have to disagree with that
-
endogenic
that's not it
-
endogenic
but it's a step in the right direction
-
endogenic
we could pair program a bit
-
endogenic
ordinarily
-
endogenic
but i swear this has not been my year haha
-
endogenic
i need a little while
-
DanielBurlacu[m]
Hi everyone
-
xmr-pr
SChernykh opened pull request #8678: Refactored rx-slow-hash.c to make fast PoW verification possible [rele...
-
xmr-pr
-
xmr-pr
SChernykh opened pull request #8677: Refactored rx-slow-hash.c to make fast PoW verification possible
-
xmr-pr