Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cben
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
151.
▲
by
cben
12y ago
CodeMirror still uses the restartable parsers. But they produce a flat sequence of styles, not a hierarchical AST. E.g. ` foo bar * baz ` in markdown becomes <span class="cm-em"> foo </span><span class=&quo
152.
▲
by
cben
12y ago
I'll bite. When I learnt C I found it charmingly simple and it took me years to realize how deeply broken some aspects are, especially the separate compilation circus — programmers working hard to help the compiler and not getting any
153.
▲
by
cben
12y ago
> We even mix Megabloks and Duplo with our Legos. Is there any way/adapter to connect Duplo (or Lego) on top of Megabloks? I sometimes manage to usefully mix them but always feel it'd be more useful the other way around if Mega
154.
▲
by
cben
12y ago
Personalization should affect ranking, but not so much the total set of results. Domain, language & safe search prefs could. I wonder if the dedup filter can vary a lot (did the results end in "similar results omitted"?).
155.
▲
by
cben
12y ago
Python also has `yield` generator syntax which can approximate `async` syntax rather well (everything is still colored but less painful). There seems to be no concensus whether generators or promises ("futures") are better but it
156.
▲
by
cben
12y ago
More details: https://blog.sandstorm.io/news/2014-07-21-open-source-web-ap... The central point (IMO) was economical: self-hosting frees developer from expenses. Trivial installation is just a pre-requisite for self-h
157.
▲
by
cben
12y ago
Half a decade ago when I was using a slow-booting (2min?) netbook, I sometimes used both this and init=/usr/bin/python when I wanted to test some idea real quick.
158.
▲
by
cben
12y ago
which is precisely an example where plug-in wouldn't help but quick battery swap does. A pizzeria easily justifies having their own swap station.
159.
▲
by
cben
12y ago
My real estate and attention are given to them because I came to their service asking to fill my screen according to my query. I can agree Google is not providing a free pure-search-results service, but they do provide a free search resul
160.
▲
by
cben
12y ago
Interesting, certainly makes etymological sense. I never realized that, in Israel the two terms are used pretty interchangably. Wikipedia says CVs are much more comprehensive in some countries, esp. North America.
161.
▲
by
cben
12y ago
I have edited in writeLaTeX intensively (2-3 people working simultaneously up to a deadline), without any file division or section "locking" and merging was much less of a problem than with version control. The overhead was certa
162.
▲
by
cben
12y ago
According to that code, the way to know you need to fallback to MathJax is simply catching `katex.ParseError.prototype`: https://github.com/Khan/react-components/blob/406d2210cfb1af... Q: does this fallback m
163.
▲
by
cben
12y ago
If 2 keeps not happenning — if producing custom ASICs remains expensive — it becomes increasingly attractive to produce cheap as-good-as-they-get FPGAs in massive quantities. Ironically, FPGAs as endgame would be way more disruptive than an
164.
▲
by
cben
12y ago
Frequently I was out of cells to place and waiting for a sufficient number to do something interesting is boringly slow. I found myself wasting 1-2 cells on mostly ineffective gambits because I was too impatient to wait for 3+... Or I coul
165.
▲
by
cben
12y ago
A few reasons to get specifically kids to code: 1. You can start programming early. You probably can't (or shouldn't) do metalworking at 12 but you can program. There are few hard prerequisites. You can safely learn by trial-a
166.
▲
by
cben
12y ago
But if I fork a repo with a button (or even navigate to different branch/commit in same repo), a manually set query string would still point to the same code. Whereas the referer headear can identify exactly the right version briliantl
167.
▲
by
cben
12y ago
For over a year I've been working at home (with a kid), on an open source thing with little prospect of financial return. I have many of burnout symptoms the article lists. I tell myself various reasons why I frequently work into the
168.
▲
by
cben
12y ago
I pretty much gave up on real-time interaction with dynamic structures as I have no idea what it'll do. It would much more practical if the game gave a glimpse into the future, including effects of cells I marked for placement but did
169.
▲
by
cben
12y ago
Nice! Simple tactics I found so far: 1. Place an http://www.conwaylife.com/wiki/R-pentomino wherever there is lots of space and you have 5 to spare. Or another http://www.conwaylife.com/wiki/List
170.
▲
by
cben
12y ago
The term specifically refers to a "dark" period in Europe . E.g. Islamic science famously flourished at these same centuries. But it's increasingly seen as a misnomer wrt. Europe: https://en.wikipedia.org/wi
171.
▲
by
cben
12y ago
Use -vo caca for color output via libcaca: https://www.youtube.com/watch?v=ur3iEHo6rI8#t=25
172.
▲
by
cben
12y ago
I'd add that having the whole company use a single language to describe build and tests is a trivial but crucial thing. It allows automatically building and testing everything affected by your change, even if you never heard about thos
173.
▲
by
cben
12y ago
Heh. I also felt that way, spent the first month after leaving looking for next closest thing. The most exciting thing I found was Nix < https://nixos.org/nix/> , a hermetic build system + linux distro + config-ba
174.
▲
by
cben
12y ago
Auto-snap, and most importantly inability to rotate, allowed my 1.5yo kid to solve puzzles when he wasn't yet able to solve wooden puzzles well. After an intense period of solving those non-stop (I believe it's first time he str
175.
▲
by
cben
12y ago
Small world, I just (re)discovered Penflip last week. Great news, now I have to take it for another spin :-) mathjax in penflip thread: https://www.penflip.com/Penflip/help/discussions/6
176.
▲
by
cben
12y ago
Even more absurd is the story of ebook lending. IIUC libraries fought for it in the consumers' interest with the result that you can sometimes now "take out" an ebook from a library or another reader, blocking their access
177.
▲
by
cben
12y ago
This is exactly the situation today with Flash. Click-to-play is akin to a warning. Users are somewhat aware Flash causes problems, locks up etc.
178.
▲
by
cben
12y ago
But the right owners also license same movies for sale via other channels, and they (I presume) agree to lower price for Neflix because it's only rentals.
179.
▲
by
cben
12y ago
Another tiny attraction of bitbucket for science is MathJax support in reStructuredText [0]. Unfortunately not implemented yet for markdown [1]. There is an unfilled niche for version control with out-of-the-box rendering of scientific for
180.
▲
by
cben
12y ago
More details: http://sagemath.blogspot.com/2013/08/latex-in-cloud.html
More ›