三只猫的温暖 和一个人的自言自语

三喵暖

博客的长期演进II

这个系列的文章收集了平时维护博客时遇到的各种小问题、hack以及一些想法。

\(\{\)继续看\(\}\)

三喵暖

博客的长期演进

这个系列的文章收集了平时维护博客时遇到的各种小问题、hack以及一些想法。

\(\{\)继续看\(\}\)

三喵暖

An Underscored Frenzy

In one episode of inspecting and messing around the blog’s math, I encountered a problem that led to much confusion at first. It is caused by the very inconspicuous underscore sign _.

The problem arose when I was checking my blog before I went to bed one night. I am a little obsessive with correctly presenting my ideas. It appears that a few maths I wrote on the blog isn’t rendering correctly: instead of a beautifully rendered math expression, I got raw \( \LaTeX \) syntax staring at me. It feels naked.

This looks pretty.
↳ Correctly rendered.
This isn't right.
↳ SOMETHING IS WRONG!!!!

I made some changes and the problem went away. So I went to sleep. The next day, through much tinkering and experimenting I found that it was a bit more than a simple mistake.

So here’s my formal complaint to GitHub, on their mistreating of the underscore sign.1

\(\{\)继续看\(\}\)

三喵暖

一个走路的问题

原题

来自Shakuntala Devi编写的Puzzels to Puzzle You一书,第23问”Walking back to Happiness”:

A man I know, who lives in my neighborhood, travels to Chinsura everyday for his work. His wife drives him over to Howrah Station every morning and in the evening exactly at 6 p.m. she picks him up from the station and takes him home.

One day he was let off at work an hour earlier, and so he arrived at the Howrah Station at 5 p.m. instead of at 6 p.m. He started walking home. However he met his wife enroute to the station and got into the car. They drove home arriving 10 minutes earlier than usual.

How long did the man have to walk, before he was picked up by his wife?

这道题在网上有许多版本,只是地名被换成了其它的名字。作者Devi老太是印度人,所以很自然地她的版本里的Chinsura和Howrah都是印度地名。背景不多说,勉强把题翻译成中文:

\(\{\)继续看\(\}\)

三喵暖

博客是怎样炼成的

前言

本人比较懒,行动力也比较差。所以很多时候有些想法却迟迟不能去做,为此深感自责。渐渐地,我变成了自己不喜欢的那种人。

平时会时不时地写一些东西,比如解题的过程,比如和猫咪互动的随感。非常琐碎但是自己又很珍惜,总想找个地方存起来。受到Randall Munroe的What if?站点风格的影响,决定弄个博客。博客弄出来了,第一篇文章记下建站的过程,是再合适不过的了。1

\(\{\)继续看\(\}\)