• Breaking News

    Monday, March 2, 2020

    I didn't see an in-depth guide on how to program an Arduino LED mask, so I spent 10 hours yesterday writing a guide on it! learn programming

    I didn't see an in-depth guide on how to program an Arduino LED mask, so I spent 10 hours yesterday writing a guide on it! learn programming


    I didn't see an in-depth guide on how to program an Arduino LED mask, so I spent 10 hours yesterday writing a guide on it!

    Posted: 01 Mar 2020 11:09 AM PST

    In an effort to help out the community, I spent a lot of time sharing my experience and going indepth on how to create an LED rave mask using an Arduino and C++. I'm more of a programmer but I was able to create a functional mask using the schematics I created.

    If you're interested in learning how it works, here it is: https://armaizadenwala.com/blog/how-to-create-a-led-rave-mask-using-arduino/

    There are a lot of videos briefly explaining it and resources explaining different parts on different domains. This guide should have almost everything in one place with my own approach to animating and drawing the leds on the mask. Hopefully this guide saves you a lot of time if you ever want to create a similar project!

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

    Is there a course showing a complete process of building a website?

    Posted: 01 Mar 2020 08:40 AM PST

    Something like this:

    - create project from scratch
    - set up git, webpack/gulp etc
    - working with git along the way
    - coding HTML, CSS/SASS, JS
    - making the website responsive
    - publishing the website

    Hope you know what I mean :-)

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

    My first project

    Posted: 01 Mar 2020 01:57 PM PST

    Hi guys,

    I did it! I published my first app. It's nothing special really but it can be useful, I already installed it in the office!

    With this service you can embed multiple websites into a slideshow to get live info. We use it in the office to track trains, weather and other stuff on screens. Maybe it will be useful for you as well?

    https://www.greenboardtv.com/

    Edit: If your link doesn't display it means that this content is not embeddable. Most websites can be embedded but for youtube videos you need the embeddable link, this is a link that looks like this: https://www.youtube.com/embed/9db5d2dRDHg

    Cheers

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

    Display Database in Webbrowser?

    Posted: 01 Mar 2020 11:18 PM PST

    Hello,

    I hope this is not a too frequent question but I don't even know how I should specify my search.

    I have the task for a course at my university to build a simple GUI that runs in a Web Browser which contains a search bar, where you insert an ID.

    With this ID you'll do an SQL request in a database and the GUI displays a list with items corresponding to this ID.

    What is the best way to do this? I have very few experience in programming but for what I know, I need a Backend which handles the database requests, a Frontend for in and output and a Database.

    So far I have a PostgreSQL database.

    Later, this whole thing has to run on a server.

    The question is, what is the best way (programming language) to do this?

    Thanks a lot four your help.

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

    Programming Real Time 3D reconstruction with C++

    Posted: 01 Mar 2020 08:40 PM PST

    Hey guys! I recently wrote an article on an overview of a famous 3D reconstruction algorithm KinectFusion and how to implement it in C++. Hope you guys can check it out!

    Link:

    https://medium.com/@taying.cheng/understanding-real-time-3d-reconstruction-and-kinectfusion-33d61d1cd402

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

    Serious Question - Is it normal to copy code when you have absolutely no idea where to start with something?

    Posted: 01 Mar 2020 08:53 PM PST

    Hey, guys, I'm currently going through Harvard's CS50 problem set 0 (making a project in scratch). I've done a lot of the project myself just basic stuff like making sprites move and such. But I have something in my game where I want to make a sprite that moves back and forth randomly shoot out objects that the player has to dodge. I also want the speed at which the object is shit at the player to increase as the game goes on.

    Basically I have no clue how to do something like this I wouldn't even know where to start so is it wrong for me to look at other scratch projects that have similar functionality and copy the code into my own?

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

    Programming Podcasts that don't suck?

    Posted: 01 Mar 2020 08:51 PM PST

    I'm trying to get more into the culture of Software Dev (esp web dev) but it's pretty difficult for a newcomer to be honest.

    Sometimes, I feel like I need a reference guide when consuming tech media, like I'm reading fuckin Shakespeare. Granted, this can be solved by coding more, but I'm looking for more ways to learn other than coding and reading articles.

    I'm a big fan of Podcasts, as they're a great way to almost-passively absorb info while commuting.

    Unfortunately, I've tried a couple of Podcasts, but they feel like they're hosted by people who spend a lot of their time being smug pricks on StackOverflow.

    I love shows with a lotta banter and light structure (like The Dick Show, Chapo Trap House, Linus Tech Tips, Castle Superbeast, Rogan etc) any recommendations?

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

    How do you set a price for a programming solution?

    Posted: 02 Mar 2020 12:06 AM PST

    I recently built a web application using angular as front end, php codeIgniter server and SQL as the database. Both the database and the PHP server are really complex, and the angular app has a lot of fresh components and modules that I built, and it's also a PWA.

    So far I spent 150 hours on this project, but I think it will take me at least three times more than this to properly finish it and clean everything up.

    How do I set a price on it? I tried using some "website calculator" and it always throws me near the 10k$-15k$ mark.

    **EDIT**
    I'm basically creating a new product which is already getting investors in from my client's side. An investor for the app can choose 4 different payments: 1.) 100$ 2.) 200$ 3.) 300$ 4.) 1000$ They have already accumulated some investors and more are coming every day, and to use the app (ONCE IT'S LIVE) people will have to pay about 15$ a month, so they'll get a lot of money off this.

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

    How do I learn Flask when the Flask Mega Tutorial is kind of confusing?

    Posted: 01 Mar 2020 08:15 PM PST

    Hey I am trying to learn Flask so that I can begin to work on some projects for job searching. I am currently reading through the flask mega tutorial and the tutorial straight from the Flask website. Both of these seem a little confusing. I am pretty familiar with Python and comfortable making simple programs. I understand the OOP mechanism in python, I just haven't made anything of note to show companies when applying for jobs. Idk, the flask thing seems confusing. any tips of getting a handle on it?

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

    Need help with MIPS Assembly opening a user input file.

    Posted: 01 Mar 2020 11:44 PM PST

    I am new to learning MIPS assembly. A small part of my assignment is to have the user input a file name and I have to open it and print it. I am having trouble getting the user input and using sys call 13 to open the file. I do not know how to do this. How do I get the user input and use it in scale 13? Thanks in advance

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

    GitHub! When and why?

    Posted: 01 Mar 2020 05:37 PM PST

    Hello people!
    I am in the process of learning programming and working on a project for university right now. While pushing yet another commit to GitHub I started wondering when commits should be actually pushed?
    For example, I push commits when I finish my programming session to "save the progess". Is it more efficient or maybe more 'industry standard' to push it when you reach a certain milestone?
    So do you push your commits after finishing programming session or reaching a goal/milestone? Let me know!

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

    how to allocate 100mb in c++?

    Posted: 01 Mar 2020 06:22 PM PST

    so my latest assignment requires me to "allocate 100 mb two buffers" for one of my steps. this seems incredibly large compared to anything that I've ever done how would I do this? would I declare some sort of dynamic char array? char* p = new char[1mb];?

    submitted by /u/2kfan
    [link] [comments]

    Using multiple languages in an app

    Posted: 01 Mar 2020 09:36 AM PST

    I've been teaching myself how to program for a couple years now almost 100% in python. However, what I'm still trying to wrap my head around is how some large scale applications are written is a variety of languages. Specifically in the backend.

    For example, doing some tasks in Golang, some tasks in Node, and some in Python.

    Can someone maybe point me in the direction where I can better understand how this would be compiled into a single application successfully?

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

    How do you feel about data replication in a microservice architecture?

    Posted: 01 Mar 2020 07:50 PM PST

    If you have a service that processes a message but needs additional data from another service to fully process the message how would you accomplish that task and why? I've seen a couple of approaches and I'm kind of at a loss as to which one would be better. The first approach is to get that data via an API to the service you are depending on. The second approach I've seen is to replicate the data you would need from that service you depend on in the DB for the service processing the message. Someone about data replication just feels wrong but I see a lot of people recommending that approach. My concerns are that it will make scaling more difficult and that the services will get out of sync. Some people think that data replication means the services are less coupled but the more I think about it the more it seems like that couples them more since the service now has to constantly be in sync with another service to be effective. Any input or resources would be appreciated.

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

    How would I make an aimbooster type game with java graphics?

    Posted: 01 Mar 2020 07:37 PM PST

    Ideally it would be incredibly simple, I want it to have a circle pop up in a random location for 3 seconds, and if you don't click it in 3 seconds then you get a game over screen that says the time you lasted. Unfortunately I have like no idea how to write code. What would I need to do to make this game a reality?

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

    Is it worth it to go to college to learn to code?

    Posted: 01 Mar 2020 06:34 PM PST

    Is it worth it to go to college to learn to code?

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

    What’s the job market like for programmers after graduating ? (UK)

    Posted: 02 Mar 2020 12:24 AM PST

    Hey guys I know this isn't strictly a question about learning programming as such but I assume this group has a lot of CS/ SE students in or ones just graduating.

    I am doing my degree in computer science specialising in software engineering here in England and I'm coming to the end of my second year meaning in just over a year I'll be entering the work field (hopefully)

    So I was just wondering what the experience was like for other recent graduates? Did you find a job quickly ? Did you struggle to get one ? Do you still not have one ? It will be interesting to see ! 😁

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

    How to upload image file to mongodb using Graphql

    Posted: 02 Mar 2020 12:08 AM PST

    I want to upload image file to mongodb using graphql below is mutation my code:

    newPost:async(_,{userId,caption,file},{Post})=>{

    const fileDt = await file

    const {createReadStream, filename, mimetype} = fileDt

    const fileStream = createReadStream()

    fileStream.pipe((p)=>console.log(p));

    //GET BYTES HERE

    const img = {

    data:'',

    filename,

    mimetype,

    encoding

    }

    const post = await new Post({

    userId,

    caption,

    img

    }).save();

    return post;

    }

    I am planning to save image data as base64 encoding in mongodb.

    Not sure how to use `fileStream` object to get data in base64 form from the uploaded image file and save to mongodb. Please guide. Thanks

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

    Multithreading a progress bar in vb.net?

    Posted: 02 Mar 2020 12:01 AM PST

    Hello,

    I have a datagridview that fills up from an sql query in one of the forms. Since the query generates a lot of rows, it takes sometime to fill up the datagridview. I created a progressbar in a different form to display the loading of the rows. How can I multithread the progressbar so that the progress bar runs on a different process than the loading so as to speed up? I am looking for maybe a simple example

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

    Programming for dummies

    Posted: 01 Mar 2020 08:06 PM PST

    I'm completely new to coding. 0 experience. Only experience I have is knowing how to turn on the computer. So my question is: what's the best language for app development for both iOS and Android for an app with simple features such as booking?

    And with your answer please provide the best books to learn from. Thanks

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

    TypeORM or Sequelize for Node Project

    Posted: 01 Mar 2020 08:06 PM PST

    Hey guys, just wondering if anyone has experience using TypeORM or Sequelize? I'm making a new project with node and express and just found out about these two, they looked pretty interesting so I wanted to try one of them as part of my learning. I haven't found too much on the web about them or comparison. I know there is a performance hit using these rather than raw sql.

    Would anyone mind sharing their experience with these? What did you like/dislike about them? How were they compared to each other? How much of a performance impact do they pose? Would you have preferred to just use raw sql? Thanks!

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

    C# Dynamic Action Loader - An actual loader

    Posted: 01 Mar 2020 05:39 PM PST

    I've made a system that will call different functions from a List. Very handy when initializing your application.

    It does

    • Measures how long each action took and how long all actions took to complete.
    • Invokes the Action or Lambda function in sequence with optional naming.

    Use cases

    • Debugging, you know exactly what function the application stopped at.
    • Measuring performance.
    • Initializing your program from one place.

    Link to thread with included source:

    https://ectotalk.com/index.php?threads/source-c-dynamic-action-loader-an-actual-loader.36/

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

    I need to learn visual basic

    Posted: 01 Mar 2020 11:30 PM PST

    First, yes I know, VB sucks, but I need to learn it for school, as I am adamite that the teacher does not know coding herself. I know a tiny bit (hello world and such) but I need a resource that isn't completely mind numbing.

    Sorry if this is against the rules, mods...

    submitted by /u/the-ragin-pyro
    [link] [comments]

    Proficient in Python

    Posted: 01 Mar 2020 05:20 PM PST

    Hi I'm working towards becoming a developer in python or using it for data analysis.

    I am at a beginner level- I'm aware of the fundamentals of programming and have completed a few tasks- manipulating strings, working with lists/dictionaries, working with csvs, using matplotlib and pandas.

    What can i do to become ready for a jr dev interview?

    I started by using http://www.practicepython.org/

    I've also looked into "Automate the Boring Stuff"

    Any other suggestions are welcome

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

    No comments:

    Post a Comment