Java/c++ coming from python/ruby/JavaScript Ask Programming |
- Java/c++ coming from python/ruby/JavaScript
- [Linux, I think?] Ultra beginner program giving unexpected token error?
- How would I store 'private' info on github?
- Makefile unable to find library that exists?
- Having an issue with argv
- Help, I don’t know the best way to start making a Tire look up for a Wordpress site I’m working on. Any tips on where to start would be great!
- Beginner ASM Visual Studio Help
- SQLite Database Connection
- Help PLC LAD FBD.
- Anybody have a WELL DOCUMENTED Tinder API? [C#]
- OCR Project Ideas
- How to speed up ffmpeg process?
- What is the best way to use an API in an application?
- What are your thoughts on node packages?
- I am desperately looking for help on how to publish exchange server using TMG Forefront 2010. Is there someone who can give me some advice?
- Peon Coder Value
- Does the C++ STL have a function like std::promise but where I can call set_value() multiple times?
- Files deleting themselves
- Can you reccomend a guide for people new to MySQL but know the basics about database design?
- Why couldnt old game consoles like NES or Atari 2600 have SDKs?
- I have written an HTTP server program that hosts a simple HTML file on a local server. What can I read to understand how to connect to this from a different IP?
- beside looks, what are some programming languages that are like scratch?
Java/c++ coming from python/ruby/JavaScript Posted: 17 Feb 2019 01:50 PM PST I've always been a dynamic/scripting language guy and java and c++ have been something that I look at through a glass wall and think "maybe someday". Can anyone who crossed to the other side, came from the other side or feel the same way share your views. I get the speed aspect of static languages but they somehow always felt overwhelming and complex. I understand the business need for them in competitive production software but anyone use them for their day to day tasks? [link] [comments] |
[Linux, I think?] Ultra beginner program giving unexpected token error? Posted: 17 Feb 2019 07:56 PM PST I'm using a new language, I think it's linux but to be honest I have no clue; we're connecting to some server through a program called putty to do this programming. As part of an assignment I have to create a calculator program that takes two numbers and an operator as arugments but I'm getting a bunch of unexpected token errors. I'm very lost and neither my text no my professor is helpful so far so far I'm just trying to get it so I can get 2 from the command ./calc.sh 1 1 + but I keep getting unexpected token error on line 20 "syntax error near unexpected token 'elif' [ $3 = '-' ] then subtract [link] [comments] |
How would I store 'private' info on github? Posted: 17 Feb 2019 03:20 PM PST So I've been looking into editing Google sheets in my program, and managed to get it working, but my project is on GitHub, meaning the json file with credentials and what not is on there, public to everyone to see, which could then be used to access my sheets doc. I am also getting spammed by Google saying 'You're stuff may be compromised." Now I'm not use this for any actual sensitive data I'm just wondering if there is a better way to go about this, mostly so I stop getting the emails from Google. Should I just like not store that one file on GitHub and manually add it when I need it? [link] [comments] |
Makefile unable to find library that exists? Posted: 17 Feb 2019 06:58 PM PST I'm running make with a makefile using cygwin , and it's not recognizing a library which exists. I have a Windows 64 bit machine. I'm running it in the GT Graph directory. The structure is the same as the github repo: https://github.com/dhruvbird/GTgraph The makefile I'm running is this: https://github.com/dhruvbird/GTgraph/blob/master/Makefile The makefile variables are this (I didn't change anything in this file): https://github.com/dhruvbird/GTgraph/blob/master/Makefile.var And finally, my error is this: C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsprng I've tried everything. Is this just not possible to do on windows? Thanks! [link] [comments] |
Posted: 17 Feb 2019 06:31 PM PST int main(int argc, const char **argv) { const char * cpu_string = "-cpu"; if(argc != 2) { printf("make sure to format the call to pp_ps with either -cpu, -mem, -pid or -com\n"); } FILE *fp = fopen("/proc/uptime","r"); fscanf(fp,"%f",&uptime); readdirs(); if(strcmp(argv[1], cpu_string)) { } else if(argv[1] == "-mem") { } else if(argv[1] == "-pid") { } else if(argv[1] == "-com") { } This code shows a couple approaches I've taken, but I'm not getting it to compare correctly. When I printf the value, it sure looks like it should evaluate correctly. "-cpu" should equal "-cpu", right? [link] [comments] |
Posted: 17 Feb 2019 11:41 AM PST I just want to know if It's worth paying for some sort of API or if there is a known way to start this project. It's not for a job it's just for my sisters business I have like an okay plugin that will work but I kinda wanna learn more about improving this set up. [link] [comments] |
Beginner ASM Visual Studio Help Posted: 17 Feb 2019 01:51 PM PST I'm in a beginners assembly class and I'm writing my first program to determine whether an inputted string is a palindrome or not. So far I have it set so that the register rdi contains rsi but incremented to the first byte that isn't line feed or carriage return, however the compare statement is jumping to NotPalindrome even when they should be equal. The registers for rsi and rdi are as shown RSI: 0x00007FF634D54000 72 61 63 65 63 61 72 0d 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 racecar................. RDI: 0x00007FF634D53FEE 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 72 61 63 65 63 61 ..................raceca 0x00007FF634D54006 72 0d 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 r....................... RAX: RAX = 0000000000000072 Any help is greatly appreciated, thanks. [link] [comments] |
Posted: 17 Feb 2019 05:30 PM PST I am trying to create a program that will generate student info within a table. I have created a database within SQLite studio and a table named data. I also have successfully connected the database to my program, however, when the program is ran, there is an sql error saying the table is missing. Please advise. Full post on Stack overflow here [link] [comments] |
Posted: 17 Feb 2019 08:07 AM PST Hi. As an electrical automator I learned PLC programming at school. The PLC programming languages were intentionally made in a way to make them easy to understand for electricians. LAD mimics automation control schematics and my favorite FBD mimics electronic schematic. do any of you who know about a programming language or something where i can program in LAD and or FBD and compile for pc PLC is short for Programmable logic controller LAD is short for Ladder FBD is short for function block diagram Thank you.. [link] [comments] |
Anybody have a WELL DOCUMENTED Tinder API? [C#] Posted: 17 Feb 2019 04:02 PM PST Everything else is either not well documented or not working. Can anybody help me? [link] [comments] |
Posted: 17 Feb 2019 01:56 PM PST Anyone have any good ideas (either fun builds or to make money) that could use OCR to gather and process data? [link] [comments] |
How to speed up ffmpeg process? Posted: 17 Feb 2019 07:31 AM PST So first of all i'm a total newbie. I wrote up a simple script using python(also a beginner) to merge audio and video and output it as a .mp4 clip. I uploaded it to AWS and it is working fine. The problem is that it takes too much time to combine the two formats. For a 200 MB video it took almost 30 minutes. Is there a way to speed up the process without losing the original video quality. [link] [comments] |
What is the best way to use an API in an application? Posted: 17 Feb 2019 12:38 PM PST So I'm planning on using an API that provides data in my application, but not sure what the best way to do it. Do I access the data on the client or have the server that relays the data to the client. The API has a rate limit and requires a key, which makes me think the best would be server because I'm not sure how you would keep the API key secret on the client side. If server would be the best way, do I write an API that connects to the outside API and relays the data to the frontend with JSON. Not exactly sure what is the best way. [link] [comments] |
What are your thoughts on node packages? Posted: 17 Feb 2019 06:20 AM PST I've been bouncing in between web and mobile work for the past decade or so and people around me are getting increasingly interested in node packages. I've messed with node itself here and there, and I really like it for quick and dirty APIs and some socket.io stuff. But I just do not get why people are so jazzed about using npm for everything. Every npm inclusive project I've worked on falls apart whenever I touch it. My console is filled with javascript errors and logs. A really substantial portion of cloning a project goes like this...
Then when I ask someone else who is working on it what the packages are even for, they say they're for "auto generating some css tags". None of these packages seem to actually DO anything that I couldn't easily do myself. Then when something breaks, I have nothing but a bunch of minified source to try and feebly debug the problem. Also these packages are gigantic. In a 300mb wordpress theme, 200mb are from JUST node packages and their many MANY dependencies. Also also what is going to happen when these packages are defunct? Also also also what happens when any of the 800 some packages that are installed become compromised? Everyone I talk to just keeps assuring me that these are not problems and that the industry is moving towards node packages, so we all just have to get used to it. Is anyone having a different experience, is it just me? [link] [comments] |
Posted: 17 Feb 2019 10:02 AM PST |
Posted: 17 Feb 2019 09:53 AM PST Is there real value to learning several languages and trying to learn all of the newest libs and apis or is this just a ruse to keep new programmers distracted chasing phantoms thereby procuring job security for those who are able to focus on a single language? [link] [comments] |
Does the C++ STL have a function like std::promise but where I can call set_value() multiple times? Posted: 17 Feb 2019 09:32 AM PST I wrote a chess AI game in Java and I am now learning C++ so I can reimplement it in Qt. The human plays a It would be fairly trivial to implement this with [link] [comments] |
Posted: 17 Feb 2019 08:57 AM PST Ok this is a weird problem. I have a game I made using pygame, and a whole bunch of files, and I am using the atom editor, and it is linked up with github. I have also been using pyinstaller a whole bunch trying to figure out different things with it. I don't know what is causing this, but sometimes, images in my 'data' folder just like delete themselves. There have been times I'm literally just watching the git feed in the atom editor and image after image just deletes itself. Luckily, because of it being linked with github, I just undo that, but like, why is this happening? [link] [comments] |
Can you reccomend a guide for people new to MySQL but know the basics about database design? Posted: 17 Feb 2019 02:44 AM PST I know about primary and foreign keys, junction tables, normalisation etc. I learned the basics from a tutorial in Microsoft SQL Server, but I've never used MySQL before. Is there a guide that just explains how to get started in MySQL without going into database design? Or will I have to skip those parts in a normal tutorial? Thanks! [link] [comments] |
Why couldnt old game consoles like NES or Atari 2600 have SDKs? Posted: 16 Feb 2019 11:53 PM PST I was told that back in the day you would have to make everything from scratch and there no chance for SDKs. Why couldnt Nintendo or Atari for example note down what all games need eg. player input, drawing, collision detection etc etc and then release an IDE or at least a blocks of code that you could reuse/modify. [link] [comments] |
Posted: 17 Feb 2019 12:47 AM PST I would imagine what I am describing isn't really possible without paying an ISP somewhere but that's fine. Can anyone recommend a good book? [link] [comments] |
beside looks, what are some programming languages that are like scratch? Posted: 17 Feb 2019 04:27 AM PST the first language that i made my games in is scratch which contains simple sprite-moving/coding but what are similar languages (excluding the block based programming)? [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