Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cben
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
181.
▲
by
cben
12y ago
> I don't have any software developer in that list. RMS changed the world by an idea that became a movement — but it would go no where it he didn't attach them to some excellent software, practicing the idea throught [cue Ghand
182.
▲
by
cben
12y ago
An obvious solution is buying 2 batches of different colors, always wearing random green on left leg and random orange on right. Problem solved ;-)
183.
▲
by
cben
12y ago
The easy way to use those is https://github.com/xdissent/ievms
184.
▲
by
cben
12y ago
I've seen that happen at Google. At some point it's easier to write a new (differently named) library. Monolithic codebase + renames = poor man's versioning. BUT this allows you to pay the prices of versioning (downstream b
185.
▲
by
cben
13y ago
$ apt-get search foo E: Invalid operation search It's apt-cache search, and it searches full descriptions, not just package names.
186.
▲
by
cben
13y ago
Neat, works with #!/usr/bin/env ipython I'm using fish < http://fishshell.com/> for both scripting (saner syntax, space handling) and interactive (multiline syntax highlighted prompt) and never look
187.
▲
by
cben
13y ago
I was just about to write that... I barely know it but it seems it can be summed up as a hybrid of mind mapping [1] and literate programming [2], with a graph data model [3]. [1] http://leoeditor.com/tutorial-basics.html#sel
188.
▲
by
cben
13y ago
If all you want is a sane subset of JS, then all you need is a JS linter. The whole point of the language was more compact syntax. Shortening lambdas is one of the most important changes because it makes heavy callback/DSL code viable
189.
▲
by
cben
13y ago
I think most distributions don't intend to change /usr/bin/python to 3 in the observeble future as that will break scripts. The meaningful way in which distros work on 2->3 transition is uprading apps installed by d
190.
▲
by
cben
13y ago
Is using git submodules also frowned upon? (I'm aware that gitmodules UI is horrible but let's pretend it wasn't) It seems natural to me to handle "lock in precise deps" on the version control level. Of course the
191.
▲
by
cben
13y ago
I don't understand in what sense it's an MD editor . It's an MD previewer all right. But no smart indentation (no Tab/Shift+Tab either). No syntax highlight. I can't find a single feature which helps me actually
192.
▲
by
cben
13y ago
Which is precisely why tabs-only is a problem: tabs cannot express character-granularity alignment, so you HAVE to mix them with spaces in this way. (Or give up pretty alignment in favor of fixed indentation for continued expressions, whic
193.
▲
by
cben
13y ago
CodeMirror does it on the web since version 2, somewhen in 2011. http://marijnhaverbeke.nl/blog/a-pathological-scrolling-mode... is the most recent explanation. I'd be surprised if there weren't earlier imp
194.
▲
by
cben
13y ago
Oops, you're right. I thought it's not but cannot reproduce now.
195.
▲
by
cben
13y ago
It's not obvious how to run examples after editing — it's explained in readme.md, but I didn't see it the book itself. [It's Ctrl-Enter. Actuallghy just pressing Ctrl is enough.] Ideas to make it more discoverable: - r
196.
▲
by
cben
13y ago
Same here. I've always told myself that it helps my eye keep the position in the text. (Especially helpful I'm distracted and turn away from the screen.) But if I really belived that, I'd be doing it consciously, whereas I
197.
▲
by
cben
13y ago
http://requestb.in/ , http://httpbin.org/
198.
▲
by
cben
13y ago
But wouldn't you be happier if all sites asked for zip first? User's time is precious even if they're not angry at you for wasting it. If you are saying positioning the zip field first actually wastes more user time becau
199.
▲
by
cben
13y ago
I'm working on http://mathdown.net ( https://github.com/cben/mathdown ). Open, except for using Firebase. Very much alpha at this stage - unsecure, sub-par highlighting, doesn't help with formatting
200.
▲
by
cben
13y ago
If you're throwing the notes away, why not erasable board ( http://www.theinfinitybinder.com ) or digitizing tablets/pens?
201.
▲
by
cben
13y ago
- We recycle the paper. Mailing means a dark period when when you no longer have your notes with you but still can't see them online. IMHO that would have been acceptable when you needed a scanner but is hard to justify now compared to
202.
▲
by
cben
13y ago
If you mean ability to supply several, potentially hand-crafted images for different sizes — that's exactly what .ico already offers. If you stick to the precise definition of mippmapping, where they're exact downscalings of one t
203.
▲
by
cben
13y ago
Love the synchronized scrolling (and the fact internal links work - `#foo` scrolls both panes to the `# Foo` heading)! The source is a simple textarea, right? Nice, I didn't realize you could reliably scroll one. [ https://g
204.
▲
by
cben
13y ago
collections.Counter.most_common() uses heapq.nlargest() which is slightly more efficient than a full n*log n sort. But implementing a heap correctly from scratch is I guess outside the scope the OP intends for the interview question. I woul
205.
▲
by
cben
13y ago
This might be even more useful as an ipython notebook so that people can modify and execute any of the examples. The easiest way to host a notebook that users can try from their browser seems to be Wakari (public viewing, free signup needed
206.
▲
by
cben
13y ago
You should also mention the 1-item case where the (optional in other cases) trailing comma is required to form a tuple: (1,)
207.
▲
by
cben
13y ago
Why not call them "built-in" then?
208.
▲
by
cben
13y ago
There is a recent PEP excluding IDLE from this policy, allowing it to get usability improvements on older pythons. One could think that enabling completions is a similar usability fix (though one change isn't worth the arguing to get excep
209.
▲
by
cben
13y ago
collaborative web based TeX: sharelatex.com, writelatex.com, spandex.io.
210.
▲
by
cben
14y ago
Even in sequential mode, for a sufficiently long input xargs will invoke the command multiple times to comply with kernel limits on command line length.
More ›