Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
oinksoft
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
80 ms
·
781.
▲
by
oinksoft
15y ago
You're thinking of the Closure Compiler and its annotations, not the Closure Library.
782.
▲
by
oinksoft
15y ago
It still fails the <C-F> test...and <C-F>download is the first thing I do when I decide that I'd like to try out some library. Nothing wrong with preferring a CDN, but some people want to get the whole thing broken into sour
783.
▲
by
oinksoft
15y ago
Felt it in Foggy Bottom. At first I thought it was the AC or jackhammering. I'm happy I don't have to experience this often, like in California.
784.
▲
by
oinksoft
15y ago
There's a balance though. In your free time, you should be the mad scientist, but on the job, correctness and maintainability is crucial in your final product. You can even play the mad scientist at work, but production-quality code has to
785.
▲
by
oinksoft
15y ago
Maybe I just don't fat-finger as much as the typical programmer...but intelligent code completion and typo detection are really not things I value in an editor. <C-N> buffer-based completion is more than sufficient when I need to sa
786.
▲
by
oinksoft
15y ago
I'd say testing a page to be sure it appears is a good idea. .wf-loading { visibility: hidden; } Whatever is setting <html class="wf-loading"> is not your friend, Mr. Nazim.
787.
▲
by
oinksoft
15y ago
This is one of my favorite bits from my .vimrc. It lets you use !find with location list: function! g:Find(...) let subexpr = 'substitute(v:val, ".*", "\"&\" 0: found", "")' let found = join(map(split(system('find ' . jo
788.
▲
by
oinksoft
15y ago
I use `cls` in my ruby code, as I do in other langs; I think `klass` is unsightly.
789.
▲
by
oinksoft
15y ago
Not that I know of. I mostly use tabs when I run out of room with all the splits I have.
790.
▲
by
oinksoft
15y ago
> You can't scroll because I happen to think scrolling for reading is broken. You can't be serious. This is one of the foremost expectations in the user experience, fortified by almost two decades of websites that have done it this way.
791.
▲
by
oinksoft
15y ago
Yes, that sort of DOM "cookbook" is scarcely worth the paper it's printed on.
792.
▲
by
oinksoft
15y ago
Perhaps more of a guide, along the lines of QuirksMode, but if the book were set to regenerate on guide update, all would be well.
793.
▲
by
oinksoft
15y ago
I think there is a surplus of books out there on JavaScript fundamentals, the language itself being quite simple. Maybe I (or somebody) ought to put something out on using the DOM effectively, the ignorance of which I think is most responsi
794.
▲
by
oinksoft
15y ago
No, it's a CoffeeScript message bus.
795.
▲
by
oinksoft
15y ago
var listen = function(el, evt, cbk) { if (el.addEventListener) { el.addEventListener(evt, cbk, false); } else { el.attachEvent('on' + evt, cbk); } }; No jQuery or whatever necessary ... if all
796.
▲
by
oinksoft
15y ago
I agree completely, but because no other engine provides decent results while indexing so much, there's really no viable alternative right now. DDG is good for very mainstream things, but does not do a good job of finding user profile page
797.
▲
by
oinksoft
15y ago
I don't think it looks bad; it helps to maintain the integrity of the tournament, encouraging fair contestants.
798.
▲
by
oinksoft
15y ago
If they have a good case for plaigarism, I'm sure they could successfully sue him for that money, and then some.
799.
▲
by
oinksoft
15y ago
In the big picture, I don't see having to write a wrapper function for template rendering with a fixed template_lookup argument being a big deal (I'm basing all of my judgments on source alone, I've only fiddled with either framework).
800.
▲
by
oinksoft
15y ago
Installing development headers is an essential sysadmin skill. Any failed python extension install should make it clear which headers are missing, and you will want to search for the matching package, usually suffixed with "-devel" (at leas
801.
▲
by
oinksoft
15y ago
I can't speak for Ubuntu, but it's supposed to be reasonably stable and there is absolutely no reason to believe that package installation for this sort of software would differ between machines.
802.
▲
by
oinksoft
15y ago
... of course it will work. And there's no compilation step involved, either, as I've never encountered a Debian package that was not a binary distribution (but maybe there are some, requiring build-essential? This package surely does not d
803.
▲
by
oinksoft
15y ago
> assumes that all resources(templates, static files, etc.) Reading the source, I see no evidence of this. https://github.com/defnull/bottle/blob/master/bottle.py#L161...
804.
▲
by
oinksoft
15y ago
Bottle is pretty much standalone. Flask requires Jinja2 just to function, for instance. Bottle runs on Python 2.5+ and on Python 3.x.
805.
▲
by
oinksoft
15y ago
It is standard for a command to accept a -h/--help option and display usage, and for commands with subcommands to accept a "help" command to do the same. It appears in your source that usage is only displayed when an invalid command is spec
806.
▲
by
oinksoft
15y ago
Well, I don't see any good reason to write this in C. The operations performed are very basic, and it only obscures what you're doing. Further, your program relies on Ruby and Grit (that gem itself an onerous dependency) to do things that r
807.
▲
by
oinksoft
15y ago
I often wonder about this as well. Currently I do all of my side projects as software development, but seldom as a consultant although I have now over five years of industry experience, spanning many areas of project development.
808.
▲
by
oinksoft
15y ago
Me too, I don't like the feeling that I am now two versions behind.
809.
▲
by
oinksoft
15y ago
Terrible title. Should read "eye sales tax for online vendors" or similar.
810.
▲
by
oinksoft
15y ago
Argh, I meant SAAS. Anyway, looks like my topic was ignored.
More ›