Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
philipwalton
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
philipwalton
13y ago
It depends on your company and your audience. I know my company would never support a browser that wasn't even supported by its maker, and I'm sure a lot of companies wouldn't either. If you have "customers" you
62.
▲
by
philipwalton
13y ago
I mention that in the site; however, in my testing their implementation isn't as good as I'd like it to be. To be honest, neither is IE11s :( http://www.browserstack.com/screenshots/78ef12e58dd1ba200600...
63.
▲
by
philipwalton
13y ago
That's a good point. I suppose I could try to detect if the click was accompanied by a CTRL/CMD keypress and open in a new tab accordingly. Still, the 100ms delay isn't ideal, and the open in a new tab paradigm greatly simpli
64.
▲
by
philipwalton
13y ago
It's actually not as bad as you think. IE updates are now being released as critical so they're being included in OS updates. That means that most IE users will be upgrading to the latest IE of whatever OS they're using. So
65.
▲
by
philipwalton
13y ago
Great question. I use Google Analytics to track where users are clicking, specifically, when users click on external links that aren't otherwise tracked by the GA tracking code. The problem is that if you click on a link that opens a n
66.
▲
by
philipwalton
13y ago
This is in development: https://github.com/doctyper/reflexie
67.
▲
by
philipwalton
13y ago
Flexie provides a polyfill for the outdated syntax `display:box`. The library's creator (@doctyper) is working on a new polyfill for the new syntax `display:flex`, but as far as I know it's still in development. https://
68.
▲
Solved By Flexbox – Cleaner, hack-free CSS
(philipwalton.github.io)
259 points
by
philipwalton
13y ago
|
91 comments
69.
▲
by
philipwalton
13y ago
I tend to be pretty picky in following the spec and only use HTML data-* attributes for actually passing data. That being said, I think it’s mainly a matter of personal preference. If the data-* attributes method makes more sense to you and
70.
▲
Tips for how to decouple your HTML, CSS, and JavaScript
(philipwalton.com)
16 points
by
philipwalton
13y ago
|
2 comments
71.
▲
How to Unit Test Private Functions in JavaScript
(philipwalton.com)
3 points
by
philipwalton
13y ago
|
0 comments
72.
▲
by
philipwalton
13y ago
Yes, you are correct. It's impossible to validate HTML from DOM traversal alone because the browser has already parsed it and forgiven any errors it was able to. (I didn't choose this title and agree that it's a little mislea
73.
▲
by
philipwalton
13y ago
That would certainly be cool. But part of the value of this tool is its ability to customize it yourself.
74.
▲
by
philipwalton
13y ago
The project repo can be round here: https://github.com/philipwalton/html-inspector/
75.
▲
Show HN: Introducing HTML Inspector - making markup testing easier.
(philipwalton.com)
3 points
by
philipwalton
13y ago
|
1 comments
76.
▲
by
philipwalton
13y ago
You pretty clearly didn't read the article. Semantics weren't discussed at all. The focus was on making the best of working with a language that has a limited feature set, and learning to reexamine long held best practices.
77.
▲
by
philipwalton
13y ago
There are a few reasons I prefer the namespaced modifier approach to what you've described: 1) This approach is more error prone and less predictable. For a one-man job it's probably OK, but on a team it's harder to guarantee someone else i
78.
▲
by
philipwalton
13y ago
You left out Nicolas Gallagher and Jonathan Snook :)
79.
▲
by
philipwalton
13y ago
@thejerz, article author here. 1) I didn't write this while on the job at Appfolio. I wrote it at home, in my spare time, because I like sharing the things I've learned on the job with the rest of the Web community. Based on the upvotes and
80.
▲
by
philipwalton
13y ago
Totally, I discussed this a bit in the article but probably should have stressed it more. Nicole Sullivan (OOCSS creator) refers to this principle as "separating content from container".
81.
▲
by
philipwalton
13y ago
I was going to point you to this Github issue, but then I realized I'd be linking you to yourself :) https://github.com/stubbornella/csslint/issues/380
82.
▲
by
philipwalton
13y ago
Mainly parts from two of the rake tasks: 1) to create new posts 2) to deploy to Github pages
83.
▲
by
philipwalton
13y ago
I started out using Octopress but in the end chose to go just plain Jekyll and borrow from Octopress only the things I needed. I'm pretty happy with my decision. Ultimately, you just need to look at the feature-set of Octopress and decide i
84.
▲
by
philipwalton
13y ago
Yes, but that doesn't actually solve the problem. How is that code going to interact with your existing objects unless those objects are in the global scope? If both the requester of the AJAX call and the receiver are in the same closure, t
85.
▲
by
philipwalton
13y ago
One additional point the author didn't mention: Executing JavaScript code sent from the server requires your JS objects to be in the global scope. Returning JSON (on the other hand) allows you to keep your objects and logic inside a closure
86.
▲
by
philipwalton
13y ago
Yes, but there's a difference between your options being worth nothing and the value of your options being unknown. There's also a difference between the value of your options being unknown and the value of your options being known but you
87.
▲
by
philipwalton
13y ago
There should be an additional choice for people who have options but aren't able to cash them out yet. That would offer a view into the percentage of people who stay at a startup long enough to exercise their options.
88.
▲
by
philipwalton
13y ago
Yeah, I'd be curious to see traffic data from people who got to various spots on the front page and see what trends emerge. Though, now I'm remembering that the post was also on /r/webdev and /r/web_design, so that skews things a bit.
89.
▲
by
philipwalton
13y ago
700 at the same time. 40K in the 24 hour period after it made the front page. Yeah, I was not expecting that. Luckily, I had recently converted the site from WordPress to Jekyll and was hosting it on Github pages, so I didn't worry too much
90.
▲
by
philipwalton
13y ago
When one of my articles made it to the #2 spot on Hacker News, I was watching my Google Analytics Real-Time stats pretty closely. It got as high as ~700 people on at one point. (Here's the submission: https://news.ycombinator.com/item?id=5
More ›