What do "best practices" look like in modern software development? Ask Programming |
- What do "best practices" look like in modern software development?
- I was moved to a project that I consider will not succeed
- Best language to learn in 2weeks
- What is the license for code shared on reddit?
- Am i the right fit for the job?
- Can someone tell me what I need to know when developing a Java based web application?
- Are idle games (something like cookie clicker) easy to make in comparison to other games?
- How to make a python program recognize a specific name.
- Selenium will only scrape table data that is also in html source?
- What programminh languages used in websites of consumer-to-consumer and business-to-consumer sales, like ebay, amazon, aliexpress... ?
- 2 by N dimensional nearest neighbors search algorithm?
- Are there any online services that can make a live number counter?
- I don't know what it's called.
- Smart/Relevant News Feed in social network
- Any good papers on tradeoffs made in implementing common data structures?
- C++ what is the point of a forward declaration instead of just include
- Does CS overlap with other field where you would be spending less time in front of the monitor and more time with people?
- Confusing HTML Error
- I can’t understand what I should learn should I learn app development (via Java) or should I learn machine learning (via Python).Please help me.
- Flutter or React native???
- Looking for Cypress.io advanced tips/best practices
- Heroku dyno's, how to manage multiple processes exceeding memory?
- Email and print templating engine
- DevOps engineering
- Question
What do "best practices" look like in modern software development? Posted: 06 Sep 2021 03:38 PM PDT Let's say I'm joining a new team - there's a lot of talk about best practices, but it's not always clear what they mean (or Team A's best practices might be different from the Team B I'm used to). What are some good examples to look out for, or to try to bring to the table to improve the quality of the new team? Reading through the Joel Test which I frequently see "checked" on StackOverflow job descriptions, I can get a rough idea for "how it works", (namely, a good company will make efforts to improve the developer experience with good tooling etc) but I'm more looking for the under the hood best practices, for actual design, code and architecture. Any thoughts or suggestions on the below, plus anything I'm missing?
Thanks for the suggestions! [link] [comments] |
I was moved to a project that I consider will not succeed Posted: 06 Sep 2021 10:33 AM PDT I'm a lead developer in a company with multiple projects, I was working on project A of a company that is growing (relatively slow, but growing) but they ask me if I wanted to move to work on project B (was a pretty good pitch) and I agreed, they assigned me 3 Jr Devs with the promise of hiring 2 Sr Devs ASAP (this was 9 months ago), this Jr Devs don't have a clue of how to use gitlab tools (like issues, milestones, cicd, etc...) and they completely ignore my recommendations (I work remotely and they work together at an office in another state, so they have way more communication between them than with me). I have created presentations, purchased courses, teaching meetings, commit comments; and they just simply ignore all this and follow they're own method of "just doing what needs to be done without testing or committing to central repo". The project is on the fence whether it will succeed or not (due to developers and api suppliers), even if it succeed the code they're leaving behind will be very hard to maintain. How can I continue to work like this? PD. I been talking with my boss about this, he talk to them and they start to use the " crum methodology" but 2 o 3 weeks and we are back on square one [link] [comments] |
Best language to learn in 2weeks Posted: 06 Sep 2021 04:53 AM PDT With uni holidays coming up, I decided to pick up another language, so I would really appreciate some recommendations. I already know the C languages (C, C++, C#) and have an sound understanding of python EDIT: This was really helpful. I think I will take on two languages, one will be javascript (I think this one should be relatively easy to pick up? The syntax looks similar to C languages + The uni is offering Js course next sem, so it'll be a headstart) and the next one I'm thinking would be Haskell or Ocaml, everyone's saying they will help me think a different way, I'm excited to learn now. Thank you so much everyone! [link] [comments] |
What is the license for code shared on reddit? Posted: 06 Sep 2021 04:04 PM PDT For example code shared on stackoverflow is licensed under Creative Commons Attribution-ShareAlike 4.0. Is there any assumed license for code shared on reddit? I tried searching but I'm finding a lot of unrelated things due to how common the terms are. [link] [comments] |
Am i the right fit for the job? Posted: 06 Sep 2021 07:40 PM PDT Hello, so I had a known acquaintance who is running a fully working tech company, he is currently working as a project manager on certain projects. A week ago he contacted me regarding recruitment for a job as a backend/blockchain developer role of a team to develop a dApp which involves private blockchain deployed to operate on a governmental level. Now the issue, I have limited experience in web development, I am a fresh graduate, and I had worked on developing a dApp managing app for managing records using web3 and IPFS. I have no previous working experience and I think this is not a fitting role for an entry developer like myself, and I am very hesitant to accept the position, especially since I would be the leader in proposing the appropriate tech stack and managing the blockchain to operate fully. Any advice on what to do, anything would be welcomed. [link] [comments] |
Can someone tell me what I need to know when developing a Java based web application? Posted: 06 Sep 2021 01:10 PM PDT I'm thinking of making a full stack program where the backend is made in Java and the Front End is made in HTML/CSS/JavaScript. The only programming experience I have is developing Java programs in IDEs like IntelliJ, where the IDE's console is the interface. I have done some research online, but there is a lot of terminology that I don't understand or have a good enough background on, so I don't even know where to start. Here are my specific questions that I hope will put me on the right track when answered:
[link] [comments] |
Are idle games (something like cookie clicker) easy to make in comparison to other games? Posted: 06 Sep 2021 11:30 AM PDT I wanna get into game design and i feel like idle games might be simple to make, so they could be a good starting project. Sorry if theres a flair that fits and i just missed it, not really sure what all the flairs mean. [link] [comments] |
How to make a python program recognize a specific name. Posted: 06 Sep 2021 06:45 PM PDT Hello, I'm kinda new to programming. I'm making a program in Python 3 and there's a part there that asks for your name. I wanna make it so that if you - for example - write Veronica as your name, it'll print out a specialized greeting. How could I make this happen? [link] [comments] |
Selenium will only scrape table data that is also in html source? Posted: 06 Sep 2021 05:39 PM PDT Hello, trying to find some answers here. I'm cross posting from stack exchange and r/webscraping. Please see here for my code: https://stackoverflow.com/questions/69080195/finding-table-elements-by-xpath-using-selenium-returns-only-the-elements-present I am trying to scrape data from a table from this website: https://prosettings.net/cs-go-pro-settings-gear-list/. Mouse sensitivity is the first value I've been trying to scrape. All desired elements are highlighted within inspect/developer tools when searching by this xpath: //table[@id="table_1"]/tbody/tr/td[8]. Grabbing table elements using webdriverwait and find_elements_by_xpath and using this xpath above returns only 10 of the same elements out of around 475 in the table, even when using webdriverwait to give everything a chance to load, and when using scrollIntoView in case the issue may be that the data won't load without scrolling. The only thing that these 10 elements have in common is that they are the only elements present in the html source code out of the 475, which I did not think would be an issue since I am using selenium and searching by xpath. For me, this returns only those values of mouse sensitivity you could find in the html source : 2.00 2.40 1.90 2.00 1.87 1.60 1.00 2.20 2.00 3.20 I cant seem to figure this out! [link] [comments] |
Posted: 06 Sep 2021 05:23 PM PDT |
2 by N dimensional nearest neighbors search algorithm? Posted: 06 Sep 2021 11:18 AM PDT I am working on a POC to implement the inverse of a projection from 3D space to the 2D plane - lets call it Now Now I need to search through all sets The below example tries to illustrate the problem Now I don't know a lot about runtime effort computation, but I guess this approach would be an O(n) operation given the row-by-row iterative nature of it. My question is if there is a way to set up the structure of the "table" holding all precomputed entries of Any advice is greatly appreciated. Thanks in advance. [link] [comments] |
Are there any online services that can make a live number counter? Posted: 06 Sep 2021 05:06 PM PDT I know almost nothing about programming, but I was wondering if there were any online programs that can create a real-time number counter from data or a function (similar to a site like Worldometers)? Thanks! [link] [comments] |
I don't know what it's called. Posted: 06 Sep 2021 05:04 PM PDT Hi everyone, programming noob here. Not sure if I should put this question here or on r/learntoprogram, but here goes. I am trying to find a way to automate keyboard inputs on my Windows laptop. I want to have a program that can do some inputs, and then search an area the screen for certain pixels, and do different behaviour depending on what it sees. I'm at a loss so far because while I know this is a thing that can be done, I haven't been able to conduct much research because I don't know what this process is called! If someone can kindly help me out by explaining to me how I might go about doing this (or if not that, then pointing me in the direction of a helpful resource) I would be extremely grateful. (PS: I would also like to make a similar function for my Android phone, automating screen presses and looking for pixels. I would also appreciate guidance on that from those who are knowledgeable.) Thanks! [link] [comments] |
Smart/Relevant News Feed in social network Posted: 06 Sep 2021 05:02 PM PDT I have a website similar to Twitter where people can post, follow others, block, mute, join groups, etc. At the moment, there is a HUGE complex query that takes the latest posts (sorted by the ID), filtered by lots of factors (blocked, muted, audience rating level, etc). I use MariaDB. The main problem is that it's currently fully sorted by Time, which: 1) makes the viewer miss a lot of posts by the people they follow, favorite groups, relevant people 2) has no relevancy at all, and the viewer will often see totally 'random, low quality' posts 3) if the viewer refreshes the feed, the same posts keep appearing, if no new posts have been created since the last refresh I have everything ready to: 1) score posts globally (impressions, comments, likes, post quality, etc) 2) score posts user-level (interactions, whether OP is a 'relevant user' to the viewer, whether viewer has seen the post on the feed already, etc) What I'm trying now is to figure out how can I make the Feed to behave in an efficient way (using indexes, etc), so that: 1) posts in the past 1-2 days, by the people the viewer follow, appear at the top of the Feed 2) once the viewer has seen those posts (impressions logged), have those posts dropping their score (at viewer-level, not globally) 3) then show (globally) Top recent posts in the Groups joined (and again, once impressed, drop score) 4) then other globally Top posts, that keep dropping as the time goes by (some calculated time-sensitive score) It's very hard for me to think that I can make this perform by doing a complex query the way I'm currently doing, by changing the "ORDER BY" bit. I'm thinking that I can do something like "when a post is created, 'push' the post to all possible subscribers (relevant users, Followers, group joiners)". However: 1) that's very write-intensive, doesn't seem scalable (many followers; many joined the group, etc) 2) a big % of these writes may be for people who don't log in for a big period of time, but they could login at any time, and we need a Feed ready for them, so we still have to write Is there any other alternative? [link] [comments] |
Any good papers on tradeoffs made in implementing common data structures? Posted: 06 Sep 2021 01:10 PM PDT I've been looking at the clang source code. They have their own custom SmallVector and String classes to get better performance for their specific use cases. The implementation is far more sophisticated than the naive thing one would write after first learning about these structures. So let's say I'm getting paid a million dollars to build a new compiler or whatever unrealistic scenario where this might actually matter. Like first of all, I probably wouldn't have even noticed that `std::vector` wasn't good enough. And then I wouldn't be smart enough to figure out their optimizations. So how do I get to be as smart as the people writing Clang? Are there any good papers about this stuff? How do I bridge this gap? [link] [comments] |
C++ what is the point of a forward declaration instead of just include Posted: 06 Sep 2021 02:42 PM PDT Why would you bother making forward declaration of a function, if you can just include the file where the function is defined? Am I not understanding something, or is it just something to do with compile time? [link] [comments] |
Posted: 06 Sep 2021 10:54 AM PDT Long story short, I got a job as a developer recently after a long period of unemployment. But, to my surprise, I found the job that I've been longing for to be extremely stressful and I don't think I can keep up with this life style for a long time. I enjoy coding, but I enjoy interacting with people even more. I was looking for some other field where I can make use of my cs knowledge and the time I invested studying web development so I won't be starting from square one in that other field. Anyone who had a similar experience or made a switch from tech to non related tech field are welcomed to share their insight on the subject. [link] [comments] |
Posted: 06 Sep 2021 01:37 PM PDT I'm trying to edit the card body on the home page of this website. I have attempted to this by adding the following code after line 138 of index.html The issue is it appears but it's outside the card body and always has the [link] [comments] |
Posted: 06 Sep 2021 12:29 PM PDT |
Posted: 06 Sep 2021 12:39 AM PDT Hi I am 15. I recently finished with python to an intermediate level and now want to go into web and mobile development. Rn I am learning html,css, javascript,node.js etc after which I wanna start with either rear native or flutter but am confused which one to do....I saw that there are more job postings for react native but I probably won't need a job now atleast.... Suggestions pls [link] [comments] |
Looking for Cypress.io advanced tips/best practices Posted: 05 Sep 2021 10:16 PM PDT Hey people of this subreddit, I am implementing cypress on a big project in my company - so I am looking for bit more advanced tips/best practices on how to push and improve the tests themselves, their structure and anything else so that we are what we can to make the testing shine. Any tips/help would be greatly appreciated. P.s.: if this does not belong here, sorry for the inconvenience - could you tell me more suitable subreddit? [link] [comments] |
Heroku dyno's, how to manage multiple processes exceeding memory? Posted: 06 Sep 2021 06:08 AM PDT Hi Reddit, I have a Vue, Django integrated project. I hosted the Vue project on Netlify and the Django project on Heroku. A python script (integrated into Heroku) is called on certain buttons which extract data and posts this to the Django API and PostgreSQL database to be viewed on the frontend. Now I have the free dyno, which works to extract the data with the Python script and posts it on the PostgreSQL database. When I have multiple processes calling the Python script (and thus the dyno web), I do not have the expected output. I call three (short) processes in parallel which make the dyno work. I get R14 (memory quota) errors, and only two of the three processes are being finished. The last one does not seem to be executed anymore (also not after the two processes are finished, and the memory would be available i assume). When i call more processes, I get a R15 error, and the app crashes. I think I will need to manage how many processes are run at once, based on how many dyno's I have available. Is this correct? And if so, what would be best practice to manage this? I can for example check a database each time a process is called to see how many are in process, and then if it exceeds a number return an error that they cannot call the process at the moment? Or do something with Redis Queue for example, to have a queue for all the processes? Also, I am running a web dyno on the free tier, will it otherwise already be fixed if the processes are executed by a worker dyno? Or what is the main difference between these? Thanks a lot, appreciate the help! [link] [comments] |
Email and print templating engine Posted: 06 Sep 2021 06:04 AM PDT I'm looking for some product suggestions, and hope that this is a good place to ask. Sorry of not. I'm after a high quality templating engine for physical/print and email channels (can be separate, honestly the print one is the bit I'm unsure on). Most importantly I want a user-friendly template build and management piece. And the last time I've seen anything slick was a very expensive Thunderhead product, which no longer seems a thing. I want to be able to give business super users the ability to define and change their letter templates, with things like basic replacement fields through to optional content and simple loops. It seems like something there would have a good open source solution to, but my Google kung Fu is weak and I can't find the right terms to find such things. Ideally, .NET based, but if it's a serviced engine API, it doesn't really matter. Can anybody offer me any suggestions? And to be fair, commercial/paid is an option, just a tougher sell for me. [link] [comments] |
Posted: 06 Sep 2021 08:38 AM PDT Hello people I need advice about DevOps engineering Please don't comment google it or do something like that What should I learn? How should I approach it Please 🙏 help [link] [comments] |
Posted: 06 Sep 2021 06:57 AM PDT What's that scrolly text design feature called on Brex's website? And why is everyone using it nowadays? [link] [comments] |
You are subscribed to email updates from AskProgramming. 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