Better HN
topnewbestaskshowjobs
Log inSign up

LocalPCGuy

1,031 karma · joined Jul 24, 2011 (15y ago) · 619 submissions

Submissions

comment 13y ago · link · parent

I love what you are doing, but if you are trying to provide a comparable framework, a thorough understanding of what the functionality you are replicating is vital. The delegation of .on() is quite handy (for reasons others have elaborated already).

comment 13y ago · link · parent

Discussion of the issue here (disclaimer, I started the pull request) - https://github.com/h5bp/html5-boilerplate/pull/1327

The basic gist is that there is great fragmentation in the cache eco-system, and so there is no guarantee that the user actually has the version of jQuery cached that you are requesting. Alex Sexton brought up in a talk at jQueryTO that there are also the time for the DNS request itself to consider in any discussion of speed, if you concatenate/minify your code it will eliminate a DNS request.

Resources discussed in that page: http://statichtml.com/2011/google-ajax-libraries-caching.htm... http://www.stevesouders.com/blog/2011/08/17/http-archive-nin... http://www.stevesouders.com/blog/2013/03/18/http-archive-jqu...

The end conclusion was that for H5BP it didn't make sense to remove the CDN reference, but for your own site it might - you should test it and see. It also depends on your audience (will the CDN move the files closer geographically?).

In the end, ~40k (gzipped) is not going to make or break your website's performance.

comment 13y ago · link · parent

FWIW, I really enjoyed the KickStarter series (although I just finished up, got a bit behind). May re-sub at some point, right now I had enough trouble due to other projects to even finish the KS series.

comment 13y ago · link · parent

a) Google can read JS, but they can't necessarily navigate through all the different pages of a single page app. Their recommendation for that is currently to use #! and then when GoogleBot visits a page and sees the #!, GoogleBot will replace that with ?escaped_fragment=... It's then up to you to provide the content of the page to GoogleBot, and that is what this service appears to do.

b)As long as you are serving the same content to Google, it is not considered blackhat seo, and you won't be penalized. Cloaking would be serving different content to Google than you serve to the user in an effort to boost your rankings over what the content the user sees would rank.

comment 13y ago · link · parent

I would make this a priority if you want to try to differentiate in something besides size as compared to jQuery. Performance is quite important, and I frequently find myself spending the time testing pure JS solutions compared to a jQuery solution to make sure my code is optimized. jQuery does a really good job in this regard most of the time, but there is always room for improvements.

comment 13y ago · link · parent

Might want to research whether or not there is really any benefit from using the CDN other than offloading the bandwidth and getting a (relatively small) chance at a cached solution. From a pure performance standpoint, concatenating/minifying on your own server is more performant in most cases.

comment 13y ago · link · parent

The point about the CDN cache is not true. It is commonly claimed, but often times it is not the case that jQuery is often cached if you use a CDN. It is "sometimes" cached, and best performance for most websites is probably to concatenate and minify jQuery in with the site's JS files.

comment 13y ago · link · parent

You can setup a quick hack (add Explorer to the Start Apps folder) that switches to Desktop on load. Granted, you'll have an Explorer window open as well, but...small price to pay.

Oh yah, I like Windows 8 on desktop as well.

comment 13y ago · link · parent

Ctrl-Enter is the one keyboard shortcut I wish I could disable. It is my most common mis-hit, usually when pasting something into an email and then hitting enter to advance to the next line. I also miss the ability to tab within the compose box, but on the web I pretty much always assume Tab is not going to indent text I'm typing.

comment 13y ago · link · parent

Except that the chance of the asset you are requesting being cached is pretty minimal. See https://github.com/h5bp/html5-boilerplate/pull/1327 for links and discussion about this. The conclusion seemed to be that is it likely that a CDN does provide some benefit, but more from a localization of content and offloading the bandwidth, rather than a speed or cache hit benefit.

comment 13y ago · link · parent

To clarify, IE6 and before. If you're target market doesn't include IE6, protocol-relative URLs work just fine.

comment 13y ago · link · parent

It is possible he wanted to get some of his side out before being potentially muzzled in a plea deal of some sort with an NDA. Definitely sounds like the post was run past a lawyer to vet it before being posted.

comment 13y ago · link · parent

I don't often go to the movies alone, but I have and I enjoy the experience. It seems like kind of a sad commentary on our society that it is so taboo to go to the movies alone. The service basically assumes "no one WANTS to go to the movies alone".

Now, obviously those that do want to go to the movies alone are probably not a target market for this service and it could be valuable for those that do want someone to go with.

It does seem like another form of encouraging extroversion in our society though.

554.

Show HN: YearlyMe.com - One picture for each year of your life(yearlyme.com ↗)

1 points · by LocalPCGuy · 13y ago · discuss

comment 13y ago · link · parent

There actually is an argument that if they can do as good a job as a manual encoding but automate the process, that is valuable, even if the encoding process is the same as the manual process. If you had thousands of videos to encode, they all probably wouldn't be optimally encoded at the exact same settings, and automating that task could save a significant amount of time.

556.

University of Michigan Heritage Website(heritage.umich.edu ↗)

1 points · by LocalPCGuy · 13y ago · discuss

comment 13y ago · link · parent

I am hoping they come back, but guessing they were intentionally removed. I found the answers to many edge-case problems in the comments, and some might be hard to include in the docs specifically because they were version dependent or just not as intended. I agree that ideally those answers would be in the docs.

