Way to learn how to integrate business systems using APIs, web services? (For Interview) Ask Programming |
- Way to learn how to integrate business systems using APIs, web services? (For Interview)
- Hi guys! I have a question about cost of a thing.
- Node/express authentication session help wanted
- Can't find a decimal number for the character "↨"
- Bypassing duplicate detector?
- Is it just me, or does package-lock cause more problems than it solves?
- Why 0,2,4,8,16,32,64,128,etc?
- How does Fortnite do the opening hero animation?
- What are the most useful small programs you have ever coded for yourself?
- Help me understand cprofile output and where to look to optimize code? (Python)
- In need of something better than Freelancer.com
- Acces patient data over LAN
- Catch up on basic pre-uni "Computer Science" if I didn't study CS in school?
- What is the best subreddit for code reviews?
- How to interpret this code challenge question?
- Detect wich canvas and sprite is when click event occurs
- [ADVICE NEEDED] What program or language to learn/use to create a program to do the following?
- How to get started on making a vacation activities website?
- i need an IDE that looks likes codefights
- Internships
- Suggestion for a project in development that has developers working remotely.
- Should I go with QA or development for school?
- What skills are critical to programmers—not for a specific domain, but for general programmers like regex?
- Executing .bat from excel file
Way to learn how to integrate business systems using APIs, web services? (For Interview) Posted: 29 Jun 2018 08:03 PM PDT I know it's not realistic to learn something like this in a weekend, but can someone point me to some helpful articles or videos? Interview next week and would like to understand how this is achieved both conceptually and in real-world aplications. Is there a project I can do this weekend to gain hands-on experience? Any constructive advice is appreciated. [link] [comments] |
Hi guys! I have a question about cost of a thing. Posted: 29 Jun 2018 09:50 PM PDT How much would it cost, ish, to create a program which works like a slide.ly Promo video editor. For those of you who don't know how it works, the way it works is: -A video is displayed -Animated text and graphics can be overlayed on top of the video -The user can choose from an array of different graphics and they can type in whichever message they want I'd appreciate any insight to this. Thank you all. [link] [comments] |
Node/express authentication session help wanted Posted: 29 Jun 2018 02:09 PM PDT Hi, im pretty new to this, so please bear with me I made a little CRUD web app in Polymer/LitElement for a twitch chatbot that i created. The bot has an amount of commands, and i thought it would be cool to have a little gui where you can update/add/delete commands. So far so good. I'm trying to secure the site by making the user login via twitch, and making an api call to see if the user is a mod or not. If the user is a mod, they will be able to update/add/delete commands, if not, they wont. I've been looking at this: https://github.com/twitchdev/authentication-samples/tree/master/node and played around with it a little bit, but im not entirely sure how to implement it in my app. So what i have is a Polymer frontend, and an express server. I've implemented the code above into my own project, added my client id etc etc, and it works fine if I go to: localhost:3000/auth i get to see the 'connect to twitch button'. If I click it, it redirects me to the login to twitch page, and after success it redirects me back to '/'. I've implemented the code to check if the user is a mod as well. I tried to save that data to a session by doing: req.session.ismod = true; But then if i request my /api/commands endpoint (which requires the user to be a mod) from my frontend, and console log 'req.session.ismod', its undefined. Im fairly new to authentication/session stuff, but I'm hoping someone with more experience could show me the ropes a little bit and hopefully point me in the right direction. [link] [comments] |
Can't find a decimal number for the character "↨" Posted: 29 Jun 2018 03:47 PM PDT I need to find this character for a class assignment and I have been using this* ASCII table but it's not shown on there. Looking for just a number please! [link] [comments] |
Posted: 29 Jun 2018 07:05 PM PDT Hello Reddit. I've made a program to automate the hassle of copy-pasting a user's ads, but the only problem is the site detects duplicates and removes the reposted ad. My current way around this is adding random spaces inbetween words. It works, but it isn't the most efficient or consistent method. I've also tried to delete the old ad first, then post the new ad, but there's some sort of cache system on the server because it removes the new ad as a duplicate unless I wait 3-5 minutes (which I feel is too long to wait) Do any of you have an idea on how I would get around this? Thanks! [link] [comments] |
Is it just me, or does package-lock cause more problems than it solves? Posted: 29 Jun 2018 09:42 AM PDT I just spend an hour debugging an internal package that I changed, only to find out that package-lock was still installing an old version. I finally had enough and disabled the package-lock from NPM and deleted the file. This isn't the first time something like this has happened. Does anybody else think package-lock causes way more problems that it actually solves?? [link] [comments] |
Posted: 29 Jun 2018 03:57 PM PDT Why are the above numbers used? Why were they chosen? Are they called anything in particular? Why arent they some other numbers? [link] [comments] |
How does Fortnite do the opening hero animation? Posted: 29 Jun 2018 09:07 AM PDT I wanted to make a similarly epic opening for a new website so I was inspecting the page and I can't figure out how they are doing it. https://www.epicgames.com/fortnite/en-US/home I've read lots of scripts / tutorials for making layers move depending on mouse position... but I guess I was really just looking at how they made the assets but can't find them in inspector so I assume it is all done in a javascript file but can't find them. If you were designing the animated characters, what type of file / format would you save them as etc? Are they mp4? Last I checked that did not allow transparency. EDIT: I was actually able to find a way of removing GREEN backgrounds from MP4's for transparency - so I am assuming now that they did the animated characters using mp4 even though I am still not able to find the assets. [link] [comments] |
What are the most useful small programs you have ever coded for yourself? Posted: 29 Jun 2018 03:58 AM PDT |
Help me understand cprofile output and where to look to optimize code? (Python) Posted: 29 Jun 2018 12:22 PM PDT If you've read my other threads, you probably know what's going on. I wrote a program (with help) to brute force generate possible user actions. It creates a lot. I ran it overnight and it created an 11 GB text file, and it wasn't even close to being done. So I've decided to do a few things.
Anyway. If you have any suggestions, please let me know. I'll make this as easy for you as possible. Since my script takes many many hours to finish, I simply ran the script for 120 seconds then exited the script with control-C. (I wrote an autoit script to hit ^C after 120 seconds because I couldn't be bothered to figure out how to make a python script run for a set amount of time. I did google it, but it was more complicated than an autoit script.) This is the cprofile results from that script. This is my most recent "optimized" script. I got rid of the counter from collections and instead simply replaced it with a for loop counting and thelist.count function. That is faster since my lists only contain values 0-7 (and apparently using thelist.count is faster if your list contains less than a few dozen unique values.) Although thelist.count STILL takes up 1/3 of my runtime (roughly.) But making this change did essentially double the speed of the program. (Really really bad comparison but the optimized program printed 38 16 character lists compared to 16. (I only output the 16 character strings to stdout as a sort of "progress" monitor)) I also replaced "range" with "xrange" which netted me a few more seconds. This is the cprofile results from the "optimized" script. I know there are a couple more optimizations I could do, mainly the main if statement could be made quicker if I checked for (value < 5) first, however I didn't realize that until I made my new "counter" list and got an "index out of range" error when the counter list was less than 10 items long. I'll do that shortly, I want to basically know this. Are there any big optimizations I'm missing? The next worst actors are (len) and (list.append). I remember reading a while ago that list.append is very slow, so I'll look that up shortly. I also can't seem to find a quicker way than (len) to get the length of the list. Although list.append is really only taking up 2 seconds out of 120 seconds, so it's not... terrible. Over the course of an hour it's only a minute. I'm unsure if I care about that at this point. EDIT: Hm. Somehow fixing my len calls (I called len of the same sequence half a dozen times in the same function) more than doubled the speed of the program, again, despite it only taking a very insignificant portion of the total program time for the previous scripts. Assigning the list length to a variable and referencing that generated 84 16 character lists, where as with the optimized program above I was only generating 38. So... YAY. Just by some simply optimizations I've more than quintupled the speed of my program. EDIT on this EDIT> I lied. Replacing len(seq) with a variable simply reduced the number of returned results by a factor of 3. EDIT2: If the built in functions of python are so fast because they are written in C, then why the hell am I not programming in C? EDIT3: Would it be faster to simply assume that EVERY sequence has a length of 35 items rather than using list.append? I'm not sure how I could implement that in my program since the max_sequence length changes and that's a condition to end the recursion. [link] [comments] |
In need of something better than Freelancer.com Posted: 29 Jun 2018 12:05 PM PDT Hi, I'm a civic intelligence enthusiast who's trying to get particular webtools developed, but I'm starting to realize I've gotten in over my head, I need advice. A friend told me to try Freelancer.com, because I've only got 2000 dollars and the tools I want will take a lot of work. He said I could set things up where I pay upon completion, so I don't have to worry about someone just milking the funds dry and leaving me totally screwed. I just wanna know my money will translate into a decent MVP, and I figured 'if Freelancer.com can hold the money in escrow so the devs can feel more comfortable then that sounds great'. I enthusiastically set upon Freelancer.com. What I found there is that when I asked about payment arrangements, they wanted to go by hourly, and no one was willing to mention how they'd tackle the design challenges. I'd ask as politely as possible, and they'd all either say nothing or change the subject. It was like walking into a used car dealership, and trying to make my decision with 0 information. So I'd like to find an alternative, does anything come to mind? -A friend and I even had a crazy idea to use a "smart contract" to offer a crypto coin bounty. We could divide development and funding into sections, then award specific goals point values. Once we start a new section the 100 points/percentage is divided between specific tasks in that section, and devs get paid as they complete them. The truth is my ideal MVP is gonna take a lot of work, so I've been concerned 2000 just isn't enough. I respect how mind-stabblingly challenging programming is and I wish I could offer more, I've tried like hell to get grants and other funding but it never worked out. $2000 is all I could muster. I can describe the project itself if anyone's curious but I've already written a really long ass post. Speaking of which, thank you for reading, please let me know if you have any advice. [link] [comments] |
Posted: 29 Jun 2018 11:41 AM PDT Hi, Im programming a small application for a dental clinic. Im keeping patient records in a database and want to be able to access the database over the lan (2 computers). At the moment I wrote the local app using a SQLite DB with Java. What would be the best way to secure the data but still be able to access it from another computer on the same LAN? Thanks [link] [comments] |
Catch up on basic pre-uni "Computer Science" if I didn't study CS in school? Posted: 29 Jun 2018 10:24 AM PDT Tbh, I'm not sure it would even matter, because in our last two years, the CS students had a shitty outdated syllabus made up mostly of Turbo C++ programming and bad English. I'd like your recommendation of a basic pre-uni tutorial thing, like an app or a website or something (free plz), that gets me up to speed on whatever they teach in bachelor CS. Screw it, I'll just come out and say it: Also, if it helps, to my eternal regret, I made the mistake of choosing Biology in my higher sec (that's the same as junior college) — now, I'm not saying it hasn't been an interesting journey (agonising 2 years of strangerness with my crush, didn't even approach the little angel though), OR that they teach actual competent CS in my country's schools. Anyway — I guess I'm looking for an introduction to the following:
So, sorry for that long spiel, and thanks for the help! Much appreciated. [link] [comments] |
What is the best subreddit for code reviews? Posted: 29 Jun 2018 01:40 AM PDT I plan to write some code and want people to critique/find flaws in my design. I think its a good way for me to improve my software design skills. I will maybe start with r/askprogramming. Are there any bigger subreddits with experienced people? [link] [comments] |
How to interpret this code challenge question? Posted: 29 Jun 2018 09:34 AM PDT Hi, I'm wondering if anyone can help me interpret what the code challenge is asking? I tried reaching out to the recruiter for clarification but have yet to receive a response. "Adjust the class such that the client code will not have to poll to find out the current percent complete and write an implementation that uses it." I'm not too clear on, "will not have to poll". The class itself is a task and within the class are 4 functions that include: starting the task, pausing, cancelling, and percentCompleted. Any interpretation on this would be helpful and appreciated. Thanks! [link] [comments] |
Detect wich canvas and sprite is when click event occurs Posted: 29 Jun 2018 09:03 AM PDT In my html: In my js: How can i accomplish what is in canvasOnClickHandler() and drawedElementClicked()? [link] [comments] |
[ADVICE NEEDED] What program or language to learn/use to create a program to do the following? Posted: 29 Jun 2018 08:18 AM PDT Hi, This is a burner account, as I am asking for a company I work for. I have the following objective: I want to create a program where I input some data into some sort of data box or even an excel style sheet with drop down menus, and then the program takes that data, applies like a webcrawler or whatever is the best way to search the company website/ private data base for those certain values, then the program would open those links and edit them to the latest current standard which would be pre-defined in the coding in a way like "if input is W, X and Y and , then search data base for A and change "Z" to "WXY". I know thats pretty vague, and not exactly how it would go. But basically would some form of Visual be best for this? MatLAB? If the answer is visual, would I need to learn another language or two to accomplish this? If so which ones? On the visual website I see: "visual studio community" "visual studio professional" "visual studio enterprise" "visual studio code" so was unsure if one of those over the others would be best for the scope of my intent, or if nothing related to visual, and I should try something like python? Im also unsure if visual basic is even a thing anymore as I didnt see it on the website, only those 4. I have no idea where to start , and want to learn whatever I have to learn, and will spend months learning it, but am looking for direction on what to learn that would best fit what I'm trying to accomplish. Please advise. Thank you! [link] [comments] |
How to get started on making a vacation activities website? Posted: 29 Jun 2018 03:53 AM PDT I was planning to use the Expedia API to create a website where people could enter the name of the city they'd be vacationing in, and they'd be able to get price-sorted recommendations for activities from Expedia. I'm just a beginner still, would this be a good project? I have taken a few courses on Python (up to hash tables) and work with HTML/CSS in my current internship. What languages would be needed for a project like this? If you could point me towards some resources on navigating it, or just any advice in general, I'd be very grateful! [link] [comments] |
i need an IDE that looks likes codefights Posted: 29 Jun 2018 07:36 AM PDT i am using https://codefights.com for learning python , and i liked their IDE is ther anything similar to it . [link] [comments] |
Posted: 29 Jun 2018 10:07 AM PDT Hey, I wanted to tell you about meaningful internships that can provide you with real work experience during vacations and are a good resume builder. At Internshala, we have over 35,000+ internships in fields like engineering, management, design among others. If interested, you can create an account and start applying for internships for free here https://internshala.com/registration/student?utm_source=ISP10&utm_medium=ISP10274ROH&utm_campaign=WP PS - All internships on Internshala come with stipend and certificate :) [link] [comments] |
Suggestion for a project in development that has developers working remotely. Posted: 29 Jun 2018 03:41 AM PDT Example: Store a project in a cloud and allow the others developers of the team to contribute to the project? (Similarly to github, but something private only for the team) What solutions/platforms exists? [link] [comments] |
Should I go with QA or development for school? Posted: 28 Jun 2018 11:14 PM PDT I just got in to a couple of 2 year long programs and I have to choose witch one I want to proceed with before Friday ends. I have a hard time choosing between mainly two of them and I don't have very good insight into this world. Looking for some pointers and tips. One program I'm considering is as a C#/SharePoint/asp.net dev. The other one is about QA. I'm leaning towards going with QA right now because I kinda like the analytical and detective side of it. But I have read that som dev teams are moving away from QA to let the devs do their own testing. Any help, pointers and insight into the world of development and QA would be much appreciated. Thanks! Edit: Don't really understand how to change the flair, sorry. [link] [comments] |
Posted: 28 Jun 2018 10:50 PM PDT Regex is really universal skill for developer, so I think it would be a pretty useful skill if you are a developer in any field. [link] [comments] |
Executing .bat from excel file Posted: 28 Jun 2018 10:49 PM PDT Hi all! Hope this is the correct place to ask this.. I currently have an excel file that writes commands for me after changing the fields. I'm wondering if there is a way to have a button on that excel sheet that will execute the results as a bat command instead of me having to copy the results, save as a .bat and running it. [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