DansDeals.com Forums

DansDeals Forum => Tech Talk => Topic started by: bubbles on November 07, 2011, 01:39:25 AM

Title: Programming for Beginners
Post by: bubbles on November 07, 2011, 01:39:25 AM
Any recommendations on how to go about learning basic programming? I'm looking for something that I'll be able to do at home and that I won't need to spend long stretches at a time on. TIA
Title: Re: Programming for Beginners
Post by: AsherO on November 07, 2011, 01:45:32 AM
Any recommendations on how to go about learning basic programming? I'm looking for something that I'll be able to do at home and that I won't need to spend long stretches at a time on. TIA

Considering your Excel spreadsheet success you've definitely got a knack for this stuff. In another post you suggested HTML, that's a bit too basic IMHO. Perhaps our programmers in residence, BAHayman and whYME can make some good recommendations.

P.s. if you specifically enjoy the Excel stuff, there are Excel wizards who make a good living doing just Excel all day long.
Title: Re: Programming for Beginners
Post by: bubbles on November 07, 2011, 01:49:18 AM
Considering your Excel spreadsheet success you've definitely got a knack for this stuff. In another post you suggested HTML, that's a bit too basic IMHO. Perhaps our programmers in residence, BAHayman and whYME can make some good recommendations.

P.s. if you specifically enjoy the Excel stuff, there are Excel wizards who make a good living doing just Excel all day long.

thnx but shouldn't I start at the most basic? I do happen to enjoy these kind of things so I'm hoping I'll pick it up fast but usually you have to start at the bottom
Title: Re: Programming for Beginners
Post by: AsherO on November 07, 2011, 01:52:35 AM
thnx but shouldn't I start at the most basic? I do happen to enjoy these kind of things so I'm hoping I'll pick it up fast but usually you have to start at the bottom

The basic HTML tags that are used all over the internet are pretty easy to get pick up on , I guess if your objective to master them all (http://reference.sitepoint.com/html/elements) it might take you a bit longer.

But like I said, I'll let the bona-fide programmers speak.
Title: Re: Programming for Beginners
Post by: Dan on November 07, 2011, 01:53:21 AM
Considering your Excel spreadsheet success you've definitely got a knack for this stuff.
+1
Title: Re: Programming for Beginners
Post by: AJK on November 07, 2011, 03:32:15 AM
P.s. if you specifically enjoy the Excel stuff, there are Excel wizards who make a good living doing just Excel all day long.


Excel is one of the most powerful programs on earth. You could learn Excel every day for the next year and only begin to scratch the surface. You've started with Excel, why not continue?
Title: Re: Programming for Beginners
Post by: SuperFlyer on November 07, 2011, 03:54:44 AM
How about visual basic (for excel), or the regular VB.

Not sure what excel it is we are talking about.

@AJK : Excel is wow, but a problem they have is that in version changes even simple formulas, the replace "," by ";" and so on.

 
Title: Re: Programming for Beginners
Post by: bubbles on November 07, 2011, 08:19:45 AM

Excel is one of the most powerful programs on earth. You could learn Excel every day for the next year and only begin to scratch the surface. You've started with Excel, why not continue?

Thanks but I'm looking more to expand my bekiyus then to do iyun at this point.

@SF
I saw you said that HTML you can just learn from sites online. Any particular one you know of that is good?
Title: Re: Programming for Beginners
Post by: SuperFlyer on November 07, 2011, 10:00:02 AM
@SF
I saw you said that HTML you can just learn from sites online. Any particular one you know of that is good?

Not sure if the best, but probably the most famous http://www.w3schools.com/html/

Its really easy to learn btw.
Title: Re: Programming for Beginners
Post by: bubbles on November 07, 2011, 10:03:08 AM
Not sure if the best, but probably the most famous http://www.w3schools.com/html/

Its really easy to learn btw.

Thanks and I'm planning on this being only a starting point so the easier the better :)
Title: Re: Programming for Beginners
Post by: BAHayman on November 07, 2011, 10:36:24 AM
The problem with HTML is that it is just markup, no logic or real thinking involved with writing a page. So yes it is good to learn so that you can write it but if you are looking at programming because you enjoy the challenge and power then HTML is just tedious and boring.

What language to start playing with really all depends on what you would like to be able to do: web programming, application programming, etc.

For building dynamic websites and web applications I would say that most start with PHP. PHP makes it really easy to interface with MySQL for data storage and the code can be written alongside the HTML markup which makes it easy to create webpages.

I believe the book I learnt from is the second edition of this (http://www.amazon.com/PHP-MySQL-Dynamic-Web-Sites/dp/0321784073/ref=dp_ob_title_bk) book. (I assume the newer fourth edition is better).

If you want to learn desktop/mobile application programming then I would have to say Java is your best bet as it will run cross platform (Windows/Mac/Linux) as well on Android. Java is a great language, really powerful and very mature. Personally I would rather develop in Microsofts C# which is basically Java but improved on with the downside that it will not run as well on Mac or Linux. (Although apparantly the runtime for Mac and Linux has been improved greatly lately but I have not looked in to it as I am doing Android development atm). I might have a Java book that I used at home, remind me later if you want me to try to find the name of it for you, otherwise you can probably search Amazon for Java books and sort by Best Rating or something.

Happy to try to help and answer some questions in my free time :)
Title: Re: Programming for Beginners
Post by: PlatinumGuy on November 07, 2011, 04:36:21 PM
I've been learning python with MIT OpenCourseWare 6.00 from iTunesU. Very nice. Its one of the top dowwnloads on iTunesU.
You can also get transcripts of the lessons from the MIT OCW site.
Title: Re: Programming for Beginners
Post by: bubbles on November 07, 2011, 07:42:06 PM
The problem with HTML is that it is just markup, no logic or real thinking involved with writing a page. So yes it is good to learn so that you can write it but if you are looking at programming because you enjoy the challenge and power then HTML is just tedious and boring.

I see what you mean. started reading a little on HTML and it from what I've seen so far it looks like it's all just memorizing and that's it. You don't think it would be beneficial though for me to do this atleast a drop first before moving on?
Title: Re: Programming for Beginners
Post by: BAHayman on November 07, 2011, 07:47:36 PM
I see what you mean. started reading a little on HTML and it from what I've seen so far it looks like it's all just memorizing and that's it. You don't think it would be beneficial though for me to do this atleast a drop first before moving on?

If you are going to be doing anything web related then you need to know HTML. You don't need to memorize every element but you should have a good understanding and should be able to read/write it with the help of Google.
Title: Re: Programming for Beginners
Post by: bubbles on November 07, 2011, 07:58:31 PM
If you are going to be doing anything web related then you need to know HTML. You don't need to memorize every element but you should have a good understanding and should be able to read/write it with the help of Google.

So I'll concentrate on this for a little and then I'll come back to you  ;)
Title: Re: Programming for Beginners
Post by: Smirk on November 07, 2011, 11:09:50 PM
http://m.techcrunch.com/2011/11/07/web-design-and-development-community-treehouse-wants-to-teach-you-how-to-code-get-you-a-job/?icid=tc_home_art&
Title: Re: Programming for Beginners
Post by: SuperFlyer on November 08, 2011, 04:37:21 AM
http://m.techcrunch.com/2011/11/07/web-design-and-development-community-treehouse-wants-to-teach-you-how-to-code-get-you-a-job/?icid=tc_home_art&

Very interesting.
Title: Re: Programming for Beginners
Post by: Smirk on November 08, 2011, 08:28:08 AM
Better version (other was mobile)

http://techcrunch.com/2011/11/07/web-design-and-development-community-treehouse-wants-to-teach-you-how-to-code-get-you-a-job/?icid=tc_home_art&
Title: Re: Programming for Beginners
Post by: bubbles on November 08, 2011, 11:36:46 PM
Not sure if the best, but probably the most famous http://www.w3schools.com/html/

Its really easy to learn btw.

Started using that site thanks. Doesn't seem difficult to learn but is harder to remember. Probably would be best if I were to give myself a project like I did with excel to help learn the basics but not sure what I can do exactly with just HTML. Any suggestions?
Title: Re: Programming for Beginners
Post by: AsherO on November 08, 2011, 11:39:47 PM
Started using that site thanks. Doesn't seem difficult to learn but is harder to remember. Probably would be best if I were to give myself a project like I did with excel to help learn the basics but not sure what I can do exactly with just HTML. Any suggestions?

Try viewing page source for simple web pages (http://www.w3schools.com/html/html_examples.asp), and maybe write some of your own, make a profile or something.
Title: Re: Programming for Beginners
Post by: elikay on November 09, 2011, 12:05:37 AM
Or try an eBay listing, the cool thing about eBay is that you can switch back and forth and work on either end (when making a listing on ebay.com).
Title: Re: Programming for Beginners
Post by: AsherO on November 09, 2011, 12:06:49 AM
or try an eBay listing

Those get crazy at times (e.g. with embedded counters and stuff).
Title: Re: Programming for Beginners
Post by: elikay on November 09, 2011, 12:08:03 AM
I meant that you could make your own.
Title: Re: Programming for Beginners
Post by: clownaparte on November 10, 2011, 11:54:28 PM
If you want to have a gander at Javascript (also very basic stuff, but a step past HTML), have a look at this site: Codecademy (http://www.codecademy.com/#!/exercise/0)
Title: Re: Programming for Beginners
Post by: bubbles on November 10, 2011, 11:56:08 PM
If you want to have a gander at Javascript (also very basic stuff, but a step past HTML), have a look at this site: Codecademy (http://www.codecademy.com/#!/exercise/0)

thnx
Title: Re: Programming for Beginners
Post by: clownaparte on November 10, 2011, 11:57:03 PM
Welcome :)
Title: Re: Programming for Beginners
Post by: BAHayman on November 11, 2011, 12:00:21 AM
If you want to have a gander at Javascript (also very basic stuff, but a step past HTML), have a look at this site: Codecademy (http://www.codecademy.com/#!/exercise/0)
really neat site
Title: Re: Programming for Beginners
Post by: clownaparte on November 11, 2011, 12:02:33 AM
really neat site
They just raised $2.5 Million in funding about 2 weeks ago. They've been around for a couple of months. Really user friendly and easy to use...
Title: Re: Programming for Beginners
Post by: bubbles on November 11, 2011, 12:15:58 AM
Really user friendly and easy to use...
+1
up to lesson 5  :)
Title: Re: Programming for Beginners
Post by: SuperFlyer on November 11, 2011, 05:13:38 AM
It seems like they charge, why do they need funding?
Title: Re: Programming for Beginners
Post by: yehuda S on September 18, 2013, 11:13:29 AM
Are there any resident javascript programmers on dansdeals?

I'm working on a very interesting project right now, If anyone with experience wants to chip in some expertise is always appreciated.
Title: Re: Programming for Beginners
Post by: yuneeq on September 18, 2013, 12:02:13 PM
Are there any resident javascript programmers on dansdeals?

I'm working on a very interesting project right now, If anyone with experience wants to chip in some expertise is always appreciated.

Are you offering payment?
Title: Re: Programming for Beginners
Post by: yehuda S on September 18, 2013, 12:13:20 PM
Are you offering payment?

Of course! I am not asking for charity.  :)
Title: Re: Programming for Beginners
Post by: yuneeq on September 18, 2013, 04:15:43 PM
Of course! I am not asking for charity.  :)

Just wanted that cleared up for anyone that may be interested. It sounded like your project may be just a hobby.
Title: Re: Programming for Beginners
Post by: tageed-lee on September 18, 2013, 05:03:56 PM
Not sure if the best, but probably the most famous http://www.w3schools.com/html/

Its really easy to learn btw.

+1
Title: Re: Programming for Beginners
Post by: DovtheBear on September 18, 2013, 05:14:55 PM
+1
I also just read the whole thread. ::)
Title: Re: Programming for Beginners
Post by: emesmusic on September 22, 2013, 07:51:28 PM
I am quite proficient with JavaScript although I mostly focus on C#. What do you need.
Title: Re: Programming for Beginners
Post by: bubbles on September 22, 2013, 08:03:14 PM
I am quite proficient with JavaScript although I mostly focus on C#. What do you need.
Lol it's two years later now, and I still haven't gotten around to this. (You can find my other threads to see how i got sidetracked :) )Actually was planning on trying to learn JavaScript, among one or two other things, now when I can make the time. Any easier way to learn it other then w3school?
Title: Re: Programming for Beginners
Post by: yuneeq on September 22, 2013, 08:22:37 PM
Lol it's two years later now, and I still haven't gotten around to this. (You can find my other threads to see how i got sidetracked :) )Actually was planning on trying to learn JavaScript, among one or two other things, now when I can make the time. Any easier way to learn it other then w3school?

I learned HTML at 13 from a 4 dummies book, so it should be really easy for you.
Title: Re: Programming for Beginners
Post by: AnonymousUser on September 22, 2013, 10:47:10 PM
I learned HTML at 13 from a 4 dummies book, so it should be really easy for you.
+1
Title: Re: Programming for Beginners
Post by: bubbles on September 23, 2013, 01:24:24 AM
I learned HTML at 13 from a 4 dummies book, so it should be really easy for you.

Is HTML comparable at all to JavaScript? And that's what I'm asking here, what's the best way to go about learning it. For dummies book? One of those free online courses (like w3)? Or maybe something like lynda.
Title: Re: Programming for Beginners
Post by: AnonymousUser on September 23, 2013, 01:41:31 AM
Is HTML comparable at all to JavaScript? And that's what I'm asking here, what's the best way to go about learning it. For dummies book? One of those free online courses (like w3)? Or maybe something like lynda.
No, they're very different. HTML is a language which describes the layout of objects on the page, and JavaScript makes things happen to the objects.
The best way to learn is different for every person. I personally like books because then I find it's faster to flip back and forth and to skip ahead.
Title: Re: Programming for Beginners
Post by: bubbles on September 23, 2013, 01:46:16 AM
No, they're very different. HTML is a language which describes the layout of objects on the page, and JavaScript makes things happen to the objects.
The best way to learn is different for every person. I personally like books because then I find it's faster to flip back and forth and to skip ahead.

That's what u thought.

Okay thanks. Wish me luck to actually get around to it this time :)
Title: Re: Programming for Beginners
Post by: yuneeq on September 23, 2013, 01:47:38 AM
They're only similar in that you have to figure how to hack some code together to get something to work properly. But they are used very much together, JavaScript apps are used on almost all web sites. 

I don't know what the best way to learn nowadays, I would probably just learn with a WYSIWYG editor that allows you to edit and see the results instantly. Just play around until you get comfortable. HTML is all about remembering a bunch of tags. Once you're done that, there's not much more to it besides practice. Read up a bit on what standard tags every website needs (HTML, header, body, etc). I have a friend that learned HTML from Myspace, and as others suggested you can try eBay.

Just keep playing around and practicing, and if you have any specific questions, feel to free to ask.
Title: Re: Programming for Beginners
Post by: BAHayman on September 24, 2013, 10:49:14 AM
Not sure if it was mentioned yet but Codecademy is pretty great.

They have a simple introduction to program concepts and then they have specific courses for web (HTML) and JavaScript.

http://www.codecademy.com
Title: Re: Programming for Beginners
Post by: bubbles on September 24, 2013, 10:56:56 AM
Ill check it out. Thanks!
Title: Re: Programming for Beginners
Post by: bubbles on September 30, 2013, 09:58:49 PM
Not sure if it was mentioned yet but Codecademy is pretty great.

They have a simple introduction to program concepts and then they have specific courses for web (HTML) and JavaScript.

http://www.codecademy.com

Looks great so far

Thanks
Title: Re: Programming for Beginners
Post by: churnbabychurn on September 30, 2013, 11:24:37 PM
Everyone talks about how coding is the future and that they should teach it in schools etc.
Is it really necessary to know code or will it remain a specialty field?  Even if IT is a growing field, is it easy to find good jobs or do you have to be a genius at it to compete?
Title: Re: Programming for Beginners
Post by: Centro on October 06, 2013, 11:29:47 AM
Everyone talks about how coding is the future and that they should teach it in schools etc.
Is it really necessary to know code or will it remain a specialty field?  Even if IT is a growing field, is it easy to find good jobs or do you have to be a genius at it to compete?
Bump.
What about programing?
And what about IT?
Title: Re: Programming for Beginners
Post by: elikay on October 13, 2013, 12:42:43 AM
anything like codeacademy for Java?
Title: Re: Programming for Beginners
Post by: notanonymous on October 14, 2013, 01:41:47 AM
Bump.
What about programing?
And what about IT?
"IT" is a very general term.  But as long as 1) you do not stop at "basic" knowledge/certification; and 2) you are willing to start at the "bottom floor" salary, then IMO it can be be a lucrative job when a person builds experience.
Title: Re: Programming for Beginners
Post by: elikay on October 14, 2013, 09:21:30 AM
anything like codeacademy for Java?
Bump
Anyone?
Title: Re: Programming for Beginners
Post by: yehuda S on October 14, 2013, 09:39:47 AM
Bump
Anyone?