comment 14y ago · link · parent

My experience is that about 90% of the time, the compatibility mode in IE9 or IE10 will give you an accurate prediction of behavior in IE7 or IE8. It's that last 10% of the time, generally related to JavaScript issues in the original browser engines or obscure CSS bugs. So it works for basic stuff, but if you have anything complex going on you should test in a VM running the actual browser version you want to test.

comment 14y ago · link · parent

The (very prominent) search works for what you are talking about, narrowing down to libraries for specific functions.

comment 14y ago · link · parent

This sounds like confirmation bias to me, rather than real world use of both browsers. I use Firefox as my primary at home, and Chrome at work (web developer) and I find very little difference in performance in real world use between browsers.

As for frequent updates, Firefox is a little more noticeable because you see it checking your extensions, but they don't update any more frequently than Chrome. If anything, they still update less frequently.

comment 14y ago · link · parent

To the vast majority of the people using StackOverflow, it is a site for getting information about programming. The mods and superusers may know that it is a site for getting specific 1-to-1 answers to questions, but I'll guarantee that the average user browsing the site does not know that. You have to click to the FAQs to find that out, and many people will not do that. Even if you go to the About page, you see this: "Stack Overflow is a programming Q & A site that’s free. Free to ask questions, free to answer questions..." No mention of the types of questions that are acceptable.

The above plus SO's popularity (and prominence in search engine results) are the very reasons I find the moderation a bit over the top. IMO, it should be up to the community, not a handful of mods to decide which questions are valuable and appropriate. Some questions, while they don't have a specific answer, are extremely valuable to gather opinions, particularly for those who don't have as much experience in a given subject.

So yes, I find the moderation disturbing and over-zealous, but will continue to put up with it since it is the best resource for finding quick answers to questions.

comment 14y ago · link · parent

For those that like/need to print their code, there is a plugin that does that: https://github.com/joelpt/sublimetext-print-to-html

comment 14y ago · link · parent

There is Print to Html plugin, works pretty good:

https://github.com/joelpt/sublimetext-print-to-html

comment 14y ago · link · parent

Ann Arbor, MI

Enlighten is an independent digital marketing agency delivering fully integrated services that drive business value and consumer engagement.

A number of technical positions open, see http://www.enlighten.com/about/careers/

VP, Technology & Software Innovation

http://www.enlighten.com/about/careers/vp-tech

We are currently seeking a progressive, creative and strategic technology leader to spearhead software innovation and to manage, mentor and grow an engineering and quality assurance practice with 20+ individuals working across an eclectic range of technologies and platforms. Our team works on projects ranging from developing dynamic websites to mobile applications to enterprise solutions utilizing industry standards. We are mindful of emerging technologies and platforms including but not limited to HTML5, CSS3 and jQuery on the client-side, and .NET, Java and PHP on the server-side. Projects typically utilize a number of technologies including Content Management System, Portal Framework and Mobile / Tablet devices.

Senior Web Engineer (C#/.Net experience desired, this is a contract-to-hire opportunity)

http://www.enlighten.com/about/careers/sr-web-engineer

Enlighten is looking for an exceptional, self directed software engineer with 8-10 years of web development experience. You will work alongside an elite team of engineers who are passionate about solving complex interactive challenges on the web.

If you'd like to join our team, please e-mail your cover letter and resume to jobs at enlighten.com.

comment 14y ago · link · parent

Pretty much boilerplate, but don't think this is going to protect you if the torrents being downloaded are illegal:

"Boxopus may disclose Personally Identifiable Information if required to do so by law or in the belief that such action is necessary to: (a) comply with law or legal process, court order or a subpoena served on Boxopus or the Site to cooperate with law enforcement authorities; (b) investigate, prevent or take action regarding suspected or actual illegal activity or fraud on the Site;"

comment 14y ago · link · parent

The big problem on mobile is that the Like button is extremely tiny, and not all platforms can utilize the iFrame version of the Like plugin. By making it available through an Open Graph action, developers can embed it into apps, on web pages with a better target than the standard Like button, and on web pages as well in a way that fits the design scheme of the website.

It seems like it allows Liking of any page with Open Graph tagging, only question I have is if you can use it to Like a Facebook page still. I plan to test that out shortly, probably tomorrow.

comment 14y ago · link · parent

My wife is Type 1, and was on the pump but went off of it after about a year. Says she feels in more control without it, and that it gave her a false sense of "security." And she has had better results since, and more stable sugars.

I don't know, obviously, not being diabetic myself, but I will say she went on the pump really soon after being diagnosed and didn't really have a chance to establish a routine first, and that probably played a large part in her doing better on shots right now. I've been encouraging her to start thinking about using the pump again, as I do feel that, used correctly, as I believe it is a better method, but she has to do what she feels works best for her.

Being a developer myself, the idea that she has to use a custom cable and custom software to manage the data she has in her meter drives me a bit nuts. But the meter industry is, IMO, full of companies that don't really want to help users, they just want to get rich off of diabetics. I know thats a bit cynical, and I'm sure there are companies that sincerely care as well, but it's how I often feel about the meter industry.

comment 14y ago · link · parent

As a developer myself, I disagree. Assuming your device is what actually performs the test, the statement made here is just BS spouted by those that don't want to support Android.
1
1718192021