Does await on a call to an async method mean the same as a call to a synchornous method? Ask Programming |
- Does await on a call to an async method mean the same as a call to a synchornous method?
- What to do if technical debt is so big that an application becomes impossible to maintain?
- HTML boostrap element alignment help
- Would you recommend vscode or xcode for a person new to programming?
- Any better design pattern for flowchart?
- Hi everyone, I'm sort of new to databases and Im Always getting confused with sql and nosql terms. What's the difference between them and what kind of projects would be good to be done with each of them?
- React Native the best way to go?
- Searching for a new Personal Project!
- How can I use Python to automate a Facebook search feature that uses javascript? (I think)
- Can you describe your ideal search engine for me? I plan on making a search engine, and I would appreciate ideas to implement.
- Why do developers often recommend beginners to download and use homebrew?
- What game engine should I use with C++?
- Why does master contain the files I created in another branch?
- Can't make sense of a compile error - trying to use libpng in Visual C++
- For you, what are some of the hardest and most complex but at the same time efficient techniques that a full stack software developer is capable of perform and why?
- Nightmare-inducing webpack problem
- How do you auto-launch a web app on Android?
- How can i programm an instagram bot
- Excel Pandas and Hyperlink issue
- Is it good idea to maintain so many data structure on single machine?
- Is it possible to make a virtual mous/keyboard?
- How should I keep my thread synchronised in this case? (C++, Windows)
- I need to find a software that allows me to match border patterns, or at least lets me code a tool to do that (visual explanation included)
- Quick script/library for clicking through a site and submitting a form multiple times?
Does await on a call to an async method mean the same as a call to a synchornous method? Posted: 13 Jan 2020 08:20 PM PST |
What to do if technical debt is so big that an application becomes impossible to maintain? Posted: 13 Jan 2020 08:51 AM PST I'm not sure where to start, but the title is pretty self-explanatory. At work we have a very dirty Ruby on Rails monolith, almost everything in it done badly. I'm not going to go into details, but the app was built as if the causes in this article https://en.wikipedia.org/wiki/Technical_debt were used as a guidebook. Now it comes to the point of no return, we simply can't implement new features and can't develop the app further. We estimated the rework process and concluded that it will take not less than a year. And of course we discussed different solutions, like third-party apps integration instead of parts of our logic, still it is a year or more. We tried to decouple parts from the app to rework them separately, but it turned out impossible to do, because wherever we try to start refactoring it pulls the rest of the app. The question is, has anyone had the same problem? And what do you recommend to do? (killing myself is not an option btw, yet I perfectly understand that as a part of our team I must be executed for this atrocity) Probably it would be best just to freeze this app as it is and do not touch it anymore, continuing to develop new features as separate apps? Or maybe there is another solution. Thank you in advance. PS we have only 2 developers for this task ^_^ [link] [comments] |
HTML boostrap element alignment help Posted: 13 Jan 2020 05:57 PM PST Okay so I have a project I'm working on that has a 3x3 setup of boxes which I did by a simple div class of col-md-4. I have text inside of each box that I want to put in specific places, for example, I have an Item number that I want to put in the top right corner of each box but I'm a little uncertain of how to achieve this. Here is the code for each one of my "boxes", any help or feedback is appreciated, thank you! Here is an editing view of what I am looking for. https://imgur.com/a/sfT6UYx [link] [comments] |
Would you recommend vscode or xcode for a person new to programming? Posted: 13 Jan 2020 07:10 AM PST |
Any better design pattern for flowchart? Posted: 13 Jan 2020 09:29 PM PST |
Posted: 13 Jan 2020 09:21 PM PST |
React Native the best way to go? Posted: 13 Jan 2020 07:50 PM PST We are small business owners that need some advice and guidance. We cheaped out in building an app (Apple/Android) that was outsourced and had a backend of our Wordpress website, built on Xamarin. Some important features are deliverability of push notifications, subscription in-app purchases and user database. It was supposed to be done in 3 months but the main functions are still not working great 2 years later, it was hard to find new developers to fix the bugs and it just felt like a mess. I felt it was time to move away from Wordpress and plugins. We want to have another go and rebuild the app, outside of Wordpress. If we want to look to the future if we ever want to expand and grow. This time it's with someone local and x3 the cost. The new frontend will be built using React Native Expo, the backend using Laravel and a custom admin panel using ReactJS. Not being devs, we would like to know if this is the best software/framework to build on? We have been told it has the biggest community and stays up to date with any updates Apple/Android require. Will we have trouble finding a programmer to change things up in a few years? Since the admin panel will be custom made, will that make it difficult for a new developer to take over if ever that happens? Are solutions for bugs easy to find? Should we consider a different framework? [link] [comments] |
Searching for a new Personal Project! Posted: 13 Jan 2020 04:04 PM PST I am currently a Junior at Gonzaga University majoring in CS. They are offering a new course next semester that i am enrolled in that allows students to basically do a personal study. The class is completely self taught and we are supposed to check in every week with our progress. The idea is that we will teach ourselves something new that we can add as a Personal Project to our resume! I am here to ask for some of your ideas of personal projects i could embark on! I am already able to develop websites and apps! I suppose i am open to anything but i do need to be able to learn it and complete it in about 4 months time. I also would like it to be something impressive to employers and fun/useful for myself! Thanks!! [link] [comments] |
How can I use Python to automate a Facebook search feature that uses javascript? (I think) Posted: 13 Jan 2020 07:48 PM PST I have a list of names and I would like to get a list of every user who is in a facebook group by iteratively inputting a name in the "Find A Member" section and seeing if it returns a result. I know BeautifulSoup but I'm not quite sure how to deal with the sophistication of FB… [link] [comments] |
Posted: 13 Jan 2020 07:32 PM PST This is a list that I have compiled of things I am planning on implementing.
Above all else privacy and protection are crucial to me, secondly ease of use, backed by a few utilities to make life a bit easier. How about for you? [link] [comments] |
Why do developers often recommend beginners to download and use homebrew? Posted: 13 Jan 2020 06:36 AM PST Currently, I'm trying to download python on my macbook. The instructions on https://docs.python-guide.org/starting/install3/osx/ say to install homebrew as a package manager. But why do I need this package manager and what exactly are the packages that it manages? Thanks for the help. [link] [comments] |
What game engine should I use with C++? Posted: 13 Jan 2020 08:02 AM PST There's a couple games I would like to make. I'm pretty new to game development, and I do know to try some simple games before I do the other two. One will be a sandbox game, and one will be a dungeon crawling game with a quiz aspect. I want them to be free to play, and light weight. I would like them to be playable on as many platforms as possible, with Windows and Fedora being the minimal. My desktop is Windows, I do have a laptop I can convert to Fedora if needed. [link] [comments] |
Why does master contain the files I created in another branch? Posted: 13 Jan 2020 01:40 PM PST So at my job we create branches to work on features, then merge it into the master branch later, much like other companies probably. Anyways, I created my branch "based off" the master branch, which is a feature in Azure DevOps that lets me copy all the stuff from master into master2 to start, then I used Visual Studio to "checkout" into master2, which I think just moved me to the master2 branch??? I created a new folder and then checked back into master, but the folder I just made was in master! My plan was to checkout into master2, make all my changes, create a pull request, then merge everything into master, but now it looks like all my changes will be made directly to master???? Maybe I'm interpreting git checkout, or VS's version of git checkout wrong? (I'm just switching between branches using the bottom right dropdown menu with the branches then it displays a message saying "checking out master2 started...") Can anyone help me figuring out what's going on? Thanks! [link] [comments] |
Can't make sense of a compile error - trying to use libpng in Visual C++ Posted: 13 Jan 2020 01:18 PM PST I'm writing a command line project in Visual C++ which makes of libpng (which makes use of zlib). I'm statically linking, and as far as I can tell I've successfully built I've added all the relevant directories and the two When I try to compile it, however, Visual C++ complains because there are some warnings from The thing is that I can't for the life of me work out where The recommended fix seems to be to disable the particular warning, but I've tried that (via #pragma and via the Property Pages) and it doesn't work. The warnings still occur and the error still causes the build to fail. I have to admit that I don't fully understand libraries and linking. Is it possible that these warnings/errors are somehow coming from Edit: looks like disabling the warning while building [link] [comments] |
Posted: 13 Jan 2020 01:02 PM PST |
Nightmare-inducing webpack problem Posted: 13 Jan 2020 11:50 AM PST This is a typescript project, and I'm using webpack to compile it it into a file. It compiles without issue, except warning me the file is large. When I open up the site in localhost, I keep getting unexpected token '<'. I've seen quite a few solutions online, but none seem to work, or they just don't apply to this case. ``` const path = require('path'); module.exports = { cache: false, devtool: 'inline-source-map', entry: path.resolve(__dirname, './src/index.tsx'), output: { filename: 'bundle.js', path: path.resolve(__dirname, './dist/scripts') }, resolve: { extensions: ['.ts', '.tsx', '.js', '.jsx'] }, module: { rules: [ { test: /.(js|jsx)$/, exclude: /nodemodules/, use: [ { loader: 'babel-loader', options: { presets: ['@babel/preset-env', '@babel/preset-react'] } } ] }, { test: /.ts$/, exclude: /node_modules/, use: [ { loader: 'ts-loader', options: { configFile: path.resolve(dirname, './tsconfig.json') } } ] }, { test: /.tsx$/, exclude: /node_modules/, use: [ { loader: 'babel-loader', options: { presets: [ '@babel/preset-env', '@babel/preset-react', '@babel/preset-typescript' ] } }, { loader: 'ts-loader', options: { configFile: path.resolve(_dirname, './tsconfig.json') } } ] } ] } }; ``` [link] [comments] |
How do you auto-launch a web app on Android? Posted: 13 Jan 2020 08:04 AM PST So I'm building a receipt scanning printing app for a customer, and I have it mostly working the issue is I want it to startup automatically so users in commercial setting don't need to find the app icon and just turn on the device and go.. Can this be done.. I know in Windows you have a startup folder where you can put apps you want to run automatically... [link] [comments] |
How can i programm an instagram bot Posted: 13 Jan 2020 11:49 AM PST I want to programm an instagram bot to comment in a specific post over and over again every like 6 minutes or so, with different comments and tagging different people, doing this with my different accounts in the same post, would be this possible, if so whats the best way to do it, thanks [link] [comments] |
Excel Pandas and Hyperlink issue Posted: 13 Jan 2020 11:45 AM PST Below is the code that I'm working with: import pandas as pd My main purpose is to copy over a big excel sheet that has a bunch of hyperlinks to network locations for files when running the program - i get no errors and it looks right. When i go to click on the hyperlink in the new file it says Cannot open the specified file [link] [comments] |
Is it good idea to maintain so many data structure on single machine? Posted: 13 Jan 2020 11:12 AM PST I'm trying to implement distributed web crawler just for fun, then I start reading about component called frontier that have two parts frontend and backend, in backend should have queue for each host name then I started wondering if this was the best solution (and if queue with single node is overhead regarding the memory) or should I store them as records on disk I'm using java [link] [comments] |
Is it possible to make a virtual mous/keyboard? Posted: 13 Jan 2020 11:08 AM PST have one question is there a way to make a PC stand out (keyboard and mouse) Example pc 1 this one does not have mouse and keyboard pc 2. this one has mouse and keyboard. can this for example a usb cable be a fake / virtual mouse / keyboard? for remote control of pc 1? the example is just one example and explain what i am wondering;) [link] [comments] |
How should I keep my thread synchronised in this case? (C++, Windows) Posted: 13 Jan 2020 05:59 AM PST I've got a slow process that operates on a big 2D array of data. I can multithread it, but it's a bit complicated because on each row, you can only go as far as the previous row has completed, if you see what I mean. So if the first thread has finished 10 pixels on row 0, the second thread is safe to complete the first 10 pixels on row 1, but then it will have to stop and make sure that the first thread has finished more pixels before it continues. What I'm trying to work out is how to keep threads synchronised so that I can allocate the first X rows to X threads. There's a fair amount of state to keep track of per row, so I don't really want to have to split the rows into chunks and thread each chunk (which would be another way of doing it). Would something as simple as checking the previous thread's current I've only just started learning about mutexes, locks, and condition variables, but they seem like overkill (I don't want to have keep locking/unlock or notifying every time a pixel is finished). Is there a particular pattern or principle I should be applying in a case like this? [link] [comments] |
Posted: 13 Jan 2020 03:41 AM PST For a study on historical urban development, I need a tool that allows me to find specific patterns in property maps. But due to my lack of programming knowledge I'm not sure where to look for one and what terms to use to find it (I've had no luck googling). So I'll explain it visually. I need to find specific patterns of connections in complex grids. To start, the data I have tells me that the following border pattern between properties exists: https://i.imgur.com/S5r6oLM.png That is, I know that property A borders B, C, D and E to the East, and F to the South; that B, C, D, and E each border each other to the North and South; and that E also borders F to the West. But I don't actually know the size of each property and their borders. So in reality, the pattern may look like this: https://i.imgur.com/e5jv2po.png Or this: https://i.imgur.com/sePBR2O.png Etc. Now, I need to find the location of these properties on an old map. Imagine that it's this one, and that I've traced the property lines in svg: https://i.imgur.com/GNfQWql.jpg Ideally, the tool would identify the following pattern as compatible with my own, and produce a match (apologies for the jpeg): https://i.imgur.com/R3TvOft.jpg And voilà , I've found the location of these houses from the limited data I had. Any ideas on what software I could use to do this, even if it involves some coding? Thanks. [link] [comments] |
Quick script/library for clicking through a site and submitting a form multiple times? Posted: 13 Jan 2020 03:19 AM PST Lets say I have an array of IDs that I need to manually go to a website, click a few things throughout the website, enter an ID, submit the form, and repeat. I was wondering if there was a library I use in Python or JavaScript that would allow me to do this? Even for a single ID, and we can assume that the Array or single ID will be hard coded. Currently I am using Puppeteer, but this seems to be quite slow especially if there are multiple steps. Thank you! [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