What have you been working on recently? [February 13, 2021] learn programming |
- What have you been working on recently? [February 13, 2021]
- It's okay to suck...
- What are the best web games to learn programming skills?
- Prerequisites for low level programming?
- How to think?
- Getting an image to display XML/XSLT
- How do you structure your own database with Shopify or any other 3rd party app with its own database already?
- How realistic is the expectation that I can get a job out of high school?
- Does anyone work in wildlife conservation there?
- Best ways to learn the C programming language? (For beginner/intermediate level)
- What happens if high in binary search is int_max(C++)?
- Learning different languages
- Team of 3 full-stack devs working on our first cross-platform mobile app with an experimental stack including Node, NextJS, Expo, Firestore and React Native. Could use some help with authentication.
- Need general advice for creating a simple bowling score simulator in an OOP language
- Need help setting up visual studio
- My JS file isn't linking to my html file?
- Opinion needed for the following supposed Anti-Clickbomb script (javascript+jQuery) to protect ads from sabotage
- I just bought a script. It's mostly good, but there are some issues. Here is just one of a couple:
- Absolute beginners course recommendation for 2021
- The cost of a part time coding school in NYC
- What is a good online class to take for Javascript?
- Books for re-learning Python
- Browser extensions
- I cant study anything beside programming
- Is there any technical name for models on front ent?
What have you been working on recently? [February 13, 2021] Posted: 12 Feb 2021 09:00 PM PST 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:
This thread will remained stickied over the weekend. Link to past threads here. [link] [comments] |
Posted: 12 Feb 2021 03:15 AM PST It's honestly fine. I have over 11 years of professional web development experience and a Computer Engineer degree and when I started a new position at a big company about 2 months ago, I sucked. Like, it took me 2 weeks to build a single screen in their React Native app. But you know what? I accepted that it's impossible for me to just slot in a completely new code base and team and just hit the ground running. So I asked questions and scheduled calls with the engineers that actually built all that stuff to better understand everything. And I did my best to code up to their standards. And my PR review still needed a bunch of minor changes. But nobody minded. In fact, my engineering manager commended my communication skills and proactive attitude. I know that my experience is not gonna be the same for everyone but for a lot of people, they accept that new hires take a while to get going. Don't know who needs to hear this but it's better to ask questions and risk looking like a fool than struggle with something for days that someone else could help resolve in minutes. [link] [comments] |
What are the best web games to learn programming skills? Posted: 12 Feb 2021 06:48 PM PST I have seen a few are really great web games that teach programming (and related) concepts and skills. From Regex Golf, to CSS Flexbox Froggy, to Service Workies, to VIM Adventures there is some really engaging and fun content out there. What are your favorite (hopefully free) web games for learning and practicing development skills? What concepts/skills deserve a game but doesn't have one yet? [link] [comments] |
Prerequisites for low level programming? Posted: 12 Feb 2021 08:39 PM PST By low level, I mean stuff like embedded systems, writing device drivers, compilers, operating systems, graphics programming. How much mathematics do you need to know and how much knowledge of electronics? As far as I know, you need to know things like Assembly, C language and knowledge of computer hardware like CPU, RAM. Am I missing a few things? Do I have to learn more math and more on electronics? I really want to get started on low level programming, but I hate that I have to learn more additional things like advanced mathematics and physics to get started? UPDATE: For ex, this guy "bisqwit": https://www.youtube.com/results?search_query=bisqwit+ He does a lot of interesting low level programming like writing a terminal emulator, writing emulators, sound players, and kind of got me very interested in it lol [link] [comments] |
Posted: 12 Feb 2021 11:50 PM PST Yeah that's a dumb headline. Anyways, this may be a dumb question but, how do you think like a programmer/mathematician/statistician? Okay let me be more clear. I got through high school through hardcore memorization. I did all of advanced biology, chemistry and pure maths up to calculus 2, discrete maths and linear algebra. Hell i got a full scholarship to university through it. I always did better in bio and chem because I just spit back out what I read in the textbook. But, I'm really fed-up of doing that because sitting and beating a book for hours has gotten tired. My kinda brain feels like the one whose suppose to be a doctor, but the life I want is definitely NOT one of a doctor. I decided to follow that sense of "enjoyment" I got from calculus 1&2, even though I wasn't the top dog at it, I had fun. Now I've been learning Python and R for some time, playing around with git and sql, alongside statistics and keeping up with calculus and linear algebra. However I'm at a rough spot with programming and statistics. I acknowledge that programming is less about memorizing and more about knowing how to apply knowledge, and it causes me to draw blanks every time I try to get through some algorithms in a course etc. I just cannot wrap my head around what the question is asking, because I can't simply spit back out what I learnt in the boot camp, I gotta figure out how to take X,Y,Z procedures to produce the solution. Even in statistics I'm getting railed trying to be more analytical and regurgitate information less. Can anybody provide some advice on what I could do to, for lack of better words as I'm sleepy, change my brain from rote memorization mode to analytical mode? Tldr; Feel I have a brain that learnt to memorize information and regurgitate it, did bio chem and maths, don't wanna be a doctor, wanna have some fun with math, stats and programming, but cannot summon the analytical section of my brain to take over. Halp [link] [comments] |
Getting an image to display XML/XSLT Posted: 12 Feb 2021 11:11 PM PST I'm hoping that this is the right subreddit for what I'm trying to understand. Basically, I'm a college student taking an Intro to Computer Science class. We've been assigned to create a table that displays various bits of data as well as an image. I have spent hours and hours trying to learn how to do this successfully, and I still can't seem to get it to work. The image I'm trying to display is called " tim.jpg " and I feel like I've read every tutorial and watched every video I can find and nothing has worked so far. XML: XSL: Now, I'm not asking anyone to do my homework for me but if I could just get an explanation as to how everything works I would be extremely appreciative. I've reached out to my professor with 3 emails over the span of the past 4 days and he still hasn't responded to me. My assignment is due Sunday and I'm hoping that this subreddit will be able to help a very frustrated beginner out! Thank you so much in advance! [link] [comments] |
Posted: 12 Feb 2021 10:54 PM PST Shopify has Admin API where you have access to things like products. I am creating a Shopify App to add some data that Shopify doesn't hold about a product. Users are authenticated to my app based on their Shopify Login. The app connects to Shopify via an Access Token So how do I relate each record of my database to a specific Shopify User? My fear is other Shopify users will have access to other Shopify users data on my database. Not sure how to use Shopify authentication restrict access to my database as well. I saw on Admin API that Shopify doesn't allow you access User data unless on Shopify Plus private app. Even if I could get data about user, it doesn't make sense to pull in Shopify data into my database (creating a users table), now you have to worry about the same data in two different databases syncing. As you can see, totally confused on how to architect this whole thing. I already got authentication to work to my app. Database design is not so bad if you just working with your own standalone app, but adding to a prexisting database on Shopify is something I don't know how to structure. Seems like not much information on doing this. Is this type of architecture called something? [link] [comments] |
How realistic is the expectation that I can get a job out of high school? Posted: 12 Feb 2021 10:16 PM PST I'm a junior in high school, and for the past 6 months I've been doing some programming for fun. Things like python automation, websites (front-end and back-end, fairly simple in both), and some Java. Next year I plan on taking my school's AP Computer Science class, and also taking computer programming at a career center (offers a java cert at the end) nearby. I have seen a lot of things on the internet about people being self taught, and just expressing their interest for learning and getting a software dev job. Of course, this sounds too good to be true to me, but I've heard this about CS jobs before. The CS teacher at my school has told me that even certifications are pointless, that what matters most is your portfolio/skills and the attitude you have towards being a lifelong learner. If I were to take some online classes over the summer, and take AP CS and computer programming next year, how realistic would it be for me to get a job out of high school? College doesn't sound like something I want to pursue for a few reasons, and I just want to know how risky it would be to skip it altogether. [link] [comments] |
Does anyone work in wildlife conservation there? Posted: 12 Feb 2021 09:22 PM PST hi there, I am curious what skills are needed to develop technology that would help in wildlife conservation-any pointers tor resources or groups would be great, Thanks [link] [comments] |
Best ways to learn the C programming language? (For beginner/intermediate level) Posted: 12 Feb 2021 08:52 PM PST Would love any sources for learning the C programming language! Thanks in advance! [link] [comments] |
What happens if high in binary search is int_max(C++)? Posted: 12 Feb 2021 11:51 PM PST Adding any number to int_max gives a negative number (or platform specific). So what happens if I apply binary search with array of length Int_max(high is int_max) what happens and how can I apply binary search in array like that? [link] [comments] |
Posted: 12 Feb 2021 11:46 PM PST Hi, so in my study i learned java a little bit the basics and some more complicated things. Nkw we habe a semester brake and i bought a course to learn python (especially for data science and crawler) and the basics are already pretty similar but some keywords are different so ij oythin u use : instead of {} and dont really work with {} . And a few codewords are different and hiwnits written... i thought about making me notes for every language but i was wondering if professionell developers kniw the language fully or have a small notebook to dontnforget the basics and differences? Im really hyped about python [link] [comments] |
Posted: 12 Feb 2021 11:34 PM PST So, I've been trying to set up third party authentication with Facebook, Google and Apple. This is basically the eternal struggle of, what the heck do you do when you're working with so many specific techs and you have a highly specific problem? I have written a React app before but have not specifically worked with React Native, and I understand that NextJS is sort of replacing Express here. So I sort of get what's going on, but not entirely. My primary issues come down to the following: -I can't use the FirestoreUI Auth, iirc because it conflicts with Expo in some way -There are several ways of implementing third party authentication here, with their own guides, and all they all conflict with each other. -I can't use some of the example code I'm looking at that references things like window and document which exist in HTML but don't work with React Native. Basically, I'm feeling a bit lost and in over my head. It was an ambitious project but I am at the point where I'm not even sure what kinds of questions to ask. Could anyone point me in the right direction, whether that be a guide I may have overlooked, or a hint about how to untangle this mess? Thanks. [link] [comments] |
Need general advice for creating a simple bowling score simulator in an OOP language Posted: 12 Feb 2021 11:08 PM PST Hey everyone, I'm trying to create a simple bowling scoreboard application using any object oriented language. So far I'm familiar with Java and C++ and can probably complete it but needed some push in the right direction for a certain feature I'm trying to implement. Typically keeping score would be pretty straightforward (eg. using a variable to keep the running sum). However in bowling, if someone scores a strike or spare, the score of the next 2 rolls, or the next roll is also added to the current score respectively. Example: Throw 1: 5 (total for this throw is 5) Throw 2: 10 (Strike) (total for this throw is 10 + 2 + 4 = 16) Throw 3: 2 (total for this throw is 2) Throw 4: 4 (total for this throw is 4) My dilemma is, I want the user to input their scores individually one by one. If the input was given at once as an array it wouldn't be an issue since for the case of strikes I can just do totalForThrow = Throw[current] + Throw[next] + Throw[next2]. However, if I want to do it one by one, how would I handle the case for the strikes? How would I accommodate the variable when the information for the next 2 throws isn't readily available? (I am also updating the score for each throw as the user enters the input so it has to be displayed as blank but still be saved) Thanks in advance! [link] [comments] |
Need help setting up visual studio Posted: 12 Feb 2021 11:02 PM PST I want to write and run c++, and vs seems to be the best ide. I'm a beginner, so all i'll be doing for a while is run small programs. The installer is showing so many workloads/individual components , I am overwhelmed. Which ones do i have to install to be able to write, build and run small programs in c++? Thanks for the help. [link] [comments] |
My JS file isn't linking to my html file? Posted: 12 Feb 2021 05:00 PM PST Hello I'm having trouble with my js file not linking to my html file they are in sperate folders, because I was going to use separate js, and bundle them using webpacks I'm kind of sure that the correct why link a file that in a different folder is /src/scripts.js right? [link] [comments] |
Posted: 12 Feb 2021 10:52 PM PST By searching for a front-end solution, the only publicly available script that exists is the following, it's a javascript that works with jQuery and it's supposed to some(how?) protect the ads from getting more than a number of clicks from one session. Can you please check it out and tell me what exactly that code does (if it does), in human terms? I couldn't find any legitimately original source of this code to gain information. There are many sources but no analysis. The only info that exists is that the code should be in the <body> with jQuery.js before it. Is it 100% valid? Can I trust it? Also, if it works, does it work on touchscreen-related clicks, or against bots? Can I modify it to allow only 1 click per session or is it already set like that? [link] [comments] |
I just bought a script. It's mostly good, but there are some issues. Here is just one of a couple: Posted: 12 Feb 2021 10:19 PM PST Hello everyone. I just bought a script. It's mostly good, but there are some issues. Here is just one of a couple: The vendor I bought it from tells me that they're waiting on their partner to get back to them with a fix (I didn't believe them at 1st, thinking it was some misdirection, but after a few exchanges I lean towards believing them). In any case, they suggest I wait. It's been all week now. I've tried my hand at fixing this little issue (big to me), but I lack the programming know-how. Come someone PLEASE help me? So my script allows the user to opt into cryptocurrency mining via their browser. Nothing hidden or nefarious. It's using the service webminepool.com and their ui as documented here: Ok, so it's hashing fine within the user account at MY site once the user (me in this case) is logged in and 'Start' has been clicked. The problem is my script is not updating the database so mining status on the page remains unchanged. No update as shown here: CPU Mining Balance: 0 hashes But it's hashing in he background at webminepool.com just fine, as shown here: I have NO IDEA why it's not updating the database. Strange thing is that it's working at my other site but when I install the script on any other domain with identical sever settings (same version of php, same flags, etc.) it is simply not writing to the database! I don't get it. The script requires: • PHP 5.3 or higher I've met all requirements under php 7.2 and all requirements are GREEN when running the installation script. The script installs without incident. The following code is not updating the table "users". What am I missing? $db->Query("UPDATE `users` SET `account_balance`=`account_balance`+'".$reward."', `today_revenue`=`today_revenue`+'".$reward."', `total_revenue`=`total_revenue`+'".$reward."', `pending_ch`='0' WHERE `id`='".$data['id']."'"); Here is the full code. Thanks: <?php if(! defined('BASEPATH') ){ exit('Unable to view file.'); } if(empty($config['wmp_key']) || empty($config['wmp_secret'])) { redirect($config['secure_url']); } $progress = number_format((100/$data['hash_rate'])*$data['pending_ch'], 0); $progress = $progress > 100 ? 100 : $progress; $chtMessage = ''; if(isset($_POST['transfer_ch'])){ if($data['pending_ch'] < $data['hash_rate']) { $chtMessage = '<div class="alert alert-danger mt-3" role="alert">'.lang_rep($lang['l_243'], array('-MIN-' => $data['hash_rate'])).'</div>'; } else { $reward = number_format($data['pending_ch']/$data['hash_rate'], 2); $db->Query("UPDATE `users` SET `account_balance`=`account_balance`+'".$reward."', `today_revenue`=`today_revenue`+'".$reward."', `total_revenue`=`total_revenue`+'".$reward."', `pending_ch`='0' WHERE `id`='".$data['id']."'"); $chtMessage = '<div class="alert alert-success mt-3" role="alert">'.lang_rep($lang['l_244'], array('-TOTAL-' => $reward)).'</div>'; } } ?> <main role="main" class="container"> <div class="row"> <?php require(BASE_PATH.'/template/'.$config['theme'].'/common/sidebar.php'); ?> <div class="col-lg-9 col-md-8"> <div class="my-3 p-3 bg-white rounded box-shadow box-style"> <div id="grey-box"> <div class="content"> <h4 class="text-warning text-center"><?php echo $lang['l_245']; ?></h4> <p class="infobox my-3"><?php echo lang_rep($lang['l_246'], array('-HASH-' => number_format($data['hash_rate']), '-TOTAL-' => number_format((20*86400)/$data['hash_rate'], 2))); ?></p> <script src="[https://webminepool.com/lib/simple-ui.js](https://webminepool.com/lib/simple-ui.js)" async></script> <div id="wmp-container" wmp-site-key="<?php echo $config\['wmp\_key'\]; ?>" wmp-username="<?php echo $data['id']; ?>" wmp-threads="8" wmp-throttle="0.1" wmp-autostart="false" style="background:#cccccc;color:#dc3545;width:100%;margin: 0 auto;"></div> <p class="text-right"><small><i><?php echo $lang['l_247']; ?></i></small></p> </div> </div> <?php echo $chtMessage; ?> <div class="row"> <div class="col-lg-6 col-sm-12 mt-2 d-flex align-items-stretch"> <div id="dashboard-info"> <table class="w-100"> <tr> <td><i class="fa fa-money fa-fw"></i> <?php echo $lang['l_248']; ?>:</td> <td class="text-right text-success"><?php echo number_format($data['pending_ch']); ?> hashes</td> </tr> <tr> <td><i class="fa fa-money fa-fw"></i> <?php echo $lang['l_249']; ?>:</td> <td class="text-right text-success"><?php echo number_format($data['today_ch']); ?> hashes</td> </tr> <tr> <td><i class="fa fa-money fa-fw"></i> <?php echo $lang['l_250']; ?>:</td> <td class="text-right text-success"><?php echo number_format($data['total_ch']); ?> hashes</td> </tr> </table> <div class="progress mt-3"> <div class="progress-bar bg-<?php echo ($progress == 100 ? 'success' : 'info'); ?>" role="progressbar" style="width: <?php echo $progress; ?>%" aria-valuenow="<?php echo $progress; ?>" aria-valuemin="0" aria-valuemax="100"><?php echo $progress; ?>%</div> </div> </div> </div> <div class="col-lg-6 col-sm-12 mt-2 d-flex align-items-stretch"> <div id="dashboard-info"> <p class="text-warning text-center"><?php echo lang_rep($lang['l_252'], array('-MIN-' => number_format($data['hash_rate']))); ?></p> <form method="post"> <button type="submit" name="transfer\_ch" class="btn btn-primary btn-sm w-100"><i class="fa fa-exchange fa-fw"></i> <?php echo $lang['l_253']; ?></button> </form> </div> </div> </div> </div> </div> </div> </main> [link] [comments] |
Absolute beginners course recommendation for 2021 Posted: 12 Feb 2021 10:09 PM PST Hello guys I've checked out the stickythread, yet still don't feel too sure about which course would be a good allround introduction to a bloody beginner. Ideally it should be up to date and not "outdated" if that even applies. So far I feel like "app academy" and "the odin project" seem like what I'm looking for. I'd still wanted to ask about your opinions before. [link] [comments] |
The cost of a part time coding school in NYC Posted: 12 Feb 2021 06:23 PM PST Hi guys, I am considering doing a part time programming course here in NYC. I have been looking in to Code Smith as a I have heard it is a very good school. Their tuition fee for their part time course is just under $20,000. I have noticed that the flatiron school is considerably cheaper (somewhere around $10k). I am wondering if anybody has any experience with any of the schools here in NYC and if you can recommend a particular school? There seems to be quite a few here and I am a little overwhelmed with which to chose. I want to make sure I pick a good school that will give me a good opportunity so don't mind paying a bit extra for a school with a high reputation. However I am wondering why the likes of Flatiron is so much cheaper than codesmith and if the latter would be worth the extra money in tuition. I appreciate any insight you may have. Thanks [link] [comments] |
What is a good online class to take for Javascript? Posted: 12 Feb 2021 09:48 PM PST I'm trying to prepare for getting a web developer job after high school, and of course the biggest thing I need to improve on is js. What are some good online classes I can take over the summer to learn more Javascript? [link] [comments] |
Posted: 12 Feb 2021 09:39 PM PST Hello everyone, Long story short, it's been some time since I've coded in Python, and I am looking to pick it back up. However, I am not new to programming and just looking for a relatively quick read to jog my memory on some of the syntax and concepts. I was wondering if there are books for such a thing? [link] [comments] |
Posted: 12 Feb 2021 05:43 PM PST Where and how can I learn to create browser extensions? [link] [comments] |
I cant study anything beside programming Posted: 12 Feb 2021 01:56 PM PST Hi im 22 and im attending college for Computer science.But there are only two classes about programming and computers this semestar.Other 3 classes bore me to death.I just cant study anything expect programming.Did anyone expirence anything like this during their studys.Like i couldnt care less if I fail math.But i would do everyhting possible to get 100% on programming exam even retake it if I get less then 95%.Today I made assigments from progrraming for two students for money instead of studying math.Note I am from 3rd world country so I dont have classes like CS colleges in USA.For example i have economics,math that isnt related to programming etc etc [link] [comments] |
Is there any technical name for models on front ent? Posted: 12 Feb 2021 09:23 PM PST I have seen some open source examples in react typescript, where for all api responses there are model classes, with getters and setters, and than u can access them in your code via models, is there any specific name for this design patter? Also if anyone could recommend some material i can read to learn more about this approach. TIA [link] [comments] |
You are subscribed to email updates from learn programming. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment