Programming

It's Triumphant Tuesday! Post your recent Drupal wins and launches

Here's your chance to brag about cool stuff you've done recently and awesome sites you've shipped. Anything happy and Drupal-related goes.

(Check out the weekly post schedule in the sidebar)

submitted by /u/AutoModerator
[link] [comments]

Can you recommend a syllabus to get a junior programmer up to speed to do modern web backend development?

Learn Programming - 7 hours 11 min ago

I'm planning to hire a junior dev and I want to get him/her up to speed. The background of the person might be a BA in EE so some coding experience but no proper CS education.

My goal is to bring them to a point where they are confident (or I am confident) designing proper microservice architecture on top of AWS or gcloud over the course of a few months.

They'll need to be updated from the basic CS level & design pattern all the way to the cloud stack level architecture.

We're using a simple stack kubernetes, docker, spring-boot, kotlin, rest, json, a graphql layer, redis but I think something that explain the theory is more important than something too technology specific.

Any recommendations of material?

I'm happy to pay for good books or online trainings.

submitted by /u/yopla
[link] [comments]

To TDD or not to TDD

Programming - 7 hours 12 min ago
Categories: Programming

Is there a site where you can learn/practise programming based upon a global ranking system?

Learn Programming - 7 hours 29 min ago

I would like to practise my javascript. And it would be great if i could do that on a fun site which ranks the people with points etc.

submitted by /u/owlwithbow
[link] [comments]

Good ressources for learning Powershell Scripting?

Learn Programming - 7 hours 55 min ago

Hi guys,

I'm a beginner dev (mainly webdev) that wants to build some little scripts for my company (I work as IT Technician). I wrote a tiny little script that just puts a user into different groups.

Now I want to build more such scripts that are more complicated. Is there a good guide or series that shows you how to do this and also with best practices?

My script (very dirty I think):

https://pastebin.com/zv0sX4Dm

Also I'd like to know where to put these scripts in an easy way so all my other co workers can access it with ease.

Thank you!

submitted by /u/hello_krittie
[link] [comments]

Is it worth learning software development in 2018?

Learn Programming - 7 hours 57 min ago

I am starter "developer", i started learning web development two months ago and i have already covers 90% of front end development but i just dont like it, so i am just interested, is it worth learning how to make desktop apps and softwares in 2018? i am asking it because i know that android and ios just covered everywhere and they are more popular than desktop this days..

submitted by /u/warchild4l
[link] [comments]

Why does -9/12 in C gives me the answer 0.00?

Learn Programming - 8 hours 2 min ago

So I'm currently doing pset2 in CS50 and I'm at the last step to computing the frequency. But for some reason, C is returning i = 0.00 as the answer to double i = -9/12, shouldn't it be -0.75?

I'm stumped and can't really find any answers for this on google. Can anyone explain this to me? Thanks a lot!

submitted by /u/hor_fun_bee_hoon
[link] [comments]

Combining results of 2 SQL queries with different columns?

Learn Programming - 8 hours 7 min ago

So I've got 2 queries: query1 has 10 columns, query2 has 15 (10 the same as query1 +5).

Query 1 returns 1 record (with the 10 columns & values), query 2 returns 20 records (with the 15 columns filled in with values).

Now I want to create a query that's going to return me those 21 values in one result.

So far I've tried a couple of things, joins, sub selects, union etc...
Can't seem to get it to work properly. Right now I've got something along these lines: http://sqlfiddle.com/#!2/ca27b/1 .

So now I have:

SELECT x.Name, y.Name
FROM (query1...) as x, (query2) as y
order by x.Name

The problem now is that I get a result with 2 columns, left column is x.Name, right column is y.Name. The left column has 20 values of the same name (from query 1 which only returned 1 record) while the right column has 20 values, each different (because query 2 returned 20 records and each value in each row is different).

Is it possible to somehow get 21 records returned as a result, maybe with those extra columns of query 2 just filled in with NULL for the returns of query1? Am I making it too complicated?

submitted by /u/horoblast
[link] [comments]

What should be memorized to code well?

Learn Programming - 8 hours 32 min ago

