Skip to content

Instantly share code, notes, and snippets.

View HarikrishnanBalagopal's full-sized avatar

Hari HarikrishnanBalagopal

View GitHub Profile
This file has been truncated, but you can view the full file.
function symbol table not sorted by PC offset: 0xffff0000 github.com/mholt/archiver/v3.(*TarGz).Close > 0x0 github.com/mholt/archiver/v3.TarGz.Match , plugin:
0x10000000
0x10010000 internal/abi.(*RegArgs).Dump
0x10020000 internal/abi.(*RegArgs).IntRegArgAddr
0x10030000 internal/abi.(*IntArgRegBitmap).Set
0x10040000 internal/abi.(*IntArgRegBitmap).Get
0x10050000 internal/abi.Kind.String
0x10060000 internal/abi.(*Type).Kind
0x10070000 internal/abi.(*Type).HasName
0x10080000 internal/abi.(*Type).Pointers
@HarikrishnanBalagopal
HarikrishnanBalagopal / gist:d59b6f5a724dc49e207de967f2394e84
Created December 27, 2023 07:26
stack trace on wasm branch with new compiler
0xfc190000 github.com/ulikunitz/xz/lzma.(*hashTable).getMatches
0xfc1a0000 github.com/ulikunitz/xz/lzma.(*hashTable).Matches
0xfc1b0000 github.com/ulikunitz/xz/lzma.(*hashTable).NextOp
0xfc1c0000 github.com/ulikunitz/xz/lzma.chunkType.String
0xfc1d0000 github.com/ulikunitz/xz/lzma.headerLen
0xfc1e0000 github.com/ulikunitz/xz/lzma.(*chunkHeader).String
0xfc1f0000 github.com/ulikunitz/xz/lzma.(*chunkHeader).UnmarshalBinary
0xfc200000 github.com/ulikunitz/xz/lzma.(*chunkHeader).MarshalBinary
0xfc210000 github.com/ulikunitz/xz/lzma.readChunkHeader
0xfc220000 github.com/ulikunitz/xz/lzma.(*chunkState).next
0xfc1c0000 github.com/pierrec/lz4/v4/internal/lz4stream.(*DescriptorFlags).SizeSet
0xfc1d0000 github.com/pierrec/lz4/v4/internal/lz4stream.(*DescriptorFlags).BlockChecksumSet
0xfc1e0000 github.com/pierrec/lz4/v4/internal/lz4stream.(*DescriptorFlags).BlockIndependenceSet
0xfc1f0000 github.com/pierrec/lz4/v4/internal/lz4stream.(*DescriptorFlags).VersionSet
0xfc200000 github.com/pierrec/lz4/v4/internal/lz4stream.(*DescriptorFlags).BlockSizeIndexSet
0xfc210000 github.com/pierrec/lz4/v4/internal/lz4stream.DataBlockSize.Uncompressed
0xfc220000 github.com/pierrec/lz4/v4/internal/lz4stream.(*DataBlockSize).UncompressedSet
0xfc230000 github.com/pierrec/lz4/v4/internal/lz4stream.(*DataBlockSize).Uncompressed
0xfc240000 github.com/pierrec/lz4/v4/internal/lz4stream.(*DescriptorFlags).BlockChecksum
0xfc250000 github.com/pierrec/lz4/v4/internal/lz4stream.(*DescriptorFlags).BlockIndependence
import os
import csv
import json
import argparse
def parse_args():
parser = argparse.ArgumentParser()
parser.add_argument('--input_path', type=str, default='../data/quora_duplicate_questions.tsv', help='path to tab separated file (.tsv) containing paraphrases.')
parser.add_argument('--dataset_name', type=str, default='quora', help='name of the dataset.')
return parser.parse_args()
"""
Preprocesses a raw json dataset into hdf5/json files.
python prepro.py --input_train_json data/vqa_raw_train.json --input_test_json data/vqa_raw_test.json --num_ans 1000
To get the question features. You will also see some question statistics in the terminal output. This will generate two files in the current directory, only_quora_tt.h5 and only_quora_tt.json.
Also in this code a lot of places you will find things related to captions, but they actually correspond to paraphrases. Reuse of previous code :p
"""
import copy
from random import shuffle, seed
import sys
import os.path
In file included from /home/test/Documents/ns2/ns-allinone-2.35/tk8.5.10/unix/../generic/tkInt.h:19:0,
from /home/test/Documents/ns2/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:14:
/home/test/Documents/ns2/ns-allinone-2.35/tk8.5.10/unix/../generic/tk.h:76:23: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
Makefile:908: recipe for target 'tk3d.o' failed
make: *** [tk3d.o] Error 1
tk8.5.10 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com
alert(document.cookie);