Skip to content

Instantly share code, notes, and snippets.

View spikecurtis's full-sized avatar

Spike Curtis spikecurtis

View GitHub Profile
@spikecurtis
spikecurtis / gist:a8a51858f334924b811e5618921a6e48
Created January 13, 2022 23:44
gRPC logs TSI_DATA_CORRUPTED
I0113 15:16:45.006402707 903277 subchannel.cc:1037] Failed to connect to channel, retrying
I0113 15:16:45.006805795 903277 ref_counted.h:78] subchannel_pool:0x747c0d8 ref 28 -> 29
I0113 15:16:45.010327747 906579 ref_counted.h:169] subchannel_pool:0x747c0d8 unref 29 -> 28
I0113 15:16:45.010468017 906579 subchannel.cc:1073] Connect failed: {"created":"@1642115805.010258371","description":"Failed to connect to remote host: Connection refused","errno":111,"file":"/builds/project-lucy/tensor-accessor/_deps/grpc-src/src/core/lib/iomgr/tcp_client_posix.cc","file_line":201,"os_error":"Connection refused","syscall":"connect","target_address":"ipv6:[::1]:50684"}
I0113 15:16:45.010675275 906579 subchannel.cc:1010] Subchannel 0x7fd8f400c0f0: Retry immediately
I0113 15:16:45.010743260 906579 subchannel.cc:1037] Failed to connect to channel, retrying
I0113 15:16:45.011015850 906579 ref_counted.h:78] subchannel_pool:0x747c0d8 ref 28 -> 29
I0113 15:16:45.011
@spikecurtis
spikecurtis / main.rs
Created December 2, 2021 05:20
AoC Day 1
use std::io;
fn main() -> io::Result<()> {
let mut buffer = String::new();
let mut old0: i64 = 0;
let mut old1: i64 = 0;
let mut old_total: i64 = 0;
let mut increases = 0;
let mut i = 0;
loop {
@spikecurtis
spikecurtis / keybase.md
Created October 4, 2017 23:10
Keybase Proof

Keybase proof

I hereby claim:

  • I am spikecurtis on github.
  • I am spikecurtis (https://keybase.io/spikecurtis) on keybase.
  • I have a public key ASCUgBOlDPCZQ6QbRPFvjCR_i-02Hf5yu2aVNXqohruD9go

To claim this, I am signing this object:

@spikecurtis
spikecurtis / bookinfo.yaml
Created September 22, 2017 18:48
Bookinfo with Service Accounts
# Copyright 2017 Istio Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@spikecurtis
spikecurtis / meeting_saved_chat.txt
Created September 21, 2017 18:46
Istio Community Call 2017-09-21 Chat
10:49:07 From Spike Curtis : Agenda and notes are here: https://docs.google.com/document/d/14ZCWMfEV9MPDYrjhKYMErVXHTZrSwJNMm1ztKo8efPw/edit
10:59:49 From bliang : Is anyone else seeing a "Recording" status at the top left of the zoom? Is that supposed to be there?
11:00:28 From Prem Sankar G : Yes, if the session get recorded
11:00:48 From bliang : Ah makes sense. Got it!
11:07:14 From whenry : Link to the training information?
11:07:54 From April Kyle Nassi : https://tigera.io/training/
11:09:32 From whenry : thnx
11:09:38 From Prem Sankar G : I would be interested to test. Could you share more details
11:10:36 From zbutcher : https://groups.google.com/d/msg/istio-users/aEgUWT0pCGQ/z5BT7_76DgAJ
11:10:43 From zbutcher : ^ community test day info
root@spike-wily:/opt/Nutaq/bas/sdk/host/api/eapi/prj_linux# ./generate.sh
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE [^\}]*}/ at /usr/bin/autoscan line 361.
configure.ac: warning: missing AC_PROG_CXX wanted by: cross.sh:24
libtoolize: putting auxiliary files in '.'.
libtoolize: linking file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
---------- RecPlayTestUtil ----------
Parsing RecplayTestPlayback.ini file for needed parameters...Done!
Action: init
Connecting to the board... Done
---------- RecPlayTestUtil ----------
Parsing RecplayTestRecord.ini file for needed parameters...Done!
Action: init
Connecting to the board... Done
Warning: The model 'adac250_test' does not have continuous states, hence Simulink is using the solver 'VariableStepDiscrete'
instead of solver 'ode45'. You can disable this diagnostic by explicitly specifying a discrete solver in the solver tab of the
Configuration Parameters dialog, or by setting the 'Automatic solver parameter selection' diagnostic to 'none' in the Diagnostics
tab of the Configuration Parameters dialog
> In C:\Xilinx\14.7\ISE_DS\ISE\sysgen\bin\nt64\xlCompileGenerateMdl.p>xlCompileGenerateMdl at 203
In C:\Xilinx\14.7\ISE_DS\ISE\sysgen\bin\nt64\xlGenerateButton.p>xlGenerateButton at 325
In C:\Xilinx\14.7\ISE_DS\ISE\sysgen\bin\nt64\xlSysgenGUI.p>xlSysgenGUI at 51
Warning: Inconsistent sample times. Sample time ([0, 0]) of signal driving input port 1 of 'adac250_test/Record Readout/ADC -
A/adac250_0_adc_a_data' differs from the expected sample time (1) at this input port.
> In C:\Xilinx\14.7\ISE_DS\ISE\sysgen\bin\nt64\xlCompileGenerateMdl.p>xlCompileGenerateMdl at 203
@spikecurtis
spikecurtis / gist:c33af8fa088e495185f8
Created July 14, 2015 16:36
iptables-restore failed
2015-07-14 16:32:42,099 [ERROR][90/5] calico.felix.fiptables 393: Non-retryable iptables-restore failure. RC=2
2015-07-14 16:32:42,099 [DEBUG][90/5] calico.felix.fiptables 419: Batch time: 0.01 1
2015-07-14 16:32:42,100 [DEBUG][90/2] calico.felix.actor 494: BLOCKING CALL COMPLETE: [9a750589043a] frules.py:156:install_global_rules -> rewrite_chains = FailedSystemCall('iptables-restore', '--noflush', '--verbose')
2015-07-14 16:32:42,100 [ERROR][90/2] calico.felix.felix 186: Exception killing main greenlet
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/calico/felix/felix.py", line 150, in _main_greenlet
v4_nat_updater)
File "/usr/local/lib/python2.7/dist-packages/calico/felix/frules.py", line 156, in install_global_rules
async=False)
File "/usr/local/lib/python2.7/dist-packages/calico/felix/actor.py", line 486, in queue_fn