I know that learning programming is not just about memorizing. But still, what is better or very useful to memorize?

submitted by /u/Lintash
[link] [comments]

“Failed authorization procedure” when trying to add SSH certification to site

Learn Programming - 8 hours 40 min ago

When I ran this command in my digital ocean server:

sudo certbot --authenticator webroot --webroot-path /home/james/postr --installer nginx -d <sitename>

I get this error:

Failed authorization procedure The client lacks sufficient authorization :: Invalid response from http://www.<sitename>.com/.well-known/acme-challenge/oAVGa4eBNfQQ1Vrn_q- iKjV2T6ue3H5kOcxEWpztrHc IMPORTANT NOTES: - The following errors were reported by the server: Domain: www.venvor.com Type: unauthorized Detail: Invalid response from http://www.<sitename>.com/.well-known/acme-challenge/oAVGa4eBNfQQ1Vrn_q- iKjV2T6ue3H5kOcxEWpztrHc: "<h1>Not Found</h1><p>The requested URL /.well-known/acme-challenge/oAVGa4eBNfQQ1Vrn_q-iKjV2T6ue3H5kOcxEWpztrHc was not found on "

I already tried adding the url path to my urls file:

urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^.well-known/acme-challenge/', admin.site.urls), ]

However it still doesn't work. Any idea what the problem is?

submitted by /u/ItsComingHomeLads
[link] [comments]

How to Machine Learning can be used in Web Development! {Beginner level}

Learn Programming - 9 hours 8 min ago

So I stumbled upon this ColdFusion's YouTube video about AI Child, and then I came to know about Google Research Blog

As I'm learning Back-end development mostly, also has some knowledge of Machine Learning from Coursera's course and looking for a project

can anyone explain/suggest any application of Machine Learning that can be implemented/used in any webapps or any similar examples?

I'm on a little intermediate level, any suggestion/advice/explaination would help. Thanks in advance.

submitted by /u/tapu_buoy
[link] [comments]

Adding images to your website

Learn Programming - 9 hours 44 min ago

My website will have articles containing images. The article will be submitted when a user fills the form ( input field for title, image etc.)

I know I can use an image from the internet or use a downloaded image in my project directory : /images/abc.jpg

Both ways work for me, but the problem is in the 2nd method. When I launch the website and a user (other than me) adds the image (downloaded on his computer), the website won't find the image since it's not on my computer.

How can a user (from anywhere in the world) add an image to my website?

submitted by /u/epic_within
[link] [comments]

Udemy courses, certificates that could land me an entry level job in programming? (c#)

Learn Programming - 9 hours 48 min ago

Hi. I've been learning C# on my own for mostly game developing purposes, I progress slowly, but I feel like I need to step up a bit. Free youtube courses can be good way to learn, but I feel that I can't really make my portfolio with clones of an existing tutorial projects. Is there any udemy courses that I can complete and put their certificates into my resume, so they could help me land an entry level job in the industry? What kind of skills do I need to acquire? I found some courses like: https://www.udemy.com/learn-csharp-by-building-applications/ https://www.udemy.com/design-patterns-csharp-dotnet/ https://www.udemy.com/c-intermediate-programming-applications-driven-approach/ , but before I throw my money and time at them, I want to know if they're worth it. Thanks in advance

submitted by /u/subject_usrname_here
[link] [comments]

[HTML] Building a questionaire, showing randomized videos (1 out of 4)

Learn Programming - 10 hours 34 min ago

Hi So I am currently doing my master thesis in Psychology, and unfortunately I have not taken the time to learn coding on the side. Right now I am building a questionnaire, where respondents are to look at a video (embedded code from YouTube) and then evaluate the trustworthiness of the person in the video. There is a total of 4 videos, and each respondent is to look at only one of these videos.

I am wondering if the genius of coding can help me do the following. Have one questionnaire where respondents are shown 1 out of the 4 videos at random. But then, not total randomness, I would like the distribution among the four to be as equal as possible. However, this also means I need to have a way of knowing which video each respondent was shown. I am literally in the dark here, so all help would be much appreciated.

submitted by /u/Gleisnir
[link] [comments]

Pages