http://www.lynda.com/ (http://www.lynda.com/) Not free but pretty good.
Title: Re: Programming for Beginners
Post by: bubbles on October 14, 2013, 10:05:13 AM
Code academy is much more hands on than lynda
Title: Re: Programming for Beginners
Post by: dove on October 15, 2013, 04:51:29 PM
Code academy is much more hands on than lynda
Apples and oranges. Code academy is good for pure basics but won't get you far and Lynda is more comprehensive.
Title: Re: Programming for Beginners
Post by: Shopper on October 15, 2013, 05:11:51 PM
Khan Academy has a very good computer programming program.
Title: Re: Programming for Beginners
Post by: elikay on October 16, 2013, 11:19:56 AM
Starting with Java for dummies, for now :)
Title: Re: Programming for Beginners
Post by: Ergel on October 16, 2013, 11:20:49 AM
Starting with Java for dummies, for now :)
I hate that book
Title: Re: Programming for Beginners
Post by: BAHayman on October 16, 2013, 01:55:21 PM
https://dash.generalassemb.ly/

Looks like a good site for learning HTML, CSS, and JS.
Title: Re: Programming for Beginners
Post by: Marco Polo on October 16, 2013, 02:24:58 PM
I started codeacademy last night and really like it. Though HTML seems to be a lot of memorizing.
Gotta start somewhere...
Title: Re: Programming for Beginners
Post by: yuneeq on October 16, 2013, 02:36:54 PM
I started codeacademy last night and really like it. Though HTML seems to be a lot of memorizing.
Gotta start somewhere...

All programming syntax will require memorizing. Difference with HTML is that much of it is only memorizing and not much else.
Title: Re: Programming for Beginners
Post by: Marco Polo on October 16, 2013, 02:37:28 PM
All programming syntax will require memorizing. Difference with HTML is that much of it is only memorizing and not much else.
I guess i will learn (or memorize) all this as i progress.
Title: Re: Programming for Beginners
Post by: yuneeq on October 17, 2013, 01:26:48 PM
Everyone talks about how coding is the future and that they should teach it in schools etc.
Is it really necessary to know code or will it remain a specialty field?  Even if IT is a growing field, is it easy to find good jobs or do you have to be a genius at it to compete?

I just saw a tweet from @Chase:
There’s a 3:1 gap between computing jobs and students in the field.
Title: Re: Programming for Beginners
Post by: whYME on October 17, 2013, 02:25:33 PM
All programming syntax will require memorizing. Difference with HTML is that much of it is only memorizing and not much else.
-1

Sure, to the learn what the tags are is just memorization, but learning how to use them properly and creating a well designed page takes a lot more...
Title: Re: Programming for Beginners
Post by: yuneeq on October 17, 2013, 02:33:26 PM
-1

Sure, to the learn what the tags are is just memorization, but learning how to use them properly and creating a well designed page takes a lot more...

NIME. For pure HTML, I was able to pick up on that easily enough just by playing around and getting some experience. I think the real learning is needed for implementing JavaScript, CSS, and other the scripts necessary to build a site.
Title: Re: Programming for Beginners
Post by: whYME on October 17, 2013, 02:47:25 PM
NIME. For pure HTML, I was able to pick up on that easily enough just by playing around and getting some experience. I think the real learning is needed for implementing JavaScript, CSS, and other the scripts necessary to build a site.

So we're not really arguing.
It doesn't take much to learn "html," but it does take a lot to learn how to use it well.
Title: Re: Programming for Beginners
Post by: churnbabychurn on October 17, 2013, 02:47:37 PM
PCS Has a Software course for those who are really interested IIRC
Title: Re: Programming for Beginners
Post by: chff on October 17, 2013, 02:50:41 PM
PCS Has a Software course for those who are really interested IIRC

Link/info?
Title: Re: Programming for Beginners
Post by: churnbabychurn on October 17, 2013, 03:20:34 PM
Link/info?
http://www.pcslakewood.org/educational-services/internet-software-development/
Title: Re: Programming for Beginners
Post by: elikay on October 20, 2013, 08:44:54 AM
I hate that book
Why?
Title: Re: Programming for Beginners
Post by: Ergel on October 20, 2013, 08:58:36 AM
Why?
Just don't like his style. Find him super annoying.
Title: Re: Programming for Beginners
Post by: MendyP on October 20, 2013, 11:54:42 PM
As others noted, w3schools.com is a great reference, codeacademy.com is great, and you can sign up to take full on university courses online free from coursera.org
Title: Re: Programming for Beginners
Post by: yitzf on October 23, 2013, 11:29:16 AM
Index to many programming resources divided by subject (http://www.bentobox.io/index.html).
Title: Re: Programming for Beginners
Post by: rcarentals on October 23, 2013, 04:26:22 PM
Of there is a serious coder here who knows how to program android apps I have an app and an offer for you to partner with me in.
Title: Re: Programming for Beginners
Post by: oneday on October 23, 2013, 11:07:48 PM
Just thinking about attending a CSS class.
Title: Re: Programming for Beginners
Post by: Marco Polo on October 24, 2013, 08:56:42 AM
Just thinking about attending a CSS class.
Why don't you check out some of the free ones online?
Title: Re: Programming for Beginners
Post by: yuneeq on October 24, 2013, 09:42:55 AM
Why don't you check out some of the free ones online?

I'm guessing that for most people, it's easier to learn and focus in a class setting.
Title: Re: Programming for Beginners
Post by: Marco Polo on October 24, 2013, 09:46:35 AM
I'm guessing that for most people, it's easier to learn and focus in a class setting.
Well i guess to at least see if they like programming, it may be a good place to start. rather than drop money on a class.
Title: Re: Programming for Beginners
Post by: yuneeq on October 24, 2013, 09:55:03 AM
Well i guess to at least see if they like programming, it may be a good place to start. rather than drop money on a class.

I assume that he has learned some programming before. CSS is never the first thing you learn.
Title: Re: Programming for Beginners
Post by: Marco Polo on October 24, 2013, 09:55:25 AM
I assume that he has learned some programming before. CSS is never the first thing you learn.
True.
Title: Re: Programming for Beginners
Post by: notanonymous on June 15, 2014, 11:47:13 PM
I am trying to help out a non-profit with some programming. Unfortunately, (almost) everything IT related I have experience with...except programming (only on a very basic (pun intended) level)...

Anyone with any basic/moderate experience want to pm me, so I can pick your brain?  (not html, css, etc...more like sql, perl, etc)

I'd rather not post too many details...but something like this...

the program will read incoming emails, generate a sequential three digit number, then email that number  and the received email to another address.
Title: Re: Programming for Beginners
Post by: AnonymousUser on June 16, 2014, 12:40:05 AM
I am trying to help out a non-profit with some programming. Unfortunately, (almost) everything IT related I have experience with...except programming (only on a very basic (pun intended) level)...

Anyone with any basic/moderate experience want to pm me, so I can pick your brain?  (not html, css, etc...more like sql, perl, etc)

I'd rather not post too many details...but something like this...

the program will read incoming emails, generate a sequential three digit number, then email that number  and the received email to another address.
I have some experience with SQL but not with perl. However, I bet you could do all that with Outlook and VBA.
Title: Re: Programming for Beginners
Post by: smurf on June 16, 2014, 03:15:05 PM
I am trying to help out a non-profit with some programming. Unfortunately, (almost) everything IT related I have experience with...except programming (only on a very basic (pun intended) level)...

Anyone with any basic/moderate experience want to pm me, so I can pick your brain?  (not html, css, etc...more like sql, perl, etc)

I'd rather not post too many details...but something like this...

the program will read incoming emails, generate a sequential three digit number, then email that number  and the received email to another address.
all emails? Or only those from a particular sender? Or containing certain text?
Either way you can set up a rule to filter for the emails you want and run a script on them that'll generate the number and fwd it
Title: Re: Programming for Beginners
Post by: smurf on June 17, 2014, 12:29:45 AM
all emails? Or only those from a particular sender? Or containing certain text?
Either way you can set up a rule to filter for the emails you want and run a script on them that'll generate the number and fwd it
additionally sequential numbering can't be done in code alone. You'll need a place to store the current number count. Either by adding a registry setting or by using a simple text file.

Will the code be running on only one machine? If it'll be on multiple machines are they networked?
Also you say a 3 digit number so what happens after all numbers are used up?
Title: Re: Programming for Beginners
Post by: notanonymous on June 17, 2014, 12:38:19 AM
additionally sequential numbering can't be done in code alone. You'll need a place to store the current number count. Either by adding a registry setting or by using a simple text file.

Will the code be running on only one machine? If it'll be on multiple machines are they networked?
Also you say a 3 digit number so what happens after all numbers are used up?}
Reset every 24 hours.
Title: Re: Programming for Beginners
Post by: notanonymous on June 17, 2014, 12:39:19 AM
additionally sequential numbering can't be done in code alone. You'll need a place to store the current number count. Either by adding a registry setting or by using a simple text file.

Will the code be running on only one machine? If it'll be on multiple machines are they networked?
Also you say a 3 digit number so what happens after all numbers are used up?
VS (cloud)
Title: Re: Programming for Beginners
Post by: smurf on June 17, 2014, 07:06:07 PM
VS (cloud)
not sure what that is. Will they have access to a shared directory?
Are they in the same time zone?
Where do you want the 3 digit number? In the subject?
Title: Re: Programming for Beginners
Post by: SuperFlyer on June 17, 2014, 08:02:43 PM
Go to www.lynda.com they have good paying courses
Title: Re: Programming for Beginners
Post by: churnbabychurn on June 17, 2014, 08:17:48 PM
Go to www.lynda.com they have good paying courses
many college students have free access
Title: Re: Programming for Beginners
Post by: notanonymous on June 17, 2014, 08:18:59 PM
many college students have free access
Should I call the legion?
Title: Re: Programming for Beginners
Post by: SuperFlyer on June 17, 2014, 08:19:10 PM
many college students have free access
point is they have good courses.
most courses I don't find very good.
Title: Re: Programming for Beginners
Post by: rots5 on June 17, 2014, 08:54:37 PM
Highly recommended. Awesome teacher
(http://i58.tinypic.com/solkya.jpg)
Title: Re: Programming for Beginners
Post by: AnonymousUser on June 17, 2014, 09:57:43 PM
Should I call the legion?
LOL.
Title: Re: Programming for Beginners
Post by: avremel on December 10, 2014, 07:55:15 PM
After scouting around for a while it seems teamtreehouse.com is the best option for beginner-intermediate level programming.
Includes: video classes broken up in to < 10 min segments, excersizes in between videos, active forums centered around classes,
They put an emphasis on web design. I am currently in middle of the RubyRails track.
They cover: HTML, CSS, Ruby, Javascript, PHP, Design, WordPress, iOS, Android, Python, Development Tools, Business

lynda.com is not interactive, codecademy.com is actually quite decent.
I prefer to use a subscription based site and pay, you will end up committing time daily just in order to get your moneys worth :)
Also, using multiple sources simultaneously to learn a skill helps cement the knowledge. For example, using both Treehouse and Codecademy for the same skill.

Basic membership is $25, below is a link for first month free trial (usually trial is 14 days)
http://teamtreehouse.com/join/free-month?utm_source=shareasale&utm_medium=affiliate&utm_campaign=shareasale-aff-program&utm_content=300x250-green-frog&cid=1086%20&SSAID=546757 (http://teamtreehouse.com/join/free-month?utm_source=shareasale&utm_medium=affiliate&utm_campaign=shareasale-aff-program&utm_content=300x250-green-frog&cid=1086%20&SSAID=546757)
Title: Re: Programming for Beginners
Post by: avromie7 on December 10, 2014, 08:04:20 PM
After scouting around for a while it seems teamtreehouse.com is the best option for beginner-intermediate level programming.
Includes: video classes broken up in to < 10 min segments, excersizes in between videos, active forums centered around classes,
They put an emphasis on web design. I am currently in middle of the RubyRails track.
They cover: HTML, CSS, Ruby, Javascript, PHP, Design, WordPress, iOS, Android, Python, Development Tools, Business

lynda.com is not interactive, codecademy.com is actually quite decent.
I prefer to use a subscription based site and pay, you will end up committing time daily just in order to get your moneys worth :)
Also, using multiple sources simultaneously to learn a skill helps cement the knowledge. For example, using both Treehouse and Codecademy for the same skill.

Basic membership is $25, below is a link for first month free trial (usually trial is 14 days)
http://teamtreehouse.com/join/free-month?utm_source=shareasale&utm_medium=affiliate&utm_campaign=shareasale-aff-program&utm_content=300x250-green-frog&cid=1086%20&SSAID=546757 (http://teamtreehouse.com/join/free-month?utm_source=shareasale&utm_medium=affiliate&utm_campaign=shareasale-aff-program&utm_content=300x250-green-frog&cid=1086%20&SSAID=546757)
I tried treehouse but found that they didn't actually explain anything all they did was make me take everything as a given without explaining why so basically all they do is stuff you with info and I was lost when I got past the third video
Code academy on the other hand actually explained what's going on and why something is done
Title: Re: Programming for Beginners
Post by: etech0 on December 10, 2014, 08:17:59 PM
I like codecademy a lot, but found that there were some holes here and there. Code school is also pretty great (it has a monthly fee). I like the idea of learning the same thing from a few different places - one after the other. You get a more rounded knowledge of the language. I found, though, that when I do a few different websites simultaneously, I just get confused.

Another thing to look into is websites like Coursera, Udacity, and Edx. I'm in the middle of a Saas/Ruby on Rails course on Edx, and it's very intense, but really really good. A bit late to start it though...
Title: Re: Programming for Beginners
Post by: avremel on December 10, 2014, 09:23:15 PM
I tried treehouse but found that they didn't actually explain anything all they did was make me take everything as a given without explaining why so basically all they do is stuff you with info and I was lost when I got past the third video
Code academy on the other hand actually explained what's going on and why something is done

You have a point, both Ruby and Java Foundation courses have videos from about three years ago with an overload of info and no breaks in middle. However they are in the process of replacing both of those courses with better material, called Ruby Basics & Java Basics. In order to complete Rails track I had to complete the older version of the courses since the new ones aren't complete..
Title: Re: Programming for Beginners
Post by: avremel on December 10, 2014, 09:29:42 PM
I like codecademy a lot, but found that there were some holes here and there. Code school is also pretty great (it has a monthly fee). I like the idea of learning the same thing from a few different places - one after the other. You get a more rounded knowledge of the language. I found, though, that when I do a few different websites simultaneously, I just get confused.

Another thing to look into is websites like Coursera, Udacity, and Edx. I'm in the middle of a Saas/Ruby on Rails course on Edx, and it's very intense, but really really good. A bit late to start it though...

Codeschool.com seems to be recommended for intermediate level. My impression of MOOC's is that it takes much more discipline to follow a uni course that wasn't designed for an online participant, especially at beginner level, although it might be recommended for advanced students. If you are taking such a course, this is an interesting idea: https://www.edx.org/verified-certificate
Title: Re: Programming for Beginners
Post by: etech0 on December 10, 2014, 09:37:58 PM
Codeschool.com seems to be recommended for intermediate level. My impression of MOOC's is that it takes much more discipline to follow a uni course that wasn't designed for an online participant, especially at beginner level, although it might be recommended for advanced students. If you are taking such a course, this is an interesting idea: https://www.edx.org/verified-certificate
Interesting - I find that it takes more discipline to make me follow through with code school or codecademy, where there's no schedule, than a MOOC where there are specific deadlines for the HWs and quizzes, and if you don't follow through you fall behind. (Assuming that the MOOC is not too intense.)

I do think that the key is to find something that works for you, and to work consistently at it. You'll learn much more actually working through a few tutorials from almost anywhere, and/or from playing around and building something that you find useful, than from spending hours googling and looking for the perfect course website, or signing up for every course there is.

Title: Re: Programming for Beginners
Post by: avremel on December 10, 2014, 09:42:51 PM
I do think that the key is to find something that works for you, and to work consistently at it. You'll learn much more actually working through a few tutorials from almost anywhere, and/or from playing around and building something that you find useful, than from spending hours googling and looking for the perfect course website, or signing up for every course there is.

Curious to know what your background was before you started edX Rails course
Title: Re: Programming for Beginners
Post by: an613 on December 10, 2014, 10:12:16 PM
or from playing around and building something that you find useful

IME, this is what makes it or break it for most people. The thrill of building something useful and tangible that you can use and/or show people will keep you motivated.
Title: Re: Programming for Beginners
Post by: etech0 on December 10, 2014, 11:02:34 PM
IME, this is what makes it or break it for most people. The thrill of building something useful and tangible that you can use and/or show people will keep you motivated.
and if you don't use what you learn, all the courses in the world won't make you remember it
Title: Re: Programming for Beginners
Post by: elikay on December 21, 2014, 02:42:16 PM
I have very little background in programming, I do tinker around here & there so I am not a total newbie. Where do I start?
Title: Re: Programming for Beginners
Post by: etech0 on December 21, 2014, 02:57:32 PM
I have very little background in programming, I do tinker around here & there so I am not a total newbie. Where do I start?
what's your goal?
Title: Re: Programming for Beginners
Post by: elikay on December 21, 2014, 03:27:21 PM
Mid to high level knowledge of programming.
Title: Re: Programming for Beginners
Post by: Ergel on December 21, 2014, 03:50:13 PM
What language?
Title: Re: Programming for Beginners
Post by: etech0 on December 21, 2014, 04:23:25 PM
Mid to high level knowledge of programming.
what kind of programming? websites? applications? apps?
You need to have a goal - what do you want to be able to do? Then you can work on how to get there
Title: Re: Programming for Beginners
Post by: etech0 on December 21, 2014, 08:28:51 PM
an interesting read: http://lifehacker.com/programmers-what-does-it-take-to-be-a-developer-other-1671165183
Title: Re: Programming for Beginners
Post by: AnonymousUser on December 21, 2014, 09:34:52 PM
http://lifehacker.com/learn-which-programming-language-to-choose-with-this-in-1669612111
Title: Re: Programming for Beginners
Post by: etech0 on December 21, 2014, 09:58:24 PM
http://lifehacker.com/learn-which-programming-language-to-choose-with-this-in-1669612111
nice link!

