Skip to content

Instantly share code, notes, and snippets.

[root@5b5c9fd9888a /]# gdb qlas_analyze
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-115.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
[root@5b5c9fd9888a /]# gdb qlas_analyze
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-115.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
---Type <return> to continue, or q <return> to quit---
For bug reporting instructions, please see:
@font-face {
font-family: 'icomoon';
src: url('../fonts/icomoon.eot?joreav');
src: url('../fonts/icomoon.eot?joreav#iefix') format('embedded-opentype'),
url('../fonts/icomoon.ttf?joreav') format('truetype'),
url('../fonts/icomoon.woff?joreav') format('woff'),
url('../fonts/icomoon.svg?joreav#icomoon') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
@mridulbirla
mridulbirla / Weighted Reservoir Sampling.ipynb
Last active April 2, 2019 17:28 — forked from mehitabel/Weighted Reservoir Sampling
A quick run through weighted reservoir sampling.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mridulbirla
mridulbirla / txt
Created August 9, 2017 19:10
Stacktrace Coala
../../PycharmProjects/untitled/test.py
| 8| [ERROR][12:02:30] An unknown error occurred. This is a bug. We are sorry for the inconvenience. Please contact the developers for assistance. During execution of coala an exception was raised. This should never happen. When asked for, the following information may help investigating:
[INFO][12:02:30] Exception was:
Traceback (most recent call last):
File "/Users/bmridul/anaconda/lib/python3.6/site-packages/coalib/coala_main.py", line 113, in run_coala
console_printer=console_printer)
File "/Users/bmridul/anaconda/lib/python3.6/site-packages/coalib/processes/Processing.py", line 730, in execute_section
console_printer=console_printer),
---------------------------------------------------------------------------
InvalidArgumentError Traceback (most recent call last)
/N/u/mbirla/anaconda3/envs/tensorflow/lib/python3.5/site-packages/tensorflow/python/client/session.py in _do_call(self, fn, *args)
1021 try:
-> 1022 return fn(*args)
1023 except errors.OpError as e:
/N/u/mbirla/anaconda3/envs/tensorflow/lib/python3.5/site-packages/tensorflow/python/client/session.py in _run_fn(session, feed_dict, fetch_list, target_list, options, run_metadata)
1003 feed_dict, fetch_list, target_list,
-> 1004 status, run_metadata)
@mridulbirla
mridulbirla / Stacktrace
Created February 22, 2017 17:32
Error Stacktrace
Traceback (most recent call last):
File "/home/mridul/anaconda3/envs/tensorflow/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1021, in _do_call
return fn(*args)
File "/home/mridul/anaconda3/envs/tensorflow/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1003, in _run_fn
status, run_metadata)
File "/home/mridul/anaconda3/envs/tensorflow/lib/python3.5/contextlib.py", line 66, in __exit__
next(self.gen)
File "/home/mridul/anaconda3/envs/tensorflow/lib/python3.5/site-packages/tensorflow/python/framework/errors_impl.py", line 469, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: Conv2DCustomBackpropInput: input and out_backprop must have the same batch size
@mridulbirla
mridulbirla / txt
Last active November 9, 2016 19:35
lua install cutorch
[mbirla@r-003 iTorch]$ luarocks install cutorch
Installing https://raw.githubusercontent.com/torch/rocks/master/cutorch-scm-1.rockspec...
Using https://raw.githubusercontent.com/torch/rocks/master/cutorch-scm-1.rockspec... switching to 'build' mode
Cloning into 'cutorch'...
remote: Counting objects: 206, done.
remote: Compressing objects: 100% (162/162), done.
remote: Total 206 (delta 59), reused 82 (delta 42), pack-reused 0
Receiving objects: 100% (206/206), 195.81 KiB | 0 bytes/s, done.
Resolving deltas: 100% (59/59), done.
cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/N/u/mbirla/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/N/u/mbirla/torch/install/lib/luarocks/rocks/cutorch/scm-1" && make -j$(getconf _NPROCESSORS_ONLN) install
@mridulbirla
mridulbirla / txt
Created November 9, 2016 19:08
Nvidia-smi output
| NVIDIA-SMI 352.39 Driver Version: 352.39 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Tesla K80 Off | 0000:04:00.0 Off | 0 |
| N/A 41C P0 59W / 149W | 22MiB / 11519MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 1 Tesla K80 Off | 0000:05:00.0 Off | 0 |
| N/A 34C P0 73W / 149W | 22MiB / 11519MiB | 0% Default |
@mridulbirla
mridulbirla / txt
Created November 9, 2016 18:36
Luacrypto error
[mbirla@r-003]$ luarocks install luacrypto OPENSSL_INCDIR='/N/u/mbirla/ssl/include'
Installing https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacrypto-0.3.2-2.src.rock...
Using https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacrypto-0.3.2-2.src.rock... switching to 'build' mode
gcc -O2 -fPIC -I/N/u/mbirla/torch/install/include -c src/lcrypto.c -o src/lcrypto.o -I/N/u/mbirla/ssl/include
src/lcrypto.c: In function ‘digest_pnew’:
src/lcrypto.c:81:61: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_MD_CTX’
EVP_MD_CTX *c = (EVP_MD_CTX *)lua_newuserdata(L, sizeof(EVP_MD_CTX));
^
src/lcrypto.c: In function ‘encrypt_pnew’:
src/lcrypto.c:331:69: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_CIPHER_CTX’