This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template<class T> | |
class If : public T { | |
public: | |
static Rc<If> create( | |
Rc<BoolNode> condition, | |
Rc<T> on_true, | |
Rc<T> on_false | |
) { | |
return std::shared_ptr<If>(new If(condition, on_true, on_false)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Node; | |
class FractionalNode { | |
virtual double min() = 0; | |
virtual double max() = 0; | |
}; | |
class BooleanNode; | |
template<class Result> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Test where | |
import Clash.Prelude | |
import Clash.Explicit.Testbench | |
delay2 :: (KnownNat n, HiddenClockReset domain gated synchronous) => DSignal domain n Int -> DSignal domain (n + 2) Int | |
delay2 = delayedI | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name Empty @name replaces the default template - 2/11/2019, 12:57:34 PM | |
@namespace github.com/openstyles/stylus | |
@version 1.0.0 | |
@description A new userstyle | |
@author Me | |
==/UserStyle== */ | |
@-moz-document url-prefix("https://tornby.kina-thai.se/") { | |
/* Insert code here... */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use rand::{ | |
Rng, | |
thread_rng, | |
distributions::{ | |
Distribution, | |
Uniform | |
} | |
}; | |
use std::time::Instant; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/Documents/fpga/apio_template ♦ ➔ stack build clash-ghc-0.99.3 (master|●1✚3…)wraith | |
Error: While constructing the build plan, the following exceptions were encountered: | |
In the dependencies for clash-ghc-0.99.3: | |
clash-lib-0.7.1 from stack configuration does not match >=0.99.3 && <1.0 (latest matching version | |
is 0.99.3) | |
clash-prelude-0.11.2 from stack configuration does not match >=0.99.3 && <1.0 (latest matching | |
version is 0.99.3) | |
ghc-8.0.2 from stack configuration does not match >=8.2.0 && <8.8 (latest matching version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codec: Realtek ALC295 | |
Address: 0 | |
AFG Function Id: 0x1 (unsol 1) | |
Vendor Id: 0x10ec0295 | |
Subsystem Id: 0x103c827e | |
Revision Id: 0x100002 | |
No Modem Function Group found | |
Default PCM: | |
rates [0x560]: 44100 48000 96000 192000 | |
bits [0xe]: 16 20 24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codec: Realtek ALC295 | |
Address: 0 | |
AFG Function Id: 0x1 (unsol 1) | |
Vendor Id: 0x10ec0295 | |
Subsystem Id: 0x103c827e | |
Revision Id: 0x100002 | |
No Modem Function Group found | |
Default PCM: | |
rates [0x560]: 44100 48000 96000 192000 | |
bits [0xe]: 16 20 24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Esp8266<Tx, Rx, Timer, Timeout> | |
where Tx: hal::serial::Write<u8>, | |
Rx: hal::serial::Read<u8>, | |
Timer: hal::timer::CountDown, | |
Timeout: Fn() -> Timer::Time | |
{ | |
tx: Tx, | |
rx: Rx, | |
timer: Timer, | |
timeout: Timeout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---- foreign_server::sync_integration::sync_works stdout ---- | |
thread 'foreign_server::sync_integration::sync_works' panicked at 'Foregin sync failed: Error(Msg("Failed to send changes"), State { next_error: Some(Error(WrongHttpStatusCode(NotFound, ""), State { next_error: None, backtrace: Some(stack backtrace: | |
0: 0x561950762e64 - backtrace::backtrace::libunwind::trace::h371130c3922edecc | |
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.5/src/backtrace/libunwind.rs:53 | |
- backtrace::backtrace::trace::h6241456bfbea76ed | |
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.5/src/backtrace/mod.rs:42 | |
1: 0x56195075cd6c - backtrace::capture::Backtrace::new_unresolved::h170d04b789c32bb6 | |
at /home/frans/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.5/src/capture.rs:88 | |
2: 0x56195075ccbe - backtrace::capture::Backtrace::new::he781b3f0c43cb38 |