cocagne / paxos Goto Github PK
View Code? Open in Web Editor NEWPlain Paxos Implementations in Python & Java
License: MIT License
Plain Paxos Implementations in Python & Java
License: MIT License
what should I do if I want to running it as the beginning of the Paxos algorithm?
For example, the code is currently
def write( fd, serial_number, pyobject ):
os.lseek(fd, os.SEEK_SET, 0)
...but should be...
def write( fd, serial_number, pyobject ):
os.lseek(fd, 0, os.SEEK_SET)
Yes, it is not technically a bug (as os.SEEK_SET == 0), but the function prototype for os.lseek is (fd, pos, how).
Same problem in the read function.
Can you include information about what license this is offered under (suggest MIT style if you have no preference).
Thanks
Tom
[x] Bug (Typo)
likelyhood
, however expect to see likelihood
.excersise
, however expect to see exercise
.exectued
, however expect to see executed
.delcaring
, however expect to see declaring
.aquired
, however expect to see acquired
.Semi-automated issue generated by
https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md
To avoid wasting CI processing resources a branch with the fix has been
prepared but a pull request has not yet been created. A pull request fixing
the issue can be prepared from the link below, feel free to create it or
request @timgates42 create the PR. Alternatively if the fix is undesired please
close the issue with a small comment about the reasoning.
https://github.com/timgates42/paxos/pull/new/bugfix_typos
Thanks.
Hi there,
I'd like to use your implementation in a Python project, preferably without copying it. Would it be possible to add a setup.py, register a PyPI account, and "python setup.py sdist upload"?
I can submit a pull request if you prefer.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.