18/11/14, fourth day in a row
I started learning Chinese in January. I thought my "experience" in learning languages would allow me to do it my way. So I bought a few books and asked a student at the local university to help me with the pronunciation. It didn't work out. So I decided to use yet another book, one that I had brought from France and that my father had used there for a few years. The funny thing is that they had this sentence in one of the first lessons: "I am your father!" and I thought right away about Luke when Darth Vader asks him to join forces, etc. There was no obvious reference to Star Wars in the book, so I checked the scene on youtube and in Chinese it goes like this: "我是你爹", although I found places where it was "我是你父亲". I had to stop during the summer, then I got busy, and I'm only resuming next week. Right now, the only things I remember are "你好" and "我是你父亲". Hopefully I'll be better at web things...
After committing my changes yesterday, or rather just before, I thought it would be nice if I could commit from emacs instead of working in Github Desktop, and I recalled that there was that wonderful magit-mode
that was kind of sitting there unused. So I launched it, did not know what to do with the thing and decided to check the manual. And the manual was a pain. So I decided to tweet about that and I thought, maybe I could tweet from emacs, and so I checked which mode would work best and I installed twittering
. And I started playing with the thing, and then I thought it would be nice if I could split my screen so that it looks like my current Tweetdeck setting, and I tried, and then I tried to reproduce the complex search queries and for some reason I could not, and eventually I lost half a day.
But, I eventually checked magit
's refcard and then everything was clear, and I committed my work, and I'm ready to do the same today. Except that this time I'd like to also push to Github directly from magit.
Also, I installed projectile
, which is a project files management system. I'm not sure yet how to use it since for now just changing the buffer was enough, but if it exists and if it is so popular, there must be a reason.
I watched this video found in Rachel Andrew's latest "CSS Layout News": !important // basecamp.com [CSS Grid] where the author talks about "progressive enhancement" (the term is already 15 years old), which means building the site with common contents and enhance it progressively with higher level techniques supported in more recent browsers. The video itself shows how the basecamp site uses grid and flex layout together. It also shows how to use Firefox developer tools. A fascinating 11:45 mn video. (Need to check FireFox developer tools, and Safari/Chrome too.)
Since I'm checking a lot of blogs (exclusively those I can access through RSS) I decided to, well, do that in emacs too. So I just installed the elfeed
package and it's telling me that I have 4865 unread articles all the way back to 2001... However, I can filter on keywords, like CSS, JS, PHP, etc. so I guess that's an improvement over NetNewsReader. I need to check the manual too...
The freeCodeCamp tasks were not extremely exciting today. I was interested by the box-shadow
thing so I added some to the rt
tag in the ruby strings here<code>
tag. I wanted to do that on the navigation but since the navigation tag is a p
it would just run across the page instead of sticking to the width of the navigation. That's something I need to check too.
I'm also adding todo
and done
classes to the pages so that I remember what I need to check. I'll probably need a way to collect all the items to make a list for the top page.
And thanks to that todo
class that I just added, I ended up discovering that text-decoration
is not supported in Safari when used as a shortcut for text-decoration-style
, text-decoration-line
and text-decoratuin-color
and requires a -webkit
prefix. Also line-through
does not seem to be supported when associated with style and color values... Weird. But that's cool because thanks to that I just added my first prefixed CSS rule ever! The updated CSS is here.
web-mode
? html-mode
?).
html-mode
has a html-href-anchor
that does that for a link, and other commands for various specific tags, but I'm not seeing anything generic...
isearch
moves the cursor around the page and drives you exactly where you need to me. Changing the search query during a search can be a bit tricky sometimes, but I just need to check the manual.