Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
georgef
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
georgef
12y ago
I'm reminded here that JPEG includes arithmetic encoding as part of the standard, but almost everyone uses Huffman because up until a couple years ago arithmetic encoding was patent-encumbered (the patents are expired now). Is anyone a
2.
▲
by
georgef
12y ago
It varies a lot, though. My T1D supplies (as a college student on my parents' insurance) cost more like $50-$75 a month.
3.
▲
by
georgef
13y ago
POSIX make really does make auto dependencies hard, but GNU make actually solves this fairly cleanly by adding an include directive. As long as you have a script or program to process a file and spit out its dependencies in make style (e.g.
4.
▲
by
georgef
13y ago
Less typing is exactly the benefit, and with it less chance of error because of less repeated code. It is also another way of showing parallelism in your code. And again, the wrong impression is conveyed (that you are declaring a variable o
5.
▲
by
georgef
13y ago
When I first started programming in C, I did the same thing with pointers (i.e., char* str; instead of char *str; ). Unfortunately, this creates the wrong impression that char* str1, str2; creates two pointer-to-c