• Breaking News

    Thursday, March 29, 2018

    Is there some way to share Java code between people on the Netbeans IDE? Ask Programming

    Is there some way to share Java code between people on the Netbeans IDE? Ask Programming


    Is there some way to share Java code between people on the Netbeans IDE?

    Posted: 29 Mar 2018 06:41 PM PDT

    All it seems to be is a way to link my project into a Github account.

    submitted by /u/gisellasaurus
    [link] [comments]

    Hosting an Angular project in Firebase but Landing Page in WP

    Posted: 29 Mar 2018 06:31 PM PDT

    I want to build a Saas application in Angular and host it in Firebase, but I would like to A/B test the landing page so figured a WP landing page would be best hosted somewhere else. I spoke to namecheap and they said that I couldn't point www.mysite.com to a WP page on their hosted service and then point www.mysite.com/somewhereelse to say Firebase. Does this sound right? What do folks usually do to A/B test landing pages without having to recompile the Saas app and redeploy each time?

    submitted by /u/spinz2112
    [link] [comments]

    How to make that my chatbot actually "think" an answer?

    Posted: 29 Mar 2018 05:52 PM PDT

    Some context, I've been reading a lot about AI development and I've been trying to program a sort of intelligent chatbot and came to the conclusion that in order for it to work, I need an NLP, which I'm using Stanford's NLP, and I also need a part that actually "thinks" and outputs the answer, but this part, what is it? Is it an algorithm? Please help it's my science project and I really need to finish this :(

    submitted by /u/JAAT2000
    [link] [comments]

    How do I export Data from Industry Specific Software (API available) to Zoho CRM?

    Posted: 29 Mar 2018 09:24 PM PDT

    Hi all!

    I run a small tutoring business - we use software called Teachworks for scheduling / billing / contact management etc.

    I would love for all of the contacts to be automatically synced to our CRM (Zoho CRM) with all relevant profile fields.

    Here is the link to the API Documentation

    I have very little coding / programming experience but I am reasonably resourceful. Any help would be greatly appreciated.

    submitted by /u/mario-g
    [link] [comments]

    Since computers are a new form of weapon, should the computing power available to the public be limited?

    Posted: 29 Mar 2018 03:25 PM PDT

    I mean, it is very cool to be able to play a video game in 4k or process terabytes of data in a couple of minutes (seconds?). But, on the other hand, it means that all the existing data protection methods are weaker and weaker (or is it becoming stronger for the same reason?).

    I really don't know where to ask this question, I figured this would be a good start.

    submitted by /u/go-rabbit
    [link] [comments]

    Anybody got an opensource project going I can practice my QA/Automated testing skills on

    Posted: 29 Mar 2018 08:14 AM PDT

    In the title, I'm wanting to create an automated testing portfolio to practice my skills with selenium/appium/ and cucumber so if anybody that needs anything testing please let me know

    submitted by /u/poopoolapoo
    [link] [comments]

    How to schedule sounds to play on certain days on a Raspberry Pi?

    Posted: 29 Mar 2018 08:51 PM PDT

    I recently picked up a Raspberry Pi and I was wondering if anyone had made an open source idiot-proof GUI for scheduling sounds. I want to schedule sounds to play at certain days of the week/month/year. I can't really find anything that isn't cron which still works but isn't idiot proof. If I'm not home and I need my kids to change the time the sound goes off, I don't want to be feeding them lines on how to code it. Any ideas? Thanks for the help in advance.

    submitted by /u/IMPECCABLE_ANGUISH
    [link] [comments]

    What things should a programmer learn to become better?

    Posted: 29 Mar 2018 10:37 AM PDT

    Earlier, in my college and junior job, I used to think programming languages and frameworks are the things to master in order to become a good programmer.

    But, recently I think it is the smaller things that matter, like, RegExp, Timezone handling, I18N, 10-20 shell commands.

    These are not small in importance but only small in daily discussions in programming circle. Everyone is busy in discussing latest framework, library and language version.

    What are other such topics that are useful to programmers but are less discussed?

    submitted by /u/iqover190
    [link] [comments]

    Explain Thunks in JavaScript Like I'm Five

    Posted: 29 Mar 2018 04:04 PM PDT

    I'm reading Kyle Simpson's book "You Don't Know Javascript: ASYNC & Performance". Just completed "Chapter 4: Generators" and I'm lost when it mentioned the use of Thunks.

    Any help is greatly appreciated.

    submitted by /u/Bibliophile777
    [link] [comments]

    Why are variable names in any C or C++ project so short?

    Posted: 29 Mar 2018 01:25 PM PDT

    Most programming languages abide by the 80 char width "rule" (or atleast try to). Yet C/C++ is the only language that I've seen totally abuse that to make code less readable IMO.

    Take for example this from the kernel source (which typically does a good job of naming variables but nonetheless): https://github.com/torvalds/linux/blob/master/crypto/acompress.c#L151-L160

    Why not base->crypto_register_alg_type instead of shortening it to cra_type? It's obviously less characters, but the second or two it takes to figure out that's what it is adds up. Especially for someone new to the project.

    (There are more egregious examples but I just opened that random file up)

    submitted by /u/TackleByNumber69
    [link] [comments]

    Uploading a file to site and using data from said file in Java

    Posted: 29 Mar 2018 03:33 PM PDT

    Hello!

    I'm building a little password manager in Java for personal use to practice programming. I want to learn to upload a file to my own website, and make it ONLY accessible to my application.

    The purpose of this would be to generate a random key to that file, then retrieve it using a function in my program, and encrypt / decrypt my data with it. Naturally I don't want anyone else to be able to read the file.

    For example, I would generate a key (a string) to a file, make it 'Kfiwn4i72bzk' for example. That file should then be uploaded to my own website, f.ex 'mywebsite.com'. My program would then call a function to get that string from the uploades file and store it as a string in my program for later use.

    Any nudge in the correct direction is greatly appreciated!

    Note: not expexting example code, rather directions on how to accomplish this!

    EDIT: I want to upload the file to a website just to learn how to do it, I could just store it locally which I'm already doing.

    submitted by /u/iBeg4Wurst
    [link] [comments]

    What IDE allows to map the code like that?

    Posted: 29 Mar 2018 09:30 AM PDT

    https://youtu.be/jOyfZex7B3E During 4th minute, an Eclipse-like IDE is shown, displaying saturn assembly in a graph of routines, what software is this?

    submitted by /u/tuxmanexe
    [link] [comments]

    Ask Reddit: What're some agile software development podcasts I should be listening to?

    Posted: 29 Mar 2018 06:54 AM PDT

    Hey all,

    Been in the agile game for a while now and would like to start branching out from books and videos for keeping sharp on all things agile. I have a 20 minute walk to work every day and would like to find some good podcasts to fill the time. Any suggestions?

    submitted by /u/hi_mynameisdom
    [link] [comments]

    Optimal vs Heuristic explanation

    Posted: 29 Mar 2018 01:51 PM PDT

    This has got me confused a lot. I understand optimal (I think), it is the best and most ideal algorithm (?). But I don't understand what a heuristic algorithm is.

    Can someone here explain it to me with an example? Let's say I want to go from point A to point B. What will the heuristic algorithm look like and what will the optimal algorithm look like?

    submitted by /u/zimmer550king
    [link] [comments]

    [C] How do convert a user-entered int value into a double value of it's percentage?

    Posted: 29 Mar 2018 04:30 PM PDT

    For example: If a user enters 12, how can I turn that into it's percentage: 0.12?

    I'm not sure if I'm thinking this is more complicated than it really is for a beginner.

    submitted by /u/Chekov1701
    [link] [comments]

    Python - Why am I getting an error saying that this needs to be an integer?

    Posted: 29 Mar 2018 08:07 AM PDT

    import urllib.request

    import json

    url = 'https://reddit.com/r/dankmemes/random.json'

    req = urllib.request.Request(

    url,

    data=None,

    headers={

    'User-Agent': 'squeak'

    }

    )

    data = urllib.request.urlopen(req)

    text = json.loads(data.read())

    print(text[url])

    Why does python spit out an error saying the JSON needs to be an integer?

    submitted by /u/AB6Daf
    [link] [comments]

    How to impl a drm scheme? DIY

    Posted: 29 Mar 2018 03:09 PM PDT

    Resources about how to implementing DIY DRM scheme on the web are limited.

    Requirements:

    • Convenience and not annoying for the User
    • User account for update and online features
    • Watermarks
    • Product key
    • Code obfuscation
    • Respect fair dealing

    Any resources?

    submitted by /u/loik_1
    [link] [comments]

    Is Python a good language for scraping/monitoring Reddit data?

    Posted: 29 Mar 2018 06:28 AM PDT

    I want to do a number of different analyses on reddit data, mainly on vote totals, or how vote totals of posts are effected by hitting /r/rising or /r/all.

    I already work in data, but with SAS/SQL/Excel, and would like to add python to my tool belt. Obviously once I get the data I can chop it up with python, but is Python a good language for scraping data or monitoring pages?

    For example: Say I want a program to sit in reddit.com/r/pics/new/ for an hour and every time someone posts a new thread, go into that thread and monitor it's points total every 10 seconds - is that something relatively easily done in Python? Or is there a better language for this?

    submitted by /u/InternetWeakGuy
    [link] [comments]

    Is using return; break; continue; in order to avoid nested blocks bad practice?

    Posted: 29 Mar 2018 12:36 PM PDT

    I had to program in C for a class in my college, and whilst programming I had some questions about how the statements of the title worked in certain conditions, but not what I want to ask.

    In such answers they generally say avoid continue and break, and not in the end of the function return they're disguised goto's and therefore evil.

    That stuck me personally hard because I personally love using them to avoid nesting blocks. Are they actually bad practice? disguised gotos? but regardless of that, just as the tile says, is using return; break; continue; to avoid nested blocks bad practice? In general? In some languages?

    Example instead of:

    if (condition) { lots_of_instructions(); [...] } 

    This:

    if (!condition) { return; // break, continue, etc } lots_of_instructions(); [...] 
    submitted by /u/samosaara
    [link] [comments]

    Graph database or relational database?

    Posted: 29 Mar 2018 08:47 AM PDT

    Hello

    I had an app idea in high school. I thought it was awesome so I made a detailed plan to making the app. I got to university and completely forgot about it. A couple of days ago I found it and thought of making it just for fun and achievement. Surprisingly it was a bit tricky to implement .. here is the deal:

    The app has nodes. Each node has many children and many parents. I also have users, I need to save each user's visited nodes. They ALL would visit the node in the same direction using this algorithm:

    1. visit root node ( a node with no children )
    2. for (child in node.children) if child has no other parent or all parents has been visited: visit child so it's kinda like depth first graph algorithm, the only difference is that I stop if the node has unvisited parents. In another work I will only visit the node if ALL of its parents has been visited or if it has no parents.

    Anyways, I decided to make it a web app. And I struggled to make the rational schema, so far what I did: 1. user table 2. node table with content as a primary key (content is unique) 3. node_parent table

    I didn't implement the "visited" feature for each user, but I guess I will make it into a user_node table?

    Anyhow while making this I came across graph db. It seemed nice and I really liked it. Most importantly my app uses a graph-like stucture so I liked it. But I have no idea how to implement the "visited" feature and the user table.

    submitted by /u/Maji-_-
    [link] [comments]

    Need help understanding hw problem: has to do with linked lists and data structures(Java)

    Posted: 29 Mar 2018 11:29 AM PDT

    An instruction from my homework says:

    Create a LinkedStack<E> class that implements the Stack<E> interface and uses a SinglyLinkedList<E> object as the backing store.

    Here's what I understand:

    1) I need to create a generic class called LinkedStack<E>

    2) I need to implement the Stack<E> interface

    Here's what I am having trouble with:

    1) Use a SinglyLinkedList<E> object as the backing store. I am having a hard time understanding the phrase "backing store." I cannot find it in my book. Does "backing store" just mean what kind of data structure I need to use? Is there more to it?

    Thanks for helping a noob out.

    submitted by /u/nehsquidward
    [link] [comments]

    App development concerns

    Posted: 29 Mar 2018 06:41 AM PDT

    Hello all, so i've undertaken an intership for a charity developing an app for them. I've had experience in developing web applications etc but with this app they want it to be cross-platformed and built using a framework (like phone gapp), i've never used a framework before but from what i've researched into it I could use a mixture of HTML, CSS, JS, PHP/node.js etc to build a cross-platformed app? Or will i will i have to use a more object orientated language like C# and iOS equivalent?

    Furthermore, they have alot of crazy requests, i'm wondering if anyone has any advice on how to deal with this. I've dealt with clients and bosses (on previous web dev internships) but their requests are normally pretty tamed. This company wants me to build an app, then hook it up to a well known health api and then also have the ability to transform raw data from the user to output charts to then also send that to health professionals and also potentially have a live chatroom set up so people can talk to one another and talk to a health professional.

    The one issue that comes to my mind with this is security, i tried explaining this to them hoping they'd tone down their requests and highlight to them i have no experience in any of these issues but they want to go ahead and set up focus groups and that to discuss these ideas.

    submitted by /u/hiya19922
    [link] [comments]

    What was the biggest issue you and your team had in the past and how did you come together to solve it?

    Posted: 29 Mar 2018 09:37 AM PDT

    More or less just looking to see what the issue was with re: to people, processes, and/or tools and how your team came together to solve it.

    submitted by /u/hi_mynameisdom
    [link] [comments]

    Would it be possible to make a program that manages a database using HTML, Python, and MySQL.

    Posted: 29 Mar 2018 09:14 AM PDT

    I'm going to be starting a school project soon where we are making a more user-friendly database for a local organization. I have an idea for a program that would allow allow for the users to simply click buttons and type in input boxes then all the data is minipulated using python and the stored on there database using MYSQL. I've currently got a simple working prototype for the python portion and have found a module for python that will allow cross-communication between python and MYSQL. What I want to know is can I use HTML for the GUI of the program. I know it has functionalities outside of webdesign when it comes to independent programs but am having trouble find it online. If it is possible then how could I make it so data gathered through HTML inputs go through python then to MYSQL.

    PS: If this idea sounds crazy and outlandish feel free to point me in a better direction.

    submitted by /u/Xegion
    [link] [comments]

    No comments:

    Post a Comment