2018-06-13 00:20:04
[snowblossomcoin/snowblossom] Issue closed by cluelessperson

GitHub
2018-06-13 01:38:28
SIP2 - My cat is pretty and smells nice

Fireduck
2018-06-13 02:01:50
`vote_yes=1,2`

Clueless
2018-06-13 02:48:05
@Clueless I think I'll have MrPlow output a status report every few minutes.

Fireduck
2018-06-13 02:48:31
It'll have miner rates 1min, 5min, 1hr

Fireduck
2018-06-13 02:48:40
Pool rates
Etc

Fireduck
2018-06-13 02:48:45
That'd be great. For now I'm just regexing the log and reporting values.

Clueless
2018-06-13 02:48:57
Yeah, that is suck

Fireduck
2018-06-13 02:49:03
If you could also report a total number of connected miners that'd be cool too.

Clueless
2018-06-13 02:49:28
because I was just about to count up the unique addresses from the log

Clueless
2018-06-13 02:49:38
sure

Fireduck
2018-06-13 02:50:45
@Fireduck Let me number this properly.
These are what I think we care about.
1. Total Rate.
2. Rate per miners/address
3. Number of addresses/miners
4. Announce when block is won

Clueless
2018-06-13 02:50:55
roger

Fireduck
2018-06-13 02:50:57
If those are logged, I think it'd be perfect. :D

Clueless
2018-06-13 02:51:27
I have the webpage on a simple cronjob that updates the index.html with latest hash rate. I can have output the winners

Clueless
2018-06-13 03:10:17
rate reporting added to duckutil

Fireduck
2018-06-13 03:10:24
now I need to get this baby to sleep

Fireduck
2018-06-13 03:10:50
https://github.com/fireduck64/duckutil/commit/7dca098979932bb3948ff7b1a97d350d28eded6f

Fireduck
2018-06-13 03:39:37
[snowblossomcoin/snowblossom] Issue opened by tster123

GitHub
2018-06-13 05:38:39
?

Tyler Boone
2018-06-13 05:38:43
ah, I'm wrong

Clueless
2018-06-13 05:38:55
it's just a proof check fail

Clueless
2018-06-13 05:39:04
I thought it was the thing blocking

Clueless
2018-06-13 06:03:49
memfield_precache_gb=X
this will move exactly X GB of the memfield into memory while using the rest from disk

GitHub
2018-06-13 06:04:09
[snowblossomcoin/snowblossom] #75 hybrid memfield

GitHub
2018-06-13 06:04:09
*https://github.com/snowblossomcoin/snowblossom/compare/1aad72b9ee20...a151a86bb951*
https://github.com/snowblossomcoin/snowblossom/commit/a151a86bb95186a0c83897f3d65ec6897d94045e - hybrid memfield (#75)

GitHub
2018-06-13 06:57:35
@Fireduck if mrplow could flush a status.txt (or xml or json) periodically, that’d be neat

Rotonen
2018-06-13 09:24:27
a thought: voting blank?

Rotonen
2018-06-13 09:24:51
distinct from not voting

Rotonen
2018-06-13 13:25:16
*https://github.com/snowblossomcoin/snowblossom/compare/a151a86bb951...9e49700d61aa*
https://github.com/snowblossomcoin/snowblossom/commit/feceab49dd88365d5583b92dfb0a70d0f76af87d - Working on rate reporting
https://github.com/snowblossomcoin/snowblossom/commit/9e49700d61aaf361082cf2ef533477bfb1c6b655

GitHub
2018-06-13 13:46:43
@Rotonen What is voting blank?

Clueless
2018-06-13 17:17:23
*https://github.com/snowblossomcoin/snowblossom/compare/9e49700d61aa...73d721de683c*
https://github.com/snowblossomcoin/snowblossom/commit/73d721de683c6a74a2fad9f7ec25901d6902c194 - Basic rate report

GitHub
2018-06-13 17:18:16
@Clueless run that code with report_path set to something

Fireduck
2018-06-13 17:18:23
and it will make you a sweet hash rate report

