-13 karma · joined March 4, 2016
You can downvote me as much as you can but you will still not be able to escape the truth.
The most interesting projects are the ones that can fit into a gist, so check them out: http://gist.github.com/plugnburn/
A CDN absolutely mustn't allow a user to browse to a file with a different extension than it was uploaded with. It must return 404 in this case. II think the flaw is much more severe than has been discovered.
If you don't know git command, you don't know Git at all.
Because I believe these kind of things must be solved with no JS at all, let alone a bloatware lib.
> If page size or load times are excessive at some point, trim the fat then.
jQuery is THE fat.
> So many things already require jQuery
... that I try to avoid them as virus spreaders.
> a form wizard plugin
Wut?
> a calendar picker
<input type=date>
> AJAX form posting with backward compatibility
XMLHttpRequest (probably with some wrapper functions).
> and can't use FormData because you have to support those older browsers
If a thing happens we must enable front-side file uploads for unterbrowsers without FormData, then we use our custom iframe-based solution and charge the customer additionally. Unterbrowser users must suffer, as well as those who want to support them.
> because I doubt rolling your own calendar picker is the goal of the project.
All the things we need were already rolled long before the project start.
> Again, why would you build your own grid and responsive layout/break points when you can just pull in Bootstrap?
Because my grid weighs 999 bytes. How many kilos does Bootstrap weigh?
> the you're wasting your client's time and your employer's money.
Nope, because the grid is already built.
> If you're picking Bootstrap or jQuery you're not trying to enhance them. Your using them to jumpstart your project to build the parts that you need to build.
Since they don't meet my needs 100% of the time, I would end up with some modules that do the same as the ones written from scratch, but slower and with buggy underlying code. Why would anyone prefer that?
> making an AJAX request required 20 lines of code and a bunch of cascading if/else blocks to make sure which request object you were going to get
How hard is it write it once, the way YOU see fit, and then use it all your projects? Or you believe only jQuery authors are allowed to do that?
> It's a bit narcissistic to think you will always be better than what a team of people has been working on for years, but it doesn't mean you're not wrong either.
I'm not trying to be better than them. But yes, I'm trying to do _things I need_ better than they can offer.
> At the end, you bring in the overhead of code maintained by somebody else because you think it will let you finish faster, higher quality, or with features you otherwise wouldn't be able to build.
In the real world though, "finish faster" and "higher quality" are almost always mutually exclusive.
All complex code that uses them should be authored in CoffeeScript.
Nothing more is needed.
P.S. TypeScript is M$ invention -> must burn in hell.
http://codeofrob.com/entries/you-have-ruined-javascript.html
Bootstrap has become a sign of a lazy developer.
Could you please calculate what does it weigh minified in ready-to use ES5 state? I'd like to compare it to some other ready libraries and my own solution.
P.S. Hello from invaded Ukraine.
Definitely not relaxing...
- Why ES6/ES2015?
- What are the advantages over Knockout?
- Why does it weigh so much if its only ability is two-way data binding?
And probably the most interesting question:
- Why the heck do I need to use Browserify for something that will NEVER EVER run on a server side?!
P.S. Nice monologue though. :)
Am I a n00b?
Just don't pay any attention to some pseudo-elitist old farts that try to tell you what's Ъ (true) and what's !Ъ (false). Do the things you, not others, consider awesome in the first place. Don't catch along with the progress, move the progress yourself.
And you'll just watch and laugh how others will try to build an app in 2 months in "manly" C that you can build in a week in "unmanly" Python or CoffeeScript.
Not everyone must target microcontrollers, cryptography or system kernels these days. In other fields, C appears as a pretty inefficient approach. Even console, let alone GUI, text editors are built in Node.js now - see Slap and Atom for an example. Are Slap or Atom developers n00bs? I don't think so.
I honestly don't understand how did the authors manage to make a skeleton (!) page not passing validation. Even <title> is empty when it must not be so.
Is it because of Angular? Well, if a framework forces you to write invalid HTML (tags, attributes, whatever), it sucks, no matter what.
What's wrong with ya people? Since when isn't plain login/password pair enough? I don't want to get involved into online slavery sect with those "social" popular apps.
Thankfully, Disqus still allows to do things right, so I see no reason to bash it now.
And yes:
> Because the “customer is always right”
This very approach is the one that prevents IT from really rapid progress.
What's REALLY missing in modern CSS3 standard is the ability to reassign CSS root to any other element than <html>, according to font properties of which all nested rems would be calculated. So, for now, we have to stick to assigning base font sizes to <html>, not even to <body>.
My microframework (999.css - http://999.surge.sh) uses pixels to assign base font size to <html>, rem for <body>, ems for headings and rems for all other nested typography.
Just kidding, nice small project. I'll stick to Grunt though.
Although, until filename(1), (2) etc issue is fixed, this service isn't worth any serious consideration anyway. Too many newbie mistakes here.
Update: this seems to be fixed too for now (not a perfect variant, as the original name is lost forever, but a plausible solution that's much better than it was). Nice!
<navbar></navbar>
Do you even know that this is invalid and the proper tag is called just <nav>? Do you know that <title> must not be empty in the initial page? Do you know that custom attributes must start with data- (not ng- or ui-)?
Did you even check your page with http://validator.w3.org?