Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adeelk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
adeelk
15y ago
There are usability concerns that you should consider, but that doesn’t mean there are no appropriate use cases. Anyway, you don’t have a choice when it’s a feature a client asks for.
92.
▲
by
adeelk
15y ago
Every modal dialog plugin I’ve seen takes the following approach: try to anticipate the ways people will use it and provide configuration options accordingly. The problem is that as soon as you require anything the developer didn’t anticip
93.
▲
by
adeelk
15y ago
If you're not trolling, can you show me how to reproduce my third example in one line?
94.
▲
by
adeelk
15y ago
Yeah, I did mention the line count in the title but the real point is that it doesn’t come with extra features that you’ll have to customize anyway. For example, there are a million ways to present next and previous buttons when you’re sho
95.
▲
Show HN: Veneer, modal dialogs in 75 lines of JavaScript
(adeel.github.com)
56 points
by
adeelk
15y ago
|
25 comments
96.
▲
by
adeelk
15y ago
It sounds like you should release this wrapper :)
97.
▲
by
adeelk
15y ago
If Python has a better standard library than the other languages you know, then you should learn some more languages.
98.
▲
by
adeelk
15y ago
Wrappers are handy, but as soon as you need something beyond the basic use case they become useless. What’s great about Requests is that it seems to have minimal leakiness as an abstraction over HTTP.
99.
▲
by
adeelk
15y ago
You didn’t read the article. It supports CoffeeScript.
100.
▲
by
adeelk
15y ago
This article is not about literate programming.
101.
▲
by
adeelk
15y ago
There are junky fast-food döners and there are good döners.
102.
▲
by
adeelk
15y ago
College does not qualify as ten thousand hours of practice of anything, except maybe note-taking or socializing, and this is probably why most people are not great at anything when they graduate. With all the “general requirements” and ele
103.
▲
by
adeelk
15y ago
Have you heard of something called Java? ;)
104.
▲
by
adeelk
15y ago
Actually, the comment about mind-stretching was referring to the languages in his “Perlis Languages” post.
105.
▲
by
adeelk
15y ago
Yeah, this is weird. I guess it waits for some kind of response from Facebook before loading the page, or something.
106.
▲
by
adeelk
15y ago
But URLON.stringify({c: 'instance', a: '1'}) == '_c=instance&a:1' as well, right?
107.
▲
by
adeelk
15y ago
If you want to optimize length over readability, then how about: col=instance&asc=1 Or even better: c=instance&a=1 :)
108.
▲
by
adeelk
15y ago
To me, this: _table_achievement_column=instance&ascending:true is less clear than: table[achievement][column]=instance&table[achievement][ascending]=true which also has the benefit of being parsed properly by most
109.
▲
How To Deconstruct Almost Anything: My Postmodern Adventure (Chip Morningstar)
(fudco.com)
20 points
by
adeelk
15y ago
|
0 comments
110.
▲
by
adeelk
15y ago
It would be great if there was a screenshot of each entry.
111.
▲
by
adeelk
15y ago
This is based on a fundamental misunderstanding of the concept of “design”. Steve Jobs: “Most people make the mistake of thinking design is what it looks like. [...] It’s not just what it looks like and feels like. Design is how it works.”
112.
▲
by
adeelk
15y ago
Sometimes, clear and intuitive explanations can go a lot farther than technology.
113.
▲
by
adeelk
15y ago
In case anyone else is looking for “Designing Apps with Scroll Views”, it's actually from WWDC 2010: http://developer.apple.com/videos/wwdc/2010/