Skip to content

Instantly share code, notes, and snippets.

View alisianoi's full-sized avatar
🔂

Alexander Lisianoi alisianoi

🔂
View GitHub Profile
@alisianoi
alisianoi / PKGBUILD
Created April 2, 2015 14:05
openblas-lapack-git
# Maintainer: all3fox <all3fox [at] gmail __DoT_ com>
# Contributor: eolianoe <eolianoe [at] gmail [DoT] com>
# Contributor: Jiaxi Hu <sftrytry _AT_ gmail _DOT_ com>
# Contributor: Giuseppe Borzi <gborzi _AT_ ieee _DOT_ org>
pkgname=openblas-lapack-git
_pkgname=OpenBLAS
pkgver=v0.2.14.r0.gd0c51c4
pkgrel=1
pkgdesc="Optimized BLAS library based on GotoBLAS2 1.13 BSD"
---
layout: post
title: "Octopress on Arch Linux: caveats"
date: 2014-07-05 23:20:00 +0400
comments: true
categories: [Octopress, Arch Linux, workarounds]
---
Introduction
------------
@alisianoi
alisianoi / gist:582fb271cb885fa72c53
Created March 12, 2015 21:55
nosetests: failed tests log
This file has been truncated, but you can view the full file.
...................................................................................EESSS.E.E..........EEEEEEEEEEEEEE.EEE.E....EE.EEEEEEEEEEEEEEEEEEEEE.........................................E................................................................
======================================================================
ERROR: test_add_edge (pgmpy.tests.test_factors.test_Factor.TestTreeCPD)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/all3fox/Code/pgmpy/pgmpy/tests/test_factors/test_Factor.py", line 495, in setUp
('D', Factor(['A'], [2], [0.4, 0.6]), 1)])
File "/home/all3fox/Code/pgmpy/pgmpy/factors/CPD.py", line 362, in __init__
self.add_edge(edge[0], edge[1], label=edge[2])
File "/home/all3fox/Code/pgmpy/pgmpy/factors/CPD.py", line 393, in add_edge
@alisianoi
alisianoi / gist:ff8a27901cae376519a0
Created March 12, 2015 21:49
My dependencies when installing `pygmp`
$ pip show networkx numpy scipy cython sphinx pandas pip nose
---
Name: networkx
Version: 1.9.1
Location: /usr/lib/python3.4/site-packages
Requires: decorator
---
Name: numpy
Version: 1.9.2
Location: /home/all3fox/Code/pgmpy/vipgmpy/lib/python3.4/site-packages/numpy-1.9.2-py3.4-linux-x86_64.egg
{
"metadata": {
"name": "",
"signature": "sha256:7750b2eb7b054fc6cbeb21c873cd20c8b6eb7792f87694edf5fa4cba146c20ab"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
The best test of an argument is the argument’s ability to convince someone with
an opposing viewpoint.
Write a response in which you discuss the extent to which you agree or disagree with
the statement and explain your reasoning for the position you take. In developing and
supporting your position, you should consider ways in which the statement might or
might not hold true and explain how these considerations shape your position.
=====================================================================================
@alisianoi
alisianoi / test.py
Last active August 29, 2015 14:00
Problem with super(), multiple inheritance and method overloading
import sys
import logging
from logging import Logger
from html.parser import HTMLParser
class LoggerAdapter():
def __init__(self, name, level, **kwds):
self.logger = Logger(name, level)
super().__init__(**kwds)
@alisianoi
alisianoi / kernel log
Created September 19, 2013 10:58
kernel log, bumblebeed works fine
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.11.1-1-ARCH (tobias@T-POWA-LX) (gcc version 4.8.1 20130725 (prerelease) (GCC) ) #1 SMP PREEMPT Sat Sep 14 19:30:21 CEST 2013
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/mapper/vg_tardis-lvol0 rw quiet
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable
@alisianoi
alisianoi / Xorg 8 log
Created September 19, 2013 10:55
functoning bumblebee Xorg.8.log
[ 195.121]
X.Org X Server 1.14.3
Release Date: 2013-09-12
[ 195.121] X Protocol Version 11, Revision 0
[ 195.121] Build Operating System: Linux 3.11.0-1-ARCH x86_64
[ 195.121] Current Operating System: Linux tardis 3.11.1-1-ARCH #1 SMP PREEMPT Sat Sep 14 19:30:21 CEST 2013 x86_64
[ 195.121] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/mapper/vg_tardis-lvol0 rw quiet
[ 195.121] Build Date: 13 September 2013 01:28:59PM
[ 195.121]
[ 195.121] Current version of pixman: 0.30.2
@alisianoi
alisianoi / kernel log
Created August 30, 2013 10:21
second kernel log (nouveau blacklisted)
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.9-1-ARCH (tobias@T-POWA-LX) (gcc version 4.8.1 20130725 (prerelease) (GCC) ) #1 SMP PREEMPT Wed Aug 21 13:49:35 CEST 2013
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/mapper/vg_tardis-lvol0 rw quiet
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable