I hereby claim:
- I am andoriyu on github.
- I am andoriyu (https://keybase.io/andoriyu) on keybase.
- I have a public key whose fingerprint is 6AD8 7C3E CD9A 39EA 865F 5100 5E18 30E0 6461 15FA
To claim this, I am signing this object:
impl Handler<ExecuteTask> for TaskManager { | |
type Result = ResponseActFuture<Self, Result<(), String>>; | |
fn handle(&mut self, msg: ExecuteTask, ctx: &mut Context<Self>) -> Self::Result { | |
let zfs_addr = self.zfs_manager.clone(); | |
let maybe_task = self.tasks.get(msg.0.as_str()).cloned(); | |
let logger = self.logger.clone(); | |
Box::pin( | |
async move { | |
if let Some(task) = maybe_task { |
Checking uclicious-example v0.1.0 (/usr/home/andoriyu/dev/github.com/andoriyu/uclicious/uclicious-example) | |
error[E0277]: the trait bound `std::path::PathBuf: std::convert::From<uclicious::raw::object::ObjectRef>` is not satisfied | |
--> uclicious-example/src/main.rs:5:16 | |
| | |
5 | #[derive(Debug,Uclicious)] | |
| ^^^^^^^^^ the trait `std::convert::From<uclicious::raw::object::ObjectRef>` is not implemented for `std::path::PathBuf` | |
| | |
= help: the following implementations were found: | |
<std::path::PathBuf as std::convert::From<&T>> | |
<std::path::PathBuf as std::convert::From<std::borrow::Cow<'a, std::path::Path>>> |
pub struct Connection { | |
#[ucl(default = "420")] | |
port: i64, | |
} | |
#[automatically_derived] | |
#[allow(unused_qualifications)] | |
impl ::core::fmt::Debug for Connection { | |
fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result { | |
match *self { | |
Connection { |
=>> Building databases/mysql80-client | |
build started at Mon Mar 9 17:52:53 PDT 2020 | |
port directory: /usr/ports/databases/mysql80-client | |
package name: mysql80-client-8.0.19_1 | |
building for: FreeBSD live-system-nimble-job-02 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 1201000 amd64 | |
maintained by: [email protected] | |
Makefile ident: $FreeBSD: head/databases/mysql80-client/Makefile 523788 2020-01-22 05:53:20Z sunpoet $ | |
Poudriere version: 3.3.99.20191210 | |
Host OSVERSION: 1201000 | |
Jail OSVERSION: 1201000 |
{ | |
let reference = &mut array; | |
// segfault | |
let iter: IterMut = reference.into_iter(); | |
let ints: Vec<i64> = iter.map(|obj| obj.as_i64().unwrap()).collect(); | |
// no segfault | |
let iter: IterMut = reference.into_iter(); | |
iter.for_each(|obj| { dbg!(obj.as_i64().unwrap()); }); |
pub struct NvList { | |
ptr: *mut sys::nvlist_t, | |
} | |
pub struct NvPair { | |
ptr: *mut sys::nvpair_t, | |
} | |
impl NvPair { | |
pub unsafe fn from_ptr(ptr: *mut sys::nvpair_t) -> NvPair { |
fn list_filesystems<N: Into<PathBuf>>(&self, pool: N) -> Result<impl Iterator<Item = PathBuf> { | |
let mut z = self.zfs_mute(); | |
z.args(&["list", "-t", "filesystem", "-o", "name", "-Hpr"]); | |
z.arg(pool.into().as_os_str()); | |
debug!(self.logger, "executing"; "cmd" => format_args!("{:?}", z)); | |
let out = z.output()?; | |
if out.status.success() { | |
let stdout = String::from_utf8_lossy(&out.stdout); | |
ZfsParser::parse(Rule::datasets, &stdout) | |
.map(|mut pairs| { |
build started at Sun Aug 11 23:12:18 PDT 2019 | |
port directory: /usr/ports/java/intellij-ultimate | |
package name: intellij-ultimate-2019.2 | |
building for: FreeBSD freebsd_12_0-amd64-default 12.0-RELEASE-p9 FreeBSD 12.0-RELEASE-p9 amd64 | |
maintained by: [email protected] | |
Makefile ident: $FreeBSD: head/java/intellij-ultimate/Makefile 500488 2019-04-30 13:25:43Z ale $ | |
Poudriere version: 3.3.99.20190803 | |
Host OSVERSION: 1200514 | |
Jail OSVERSION: 1200086 | |
Job Id: |
I hereby claim:
To claim this, I am signing this object:
#! /bin/sh | |
bspc config border_width 0 | |
bspc config window_gap 3 | |
bspc config split_ratio 0.52 | |
bspc config borderless_monocle true | |
bspc config gapless_monocle true | |
bspc config click_to_focus button1 | |
bspc config pointer_mod mod4 | |
bspc config pointer_action1 move | |
bspc config pointer_action2 resize_side |