you want to start out with one language, but part of being a good programmer is that once you're at a certain level, you can learn new languages fairly easily.

Note that if you want to do web programming, you'll need a basic understanding of html, css, and javascript, no matter what language you end up going with.

There's a great saas/ruby on rails/agile course on EdX, but part one just finished. They'll probably run it again in a few months.
Title: Re: Programming for Beginners
Post by: elikay on December 22, 2014, 12:30:19 AM
I would like to create apps, among other things.. I hear that Java is what  need? Someone suggested Scala.
Title: Re: Programming for Beginners
Post by: an613 on December 22, 2014, 07:51:05 AM

I would like to create apps, among other things.. I hear that Java is what  need? Someone suggested Scala.

What kind of apps? Android? iOS? Web? Enterprise?

Java is what you need for android (and enterprise) but the principles you learn with Java will apply to lots of other languages.

Scala is a "functional language" based on the same "foundation" as Java but I would not recommend you starting with a functional language bc in general it's harder to wrap your head around some that style unless you have a very high level math background.

As mentioned above, the best way to learn would be to have a project and goal in mind and then figure out what you need to know and just learn and build at the same time
Title: Re: Programming for Beginners
Post by: etech0 on December 22, 2014, 09:38:06 AM
As mentioned above, the best way to learn would be to have a project and goal in mind and then figure out what you need to know and just learn and build at the same time
And it's a lot easier to persevere when the going gets tough, if you're working on something you are actually going to use/enjoy.
Title: Re: Programming for Beginners
Post by: avromie7 on December 22, 2014, 10:25:51 AM
And it's a lot easier to persevere when the going gets tough, if you're working on something you are actually going to use/enjoy.
It's also much easier to understand and remember if you have a practical application for what you learn
Title: Re: Programming for Beginners
Post by: etech0 on December 22, 2014, 10:49:35 AM
It's also much easier to understand and remember if you have a practical application for what you learn
100%
Title: Re: Programming for Beginners
Post by: AnonymousUser on December 22, 2014, 12:46:13 PM
It's also much easier to understand and remember if you have a practical application for what you learn
Which is why I still haven't learned java for android, since I don't have any projects that I would actually have time to work on. :D
Title: Re: Programming for Beginners
Post by: AnonymousUser on December 22, 2014, 02:52:44 PM
http://lifehacker.com/this-start-to-finish-tutorial-helps-you-build-your-firs-1673414379
Title: Re: Programming for Beginners
Post by: elikay on December 22, 2014, 06:07:16 PM
What kind of apps? Android? iOS? Web? Enterprise?

Java is what you need for android (and enterprise) but the principles you learn with Java will apply to lots of other languages.

Scala is a "functional language" based on the same "foundation" as Java but I would not recommend you starting with a functional language bc in general it's harder to wrap your head around some that style unless you have a very high level math background.

As mentioned above, the best way to learn would be to have a project and goal in mind and then figure out what you need to know and just learn and build at the same time
Looking into Android programming, I am good at math and have a basic understanding of programming (though last time I programmed I was a kid and it was in QBasic :D ).
Title: Re: Programming for Beginners
Post by: etech0 on December 22, 2014, 07:27:43 PM
Looking into Android programming, I am good at math and have a basic understanding of programming (though last time I programmed I was a kid and it was in QBasic :D ).
I've never done any of that, but I'm pretty sure I've seen courses and stuff out there
Title: Re: Programming for Beginners
Post by: elikay on December 22, 2014, 09:45:43 PM
I am sure there are courses for it. Question is what language should I be focusing on, Java?
Title: Re: Programming for Beginners
Post by: an613 on December 22, 2014, 09:47:50 PM

Question is what language should I be focusing on, Java?

For android development, yes focus on Java
Title: Re: Programming for Beginners
Post by: an613 on December 23, 2014, 01:14:15 PM

For android development, yes focus on Java

And then there are all the other non code parts of programming/building an app - http://lifehacker.com/what-it-really-takes-to-be-a-professional-programmer-1674327537
Title: Re: Programming for Beginners
Post by: elikay on December 24, 2014, 09:25:57 PM
And where do I start for Java...
Title: Re: Programming for Beginners
Post by: etech0 on December 24, 2014, 09:29:14 PM
And where do I start for Java...
I've never read it (I do web programming mostly) but I've heard this book recommended:
Head First Java
http://www.amazon.com/Head-First-Java-Kathy-Sierra/dp/0596009208/
Title: Re: Programming for Beginners
Post by: bubbles on December 24, 2014, 11:19:13 PM
And where do I start for Java...

lol, looks like it's taking you just as long as it took me to get off the ground :P

Starting with Java for dummies, for now :)
Title: Re: Programming for Beginners
Post by: AnonymousUser on December 24, 2014, 11:19:31 PM
And where do I start for Java...
Java for Android for dummies.
Title: Re: Programming for Beginners
Post by: elikay on December 24, 2014, 11:54:33 PM
lol, looks like it's taking you just as long as it took me to get off the ground :P

lol, I started that and then a friend who's a programmer said I should do scala, and then I got busy and dropped it all :)
Title: Re: Programming for Beginners
Post by: elikay on December 25, 2014, 12:00:22 AM
I've never read it (I do web programming mostly) but I've heard this book recommended:
Head First Java
http://www.amazon.com/Head-First-Java-Kathy-Sierra/dp/0596009208/
Amazon reviews seem to indicate that is not for beginners.
Title: Re: Programming for Beginners
Post by: etech0 on January 18, 2015, 02:23:51 PM
If you want to try out Code School you can get 2 days free by using this link: http://go.codeschool.com/N9BcIQ
Title: Re: Programming for Beginners
Post by: Emkay on January 25, 2015, 07:24:22 AM
when embedding a youtube video into a site, how do i remove the suggested videos that pop up after? i remember doing it a couple years back but forgot how
Title: Re: Programming for Beginners
Post by: shtank on January 25, 2015, 08:30:39 AM
when embedding a youtube video into a site, how do i remove the suggested videos that pop up after? i remember doing it a couple years back but forgot how
You can actually set this in the youtube UI when you choose to embed a video, but for the straight code:
in the embed code it's a parameter right after the ? that comes after the URL. rel=0. so here's an example
src="http://www.youtube.com/embed/yadayada?rel=0"
Title: Re: Programming for Beginners
Post by: Emkay on January 25, 2015, 09:18:01 AM
You can actually set this in the youtube UI when you choose to embed a video, but for the straight code:
in the embed code it's a parameter right after the ? that comes after the URL. rel=0. so here's an example
src="http://www.youtube.com/embed/yadayada?rel=0"
Thanks
Title: Re: Programming for Beginners
Post by: shimon2go on January 27, 2015, 01:09:31 PM
Hi All!
 i found the "Head First" series of books to be the best in teaching all types of programming languages, and yes they have for java too.

This website offers free downloads to all tech related books, on their home page they have for java and android development, check it out.

http://it-ebooks.info/
Title: Re: Programming for Beginners
Post by: etech0 on January 27, 2015, 01:19:38 PM
Hi All!
 i found the "Head First" series of books to be the best in teaching all types of programming languages, and yes they have for java too.

This website offers free downloads to all tech related books, on their home page they have for java and android development, check it out.

http://it-ebooks.info/
Great resource. Can't argue with free!

