2018-05-30 05:00:32
Once node synchronization takes too long, have ideas ready for checkpointing.
GitHub
2018-05-30 05:15:42
flow, layout
GitHub
2018-05-30 05:16:59
[snowblossomcoin/snowblossom] Issue opened by cluelessperson
GitHub
2018-05-30 05:19:47
bah. the eclipse bazel plugin is basically something to run bazel from eclipse, but doesn't actually plug in to the eclipse build
Tyler Boone
2018-05-30 05:20:05
aka: no IDE features
Tyler Boone
2018-05-30 05:22:55
does google not use IDEs?
Tyler Boone
2018-05-30 06:05:21
out of curiosity, why use protocol buffers instead of something more simple and portable like json?
Tyler Boone
2018-05-30 06:06:13
protobufs are great for performance, but makes build way more complicated
Tyler Boone
2018-05-30 09:17:48
@Tyler Boone a common complaint about bitcoin is the bandwidth, and processing power required to handle ever increasing load.
Clueless
2018-05-30 09:18:30
Protobuf is apparently purpose built for pretty high speed and reliable serialization. Json would be more human readable, but at cost.
Clueless
2018-05-30 09:19:55
--- Holy crap this is cool
Clueless
2018-05-30 09:21:18
I put up another server for mining, I'm having trouble getting it to put the snowfield into ram, found a neat tool to do it.
Clueless
2018-05-30 15:23:33
which usage of protocol buffers needs to have "high speed"? Communication between nodes has no reason to be human readable, and could be compressed JSON, which would probably be either equal to or marginally larger than json
Tyler Boone
2018-05-30 15:24:49
the only other place that would matter I think would be the snowdb, which seems to be serialized objects at first glance. I guess that's good, but there are alternatives
Tyler Boone
2018-05-30 15:25:39
meanwhile I think protocol buffers are the reason the build is so complicated (protocol buffer compiler is platform specific) and requires bazel, which doesn't play well with IDEs.
Tyler Boone
2018-05-30 15:26:02
I did protobuf mostly to have solid Rpc tools
Fireduck
2018-05-30 15:26:09
Grpc specifically
Fireduck
2018-05-30 15:26:26
hmmm
Tyler Boone
2018-05-30 15:26:53
Basically I was looking for fastest time for me to get it running
Fireduck
2018-05-30 15:27:15
Plus with protobuf I have the classes for the data structures automatically
Fireduck
2018-05-30 15:27:33
I don't have to spend a ton of time with that crap
Fireduck
2018-05-30 15:27:49
I pretty much refuse to code Java without an IDE, so the choice could have a negative effect on getting other people to contribute if there are lots of people like me (there are)
Tyler Boone
2018-05-30 15:28:25
you could say the same thing about json-rpc for instance.
Tyler Boone
2018-05-30 15:28:30
I think intelij is the thing people were using at google recently
Fireduck
2018-05-30 15:28:34
that might work better with bazel
Fireduck
2018-05-30 15:28:36
the truth is that protocol buffers is what you know, which is fine
Tyler Boone
2018-05-30 15:29:02
yeah, and I really love having my network messages being the same as my in memory objects
Fireduck
2018-05-30 15:29:06
with no silly conversions
Fireduck
2018-05-30 15:29:09
using what you know is a time honored tradition (and smart!)
Tyler Boone
2018-05-30 15:29:39
protobufs store their in memory objects in the same memory format???
Tyler Boone
2018-05-30 15:29:53
like binary storage?
Tyler Boone
2018-05-30 15:30:57
I'm not sure if I am communicating poorly or you are fucking with me
Fireduck
2018-05-30 15:31:04
google isn't working so I am no longer smart
Fireduck
2018-05-30 15:31:11
haha
Tyler Boone
2018-05-30 15:31:24
you said the in memory objects are the same as the network messages
Tyler Boone
2018-05-30 15:31:29
I didn't know that
Tyler Boone
2018-05-30 15:31:40
https://ij.bazel.build/docs/bazel-plugin.html <-- looks more promising than the eclipse integration Correct, reproducible, fast builds - now for IntelliJ
Tyler Boone
2018-05-30 15:32:11
guess this is a good opportunity to try intellij
Tyler Boone
2018-05-30 15:32:20
I've heard good things about it
Fireduck
2018-05-30 15:32:27
yeah, and the brand is good
Tyler Boone
2018-05-30 15:32:39
I use so many Jet Brains things
Tyler Boone
2018-05-30 15:32:45
alright, gotta run
Tyler Boone
2018-05-30 15:32:47
ttyl
Tyler Boone
2018-05-30 15:33:56
later
Fireduck
2018-05-30 16:34:17
BTW, I was going to check the hash of the release jars, but I don't know how to create them
Tyler Boone
2018-05-30 16:34:28
bazel build :all doesn't seem to create the release jars
Tyler Boone
2018-05-30 16:38:03
See windows build script
Fireduck
2018-05-30 16:38:27
Bazel build :SnowBlossomNode_deploy.jar
Fireduck
2018-05-30 17:54:28
but some of the other classes might be from maven jars with newer versions
Fireduck
2018-05-30 17:54:38
wouldn't surprise me at all
Fireduck