• Breaking News

    Friday, April 9, 2021

    At 39, I'm quitting my job and going back to Uni. learn programming

    At 39, I'm quitting my job and going back to Uni. learn programming


    At 39, I'm quitting my job and going back to Uni.

    Posted: 08 Apr 2021 08:31 PM PDT

    I've been studying web-development for almost two years now. I love it. I could build all day every day. I got granted permanent residency in Australia not long ago and given how easy it is to study over here, I've decided to quit my dance teacher job and pursue my passion. Also I don't think my prospects for finding a tech job at my age would be very bright without any experience or a tech degree, so I'll do whatever it takes, and Uni is part of that plan.

    My decision to quit teaching was based on the fact that the future isn't bright for a dance teacher and it consumes your life. I'm literally all day thinking of growing and maintaining the dance community I'm part of, which is a big part of the job. And obviously planning classes, training, etc. All of that was affecting my studies and I often caught my thoughts drifting to my other job as I'm coding/studying.

    Fortunately I'm able to make more than enough money to support myself and pay my share of the fees by driving for Uber Eats. It's easy work and I don't have to think about it at all once I leave the car. My mind is free to study in the rest of the day.

    As a back up plan I can always find a job in some warehouse/supermarket in case I can't drive an Uber anymore.

    I'm not sure I'm allowed to post a link here but if you want to follow my new journey, have a look at my blog.

    Any suggestions on how to prepare for Uni?

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

    I feel so stupid learning JavaScript. Is this normal?

    Posted: 08 Apr 2021 10:51 PM PDT

    I'm taking an online course atm and I'm stuck almost every step. Am I too dumb for this? But I want to become a web developer soooooo badly! What should I do? HTML and CSS went quite smoothly but this is just not going as well...

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

    I'm a senior infosec manager looking to help people launch their cybersecurity careers. AMA

    Posted: 08 Apr 2021 11:17 AM PDT

    Hello! My name is Mark and I'm a senior security professional with 20+ years of industry experience across network security, system administration, IT governance, data privacy and regulatory compliance. I'm passionate about getting the right type of people involved in my industry, and I think people with programming skills and knowledge are a great fit for a pivot into this growing field.

    Every day you read a new headline of the latest cybersecurity vulnerability or attack (eg. the 500M user data leak at Facebook just this week), and the world needs strong talent to work in this space to protect data and proactively work towards a safer future. I designed a curriculum for Springboard's cybersecurity bootcamp to help people with programming backgrounds, as well as others, to be able to make the career jump.

    I'd love to answer any questions you have about getting into cybersecurity, different bootcamps/courses and the real differences in curriculum, what hiring managers really look for or anything else -- AMA -- I'm here to help.

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

    Looking to meet/collab with other devs

    Posted: 08 Apr 2021 11:31 PM PDT

    Hello, I am looking for ways to meet other developers to be able to talk about programming etc., and also possibly work on projects together.

    I am currently a cs student and have been programming for about a year now. I still consider myself somewhat new but am somewhat confident in learning and love to do so. Currently I mostly do my own little projects but I think it would be fun to work along with others.

    I've heard about like rtc, and maybe discord (although I don't know any servers in particular) If anyone could me some suggestions I would greatly appreciate it! Thank you.

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

    How to bundle HTML/SCSS/TS into a HTML/CSS/JS app

    Posted: 08 Apr 2021 11:54 PM PDT

    Hi all. I'm not sure if the title is actually the thing I want to do. I'm not even sure if it's the correct nomenclature ^^ so alternatives are very welcome :)

    First some backstory: I recently wanted to learn some web-dev and since frameworks are all the hype, I wanted to do React. Though there are great tutorials, I found that they often just hide some black magic like: "Just use 'create-react-app'". Yeah, cool, but what is happening? So I started at square 0, doing a native HTML/CSS/JS app and then gradually introduced dev tools like npm, TS and SCSS.

    So far so good. I got to a live server environment that auto compiles the SCSS and TS changes, new assets and changes to the HTML file and reloads the page. However, for the assets and HTML, I just copy the file to the dist folder. This works fine as long as I just have a single JS file. I want to introduce web components now, and then this breaks, because the way I see to do this, is by including the web component into the HTML and I'll show the example below. This reference will be to the node_modules, however I obviously don't want to put the whole node_modules into the dist folder. So I have to parse the HTML for referenced JS files.

    So this is where I could use your help. How do I actually do this? I found out about webpack and it seems to do most of what I want, but it seems not quite suited to this problem. It takes a JS file as entry point and it seems more helpful for a full fledged JS App that generates the HTML from the JS File. This is however not what I want, I want my HTML in it's own file. Maybe it is possible to do with Webpack, let me know. I also found gulp.js. It seems to allow a very flexible pipeline and possibly could do exactly this with its module system, and also replace my hackneyed watch setup with a single configuration. However, not knowing the name of the problem, I struggle to find the correct tool to do the bundleing. At least I did not succeed with "bundle" or similar terms. Any suggestions on this front? Or should I use another tool outright? Also, feel free to give any other feedback you feel appropriate :)

    Below I'll list a very basic setup of my project so far. If possible, I'd like to keep the structure of the source in the dist folder (don't know why, it feels better :P), but it's not a necessity. Especially since this is something that is probably not reasonable to do when you start minifying etc.

    + project |- src | |- index.html | |- css | | |- styles.scss | | scripts | | |- index.ts | |- assets (folder contains some logos, favico etc.) |- dist | |- index.html | |- css | | |- styles.css | | scripts | | |- index.js | |- assets (folder contains some logos, favico etc.) |- package.json etc... 

    index.html

    <!DOCTYPE html> <html> <head> <link rel="shortcut icon" href="assets/images/favico.png" /> <meta charset="utf-8" /> <title>Example</title> <link href="css\styles.css" rel="stylesheet" /> <!-- This is the example web component I'd like to use --> <script type="module"> import '@polymer/paper-icon-button/paper-icon-button.js'; import '@polymer/paper-item/paper-item.js'; import '@polymer/paper-listbox/paper-listbox.js'; import '@polymer/paper-menu-button/paper-menu-button.js'; </script> </head> <body> <paper-menu-button> <paper-icon-button icon="menu" slot="dropdown-trigger"></paper-icon-button> <paper-listbox slot="dropdown-content"> <paper-item>Share</paper-item> <paper-item>Settings</paper-item> <paper-item>Help</paper-item> </paper-listbox> </paper-menu-button> <script src="scripts\index.js" type="module"></script> </body> </html> 
    submitted by /u/Feomathar_
    [link] [comments]

    What to do when I can’t think of any projects

    Posted: 08 Apr 2021 03:17 PM PDT

    Hi y'all ,

    So I've mainly built full stack projects like a weather app, chat room , and e-commerce store. I just don't know what to build anymore. I am a sophomore in college as well. Any tips to get inspiration to build something I haven't yet would be helpful. At the moment I am just leetcoding to learn DSA.

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

    Best resource for learning HTML and CSS

    Posted: 08 Apr 2021 03:18 PM PDT

    This is my third time attempting to learn how to code. Each time I start I fall into the trap of gathering a ton of resources for learning and then jumping from one resource to another until I get exhausted and quit. Is there one resource or type of resource that you guys would recommend for learning HTML and CSS. I ultimately want to learn JS but read that I need thorough understanding of HTML and CSS first. I started on freecodecamp.org but then started to wonder how much I would retain if I went through all the exercises without applying it to a project or something.

    Thank you all for your time. I'm sure this question gets asked a lot.

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

    Where should I store "extra" files (such as images, etc) when building a compiled program?

    Posted: 08 Apr 2021 10:47 PM PDT

    I'm building a CLI app in Rust that relies on some extra resources that need to be available system-wide. At the moment, I'm storing them in a `resources` directory within the project root, but I'd obviously lose access to that path if I ever installed the binary.

    Where should I put things like this on Linux/Mac/Windows? Does Rust have a robust, cross-platform way to handle it automatically?

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

    2D array using Command lines

    Posted: 09 Apr 2021 12:48 AM PDT

    Hi im really new to C coding and need to write some code that takes in the first two command line arguments using argv[] and produces a 2D array using those two numbers as the rows and columns as long as both command line numbers are between 5 and 25 . any help about how to do this would be appreciated

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

    How do companies with large scale systems (Amazon, Netflix, etc.) facilitate communication between components?

    Posted: 08 Apr 2021 11:51 PM PDT

    Sorry if the title is confusing.

    I recently just took a Computer Systems Design class. In this class we went over concepts like pipelining, multi-threading, synchronization, etc.

    For the labs in this class, we make a client and server that communicated with each other using remote procedure calls. I can't remember if that is the correct term, but basically we used sockets to program this.

    Is this how companies with large scale systems implement communication between components? Or do they use other methods which are better suited for large systems and large amounts of dataflow.

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

    Should I learn C++?

    Posted: 08 Apr 2021 07:29 PM PDT

    I have an intermediate proficiency in Java, and I was wondering if it would be worth it to learn C++. I have dabbled a bit in it and it seems easy if you put the syntax I don't know to the side. I'm looking to do app dev or web app dev

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

    Template Literal JS *HELP*

    Posted: 08 Apr 2021 09:44 PM PDT

    I feel like I understand the overall concept for template literal by watching some youtube videos, but I have been stuck for the past 20 minutes on printing the console properly. I understand that console.log will give out whatever value or statement you write in between the parentheses. But I am getting this error that states " expected 'The sum of x and y is 10' to equal 'The sum of 6 and 4 is 10'" Do they want the console.log to output this exact phrase?

    Here is a picture.

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

    VSCode developing on remote machine with ssh, no intellisense

    Posted: 08 Apr 2021 08:37 PM PDT

    I've searched for countless hours and have no found a solution to getting vscode intellisense to work.

    It appears to show previously used keywords and generic items, but nothing related to the actual .net library.

    VSCode on Mac, ssh'd into linux machine.

    I have also tried this on my windows machine and no different.

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

    Tips for the basic guidlines of building an image/video search program?

    Posted: 09 Apr 2021 12:19 AM PDT

    I have been learning to program fairly quickly, and believe I'm ready to tackle my first somewhat large project. I essentially want to create a search option within javascript that allows users to browse/fetch random pictures from the internet (or a specific site i.e tumblr/youtube). I want to figure out a way these users could use filters to search within a certain niche. I lastly want to allow these users to put these images within a mood board/folder within the application itself. I know this won't be easy, but I'm determined. I'm asking if anyone could give me a basic skeleton or guideline on what I should be learning/practicing.

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

    How do i find a project to do?

    Posted: 08 Apr 2021 08:03 PM PDT

    I recently learned python and want to create a project to fortify my knowledge. What are some projects I can work on? Any resources to create projects?

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

    Ruby having trouble referencing procedurally generated variables

    Posted: 08 Apr 2021 11:46 PM PDT

    Its a bit complicated and i'm very confused so I'm not sure the title is exactly accurate with what im having trouble doing.

    Its easier to explain it with comments in the code so here's the pastebin, i've removed a whole bunch of stuff that i didn't think was related to my problem (this is for a school project). Line 64 is where the problem starts.

    https://pastebin.pl/view/3a2c330b

    Basically we have to create a grid, with each cell in that grid having a class that has certain attributes such as north, south, etc representing whether they have neighbours in that direction. I'm having trouble finding out if a cell has any neighbours.

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

    Want to try automating what I do majority of the time for my job using Python. Help me check what's possible and recommend the better way to achieve this task.

    Posted: 08 Apr 2021 11:46 PM PDT

    Hello.

    I work for a small online commerce business that buys from Alibaba and sells on Korean websites.

    Once the desired number of items to buy and with which option to buy are communicated to me in writing (we do this on Google spreadsheets at the moment), I copy and paste the respective product page, select the desired option and quantity, and click on 立即订购 in orange button. Here is a sample page. If there were no extra security features of the website that's activated when it detects "unusual traffic", the task would have been already accomplished by now lol because I know for sure that I can get data like the product name in Chinese and the seller name using a bit of web scraping technique.

    Thankfully, I learned about Scrapfly.

    Using this tool, I think that I should be able to complete the web scraping part.

    Then, once I have all the data I want scraped, I'd like to automate the specific step of

    I copy and paste the respective product page, check the desired option and quantity, and click on 立即订购 in orange button.

    How should this be done?

    What libraries should I look into?

    Selenium?

    Once the ordering steps is completed, a confirmation code comes up and I'd like to copy and paste that into the existing Google Spreadsheets file and update the existing file with the confirmation code and writing the status as "Order complete".

    Lol. Sorry. I don't think that was written particularly well to describe my specific issues or something.

    I was pretty much writing out to see how I can approach this problem and solve using coding, probably also looking to get some confirmation and recommendation at the same time.

    If anyone has done anything similar to this, please feel free to chime in and add two cents.

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

    Project ideas

    Posted: 08 Apr 2021 02:57 PM PDT

    Greeting! So I am still quite new to programming and I really wanna succeed in it. I recently got the determination to officially start working on smaller and lighter projects and tasks. Then after that, I wanna level up to slightly harder projects and so on. So today I came to ask for a few project ideas that you guys think are good for beginners. Currently in hs and I am learning a C++/Code Blocks. So far we have learned how to use arrays, strings and for commands( not sure if you call it that in English). We have not learned about classes or such. Just the basics for now. It's my first year in hs so if that helps put in more of a perspective. Name of sites with projects would also be useful. I thank everyone in advance :). Please tell me if more information is required.

    PS: English is not my first language

    submitted by /u/Proposal-Worldly
    [link] [comments]

    Is There A Programming Dictionary?

    Posted: 08 Apr 2021 12:17 PM PDT

    I don't feel very confident.

    Sometimes I feel unsure of the meanings of words or maybe I just don't trust myself

    Is there a dictionary anywhere to give the definition of words and terms used in programming books?

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

    Is it possible to get any programming job without a degree?

    Posted: 08 Apr 2021 11:19 PM PDT

    Hi, I'm currently a student at Clemson university for a degree in computer science and I just can't keep up with school, that's besides the point. Is it possible to get a programming job without a degree in computer science? I completely understand how to code (currently learning C) but I'm starting to think that I won't be able to complete a degree in computer science. Is there any way to get a job without a degree? And what should I learn and do if so? Thanks so much

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

    What kind of Internship should I aim for?

    Posted: 08 Apr 2021 07:27 PM PDT

    I have been searching for an internship for this summer but I'm just worried that I will either choose something that is too unrelated to what I want to do in my future or will just be out of my skill level. A great example is this company is searching for an intern to create new pages for their website as well as doing other things related to their image over social media, google analytics, etc. However, my main skill set isn't currently in web design but more in Java, C++, C#, & Python. I am not completely new to HTML, PHP, & CSS but I just don't want to bite off more than I can chew and make myself look like a fool. I know an internship is supposed to be a learning experience but it would make me feel absolutely horrible to have to tell a potential future employer that I have no clue how to do something they ask of me.

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

    Find 4 if a given array has 4 consecutive values using functions (C++)

    Posted: 08 Apr 2021 11:04 PM PDT

    A quick disclaimer before you read ahead, this is a question regarding my homework and some of these requirements will be oddly specific

    I am writing a code that takes the number of values from the user and this will be the array length. Then it will ask the user to input their numbers into the array. Then it uses a function to determine if the given array contains 4 of the same values consecutively.

    This is an example output

    //example 1 Enter the number of values: 8 Enter the values: 3 4 5 5 5 5 4 5 The list has consecutive fours //example 2 Enter the number of values: 9 Enter the values: 3 4 5 8 5 5 4 4 5 The list has no consecutive fours 

    The problem with my code is that I need to make a function

    bool isConsecutiveFour(int values[][4]) 

    for the question to be completed. I have tried that and since the array that I am originally using for the user input is a 1-dimensional array, I don't think I can do it 2 dimensional. When I copy and paste the code all into the main function the code works but once I implement it into a function with the requirements, the code starts to not work as intended. In the place where the function is called, I am aware that there is an expected expression, the thing is that I am unsure of what to put there as the original array is 1D while the one in the given function is 2D.

    Although this is in the C++ language, what I have learned is the C style syntax (no std:: kinds of code, * , or stuff like that because I haven't learned it yet and I will not understand it) So far I have learned basic arrays, loops, and functions.

    #include <iostream> using namespace std; bool isConsecultiveFour(int values[0][4]); int main(){ int x, input; cout<<"Enter the number of values: "<< endl; cin >> x; int arr[x][1]; cout<<"Enter the values: "<< endl; for(int i = 0; i < x; i++){ cin>>input; arr[x][1]= input; } cout<<" "<< endl; isConsecultiveFour(arr[x][1]); return 0; } bool isConsecultiveFour(int values[0][4]){ int count = 1; for(int i = 0; i < sizeof(values[0][4]); i++){ if(values[0][i] == values[0][i + 1]){ count++; } } if(count == 4 ){ cout<<"The list has consecutive fours"<< endl; return true; } else{ cout<<"The list has no consecitive fours"<< endl; return false; } } 
    submitted by /u/R3D5KAR1337
    [link] [comments]

    How to grab input values to compare with later

    Posted: 08 Apr 2021 03:03 PM PDT

    I am currently working on an assignment where we have to take a user's input and compare their value for either movie title or cast member name and the page will render movies that matches with either input.

    This code I wrote and checked with the console logs. It is taking them as it should and changes whenever the input values change.

    const userForm = document.getElementById("Search"); userForm.addEventListener("click", (e) => { e.preventDefault(); let inputTitle = document.getElementById("titleInput").value; console.log(inputTitle) let inputActor = document.getElementById("actorInput").value; console.log(inputActor) }); 

    I wanted to know how would I be grabbing the values and turning them into a string so I can compare the inputs to the movie list. I console logged them and it works but I am also very doubtful of myself as well lol.

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

    Do programming jobs demand long hours?

    Posted: 08 Apr 2021 06:42 PM PDT

    I'm talking unpaid time as a salaried employee working over forty hours a week.

    I'm considering going back to school for computer science but I have a disability that makes long days of work difficult and I tend to burn out after an eight hour shift.

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

    No comments:

    Post a Comment