Skip to content

Instantly share code, notes, and snippets.

View xd009642's full-sized avatar
🦀
Crab People! Crab People! Crab People!

xd009642

🦀
Crab People! Crab People! Crab People!
View GitHub Profile
foo-api-1 | 2023-11-02T11:57:58.773680Z ERROR tower_http::trace::on_failure: response failed, classification: Status code: 500 Internal Server Error, latency: 0 ms
foo-api-1 | at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/tower-http-0.4.4/src/trace/on_failure.rs:93
foo-api-1 | in tower_http::trace::make_span::request with method: GET, uri: /stream-chat/8e40c3ab-04a2-4e6d-9bb3-dff64c28c2bd, version: HTTP/1.1, headers: {"host": "127.0.0.1:32049", "connection": "Upgrade", "upgrade": "websocket", "sec-websocket-version": "13", "sec-websocket-key": "qVUqRJi/HUxTS/Z56723SA==", "x-request-id": "141153d8-f507-426b-8c96-4b1a79ce42db"}
foo-api-1 |
foo-api-1 | 2023-11-02T11:57:58.773730Z TRACE hyper::proto::h1::role: Server::encode status=500, body=Some(Known(191)), req_method=Some(GET)
foo-api-1 | at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/role.rs:342
foo-api-1
use core::task::{Context, Poll};
use http::{Request, Response};
use std::convert::Infallible;
use std::sync::{Arc, RwLock};
use tonic::body::BoxBody;
use tonic::transport::Body;
use tower_layer::Layer;
use tower_service::Service;
pub struct ReloadLayer {
# move 3
If Vis plays a6 go for a4 as I don't want b5 and a big queen side attack he can lock down
d6 e6 or Qb6 I play Nc3 (I feel there's some gambit here I should know...?)
Play e4 at some point to reinforce centre
if b5 go for f3 e4 and make his light square bishop useless
#[derive(Debug, Clone)]
pub struct Biquad{
/* https://ccrma.stanford.edu/~jos/fp/Direct_Form_II.html */
b0: f64,
b1: f64,
b2: f64,
a1: f64,
a2: f64,
}
use bytes::{Buf, Bytes, BytesMut};
use opentelemetry::sdk;
use opentelemetry::sdk::propagation::TraceContextPropagator;
use opentelemetry::sdk::trace::{Builder, Sampler};
use opentelemetry::trace::TracerProvider;
use opentelemetry::{global::set_text_map_propagator, KeyValue};
use std::convert::TryFrom;
use std::env::var;
use std::net::SocketAddr;
use std::process::Stdio;
function read_file(path)
local file, errorMessage = io.open(path, "r")
if not file then
error("Could not read the file:" .. errorMessage .. "\n")
end
local content = file:read "*all"
file:close()
return content
end
local FileBody = read_file("audio.wav")
pub struct HoughParameters<T, D, F>
where
D: Dimension,
F: Sized + (Fn(f64) -> Array1<T>),
{
/// Represents the dimensionality of the hough space
pub dim: PhantomData<D>,
/// Parameter bounds
pub bounds: Array2<T>,
/// Search resolution for each parameter. Should be the same size as bounds.
module cordic
(
input clk,
input ce,
input rst,
input signed [18-1:0] x_in,
input signed [18-1:0] y_in,
input [18-1:0] phase_in,
module cordic
(
input clk,
input ce,
input rst,
input signed [18-1:0] x_in,
input signed [18-1:0] y_in,
input [18-1:0] phase_in,
<!-- Portions (C) International Organization for Standardization 1986:
Permission to copy in any form is granted for use with
conforming SGML systems and applications as defined in
ISO 8879, provided this notice is included in all copies.
-->
<!ELEMENT coverage (sources?,packages)>
<!ATTLIST coverage line-rate CDATA #REQUIRED>
<!ATTLIST coverage branch-rate CDATA #REQUIRED>
<!ATTLIST coverage lines-covered CDATA #REQUIRED>