Skip to content

Instantly share code, notes, and snippets.

View nox's full-sized avatar
🥖

Anthony Ramine nox

🥖
View GitHub Profile
DEBUG h2::client > entered poll
DEBUG h2::proto::connection > entered inner poll
DEBUG h2::proto::connection > entered inner poll loop
[/Users/nox/src/h2/src/proto/connection.rs:247] &self.inner.state = Open
DEBUG h2::codec::framed_read > received frame=Settings { flags: (0x0), initial_window_size: 1048576, max_frame_size: 16384 }
DEBUG h2::codec::framed_write > send frame=Settings { flags: (0x1: ACK) }
DEBUG h2::codec::framed_read > received frame=Settings { flags: (0x1: ACK) }
DEBUG h2::proto::settings > received settings ACK; applying Settings { flags: (0x0) }
DEBUG h2::codec::framed_read > received frame=WindowUpdate { stream_id: StreamId(0), size_increment: 983041 }
DEBUG h2::codec::framed_read > received frame=Headers { stream_id: StreamId(1), flags: (0x4: END_HEADERS) }
DEBUG h2::client > binding client connection
DEBUG h2::client > client connection bound
DEBUG h2::codec::framed_write > send frame=Settings { flags: (0x0) }
DEBUG h2::proto::connection > Connection; peer=Client
DEBUG h2::codec::framed_write > send frame=Settings { flags: (0x0), initial_window_size: 1048576, max_frame_size: 16384 }
DEBUG h2::proto::connection > r = Ready(Ok(()))
[/Users/nox/src/h2/src/client.rs:1279] self.inner.poll(cx).map_err(Into::into) = Pending
DEBUG h2::codec::framed_write > send frame=Headers { stream_id: StreamId(1), flags: (0x4: END_HEADERS) }
DEBUG h2::proto::connection > r = Ready(Ok(()))
[/Users/nox/src/h2/src/client.rs:1279] self.inner.poll(cx).map_err(Into::into) = Pending
{module, conjunctions}. %% version = 0
{exports, [{',',2},{'and',2},{'andalso',2},{module_info,0},{module_info,1}]}.
{attributes, []}.
{labels, 14}.
{function, ',', 2, 2}.
@nox
nox / shell_log
Last active August 29, 2015 14:06
GitHub, please tell me I'm wrong.
Why did a snippet of:
https://github.com/charliesome/mysql-5.5.36/blob/master/mysql-test/r/key_diff.result
Ended up in my OTP repos?
diff --git a/configure b/configure
index d45e88f..25d872b 100755
--- a/configure
+++ b/configure
@@ -322,7 +322,14 @@ case "$bytecc,$target" in
bytecccompopts="-fno-defer-pop $gcc_warnings -DSHRINKED_GNUC"
mathlib="";;
*,*-*-darwin*)
- bytecccompopts="-fno-defer-pop $gcc_warnings"
+ # On recent version of OSX, gcc is a symlink to clang
@nox
nox / compile.S.diff
Created February 15, 2014 02:13
Changed BEAM code when bootstrapping with v3_core-comprehensions-cleanup
--- old/compile.S 2014-02-14 21:29:30.000000000 +0100
+++ new/compile.S 2014-02-14 21:29:20.000000000 +0100
@@ -8482,10 +8482,10 @@
{call_only,1,{f,233}}.
-{function, '-mpf/1-lc$^2/1-2-', 1, 853}.
+{function, '-mpf/1-lc$^0/1-2-', 1, 853}.
{label,852}.
{line,[{location,"lib/compiler/src/compile.erl",389}]}.
@nox
nox / lolspeed.S
Created December 16, 2013 17:13 — forked from blt/lolspeed.erl
{module, lolspeed}. %% version = 0
{exports, [{main,0},{module_info,0},{module_info,1}]}.
{attributes, []}.
{labels, 22}.
{function, main, 0, 2}.
This file has been truncated, but you can view the full file.
--- Elixir.String.Graphemes.S.orig 2013-12-04 23:35:27.000000000 +0100
+++ Elixir.String.Graphemes.S 2013-12-04 23:50:39.000000000 +0100
@@ -8,7 +8,7 @@
{attributes, []}.
-{labels, 458}.
+{labels, 481}.
194 sys/common/erl_poll.c:2434:46: runtime error: left shift of 1 by 31 places cannot be represented in type 'ethr_sint32_t' (aka 'int')
194 sys/common/erl_poll.c:2227:46: runtime error: left shift of 1 by 31 places cannot be represented in type 'ethr_sint32_t' (aka 'int')
194 sys/common/erl_poll.c:2007:16: runtime error: left shift of 1 by 31 places cannot be represented in type 'ethr_sint32_t' (aka 'int')
194 common/ethr_mutex.c:3062:13: runtime error: left shift of 1 by 31 places cannot be represented in type 'ethr_sint32_t' (aka 'int')
194 common/ethr_mutex.c:3061:7: runtime error: left shift of 1 by 31 places cannot be represented in type 'ethr_sint32_t' (aka 'int')
194 common/ethr_mutex.c:3054:13: runtime error: left shift of 1 by 31 places cannot be represented in type 'ethr_sint32_t' (aka 'int')
194 common/ethr_mutex.c:3053:10: runtime error: left shift of 1 by 31 places cannot be represented in type 'ethr_sint32_t' (aka 'int')
194 common/ethr_mutex.c:3019:11: runtime error: left shift of 1 by
@nox
nox / etp.py
Last active December 24, 2015 23:29
Preliminary Erlang support for LLDB
# coding=utf-8
#
# %CopyrightBegin%
#
# Copyright Ericsson AB 2013. All Rights Reserved.
#
# The contents of this file are subject to the Erlang Public License,
# Version 1.1, (the "License"); you may not use this file except in
# compliance with the License. You should have received a copy of the
# Erlang Public License along with this software. If not, it can be