Skip to content

Instantly share code, notes, and snippets.

View dnabanita7's full-sized avatar
🤖
building

Nabanita Dash dnabanita7

🤖
building
View GitHub Profile
@dnabanita7
dnabanita7 / config.py
Created November 11, 2018 06:33 — forked from bonzanini/config.py
Twitter Stream Downloader
consumer_key = 'your-consumer-key'
consumer_secret = 'your-consumer-secret'
access_token = 'your-access-token'
access_secret = 'your-access-secret'
@dnabanita7
dnabanita7 / gist:465d3a04b27b4f287d55bdb88c5f5166
Created March 23, 2019 20:47
Build Failure while compiling a nightly raw image
chad7@superuser:~/haiku/generated.x86_64$ jam -q -j5 @nightly-raw
Starting build of type regular ...
Building Haiku Nightly
Skipping setjmp_test2.S test on non-x86
...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
@dnabanita7
dnabanita7 / gist:55e88b31d14f6a2371e0f7a1cf7ae70b
Created March 24, 2019 06:36
After builing from source code
chad7@superuser:~/haiku_main/haiku/generated.x86gcc2$ jam -q -j5 @nightly-raw
warning: Invalid jamfile cache: Failed to read file info.
Starting build of type regular ...
Building Haiku Nightly
build-feature packages unavailable on x86: qrencode_kdl gnu_efi_kernel
AddHaikuImagePackages: package bc not available!
AddHaikuImagePackages: package texinfo not available!
...patience...
don't know how to make <x86>crtbeginS.o
don't know how to make <x86>crtendS.o
chad7@superuser:~/haiku_main/haiku/generated$ jam -q @nightly-anyboot
Starting build of type regular ...
Building Haiku Nightly
build-feature packages unavailable on x86: qrencode_kdl gnu_efi_kernel
AddHaikuImagePackages: package bc not available!
AddHaikuImagePackages: package texinfo not available!
...patience...
don't know how to make <x86>crtbeginS.o
don't know how to make <x86>crtendS.o
...patience...
@dnabanita7
dnabanita7 / featurization.pdf
Created June 4, 2019 13:35
pd.concat can append dataframes but it is showing an error
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dnabanita7
dnabanita7 / featurization.py
Created June 4, 2019 13:39
pd.concat doesn't concatenate dataframes.
import os
import sys
import errno
import pandas as pd
import numpy as np
import scipy.sparse as sparse
from sklearn.feature_extraction.text import CountVectorizer
from sklearn.feature_extraction.text import TfidfTransformer
@dnabanita7
dnabanita7 / build.jl
Created June 18, 2019 03:49
These are the warnings
make -C scratch/openblas-fd8d1868a126bb9f12bbc43b36ee30d1ba943fbb/ CC=gcc -m64 FC=gfortran -m64 LD=ld RANLIB=ranlib TARGET= BINARY=64 USE_THREAD=1 GEMM_MULTITHREADING_THRESHOLD=50 NUM_THREADS=16 NO_AFFINITY=1 DYNAMIC_ARCH=1 INTERFACE64=1 SYMBOLSUFFIX=64_ LIBPREFIX=libopenblas64_ CFLAGS= -O2 FFLAGS= -O2 -fPIC LDFLAGS= -Wl,-rpath,'$$ORIGIN' -Wl,-z,origin -Wl,-rpath-link,/home/chad7/julia/usr/lib MAKE_NB_JOBS=0
lapack/laswp.c: In function ‘slaswp_’:
lapack/laswp.c:100:8: warning: passing argument 12 of ‘blas_level1_thread’ from incompatible pointer type [-Wincompatible-pointer-types]
laswp[flag], nthreads);
^~~~~
In file included from ../common.h:803:0,
from lapack/laswp.c:40:
../common_thread.h:177:5: note: expected ‘int (*)()’ but argument is of type ‘int (*)(BLASLONG, BLASLONG, BLASLONG, float, float *, BLASLONG, float *, BLASLONG, blasint *, BLASLONG) {aka int (*)(long int, long int, long int, float, float *, long int, float *, long int, long int *, long int)}’
i
@dnabanita7
dnabanita7 / Software Engineer
Created July 29, 2019 12:53
Job Description
More about the role
Job title: Software Engineering Intern, Summer 2020 - Bangalore or Hyderabad
Job description: Software Engineers at Google are researchers and developers who yearn to create and implement complex computer science solutions. Our engineers develop massively scalable, distributed software systems and also collaborate on multitudes of smaller projects that have universal appeal - which requires research, awareness, interactivity, and asking questions. You build strong competencies in data structures and algorithms, along with a technical fascination for how stuff fits together. You need to have a solid foundation in computer science in order to consistently come up with new ideas as well as strive for a deep understanding of our products and services in order to continually improve upon them. We focus on being a collaborative, global organization consisting of engineers with the highest levels of technical depth, programming skills and a keen eye for quality. Our Summer internships start in
stack traces at different debug levels: Test Failed at /home/nabanita07/.julia/packages/CUDAnative/wdJjC/test/device/execution.jl:540
Expression: occursin("ERROR: KernelException: exception thrown during kernel execution on device", err)
Evaluated: occursin("ERROR: KernelException: exception thrown during kernel execution on device", "ERROR: CUDA error: out of memory (code 2, ERROR_OUT_OF_MEMORY)\nStacktrace:\n [1] top-level scope at none:7\n")
Stacktrace:
[1] top-level scope at /home/nabanita07/.julia/packages/CUDAnative/wdJjC/test/device/execution.jl:540
[2] top-level scope at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Test/src/Test.jl:1107
[3] top-level scope at /home/nabanita07/.julia/packages/CUDAnative/wdJjC/test/device/execution.jl:525
[4] top-level scope at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Test/src/Test.jl:1107
[5] top-level scope at /home/nabanita07/.julia/packages/CUDAnative/wdJjC/test/device/execution.jl:523
[6] top-level sc
@dnabanita7
dnabanita7 / gist:ea2d956cfb245d37b5c6af677b5e3695
Created June 8, 2020 04:56
IOError: stream is closed or unusable
┌ Error: error handling request
│ exception =
│ IOError: stream is closed or unusable
│ Stacktrace:
│ [1] check_open at ./stream.jl:328 [inlined]
│ [2] uv_write_async(::Sockets.TCPSocket, ::Ptr{UInt8}, ::UInt64) at ./stream.jl:961
│ [3] uv_write(::Sockets.TCPSocket, ::Ptr{UInt8}, ::UInt64) at ./stream.jl:924
│ [4] unsafe_write(::Sockets.TCPSocket, ::Ptr{UInt8}, ::UInt64) at ./stream.jl:1007
│ [5] unsafe_write at /home/nabanita07/.julia/packages/HTTP/GkPBm/src/ConnectionPool.jl:174 [inlined]
│ [6] write at ./strings/io.jl:183 [inlined]