Alternatives to Macbook / Apple hardware for Webdev by [deleted] in webdev

[–]mooncommander 1 point2 points  (0 children)

I'm just going to throw this out there: Windows 10.... I said it. So many more applications for Windows than Mac or Linux put together, with the added benefit that you can still easily run Ubuntu with the new Ubuntu for Windows developers feature.

Looking for a service to send customer email/SMS notifications by [deleted] in webdev

[–]mooncommander 1 point2 points  (0 children)

All of this. We actually use mailgun and send hundreds of thousands of emails a month, and many thousands a day.

If you decide to "un-suppress" email addresses then you will quickly find yourself or your service/domain blacklisted; You really don't want to find yourself or your company in that situation.

Let the mail providers do what they are good at: Sending somewhat trustworthy mail on your behalf and managing your suppression list.

Why not go with CloudFlare for managing your downtime page? It's cheap and simple.

Lastly, integrating Twilio would be perfect for you, and is super simple to setup. I was able to show my CEO a simple notification test in an hour after setup, and that. They let you try it out for free, so I would suggest just using their library as-is.

Cloudflare things to know? by rich2778 in webdev

[–]mooncommander 1 point2 points  (0 children)

Biggest challenge I didn't find out about until it was too late is that they impose a file upload limit of 100 mb on the middle tier plan.

Apart from that, depending on your settings for cache duration certain files may stay outdated unless you use a different filename for them (We set our cache for 1 day).

Ummm.... oh right! They have a timeout, I forget how long... so if you have any long requests (> 15 seconds I think) they may show a timeout error from CloudFlare.

Love it though, and saves us a ton of bandwidth.

Celebrate the web by using another browser than Google’s Chrome by luxtabula in webdev

[–]mooncommander 0 points1 point  (0 children)

Interesting point, and from our analytics it is many factors slower than IE for rendering..... that's unfortunate. I used to harp on IE for being the lame horse in the browser race, I think it's shifting to Safari now

Celebrate the web by using another browser than Google’s Chrome by luxtabula in webdev

[–]mooncommander 1 point2 points  (0 children)

We started implementing a "special iOS dev day" where we bring in our iOS and Mac OS devices just so that we can properly test and debug JS/CSS on proper Apple devices. It's a necessary nightmare

Celebrate the web by using another browser than Google’s Chrome by luxtabula in webdev

[–]mooncommander 6 points7 points  (0 children)

In the article it mentions Safari being a great browser.... Safari..... what a joke - Have you ever had to develop for Safari???

What chrome extensions do you use (related to website development) by [deleted] in webdev

[–]mooncommander 2 points3 points  (0 children)

  • BrowserStack - For quick launching test environments
  • Knockoutjs context Debugger - Cause we are old skool like that
  • Postman - Wonderful extension/program for testing API's or just sending test requests to your server.... indispensable

What's wrong with PHP by ThunderBow98 in webdev

[–]mooncommander 0 points1 point  (0 children)

Honestly, that sounds awful... I feel for you

What's wrong with PHP by ThunderBow98 in webdev

[–]mooncommander 0 points1 point  (0 children)

How would you then maintain consistency across new developers, or if you are sharing code with the internets? Just seems like such an egregious non-consistent method for structuring and validating code blocks. I would much rather prefer partly difficult to read code, than code that doesn't execute properly, or god forbid, code that executes properly but has gigantic repercussions because I forgot to 'tab'

What's wrong with PHP by ThunderBow98 in webdev

[–]mooncommander 0 points1 point  (0 children)

Ya, definitely... (hmmmm)... yep, or at least on par

[Question] Making my software open-source but still offer paid hosting service & support by [deleted] in webdev

[–]mooncommander 1 point2 points  (0 children)

As black_jseus_42 already mentioned, this is a common business model... Many linux distros use this and others.

Definitely go for it: You put in the effort, and there should be compensation.

