• Breaking News

    Saturday, May 8, 2021

    What have you been working on recently? [May 08, 2021] learn programming

    What have you been working on recently? [May 08, 2021] learn programming


    What have you been working on recently? [May 08, 2021]

    Posted: 07 May 2021 09:00 PM PDT

    What have you been working on recently? Feel free to share updates on projects you're working on, brag about any major milestones you've hit, grouse about a challenge you've ran into recently... Any sort of "progress report" is fair game!

    A few requests:

    1. If possible, include a link to your source code when sharing a project update. That way, others can learn from your work!

    2. If you've shared something, try commenting on at least one other update -- ask a question, give feedback, compliment something cool... We encourage discussion!

    3. If you don't consider yourself to be a beginner, include about how many years of experience you have.

    This thread will remained stickied over the weekend. Link to past threads here.

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

    Best Github Repos you'll ever need to crack any coding interview

    Posted: 07 May 2021 05:30 PM PDT

    I have created a list of the most important Github repos which will help you to land a job at your dream company.

    1. System Design Primer
    2. Interview
    3. Awesome Interview Questions
    4. Coding Interview University
    5. Tech Interview Handbook

    Stay safe! And enjoy coding.

    May you get what you aim for!

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

    How To Actually Learn JavaScript for Web Development

    Posted: 07 May 2021 12:29 PM PDT

    Hey! I'm new to Web Development and this is my first time posting here.

    Learning HTML and CSS was relatively easy for me but I've just started JavaScript and I feel so demotivated. I'm learning about how to use the language in general (functions, loops, arrays etc) but I can't begin to imagine how I actually apply that to a web page!

    Any advice? I'm completely self taught at this point so any recommended resources will be greatly appreciated.

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

    To anyone struggling

    Posted: 07 May 2021 07:41 PM PDT

    Honestly just code,code and code. I learn way more just doing projects getting stuck , then googling the solutions to my problem . This is better than just watching tutorial videos after videos and just coding along . Don't get me wrong, coding along is fine but I always advise either doing the project on your own before or after watching and/or making it your own !

    I know we all have heard this before but it really does work the best , tutorial hell isn't fun at all

    Edit: grammar

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

    What do you think is the top 5 relevant languages today?

    Posted: 07 May 2021 02:00 PM PDT

    I am a brazilian 20 year old looking for my first job. I dream of one day working on game dev, and for that I need programming, however, I need job experience first and looking for anything, but mainly technology related.

    That, however, is not the topic of this post. I don't wanna kill myself by trying to learn every single language. College is already putting me through the basics of Java, Python and C/C++, and I knew programming logic from a young age. What I want to know is:

    What do you think are the top 5 most learning worthy languages currently?

    And by that I mean in a global view. Languages that are relevant in all the world on current times, that could provide me with a solid base for a career. Simple abridged explanations of your opinions would also be very welcome.

    Also, I'd like if one of the top 5, or maybe an extra 6th language on your answer, could be an older language that is still relevant today. I've heard my teached and an older college colleague talk about COBOL still being very relevant today and probably staying like that for a long time in the future, so I'd like to know about at least one of the older languages that I should try to learn.

    Thank you for your attention!

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

    Looking for Go(Golang) buddy

    Posted: 07 May 2021 01:54 PM PDT

    Hello. I am 28 years old and have experience as a software developer.

    I'm looking for someone to learn Golang with together, we could chat, discuss Golang stuff (algorithms, data structures, channels, interface, pointers), read books or solve Leetcode problems.

    I live in Venezuela, so English is not my first language and my time zone is UTC -04: 00.

    we can use Discord, Zoom.

    This is my Github profile:

    https://github.com/gonzalezlrjesus

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

    Can I become a good programmer in 3 years?

    Posted: 07 May 2021 03:09 PM PDT

    I'm extremely new to programming, but I'm really interested and hungry to learn and study more. I'm only 13 years old. If I studied programming for roughly one hour everyday for the next three years, could I become a good programmer? I know this probably varies a lot depending on the person since everyone learns at their own pace, but I'm a decently fast learner. Sorry if it's a dumb question, I'm just curious about how long it takes for the average person.

    Edit : Not sure if this is important to know but the language I'm learning is Python since I heard it's in high demand + easy to learn and use.

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

    Any ATmega328P Assembly code experts able to lend a hand?

    Posted: 07 May 2021 08:04 PM PDT

    In reference to the Pointer register Y of an 328P microcontroller. Can someone please explain the difference between the assembly codes below?

    The "st" command i.e. st Y+2, r24.

    And

    The "std" command i.e. std Y+2, r24

    My assumption is that std means store the value in register 24 directly at mem[Y+2]. Whereas st means store the value in register 24 at mem[Y] then increment where Y is pointing by 2. Can anyone verify/correct this?

    Cheers!

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

    How can i get out of this cycle or whatever this is?

    Posted: 07 May 2021 03:18 PM PDT

    I discovered coding at the age of 16(I am 18 now) and i really really enjoyed it. I tried a lot of things between the age of 13-16 e.g vid editing , music , sports and gave it up after 1-2 months. But coding os something i really enjoyed and decided to pursue it as a career

    But for some reason i code or think about code for 1-2 months non-stop and then leave it for 3-4 months then again come back to it. I did for 2 years now but because of this break my progress has been really slow and it is really becoming demotivating. Now the focus time has gone from 1-2 months to max 21-22 days. And I am really getting sad and depressed over this. Because i really want to build a career in programing and i have so many aspirations with programming.

    Please someone help me figuring out what am i suffering from or share your experience of you have ever felt like this

    submitted by /u/Strong-Firefighter68
    [link] [comments]

    Confused about align-content, align-items, justify-content, justify-items???

    Posted: 07 May 2021 10:21 AM PDT

    https://codepen.io/cgregurich/pen/jOBEZXb

    I'm trying to understand flex box and stuff, and I'm very confused by align-content vs align-items and justify-content vs justify-items.

    I don't think my confusion has much to do with understanding the different between align VS justify, but rather the difference between items and content.

    Mainly the fact that to get this to display as I want (numbers in the center of the boxes), I have to use justify-content and align-items, but if I were to use justify-items and align-content then it doesn't work as desired.

    Why?

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

    Went Through My Archive

    Posted: 07 May 2021 09:52 PM PDT

    I spent a year and a half learning programming back in 2012-2013, then occasioned a small attempt towards a project here and there (all fruitless). I had built up in my head that my first year was so unbelievably productive, I recalled some days spending 20 hours straight programming. Since, I've been fantasizing about recreating that dreamboat passion.

    However, yesterday I cleaned up my file systems and reorganized my archives for the better. One was, of course, all of my programming work since 2012. I was ludicrously disappointed. The way the archive had been arranged previously made it feel like a lot more was done, but after delving in, moving things around and deleting all the blanks/article downloads... I realized I did very little.

    So little, that in a few days of going through K&R's C programming language, 5 years later, I did more programming than in the entirety of 2012. Needless to say this has been a huge blow to the apparent fabrications I've held of my work ethic, more time than I thought must have been spent on YouTube or some such nonsense.

    Overall, I realized my work ethic with programming has been lacking since the beginning. Has anyone else had a similar experience? How do some people produce so much?

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

    Should I post beginner level material/projects on my GitHub?

    Posted: 07 May 2021 09:20 PM PDT

    Hi! I'm a fairly new coder so haven't attempted to make any fancy projects yet. However, I have been doing a bit of exploring in my free time and have coded some simple things to pick up on the fundamentals of coding languages and of CS in general. For instance, I'm currently learning about binary trees and created a basic program that creates a binary tree and transverses through it. Should I post something like that on my GitHub for others to see, or should I wait until I make something actually impressive?

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

    I need a mentor...

    Posted: 07 May 2021 10:04 AM PDT

    So my school has c++ as a subject, and i really enjoyed it.. But now I realised that what they've taught is nothing compared to real life software..

    I just need someone to help me get on the right track to be "fluent" in the language, and I'm afraid I can't pay, as I'm still in school.. Drop a message anytime, thanks in advance..

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

    Does anyone else get a type of semantic satiation with coding?

    Posted: 07 May 2021 11:49 PM PDT

    I am working my way through a udemy bootcamp and I swear things that I initially understood (or thought I understood) will become gobbledygook in my mind.

    For instance as I have been going through this course I have been using functions over and over and I think I get the big idea that a function is a procedure to follow that outputs something. Then I get to a project where I am stuck and I stare at the function input variable and I just can't make heads or tails of what a function at its base level IS. Especially as it gets nested in methods like forEach loops.

    Its like all that comfort with function just disappears and it becomes alien.

    Does this happen to anyone else? Is my brain just weird?

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

    Resume Building - Mentioning Experiences on Unofficial App Development Team Project On Resume

    Posted: 07 May 2021 07:41 PM PDT

    Hello everyone, I would like to ask one thing about resume. I am running a Discord server where people develop mobile and desktop applications and I am the president of this server. Since the day I set up the server to day I made Studio application forms, I nearly handled every single thing. I am at the same time learning mobile and desktop app development through C# and C++ in order to understand what my colleagues will do. Do you think stating as I am the president of an online studio project on my resume is a good idea? My main concern is this an unofficial experience. However, I believe that while I am doing that I got a lot of experience on design and software development. I would have start this community as an official company in the US but I believe that I have to graduate from college and get work experience. What are your thoughts about putting unofficial administrative experience on resume?

    submitted by /u/developer-27
    [link] [comments]

    Best database for small project, node.js

    Posted: 07 May 2021 10:58 PM PDT

    Hi, I'm looking for an easy to set up and use database for a beginner. I am using node.js, so I'm working with JSON objects. It only needs like 1 table, 200 entries, and maybe like 1KB per entry, just some strings and numbers

    I think mongodb is too complicated and has too much overhead. But let me know if mongo has a good lite version

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

    I am trying to save a df in python as a parquet file but it is throwing an error - ('List child type string overflowed the capacity of a single chunk'), I have tried other file formats as well but they are not responding as well.

    Posted: 07 May 2021 10:39 PM PDT

    I think this is because of the size of the file, so I tried building a function which would downcast all the columns in the df. I wrote the following function for the same -

    def float_to_int(df, cols): for col in cols: if (df[col].astype(np.int64) == df[col]).all(): return pd.to_numeric(df[col], downcast='integer') else: return pd.to_numeric(df[col], downcast='float')

    But it isn't working as well (taking too much as it should be, I have already ran it for an hour or so).

    Would you know of any other technique to do the same and let me know if I am making any mistakes as well.

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

    Do exceptions impact performance if you're not triggering it?

    Posted: 07 May 2021 10:56 AM PDT

    I've heard a lot of programmers complain about exceptions. Based on my understanding they're using it wrong to control flow. I just use it to catch bugs, in production, and handle error codes. I've found them very helpful with tracking down memory related bugs. Does it impact performance at release, even if I never hit a catch block?

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

    Hackathon

    Posted: 07 May 2021 09:30 PM PDT

    How do I get ideas for hackathon ?

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

    Outline around search bar when focusing, :focus not working!

    Posted: 07 May 2021 05:35 PM PDT

    Okay so this is driving me absolutely crazy, I can't seem to figure out the issue.

    I have a search bar, and what I would like to do is have it so while it is selected and you're typing, it has a purple outline.

    After looking online, the obvious consensus is to use .search:focus { outline: 1px solid purple }, but this doesn't work! Weirdly enough, using .search:active and .search:hover both create the outline when hovering or clicking, but I can't seem to get the outline to stay.

    I've figured out that if i use *:focus, it works but also creates purple squares around any other links that I select, so this leads me to believe that there is an outline overriding mine when I focus it. I've also tried using !important but doesn't help. I should also note that I don't use :focus anywhere else in my code at all.

    Any help greatly appreciated, thanks!

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

    Lua or python?

    Posted: 07 May 2021 01:43 PM PDT

    Hey, I'm a complete beginner and need some guidance. I wanted to start learning a programming language, and I've always heard that python is a good starting point. But, how would it be starting on Lua? The main reason is that I could create games on Roblox using Lua, which I feel like could motivate me more than just making random python projects.

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

    Help with makefile for C programs

    Posted: 07 May 2021 05:24 PM PDT

    Hello friends!

    I am getting into C programming of late, and having trouble figuring out how to "do" makefiles properly...

    In general, I've been working through small console app examples and such, with a typical file/folders structure as follows:

    /src /utils utils.h utils.c /ch01 prog1.c prog1dep.h prog1dep.c prog2.c /ch02 prog3.c prog3dep.h prog3dep.c 

    where, in general, the subfolders within src/ contain several standalone console apps, which may (e.g., /ch01/prog1 and /ch02/prog3) or may not (e.g., /ch01/prog2) have other dependencies. Additionally, I'd like to extract some global dependencies (e.g., /utils/) that may be pulled into specific programs as necessary (i.e., to reduce redundancy).

    What I'm trying to achieve is a single makefile that will build all of the individual executables, preferably into a dedicated directory (e.g., /bin) where it would be easy to run them and/or delete them as necessary, however, if this adds a lot of additional complexity then building/compiling into the respective subdirectories is perfectly fine for present purposes.

    For reference, I am targeting Linux Ubuntu for the executables, using gcc as my compiler and GNU make to run the makefile(s).

    Thank you in advance!

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

    Updating bios from a .rom format file on linux

    Posted: 07 May 2021 05:21 PM PDT

    Hi! I modded a bios to make a modded processor work. I just have to install the modded bios to make the processor work. Does someone know how to install it? I'm using linux (Debian-based distro) in an old computer with motherboard Pegatron 2A73h with an Ami bios v5.35. Utility like fwupd, and flashrom doesn't work in a such old motherboard, biosdisk looks very danger, I want to avoid modifing boot loader ecc: do you know how to help me?

    P.S. I modified the bios (in .rom format) adding the microcodes I needed using MMTool, now I have a modded bios in .rom format; Internet didn't help me about this, I only found advice about bios in .bin, .cab and .exe format (not very helpful however).

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

    A Beginner Level Help Needed

    Posted: 07 May 2021 08:42 PM PDT

    Its PythonProgramming Doubt

    I Was Writing A Hospital Database Code For My IT Project, But I Need It To Re-Run Itself At A Point, Also I need Help With Tkinter And Converting My Code To .Exe

    If Somebody Can Help Me Please DM Me On Discord:- TheGamingGod85#7653

    Please Help Me The Deadline Is 11th May

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

    [C++] super rudimentary questions

    Posted: 07 May 2021 08:38 PM PDT

    • why is scope needed for same class stuff? Like, Class::stuff() {}
    • why are semicolons needed in C++ class prototypes (vs. Java not really having semicolons after braces)
    • why are there so many ways to initialize (what is the bigger picture and what are best practices for it).
    • I get the use of pointers/references at my level are to be conscientious with memory since C++ is lower level than Java, but why are there things like pointers to pointers? (Googled this and it said pointer to letter, then pointer to word to form sentence, which seems ridiculously redundant.)

    Thanks!

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

    No comments:

    Post a Comment