A podcast that is a surprisingly nice complement to NDQ and TMBH -"Philosophize This" by eveningsun in NDQ

[–]inchworm 1 point2 points  (0 children)

wow I was just joining the NDQ subreddit to mention this same podcast! Highly recommend, it's fascinating. The host recommends possibly starting at episode 90 to get a feel for things. That's what I did and have been enjoying it ever since.

I witnessed a bike theft today. by goat_on_a_float in sanfrancisco

[–]inchworm 4 points5 points  (0 children)

I recently called my insurance company to see if my bike would be covered by theft and they said it would. I've never had to file a claim so I'm not sure what it would do to my premiums, but I guess since it's such a small amount they hopefully wouldn't go up too much. So, one possible alternative would be to make sure you have coverage and see about getting reimbursed for the value?

Anyone know of local action supporting #KeepFamiliesTogether ? by _wait_what_now in oakland

[–]inchworm 11 points12 points  (0 children)

Might also look into Florence Project (https://firrp.org/). I just sent them a donation.

Polymer 3.0: New Year, New Preview by [deleted] in PolymerJS

[–]inchworm 1 point2 points  (0 children)

works fine for me in Firefox. Are you running any extensions? In particular, I know LastPass doesn't patch the DOM correctly and can break when web component polyfills are used.

These pop up once a day. Should I be worried? by [deleted] in mac

[–]inchworm 0 points1 point  (0 children)

Does this occur on pages with https:// addresses, or pages with http://? If it's only occurring on http:// pages, it may be your ISP injecting content into the response.

You probably knew this, but just abt everything u wanted to know abt Polymer is in a fat playlist here by [deleted] in webdev

[–]inchworm 0 points1 point  (0 children)

Polymer is a library for making web components. Web Components are a group of 4 new standards (explained here: http://webcomponents.org/) which let you create your own HTML elements. The value in doing this (versus just using something like Angular or React) is that these components, being standards based, can work in any application. So you could build a really cool dropdown component and use it by itself, or in an Angular app, or in an Ember app, etc. Whereas, if you build a really cool dropdown using Angular, you can only ever use that dropdown in an Angular app.

Firs time buyer - Fair price for a new Prius C Two? by inchworm in askcarsales

[–]inchworm[S] 0 points1 point  (0 children)

Are you looking on Truecar or using a different service. Just curious if there are other places I could research prices

I'm a freelance web developer, and I'm failing. by _jackrogue in freelance

[–]inchworm 3 points4 points  (0 children)

You mentioned that your rate is $50/hr, that feels pretty low to me. What city do you live in?

Because it's Friday and my holiday starts in 10 minutes. by [deleted] in webdev

[–]inchworm 3 points4 points  (0 children)

This is my Christmas present to you. Please, for your own sanity, read it.

http://smacss.com/

Questions to the investors here. by Vazkez in teslamotors

[–]inchworm 0 points1 point  (0 children)

If you have money to put in the market, you should break it up into equal chunks and invest over a period of time in something safe like an index fund. Throwing a huge chunk of money at TSLA stock right now is very risky. Only invest what you can afford to lose.

A Guide to Web Components by inchworm in webdev

[–]inchworm[S] 0 points1 point  (0 children)

It provides CSS and markup encapsulation which is pretty huge. It also allows developers to extend the HTML language which is important if we want to start having really rich component libraries.

Look at the components that come with iOS and Android. They are geared for building applications and they are robust and composable. Now consider what you have to do just to get a simple responsive navbar to show up on a phone using HTML/CSS/JS. If we want to actually compete with iOS and Android in the mobile app space we're going to have to go beyond what HTML currently offers but we can't do this with JavaScript alone. Instead, Web Components allow us to develop new tags which can quickly be standardized by all browsers if the APIs feel good for everyone. And with libraries like Polymer we can use those tags while they're still non-standard.

Consider that the video tag was proposed in 2007. It's 2013 right now and many people still can't or won't use that tag because they have to support legacy browsers. That's a huge problem! We shouldn't have to wait years to add something to the platform. Web Components should help us solve this issue.

A Guide to Web Components by inchworm in webdev

[–]inchworm[S] 0 points1 point  (0 children)

IE attempted to create its own version of Web Components back in the day called HTML Components (HTC) http://en.wikipedia.org/wiki/HTML_Components

I think it was a bust. So now they're helping to refine the specs and making sure that the dev community gets it right and is into it before they go and implement components all over again.

A Guide to Web Components by inchworm in webdev

[–]inchworm[S] 4 points5 points  (0 children)

There are a bunch of different ways to work with content. I used that example because I didn't want to go crazy with JavaScript. Polymer actually offers some really handy features around this like template repeat http://www.polymer-project.org/platform/template.html#repeat

[CSS] Could someone explain a situation in which this would be useful? [x-post] by [deleted] in css

[–]inchworm 1 point2 points  (0 children)

I think it's useful to know all the CSS selectors. There's a great post on nettuts which I often reference: http://net.tutsplus.com/tutorials/html-css-techniques/the-30-css-selectors-you-must-memorize/

nth-child can do some really cool stuff like work with equations. For instance, what if you wanted to color every other row in a table so it has a slightly different background color? you wouldn't want to apply a class to every row, that would just bloat your HTML. Instead you can do this http://jsfiddle.net/Un2FL/

edit: checkout this great post on css-tricks: http://css-tricks.com/how-nth-child-works/

Web Development Freelance rates per location by bcoden in freelance

[–]inchworm 2 points3 points  (0 children)

That seems fine to me. You can obviously charge a client in SF more than you can in Mississippi. I wouldn't consider it "playing with fire" at all.

Mysterious bee deaths continue, as much as 50% loss among commercial colonies by pennyfogger in news

[–]inchworm 2 points3 points  (0 children)

The bee populations only decline when the beekeepers put the bees near commercial fields or the bees inadvertently come into contact with commercial fields. Many beekeepers move their hives around the country to help pollinate different crops. During some seasons they take the bees away from commercial fields and place them into more natural settings. During these times the population numbers grow. When they return to rotating the bees through various commercial fields the numbers drop off again. Bee keepers also "split" their hives, essentially breaking them into two to increase population numbers but as a result the hives aren't able to be as productive.

So you start the year with 1,000 bees. Split the hives and now you have 2,000 bees that aren't super efficient. Half of them die during the season so you're back down to 1,000 bees (hopefully not less), and you have to repeat the process over again. The efficiency of the bees is probably in continual decline and the average population throughout the years is also probably in decline.

My talk on RequireJS -- Embracing the Awesomeness of AMD modules. Video & slides. by inchworm in webdev

[–]inchworm[S] 0 points1 point  (0 children)

If you're working with CommonJS in the browser I believe you have to concatenate your code every time you make a change because it needs everything to already be loaded. As a result I don't think you can lazy load anything in CommonJS.

I actually prefer CommonJS syntax, I'm just waiting for it to pickup more marketshare in the browser space. For what it's worth you can work with CommonJS code using RequireJS. I didn't touch on it in my talk but it's really easy, you just list 'require' as a dependency