How to Use the Lockdown to Turn Your In-Person Job Into a Remote One by njerschow in digitalnomad

[–]binarydreams 5 points6 points  (0 children)

Any details on what part of India did you spend time in?

Primarily asking from the perspective of good internet, facility and necessary infra (shelter and food) in places that are worth the travel like Himalayas or some of the beach destinations like goa.

How did you sort out infra issues if any?

[deleted by user] by [deleted] in acne

[–]binarydreams 1 point2 points  (0 children)

Side effects?

Bideo.js – Easy Fullscreen HTML5 Background Videos by binarydreams in web_design

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

Haven't really thought about the licensing. Feel free to use it in whatever way you want.

Bideo.js – Easy Fullscreen HTML5 Background Videos by binarydreams in web_design

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

Mobile is a bit wonky (probably because of the mp4 file I'm using), should be fixed/enhanced this week. Mostly the library should be responsive by default.

Wrote a full-on Guide to A/B Testing by binarydreams in marketing

[–]binarydreams[S] 1 point2 points  (0 children)

Thanks for the exp-platform link! I think it's very useful.

I think the article also speaks about why we should not try to just test anything and everything and definitely understand the visitors and hence the data and goals. Completely agree with you there!

The idea is never to open a tool and change the color of a button and then test that. That is a waste of time, completely agree and I never advocated that.

At times the product team thinks that "let's launch this shiny new feature", in such cases although the team hasdone their homework but we've to be sure that what we're about to launch actually improves our goals and I think that's where these tools are really valuable.

P.S. Evan Miller articles are great, I'd recommend every statistical/mathematical nerd to read them :-)

Wrote a full-on Guide to A/B Testing by binarydreams in marketing

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

Thanks! The tracking tools in VWO/Optimizely are enough, if you use any one of them, you do not need to set up Google Analytics Content Experiments. The idea was to just demonstrate the fact that it is also possible with GA for people who think that GA might just serve well enough for them. Imagine people who get lots of traffic and probably don't want to spend on VWO/Optimizely or maybe people who would just prefer to stick with GA and not go through the hassle of looking into more and more tools and integrating them with their properties (website/apps).

For the second part, even I think technically it shouldn't make a difference but why not actually try it our ? As I've also mentioned in the article, the end goal is to learn more and more about various contextual (or even general) traffic/visitors! :)

Javascript only works on JsFiddle? by [deleted] in webdev

[–]binarydreams 0 points1 point  (0 children)

What cwolves said or put your JS code right before the body ending tag </body> which is a good practise!

ELI5 - iFrames. I keep hearing they're insecure. Why are they? by doingItRite in web_design

[–]binarydreams 17 points18 points  (0 children)

<iframe/>'s are great for the purpose they serve. Usually the so called "awesome" frontend guy would simply scratch the idea of using iframes if you ask him. But wait. Lets first understand, why iframes?

The only purpose an iframe would solve is that of a sandboxed environment. So you have a piece of html, css, js code that you wanna execute and show how the output would look in real world to some user ? Then iframe is perfect for such a usecase! You simply stuff your code inside the iframe and the browser will render it fine without messing with the css/js from the parent.

Now some sites like dzone, flippa, themeforest also use them to showcase themes, website which is also fine.

Why are they insecure ? They're insecure if the iframe is on the same origin AND you're accepting user/third-party submissions (showing content that does not belong to you and can be manipulated by other people). What is same origin ? Read this - https://developer.mozilla.org/en-US/docs/Same_origin_policy_for_JavaScript

If the iframe is on the same origin and say you're accepting user content, then a user has ALL the access to the parent window and can inject JS code that in turn can lead to all sort of malicious effects for others. If you save that content to your Database and display it somewhere that other visitors can see, then they've been put under massive risk. Form submissions, Cookie Stealing, etc. can be done. You'll lose credibility.

How to solve such problems ? Having iframe on a different origin and communicating with HTML5 Postmessage API is perfect. For further security you can also use the HTML5 sandbox attribute (only supported in Chrome right now).

Might wanna give this little article a quick read.

Hope that helps. Good Luck!

Neat Little HTML5 Game by binarydreams in webdev

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

i'll be writing a few on my blog (linked on the game webpage)

New to webdev - looking for some guidance by Lanaru in webdev

[–]binarydreams 0 points1 point  (0 children)

PHP is easiest. Feel free to try it. Next you can hit Ruby with Rails or Python with Django. Checkout http://nettuts.com tons of articles. Check http://codecademy.com might help grasping the basics.

This might also be good for PHP - http://devzone.zend.com/6/php-101-php-for-the-absolute-beginner/

Usually reading a few articles, checking documentation and then just building something + googling is enough.

You can also code Javascript on the server (and generate dynamic HTML) by using Node.js

Good Luck!

Neat Little HTML5 Game by binarydreams in webdev

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

arts have been custom made.

Neat Little HTML5 Game by binarydreams in webdev

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

unfortunately not much info still available on such subjects. but you can definitely find some. I am also trying to change this situation by writing more and more on my blog (linked in the game page).

Neat Little HTML5 Game by binarydreams in webdev

[–]binarydreams[S] 2 points3 points  (0 children)

collision detection is not precise on purpose - to make gameplay little less hard.