Skip to content

Instantly share code, notes, and snippets.

INFO(process_core): Using library search path:
DEBUG(process_core): Searching for missing and mismapped modules
DEBUG(process_core): Searching for module: linux-vdso.so.1
DEBUG(process_core): Could not locate module linux-vdso.so.1 in the search path
DEBUG(process_core): Adding linux-vdso.so.1 as a missing module despite a search
DEBUG(process_core): Retaining module linux-vdso.so.1 spanning from 0x7ffd9459b000 to 0x7ffd9459d000
DEBUG(process_core): Searching for module: /home/jhance/.cache/bazel/_bazel_jhance/a6e3576ae080825f7543244aa416f963/execroot/__main__/bazel-out/k8-dbg/bin/thirdparty/arrow/json_test.runfiles/__main__/../arrow/python/pyarrow/_json.cpython-311-x86_64-linux-gnu.so
DEBUG(process_core): Could not locate module /home/jhance/.cache/bazel/_bazel_jhance/a6e3576ae080825f7543244aa416f963/execroot/__main__/bazel-out/k8-dbg/bin/thirdparty/arrow/json_test.runfiles/__main__/../arrow/python/pyarrow/_json.cpython-311-x86_64-linux-gnu.so in the search path
DEBUG(process_core): Retaining module /home/j
This file has been truncated, but you can view the full file.
ELF Header:
Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
Class: ELF64
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: Advanced Micro Devices X86-64
Version: 0x1
@jhance
jhance / encoding-benchmark.hs
Created November 7, 2011 16:00
encoding benchmark
{-# LANGUAGE OverloadedStrings #-}
import Criterion.Main
import qualified Data.Text as T
import qualified Data.Text.Encoding as T
textData :: T.Text
textData = T.replicate 10000 "a" `T.append` T.replicate 10000 "π"
textData' :: T.Text
textData' = T.replicate 5000 "a" `T.append` T.replicate 5000 "π"
@jhance
jhance / encodings
Created November 7, 2011 15:53
encoding benchmark Half-ASCII, 20000 characters
benchmarking encodings/utf8
mean: 119.2865 us, lb 119.1152 us, ub 119.5502 us, ci 0.950
std dev: 1.070572 us, lb 772.1357 ns, ub 1.445673 us, ci 0.950
benchmarking encodings/utf16le
mean: 1.712825 ms, lb 1.699749 ms, ub 1.730331 ms, ci 0.950
std dev: 77.20226 us, lb 61.26743 us, ub 103.2654 us, ci 0.950
benchmarking encodings/utf16ge
mean: 1.682023 ms, lb 1.666067 ms, ub 1.709996 ms, ci 0.950
@jhance
jhance / ghc-pkg-check
Created November 1, 2011 19:18
ghc-pkg check
jared@gentoo ~ $ ghc-pkg check
Warning: haddock-interfaces: /usr/share/doc/hashable-1.1.2.2/html/hashable.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/hashable-1.1.2.2/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/syb-0.3.3/html/syb.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/syb-0.3.3/html doesn't exist or isn't a directory
There are problems in package test-framework-quickcheck2-0.2.10:
Warning: haddock-interfaces: /usr/share/doc/test-framework-quickcheck2-0.2.10/html/test-framework-quickcheck2.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/test-framework-quickcheck2-0.2.10/html doesn't exist or isn't a directory
dependency "QuickCheck-2.4.0.1-a96410e73b4e759f4c702f1bb9da3278" doesn't exist
Warning: haddock-interfaces: /usr/share/doc/test-framework-0.4.1.1/html/test-framework.haddock doesn't exist or isn't a file
@jhance
jhance / ghc-pkg-list
Created November 1, 2011 19:17
ghc-pkg list
jared@gentoo ~/.ghc/x86_64-linux-7.0.4/package.conf.d $ ghc-pkg list
WARNING: there are broken packages. Run 'ghc-pkg check' for more details.
/usr/lib64/ghc-7.2.1/package.conf.d
Cabal-1.11.1.20110721
Cabal-1.12.0
Chart-0.14
HDBC-2.3.1.0
HDBC-mysql-0.6.5.0
HUnit-1.2.4.2
QuickCheck-2.4.1.1
@jhance
jhance / aeson-files
Created November 1, 2011 19:15
Aeson Files
gentoo ~ # equery f aeson
* Searching for aeson ...
* Contents of dev-haskell/aeson-0.3.2.12:
/usr
/usr/lib64
/usr/lib64/aeson-0.3.2.12
/usr/lib64/aeson-0.3.2.12/ghc-7.2.1
/usr/lib64/aeson-0.3.2.12/ghc-7.2.1/Data
/usr/lib64/aeson-0.3.2.12/ghc-7.2.1/Data/Aeson
/usr/lib64/aeson-0.3.2.12/ghc-7.2.1/Data/Aeson.hi
@jhance
jhance / time-errors
Created October 30, 2011 22:33
time-errors
(gnome-control-center:6552): datetime-cc-panel-WARNING **: Failed to get using ntp: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SettingsDaemon.DateTimeMechanism was not provided by any .service files
(gnome-control-center:6552): datetime-cc-panel-WARNING **: Your system does not have the 'org.gnome.settingsdaemon.datetimemechanism.configure' PolicyKit files installed. Please check your installation
(gnome-control-center:6552): datetime-cc-panel-WARNING **: Could not get current timezone: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SettingsDaemon.DateTimeMechanism was not provided by any .service files
(gnome-control-center:6552): GLib-CRITICAL **: g_main_context_pop_thread_default: assertion `g_queue_peek_head (stack) == context' failed
(gnome-control-center:6552): GLib-CRITICAL **: g_main_context_pop_thread_default: assertion `g_queue_peek_head (stack) == context' failed
@jhance
jhance / upgrade-error
Created October 29, 2011 18:59
Upgrade Error
[blocks b ] <gnome-base/gdm-2.91.94 ("<gnome-base/gdm-2.91.94" is blocking gnome-base/gnome-control-center-9999)
[blocks B ] <gnome-base/gnome-menus-3.0.1-r50:0 ("<gnome-base/gnome-menus-3.0.1-r50:0" is blocking gnome-base/gnome-menus-3.2.0.1)
Total: 120 packages (30 upgrades, 81 new, 8 in new slots, 1 reinstall), Size of downloads: 120,968 kB
Conflict: 4 blocks (1 unsatisfied)
Portage tree and overlays:
[0] /usr/portage
[1] /var/lib/layman/gnome
* Error: The above package list contains packages which cannot be
@jhance
jhance / parse-error
Created July 25, 2011 23:40
parse error
in let request = (postRequest "https://api.github.com/gists/public") {
requestBody = RequestBodyLBS (encode json)
}