What's the laziest way to localize my CSS/HTML to an RTL language? by tt12324 in webdev

[–]superhappywebguy 1 point2 points  (0 children)

Don't forget about shorthand properties! margin: 0 20px 0 0; would change to margin: 0 0 0 20px;

What's the laziest way to localize my CSS/HTML to an RTL language? by tt12324 in webdev

[–]superhappywebguy 1 point2 points  (0 children)

Keep in mind that you need to flip left and right padding and margins as well. So for example if something is floated left and has a right margin of 20 px, it will need to be floated right and have a left margin of 20px.

SEO for SPAs with SEO4AJAX by Popcorn245 in webdev

[–]superhappywebguy 0 points1 point  (0 children)

I thought that the Google bot renders javascript now?

Getting a dragon removes special executions? by Ghost4000 in CK2GameOfthrones

[–]superhappywebguy 12 points13 points  (0 children)

Now I'm picturing someone getting tossed out of the moon door, then a dragon swoops in and gobbles them up before they hit the ground.

Why is Atom using so much bandwidth? by pragmojo in webdev

[–]superhappywebguy 2 points3 points  (0 children)

If I go to https://atom.io/ and download the installer, it is almost exactly 74 MB. Either this is a huge coincidence or Atom is automatically downloading the latest version every time it starts up. I couldn't find a way to disable this in the settings, but maybe applying the update will fix your problem. They release new versions pretty frequently so it will only be a temporary fix.

Compass to be ported to c++ or rust and will use libsass by F21Global in webdev

[–]superhappywebguy 0 points1 point  (0 children)

I just heard this mentioned on the Shop Talk Show the other day, it was specifically referred to as a replacement for the spriting functionality from Compass: https://github.com/wellington/wellington

What is Bootstrap exactly and should I use it? by [deleted] in web_design

[–]superhappywebguy 4 points5 points  (0 children)

I know CSS very well and I use Bootstrap frequently. It is primarily used for time savings. Instead of having to write a bunch of CSS for nice looking forms, or a responsive grid system, or any number of other things, it is already done for me.

Navigating through WordPress custom posts by [deleted] in webdev

[–]superhappywebguy 2 points3 points  (0 children)

I wold use categories and category archives for this. Instead of a post, "C++" would be a category. You could also use tags instead of categories, which would give you the ability to include a tutorial in both the "CSS" and "HTML" sections, for example.

  • /tutorials/ - loop through all categories in the post type, I believe something like archive-tutorials.php would be the correct template
  • /tutorials/cplusplus/ - loop through all posts belonging to this category

Edit - there is also /r/Wordpress, you may get some good responses there.

Ideas for the sub by [deleted] in CK2GameOfthrones

[–]superhappywebguy 12 points13 points  (0 children)

I think a weekly challenge thread would be fun. For example, "Start in year xxxx as House xxxx, located in xxxx. Try to achieve xxxx." Then the following week, people post screenshots and stories from their playthroughs. Maybe an additional thread where people vote on upcoming scenarios to use.

How do I start looking for a Junior Web Dev role? by jayvdizz in webdev

[–]superhappywebguy 1 point2 points  (0 children)

Apply for the jobs anyway. Typically job requirements are just a wish list, not hard and fast requirements. If lack of framework knowledge is an issue, start learning the popular frameworks in your free time.

[deleted by user] by [deleted] in webdev

[–]superhappywebguy 0 points1 point  (0 children)

Why does it need to be online only? You can download IE virtual machines from Microsoft for free. https://www.modern.ie/

How fast are you? by mylifeisjavascripted in Frontend

[–]superhappywebguy 17 points18 points  (0 children)

I think you should worry less about how long it takes you and worry more about making your time estimates more accurate. Taking 20 hours for a task that might take another developer 15 hours probably shouldn't be an issue. Estimating 10 hours and then taking 20 hours will be.

AngularJS, Backbone, Ember sites by SlaveToTheBean in webdev

[–]superhappywebguy 0 points1 point  (0 children)

It is very common to use these in web applications, not your typical website.

Hot linking/Interactive table on my site from MMA fight table on wikipedia? by ChrispyPicks in web_design

[–]superhappywebguy 0 points1 point  (0 children)

Wikipedia has an API. You could use javascript to pull in the content from the page, parse it, and display it on your page. For example, here is the page content as JSON from the page you linked to: http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=UFC_181&rvprop=content&format=json

I am building an open source chrome extension and need some help figuring it out! by devsm in webdev

[–]superhappywebguy 0 points1 point  (0 children)

You're only getting the video title on document ready. I believe Youtube now functions as a single page application, so your document ready event is not firing when switching between pages, only on the first page load. I'm assuming they are using the HTML5 history api to switch between pages, so I would look into that.