golemfactory / gudot Goto Github PK
View Code? Open in Web Editor NEWLinear regression using FHE gMorph library
License: GNU General Public License v3.0
Linear regression using FHE gMorph library
License: GNU General Public License v3.0
cargo build --all
(works with --release
which does not check for integer overflow)./target/debug/gudot generate
Result:
# RUST_BACKTRACE=full ./target/debug/gudot generate
thread 'main' panicked at 'attempt to subtract with overflow', src/main.rs:121:17
stack backtrace:
0: 0x55908436965b - backtrace::backtrace::libunwind::trace::h89fcc71e59e3bc5b
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.34/src/backtrace/libunwind.rs:88
1: 0x55908436965b - backtrace::backtrace::trace_unsynchronized::h0bad9be1379e729a
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.34/src/backtrace/mod.rs:66
2: 0x55908436965b - std::sys_common::backtrace::_print::hd3382a1f33c473da
at src/libstd/sys_common/backtrace.rs:47
3: 0x55908436965b - std::sys_common::backtrace::print::h0ec6f03cfb8e76a6
at src/libstd/sys_common/backtrace.rs:36
4: 0x55908436965b - std::panicking::default_hook::{{closure}}::h96cbf7b454e3f557
at src/libstd/panicking.rs:200
5: 0x559084369336 - std::panicking::default_hook::h95a8f00337383d83
at src/libstd/panicking.rs:214
6: 0x559084369d6d - std::panicking::rust_panic_with_hook::h92f98b46e22f14ed
at src/libstd/panicking.rs:477
7: 0x5590843698f2 - std::panicking::continue_panic_fmt::h25abfbb4e5b7043a
at src/libstd/panicking.rs:384
8: 0x5590843697d6 - rust_begin_unwind
at src/libstd/panicking.rs:311
9: 0x559084387b0d - core::panicking::panic_fmt::h7e9f94035af782b3
at src/libcore/panicking.rs:85
10: 0x559084387a4c - core::panicking::panic::hda536e6f3accfb91
at src/libcore/panicking.rs:49
11: 0x559083fd1ca5 - gudot::generate_impl::h5cfe0f270d0abe74
at src/main.rs:121
12: 0x559083fd13ff - gudot::main::he76be666723cdeb6
at src/main.rs:89
13: 0x559083fd9720 - std::rt::lang_start::{{closure}}::hd038b39e5391a2e3
at /rustc/625451e376bb2e5283fc4741caa0a3e8a2ca4d54/src/libstd/rt.rs:64
14: 0x559084369773 - std::rt::lang_start_internal::{{closure}}::h4e93c1949c7a1955
at src/libstd/rt.rs:49
15: 0x559084369773 - std::panicking::try::do_call::h9440ccd4dc467eaa
at src/libstd/panicking.rs:296
16: 0x5590843700ca - __rust_maybe_catch_panic
at src/libpanic_unwind/lib.rs:80
17: 0x55908436a27d - std::panicking::try::hc046e7ee42ee744f
at src/libstd/panicking.rs:275
18: 0x55908436a27d - std::panic::catch_unwind::h27dfc457c200aee0
at src/libstd/panic.rs:394
19: 0x55908436a27d - std::rt::lang_start_internal::hea1b49a567afe309
at src/libstd/rt.rs:48
20: 0x559083fd96f9 - std::rt::lang_start::h65b103138c4fc456
at /rustc/625451e376bb2e5283fc4741caa0a3e8a2ca4d54/src/libstd/rt.rs:64
21: 0x559083fd8c6a - main
22: 0x7fca6386c09b - __libc_start_main
23: 0x559083f7617a - _start
24: 0x0 - <unknown>
Currently, when invoking a stage/subcommand, we don't witness any output to the command line/terminal. As @mbenke rightly pointed out, it would be informative if we actually displayed some basic I/O operations that happen in the background to the terminal.
To provide context, we currently have
$ gudot generate
$ gudot encrypt
It is suggested to modify this as follows
$ gudot generate
Writing "input.json"
$ gudot encrypt
Reading "input.json"
Writing "enc_input.json"
Writing "keys.json"
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.