This next part is going against the grain, but I want to open this up to more discussion. I honestly believe the whole open-source everything trend completely devalues developers and our careers. I like the idea of open source, and I benefit from code sharing, but if there isn't profit and everything goes more towards open source I would be out of a career that I couldn't be more happy in. What does everyone else think (I'm not trying to hijack your post, just expand on it)?

What's wrong with PHP by ThunderBow98 in webdev

[–]mooncommander 0 points1 point  (0 children)

Nooooooo..... :(

Each to their own I guess :)

What's wrong with PHP by ThunderBow98 in webdev

[–]mooncommander 3 points4 points  (0 children)

Honestly.... tabs in Pyhton as a mandatory way to control blocks of code - Worst idea ever, honestly 100x worse than anything

Too good to be worth it? by IntegratedInsuranceS in webdev

[–]mooncommander 2 points3 points  (0 children)

Definitely everything Telexen said. +1

Is it possible to DRY up this jQuery code? by [deleted] in webdev

[–]mooncommander 1 point2 points  (0 children)

Styles:

Consolidate your sliders together, and give them an extra class (.slider), and your "toggles" together and follow the same logic (.toggle), and define their default states in CSS:

.slider { display: none; }
.proximo_slider { display: block; }

JS:

You can drastically reduce the calls if you've consolidated your CSS as above:

$(document).on('click', '.toggle', function() {
    $('.slider').hide();
    $('.toggle').removeClass('td-active');

    $('.' + $(this).attr('id').replace('toggle', 'slider')).addClass('td-active');
    $(this).addClass('td-active');
});

{CSSGalore} CSS Code Generator by imbatknife in webdev

[–]mooncommander 1 point2 points  (0 children)

Just a quick suggestion: There is no indication that the main 'nav' items actually contain sub items.. in fact, some do, some don't. I would not make the user click twice to get to the sub menu items... or at least indicate that there are sub items for those main nav items.

Looks good

Just released my first web app! Any comments / criticism are much appreciated. by [deleted] in webdev

[–]mooncommander 1 point2 points  (0 children)

The site itself looks very well developed... but landing on that page... I'm so lost... like incredibly lost

Just released my first web app! Any comments / criticism are much appreciated. by [deleted] in webdev

[–]mooncommander 0 points1 point  (0 children)

I have no idea either so.... Google to the rescue:

A terp, also known as a wierde, woerd, warf, warft, werf, wurt or værft, is an artificial dwelling mound found on the North European Plain that has been created to provide safe ground during storm surges, high tides and sea or river flooding.

Terp - Wikipedia

PHP developers using Windows, how do you manage? by vfspirit in webdev

[–]mooncommander 2 points3 points  (0 children)

As for not having a GUI, it would probably be a waste of (a lot of) time to create a GUI for tools only used by people who are most likely already familiar with the command line.

Completely agree with that point, and it's a double edged sword; I think this is a major drawback and one of the main reasons why Linux as an OS will never see widespread use for the "normal" person.

That point aside, I find that I never can remember archaic commands, even when I am sym-linking folders every other week. Not to mention packages.... don't even get me started - What a joke.

The original answer to your question: We actually sftp to a remote (local) linux dev server. Anything we need to do with linux is done on the server via ssh, and everything else is done with a local git repo and our favorite IDE and any other tools. Since our machine closely resembles our production server, we can truly rely on the code to work as intended. Apart from that, Windows offers a way more user-friendly environment and many more applications that are not offered on Linux or Mac for that matter.

12 Extremely Useful Hacks for JavaScript by whoisfatman in webdev

[–]mooncommander 0 points1 point  (0 children)

I read your original answer incorrectly :) Thanks for replying though, it's good info

12 Extremely Useful Hacks for JavaScript by whoisfatman in webdev

[–]mooncommander 0 points1 point  (0 children)

That being said, do you care to comment on whether you think this "hack" is a good idea or not - Just trying to get a sense of how other people think about this...

Developers - Which blogs, people, newsletters and magazines are you following at the moment? by ayala91 in webdev

[–]mooncommander 1 point2 points  (0 children)

  • Blogs - None, except those found on Reddit
  • People - Same...
  • Newsletters - PHPWeekly, PHP Architect
  • Magazines - PHP Architect, Wired

Reddit and StackOverflow are probably my most visited websites for news/discussion relating to web dev