I hereby claim:
- I am dirvine on github.
- I am dirvine (https://keybase.io/dirvine) on keybase.
- I have a public key ASA2eTly6DqSDQl54W0_CvfbASdSiA_xvXcQsl_jnPrQFwo
To claim this, I am signing this object:
PROJECTS TO CONSIDER | |
1. DoBB E [https://dobb-e.com](https://dobb-e.com/) | |
2. https://shop.unitree.com/en-gb/products/unitree-g1?_gl=1*135czbv*_up*MQ..&gclid=CjwKCAjwjqWzBhAqEiwAQmtgT8wjxGNH22EF8a2KlFcgb1M_NnHRJgVRG0-Xg4bjJMkdGkLxt9sqRBoCrrkQAvD_BwENote: we can get API access to all actuators and control boards here. So worth digging and try to by actuators from them plus get all the 3d models if possible. | |
3. https://interestingengineering.com/innovation/hugging-face-chore-robot | |
4. https://www.poppy-project.org/en/for-science/ | |
5. https://humanoid-ai.github.io/ |
google.com | |
youtube.com | |
facebook.com | |
baidu.com | |
yahoo.com | |
amazon.com | |
wikipedia.org | |
google.co.in | |
twitter.com | |
qq.com |
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout some time, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see https://i3wm.org/docs/userguide.html for a complete reference! |
I hereby claim:
To claim this, I am signing this object:
This is a small demo of how to create a library in Rust and call it from Python (both CPython and PyPy) using the CFFI instead of ctypes
.
Based on http://harkablog.com/calling-rust-from-c-and-python.html (dead) which used ctypes
CFFI is nice because:
ctypes
use std::net::{IpAddr, SocketAddr, UdpSocket}; | |
fn main() { | |
let local_addr = SocketAddr::new(IpAddr::new_v4(0, 0, 0, 0), 3671 ); | |
let mut socket = match UdpSocket::bind(&local_addr) { | |
Ok(s) => s, | |
Err(e) => panic!("couldn't bind socket: {}", e), | |
}; | |
match socket.join_multicast(&IpAddr::new_v4(224, 0, 23, 12)) { | |
Err(why) => println!("! {}", why), |
##dynamic dispatch
[routing] (http://is.gd/LqQjGB)
/* Copyright 2014 MaidSafe.net limited | |
This MaidSafe Software is licensed to you under (1) the MaidSafe.net Commercial License, | |
version 1.0 or later, or (2) The General Public License (GPL), version 3, depending on which | |
licence you accepted on initial access to the Software (the "Licences"). | |
By contributing code to the MaidSafe Software, or to this project generally, you agree to be | |
bound by the terms of the MaidSafe Contributor Agreement, version 1.0, found in the root | |
directory of this project at LICENSE, COPYING and CONTRIBUTOR respectively and also | |
available at: http://www.maidsafe.net/licenses | |
Unless required by applicable law or agreed to in writing, the MaidSafe Software distributed | |
under the GPL Licence is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS |
#include <iostream> | |
#include <string> | |
using namespace std; | |
template <typename Child> | |
struct Routing { | |
Routing() = delete; | |
explicit Routing(std::string s) : t(s) {} | |
void Get() { static_cast<Child*>(this)->FacadeGet(); } |
#include "maidsafe/common/test.h" | |
#include <iostream> | |
#include "asio/io_service.hpp" | |
#include "asio.hpp" | |
// Note: the handler signatures here must contain | |
// boost::system::error_code as first argument (not std::error_code) | |
// for asio to understand it is to indicate errors. | |
template <typename CompletionToken> |