Skip to content

Instantly share code, notes, and snippets.

@Ken-B
Ken-B / economist_french_way_of_working.md
Last active April 14, 2019 13:57
economist_french_way_of_working

EVERY year, Sophie de Menthon, a French entrepreneur, holds an event called J'aime ma boîte (I love my firm) in Paris. The idea is to counter the notion that the French don't like work. Employees are enticed to make lip dubs (a video of them lip-synching to music, if you need to ask), massage each other, vote for the nicest colleague, arrange for the accountant to swap jobs with the secretary and other stunts to celebrate their firm.

The much-mocked campaign has not had much luck. In 2007 a national strike interrupted the festivities, and in 2009 a series of suicides at France Télécom spoilt the atmosphere. This year employees showed less love for their boîte than ever before. Only 64% of those polled liked their company, down from 79% in 2005.

A truer reflection of work attitudes came this summer when French workers covered office windows with huge pictures made up of Post-it notes. Employees at GDF-Suez, a utility, stuck thousands of them to the windows of its HQ near Paris to represent Tintin, a comic-st

@Ken-B
Ken-B / output.log
Created February 28, 2017 09:05
nbconvert test a177dd3
nbconvert git:(font_issues) py.test --pyargs nbconvert
============================= test session starts ==============================
platform darwin -- Python 3.6.0, pytest-3.0.5, py-1.4.32, pluggy-0.4.0
rootdir: /Users/ken/Coding/nbconvert, inifile:
collected 222 items
nbconvert/exporters/tests/test_asciidoc.py ....
nbconvert/exporters/tests/test_export.py ...........
nbconvert/exporters/tests/test_exporter.py .....
nbconvert/exporters/tests/test_html.py .........
@Ken-B
Ken-B / nbconvert.log
Created February 28, 2017 09:03
xelatex log 28/2/17 10h00
This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015) (preloaded format=xelatex 2015.7.16) 28 FEB 2017 10:00
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**nbconvert.tex
(./nbconvert.tex
LaTeX2e <2015/01/01>
Babel <3.9l> and hyphenation patterns for 79 languages loaded.
(/usr/local/texlive/2015/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
@Ken-B
Ken-B / gist:4cfaa181eef162184874c95786fe5ad3
Created February 28, 2017 07:49
nbconvert test 5f5d297
jupyter-nbconvert nbconvert.ipynb --to pdf
[NbConvertApp] Converting notebook nbconvert.ipynb to pdf
[NbConvertApp] Writing 15192 bytes to notebook.tex
[NbConvertApp] Building PDF
[NbConvertApp] Running xelatex 3 times: ['xelatex', 'notebook.tex']
[NbConvertApp] CRITICAL | xelatex failed: ['xelatex', 'notebook.tex']
This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./notebook.tex
➜ nbconvert git:(font_issues) jupyter nbconvert --version
5.2.0.dev
➜ nbconvert git:(font_issues) py.test --pyargs nbconvert
============================= test session starts ==============================
platform darwin -- Python 3.6.0, pytest-3.0.5, py-1.4.32, pluggy-0.4.0
rootdir: /Users/ken/Coding/nbconvert, inifile:
collected 222 items
exporters/tests/test_asciidoc.py ....
exporters/tests/test_export.py ...........
@Ken-B
Ken-B / gist:3d7fe12baf468aa956b4632c9aa7f188
Created February 22, 2017 09:33
test nbconvert 5.2.0.dev fails
➜ nbconvert git:(font_issues) jupyter nbconvert --version
5.2.0.dev
➜ nbconvert git:(font_issues) py.test --pyargs nbconvert
============================= test session starts ==============================
platform darwin -- Python 3.6.0, pytest-3.0.5, py-1.4.32, pluggy-0.4.0
rootdir: /Users/ken/Coding/nbconvert, inifile:
collected 222 items
exporters/tests/test_asciidoc.py ....
exporters/tests/test_export.py ...........
@Ken-B
Ken-B / resolve_fail.jl
Created February 17, 2017 16:13
pkg.resolve fails
#=
REQUIRE FILE:
BenchmarkTools
BuildExecutable
Cairo
Clp
Cxx
DecisionTree
DifferentialEquations
Distributions
julia> using Optim
WARNING: Method definition remote_do(Function, Main.Base.LocalProcess, Any...) in module Compat at /Users/ken/.julia/v0.4/Compat/src/Compat.jl:838 overwritten in module Compat at /Users/ken/.julia/v0.4/Compat/src/Compat.jl:838.
WARNING: Method definition remote_do(Function, Main.Base.Worker, Any...) in module Compat at /Users/ken/.julia/v0.4/Compat/src/Compat.jl:839 overwritten in module Compat at /Users/ken/.julia/v0.4/Compat/src/Compat.jl:839.
WARNING: Method definition remote_do(Function, Integer, Any...) in module Compat at /Users/ken/.julia/v0.4/Compat/src/Compat.jl:840 overwritten in module Compat at /Users/ken/.julia/v0.4/Compat/src/Compat.jl:840.
WARNING: Method definition read!(AbstractString, Any) in module Compat at /Users/ken/.julia/v0.4/Compat/src/Compat.jl:917 overwritten in module Compat at /Users/ken/.julia/v0.4/Compat/src/Compat.jl:917.
WARNING: Method definition cov(AbstractArray{T<:Any, 1}, AbstractArray{T<:Any, 1}, Bool) in module Compat at /Users/ken/.julia/v0.4/Compat/
@Ken-B
Ken-B / gist:f9fb17c0f2cc8c500f0eef770934e49f
Created April 29, 2016 16:06
julia osx compilation fail 20160429
gast218a:Coding ken$ git clone git://github.com/JuliaLang/julia.git
Cloning into 'julia'...
remote: Counting objects: 175221, done.
remote: Compressing objects: 100% (150/150), done.
remote: Total 175221 (delta 65), reused 0 (delta 0), pack-reused 175071
Receiving objects: 100% (175221/175221), 97.78 MiB | 10.32 MiB/s, done.
Resolving deltas: 100% (133358/133358), done.
Checking connectivity... done.
gast218a:Coding ken$ cd julia
gast218a:julia ken$ make