Skip to content

Instantly share code, notes, and snippets.

View konn's full-sized avatar
🏠
Working from home

Hiromi Ishii konn

🏠
Working from home
View GitHub Profile
\ProvidesFile{tate-numeric.bbx}[2014/02/14 biblatex bibliography style]
\RequireBibliographyStyle{numeric}
\newcounter{bltn@kanjic}
\newcommand{\bltn@colon}{\raisebox{-0.3ex}{\rotatebox[origin=c]{90}{:}}}
\newcommand{\kanjify}[1]{\setcounter{bltn@kanjic}{#1}\Kanji{bltn@kanjic}}
\newcommand*{\addcomma}{、}
\newcommand*{\adddot}{。}
\DeclareFieldFormat{kansuji}{\kanjify{#1}}
\DeclareFieldFormat{yoko}{\pbox<y>{#1}}
@konn
konn / gsoc2014proposal.md
Last active August 29, 2015 14:15
My GSoC 2014 proposal

An Efficient Computational Algebra and Symbolic Linear Algebra Library in Haskell

Abstract

Gröbner basis computation is becoming more and more important. In this project, I will implement the fast and efficient algorithms, F4 and F5, to compute Gröbner basis.

These algorithms require efficient symbolic sparse linear algebra computation, which Haskell lacks currently, so implementing such functionality also constitutes the important part of this project.

I will also provide some examples of motivating applications of Gröbner basis which include, for example, non-linear equation system solver.

@konn
konn / main.log
Last active August 29, 2015 14:14
upLaTeX 縦書き + biblatex が死ぬ
This is e-upTeX, Version 3.14159265-p3.5-u1.11-130605-2.6 (utf8.uptex) (TeX Live 2014) (preloaded format=uplatex 2014.8.12) 31 JAN 2015 22:29
entering extended mode
\write18 enabled.
file:line:error style messages enabled.
%&-line parsing enabled.
**main.tex
(./main.tex
pLaTeX2e <2011/05/07u00>+0 (based on LaTeX2e <2014/05/01> patch level 0)
Babel <3.9k> and hyphenation patterns for 78 languages loaded.
(/usr/local/texlive/2014/texmf-dist/tex/uplatex/base/utarticle.cls
module Main where
import Data.Complex
import Data.List
import Data.Monoid
import Data.Ratio
errorRange = 1e-20
calculate :: Complex Double -> [Double]
calculate c = map magnitude $ iterate ((+c).(^^2)) 0
@konn
konn / README-error
Created November 28, 2014 11:36
Errors
$ ./test
ERROR: 0:11: 'attribute' : syntax error syntax error
ERROR: 0:8: 'varying' : syntax error syntax error
ERROR: One or more attached shaders not successfully compiled
ClientAPI'OpenGL
OpenGL Version: 4.1.0
ContextRobustness'NoRobustness

Keybase proof

I hereby claim:

  • I am konn on github.
  • I am konn (https://keybase.io/konn) on keybase.
  • I have a public key whose fingerprint is 5DD4 A2F7 B0C7 3CEF 0526 8E63 2264 973C 1115 F8EA

To claim this, I am signing this object:

@konn
konn / Moon.hs
Created August 24, 2014 05:20
ghc-mod random error/warning
module Moon where
data Monkey = WooKie
foo :: Bool -> String
foo True = show WooKie
{-# LANGUAGE BangPatterns, OverloadedStrings #-}
module Main where
import Data.ByteString (breakSubstring)
import Data.ByteString.Char8 (ByteString, inits, tails)
import qualified Data.ByteString.Char8 as BS
import Data.List (nub, sortBy)
import Data.Monoid ((<>))
import Data.Ord (comparing)
isPalindrome :: ByteString -> Bool
@konn
konn / catalog.yml
Last active August 29, 2015 14:01
$ epubcheck test.epub
PREDEF:
- preface.re
CHAPS:
- part1.re:
- ch01.re
- part2.re:
- ch02.re
# POSTDEF:
@konn
konn / error.log
Last active August 29, 2015 14:01
ajMaru doesn't work
This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013)
\write18 enabled.
entering extended mode
(./03-forcing-introduction.tex
LaTeX2e <2011/06/27>
Babel <3.9h> and hyphenation patterns for 78 languages loaded.
(/usr/local/texlive/2013/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls
Document Class: bxjsarticle 2013/10/03 v0.9pre BXJS document classes
(/usr/local/texlive/2013/texmf-dist/tex/latex/tools/calc.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/keyval.sty)