Fireduck
2018-06-13 17:18:58
$ cat pool_report.txt
Total: 1-min: 69.9K/s, 5-min: 14.0K/s, hour: 1.2K/s
snowtest:emcpfwr7m5u6zmg3n4wmnz3lf4lz9h5ecarth54a 1-min: 69.9K/s, 5-min: 14.0K/s, hour: 1.2K/s

Fireduck
2018-06-13 18:57:00
@Fireduck very nice - for when are you planning next release?

Rotonen
2018-06-13 20:07:04
don't have a specific plan

Fireduck
2018-06-13 20:07:27
most of the code changes have been to peer service which I imagine people are running from master branch

Fireduck
2018-06-13 20:40:43
is there a method to tally votes yet by explorer yet?

Clueless
2018-06-13 20:40:50
will setup his own explorer

Clueless
2018-06-13 20:44:56
I started looking at that last night

Tyler Boone
2018-06-13 20:45:26
ended up spending 2 hours figuring out why my local shackleton was throwing away every other request

Tyler Boone
2018-06-13 21:44:43
If the binary name matches a directory name (case-insenstive) there is a build error:
* * *
protolib/protolib.pb_java.jar
protolib/protolib.pb.descriptor_set
* * *
INFO: Analysed 9 targets (0 packages loaded).
INFO: Found 9 targets...
ERROR: /Users/jgleason/t/snowblossom.git/BUILD:38:1: Creating runfiles tree bazel-out/darwin-fastbuild/bin/Shackleton.runfiles failed (Exit 1)
_bin/build-runfiles (args bazel-out/darwin-fastbuild/bin/Shackleton.runfiles_manifest bazel-out/darwin-fastbuild/bin/Shackleton.runfiles): mkdir '*main*/shackleton': File exists [17]
INFO: Elapsed time: 0.568s, Critical Path: 0.36s
INFO: 1 process, worker.
FAILED: Build did NOT complete successfully
A work around of changing:
java_binary(
name = "Shackleton",
to
java_binary(
name = "ShackletonS",
Made the build succeed. So something about a directory shackleton already existing. Not sure if that is because of the class of that name or the source directory or what.
Not sure what to do about it either. Maybe if we make the binary ShackletonExplorer.

GitHub
2018-06-13 22:14:48
i’ll need to bother figuring out flushing stats to a nicer looking site with a static site generator eventually, but gonna roll with actual releases - i might be old fashioned

Rotonen
2018-06-13 22:25:16
I think we should make a handful of minor improvements and then roll out a simple quality of life update

Tyler Boone
2018-06-13 22:38:58
sounds fair

Rotonen
2018-06-13 22:39:51
less repetitive logging would be one of those for me

Rotonen
2018-06-13 23:11:06
@Fireduck @Tyler Boone Do you think it would be good to setup an automatic release schedule?

Clueless
2018-06-13 23:11:31
Create a policy that it doesn't go into the release unless it's dire or has a week of testing?

Clueless
2018-06-13 23:12:07
I can setup test machines to build nightly to test changes. We monitor them for errors in logs, block height, etc.

Clueless
2018-06-13 23:12:32
and I can setup a test-production, one that immediately builds new releases and runs them

Clueless
2018-06-13 23:12:34
same purpose

Clueless
2018-06-13 23:12:48
@Clueless as far as i can see it's 2 devs, a few enthusiasts - no need for red tape

Rotonen
2018-06-13 23:13:10
agreed.

Clueless
2018-06-13 23:13:13
building systems is enjoyable, but not the purpose itself

Rotonen
2018-06-13 23:13:31
wrong hammer, and with enjoyable hammers everything looks like a nail, etc.

Rotonen
2018-06-13 23:14:06
@Rotonen Another thought is that I can setup a node that automatically rebuilds **every commit* so we can more readily test changes.

Clueless
2018-06-13 23:14:23
rather set up integration testing via travis

Rotonen
2018-06-13 23:16:47
i suppose step 1 would be 'will it still build', namely i still cannot build shackleton

Rotonen
2018-06-13 23:17:46
also the build is a bit noisy on a modern clang on macos, but nothing critical in the way of warnings, but i could look at rigging scan-build for the c++ bits

Rotonen
2018-06-13 23:18:09
no idea what you're saying.

Clueless
2018-06-13 23:18:36
I'd just automate away building constantly, and if it errors, alerts us so we can check the log and fix it

Clueless
2018-06-13 23:18:57
There is an issue for Shackleton. Case sensitive issue

Fireduck
2018-06-13 23:19:00
yeah, just use travis and/or appveyor for stuff like that, straight up github integrations and free for open source

Rotonen
2018-06-13 23:19:06
Opened today

Fireduck
2018-06-13 23:19:30
https://clang-analyzer.llvm.org/scan-build.html <- also scan-build is just about my all-time favourite toy, so i'll try jamming that about anywhere i touch

Rotonen
2018-06-13 23:21:46
IMO, automatic builds and releases are time savers, but setting them up is work

Tyler Boone
2018-06-13 23:23:02
a simple build + smoke test via travis should not be that hard to pull off

Rotonen
2018-06-13 23:23:19
elegance can follow over time

Rotonen
2018-06-13 23:23:43
@Fireduck The reporting is niceeee.

Clueless
2018-06-13 23:24:06
We have some solid integration tests already

Fireduck
2018-06-13 23:24:07
@Rotonen I'll look into travis. :I I'm not averse, just ignorant.

Clueless
2018-06-13 23:24:14
Just need more of then

Fireduck
2018-06-13 23:24:18
Them

Fireduck
2018-06-13 23:24:32
@Fireduck how do you run the tests?

Rotonen
2018-06-13 23:24:49
bazel test //...

Tyler Boone
2018-06-13 23:24:57
thank you

Rotonen
2018-06-13 23:25:57
and that seems to build :all as well, so i cannot run those, as shackleton craps up, but that'll eventually settle

Rotonen
2018-06-13 23:26:02
but neat

Rotonen
2018-06-13 23:26:39
shackleton is broked?

Tyler Boone
2018-06-13 23:26:59
@Fireduck hinted it'd be some case sensitivity issue and that'd make sense as i'm on APFS

Rotonen
2018-06-13 23:27:00
Read the issue

Fireduck
2018-06-13 23:27:04
but yeah, test obviously requires build :wink:

Tyler Boone
2018-06-13 23:27:07
and some devs are on NTFS

Rotonen
2018-06-13 23:27:18
whoops

Tyler Boone
2018-06-13 23:28:34
earlier there was also a classic git defaults vs. line endings issue

Rotonen
2018-06-13 23:32:45
trying to figure out bazel: is there an easy way to build all the deploy targets at once, like some built-in meta tag, or would that have to be defined in the BUILD file?

Rotonen
2018-06-13 23:33:15
Not sure

Fireduck
2018-06-13 23:39:10
@Rotonen Can you confirm discord user: Rotonen#7301 is you?

Clueless
2018-06-13 23:39:40
@Clueless yeah, why?

Rotonen
2018-06-13 23:42:10
@Rotonen figured I'd make you mod.

Clueless
2018-06-13 23:42:39
so long as you do not expect me to actually put forth any moderation effort

Rotonen
2018-06-13 23:43:14
No expectation. Just seem reasonable and not powermad

Clueless
2018-06-13 23:44:29
@Fireduck Perhaps a nonsense question.
Would it ever be possible to point snowblossom processing at research data? curious (and maybe dumb)

Clueless
2018-06-13 23:45:01
boinc already exists and they're good at that

Rotonen
2018-06-13 23:46:10
My thinking is that then the data fields are self-generating, have no limit, it would shut idiots up about power usage, and it would buy us "helping mankind" votes.

Clueless
2018-06-13 23:49:23
Snowblossom would not be useful for anything

Fireduck
2018-06-13 23:55:26
I figured it was probably a stupid premise

Clueless