Thanks!
Title: Re: Programming for Beginners
Post by: AnonymousUser on February 03, 2015, 08:29:23 PM
Grab 24 Free Ebooks to Learn a New Programming Language (http://lifehacker.com/grab-24-free-ebooks-to-learn-a-new-programming-language-1683499328)
Title: Re: Programming for Beginners
Post by: an613 on February 05, 2015, 06:34:39 AM
 http://www.vikingcodeschool.com/posts/why-learning-to-code-is-so-damn-hard
Title: Re: Programming for Beginners
Post by: etech0 on February 05, 2015, 11:07:41 AM
http://www.vikingcodeschool.com/posts/why-learning-to-code-is-so-damn-hard
Very interesting! Thanks
Title: Re: Programming for Beginners
Post by: AnonymousUser on February 07, 2015, 10:13:42 PM
http://lifehacker.com/top-10-ways-to-teach-yourself-to-code-1684250889
Title: Re: Programming for Beginners
Post by: avremel on February 11, 2015, 03:11:25 PM
Free online "bootcamps", pretty self-explanatory:

For JavaScript: http://www.freecodecamp.com
For Rails: http://www.theodinproject.com

For Javascript and Rails (coursework for a bootcamp in Portland): https://www.learnhowtoprogram.com/table-of-contents
Title: Re: Programming for Beginners
Post by: etech0 on March 01, 2015, 03:43:19 PM
http://www.vikingcodeschool.com/posts/the-beginner-s-dilemma-your-first-100-hours-of-code
Title: Re: Programming for Beginners
Post by: avremel on March 09, 2015, 04:46:15 PM
Starting in a week (good bein hazmanim project)

Runs form March 16 - April 26
https://www.coursera.org/course/webapplications

Learn how to build and deploy modern web application architectures – applications that run over the Internet, in the "cloud," using a browser as the user interface.

Ruby on Rails
Title: Re: Programming for Beginners
Post by: etech0 on March 09, 2015, 04:51:10 PM
Starting in a week (good bein hazmanim project)

Runs form March 16 - April 26
https://www.coursera.org/course/webapplications

Learn how to build and deploy modern web application architectures – applications that run over the Internet, in the "cloud," using a browser as the user interface.

Ruby on Rails
Cool!

Any idea how it compares to CS169 from edx.org?
Title: Re: Programming for Beginners
Post by: avremel on March 09, 2015, 04:53:49 PM
Cool!

Any idea how it compares to CS169 from edx.org?

nup, I would have taken CS169 but it hasn't been around for a while (although the course is accessible self paced), I prefer the time constraints of a live one
Title: Re: Programming for Beginners
Post by: etech0 on March 09, 2015, 04:55:06 PM
nup, I would have taken CS169 but it hasn't been around for a while (although the course is accessible self paced), I prefer the time constraints of a live one
I actually just finished CS169 - part one started after succos, and part 2 ended a couple of weeks ago.
One chisaron(?) is that it's based on Rails 3, and I hear that Rails 4 is somewhat different.

Have you done anything in Rails?
Title: Re: Programming for Beginners
Post by: avremel on March 09, 2015, 04:57:05 PM
I actually just finished CS169 - part one started after succos, and part 2 ended a couple of weeks ago.
One chisaron(?) is that it's based on Rails 3, and I hear that Rails 4 is somewhat different.

Have you done anything in Rails?

Tried Hartl's book and got stuck at Ch 7. So I quit for now, doing JavaScript at freecodecamp.com. I am a relative beginner...
Title: Re: Programming for Beginners
Post by: etech0 on March 09, 2015, 05:00:09 PM
Tried Hartl's book and got stuck at Ch 7. So I quit for now, doing JavaScript at freecodecamp.com. I am a relative beginner...
Nice!
I think I'm going to give this coursera course a try. (Although over pesach I don't know how much time I'll have...)

I've yet to build a real site with Rails, but it seems to be very cool. I have a couple of ideas I've been sitting on, but don't really know where to start :) Maybe this course will help.
Title: Re: Programming for Beginners
Post by: yesitsme on March 12, 2015, 02:15:24 AM
if you're building a website (or anything that relies on HTTP). HTTP/2 is on the way, built on SPDY (by google) if you use chrome chrome://net-internals/#spdy (http://chrome://net-internals/#spdy) to see it in action
= faster load time, no more sprite/inline/data-images needed, compressed headers and more
Title: Re: Programming for Beginners
Post by: etech0 on March 12, 2015, 11:17:34 AM
if you're building a website (or anything that relies on HTTP). HTTP/2 is on the way, built on SPDY (by google) if you use chrome chrome://net-internals/#spdy (http://chrome://net-internals/#spdy) to see it in action
= faster load time, no more sprite/inline/data-images needed, compressed headers and more
"This webpage is not available"
Title: Re: Programming for Beginners
Post by: BAHayman on March 12, 2015, 11:24:52 AM
"This webpage is not available"
I think SMF doesn't allow alternate protocols for [url] tags. Just add the : back after the word chrome.
Title: Re: Programming for Beginners
Post by: etech0 on March 12, 2015, 11:26:55 AM
I think SMF doesn't allow alternate protocols for [url] tags. Just add the : back after the word chrome.
Now it loaded. I have no clue what I'm looking at, though :)
Title: Re: Programming for Beginners
Post by: yesitsme on March 17, 2015, 08:05:43 PM
http://code.tutsplus.com/tutorials/object-oriented-php-for-beginners--net-12762
Title: Re: Programming for Beginners
Post by: yesitsme on March 26, 2015, 02:12:59 PM
Now it loaded. I have no clue what I'm looking at, though :)
https://developers.google.com/speed/articles/spdy-for-mobile more detailed
basically instead of waiting in line to get a request then go, the page just sends everyone at once,
Title: Re: Programming for Beginners
Post by: etech0 on March 26, 2015, 03:11:07 PM
https://developers.google.com/speed/articles/spdy-for-mobile more detailed
basically instead of waiting in line to get a request then go, the page just sends everyone at once,
Interesting!
Title: Re: Programming for Beginners
Post by: avromie7 on March 27, 2015, 06:13:49 PM
https://developers.google.com/speed/articles/spdy-for-mobile more detailed
basically instead of waiting in line to get a request then go, the page just sends everyone at once,
nice this is really cool
Title: Re: Programming for Beginners
Post by: AnonymousUser on April 07, 2015, 12:44:16 PM
Learn HTML5 from the W3C with This Free Course http://lifehacker.com/learn-html5-from-the-w3c-with-this-free-course-1696211606
Title: Re: Programming for Beginners
Post by: yesitsme on April 12, 2015, 11:48:27 PM
i didn't find a more appropriate thread to post it,
electric for beginners (http://www.allaboutcircuits.com/)
Title: Re: Programming for Beginners
Post by: etech0 on April 14, 2015, 03:46:50 PM
Hackr.io (http://Hackr.io)

Share and discover the best programming tutorials and courses online.
Title: Re: Programming for Beginners
Post by: avromie7 on April 14, 2015, 03:56:31 PM
i didn't find a more appropriate thread to post it,
electric for beginners (http://www.allaboutcircuits.com/)
Thanks for posting this I was looking for somewhere to read up about it that explains it well
Title: Re: Programming for Beginners
Post by: yesitsme on April 14, 2015, 06:58:31 PM
Thanks for posting this I was looking for somewhere to read up about it that explains it well
for reference i took it from here (http://electronics.stackexchange.com/questions/616/basic-electronics-book)
Title: Re: Programming for Beginners
Post by: AnonymousUser on April 15, 2015, 09:10:03 PM
Did anyone have advanced experience with Android programming, particularly using Android Studio? For example, Google Cloud backend, GCM, Material Design libraries, etc.
Title: Re: Programming for Beginners
Post by: yesitsme on April 16, 2015, 12:11:23 AM
Did anyone have advanced experience with Android programming, particularly using Android Studio? For example, Google Cloud backend, GCM, Material Design libraries, etc.
i used Android Studio and eclipse but not with your examples
Title: Re: Programming for Beginners
Post by: yesitsme on April 20, 2015, 01:09:50 AM
it helped me it might help you (http://cantonbecker.com/etcetera/2014/how-to-disable-wordpress-caching-at-godaddy/)
Title: Re: Programming for Beginners
Post by: avremel on April 21, 2015, 08:37:22 AM
Starting today 2 part course on cryptography;

https://www.coursera.org/course/crypto
Title: Re: Programming for Beginners
Post by: avremel on May 04, 2015, 08:37:25 PM
If anyone can help...
http://stackoverflow.com/q/30041520/4822174
Title: Re: Programming for Beginners
Post by: yesitsme on May 04, 2015, 10:48:02 PM
If anyone can help...
http://stackoverflow.com/q/30041520/4822174

Not me but....
Why are you hiding with jquery instead of css

Code: [Select]
#new, #exchange, #refund #date-select-kollel, #date-select-youth, #hour, #childre {display:none;}
And Why aren't you using
Code: [Select]
.on(change, function)
Title: Re: Programming for Beginners
Post by: yesitsme on May 04, 2015, 10:52:18 PM
is your question "how to save the selected field as selected  instead of the default selected on fail"?
Title: Re: Programming for Beginners
Post by: avremel on May 04, 2015, 10:56:36 PM
is your question "how to save the selected field as selected  instead of the default selected on fail"?

No. It retains the correct selected field but fails to display the member type specific div's.
Title: Re: Programming for Beginners
Post by: avremel on May 04, 2015, 11:00:16 PM
Not me but....
Why are you hiding with jquery instead of css

Code: [Select]
#new, #exchange, #refund #date-select-kollel, #date-select-youth, #hour, #childre {display:none;}
And Why aren't you using
Code: [Select]
.on(change, function)

I am using ".change(function()", doesn't it work the same?
For some reason modifying the css didn't work, can't recall why, I will try again.

My jQuery is very basic...
Title: Re: Programming for Beginners
Post by: yesitsme on May 04, 2015, 11:06:49 PM
No. It retains the correct selected field but fails to display the member type specific div's.

I am assuming the logic is since it's bound to change event that doesn't occur here it remains hidden

I am using ".change(function()", doesn't it work the same?
For some reason modifying the css didn't work, can't recall why, I will try again.

My jQuery is very basic...

it's the same but the old way, it's a shortcut to .on(change)
Title: Re: Programming for Beginners
Post by: yesitsme on May 04, 2015, 11:10:29 PM
maybe try
Function that toggles the div according the selected input, and on change call the function.
BTW where is your
$( document ).ready(function() {
   
});
Title: Re: Programming for Beginners
Post by: avremel on May 04, 2015, 11:12:45 PM
Thanks for the idea, I will try.
I didn't copy full JS file, I do have document ready.
Title: Re: Programming for Beginners
Post by: PraiseCanada on May 04, 2015, 11:19:01 PM
If anyone can help...
http://stackoverflow.com/q/30041520/4822174

You might want to change the identifying information in the code you post. Just a thought
Title: Re: Programming for Beginners
Post by: avremel on May 04, 2015, 11:20:52 PM
Thanks  :)
Title: Re: Programming for Beginners
Post by: BAHayman on May 05, 2015, 06:36:20 AM
Trigger the change event during document ready.

Code: [Select]
$("#form_member_type").change(function() {
    ...
}).change();
Title: Re: Programming for Beginners
Post by: yesitsme on May 05, 2015, 07:44:40 AM
Trigger the change event during document ready.

Code: [Select]
$("#form_member_type").change(function() {
    ...
}).change();

http://stackoverflow.com/questions/14984598/jquery-execute-onchange-event-on-onload
Title: Re: Programming for Beginners
Post by: BAHayman on May 05, 2015, 08:24:07 AM
http://stackoverflow.com/questions/14984598/jquery-execute-onchange-event-on-onload
That is what I said, right?
Title: Re: Programming for Beginners
Post by: avremel on May 05, 2015, 09:21:25 AM
Trigger the change event during document ready.

Code: [Select]
$("#form_member_type").change(function() {
    ...
}).change();
Thanks, it works perfectly now, how do I credit you and yesitsme in StackOverflow?
Title: Re: Programming for Beginners
Post by: BAHayman on May 05, 2015, 09:49:25 AM
Thanks, it works perfectly now, how do I credit you and yesitsme in StackOverflow?
I didn't reply with an answer on SO so can't get credit there. I believe you should accept your own answer on SO.
Title: Re: Programming for Beginners
Post by: avremel on May 05, 2015, 09:55:04 AM
Oh ok
Title: Re: Programming for Beginners
Post by: BAHayman on May 05, 2015, 10:01:34 AM
Oh ok
Quote from: StackExchange Blog
To be crystal clear, it is not merely OK to ask and answer your own question, it is explicitly encouraged. (http://blog.stackoverflow.com/2011/07/its-ok-to-ask-and-answer-your-own-questions/)
Title: Re: Programming for Beginners
Post by: avremel on May 06, 2015, 06:58:53 AM
http://www.wsj.com/articles/BL-CIOB-6998
Title: Re: Programming for Beginners
Post by: yesitsme on May 07, 2015, 12:41:48 PM
Introducing Beyond Coding, a free 10-week summer program that gives emerging computer programmers in New York City the professional skills needed to help them succeed in their first job working with code. This program is open to anybody in the New York City area who has experience and knowledge of programming, is currently looking for a job as a software developer or a related role, and who does not have access to tools, resources, or a professional network to lean upon for support.

https://www.beyondcoding.io/
Title: Re: Programming for Beginners
Post by: avremel on May 07, 2015, 12:48:21 PM
Above is for people who have technical schools, but missing communication/networking skills.

For people missing technical skills, there is an option for a full scholarship:
http://go.flatironschool.com/nyc-web-development-fellowship-application-003
Title: Re: Programming for Beginners
Post by: yesitsme on May 12, 2015, 05:14:05 PM
2 x combined shows first half 'X' blue, second half 'x' red

http://jsfiddle.net/9WWsd/236/

plugin half text css
http://jsfiddle.net/pd9yB/820/

here is his original question
http://stackoverflow.com/questions/23569441/is-it-possible-to-apply-css-to-half-of-a-character?rq=1

And this guy is weird
http://printstylesheet.com/
Title: Re: Programming for Beginners
Post by: username on May 17, 2015, 03:35:20 PM
So is the consensus here that computer programming can be self taught?
And if so, is it difficult to find employment without a formal course of study?
Title: Re: Programming for Beginners
Post by: avromie7 on May 17, 2015, 04:15:09 PM
So is the consensus here that computer programming can be self taught?
And if so, is it difficult to find employment without a formal course of study?
In technology the most important factor is your skill, although it is easier to find your first job if you have a degree after that it barely makes a difference and if you don't need to why waste your time in school for a few years if you can get right into it. Even your first job if you have something to show for yourself like a project you completed may even be better off than with a degree.
Title: Programming for Beginners
Post by: avremel on May 17, 2015, 04:20:40 PM
It takes a determination of steel to master the skills entirely on your own and reach a job ready level. Bootcamps are popular because they make you job ready by providing in demand skills (and a final project) but only take 3 months on average.
Title: Re: Programming for Beginners
Post by: yesitsme on May 17, 2015, 11:01:16 PM
What color is barack obama ? mmmm

Faded Green (http://jsfiddle.net/rBpVD/7701/)

Here is why (http://stackoverflow.com/questions/8318911/why-does-html-think-chucknorris-is-a-color?rq=1)
Title: Re: Programming for Beginners
Post by: yesitsme on May 20, 2015, 12:20:16 AM
Learn Angular free, sponsored by Goolge (http://campus.codeschool.com/courses/shaping-up-with-angular-js/)
Title: Re: Programming for Beginners
Post by: avremel on May 20, 2015, 10:08:58 AM

Learn Angular free, sponsored by Goolge (http://campus.codeschool.com/courses/shaping-up-with-angular-js/)

Thanks for link, will definitely check it out.
Title: Re: Programming for Beginners
Post by: ADG on May 20, 2015, 01:52:21 PM
https://www.udacity.com/course/introduction-to-programming-nanodegree--nd000

can anyone comment on the course, institution or the nano degree they are referring to.

My goal is to acquire  skills that will help me make more money, job stability ,and understanding of the industry even if im not a pro 
TIA
Title: Re: Programming for Beginners
Post by: avremel on May 20, 2015, 05:40:08 PM
https://www.udacity.com/course/introduction-to-programming-nanodegree--nd000

can anyone comment on the course, institution or the nano degree they are referring to.

My goal is to acquire  skills that will help me make more money, job stability ,and understanding of the industry even if im not a pro 
TIA

Curious what skills you have already?
Title: Re: Programming for Beginners
Post by: avremel on May 20, 2015, 07:50:00 PM
Weird bug I have been experiencing:
http://stackoverflow.com/questions/30360720/posting-base64-string-on-android
Title: Re: Programming for Beginners
Post by: brooklyndev on May 20, 2015, 09:58:01 PM
Apologies ahead of time if this isn't the right place for this post.

For anyone interested, I offer a computer programming course in Lakewood. This is a course geared for complete beginners with no prior programming experience. See the attached ad for more info. I can be reached via email at info@lakewoodprogramming.com or by phone at (732) 290-5703.

(http://cl.ly/image/001z3b1D3t0q/lit.png)



Thank you!
Title: Re: Programming for Beginners
Post by: yesitsme on May 20, 2015, 10:21:45 PM
Weird bug I have been experiencing:
http://stackoverflow.com/questions/30360720/posting-base64-string-on-android
the problem is only from a mobile device, that it doesn't produce a valid data string, the same page works on a PC correctly?
did you try on different android browsers to see a difference chrome/vanilla etc.
Title: Re: Programming for Beginners
Post by: avremel on May 20, 2015, 10:24:03 PM

the problem is only from a mobile device, that it doesn't produce a valid data string, the same page works on a PC correctly?
did you try on different android browsers to see a difference chrome/vanilla etc.

The same string submitted on my tablet won't produce an image on my laptop. If submitted on laptop it is viewable on tablet.

I tried Chrome, Mozilla and Opera Mini.
Title: Re: Programming for Beginners
Post by: yesitsme on May 20, 2015, 11:40:27 PM
I checked your string here

http://www.opinionatedgeek.com/dotnet/tools/base64decode/

it was not valid.

it's not modified base64 so the bellow wouldn't help you
{so maybe this
http://stackoverflow.com/a/15114175/4535386

applies to you as well}
Title: Re: Programming for Beginners
Post by: avremel on May 21, 2015, 11:56:47 AM
I checked your string here

http://www.opinionatedgeek.com/dotnet/tools/base64decode/

it was not valid.

it's not modified base64 so the bellow wouldn't help you
{so maybe this
http://stackoverflow.com/a/15114175/4535386

applies to you as well}

Even my valid base64 strings (that successfully create an image), throw this error on his website:
"The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters."

Also my string has only "+" and "/" so the stack overflow question won't help me  :( ....

I am beginning to think this might have to do with how JavaScript deals with ".toDataURL()" but am not sure how.
Title: Re: Programming for Beginners
Post by: ADG on May 21, 2015, 12:02:28 PM
Curious what skills you have already?

in programming...  none
Title: Re: Programming for Beginners
Post by: avremel on May 21, 2015, 12:07:22 PM
in programming...  none

Why don't you first learn JavaScript or Ruby on codecademy.com to get a feel for what it's like. Codecademy is highly recommended by many people. There is a lot of handholding, but that's the only way to start. Only afterwards will you be prepared for more intense courses, and for general deep diving.
Title: Re: Programming for Beginners
Post by: ADG on May 21, 2015, 12:54:41 PM
Why don't you first learn JavaScript or Ruby on codecademy.com to get a feel for what it's like. Codecademy is highly recommended by many people. There is a lot of handholding, but that's the only way to start. Only afterwards will you be prepared for more intense courses, and for general deep diving.

Thanks for your input
Title: Re: Programming for Beginners
Post by: yesitsme on May 25, 2015, 11:55:36 PM
avremel you found a solution ? I see you deleted the question on stack.
Title: Re: Programming for Beginners
Post by: avremel on May 26, 2015, 04:50:51 PM
avremel you found a solution ? I see you deleted the question on stack.

I recoded the relevant parts from scratch and the issue went away, I am not sure why it started to work, so I deleted the question
Title: Re: Programming for Beginners
Post by: yesitsme on May 27, 2015, 11:09:40 AM
http://updates.html5rocks.com/2015/03/push-notificatons-on-the-open-web
 (http://updates.html5rocks.com/2015/03/push-notificatons-on-the-open-web)
Web notifications for chrome and android

Demo (https://simple-push-demo.appspot.com/)
Title: Re: Programming for Beginners
Post by: avremel on June 01, 2015, 08:54:36 AM
Fundamentals of Computing - Specialization from Coursera. I guess it is the same idea as Udacity's nano degree. First course started a week ago, signature track (verify identity of student) certificate is $49 for each course (6 courses total).

https://www.coursera.org/specialization/fundamentalscomputing2/37

Title: Re: Programming for Beginners
Post by: yesitsme on June 02, 2015, 01:26:27 PM
Go To

stackoverflow tags (http://stackoverflow.com/tags)

choose the language you have interest in

then select info the most left tab, many resources to learn.
Title: Re: Programming for Beginners
Post by: etech0 on June 09, 2015, 10:12:25 PM
random tip: if you ever want to take a course from Udemy, first do the free preview, then wait a day or two. You may get a nice coupon via email.
Title: Re: Programming for Beginners
Post by: User6669 on June 10, 2015, 11:57:24 PM
random tip: if you ever want to take a course from Udemy, first do the free preview, then wait a day or two. You may get a nice coupon via email.

+1 Had that in the past.
Title: Re: Programming for Beginners
Post by: etech0 on June 16, 2015, 10:19:18 AM
from Code School:

Quote
We're excited to announce the launch of JavaScript.com — a free resource built by the Code School team for the JavaScript community. This site is geared toward teaching aspiring programmers, as well as keeping existing developers up to date with the latest JavaScript news, frameworks, and libraries. We hope you'll find it a helpful resource in your JavaScript journey.
Want to learn more about why we created this site? Read the blog post from Gregg Pollack (https://www.codeschool.com/blog/2015/06/16/announcing-javascript-com/) now, or go straight to JavaScript.com and explore for yourself.
Title: Re: Programming for Beginners
Post by: JoeyShmoe on June 16, 2015, 10:24:33 AM
from Code School:

This sounds interesting!
Title: Re: Programming for Beginners
Post by: yesitsme on June 16, 2015, 11:40:38 AM
from Code School:
https://www.codeschool.com/blog/2015/06/16/announcing-javascript-com/

https://www.javascript.com/
Title: Programming for Beginners
Post by: avremel on June 16, 2015, 03:17:04 PM
Yet another teaser to get traffic to Code School. Freecodecamp.com is a great resource which as the name suggests actually covers a JavaScript curriculum for free, conveniently omitted from their resource page. Plurasight is their parent company, CodeCademy and free online books are no competition to them.
Title: Re: Programming for Beginners
Post by: yesitsme on June 16, 2015, 03:20:47 PM
http://javascript.info/  very useful
Title: Re: Programming for Beginners
Post by: etech0 on June 16, 2015, 03:34:58 PM
Yet another teaser to get traffic to Code School. Freecodecamp.com is a great resource which as the name suggests actually covers a JavaScript curriculum for free, conveniently omitted from their resource page. Plurasight is their parent company, CodeCademy and free online books are no competition to them.
I'm not totally following your post. Are you saying that freecodecamp is better than codecademy?
Title: Re: Programming for Beginners
Post by: avremel on June 16, 2015, 03:46:08 PM
Freecodecamp has a much more comprehensive curriculum (which also includes codecademy). Freecodecademy is offering a very similar product to code school but for free.
Title: Re: Programming for Beginners
Post by: etech0 on June 16, 2015, 04:14:51 PM
Freecodecamp has a much more comprehensive curriculum (which also includes codecademy). Freecodecademy is offering a very similar product to code school but for free.
cool, thanks
Title: Re: Programming for Beginners
Post by: yesitsme on June 17, 2015, 01:57:30 AM
This guy  (http://www.theyeshivaworld.com/classifieds/ads/seeking-professors/)is looking for a one man band, anyone here know all this?

Quote
Java, SQL, Java JDBC, HTML/ CSS, PHP, Java Script, Nodel JS, Mango DB, Android. The individual should have significant experience in the subject matter
Title: Re: Programming for Beginners
Post by: JoeyShmoe on June 17, 2015, 09:16:14 AM
They don't even know how to spell half the stuff they want
Title: Re: Programming for Beginners
Post by: yesitsme on June 17, 2015, 12:05:58 PM
They don't even know how to spell half the stuff they want
LOL
I know mango and noodle ;D
Title: Re: Programming for Beginners
Post by: etech0 on June 17, 2015, 12:08:57 PM
LOL
I know mango and noodle ;D
Is this a new kind of salad?
Title: Re: Programming for Beginners
Post by: avremel on June 17, 2015, 12:09:41 PM

Is this a new kind of salad?

He is looking for someone to thread a nodel
Title: Re: Programming for Beginners
Post by: yesitsme on June 17, 2015, 12:15:35 PM
He is looking for someone to thread a nodel
this http://museumvictoria.github.io/nodel/ ?
Title: Re: Programming for Beginners
Post by: avremel on June 17, 2015, 12:17:08 PM

this http://museumvictoria.github.io/nodel/ ?

I actually meant needle in yiddish
Title: Re: Programming for Beginners
Post by: JoeyShmoe on June 17, 2015, 12:21:49 PM
The underlying issue here IMO is that they don't even need somebody that know all of that, they're just using buzzwords, and this will prevent the right person from getting the job
Title: Re: Programming for Beginners
Post by: yudamaan on June 17, 2015, 11:40:42 PM
Does anyone know of any computer programming courses in Lakewood? Thank you
Title: Re: Programming for Beginners
Post by: avromie7 on June 17, 2015, 11:55:55 PM
Does anyone know of any computer programming courses in Lakewood? Thank you
PCS?
Title: Re: Programming for Beginners
Post by: bubbles on June 18, 2015, 12:08:50 AM
Does anyone know of any computer programming courses in Lakewood? Thank you

Apologies ahead of time if this isn't the right place for this post.

For anyone interested, I offer a computer programming course in Lakewood. This is a course geared for complete beginners with no prior programming experience. See the attached ad for more info. I can be reached via email at info@lakewoodprogramming.com or by phone at (732) 290-5703.

(http://cl.ly/image/001z3b1D3t0q/lit.png)



Thank you!
Title: Re: Programming for Beginners
Post by: yesitsme on June 18, 2015, 12:15:47 AM
http://www.pcsnynj.org/educational-services/internet-software-development/

Quote
For more information contact

Raizy Perl
raizy@nj.pcsjobs.org
732-905-9700 x606

after they get someone for
This guy  (http://www.theyeshivaworld.com/classifieds/ads/seeking-professors/)is looking for a one man band, anyone here know all this?

they might have something
Title: Re: Programming for Beginners
Post by: yitzf on June 18, 2015, 12:39:01 AM
This week's Bloomberg Business Week is entirely dedicated to programing/coding/languages
Title: Re: Programming for Beginners
Post by: avremel on June 18, 2015, 09:27:01 AM

This week's Bloomberg Business Week is entirely dedicated to programing/coding/languages

http://www.bloomberg.com/graphics/2015-paul-ford-what-is-code/
Title: Re: Programming for Beginners
Post by: avremel on June 18, 2015, 09:28:21 AM
Great links for creating a CS degree out of MOOC's

http://blog.agupieware.com/2014/05/online-learning-bachelors-level.html?m=1

http://blog.agupieware.com/2014/06/online-learning-intensive-bachelors.html?m=1
Title: Re: Programming for Beginners
Post by: yesitsme on June 18, 2015, 07:23:58 PM
http://www.1keydata.com/

have anything beter for SQL?
Title: Re: Programming for Beginners
Post by: yesitsme on June 19, 2015, 01:17:47 PM
whats a good resource to see all the differences between jet/ace vs mysql (MS access vs oracle)
Title: Re: Programming for Beginners
Post by: BAHayman on June 20, 2015, 10:49:58 PM
Not really programming nor for beginners, but an interesting video about the complexity of searching for airfare.


The Airfare Search Problem:


Title: Re: Programming for Beginners
Post by: yesitsme on June 21, 2015, 06:22:13 PM
http://www.1keydata.com/

have anything beter for SQL?

whats a good resource to see all the differences between jet/ace vs mysql (MS access vs oracle)

Bump
Title: Re: Programming for Beginners
Post by: etech0 on June 24, 2015, 01:47:17 PM
Maybe someone can help me with this html email...

I created a responsive html email. When I view the html file I created, the image shrinks when I shrink the browser window. However, when I send the email, it's no longer responsive, and the image doesn't shrink when I shrink the gmail or outlook window.

Any ideas?

Here's the image:
Code: [Select]
<td align="center">
<img src="https://lh3.googleusercontent.com/xxxxxxx" width="800" border="0" class="img-max" style="display: block; padding: 0;  text-decoration: none; font-family: Helvetica, arial, sans-serif; font-size: 16px;"  alt="Happy Birthday!" />
</td>

And the CSS from the top of the file:
Code: [Select]
<style type="text/css">
body {margin: 10px 0; padding: 0 10px; background: #FFFFFF; }
table {border-collapse: collapse;}
@media only screen and (max-width: 800px) {
body,table,td,p,a,li,blockquote {
-webkit-text-size-adjust:none !important;
}
table {width: 100% !important;}
img[class="img-max"] {
width:100% !important;
height: auto !important;
}
}
</style>

Thanks!
Title: Re: Programming for Beginners
Post by: JoeyShmoe on June 24, 2015, 02:06:23 PM
Maybe someone can help me with this html email...

HTML email is a very finicky subject, AFAIK getting it to be responsive is nearly impossible, I spent a lot of time fighting it and never actually really won (had to have a marketing team change their template, so I guess this is a partial win :)). A good resource I bookmarked a while ago is https://www.campaignmonitor.com/css/, I think this is as thorough as it can get
Title: Re: Programming for Beginners
Post by: etech0 on June 24, 2015, 02:10:33 PM
HTML email is a very finicky subject, AFAIK getting it to be responsive is nearly impossible, I spent a lot of time fighting it and never actually really won (had to have a marketing team change their template, so I guess this is a partial win :)). A good resource I bookmarked a while ago is https://www.campaignmonitor.com/css/, I think this is as thorough as it can get
TY

looks like that link is a website that makes the emails for you, and then charges you to send them. Will they help me make and send my own?
Title: Re: Programming for Beginners
Post by: JoeyShmoe on June 24, 2015, 02:13:19 PM
TY

looks like that link is a website that makes the emails for you, and then charges you to send them. Will they help me make and send my own?

I've never used the service, but if you scroll down there's a very comprehensive list of all the elements/selectors/properties etc. that you can use and which major email client it'll work with
Title: Re: Programming for Beginners
Post by: etech0 on June 24, 2015, 02:20:39 PM
I've never used the service, but if you scroll down there's a very comprehensive list of all the elements/selectors/properties etc. that you can use and which major email client it'll work with
thanks!

is there another way to say "display:block" that'll work better?
Title: Re: Programming for Beginners
Post by: JoeyShmoe on June 24, 2015, 02:25:21 PM
thanks!

is there another way to say "display:block" that'll work better?

Why are you trying to set an image that is in its own table cell as display:block? IMHO there's no need for it (except if I'm missing something)
Title: Re: Programming for Beginners
Post by: etech0 on June 24, 2015, 02:36:02 PM
Why are you trying to set an image that is in its own table cell as display:block? IMHO there's no need for it (except if I'm missing something)
No clue (I copied an example email from some website). I just thought that maybe that was why it's not responsive in gmail or outlook.
Title: Re: Programming for Beginners
Post by: JoeyShmoe on June 24, 2015, 02:43:44 PM
No clue (I copied an example email from some website). I just thought that maybe that was why it's not responsive in gmail or outlook.

Can you please try to change your img to this?
Code: [Select]
<img src="https://lh3.googleusercontent.com/xxxxxxx" style="width: 100%;height: auto"  alt="Happy Birthday!" />

For starters you have some text specific styling in there, it won't do anything in an image. I also removed the width="800" since that's being changed in the style. I also removed the class so that the style is inline (and removed the !important, you should try to never have to use that).

What this should hopefully do is have the image always be 100%. I don't think you can do a media query in email, so it's either always 100% or always 800px (with the former being more responsive)
Title: Re: Programming for Beginners
Post by: etech0 on June 24, 2015, 03:08:59 PM
Can you please try to change your img to this?
Code: [Select]
<img src="https://lh3.googleusercontent.com/xxxxxxx" style="width: 100%;height: auto"  alt="Happy Birthday!" />

For starters you have some text specific styling in there, it won't do anything in an image. I also removed the width="800" since that's being changed in the style. I also removed the class so that the style is inline (and removed the !important, you should try to never have to use that).

What this should hopefully do is have the image always be 100%. I don't think you can do a media query in email, so it's either always 100% or always 800px (with the former being more responsive)
I just tried that, but it's still not responsive! I also tried taking out the media queries altogether, but still no dice.
Any other ideas? Or should I just give up?
Title: Re: Programming for Beginners
Post by: JoeyShmoe on June 24, 2015, 03:34:11 PM
I just tried that, but it's still not responsive! I also tried taking out the media queries altogether, but still no dice.
Any other ideas? Or should I just give up?

I stopped coding emails a while ago, so I gave you all the knowledge in this specific field that I have :), if you want to read through this (https://www.campaignmonitor.com/dev-resources/guides/mobile/) it's from the same website as the one I sent you to before. Hatzlacha
Title: Re: Programming for Beginners
Post by: etech0 on June 24, 2015, 03:44:19 PM
I stopped coding emails a while ago, so I gave you all the knowledge in this specific field that I have :), if you want to read through this (https://www.campaignmonitor.com/dev-resources/guides/mobile/) it's from the same website as the one I sent you to before. Hatzlacha
Will do. Thanks for your help!
Title: Re: Programming for Beginners
Post by: chucksterace on June 29, 2015, 08:46:03 PM
Anyone here every try out turning a sentence into pig latin?

in Java
Title: Re: Programming for Beginners
Post by: yesitsme on June 29, 2015, 11:31:17 PM
Anyone here every try out turning a sentence into pig latin?

in Java
Code: [Select]
import java.util.Scanner;
public class PigLatin
{
    public static void main(String[] args)
    {
        Scanner sc = new Scanner(System.in);
        final String vowels = "aeiouAEIOU";
        System.out.println("Enter your word.");
        String word = sc.nextLine();
        while (!word.equalsIgnoreCase("done"))
        {
            String beforVowel = "";
            int cut = 0;
            while (cut < word.length() && !vowels.contains("" + word.charAt(cut)))
            {
                beforVowel += word.charAt(cut);
                cut++;
            }
            if (cut == 0)
            {
                cut = 1;
                word += word.charAt(0) + "w";
            }
            System.out.println(word.substring(cut) + beforVowel + "ay");
            System.out.println("Enter your word.");
            word = sc.nextLine();
        }
    }
}

http://stackoverflow.com/a/22420264/4535386 (http://stackoverflow.com/a/22420264/4535386)
Title: Re: Programming for Beginners
Post by: yesitsme on July 02, 2015, 07:53:46 AM
whats a good resource to see all the differences between jet/ace vs mysql (MS access vs oracle)
I helped myself the Key words to Google is "ms acess sql"
Title: Re: Programming for Beginners
Post by: yesitsme on July 15, 2015, 12:50:36 AM
RTF?? anybody

http://www.pindari.com/rtf1.html
Title: Re: Programming for Beginners
Post by: etech0 on July 23, 2015, 10:32:07 AM
http://www.makeuseof.com/tag/learn-programming-without-stress/
Title: Re: Programming for Beginners
Post by: etech0 on September 02, 2015, 06:37:33 PM
http://lifehacker.com/plan-your-free-online-education-at-lifehacker-u-fall-s-1728137402
Title: Re: Programming for Beginners
Post by: yesitsme on September 02, 2015, 08:32:24 PM
http://explainshell.com/

http://www.shellcheck.net/

http://mywiki.wooledge.org/BashPitfalls#pf10

http://stackoverflow.com/tags/bash/info

http://www.gnu.org/software/bash/manual/bash.html#Introduction
Title: Re: Programming for Beginners
Post by: etech0 on September 02, 2015, 09:03:43 PM
http://explainshell.com/

http://www.shellcheck.net/

http://mywiki.wooledge.org/BashPitfalls#pf10

http://stackoverflow.com/tags/bash/info

http://www.gnu.org/software/bash/manual/bash.html#Introduction
hmmm, what are you learning today?
:)
Title: Re: Programming for Beginners
Post by: yesitsme on September 02, 2015, 09:11:18 PM
hmmm, what are you learning today?
:)
Looking for a Chavrusa (https://www.codecademy.com/yesitsme/codebits/YuI3AP)?
Title: Re: Programming for Beginners
Post by: etech0 on September 02, 2015, 09:21:01 PM
Looking for a Chavrusa (https://www.codecademy.com/yesitsme/codebits/YuI3AP)?
VERY  cool!

I'm actually looking for more time to spend on this stuff :). Maybe one day!

You're using linux?
Title: Re: Programming for Beginners
Post by: etech0 on September 02, 2015, 09:24:23 PM
PS: https://www.codecademy.com/users/etech0/achievements
Title: Re: Programming for Beginners
Post by: AnonymousUser on September 05, 2015, 10:55:26 PM
Does anyone know of a cloud-based headless browser that can be controlled programmatically?
Title: Re: Programming for Beginners
Post by: churnbabychurn on September 05, 2015, 11:58:12 PM
How about visual basic (for excel), or the regular VB.

Not sure what excel it is we are talking about.

@AJK : Excel is wow, but a problem they have is that in version changes even simple formulas, the replace "," by ";" and so on.
Bump!

No one really addressed vba specifically in this thread.

What language is vba from- Like which language should I learn well if I want to really know how to write vba for excel?

I'm not interested in becoming a whole programmer, but I do use excel and basic macros a lot. - How can I really learn this besides using Google ?
Title: Re: Programming for Beginners
Post by: SuperFlyer on September 06, 2015, 01:24:55 AM
VBA = visual basic. That's the language
Title: Re: Programming for Beginners
Post by: churnbabychurn on September 06, 2015, 01:52:47 AM
VBA = visual basic. That's the language
So how come I don't see any of these courses on vb? Is it really part of something else?
Title: Re: Programming for Beginners
Post by: an613 on September 06, 2015, 01:53:58 AM

Does anyone know of a cloud-based headless browser that can be controlled programmatically?

What do you mean by cloud based?

Selenium is headless, you can setup a grid on remote servers, and you can use it from a whole bunch of languages 
Title: Re: Programming for Beginners
Post by: an613 on September 06, 2015, 01:56:44 AM

So how come I don't see any of these courses on vb? Is it really part of something else?

Not sure what you're referring to by "these courses" but it's only really used for excel macros nowadays so may not be worth it
Title: Re: Programming for Beginners
Post by: SuperFlyer on September 06, 2015, 02:00:00 AM
Not true, many advanced functions are dealt with VBA
There is a simplified VBA for excel
Title: Re: Programming for Beginners
Post by: MosheD on September 06, 2015, 02:45:08 AM
Anyone here heard of cs50?
It was recomended to me by a friend
Title: Re: Programming for Beginners
Post by: yesitsme on September 06, 2015, 02:51:23 AM
http://stackoverflow.com/tags/vb6/info

http://stackoverflow.com/tags/vba/info

http://stackoverflow.com/tags/vb.net/info

http://stackoverflow.com/q/993300/4535386

So how come I don't see any of these courses on vb? Is it really part of something else?
http://lmgtfy.com/?q=vb+tutorial
Title: Re: Programming for Beginners
Post by: BAHayman on September 06, 2015, 03:12:17 AM
VBA is Visual Basic for Applications and is included in the Office suite. It is pretty much VB6 which is a very old and outdated language which is why you won't find courses for it. You may find VBA courses though.

https://en.m.wikipedia.org/wiki/Visual_Basic_for_Applications
Title: Re: Programming for Beginners
Post by: churnbabychurn on September 06, 2015, 08:20:33 AM
VBA is Visual Basic for Applications and is included in the Office suite. It is pretty much VB6 which is a very old and outdated language which is why you won't find courses for it. You may find VBA courses though.

https://en.m.wikipedia.org/wiki/Visual_Basic_for_Applications
Excuse my ignorance.
Which language is windows written in? Which language would be used to write programs that run within windows and are compatible with office?
Title: Re: Programming for Beginners
Post by: yoshyosh on September 06, 2015, 08:53:08 AM
Excuse my ignorance.
Which language is windows written in? Which language would be used to write programs that run within windows and are compatible with office?
any? Maybe c# https://msdn.microsoft.com/en-us/library/kx37x362.aspx
Title: Re: Programming for Beginners
Post by: AnonymousUser on September 06, 2015, 09:37:35 AM
Anyone here heard of cs50?
It was recomended to me by a friend
I started it. It's geared to beginners, and he does a great job explaining everything. I dropped it because it was too low is a level for me.
Excuse my ignorance.
Which language is windows written in? Which language would be used to write programs that run within windows and are compatible with office?

any? Maybe c# https://msdn.microsoft.com/en-us/library/kx37x362.aspx
Or VB.NET
Title: Re: Programming for Beginners
Post by: AnonymousUser on September 06, 2015, 10:05:30 AM
What do you mean by cloud based?

Selenium is headless, you can setup a grid on remote servers, and you can use it from a whole bunch of languages
I'm looking for something that is entirely cloud based, and is interfaced extremely through HTTP calls. I need something that can be accessed by Google Scripts.
CMIIW, but even Selenium WebDriver runs in a local OS, just like all the other headless browsers, like Casper, Phantom, etc.
Title: Re: Programming for Beginners
Post by: yitzf on September 06, 2015, 11:19:10 AM
Bump!

No one really addressed vba specifically in this thread.

What language is vba from- Like which language should I learn well if I want to really know how to write vba for excel?

I'm not interested in becoming a whole programmer, but I do use excel and basic macros a lot. - How can I really learn this besides using Google ?

Here you go...

For an intro to VBA there is a course taught at Cal Poly Pomona and available here https://www.youtube.com/playlist?list=PLZOZfX_TaWAGg2uE_E7fz5SCrHhMaKw8j (https://www.youtube.com/playlist?list=PLZOZfX_TaWAGg2uE_E7fz5SCrHhMaKw8j)

It's short clips that are easy to follow, but from what I watched are little theoretical, so if your a hands on learner, you might get a little board. But it's definitely the place to start.

If you want to jump right in, watch the VBAisFun channel on YouTube, he has a beginners playlist, and each video is a hands on example of of something he's trying to accomplish with VBA.
Only downside is that once you actually start coding , you'll realize that 90% of your time will be spent debugging (at least in the beginning), and the more of the [boring] fundamentals you know (for eg. data types) the easier it will be to debug.

For an amazing and comprehensive course on getting started with VBA (and beyond) watch the Excel VBA introduction playlist from WiseOwl tutorials https://www.youtube.com/watch?v=KHO5NIcZAc4&list=PLNIs-AWhQzckr8Dgmgb3akx_gFMnpxTN5 (https://www.youtube.com/watch?v=KHO5NIcZAc4&list=PLNIs-AWhQzckr8Dgmgb3akx_gFMnpxTN5)

He's very clear and thorough giving you the fundamentals and hands on examples. Downside is that each section is 40+ minutes.

If you're just starting out with programming, I would watch the first few lectures of CS50 just to get some background in computer science (bits, memory etc.)
Title: Re: Programming for Beginners
Post by: etech0 on September 06, 2015, 11:20:56 AM
There's also VBA for Dummies
http://www.amazon.com/Excel-VBA-Programming-For-Dummies/dp/1118490371
Title: Re: Programming for Beginners
Post by: yitzf on September 06, 2015, 11:32:50 AM
There's also VBA for Dummies
http://www.amazon.com/Excel-VBA-Programming-For-Dummies/dp/1118490371
Good book for reference, but IME it's very hard to learn programming from a book without seeing it in action, or by working on a project as you go through the book. Otherwise its all theoretical and at least for me is very hard to retain .
Title: Re: Programming for Beginners
Post by: yitzf on September 06, 2015, 11:34:53 AM
It would also help to get a rudimentary understanding of what is object oriented programming. That way you'll understand the syntax much better.
Title: Re: Programming for Beginners
Post by: churnbabychurn on September 06, 2015, 01:41:06 PM
It would also help to get a rudimentary understanding of what is object oriented programming. That way you'll understand the syntax much better.
Yup thanks!
I'll  def check out those videos you posted to start.

I feel like the best way to learn for me would be by actually writing and playing w it. - Like they have on some of the code teaching sites..
Title: Re: Programming for Beginners
Post by: etech0 on September 06, 2015, 02:10:13 PM
Yup thanks!
I'll  def check out those videos you posted to start.

I feel like the best way to learn for me would be by actually writing and playing w it. - Like they have on some of the code teaching sites..
You can definitely start playing around in excel. A good way to learn how to do some things is by recording macros and then looking at the code. You can also view excel and the VB Editor side by side, and step through the code one line at a time to see what each line does.
Title: Re: Programming for Beginners
Post by: churnbabychurn on September 06, 2015, 02:21:55 PM


You can definitely start playing around in excel. A good way to learn how to do some things is by recording macros and then looking at the code. You can also view excel and the VB Editor side by side, and step through the code one line at a time to see what each line does.

Yeah I do all that.. I wanted a full course program like they have for java or ruby But it looks like its more Google/utube learning type of thing.
Title: Re: Programming for Beginners
Post by: etech0 on September 06, 2015, 02:24:02 PM

Yeah I do all that.. I wanted a full course program like they have for java or ruby But it looks like its more Google/utube learning type of thing.
maybe this? https://www.udemy.com/microsoft-excel-vba/
Title: Re: Programming for Beginners
Post by: yitzf on September 06, 2015, 02:25:45 PM

Yeah I do all that.. I wanted a full course program like they have for java or ruby But it looks like its more Google/utube learning type of thing.
The WiseOwl playlist is pretty much a full fledged course. There are 41 videos, each on a different topic, starting from the beginning and they build on each other. The only thing it doesn't have is the hands on practice you'll get at code academy.
Title: Re: Programming for Beginners
Post by: MosheD on September 06, 2015, 08:15:27 PM


I started it. It's geared to beginners, and he does a great job explaining everything. I dropped it because it was too low is a level for me.
I guess I'm a Noob.
It's totally on my level
Title: Re: Programming for Beginners
Post by: etech0 on September 06, 2015, 08:17:47 PM
I guess I'm a Noob.
It's totally on my level
gotta start somewhere
don't forget we were all noobs once!
Title: Re: Programming for Beginners
Post by: MosheD on September 06, 2015, 08:20:50 PM
gotta start somewhere
I hope there are no "super secrets" I'm programing that the noobs kill
Title: Re: Programming for Beginners
Post by: etech0 on September 06, 2015, 08:24:53 PM
I hope there are no "super secrets" I'm programing that the noobs kill
just the ups method  :D

[kidding]

it's a definite maila of getting a real job over MS!
Title: Re: Programming for Beginners
Post by: AnonymousUser on September 20, 2015, 09:50:31 AM
Can anyone recommend a code editor for HTML/CSS/JS?
I'm looking for the following features: code completion, object browser, online help, debugging, WYSIWYG editor.
And of course, free.  ;)
Title: Re: Programming for Beginners
Post by: etech0 on September 20, 2015, 10:25:23 AM
Can anyone recommend a code editor for HTML/CSS/JS?
I'm looking for the following features: code completion, object browser, online help, debugging, WYSIWYG editor.
And of course, free.  ;)
Sublime Text doesn't do wsiwyg, but it's GREAT!
If you decide to go with it, subscribe to http://sublimetexttips.com/ for great tips and extensions.
Title: Re: Programming for Beginners
Post by: JoeyShmoe on September 20, 2015, 12:51:59 PM
Sublime Text doesn't do wsiwyg, but it's GREAT!
If you decide to go with it, subscribe to http://sublimetexttips.com/ for great tips and extensions.
It doesn't do debugging, you would need an IDE (Integrated Development Environment) for that, but I don't think there's much use for debugging HTML/CSS/JS

I do use and definitely recommend sublime text though
Title: Re: Programming for Beginners
Post by: etech0 on September 20, 2015, 12:55:10 PM
It doesn't do debugging, you would need an IDE (Integrated Development Environment) for that, but I don't think there's much use for debugging HTML/CSS/JS

I do use and definitely recommend sublime text though
Do you use Emmet?
Title: Re: Programming for Beginners
Post by: JoeyShmoe on September 20, 2015, 12:55:48 PM
Do you use Emmet?
Kinda, never fully got used to it
Title: Re: Programming for Beginners
Post by: etech0 on September 20, 2015, 12:58:27 PM
Kinda, never fully got used to it
I installed it but never got into it. I feel like I should, though. :)
Title: Re: Programming for Beginners
Post by: an613 on September 20, 2015, 01:30:32 PM
Let the flame wars begin!

What frameworks? For debugging, chrome devtools is fantastic. Also pretty handy wsiwyg for css and JS.

Just my humble opinion, but if you're gonna be doing it professionally, splurge for IntelliJ IDEA ultimate edition - you'll make your money back In a week with the amount of time you will save from the built in code completion, refactoring, etc. community edition is free but doesn't have as many plugins for frameworks (angular, etc). If you're doing backend there are plugins for basically every language so very helpful to have your backend services in the same ide.

I've tried using sublime but was never able to get into a good workflow
Title: Re: Programming for Beginners
Post by: AnonymousUser on September 21, 2015, 11:25:53 AM
It doesn't do debugging, you would need an IDE (Integrated Development Environment) for that, but I don't think there's much use for debugging HTML/CSS/JS
With HTML/CSS I agree, because they are markup languages, not scripting or programming languages, so nothing changes, and there are no steps. With JS, I'm not sure why you're saying that. It's a scripting/programming language like any other, and need to be debugged. I've spent many hours debugging the JS of the web page I'm working on.
Let the flame wars begin!

What frameworks? For debugging, chrome devtools is fantastic. Also pretty handy wsiwyg for css and JS.

Just my humble opinion, but if you're gonna be doing it professionally, splurge for IntelliJ IDEA ultimate edition - you'll make your money back In a week with the amount of time you will save from the built in code completion, refactoring, etc. community edition is free but doesn't have as many plugins for frameworks (angular, etc). If you're doing backend there are plugins for basically every language so very helpful to have your backend services in the same ide.
I'm not currently using any frameworks; the stuff I'm working on isn't very high level. I just need something for basic JS and how it interacts with the DOM.
For debugging, chrome devtools is fantastic. Also pretty handy wsiwyg for css and JS.
That's what I'm currently using, but I'd prefer to have an editor and debugger together.
What do you mean by "pretty handy wsiwyg for css and JS"?
Title: Re: Programming for Beginners
Post by: JoeyShmoe on September 21, 2015, 11:28:38 AM
With HTML/CSS I agree, because they are markup languages, not scripting or programming languages, so nothing changes, and there are no steps. With JS, I'm not sure why you're saying that. It's a scripting/programming language like any other, and need to be debugged. I've spent many hours debugging the JS of the web page I'm working on.
AFAIK and CMIIW you can't debug JS in an IDE, since it isn't executed server side only client side, you'd have to debug it on the browser.
Title: Re: Programming for Beginners
Post by: etech0 on September 21, 2015, 11:29:26 AM
AFAIK and CMIIW you can't debug JS in an IDE, since it isn't executed server side only client side, you'd have to debug it on the browser.
Firebug does it pretty nicely IME. I haven't tried Chrome but it probably does too :)
Title: Re: Programming for Beginners
Post by: normaly2345 on September 21, 2015, 11:31:02 AM
H
Title: Re: Programming for Beginners
Post by: etech0 on September 21, 2015, 11:31:43 AM
Halo
Hi
Title: Re: Programming for Beginners
Post by: JoeyShmoe on September 21, 2015, 11:32:26 AM
Firebug does it pretty nicely IME. I haven't tried Chrome but it probably does too :)
Absolutely correct, but the discussion and OP was regarding debugging JS which to the best of my knowledge doesn't really exist, and that's why I said that there's no real need for an IDE
Title: Re: Programming for Beginners
Post by: etech0 on September 21, 2015, 11:42:02 AM
Absolutely correct, but the discussion and OP was regarding debugging JS which to the best of my knowledge doesn't really exist, and that's why I said that there's no real need for an IDE
My point was that you can debug JS in browser. Hence, like you said, no real need for an IDE.
Title: Re: Programming for Beginners
Post by: BAHayman on September 21, 2015, 12:30:32 PM
As mentioned above, if you want an IDE, JetBrains is the way to go.

Webstorm can debug in the IDE using a Chrome/Firefox extension: https://www.jetbrains.com/webstorm/help/configuring-javascript-debugger.html

FYI, they offer all products free for students.
Title: Re: Programming for Beginners
Post by: JoeyShmoe on September 21, 2015, 01:26:11 PM
FYI, they offer all products free for students.
What constitutes a "student"? Need a .edu email address or saying that you're a student is enough (asking legitimately)
Title: Re: Programming for Beginners
Post by: BAHayman on September 21, 2015, 01:38:42 PM
What constitutes a "student"? Need a .edu email address or saying that you're a student is enough (asking legitimately)
https://www.jetbrains.com/student/

"All you need to apply is to be a student and have access to your student email address or a valid ISIC card."
Title: Re: Programming for Beginners
Post by: JoeyShmoe on September 21, 2015, 01:40:09 PM
https://www.jetbrains.com/student/ (https://www.jetbrains.com/student/)

"All you need to apply is to be a student and have access to your student email address or a valid ISIC card."
Thanks
Title: Re: Programming for Beginners
Post by: yakov116 on October 08, 2015, 11:48:50 AM
Anyone know of someone that can build a very very simple android to send a "GET REQUEST" to a url and get the response?
Title: Re: Programming for Beginners
Post by: BAHayman on October 08, 2015, 11:50:05 AM
Anyone know of someone that can build a very very simple android to send a "GET REQUEST" to a url and get the response?
https://play.google.com/store/apps/details?id=com.sourcestream.android.restclient&hl=en
Title: Re: Programming for Beginners
Post by: yakov116 on October 08, 2015, 11:52:44 AM
https://play.google.com/store/apps/details?id=com.sourcestream.android.restclient&hl=en
But i need it to allow me to simple change the request but changing the the end of the url. I think here i will have to go in and edit the request. Correct?
Title: Re: Programming for Beginners
Post by: BAHayman on October 08, 2015, 12:04:39 PM
But i need it to allow me to simple change the request but changing the the end of the url. I think here i will have to go in and edit the request. Correct?
You can edit the path or the query string and resend the request.

Edit: This one may be easier as it allows you to edit the individual parameters: https://play.google.com/store/apps/details?id=pro.anton.averin.networking.testrest&hl=en
Title: Re: Programming for Beginners
Post by: yakov116 on October 08, 2015, 12:10:24 PM
You can edit the path or the query string and resend the request.

Edit: This one may be easier as it allows you to edit the individual parameters: https://play.google.com/store/apps/details?id=pro.anton.averin.networking.testrest&hl=en
What would it cost me to have someone build an app? I think it would be simpler since i am using it in an emergency situation that i am not in front of a computer and to go start editing code...

Thanks for all your help i will look into those other two.
Title: Re: Programming for Beginners
Post by: an613 on October 08, 2015, 12:54:04 PM
On iOS so never used it, but doesn't tasker support simple rest calls?

You could also just setup an IFTTT recipe and then trigger it via txt. They have a "maker" channel that allows you to make arbitrary rest requests
Title: Re: Programming for Beginners
Post by: BAHayman on October 08, 2015, 01:14:39 PM
What would it cost me to have someone build an app? I think it would be simpler since i am using it in an emergency situation that i am not in front of a computer and to go start editing code...

Thanks for all your help i will look into those other two.
An app that does what?
Title: Re: Programming for Beginners
Post by: yakov116 on October 08, 2015, 06:03:40 PM
An app that does what?
I type a number and it adds it to the end of a url and it gets back the response.
There are 3 url's that I should have a choice of.
FYI I need it for android
Title: Re: Programming for Beginners
Post by: bubbles on October 08, 2015, 06:24:41 PM
As was mentioned above tasker can handle that quite easily
Title: Re: Programming for Beginners
Post by: yakov116 on October 08, 2015, 06:44:56 PM
As was mentioned above tasker can handle that quite easily
With changing the url each time?
Title: Re: Programming for Beginners
Post by: bubbles on October 08, 2015, 07:34:27 PM
With changing the url each time?

yups. you would be able to have it prompt you each time to enter a number
Title: Re: Programming for Beginners
Post by: yakov116 on October 08, 2015, 10:40:56 PM
yups. you would be able to have it prompt you each time to enter a number
Ok I see it working!!! Thanks can you help me set it up correctly? Do that I can save it?
Title: Re: Programming for Beginners
Post by: bubbles on October 08, 2015, 10:43:34 PM
Ok I see it working!!! Thanks can you help me set it up correctly? Do that I can save it?

What do you mean?
Title: Re: Programming for Beginners
Post by: yakov116 on October 08, 2015, 10:51:43 PM
What do you mean?
I don't know how to save a query so that I can just type the end of the url
Title: Re: Programming for Beginners
Post by: bubbles on October 08, 2015, 11:08:12 PM
I don't know how to save a query so that I can just type the end of the url

You just need to do a variable query to get the input and then just stick that variable into the get url
Title: Re: Programming for Beginners
Post by: yesitsme on October 25, 2015, 08:59:48 PM
https://developer.chrome.com/devtools/docs/console#viewing-structured-data
Title: Re: Programming for Beginners
Post by: AnonymousUser on November 07, 2015, 10:36:19 PM
As mentioned above, if you want an IDE, JetBrains is the way to go.

Webstorm can debug in the IDE using a Chrome/Firefox extension: https://www.jetbrains.com/webstorm/help/configuring-javascript-debugger.html

FYI, they offer all products free for students.

Thank you! Webstorm has most of the features I was looking for, and I was able to get it for free with my wife's edu. Definitely boosted my productivity.
Title: Re: Programming for Beginners
Post by: 1050BU on November 19, 2015, 06:25:36 PM
So something simple, but can't figure it out

I created a input field on a form but I need the value to be what the user entered. How can I do that.

Ie. He enters 300, then the value becomes 300. And so, when the user enter $300.00 then that value goes right away in another field automatically.

TIA
Title: Re: Programming for Beginners
Post by: AnonymousUser on November 19, 2015, 09:50:25 PM
So something simple, but can't figure it out

I created a input field on a form but I need the value to be what the user entered. How can I do that.

Ie. He enters 300, then the value becomes 300. And so, when the user enter $300.00 then that value goes right away in another field automatically.

TIA
You're being kind of vague. Do you mean on an HTML webpage? And do you mean that as soon as the user enters a value into a textbox, aside element should reflect that value?
Title: Re: Programming for Beginners
Post by: 1050BU on November 19, 2015, 10:25:36 PM

You're being kind of vague. Do you mean on an HTML webpage? And do you mean that as soon as the user enters a value into a textbox, aside element should reflect that value?

Yes html.

When the user enters a number in a text input,  I need another box to have that same number.
Title: Re: Programming for Beginners
Post by: bubbles on November 19, 2015, 10:56:36 PM
Can't say I'm the expert here but...

would something like this work for you? Obviously swapping out the correct id's.

Code: [Select]
$(function(){
    $("#input").keyup(function() {
            $("#display").text( $("#input").val() );
    });   
});

Title: Re: Programming for Beginners
Post by: smurf on November 20, 2015, 12:58:34 AM
Yes html.

When the user enters a number in a text input,  I need another box to have that same number.
assuming input fields are id'd as input1 and input2
Code: [Select]
$('#input1').keyup(function (){
$('#input2').val(this.val())
})

Title: Re: Programming for Beginners
Post by: JoeyShmoe on November 20, 2015, 10:16:48 AM
Code: [Select]
$(function(){
    $("#input").keyup(function() {
            $("#display").text( $("#input").val() );
    });   
});
Code: [Select]
$('#input1').keyup(function (){
$('#input2').val(this.val())
})

FYI both responses are assuming that you are using jQuery.
Title: Re: Programming for Beginners
Post by: 1050BU on November 20, 2015, 02:22:41 PM
Ok. I have a HTML form with four buttons. B1=100, B2=250, B3=500, B4=Custom

When the press B4 a input pops up asking them to ender a number.

Finally on the bottom of the page I have a line "Amount to charge: $0.00". When they enter B1, B2, B3 the $0.00 updates automatically to the relative amount.

Now for the custom entered amount, how can I change the last line to reflect the amount entered automatically.

The file is also using javascript
Title: Re: Programming for Beginners
Post by: AnonymousUser on November 20, 2015, 03:18:15 PM


Ok. I have a HTML form with four buttons. B1=100, B2=250, B3=500, B4=Custom

When the press B4 a input pops up asking them to ender a number.

Finally on the bottom of the page I have a line "Amount to charge: $0.00". When they enter B1, B2, B3 the $0.00 updates automatically to the relative amount.

Now for the custom entered amount, how can I change the last line to reflect the amount entered automatically.

The file is also using javascript

After you store the value from the input into a variable, use the same method as the other buttons to put that value where you want it to go.
For pure JS it would be something like this, assuming the amount was in its own div:
document.getElementById("Amount").innerHTML = amount;
Title: Re: Programming for Beginners
Post by: smurf on November 20, 2015, 04:20:51 PM

After you store the value from the input into a variable, use the same method as the other buttons to put that value where you want it to go.
For pure JS it would be something like this, assuming the amount was in its own div:
document.getElementById("Amount").innerHTML = amount;
I'm assuming this data is being posted to a server.So it's probably an input type field in which case you'd replace "innerHTML" with "value"
Title: Re: Programming for Beginners
Post by: 1050BU on November 20, 2015, 04:28:55 PM
Will try that. Thnx
Title: Re: Programming for Beginners
Post by: yesitsme on November 22, 2015, 10:56:22 AM
Code: [Select]
<!DOCUMENT html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<label for="cu">
<input type="text" id="cu" onkeyup="val()"></label>
<label for="re">
<input type="text" id="re"></label>
<div id="d"></div>

<script>
function $(id){
return document.getElementById(id);
}

function val(){
var a = $("cu").value;
console.log(a);
$("d").innerHTML = a;
$("re").value = a;
}

</script>
</body>
</html>
Title: Re: Programming for Beginners
Post by: etech0 on December 02, 2015, 08:48:49 PM
http://www.makeuseof.com/tag/4-reasons-shouldnt-learn-code-codeacademy/
interesting article
Title: Re: Programming for Beginners
Post by: etech0 on December 03, 2015, 09:43:19 PM
http://lifehacker.com/get-a-college-level-computer-science-education-with-the-1573535378
Title: Re: Programming for Beginners
Post by: chucksterace on December 27, 2015, 02:50:04 PM
I have a few Javascript variables I need emailed to a person after they only input their email and push submit.

Any simple way to do this?
Title: Re: Programming for Beginners
Post by: JoeyShmoe on December 27, 2015, 03:33:17 PM
I have a few Javascript variables I need emailed to a person after they only input their email and push submit.

Any simple way to do this?
You need a server for that, Javascript can't send emails. You can send the Javascript variables to your server and email it from there
Title: Re: Programming for Beginners
Post by: AnonymousUser on December 28, 2015, 12:17:32 PM
I have a few Javascript variables I need emailed to a person after they only input their email and push submit.

Any simple way to do this?
Use Google App Scripts.
Title: Re: Programming for Beginners
Post by: etech0 on December 30, 2015, 09:07:01 PM
https://medium.com/@efexen/write-code-every-day-aab8c7c192f5#.c6pgyjz7k
Title: Re: Programming for Beginners
Post by: etech0 on January 17, 2016, 03:09:00 PM
http://www.bestprogramminglanguagefor.me/
Title: Re: Programming for Beginners
Post by: yakov116 on March 07, 2016, 12:09:22 PM
Can anyone help me figure out why it's grabbing the "To" name not the "To" email address"?

Code: [Select]
Public Sub Check_ReceivedTime(newMail As Outlook.MailItem)

Dim obj As Object
Dim ReceivedHour As Integer
Dim newReply As MailItem
Dim msg As String

 
ReceivedHour = Hour(newMail.ReceivedTime)

'Only do anything if before Shabbos
If weekday(newMail.ReceivedTime) < 6 Then
If weekday(newMail.ReceivedTime) = 5 Then
    msg = "Sorry I am not in the office, I will respond on Sunday morning. If its urgent please email **********"
Else
    If ReceivedHour <= 2 Or ReceivedHour >= 19 Then
    msg = "Sorry I have have left the office alrady, I will respond tomorrow morning after 10:30 am."
    ElseIf ReceivedHour >= 3 And ReceivedHour <= 1030 Then
    msg = "Sorry I am not in the office, I will respond after 10:30 am or on Sunday after 11:am."

Else

    Debug.Print "After 10:30, not Friday. Do not sent the automated reply."

End If
End If
End If
'End If

If Len(msg) > 0 Then
    Set newReply = newMail.Reply
    CreateMail newReply.To, msg
End If

Set newReply = Nothing

End Sub

 
Private Sub CreateMail(ReplyAddress As String, msg As String)

Dim objMail As Outlook.MailItem

Set objMail = CreateItem(olMailItem)

With objMail
    .To = ReplyAddress
    .Body = msg
    .Subject = "Please Note!"

    .Display
    ' or
    ' .Send

End With

End Sub
Dont worry about the timing that i have fixed but the rest....
I need this done by yesterday so if any one can help me

I tried using

Code: [Select]
If Len(msg) > 0 Then
    Set newReply = newMail.Reply
    CreateMail newReply.Recipients(0), msg
    MsgBox newReply.Recipients.Count & " " & newReply.Recipients(0)
End If
 
Set newReply = Nothing
 
End Sub
 
 
Private Sub CreateMail(ReplyAddress As String, msg As String)
 
Dim objMail As Outlook.MailItem
 
Set objMail = CreateItem(olMailItem)
 
With objMail
    .Recipients.Add (ReplyAddress)
    .Body = msg
    .Subject = "Please Note!"
 
    .Display
    ' or
    ' .Send
 
End With
 
End Sub

But that did nothing.

Thanks
Title: Re: Programming for Beginners
Post by: yakov116 on March 07, 2016, 04:28:55 PM
Can anyone help me figure out why it's grabbing the "To" name not the "To" email address"?

Code: [Select]
Public Sub Check_ReceivedTime(newMail As Outlook.MailItem)

Dim obj As Object
Dim ReceivedHour As Integer
Dim newReply As MailItem
Dim msg As String

 
ReceivedHour = Hour(newMail.ReceivedTime)

'Only do anything if before Shabbos
If weekday(newMail.ReceivedTime) < 6 Then
If weekday(newMail.ReceivedTime) = 5 Then
    msg = "Sorry I am not in the office, I will respond on Sunday morning. If its urgent please email **********"
Else
    If ReceivedHour <= 2 Or ReceivedHour >= 19 Then
    msg = "Sorry I have have left the office alrady, I will respond tomorrow morning after 10:30 am."
    ElseIf ReceivedHour >= 3 And ReceivedHour <= 1030 Then
    msg = "Sorry I am not in the office, I will respond after 10:30 am or on Sunday after 11:am."

Else

    Debug.Print "After 10:30, not Friday. Do not sent the automated reply."

End If
End If
End If
'End If

If Len(msg) > 0 Then
    Set newReply = newMail.Reply
    CreateMail newReply.To, msg
End If

Set newReply = Nothing

End Sub

 
Private Sub CreateMail(ReplyAddress As String, msg As String)

Dim objMail As Outlook.MailItem

Set objMail = CreateItem(olMailItem)

With objMail
    .To = ReplyAddress
    .Body = msg
    .Subject = "Please Note!"

    .Display
    ' or
    ' .Send

End With

End Sub
Dont worry about the timing that i have fixed but the rest....
I need this done by yesterday so if any one can help me

I tried using

Code: [Select]
If Len(msg) > 0 Then
    Set newReply = newMail.Reply
    CreateMail newReply.Recipients(0), msg
    MsgBox newReply.Recipients.Count & " " & newReply.Recipients(0)
End If
 
Set newReply = Nothing
 
End Sub
 
 
Private Sub CreateMail(ReplyAddress As String, msg As String)
 
Dim objMail As Outlook.MailItem
 
Set objMail = CreateItem(olMailItem)
 
With objMail
    .Recipients.Add (ReplyAddress)
    .Body = msg
    .Subject = "Please Note!"
 
    .Display
    ' or
    ' .Send
 
End With
 
End Sub

But that did nothing.

Thanks
Bump
Title: Re: Programming for Beginners
Post by: JoeyShmoe on March 07, 2016, 04:54:56 PM
Bump
Based on MSDN here (https://msdn.microsoft.com/en-us/library/office/ff860378.aspx) .To (which you pass into Create Mail newReply.To) it returns the names, not the address
Quote from: https://msdn.microsoft.com/en-us/library/office/ff860378.aspx
Returns or sets a semicolon-delimited String list of display names for the To recipients for the Outlook item. Read/write.

Here's (https://msdn.microsoft.com/en-us/library/office/ff861252.aspx) a list of the parameters for the MailItem Object.

P.S. I've never actually seen this code before, this is a product of my research
Title: Re: Programming for Beginners
Post by: yakov116 on March 07, 2016, 05:11:59 PM
Based on MSDN here (https://msdn.microsoft.com/en-us/library/office/ff860378.aspx) .To (which you pass into Create Mail newReply.To) it returns the names, not the address
Here's (https://msdn.microsoft.com/en-us/library/office/ff861252.aspx) a list of the parameters for the MailItem Object.

P.S. I've never actually seen this code before, this is a product of my research
Correct how can i work around that?
Title: Re: Programming for Beginners
Post by: JoeyShmoe on March 07, 2016, 05:16:18 PM
Correct how can i work around that?
Did you try Recipients (https://msdn.microsoft.com/en-us/library/office/ff865320.aspx) and/or ReplyRecipients (https://msdn.microsoft.com/en-us/library/office/ff862985.aspx)?
Title: Re: Programming for Beginners
Post by: yakov116 on March 07, 2016, 05:19:36 PM
Did you try Recipients (https://msdn.microsoft.com/en-us/library/office/ff865320.aspx) and/or ReplyRecipients (https://msdn.microsoft.com/en-us/library/office/ff862985.aspx)?
yup look at the second example.
I would have to add 
Code: [Select]
Set myRecipient = myItem.Recipients.Add("Dan Wilson")
and that i cant do...
Title: Re: Programming for Beginners
Post by: JoeyShmoe on March 07, 2016, 05:20:34 PM
Sorry, that's about as much as I can help you here
Title: Re: Programming for Beginners
Post by: yakov116 on March 07, 2016, 05:22:11 PM
Sorry, that's about as much as I can help you here
thanks
Title: Re: Programming for Beginners
Post by: an613 on March 07, 2016, 07:26:28 PM

yup look at the second example.
I would have to add 
Code: [Select]
Set myRecipient = myItem.Recipients.Add("Dan Wilson")
and that i cant do...


I think you want to use newReply.SenderEmailAddress (from that msdn doc)
Title: Re: Programming for Beginners
Post by: yakov116 on March 07, 2016, 07:27:24 PM

I think you want to use newReply.SenderEmailAddress (from that msdn doc)
Will try that
Title: Re: Programming for Beginners
Post by: dsw193 on April 04, 2016, 09:13:47 PM
Anyone of any C# courses for a beginner? Preferably not online.
Title: Re: Programming for Beginners
Post by: AnonymousUser on April 05, 2016, 08:56:31 AM
Anyone of any C# courses for a beginner? Preferably not online.
What location?
Title: Re: Programming for Beginners
Post by: dsw193 on April 05, 2016, 09:06:47 AM
What location?
Nyc
Title: Re: Programming for Beginners
Post by: AnonymousUser on April 19, 2016, 07:09:07 PM
Any Android developers that can help me with a weird issue I'm having?
Title: Re: Programming for Beginners
Post by: etech0 on May 04, 2016, 04:15:56 PM
interesting article: https://zedshaw.com/2015/06/16/early-vs-beginning-coders/
Title: Re: Programming for Beginners
Post by: yesitsme on May 09, 2016, 08:23:03 PM
http://vanseodesign.com/css/css-specificity-inheritance-cascaade/
Title: Re: Programming for Beginners
Post by: yesitsme on May 12, 2016, 12:21:49 AM
http://betterexplained.com/articles/fun-with-modular-arithmetic/

A Jewish year is a leap year if the year modulo 19 is either 0, 3, 6, 8, 11, 14 or 17. Therefore, an easy function can be written:

Code: [Select]
function isJewishLeapYear($year) {
  if ($year % 19 == 0 || $year % 19 == 3 || $year % 19 == 6 ||
      $year % 19 == 8 || $year % 19 == 11 || $year % 19 == 14 ||
      $year % 19 == 17)
    return true;
  else
    return false;
}

$result = isJewishLeapYear(5765);
echo "<p>Is 5765 a leap year? ";
if ($result)
  echo "yes";
else
  echo "no";
echo "</p>\n";
$result = isJewishLeapYear(5766);
echo "<p>Is 5766 a leap year? ";
if ($result)
  echo "yes";
else
  echo "no";
echo "</p>\n";
Title: Re: Programming for Beginners
Post by: etech0 on May 31, 2016, 08:33:12 PM
(http://i.imgur.com/J1yheTg.png)
Title: Re: Programming for Beginners
Post by: Achas Veachas on June 26, 2016, 02:43:49 PM
(http://i.imgur.com/J1yheTg.png)
http://trumpipsum.net/
Title: Re: Programming for Beginners
Post by: Achas Veachas on June 26, 2016, 02:48:27 PM
I'm taking a Ruby coding course and the first big assignment is to make a ruby gem. Naturally, I chose DD for my project.
The gem scrapes DDMS homepage and displays the deals to the console.

I'm still quite the n00b so if anyone wants to take a look and offer feedback it will all be apprciated.

The gem can be found here:
https://github.com/achasveachas/dansdeals
Title: Re: Programming for Beginners
Post by: etech0 on June 26, 2016, 02:53:26 PM
I'm taking a Ruby coding course and the first big assignment is to make a ruby gem. Naturally, I chose DD for my project.
The gem scrapes DDMS homepage and displays the deals to the console.

I'm still quite the n00b so if anyone wants to take a look and offer feedback it will all be apprciated.

The gem can be found here:
https://github.com/achasveachas/dansdeals
Good for you! Can I ask which course?
Title: Re: Programming for Beginners
Post by: Achas Veachas on June 26, 2016, 02:54:28 PM
Good for you! Can I ask which course?
Thanks.

Flatiron's Learn-Verified.
Title: Re: Programming for Beginners
Post by: JoeyShmoe on July 28, 2016, 01:00:58 PM
http://marksheet.io/
Title: Re: Programming for Beginners
Post by: Aerial Dag on July 28, 2016, 01:23:36 PM
Thanks.

Flatiron's Learn-Verified.

Did you do their online course or on campus? I know python basics (I too used DDMS for a project. A few years ago I built a python script to text me when DDMS had certain keywords like 'mistake' etc) but want to learn RoR to better understand my company's website. Would you recommend Flatiron?
Title: Re: Programming for Beginners
Post by: etech0 on August 01, 2016, 06:48:28 PM
Anyone know how to set up keyboard shortcuts with Javascript? I need some help with a tampermonkey script.

TIA!
Title: Re: Programming for Beginners
Post by: AnonymousUser on September 13, 2016, 04:21:12 PM
Does anyone have experience with Node and Express?
Title: Re: Programming for Beginners
Post by: BAHayman on September 13, 2016, 06:24:59 PM
Does anyone have experience with Node and Express?
I've worked with both. Have a question?
Title: Re: Programming for Beginners
Post by: bubbles on September 13, 2016, 06:39:17 PM
Anyone know how to set up keyboard shortcuts with Javascript? I need some help with a tampermonkey script.

TIA!
still need? I set some up. I can send it over when I get to a computer if needed
Title: Re: Programming for Beginners
Post by: etech0 on September 13, 2016, 06:46:19 PM
still need? I set some up. I can send it over when I get to a computer if needed
Still needed, thanks! Looking forward to seeing your sample
Title: Re: Programming for Beginners
Post by: AnonymousUser on September 13, 2016, 06:58:30 PM


Have a question?
A bunch.
Can I contact you through some sort of IM, like Whatsapp, Hangouts, etc.?
Title: Re: Programming for Beginners
Post by: yesitsme on September 13, 2016, 11:16:11 PM
Anyone know how to set up keyboard shortcuts with Javascript? I need some help with a tampermonkey script.

TIA!
Your post caused me to create this topic http://meta.stackoverflow.com/q/334494/4535386
Title: Re: Programming for Beginners
Post by: etech0 on September 14, 2016, 10:21:36 AM
Your post caused me to create this topic http://meta.stackoverflow.com/q/334494/4535386
I don't get it
Title: Re: Programming for Beginners
Post by: JoeyShmoe on September 14, 2016, 11:02:40 AM
I don't get it
Look at the end of the of the post, @yesitsme tried to search for tampermonkey and the result was blank instead of some info about it.
Title: Re: Programming for Beginners
Post by: etech0 on September 14, 2016, 12:30:17 PM
Look at the end of the of the post, @yesitsme tried to search for tampermonkey and the result was blank instead of some info about it.
oh :)
Title: Re: Programming for Beginners
Post by: Cholentfresser on September 14, 2016, 02:58:51 PM
A bunch.
Can I contact you through some sort of IM, like Whatsapp, Hangouts, etc.?

Any reason you don't post it here so others can chime in as well?
Title: Re: Programming for Beginners
Post by: AnonymousUser on September 14, 2016, 09:12:15 PM
Any reason you don't post it here so others can chime in as well?
It wasn't just one question, I needed to be able to have a back and forth conversation with someone, and a forum isn't the best platform for that.
However, I'll summarize it in case anyone is interested, or has any other suggestions.

I was trying to make my Node / Express REST API server as modular as possible and follow MVC, so I split it into a bunch of files:
server.js
db.js
routes.js
controllers/controllers.js
models/models.js

I needed to get a reference to the DB connection in models.js in order to query the database. However, since models.js is in a separate folder, using
Code: [Select]
require('./db') wouldn't necessarily return the same instance that was originally instantiated.

After some Googling, it looked like there were 2 options:
1. Dependency Injection (DI), which meant passing a reference to either the connection, or something containing it as a parameter to models.js. However, this was  a bit clunky, since I had to refactor all the modules into functions, and the connection had to be passed along db.js -> server.js -> routes.js -> controllers.js -> models.js.
2. Global variables or singletons, which are discouraged.

After some back and forth, @BAHayman suggested storing a reference to the connection in app.locals, and then the HTTP method calls in controllers.js have access to that through req.app. Then I just passed it to the individual methods in models.js as a parameter.. Not as clean as I had hoped for, but it seems like the best method given the situation.
Title: Re: Programming for Beginners
Post by: Cholentfresser on September 14, 2016, 09:29:03 PM
You sure "require" doesn't give you the same instance? I was under the impression that it does.
Title: Re: Programming for Beginners
Post by: AnonymousUser on September 14, 2016, 11:24:42 PM
You sure "require" doesn't give you the same instance? I was under the impression that it does.
You are correct if the 2 modules that instantiate it are in the same folder. If not, they could return different instances.

https://stackoverflow.com/questions/10306185/nodejs-best-way-to-pass-common-variables-into-separate-modules#comment49587993_10316422
Title: Re: Programming for Beginners
Post by: Cholentfresser on September 14, 2016, 11:48:53 PM
You are correct if the 2 modules that instantiate it are in the same folder. If not, they could return different instances.

https://stackoverflow.com/questions/10306185/nodejs-best-way-to-pass-common-variables-into-separate-modules#comment49587993_10316422
I hear ya. FWIW, I think the DI option seems pretty clean.
Title: Re: Programming for Beginners
Post by: AnonymousUser on September 15, 2016, 03:20:06 PM
Is there any reason to render views client-side with frameworks like Angular or Backbone, as opposed to doing everything on the server?
Title: Re: Programming for Beginners
Post by: yesitsme on September 20, 2016, 12:44:09 AM
Where's php 6, windows 9, IPV5?
they all went into hiding..
Title: Re: Programming for Beginners
Post by: AnonymousUser on September 20, 2016, 11:08:27 PM
I'm having issues setting up Express routers.

Code: [Select]
//this works
router.route('/deals/:id')
    .get(function (req, res) {
            res.send("/deals/" + req.params.id);
        });
    });

//this doesn't work
router.route('/deals/')
    .get(':id', function (req, res) {
            res.send("/deals/" + req.params.id);
        });
    });

With the second way, Express throws an error
Code: [Select]
Error: Route.get() requires callback functions but got a [object String]The docs (http://expressjs.com/en/4x/api.html#router.METHOD) say that the parameters for router.METHOD() are (path, [callback, ...] callback). However, from this error it looks like path doesn't belong there.
Unless router.route().METHOD() is different than router.METHOD()?
Am I missing something?
Title: Re: Programming for Beginners
Post by: AnonymousUser on September 21, 2016, 01:05:56 AM
I'm having issues setting up Express routers.

Code: [Select]
//this works
router.route('/deals/:id')
    .get(function (req, res) {
            res.send("/deals/" + req.params.id);
        });
    });

//this doesn't work
router.route('/deals/')
    .get(':id', function (req, res) {
            res.send("/deals/" + req.params.id);
        });
    });

With the second way, Express throws an error
Code: [Select]
Error: Route.get() requires callback functions but got a [object String]The docs (http://expressjs.com/en/4x/api.html#router.METHOD) say that the parameters for router.METHOD() are (path, [callback, ...] callback). However, from this error it looks like path doesn't belong there.
Unless router.route().METHOD() is different than router.METHOD()?
Am I missing something?
Apparently it looks like router.route().METHOD() is indeed different than router.METHOD(), and it does not take a path as a parameter, just callbacks.
https://github.com/expressjs/express/blob/master/lib/router/route.js#L186
Title: Re: Programming for Beginners
Post by: Yonah on September 26, 2016, 11:28:05 AM
Is there any reason to render views client-side with frameworks like Angular or Backbone, as opposed to doing everything on the server?

Speed, Performance and #requests on the server.

For example, let's say you were loading a set of data from the server and wanted your end users to be able to sort and search it. If you rendered it server side, every sort request or search request would require a round-trip to the server. If you render the client in Angular/Backbone, you can sort/search using the local data, which is a lot quicker, and sends fewer requests back to you.
Title: Re: Programming for Beginners
Post by: AnonymousUser on September 27, 2016, 12:16:43 AM
Speed, Performance and #requests on the server.

For example, let's say you were loading a set of data from the server and wanted your end users to be able to sort and search it. If you rendered it server side, every sort request or search request would require a round-trip to the server. If you render the client in Angular/Backbone, you can sort/search using the local data, which is a lot quicker, and sends fewer requests back to you.
Good point.
I assume that data that will not be manipulated client-side is faster to render on the server.
Title: Re: Programming for Beginners
Post by: Achas Veachas on October 30, 2016, 02:02:17 PM
Did you do their online course or on campus? I know python basics (I too used DDMS for a project. A few years ago I built a python script to text me when DDMS had certain keywords like 'mistake' etc) but want to learn RoR to better understand my company's website. Would you recommend Flatiron?
I know this is from a while ago (I've been kinda missing lately :) )
I'm doing the online course (Learn-verified). Pretty happy with it. Let me know if it's still pertinent for you and if you want more info.
Title: Re: Programming for Beginners
Post by: etech0 on November 06, 2016, 10:37:04 PM
Does anyone know if it's possible to send data to a webhook via a bookmarklet?

TY
Title: Re: Programming for Beginners
Post by: bubbles on November 07, 2016, 01:07:10 AM
Create and post a form?
Title: Re: Programming for Beginners
Post by: etech0 on November 07, 2016, 10:47:17 AM
Create and post a form?
Huh?
Title: Re: Programming for Beginners
Post by: AnonymousUser on November 07, 2016, 01:43:25 PM
Huh?
Find the URL and data structure that the webhook takes, then write a script in the bookmarklet that submits that request.
Title: Re: Programming for Beginners
Post by: etech0 on November 07, 2016, 01:46:34 PM
Find the URL and data structure that the webhook takes, then write a script in the bookmarklet that submits that request.
How do I write a script to submit the request? I've never dealt with webhooks before and not really sure how they work.
Title: Re: Programming for Beginners
Post by: AnonymousUser on November 07, 2016, 02:13:58 PM
How do I write a script to submit the request? I've never dealt with webhooks before and not really sure how they work.
A webhook is a service that takes an HTTP request and does something. That request is usually sent when an event is triggered and you want the webhook to be notified about it.
You need to find the API for the webhook, and then send a request using the appropriate format.
Google "js send http request" and ignore the jquery answers.
It's hard to give a more specific answer without more details.
Title: Re: Programming for Beginners
Post by: etech0 on November 07, 2016, 02:32:23 PM
A webhook is a service that takes an HTTP request and does something. That request is usually sent when an event is triggered and you want the webhook to be notified about it.
You need to find the API for the webhook, and then send a request using the appropriate format.
Google "js send http request" and ignore the jquery answers.
It's hard to give a more specific answer without more details.
Got it - thanks! I'll give it a try and come back if I have questions
Title: Re: Programming for Beginners
Post by: yakov116 on December 21, 2016, 03:21:42 PM
Any one here know python that can help me edit something?
Title: Re: Programming for Beginners
Post by: yakov116 on December 21, 2016, 11:01:01 PM
Any one here know python that can help me edit something?
Anyone?
Title: Re: Programming for Beginners
Post by: DanH on December 22, 2016, 03:40:03 AM
Anyone?
A little bit.   Whats up?
Title: Re: Programming for Beginners
Post by: yakov116 on December 22, 2016, 09:19:50 AM
A little bit.   Whats up?
Thank you

Code: [Select]
#!/usr/bin/env python3
import binascii
import csv
import os.path
import sys
from tkinter.filedialog import askopenfilename, askdirectory
from tkinter.simpledialog import askinteger

def split_csv_file(f, dst_dir, keyfunc):
    csv_reader = csv.reader(f)
    csv_writers = {}
    for row in csv_reader:
        k = keyfunc(row)
        if k not in csv_writers:
            csv_writers[k] = csv.writer(open(os.path.join(dst_dir, k),
                                             mode='w', newline=''))
        csv_writers[k].writerow(row)

def get_args_from_cli():
    input_filename = sys.argv[1]
    column = int(sys.argv[2])
    dst_dir = sys.argv[3]
    return (input_filename, column, dst_dir)

def get_args_from_gui():
    input_filename = askopenfilename(
        filetypes=(('CSV', '.csv'),),
        title='Select CSV Input File')
    column = askinteger('Choose Table Column', 'Table column')
    dst_dir = askdirectory(title='Select Destination Directory')
    return (input_filename, column, dst_dir)

if __name__ == '__main__':
    if len(sys.argv) == 1:
        input_filename, column, dst_dir = get_args_from_gui()
    elif len(sys.argv) == 4:
        input_filename, column, dst_dir = get_args_from_cli()
    else:
        raise Exception("Invalid number of arguments")
    with open(input_filename, mode='r', newline='') as f:
        split_csv_file(f, dst_dir, lambda r: r[column-1]+'.csv')
        # if the column has funky values resulting in invalid filenames
        # replace the line from above with:
        # split_csv_file(f, dst_dir, lambda r: binascii.b2a_hex(r[column-1].encode('utf-8')).decode('utf-8')+'.csv')

I need to add that it should add 2 more columns to the CSV file it should ask me what to put in each field

What this is doing its spitting the selected CSV dile and splitting it by column that I define. i use this to split a 3,000,000 line csv.
I need to add the above.
Note: this i not my code i found it, and can really save me alot of time if someone can help me.
Title: Re: Programming for Beginners
Post by: 16guitar on January 23, 2017, 09:27:13 AM
Has anyone done a coding bootcamp?
Title: Re: Programming for Beginners
Post by: Essen est zich on May 17, 2017, 03:16:35 PM
Is there a point of learning how to use Linux properly before starting to code?
Title: Re: Programming for Beginners
Post by: Cholentfresser on May 17, 2017, 03:20:15 PM
Is there a point of learning how to use Linux properly before starting to code?
It can be helpful down the road especially if you're planning on using linux hosting, but it definitely isn't necessary to learn it to start programming.
Title: Re: Programming for Beginners
Post by: Essen est zich on May 18, 2017, 12:24:20 AM
Does anyone have any good suggestions on where/how to learn how to properly utilize Linux?
Title: Re: Programming for Beginners
Post by: etech0 on June 26, 2017, 05:57:14 PM
Anyone know how to view history on github? I'm having an issue with a wordpress plugin. I know I had the same issue before and the author helped me with it on their github page, but the plugin was taken over by someone else and my "issue" page is gone, so I can't see what solved it last time.

Any idea?
Title: Re: Programming for Beginners
Post by: AnonymousUser on June 26, 2017, 10:52:56 PM
Anyone know how to view history on github? I'm having an issue with a wordpress plugin. I know I had the same issue before and the author helped me with it on their github page, but the plugin was taken over by someone else and my "issue" page is gone, so I can't see what solved it last time.

Any idea?
Make sure you're not filtering the issues. Default is to show only open ones.

You can try archive.org too.
Title: Re: Programming for Beginners
Post by: etech0 on June 26, 2017, 10:55:37 PM
Make sure you're not filtering the issues. Default is to show only open ones.

You can try archive.org too.
1. I'm using a link to the issue, which I have in my email.
2. Doesn't seem to give me any results.
Title: Re: Programming for Beginners
Post by: etech0 on May 08, 2018, 11:00:34 AM
http://guthib.com/
Title: Re: Programming for Beginners
Post by: Boruch999 on May 08, 2018, 11:19:02 AM
http://guthib.com/
Why this thread?
Title: Re: Programming for Beginners
Post by: etech0 on May 08, 2018, 11:21:21 AM
Why this thread?
I didn't think most people who read the jokes thread would understand it
Title: Re: Programming for Beginners
Post by: Josef.koney on May 08, 2018, 11:22:33 AM
I still don't.
Title: Re: Programming for Beginners
Post by: Boruch999 on May 08, 2018, 12:41:06 PM
I didn't think most people who read the jokes thread would understand it
Fair enough.
Title: Re: Programming for Beginners
Post by: yesitsme on May 08, 2018, 01:04:13 PM
http://localhost8000.com/
Title: Re: Programming for Beginners
Post by: etech0 on May 08, 2018, 01:34:37 PM
http://localhost8000.com/
nice :)
Title: Re: Programming for Beginners
Post by: tobyw on June 29, 2018, 07:57:51 PM
https://learn-code.co/ (https://learn-code.co/)
Title: Re: Programming for Beginners
Post by: yesitsme on July 02, 2018, 04:43:09 PM
https://www.google.com/intl/en/ipv6/

https://ipv6test.google.com/
Title: Re: Programming for Beginners
Post by: Miami on July 01, 2019, 07:04:42 PM
I am looki g to take a BTL and turn it into a masters (or bachelor) degree in computer science. I am not interested in programming howevwr i would need to learn it. What language should i start with and are there any good free online courses i can use to familiarize myself with programming
Title: Re: Programming for Beginners
Post by: Cholentfresser on July 01, 2019, 07:21:32 PM
I am looki g to take a BTL and turn it into a masters (or bachelor) degree in computer science. I am not interested in programming howevwr i would need to learn it. What language should i start with and are there any good free online courses i can use to familiarize myself with programming
If you find a masters program in CS that will accept a BTL, please let me know. I haven't been able to find one.
Title: Re: Programming for Beginners
Post by: Definitions on July 01, 2019, 10:40:35 PM
I am looki g to take a BTL and turn it into a masters (or bachelor) degree in computer science. I am not interested in programming howevwr i would need to learn it. What language should i start with and are there any good free online courses i can use to familiarize myself with programming
I don't know which language but I think Lynda.com has some good courses for basically all languages. You can get free access with a library card from Lakewood or Brooklyn (and others).

Maybe try looking into C# or Java (I have no specific reason why I said those).

Also just curious what exactly are you aiming to become with a degree in computer science?
Title: Re: Programming for Beginners
Post by: Zubda on July 03, 2019, 08:49:07 PM
Check out Harvard's cs50, it is freely available on YouTube
Title: Re: Programming for Beginners
Post by: JuryDuty on February 01, 2020, 08:59:39 PM
Anyone here familiar with R?
Title: Re: Programming for Beginners
Post by: farmbochur on February 01, 2020, 10:36:52 PM
Not familiar but I better figure it out soon if I hope to pass SOA exam PA in June
Title: Re: Programming for Beginners
Post by: HKFS on February 21, 2020, 12:09:06 AM
Any experienced Android developers out there? I need help me making a basic design decision.
Title: Re: Programming for Beginners
Post by: JuryDuty on September 13, 2020, 06:23:05 PM
What programming language is DDF in? For example, when I open a wiki and put in [url]
Title: Re: Programming for Beginners
Post by: etech0 on September 13, 2020, 06:32:56 PM
What programming language is DDF in? For example, when I open a wiki and put in [url]
it's called bbcode
Title: Re: Programming for Beginners
Post by: JuryDuty on September 13, 2020, 06:35:10 PM
it's called bbcode

Is this commonly used? From googling it, seems like it's pretty much for forums
Title: Re: Programming for Beginners
Post by: etech0 on September 13, 2020, 06:36:15 PM
Is this commonly used? From googling it, seems like it's pretty much for forums
It's commonly used for forums
Title: Re: Programming for Beginners
Post by: DanH on September 30, 2020, 03:03:15 PM
Nice series for beginners..



You can watch older years as well, just search cs50.  There's a site to do it in an organized fashion:
https://cs50.harvard.edu/x
Title: Re: Programming for Beginners
Post by: Cholentfresser on September 30, 2020, 04:50:01 PM
Nice series for beginners..



You can watch older years as well, just search cs50.  There's a site to do it in an organized fashion:
https://cs50.harvard.edu/x
Excellent video. Next time someone asks me about binary, I'm gonna send them this :)