Code Monkey home page Code Monkey logo

bossylobster-blog's People

Contributors

dependabot[bot] avatar dhermes avatar gcarling avatar

Stargazers

 avatar

Watchers

 avatar  avatar

bossylobster-blog's Issues

Write post about communication

  • Never say what we mean instead; I "probably can't make it"
  • Students turn in work that even they can't understand in a week. Plots with no labels; exam answers on every part of page with no flow.
  • Who is the audience?

Use SVG instead of PNG for latex_img

It's possible to make them via

pstoedit -f plot-svg -dt -ssp 84.ps 84.svg

and to embed via

<img src="/path/to/file.svg" alt="SVG test">

My first attempt at this resulted in a non-transparent background, so the flags need some tweaking.

Some other possibilities

pdftocairo -svg latexdoc.pdf output.svg
pdf2svg file.pdf file.svg

Set up social plugins for Pelican

May want a strategy for preserving old comments or maybe just link to old

bossylobster.blogger.com (not under bossylobster.com domain)

if people care

Blog post about solving problems by reformulating

Roots in programming. Asking "why?" instead of just jumping into a nasty hack.

e.g. "Send more people to college" could be reformulated into "Fix the job market, send less to college, get better signals for employers"

Look into slight CSS changes

Anonymous recommend the CSS changes:

.katex { font-size: 0.9em; } [the maths are too big]
blockquote { font-size: inherit; } [i.e., remove the 1.2em -- also too big]
h4 { font-size: 1.3em; } [not big enough to stand out as proper headers]

Make author attribution style="display: none"

Currently it is:

[About Bossy Lobster](https://profiles.google.com/114760865724135687241)

whereas the HTML was

<a href="https://profiles.google.com/114760865724135687241" rel="author" style="display: none;">About Bossy Lobster</a>

Write Simple Post about Non-Branching Max

https://gist.github.com/dhermes/c79846c6074b938b2e10

Also

  • show assembly generated
  • discuss CUDA branching issues (BE BRIEF)
  • discuss what CUDA does to avoid branching for max/min

Maybe give a tiny refresher on IEEE:

import struct

def f(val):
    return ''.join([bin(ord(c))[2:].zfill(8) for c in struct.pack('>d', val)])

def g(bits):
    z = [bits[i:i + 8] for i in xrange(0, 64, 8)]
    z = [int(c, 2) for c in z]
    z = ''.join([chr(c) for c in z])
    return struct.unpack('>d', z)[0]

def h(s, e, m):
    return g(s + e + m)

h('0', '1' * 11, '1' + '0' * 51)

Only implement paging for all posts

From within the dhermes.github.io output repo:

$ git ls-files | grep 2.html$
2011/08/conways-topograph-part-2.html
2011/08/finding-fibonacci-golden-nuggets-part-2.html
page/2.html
tag/algebra2.html
tag/app-engine2.html
tag/google-app-engine2.html
tag/math2.html
tag/mathematics2.html
tag/number-theory2.html
tag/python2.html
$
$ git ls-files | grep 3.html$
2011/08/conways-topograph-part-3.html
page/3.html
tag/math3.html
tag/python3.html
$
$ git ls-files | grep 4.html$
404.html
page/4.html

I would like to be a single tag/math.html, tag/python.html, etc.

Make Travis build stage smarter / faster

For example a build which only added an apostrophe decided to re-build all the templates (this already fixed). This is not necessary.

A simple hack could be to use TRAVIS_COMMIT_RANGE (it is not set if the parent commit is the last one built by Travis). This only works because we only build on non-PRs in master.

Even more extreme is re-building for parts of the repo that don't change the blog content in any way.

Fix search in octopress theme

Currently takes to

https://www.google.com/search?q=site%3Ablog.bossylobster.com&q={QUERY}

However, this immediately gets redirected to

https://www.google.com/search?q=site%3Ablog.bossylobster.com&q={QUERY}#q={QUERY}

which is equivalent to

https://www.google.com/search?q={QUERY}

Should instead be

https://www.google.com/search?q=site%3Ablog.bossylobster.com+{QUERY}

Fix naked domain issues with CloudFlare

bossylobster.com is supposed to point to www but currently gives a Google 404 (probably related to where App Engine is hosted):
screen_shot_002

It seems I probably made a CNAME alias instead of the redirect from bossylobster.com/{page} to www.bossylobster.com/{page} I was intending.

Also currently breaks bossylobster.com/teaching for my students.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.