• Breaking News

    Thursday, June 11, 2020

    Tools I wish I had known about when I started coding learn programming

    Tools I wish I had known about when I started coding learn programming


    Tools I wish I had known about when I started coding

    Posted: 11 Jun 2020 07:47 AM PDT

    Hey all! I had compiled this list about two years ago, shortly after I started programming, and I found that is was helpful to a lot of folks, so I wanted to resurrect it.

    While the way I do some things has changed a lot in the last couple of years, these all helped me a lot when I was just getting into web development, and hopefully they might help you too!

    Chrome Extensions

    Now that I am a self-proclaimed web developer, I practically live in my Chrome console. Below are some tools that allow me to spend less time there:

    • WhatFont — The name says it all. This is an easy way of finding out the fonts that your favorite website is using, so that you can borrow them for your own projects.
    • Pesticide — Useful for seeing the outlines of your HTML elements and modifying CSS. This was a lifesaver when I was trying to learn my way around the box-model.
    • Colorzilla — Useful for copying exact colors off of a website. This copies a color straight to your clipboard so you don't spend forever trying to get the right RGBA combination.
    • CSS Peeper — Useful for looking at colors and assets used on a website. A good exercise, especially when starting out, is cloning out websites that you think look cool. This gives you a peek under the hood at their color scheme and allows you to see what other assets exist on their page.
    • Wappalyzer — Useful for seeing the technologies being used on a website. Ever wonder what kind of framework a website is using or what service it is hosted on? Look no further.
    • React Dev Tools — Useful for debugging your React applications. It bears mentioning that this is only useful if you are programming a React application.
    • Redux Dev Tools — Useful for debugging applications using Redux. It bears mentioning that this is only useful if you are implementing Redux in your application.
    • JSON Formatter — Useful for making JSON look cleaner in the browser. Have you ever stared an ugly JSON blob in the face, trying to figure out how deeply nested the information you want is? Well this makes it so that it only takes 2 hours instead of 3.
    • Vimeo Repeat and Speed — Useful for speeding up Vimeo videos. If you watch video tutorials like most web developers, you know how handy it is to consume them at 1.25 times the regular playback speed. There are also versions for YouTube.

    VS Code Extensions

    Visual Studio Code is my editor of choice.

    People love their text editors, and I am no exception. However, I'm willing to bet most of these extensions work for whatever editor you are using as well. Check out my favorite extensions:

    • Auto Rename Tag — Auto rename paired HTML tags. You created a <p> tag. Now you want to change it, as well as its enclosing </p> tag to something else. Simply change one and the other will follow. Theoretically improves your productivity by a factor of 2.
    • HTML CSS Support — CSS support for HTML documents. This is useful for getting some neat syntax highlighting and code suggestions so that CSS only makes you want to quit coding a couple of times a day.
    • HTML Snippets — Useful code snippets. Another nice time saver. Pair this with Emmet and you barely ever have to type real HTML again.
    • Babel ES6/ES7 — Adds JavaScript Babel syntax coloring. If you are using Babel, this will make it much easier to differentiate what is going on in your code. This is neat if you like to play with modern features of JavaScript.
    • Bracket Pair Colorizer — Adds colors to brackets for easier block visualization. This is handy for those all-too-common bugs where you didn't close your brackets or parentheses accurately. EDIT: Version 2 now available https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer-2
    • ESLint — Integrates ESLint into Visual Studio Code. This is handy for getting hints about bugs as you are writing your code and, depending on your configuration, it can help enforce good coding style.
    • Guides — Adds extra guide lines to code. This is another visual cue to make sure that you are closing your brackets correctly. If you can't tell, I'm a very visual person.
    • JavaScript Console Utils — Makes for easier console logging. If you are like most developers, you will find yourself logging to the console in your debugging flow (I know that we are supposed to use the debugger). This utility makes it easy to create useful console.log() statements.
    • Code Spell Checker — Spelling checker that accounts for camelCase. Another common source of bugs is fat-thumbing a variable or function name. This spell checker will look for uncommon words and is good about accounting for the way we write things in JavaScript.
    • Git Lens — Makes it easier to see when, and by whom, changes were made. This is nice for blaming the appropriate person when code gets broken, since it is absolutely never your fault.
    • Path Intellisense — File path autocompletion. This is super handy for importing things from other files. It makes navigating your file tree a breeze.
    • Prettier — Automatic code formatter. Forget about the days where you had to manually indent your code and make things human-legible. Prettier will do this for you much faster, and better, than you ever could on your own. I can't recommend this one enough.
    • VSCode-Icons — Adds icons to the file tree. If looking at your file structure hurts your eyes, this might help. There is a helpful icon for just about any kind of file you are making which will make it easier to distinguish what you are looking at.

    EDIT: found more tools I had compiled on a per operating system basis!

    Operating System Agnostic

    Postman — At its most basic, this is an application that allows you to test the different endpoints of an API. You know, that good CRUD stuff. Once you dive deeper into it, you will find it is also incredibly useful for writing up test suites and much more.

    Insomnia — This is an open-source alternative to Postman. It appears to have a lot of the same functionality with a slightly lower price tag for their premium packages. Between this and Postman, the choice seems to mostly be personal preference for the UX. Don't stay up all night making a decision between the two (I had to, forgive me).

    Restlet — If you don't want to download either of the above, this is an API testing client that is available as a Chrome extension. It even allows the importing of Postman tests and several other formats.

    Charles — This is a sweet web debugging proxy that allows you to view all of the information you could possibly want to see about the requests being made between your machine and the internet. It basically turns you into a hacker, allowing you to check your website for security vulnerabilities and such.

    Fiddler — Basically the same tool as Charles. Personal preference seems to be the main deciding factor between the two, though both can greatly increase your debugging/troubleshooting capabilities.

    Flux — If you're reading this, chances are you probably spend a ton of time on your computer. Flux is a program that turns the blue light down on your screen as the sun sets, with the hopes of mimicking the day/night cycle and helping you sleep better. Not as good as getting time away from the screen, certainly, but it's better than nothing!

    Windows Specific

    ConEmu — If you are on Windows and you would like to have multiple terminal tabs, this is an easy, free solution to your tab-related woes. Never again will you have to flip back and forth through entire windows just to look at your different error messages.-

    Ditto — You know when you're trying to copy four separate answers from Stack Overflow and you have to keep switching back and forth from your browser to your IDE? Worry no more. With the Ditto clipboard manager, you can copy-paste your way to victory.

    TouchCursor — Programmers of all sorts are notorious for wanting to use the mouse as little as possible. If you find yourself in that camp, then this will be right up your alley

    Cmder — I am going to forego my description of this product, as I feel the description on their website is much better — "Cmder is a software package created out of pure frustration over the absence of nice console emulators on Windows. It is based on amazing software, and spiced up with the Monokai color scheme and a custom prompt layout, looking sexy from the start." I don't know about you, but I am a fan of any software that describes itself as "sexy"

    Directory Opus — This is basically what Windows Explorer should have been from the start. Opus allows you to dig through your poorly-organized documents almost as if they were well-organized.

    Zeal — With over 200 documentation sets to search through, Zeal is an offline goldmine of documentation for the developer who loves to read documentation so much that they do it even when the internet is out. (Copy-pasted from Dash in the Mac section).

    Mac Specific

    Paw — A competitor to both Postman and Insomnia above, Paw is a similar piece of software that feels more like a native Mac application than the others. If you love that Mac feel, this might be the API tool for you.

    Dash — With over 200 documentation sets to search through, Dash is an offline goldmine of documentation for the developer who loves to read documentation so much that they do it even when the internet is out.

    Bear — Not directly coding related, but a neat piece of software for taking notes if that is something you do in your day-to-day. I can't help but wish that this would be integrated with Paw somehow, for pun-related purposes.

    Magnet — Okay. Fair warning: This one costs money. If you can afford to dish up the 99 cents, however, I think it is worth it for those tough times when you don't have access to a second monitor. This tool allows you to easily snap different windows to separate areas of your screen so you can run multiple terminals at once and tell your mom you are a hacker. (They are not paying me for this recommendation, sadly. However, if you are the creator of Magnet and you wish to pay me, please get in touch).

    EDIT 2: adding new version of Bracket Pair colorizer here and to description above https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer-2

    EDIT 3: I've had people in dms asking about more advice/tooling. I'll definitely continue to cross post anything that makes sense to here like this post. I also try to help out on https://twitter.com/marioahoyos . I am a career switcher like many people here are and I want to help as many people make the transition as I can :)

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

    Is anyone interested in learning Dynamic Programming?

    Posted: 11 Jun 2020 12:49 PM PDT

    I have a background in Math and CS and currently work at a bulge bracket investment Bank. I have been preparing for switching my job for a while now and I found that many people struggle with Dynamic Programming while solving algorithmic problems. So I thought why not share what I have learnt with others but not sure if people want to see another tutorial on DP. Though I promise that I will try to explain the core intuition behind DP problems and how to solve them as well.I have seen that many algorithms course teach DP in a mechanical fashion by simply explaining what is state, what is optimal structure and then proceed to problems. I often find that they don't focus on the ability to think a dp solution.

    Let me know if anyone wants to learn dp. I will publish my personal notes and topic wise problems on some webpage/github page.

    Thanks for reading. Feedback is welcome.

    Disclaimer: I am not trying to sell any course whatsoever. Just want to gauge if there is any enthusiasm before I spend my time creating a free content which imo could be useful.

    EDIT: I will be working on organizing my content and will share the link here.

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

    Is there any good flutter book as of 2020?

    Posted: 11 Jun 2020 11:42 PM PDT

    Hi, is there any book that covers the fundamentals and the state management in Flutter?

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

    Need a little life advice from people in the industry...

    Posted: 11 Jun 2020 07:52 PM PDT

    I realize there are a bunch of newbie questions on here, but I couldn't find one that was very close to my specific situation, so I figured I'd ask.

    I'm 30, and I have limited programming experience. Mostly just from messing around on Unity and Godot building basic games. I have completed a few basic Udemy courses as well, and when I was 20 I took 2 semesters of CS at a local CC that showed us a little BASIC and some HTML/CSS. (Also everyone in my generation got basic HTML knowledge from Myspace back in the day LOL)

    Long story short, I didn't finish college and ended up getting into sales. I've done well with it for the last 6 years or so, made decent money but its getting to be completely soul crushing, and I've always wondered about what would have happened if I would have gotten that CS degree 20 y.o. me wanted.

    I moved to a new city recently, and I'm not feeling my current job. Talking to my wife, we agreed it was time I made a change. I really dig working with code, and also love games (mostly indie 2d stuff).

    I've spent the last few weeks looking into different online college programs, and also looking at bootcamps and have a few questions/concerns that I would really appreciate some feedback on.

    BOOTCAMP

    I feel that time is not on my side, and I have enough saved to get me through a bootcamp without working. Most of the success stories I see in reviews seem a little "advertised" and also mention having SOME kind of degree.

    1. Assuming I could put together a decent portfolio and dive in full force, would I have a pretty good shot of gainful employment?
    2. With COVID going on, everything is online. Could I expect to get much more out of this than say Udemy or Treehouse or something, or is that pretty much what the courses are going to look like? I'd prefer the classroom version, but timing may not allow that.
    3. Does anyone have any experience attending a bootcamp from a situation similar to mine?
    4. Are there some good tech certs you'd recommend that would help me along this path/get my foot in the door?

    ONLINE COLLEGE

    I've looked at a bunch of universities. One that I like the idea of is the WGU program because you go at your own pace, hence I could save time/money..

    Going this route I'd have to find some sort of part time gig (what did I do with that server apron...?) while i was in school and take out a loan of some sort. It'd probably be fine because I've done a good job of staying out of debt, but it would definitely feel like taking a step back in order to take a step forward.

    1. Would I have that much of a leg up going this route?
    2. Would I be better off in a game programming specific program if that was the end goal? Are these programs too broad?
    3. Does anyone know of a school that is a go at your own pace kind of program other than WGU?

    I appreciate any answers/success stories (or failure stories for that matter). Thank you in advanced!

    Cheers

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

    How to pull info from e-mails?

    Posted: 11 Jun 2020 11:11 PM PDT

    Hi!

    So basically I get 2 sets of emails that I want to cross-check with each other. One of them for money received, one for money spent. They both follow the same format in the emails every time, and I was wondering if anyone knew a way to automate it(or to get started with automating it) to put the money from both incoming and outgoing into their own doc or spreadsheet?

    Thanks :)

    Edit: I know a bit of Java and i'm learning python on my own(I'm a high school student), and I'm using Gmail

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

    If You Are Self-Taught, and were able to begin a career as a developer, would you mind sharing your story?

    Posted: 11 Jun 2020 01:45 PM PDT

    I'm curious to know what you did before, why/how you got interested in programming, what was the path you took, what mistakes were made, etc.

    Long or short, it's not unlikely that your story would resonate with with someone else on this sub and provide them with additional insights and motivation to continue their journey.

    submitted by /u/pre-tend-ed
    [link] [comments]

    So..I just got into programming. (mostly interested in learning 3 languages. Jave,Python and HTML. And im starting with py.) But I wanted to know how a=hard it would be to program an AI.

    Posted: 11 Jun 2020 09:28 PM PDT

    So...

    As the title details, I have been wanting to work on an AI. But don't twist my words too harshly because its not what you think. AI in the modern-day world isn't really AI. Its just minor machine learning programmed with different responses. As far as I know, no AI can actually think for itself. So with that said how hard would it be to program a simple bot with voice recognition with simple tasks and answers programmed into it?

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

    Stuck at the start.

    Posted: 11 Jun 2020 08:18 PM PDT

    Hello, guys and gals!

    I've had an interest in computers for 10 years now. I spend hours and hours watching people talk about programming, but I do not know where to start to be honest. I watched a few YouTube videos on how to get started, and I got as far as typing "Hello World!" It just seems like there is so much to learn. I know everyone has a different learning process, and I need to learn with the method that is best for me, but I just can't seem to find a starting point. I downloaded VS Code and decided to attempt to learn Python because it was recommended as the "easiest" language to learn. I was just wondering if some experienced programmers could give me some advice on where to start.

    Also, I am starting my degree in computer science this fall. Should I wait and learn everything at my university? Or, should I go ahead and start preparing myself by learning some basics?

    Help from anyone would be much appreciated! :)

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

    When watching YouTube video about programming, do you prefer teacher to show only their screen or also show their face, given that they are equally good at teaching

    Posted: 11 Jun 2020 11:57 PM PDT

    Do you think showing face when teach programming on YouTube have value added ?

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

    Python projects for Cybersecurity?

    Posted: 11 Jun 2020 05:43 PM PDT

    What are some projects that relate to cybersecurity?

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

    How can I automate my job

    Posted: 11 Jun 2020 11:38 PM PDT

    So i have a liste of about 1200 barcode that i need to manually look on the Internet for a bunch of informations such as description, release date, measures, weight. Basically about 37 informations for each code. It's tedious and it would take a lot of time. I was wondering if i can write a script that does the job which programming language would be ideal for this situation.

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

    Hi - New to Visual Studio

    Posted: 11 Jun 2020 11:35 PM PDT

    I was learning Python on VS 2019 community, I had the correct language syntax (colored text)

    but after a few days of use its just all white text, im not sure what i clicked on or what i did but i cant seem to change it despite having reset all the setting

    i also tried to uninstall VS but no luck

    any help would be appreciated

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

    ACTIVITY PROBLEM, WHAT'S NEXT???? (JAVA)

    Posted: 11 Jun 2020 11:23 PM PDT

    Hey guys, I am really trying hard to get the solution in this problem, it's java can you guys help me? Other subjects are rushing for the deadline and this on my programming subject, I really suck at logic problem.

    ____________________________________________________________________________________________________________

    Here is the question:

    Write a program that will find all numbers which are divisible by 7 but are not a multiple of 5 between an input range from the user.

    Sample Output:

    Starting value: 1

    Ending value: 50

    Results: 7 14 21 28 42 49

    ____________________________________________________________________________________________________________

    Here is my code:

    import java.util.Scanner;

    public class Gonzaga {

    public static void main(String\[\] args) {

    Scanner i = new Scanner(System.in);

    int a;

    System.out.println("Input starting value: ");

    int start=i.nextInt();

    System.out.println("Input ending value: ");

    int end=i.nextInt();

    for (a = start; a <= end; a++) {

    System.out.print(a+" ");

    }

    }

    }

    _____________________________________________________________________________

    What do I need to do? Sorry, I don't know it will come to this point haha.

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

    Good sources to learn angular in an interactive way.

    Posted: 11 Jun 2020 11:14 PM PDT

    Hey guys, I've recently decided to start learning Angular from scratch. I've worked with angular before, so I'm not totally unfamiliar with the language, but the way I worked with it so far hasn't allowed me to learn the basics properly.

    Can you guys recommend any sources that have allowed you to learn angular in a proper non-superficial way?

    Big thanks!

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

    Diversifying my Portfolio

    Posted: 11 Jun 2020 11:04 PM PDT

    I'm currently attempting to make the career change into data analytics. I've made things like webscrapers and other 'automate the boring things' projects and have data visualizations on my website.

    What else would really prove to employers that I'm actually capable to do this stuff?

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

    Taking an Algorithms class is helping a lot!

    Posted: 11 Jun 2020 05:06 PM PDT

    Hello! Like most of you I'm mostly a self taught programmer and I've always felt like I've been missing some info, or there's some gaps in my knowledge. I decided to take an Algorithms class because I plan to apply to jobs soon and they mostly ask algorithm and data structure questions in the interview. Well, just 3 lectures in and I can already say I've learned a lot! The course I'm doing is the MIT 6.006 Introduction to Algorithms course. For example, I've always known about Big O and had a rough idea on what it was, but I never truly understood it. When the prof goes over an algorithm, they also go onto discuss about the run time and other things so just 3 lecs in, I'd say I have a MUCH better understanding.

    In the third lecture I learned about Insertion Sort and Merge Sort. I've seen these two sorts before but never tried to implement it on my own or go deeper into it. However, after watching the lecture I decided to try to implement it on my own AND I MANAGED TO DO IT! I don't really have anyone to share this with but I'm just so darn happy that I was able to implement two algorithms just off of the explanation they gave (even if they're pretty basic ones haha).

    I plan to open a repo on Github and go through the whole series. The goal is to watch the lecs and write my own implementation of the algorithms and upload all these code snippets so I can review them when it comes time to job hunt and grind leetcode. I also plan to comment them pretty heavily in a way that I understand (aka pretty dumbed down and in plain english haha). In the off chance that this will help someone, here is my implementation and explanation of the two algorithms!

    Here's the code in a Cloud IDE if you just want to see it without the explanation

    Insertion Sort

    def insertionSort(arr): # If the length is 1, there's no sorting to do so just return it if len(arr) == 1: return arr # We want to loop through from the second element to the last. This is because we compare with the previous element we're on # (if we start at the first element, there's nothing before it to compare with) for index in range(1, len(arr)): # We want to continuously swap the element with the element before it as long as the element before it is smaller, we also want # to make sure we don't allow our index to fall under 1 because like above, if we let the index fall to 0 (the first element), # there's nothing to compare it with while((arr[index] < arr[index-1]) and index > 0): # Temp variable to hold the value at the current index temp = arr[index] # Swap the elements arr[index] = arr[index-1] arr[index-1] = temp # Reduce the index since we swapped the elements making the element we care about (which was originally at arr[index]) # end up at the index before it (so now the element we care about is at arr[index - 1]) index -= 1 # Return the sorted array! return arr 

    Merge Sort

    def mergeSort(arr): # Base case, if there's only one element, return it since there's nothing to sort if(len(arr) == 1): return arr # Get the middle index (doing // means divide but floor the number, aka 5 // 2 = 2) mid = len(arr) // 2 # This is the recursive function, we keep splitting the array down the middle and calling the sort function on the new # splitted array l = mergeSort(arr[:mid]) r = mergeSort(arr[mid:]) # Initialize the necessary variables result = [] i = j = 0 # This is the "two finger algorithm". There's two fingers (pointers) pointed to the smallest element in each of the # arrays (since the array is sorted from smallest to largest, it is the first element), it then compares which is smaller # and adds that element to the new array. You then move the finger from the array that had the smallest value to # the next element and compare again. Keep going till one finger reaches the end of the array while(i < len(l) and j < len(r)): if (l[i] <= r[j]): result.append(l[i]) i += 1 elif (r[j] < l[i]): result.append(r[j]) j += 1 # At this point, one finger reached the end but there's still elements in the other array. Since the two arrays are sorted, # this ensures that the items remaining in the other array are sorted, so simply add the elements to the result if (i == len(l)): result.extend(r[j:]) elif (j == len(r)): result.extend(l[i:]) # Return the sorted array! return result 

    I hope this explanation was useful to at least one person! If anything is confusing or you want to learn more (such as the time complexities of each), I highly suggest you watch the third lecture on these two algorithms!

    Also, these algorithms might not be the cleanest and I implemented it how I understood it, so if anyone sees any errors or ways to make improvements, I'm all ears!

    Thanks everyone and happy coding!! Onto the lecture on heaps for me! (pretty excited!!!)

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

    Good Resources for Someone Starting CompSci degree?

    Posted: 11 Jun 2020 11:04 PM PDT

    I'm starting in the fall and want to know good sites/resources to help me learn/get a start - I will be taking C++, data structures, etc. I only have some HS experience in Java and don't know much about C++ thus I just want to get some experience with it.

    Thank you!

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

    What is a good book to read to better my problem solving and programming skills?

    Posted: 11 Jun 2020 11:03 PM PDT

    As a student, I find myself having troubling coming up with solutions to my programming assignments. I was wondering if there are any texts that could help me get better at solving problems and implementing and creating algorithms as well as become a better programmer in general.

    I have read books on languages themselves and understand the syntax, documentation, and how to use them, but with that said, I still struggle. Do you guys have any suggestions?

    EDIT: A friend recommend Knuth's TAOCP, but they seem a bit too advanced and geared towards people who are already making a career out of programming.

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

    Is competitive coding in a different language and developing in another one a good idea?

    Posted: 11 Jun 2020 11:01 PM PDT

    I started solving HackerRank problems about 3 months ago, and have been doing some side projects too. I primarily focus on C++ and C# for my projects.

    But I find it really useful to solve coding questions on HackerRank using Python 3.

    I feel it helps me focus on the problem more instead of syntax and boilerplate stuff which C++ requires. It takes a lot more typing to do the same thing in C++ compared to Python. I speed up a lot while using Python.

    Is this a good idea, or should I use C++ for competitive coding?

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

    Making money coding as a teen

    Posted: 11 Jun 2020 01:12 PM PDT

    Hello world, I am a 14 year old who is in need of money. I was wondering if I could actually make some money coding.

    I am coding for around a year now for about 4 hours a day, just because I think it is really fun and useful. Of course it would be really nice to make some money with this. I know enough html, CSS, JavaScript to make a simple but functional website, and I 'know' python. With python I can make gui's, I can scrape the web, and I have basically mastered the syntax. I also can work with SQL

    Does anyone have experience with making money coding at this age? Thanks!

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

    Looking for a Python tutor!

    Posted: 11 Jun 2020 09:59 PM PDT

    Hello! I'm looking for a tutor to help me in my python based course I am taking. A lot of my homework assignments are problem solving based, and I really want to be able to learn and truly understand how to problem solve. If this interests you please dm me!

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

    What are some audio based ways to learn about programming and CS?

    Posted: 11 Jun 2020 09:13 PM PDT

    I have a 30 hour road trip coming up and want to learn more about programming.

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

    Is it "cheating" to use a framework

    Posted: 11 Jun 2020 07:14 AM PDT

    im not really great with some stuff (ui-ux) so i use the ionic framework and also google's firebase for user authentication

    is that considered cheating or do i have to invent the wheel at every new company

    also question to current devs do you guys use frameworks at your jobs or do you have to build it up from the bottom

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

    Looping through a dir of JSON files - doing something wrong

    Posted: 11 Jun 2020 03:08 PM PDT

    I am trying to loop through a folder of JSON files and put them all together in a final dataframe (df_final). However, when I run this I get a blank dataframe when I run df_final. What am I doing wrong? Thank you so much

    import json import os import glob import pandas as pd path = r'C:\Users\me\folder' df_final = pd.DataFrame() for filename in glob.glob(os.path.join(path, '*.json')): with open(filename, encoding='utf-8', mode='r') as f: data=json.loads(f.read()) df = pd.json_normalize(data) df_final.append(df, ignore_index=True) 
    submitted by /u/MountainTour5
    [link] [comments]

    No comments:

    Post a Comment