erikbjare / futarchio Goto Github PK
View Code? Open in Web Editor NEW:earth_americas: Predicting a better future, for most of mankind. (abandoned)
License: MIT License
:earth_americas: Predicting a better future, for most of mankind. (abandoned)
License: MIT License
go test
has the great -cover
flag which does code coverage, but how do we do it properly when we run the server independently of the tests?
Can we have a init()
function in the api_test.go
which starts the server for us? And if that works, will the -cover
flag pick up the lines? Perhaps using the aetest
package is the way to go, but how does one find the port it runs on programatically?
This link will be helpful: travis-ci/travis-ci#738
Commenting systems, should support nested comments/threads sorted by points.
Support simple tag system, previous tags should be shared with other systems.
If X then I am 60% certain that Y will happen.
- Agent
Where X can be a condition supporting the maximum number of expressions possible.
Being able to edit description and title, with visible history in the statement activity feed.
Making a score which takes into account the reliability of predictors, take into account reliability of different tags.
More might come here later on.
The first problem is probably just an issue of seeding the RNG.
The following private key ag1kZXZ-ZnV0YXJjaGlvcg0LEgRVc2VyIgNlcmIM#5577006791947779410
gets the public key GLia50ry6T8jdYayXXSAQ0qB670UQwtrRERDMmvrfQc=
by the Go implementation, but in bash it instead becomes:
$ echo -n "ag1kZXZ-ZnV0YXJjaGlvcg0LEgRVc2VyIgNlcmIM#5577006791947779410" | sha256sum | base64
# MThiODlhZTc0YWYyZTkzZjIzNzU4NmIyNWQ3NDgwNDM0YTgxZWJiZDE0NDMwYjZiNDQ0NDQzMzI2
# YmViN2QwNyAgLQo=
It probably has to do with that I encode the string-encoded SHA256 hash and then turn that into the base64 representation, but this needs to be verified.
Things not looking like they should:
Replace {"data": [<(0..Inf)entities>]}
format with [<entities>]
and <entity>
.
Front page signup did not save email
Title is self explanatory.
Cannot login with my email when having uppercase letters.
A lot of work to be done...
Such that usernames etc. don't contain '@', '/' etc.
Does only seem to do it upon $window.location.reload()
and such for the time being.
In @318101c48461d0bc87f6ac7f30f93cc8405f57ca
When I run the test the first time it successfully creates the authkey
but when it tries to use it in the Authorization
header the server rejects it with the test error:
api_test.go:56: Status code was not 200, was 401 with message: 401 Unauthorized
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.