« first day (1644 days earlier)      last day (3308 days later) » 

user2620028
5:02 PM
awww they didnt know the meme :(
 
user1596138
I get to tell me boss my news today... Lol
 
user1596138
I'm less than excited.
 
this is my plan as a beginner to learn web design and programming. Can somebody please review and provide feed back?
https://www.youtube.com/watch?v=Ggh_y-33Eso html in 15 minutes
https://www.youtube.com/watch?v=kDyJN7qQETA html5
https://www.youtube.com/watch?v=mMVqcTNsCrE xhtml
https://www.youtube.com/watch?v=I-rTKuEhrCM&list=PL07454EA7FF8D28AB css tutorial
https://www.youtube.com/watch?v=_cLvpJY2deo&list=PLBA965A22D89CF13B javascript tutorial
https://www.youtube.com/watch?v=l21g8dJmD7U&list=PL40BEA45C3DFF5EF4 webdesign and programming (php/sql/mysql/jquery/wordpress themes/plugins)
I have C/python/java programming background in OOP/functional/imperative paradigm.
 
you'd be much better off coming up with a project idea that interests you and implementing it in JS
watching a bunch of videos is only good if you have friends and want to get rid of them by watching Friends for days in a row
 
webdesign and programming course in the above list actually has that exercise
 
5:15 PM
just come up with something that sounds cool, look into the best tech to use it for, and make it
PHP and MySQL aren't marketable skills, don't bother with those
only look at Wordpress if you want a life of shame and misery
 
XHTML isn't a thing anymore
like at all
 
HTML5 and CSS are pretty vague and you'll learn some basics, which won't apply when you write a real app with templates and less/sass
they're good to know, but it's rare you sit down and write a pile of either
I would suggest coming up with a simple concept (single page app with a little bit of data to store) and learning JS, LESS, Bootstrap, Handlebars, Knockout or a similar MVC framework, and maybe a few other things in the process
use local storage for the data, don't worry about a server
learn the syntax (it's relatively C-like, by and large) and some of the common patterns.
Don't use jQuery or Underscore or any of the old, obsolete, ugly polyfill libraries.
Write a build script with Gulp (or Grunt or similar) to run tests on your JS using Karma or Mocha.
 
as per your suggestions, do you think it is relevant to go thru these courses? which talks more on JS in sequence
https://frontendmasters.com/courses/js-fundamentals-to-functional/ JavaScript: From Fundamentals to Functional JS
https://frontendmasters.com/courses/advanced-javascript/ Advanced JavaScript
https://frontendmasters.com/courses/functional-javascript/ Hardcore Functional Programming in JavaScript
 
5:23 PM
No. There are too many resources for front-end stuff that you can get for free. You should almost never pay for any web dev tutorials.
 
Good advice @ssube
 
point is, once I see how webapp is build using JS and php, I can get a feel of what kind of app can be written? chat.stackoverflow.com/transcript/message/22758263#22758263 these are fast track quality confirmed tutorials.
I understand your point which emphasize on JS, but these videos will give me overall
 
"I can get a feel of what kind of app can be written?" No, that's not a reasonable expectation. Ignoring the fact that using PHP is generally considered poor practice.
"these are fast track quality confirmed tutorials." There's no such thing.
 
user2620028
If anyone knows of a remote developer position that would accept a junior programmer, or an internship that pays something other than peanuts -- ping me
 
0
Q: Broccoli asset rev fingerprint urls in json file

KitlerMy rails app and index.html file are hosted on heroku and the rest of the assets are on s3, there's a manifest.json file that is required in order to enable mobile web app mode for chrome on android that looks like: { "short_name": "Kinlan's Amaze App", "name": "Kinlan's Amazing Application ...

 
5:30 PM
Take the current best-practices, the latest tools, a concept that interests you, and go write something.
 
In case anyone knows
 
@overexchange "fast track" is always a red flag when you're trying to learn something. Focus on learning something right not learning it quickly.
 
@overexchange My advice? Don't spent too much time on complete and thorough tutorials. I don't know your end goal, but if it's to learn more about web dev, then learn the basics of web dev, and then do a project, whatever you want. Write things, read other similar projects to see how you can do better. You'll learn a ton as you go along.
 
@ssube For your point: JS, LESS, Bootstrap, Handlebars, Knockout or a similar MVC framework, and maybe a few other things in the process Do you suggest some online training before I go and write some app?
@Zirak My end goal is to get a job on webdev
i am leaving my current job next month 12th, so I want to be part of web dev after C/python/java programming background
 
I suggest that you come up with an idea that you have some emotional investment in (so you actually put the time into finishing it). Look at the available tech and tools and pick the minimal set of responsibly up-to-date stuff (not the absolute latest, nothing crazy old).
Then start reading the docs, SO questions, tutorials if they apply to what you need to know. Ask questions on SO, talk to other devs.
 
5:37 PM
@ssube this is an ideal approach that you suggested, but it is very tough at-least for me.
 
@overexchange Best way to gain experience is to gain experience
Do stuff
 
is there a way to apply a function helper to mongo collections directly?
 
!!resources
 
just make a thing you want and don't have
that's the only way to learn how to make things
 
user1596138
5:38 PM
@overexchange just start doing things. Don't limit yourself to certain languages or frameworks, if you learn Javascript there is no "learning Knockout" or "learning handlebars" in the way that you see it today, you'll know how to find out how anything works and from there you can do anything.
 
make sure to start with something small and have a clear end goal
if you're learning to carve, you start with making small toys, not the fronts of courthouses
 
user1596138
@overexchange and make sure you learn how to use the tools available to you. The devtools are extremely powerful once you learn to use them and this is a great informative course on Chrome's devtools I would recommend anyone take at just any skill level.
 
Does anyone here undersdand angular ui-router beyond its basic usage? I've been trying get the state in my directive alas with no luck
 
@NuGnojMik Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
user1596138
@SterlingArcher I know you don't do these things but holy fucking shit I had to share it with someone media.giphy.com/media/3o85xkXdGGQ7bxiDXW/giphy.gif
 
5:46 PM
@ssube am amidst cs61A with lots of tough programming exercises(using python currently). Additionally planning for writing an app without knowing abc of webdev, I dont know....
 
then wait until you have time to dedicate to learning frontend stuff?
 
I thought webdev using JS is very easy compared to python/Java programming. Because I felt JS would be easy for python programmers.
 
Python won't prepare you for real life.
 
yes but cs61A teaches how to build abstractions. abstraction written in functional/OOP/declarative style
python/scheme are tools used
 
@ssube WHAT ?
Fire the photon torpedoes.
 
5:51 PM
@overexchange neither Python nor Scheme are intended for declarative/OO programming
 
@overexchange JS isn't easy
 
But author of python(Guido) says python is designed for OOP programing, OK..we are away from actual topic
for declarative we use SQL
 
@overexchange the author of python also used a single-threaded interpreter with a global mutex and forever ruined Python's performance, so there's that
 
@ssube Psst, bringing up your issues with python isn't really helpful for the topic at hand.
 
Well, having self as the first arg of every method does suck
 
5:55 PM
Python and JS are similar in that neither was designed with a comprehensive vision, they both just slapped together a bunch of stuff and called it a day
 
@FlorianMargaine should be the last arg, amirite
 
@ssube still better than java
 
!!learn ballmerpeak <>http://chat.stackoverflow.com/transcript/74583?m=22753428#22753428
 
@SomeKittens Command ballmerpeak learned
 
@FlorianMargaine I would say no. Java had consistent language design and shitty libraries.
Python has semi-consistent language design, eschews most reasonable patterns, and shitty libraries.
 
6:00 PM
@ssube By the end of my JS learning I would definitely come up with implementing a project. do u think this make sense? But starting with a project is really difficult for me ):
 
JS has shitty language design, pretends to copy reasonable patterns, and shitty libraries.
ES6 is improving that tremendously with classes and whatnot, but it's still not great.
 
!!ballmerpeak
 
in Stack Overflow 2015 Moderator Election Chat, 4 hours ago, by Tim Post
@JonClements No, the last time that happened I was still with Microsoft. We called it "ME"
 
@ssube python has amazing libs, come on
 
user2620028
@Jhawins OMG his nuts though... are they still there?
 
6:02 PM
there's 7 libs for any feature, 3 of them just call a C library that may or may not work, and no way to install any of them
 
dumb question... how do you have a dictionary of functions on an object, but use the namespace of the object itself?
var myCollection = {
  name: "MyCollection",
  _utilities: {
    func: function() { ... }
  }
}
myCollection.func() // calls myCollection._utilities.func
 
bind
wait
 
@SomeKittens btw, ever since I started looking at spec, my life has changed completely. In debt forever
 
@corvid prototype would do something like that
 
That's kinda what I am doing, modifying Mongo.Collection.prototype._utilities
 
6:05 PM
@overexchange If you feel you learn better by watching a bunch of videos rather than doing a project; go for it. But I think if you're expecting to just watch a few videos and be an expert at web development, you're going to have a bad time.
You seem to think that JS is something really simple that can just be picked up practically in an afternoon... and it's really not.
 
@corvid Object.create(_utilities, myCollectionProps)
or make a class
or whatevs
 
@ApathyBear Not a problem at all. Very happy to see that my blog's managed to make your life better.
 
Dude. Yes.
 
has anyone converted an existing project to using ES6 modules and systemjs or similar?
 
6:13 PM
@Retsam udacity.com/course/object-oriented-javascript--ud015 this course looks project oriented for me..
Prerequisites and Requirements
This course is for beginner to intermediate web developers..ur JavaScript Basics course!
What Will I Learn?
Projects: Use your object-oriented JavaScript skills to develop a performant, organized and easily maintainable version of the `classic arcade game,Frogger`.
 
Trying to find magical pre-packaged courses to teach you everything is not going to work
There are literally millions of other resources, most of which are better than any course you'll find for any amount of money.
Unless it's a Cisco network cert, then go for it. Those are legit.
@Mosho what's systemjs do that webpack/browserify/gulp/et al haven't already done better?
 
@overexchange That might be a good starting place, sure.
 
@Jhawins whoa!
 
@KendallFrey Instead of getting them a, say, Fender?
 
6:26 PM
@Mosho it looks like part of the problem is I can't have two transform functions, based on this guys "helpers" code
 
aaaand I just lost all my work on the promisify XHR q/a
 
thanks, Chrome & GitHub
 
Flagged, downvoted and commented. Can't believe a 500+ reputation user would post something like that.
 
> Primary closes in 1 hour.
 
6:30 PM
@SomeKittens How?
don't say "I was editing in the browser", don't say "I was editing in the browser"...
 
@ssube jspm is very nice, and systemjs is aimed at supporting es6 spec
I haven't really used any module loaders seriously so can't comment on it's actual superiority in real development
@corvid I don't really understand what the problem is
 
@GabrielTomitsuka I missed it, what happened?
 
@SterlingArcher No, just this
I can't believe that this guy, with 500+ reputation, asked such a question.
 
Removed, can't see it
 
6:34 PM
@Zirak be a darling and screenshot this horror of a question for me? :D
 
It's mostly just me being a JavaScript noob and not knowing the basics of the language, tbh. I need an instance method in the namespace of the function that extends the original "class"
 
@SterlingArcher Already on it
 
@Zirak ty love 2.9
 
 
user1596138
@GabrielTomitsuka you should see lightness racks in orbits rep compared to quality
 
6:35 PM
@corvid can you show what you mean in codez?
 
@Retsam For JS I would first go for course1 that has project interactive resume and then course2 whic has project frogger
 
Let me make a gist real quick. It won't work but it should make more sense as to what I am aiming for
 
user1596138
I can't comment on answers that Dont have comments yet from mobile. Anyone else mobile want to verify before I make a Meta post? The "add comment" link is non existent if there are no comments.
 
@Zirak Um, an evil mage came by and wiped my hard drive with his magnet wizardry
 
user1596138
Nvm. Its only on Mechanics.SE
 
6:39 PM
!!s/an evil mage/the FBI/
 
user2620028
You were editing in the browser weren't you
 
@ssube @Zirak Um, the FBI came by and wiped my hard drive with his magnet wizardry (source)
 
@SomeKittens The bastard!
 
@Zirak aww man that's it? I was expecting more drama
 
!!s/his magnet wizardry/because of questionable content/
 
6:39 PM
But thank you
 
@ssube @ssube @Zirak Um, the FBI came by and wiped my hard drive with because of questionable content (source) (source)
 
@ssube I am not trying to implement your approach for not having that confidence to do so. But I will think about it...
 
Why would the FBI be interested in questionablecontent.net?
 
user1596138
@HatterisMad come answer the absolutely awful questions on mechanics.se with me.
 
@Zirak questionable reasons, clearly
 
user2620028
6:40 PM
@Jhawins no way I will only piss people off by saying how easy their problem would be to fix on a racecar
 
user2620028
and no one has a mechanical car anymore, too much electrical bullshit
 
bon nuit
 
I propose all MDN examples turn into sandboxes
 
user1596138
The electronics drive the mechanics...
 
user2620028
im too busy browsing job sites and wondering why i am not asleep anyhow haha
 
user1596138
6:41 PM
Or vacuum.
 
user2620028
This is true but how often is the problem the mechanics and how often is the problem the electrical
 
user image
5
@KendallFrey @SterlingArcher Coffee Bear
 
user1596138
On my truck? Its usually that a large piece of metal is either bent, deformed or flat out missing.
 
Coffeebear watching porn ?
 
@Zirak That's still going on?
 
6:43 PM
@SomeKittens he's perfect <3
 
@SomeKittens runnable's mascot?
 
@Shmiddty We call him the RunnaBear
 
That is a beautiful bear.
 
@SomeKittens did you come up with the idea after hiring a chinese guy?
 
@ApathyBear Does RunnaBear rustle your jimmies?
 
6:48 PM
Quick question if anyone happens to know the answer. If someone closes a question (particularly dupe hammer) if you @them in a comment, will they be notified? I suspect not, because their name doesn't show in autocomplete when you start typing it. But I don't know for sure.
 
@Shmiddty I will remain silent as Zoophilia remarks are possibly prohibited on SO.
 
@ApathyBear You mean you're not a bear?
You've been misleading us this whole time?!
 
I am a poser
 
At least he's apathetic about his posing
 
6:55 PM
Whatever.
2
 
@corvid I was expecting an actual sketch. Disappointment abound.
 
YetAnotherBear
 
@corvid why not add to prototype?
 
6:59 PM
I'm not so sure what you mean. Just directly add the functions to the prototype? Is that bad practice?
 
CoffeeBear must have a desk job according to that belly
 
@corvid bad practice for native stuff
don't see the harm here
plus, you're adding them anyway, "directly" or otherwise
you could have a helper class that is initialized with a reference to a db entity
 
or just have functions that take that reference
so you don't add it to the collections' proto
but even if you do it with _utilities I don't see the issue
just call Student._utilities.utilFunc?
although you would have to bind the collection somehow
yeah that would be sloppy indeed
 
@rlemon I'm considering doing a full reskin of the chat, including stripping all of the in-built styles (by removing the stylesheet served with the page). I'd ideally get it to a point where it's easy to use as a template for building additional themes.
 
7:07 PM
neat
 
neato
 
user1596138
 
user1596138
Jus sittin here waiting for the boss
 
@Mosho I was considering just extending the _helpers, but not sure if that would work in the long run
 
you have plenty of options
pick the one you like and don't sweat it
 
7:13 PM
I love it when APIs don't return what they say they will
 
user1596138
@SterlingArcher lol do they ever..
 
user1596138
I just get pissed off when they return the wrong type, or reject a request to a certain endpoint because I used the type the docs specify
 
Well I'm working with the BigCommerce python API, and the Orders is supposed to return JSON for the products ordered. But there isn't even a key "products" unlike what the documentation says
 
i might go crazy because the following line does not has any effect: $("#messageID").text("a");
 
@jipje44 Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
7:19 PM
great to know. Have a nice day!
this is the input: <input type="text" value="" name="messageID" id="messageID"></input><!--hidden submit used for transmitting message ID to server-->
the .text will get triggered on a button click. its bundled with a popup so i surely do know it is gettin triggered
 
user1596138
@jipje44 Make a fiddle and prove to me that it doesn't work.
 
@jipje44 use .val() instead of .text()
 
@jipje44 try val
 
user1596138
Oh lol you guys smart I didn't see it was an input
 
7:24 PM
@Jhawins got proved lol
 
i will make a fiddle. i dont use val because i want to set, not to read
 
@jipje44 val does both
 
..
 
@jipje44 you should re-read the documentation
tis a getter and setter
 
user1596138
@jipje44 text does both. Val does both. Google it, don't make a fiddle they already gave you the answer :)
 
7:25 PM
re-read? I doubt he ever read it at all
 
If you pass an argument to val, it will set the value property of that input
 
whoops. will surely read again
 
user1596138
Have you been using val to try and read everything you would set with text? I feel like you wouldn't have any working code
 
shouldn't you, like, almost always use val()?
either val() or html()
 
val does coercion
you rarely want .html()
 
7:27 PM
val doesn't work on divs and stuff
only inputs etc.
 
html() for block/inline tags, val() for form fields
 
nope, that's bad
you don't really want html()
 
well, I don't pretend to be an expert on jQuery usage patterns, I usually just Google until I find something that works.
 
it opens too many potential issues
text or textContent is better
 
7:29 PM
I do html() when I want to write actual HTML code that I've generated on the server-side
 
if you need to add more tags, actually append the output of your templates
 
jquery expert is something you would pretend not to be
 
I know it's nasty, but it works
worst part is, I do what we've done in the past on our site, per request of my boss.
Not only is there a push for doing something in a riskier fashion, but there's precedent against doing it the less-risky way.
 
oh man that feeling when you haven't updated dependencies in like 2 months, and everything works with only a few tweeks needed
updated to react 0.13 and everything with it, was thinking I had a lot of work ahead of me
 
yeah, angular 1.2->1.3 was smooth and it felt good man
and boss gave me lots of credit and I didn't do anything at all
that's the best kind of credit
 
7:32 PM
haha yea
 
user1596138
!!s/ek/rk/
 
@Jhawins oh man that feeling when you haven't updated dependencies in like 2 months, and everything works with only a few twerks needed (source)
 
val does work. however not within the following context. somewhere there must be a real rookie mistake
function ajaxGetMessageInformation(id) {
$.getJSON("php/getMessageInformation.php?id="+ id, function(data) {//call to php file
$("#titel").val(data.subject);//set modal content
$("#body").val(data.body);
$("#messageID").val(data.id);
});
}
and yes, data has content
 
user1596138
@SomeGuy you're Amaan right?
 
user1596138
@jipje44 You're just using val everywhere now. Go read the damn docs
 
7:40 PM
 
user1596138
Val is for setting/getting value. Text is for setting/getting textContent. They deal with completely different properties
 
user1596138
What happens if you do <p value="stuff">? It certainly won't say "stuff"
 
user1596138
This is the problem with "learning" jQuery instead of learning JavaScript. You have no idea what these things actually do and even less idea how to find that out.
 
Buh, I hate needing to modify one line of packages to make things work right
 
there you are right. wi will give it a go tommorow. it was a long day for todday
all thanks for the help. even if the question was bad
 
7:46 PM
thank you, @SterlingArcher, for providing a fairly consistent stream of internet content for me to repost to my housemates and lady friend. I could never be bothered to spend time on reddit myself. :P
they all do and because of you, I don't feel left out
 
Anything for you Gir
 
you've probably contributed to my getting laid, and that means something to me
 
You're his Pimp, @SterlingArcher
or you're a pimp that supplies to him?
regardless. pimp.
 
@SterlingArcher I just noticed. Where the hell is the yellow?
 
7:51 PM
:)
Thanks
 
8 minutes till voting
 
@KendallFrey its very slight
but I see it
 
why are they having this election on a weekend?
 
@Shmiddty lol I do what I can
he loves us
 
@Shmiddty nah, more like that dude who whispers in that dude's ear in that dude's play where that dude tries to get that girl whose in the window and stuff
 
7:52 PM
im the invisible wingman
 
@ssube dude.
 
Oh wait I know this one!
Cyrano!
 
yeah
was Wishbone the guy trying to get the girl or the wingman?
 
No wishbones a dog
 
I know, but he was one of the guys in that play
 

« first day (1644 days earlier)      last day (3308 days later) »