• Breaking News

    Sunday, December 27, 2020

    Do you want to be a mentor for a motivated student in kenya learning javascript? learn programming

    Do you want to be a mentor for a motivated student in kenya learning javascript? learn programming


    Do you want to be a mentor for a motivated student in kenya learning javascript?

    Posted: 27 Dec 2020 08:19 AM PST

    Hey guys,

    we (source humanitarian network) are an NGO operating a computer centre in the refugee city Kakuma, Kenya. Kakuma is home to 200 000 refugees primarily from Somalia, South Sudan and Ethiopia. The computer centre provides education for about 200 students per month. Courses include programming and marketing, as well as life philosophy and female empowerment.Starting next year we will give a 6 month course on web development, including HTML/CSS/JS, react.js, databases, developing an own small app. First 8 weeks will be covering this online course https://frontendmasters.com/courses/web-development-v2/.

    Student have basic IT-knowledge, but would heavily benefit from a kinda experienced (1+ year professional work or analogous) mentor, who invests 2-4 hours per week looking through their code, explaining concepts, reassuring them in their learning path, etc.

    If you have this kind of experience, are comfortable speaking in english (B2 level) and can commit yourself for 6 months, you could be a big help for a motivated student and naturally another piece of evidence that we can help each other even if we are thousands of kilometers away! So are you ready to take this challenge? We would need some basic information ( Age, Gender, Nationality, Languages (and respective proficiency levels), Professional and educational background, any programming / tech skills) to find a good mentee match for you. You can write here or even better at [info@source-network.org](mailto:info@source-network.org) or https://source-network.org/mentorship-program/#mentorship-form. Of course we are also happy to answer any questions that arise and If you are interested, we would have a call and explain the general procedure in detail.Thank you for your time!

    Hendrik from source humanitarian network

    EDIT: Thank you for your amazing feedback. This post gained far more traction than we expected and more than 30 interested and highly qualified mentors reached out to us! We will reach out to you guys in the next days!

    We are pretty stoked about this much interest, but this is also all we can handle for the moment! If you want to keep updated you can sign up for the news letter on the website and we will give an update after next 6 months and the first phase of the mentorship program :-)

    submitted by /u/source-network-org
    [link] [comments]

    My first major breakthrough in Java

    Posted: 27 Dec 2020 11:01 PM PST

    I have been learning Java for about 3 or 4 months now, and I've noticed every time I finish a small project I reflect on what I did, and I never feel like I got it to do EXACTLY what I envisioned. Today however I just locked the door on a project that has taken me a few weeks, and when I look back on the functionality, and what I personally planned this project to look like, I am so happy! Everything I wanted is included, I pushed through the very difficult parts, and I learned some amazing things about Arrays, ArrayLists, and especially Swing by doing this project!

    To everyone who is like me, and settles for less because they just don't think they can pull it off, YOU CAN DO IT! Trust me. If I can do it, you can!

    Here's the github link if anyone is interested :)

    Thanks for reading!

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

    I am wanting to learn how to code C for my new Arduino kit, does anyone have any advice (I am completely new to coding)

    Posted: 27 Dec 2020 08:24 PM PST

    I am wanting to learn how to code C for my new Arduino kit, does anyone have any advice (I am completely new to coding)

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

    Good start for beginners

    Posted: 27 Dec 2020 04:52 PM PST

    So my 14 year old just started asking questions about coding and programming and then let me know he wants to learn "coding". I've been using a computer since I was a kid and am quite familiar with software and networking, but have never gotten into coding or programming of any sort. What's a good place for me to look to find a place for him to start and see how he likes it before we deep dive into the arena?

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

    Should I keep learning C++?

    Posted: 27 Dec 2020 06:14 AM PST

    Hello, I am pretty new to programming and I am taking my time to teach myself how to program in C++ and I am enjoying so far. But I keep seeing people saying you should stop learning C++ and I am beginning to think about my choices, so should I keep learning C++?

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

    How do websites with user accounts operate?

    Posted: 27 Dec 2020 04:22 PM PST

    So I'm a beginner in programming, I've gone through the HTMl, CSS and SQL courses at my university and we're starting up PHP now. So I've been doing some small projects this couple weeks just to learn better and now I've made a website for a cable operator with On Demand, I have the homepage, the login/register section that's connected to my database through PHP. So I was wondering how do I code a user page that each user could customize themselves. And by customize I mean add to watchlist, rate, bookmark etc.
    So I code the sections in HTML/CSS and then I guess I'll need a database with tv shows and movies... and that point I kind of get overwhelmed, so does anyone have any advice how do I approach this?

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

    Practice problems for Python?

    Posted: 27 Dec 2020 10:16 AM PST

    I'm learning Python. I've gone through a Code Academy course and am looking for something to basically test my understanding and application of what i've retained. I've seen Hackerrank and working through it but I was curious if there was anything else like it, or a book of just problems ideally progressing from beginner to more advanced to flesh out my understanding. Thanks in advance.

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

    Programming help

    Posted: 27 Dec 2020 10:02 PM PST

    Hey everyone! I have special needs and want to build apps and I wanted to ask where I can start. What languages or programs would be good. I googled but wanted to ask people who code instead. Google only goes so far. I am new at this but I am looking to get a good foundation before trying to build an idea. I am looking for great suggestion in classes or programs. Good and free would be ideal but I can pay if it is a good program if needed. Thanks!

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

    [c] How do I add a conditional statement based on generated random number?

    Posted: 27 Dec 2020 09:50 PM PST

    I have used this code to generate a number from 0 to 2:

    srand(time(0));
    int randomnumber = rand() %3;

    but I would like to add a condition based on the result of the number generation.

    if (randomnumber == 0)

    ...

    if (randomnumber == 1)

    ...

    else

    ...

    How should I go about this?

    Your help is greatly appreciated!

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

    What should I learn to be able to build my own Linux shell?

    Posted: 27 Dec 2020 12:04 PM PST

    I was looking at CS grad and students resumes on r/cscareerquestions and I noticed an interesting common project called "Linux shell" where students used C to build it and gave it many features. I searched it up and it appears to be a common assignment in universities.

    As a non-CS person who's self-learning full stack web development this project seems way above my skill set, but I really would like to learn how to do it without watching a tutorial.

    What should I learn first? I guess C is obvious, but how deep to go at it?

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

    Program vs Software vs Application

    Posted: 27 Dec 2020 09:13 AM PST

    What is the difference between these? I would like to know and use these terms correctly because I know they should not be used interchangeably. Are there good books that I could reference for terminology like that?

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

    I think this will be my first project in the editor.

    Posted: 27 Dec 2020 11:36 PM PST

    I think this will be my first project in the editor. I haven't touched the editor for a real project yet.

    Link to my post.

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

    stem.SocketError "No connection could be made because the target machine actively refused it (trying to use Tor via Firefox with Selenium/ Python)

    Posted: 27 Dec 2020 05:02 PM PST

    I'm trying to use Tor via Python. I can open a window, but can't create a new identity. Here's my code so far:

    from selenium import webdriver from selenium.webdriver.firefox.firefox_profile import FirefoxProfile from selenium.webdriver import FirefoxOptions from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys import time, random, os from seleniumrequests import Firefox from tbselenium.tbdriver import TorBrowserDriver from stem import Signal from stem.control import Controller def tor_browser(): torexe = os.popen(r'C:/Users/USER/Desktop/TorBrowser/Browser/TorBrowser/Tor/tor.exe') global firefox_profile profile = FirefoxProfile(r'C:\USER\Desktop\TorBrowser\Browser\TorBrowser\Data\Browser\profile.default') profile.set_preference('network.proxy.type', 1) profile.set_preference('network.proxy.socks', '127.0.0.1') profile.set_preference('network.proxy.socks_port', 9050) profile.set_preference("network.proxy.socks_remote_dns", False) profile.update_preferences() driver = webdriver.Firefox(firefox_profile=profile) driver.get("http://check.torproject.org") time.sleep(5) with Controller.from_port(port = 9051) as controller: controller.authenticate() controller.signal(Signal.NEWNYM) driver.get("http://check.torproject.org") time.sleep(5) driver.quit() 

    And here's my traceback:

    Traceback (most recent call last): File "C:\Users\USER\AppData\Local\Programs\Python\Python38-32\lib\site-packages\stem\socket.py", line 535, in _make_socket control_socket.connect((self.address, self.port)) ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\Users\USER\Documents\Python Files\New Selenium\seleniumVariants.py", line 153, in <module> tor_browser() File "c:\Users\USER\Documents\Python Files\New Selenium\seleniumVariants.py", line 56, in tor_browser with Controller.from_port(port = 9051) as controller: File "C:\Users\USER\AppData\Local\Programs\Python\Python38-32\lib\site-packages\stem\control.py", line 1033, in from_port control_port = stem.socket.ControlPort(address, port) File "C:\Users\USER\AppData\Local\Programs\Python\Python38-32\lib\site-packages\stem\socket.py", line 503, in __init__ self.connect() File "C:\Users\USER\AppData\Local\Programs\Python\Python38-32\lib\site-packages\stem\socket.py", line 172, in connect self._socket = self._make_socket() File "C:\Users\USER\AppData\Local\Programs\Python\Python38-32\lib\site-packages\stem\socket.py", line 538, in _make_socket raise stem.SocketError(exc) stem.SocketError: [WinError 10061] No connection could be made because the target machine actively refused it 

    I checked my torrc file at 'C:\Users\USER\Desktop\Tor Browser\Browser\TorBrowser\Data\Tor' but it was completely blank, not a single character in it, so I added the following lines to it: ControlPort 9051 SocksListenAddress 0.0.0.0:9050 CookieAuthentication 1

    And the same to the end of torrc-defaults while only had a few lines in it. I also added a new rule in Windows Firewall to allow inbound and outbound connections through port 9051 and this still doesn't work. I've searched everywhere including here and haven't found anything. Can someone please help?

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

    Looking for a community for side-project partners

    Posted: 27 Dec 2020 10:59 PM PST

    Is there a community focused on finding others interested in working on a side project? I'm looking for someone (frontend dev) to join me in a project but not sure how to go about finding one.

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

    I am thankful

    Posted: 27 Dec 2020 12:22 PM PST

    I am learning programming now in a university and I must say.

    Thanks for all the support that is on here.

    I am a guy with memory issues so programming for me is super hard since I forget everything i learn and have to look it up (well its more complicated than that but still).

    The stuff you guys post always helps me out and also on r/learnpython.

    Yall are amazing and i hope all goes good for eveyone on this sub <3

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

    Image Encyclopedia Help

    Posted: 27 Dec 2020 10:40 PM PST

    I am pretty new to flutter (which is the language I am using) and mobile development in general. I have a very specific project I am working on and am looking for suggestions on how to go about it.

    I am attempting to create an app that will display a few hundred photos (sort of like an image encyclopedia). The images are currently organized in a google drive folder (with subfolders, sub-sub folders, etc) and the user to be able to select a category then a sub-category which will correspond with the folders and then see the images in that category. I believe I have an idea of how to download the whole folder as a zip file and integrate it into the app's assets (sync the images upon request).

    However, here is where it gets more complicated. The same images are also shown in a google sheets spreadsheet. Along with the images in the spreadsheet, the source is also listed. I need to be able to transfer this source information into the app as well.

    Do you have any ideas about how to go about this? Would it be best to set up an online database? Can I just extract the images and the source information directly from the spreadsheet?

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

    How acutely should I be able to read my code/other code?

    Posted: 27 Dec 2020 10:29 PM PST

    As a beginner, how deeply should I be able to read code? Like even when looking at a small, early program I make, what should my mindset and idea of the code I wrote be as I look at it?

    So far I've been trying to keep the base fundamentals in mind as much as possible and then build off of them as I learn thing things, or old things more efficiently. I can UNDERSTAND the code purely as a set of instructions to the compiler, the coder telling it what to do for the desired output. Is that the only level I need to 'understand' code on? Is there another/are there more?

    tl;dr: bold

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

    Form tag in HTML

    Posted: 27 Dec 2020 06:26 PM PST

    Hello, I am a full stack web developer, using mostly ASP.NET in my work. I'm a new guy in my team.

    Long story short, throughout my work, I never seen my seniors/teammates use the form tag in their front end when putting a user input. We do not use any front end framework (Vue.js, React) and it's just vanilla JS and CSS (but we do make use of Materialize). At this point, I am comfortable not using it but I think it's a bad idea.

    What is the cons (and pros) of not using the specifically designed form tag in terms of security or accessibility or anything at all?

    PS: form tag is this:

    <form> <input type="text" name="username"> <input type="password" name="password"> <input type="submit" name="submit"> </form> 
    submitted by /u/FrainMaster
    [link] [comments]

    Hey all looking for some pointers in a programming project.

    Posted: 27 Dec 2020 10:02 PM PST

    I'm looking at creating a script that allows me to perform an action in an application binded to a key on my keyboard.

    Essentially my goal is to interact with Spotify. I listen to my discovery weekly while playing games and cant be bothered to alt tab and miss out on the action to say 'I dont like this song / I dont like this artist'

    I'm familiar with programming in general but am looking for some potential resources and methods to complete this as I'm not too sure where to start.

    Any help would be appreciated <3

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

    Is it ok for me to not like Python?

    Posted: 27 Dec 2020 09:58 PM PST

    So I'm not sure how good of a title this is... but here is my story: I have been trying to learn programming on and off for a few years now. Aside from a few offshoots into game dev or web dev, I have mostly known that I want to end up working close to the hardware in something like C or C++ (at points I even considered Assembly, but I don't know how big the job market is for stuff it). Like many people I started with Python, and got to a level where I would consider myself comfortable but not fluent. Recently I had the urge to go for game dev so I sat down and watched a Brackeys course on C#. Probably a year or two ago I tried to watch the same course before Python, and I really got lost. Now I watched it, and I LOVED C#. Way more then Python. I mean no offense to the Python devs on here, I know its a real language people use for real work, but it feels like a toy to me. I guess maybe it has too many training wheels I'm not sure. But C# felt like a real tool for real programmers, I just can't explain it. And the prospect of learning C++, which has even less training wheels then C# just fills me with excitement. So my question is, does anyone else ever get this feeling towards a language? Am I just an ignorant beginner and these feelings are misguided? And in addition, is it unreasonable to try my hand at say C++ (what I want to eventually learn anyway) right now, or is that a big mistake? Again, I mean no offense to Python devs but it just doesn't feel like its for me if thats a thing, which is what I'm asking.

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

    How do I call a function implemented inside a Windows driver file (.sys) using C code?

    Posted: 27 Dec 2020 09:34 PM PST

    There's a .sys file that implements some functions. How can I actually execute these driver functions using C/C++ code? Thanks.

    submitted by /u/Xx-crackfiend-xX
    [link] [comments]

    Planning on studying coding at 23 years old. Where do start?

    Posted: 27 Dec 2020 09:22 PM PST

    Hi, I'm 22 yrs old, turning 23 this 2021. I'm a Financial Advisor by profession, and earning quite well with the help of several other income streams.

    I have been fascinated with coding since HS, but never really delved into it. Now, I realized that I want to start pursuin it with the goal of eventually using it as another income stream.

    I consider myself as starting from zero, so where do I start? Here are some questions that might helo you guys give me some advice:

    1. What language should I first study? Python, Javascript, C++? A programmer friend recommended that I start studying OOP first.

    2. I know that there is probably bigger income potential in Data, but I kinda suck at math. I'm more inclined in software and app development. Is there a possibility of studying for both?

    3. What YouTube channels/books would you recommend for a beginner like me?

    4. Do I need a new and faster laptop? I have an i3 laptop that I bought for uni back in 2016. Can I still use that as I begin learning, or do I need an upgrade?

    5. What other suggestions/tips can you give to help me kickstart this coding journey?

    If it helps, I'm from the Philippines.

    Thanks in advance!

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

    Why are most websites' APIs designed with a single letter?

    Posted: 27 Dec 2020 09:06 PM PST

    like /u for /users or /p for /posts, and does /r mean /reddit? why is it designed like that? is it for wider spreading or any other else?

    submitted by /u/Certain-Aioli-7745
    [link] [comments]

    How to incorporate a functional search bar into my webpage?

    Posted: 27 Dec 2020 09:01 PM PST

    Hi all. I was required to create a searchable glossary-like page as a part of my job. So far, I have created the page which contains a search bar. I did this using very basic HTML and CSS (code below for reference). Now, I need to make this search bar functional by allowing users to input a word into the search bar to return an output related to that inputted word. I am fairly new to anything involving such tasks so does anyone have any suggestions on how I could approach this? Is there a particular extension you have in mind that would most efficiently get this job done? Ideally, since my data is in an excel file, would it be possible to link my excel file of data into my web page? Thanks in advance!

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Word Dictionary</title> <link rel="stylesheet" href="style.css"> </head> <body> <section> <form class="searchForm"> <h1>Searchable Glossary</h1> <input type="search" name="searchBox" id="searchBox" placeholder="Enter word"> <input type="button" name="submit" value="submit" onclick="wordSearch()"> <input type="reset" value="reset" onclick="reloadPage()"> </form> <div class="searchResult" id="searchResult"> <div> <h1>SOP</h1> <p id="SOP"></p> </div> <div> <h1>Procedure</h1> <p id="Procedure"></p> </div> <div> <h1>Materials and Methods</h1> <p id="Materials and Methods"></p> </div> </div> </div> </section> <script src="js/main.js"></script> </body> </html> 
    submitted by /u/yycalgary01
    [link] [comments]

    No comments:

    Post a Comment