• Breaking News

    Wednesday, April 24, 2019

    When did you feel like you made a breakthrough in your programming career? Ask Programming

    When did you feel like you made a breakthrough in your programming career? Ask Programming


    When did you feel like you made a breakthrough in your programming career?

    Posted: 24 Apr 2019 10:02 AM PDT

    [HTML] only the last textbox is working(textboxes non functioning)

    Posted: 24 Apr 2019 10:17 PM PDT

    this is my first html project and i met a bug.

    i have 10 textboxes:

     <main> <div id="wrapper-1"> <input id="r1" type="text" placeholder="bullet1"/> <input id="r2" type="text" placeholder="bullet2"/> <input id="r3" type="text" placeholder="bullet3"/> <input id="r4" type="text" placeholder="bullet4"/> <input id="r5" type="text" placeholder="bullet5"/> <input id="r6" type="text" placeholder="bullet6"/> <input id="r7" type="text" placeholder="bullet7"/> <input id="r8" type="text" placeholder="bullet8"/> <input id="r9" type="text" placeholder="bullet9"/> <input id="r10" type="text" placeholder="bullet10"/> </div> </main> 

    with css:

    main{ grid-area: main; position: relative; width: 100%; height: 200%; margin: 0; top:-12%; z-index: -1; background-color: #262A2E; } #wrapper-1{ position: relative; width: 10%; height: 200%; margin: 20px 35px; top: 12%; padding: 40px; border-right: #BBAAAA 2px groove; } #wrapper-1 input{ display: inline-block; height: 30px; width: 80%; margin: 15px auto; } #wrapper-1 input::placeholder{ color: #577dff } 

    everything is position as expected:

    https://i.imgur.com/sHGNM2D.png

    however, the textboxes are not editable. It doesnt allow me to point to the textboxes thus i cant enter text into the textboxes. what have i done wrong in the code? thanks !

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

    Building Machine Learning Movie Recommender

    Posted: 24 Apr 2019 09:11 PM PDT

    Hello everyone! I posted recently asking help request of some sort of a guide or direction in building an App that Recommends Movies. I'm extremely new at using angular7. Upon further researching and professor giving more details on what he wants, It has to be made with Machine Learning. Does anyone have a guide or reference I could go by that's helps me develop machine learning with movie recommendations?

    Like these but at a smaller scale.

    movix.ai

    https://www.tastemonster.com/

    My work, planning on removing questionnaire page and implementing the recommender starting there.

    https://github.com/LamarRJ1/TheMovieMaster

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

    Master List of All Programming Languages/Frameworks/Technologies/Tools

    Posted: 24 Apr 2019 03:18 PM PDT

    Hi all,

    I'm in search for a complete list of all programming languages, frameworks, databases, technologies, and tools. It would essentially have information on what is compatible/interacts with what. I'm not sure if such list actually exists online, (excluding Wikipedia), but I thought what better community to ask!

    By technologies and tools, I mean things like Firebase, Redgate, Cucumber.io, etc. It can be everything and anything.

    Thanks!

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

    Official or unofficial API for WhatsApp Messenger.

    Posted: 24 Apr 2019 02:55 PM PDT

    Hi! I've built a bot using Dialogflow and am now looking to integrate it with WhatsApp. I'm currently using the Twilio API for WhatsApp to relay the bot's responses over to users. There are, however, several drawbacks to using the Twilio API, a few being:

    1. Using only one or two Twilio branded numbers provided through their sandbox to experiment with the official WhatsApp Business API.
    2. Having users type in a phrase provided by Twilio to start chatting with the bot.
    3. Inability to customize the display picture or status of the WhatsApp chat (due to point 1).

    I've applied to gain access to the WhatsApp Business API but haven't received any response from them so far. I've waited over a month and have kind of given up any hope of receiving an approval. I had a look at some of the unofficial APIs (such as chat-api, wassenger, etc.) that claim to provide services very similar to the official business API.

    So my question to you is if there are any disadvantages or legal ramifications to using one of these unofficial services, and if not, which ones I should be considering as potential candidates to connect my chatbot to.

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

    [C++] How do you pass an object by value to its member function?

    Posted: 24 Apr 2019 02:27 PM PDT

    auto myobject::read_modified() const { auto copy = *this; return copy.modify().read_object(); } 

    Without performing the copy, the function take the myobject instance by reference.

    Writing auto copy = *this; is a little clunky and I was just wondering if there is language syntax for this, maybe auto myobject::read_modified() const [=, *this]; or something...

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

    Anyone else struggling with sap?

    Posted: 24 Apr 2019 12:37 PM PDT

    I'm working on an adapter using the ADK (from sap) intended to run on hana cloud. Aside from an elliptic and heavily outdated documentation sheet:

    https://help.sap.com/doc/ea5e9983c3d74062aca12b701c263380/Cloud/en-US/AdapterDevGuide_External.pdf

    there are little to no examples online which can serve as starting points (opensource standalone adapters that can be readily deployed). Ideally, they should expose an endpoint able to receive rest calls.

    Has someone gone through something similar? What was your resolve? (aside from looking for a better job).

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

    Best practice for requesting and storing clients 3rd party API Keys?

    Posted: 24 Apr 2019 11:55 AM PDT

    In a web application that performs 3rd party API requests on behalf of a client, what is the best practice for requesting the clients keys and also securing them?
    Example: My company Acme provides a service on top of the Widgets API. My clients using the Acme web app need to provide their Widgets API public/private keys, so that my Acme web app can perform requests to the Widgets API on their behalf.

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

    [JavaScript]Modal will not close by clicking on X button.

    Posted: 24 Apr 2019 11:28 AM PDT

    I am having an odd issue with a modal box, my modal box will not close with the X button (span tag) but does close by clicking anywhere on the page.

    **Html**

    <div class="masthead\_login">

    <img class="masthead\_login" src="img/login.png" alt="login">

    <!-- The Modal -->

    <div id="myModal" class="modal">

    <!-- Modal content -->

    <div class="modal-content">

    <span class="close">&times;</span>

    <p>Some text in the Modal..</p>

    </div>

    </div>

    </div>

    </div>

    **JavaScript**

    // Get the modal

    const modal = document.getElementById('myModal');

    // Get the button that opens the modal

    const btn = document.getElementsByClassName("masthead_login")[0];

    // Get the <span> element that closes the modal

    const mySpan = document.getElementsByClassName("close")[0];

    // When the user clicks the button, open the modal

    btn.onclick = function() {

    modal.style.display = "block";

    }

    // When the user clicks on <span> (x), close the modal

    mySpan.onclick = function() {

    modal.style.display = "none";

    }

    // When the user clicks anywhere outside of the modal, close it

    window.onclick = function(event) {

    if (event.target === modal) {

    modal.style.display = "none";

    }

    }

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

    Autobiographical Number, my brain went into a state of no return

    Posted: 24 Apr 2019 10:26 AM PDT

    Applying same CSS across different areas of code

    Posted: 24 Apr 2019 02:23 AM PDT

    I want to ensure that all of my code shares the same style rules. At the moment, my last few divs will not respond to the css of the rest of the website, and I'm not sure why this is.

    I've deleted additional html/body tags to ensure that all code is included within one set - in the practise.html file. I'm not sure what else to do.

    Code pen link:https://codepen.io/coinscrum/project/editor/ZrWMLL

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

    Javascript vs Python / seeking advice

    Posted: 24 Apr 2019 05:37 AM PDT

    Last time I've added a topic regarding Python vs Ruby vs Java. That was about me and my choose of the programming language which I will develop in.

    Now I've widened the search and I'm thinking about Javascript and Python/Django. What do you guys think? What would be the best choice for a beginner? I am also thinking about the preoccupation of these languages on the worldwide job market and if they will be still useful in the future, etc.

    Btw - in case any1 would ask - there are the same amount of jobs for JS and Py/Django devs.

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

    Is learning more Programming languages worth it?

    Posted: 24 Apr 2019 04:32 AM PDT

    I currently know the intermediate levels of C++ and C# and can work with them (creating applications, games, etc) but I'm thinking of maybe learning Java or python. As well I grow my knowledge of C++ and C# pretty much every day from all the bugs that I fix for my own programs but also for other people, but I had in mind a little plan to maybe learn Java or Python? Anyone have any opinions on this, and well is it 100% worth my time? (

    (Not including the time I spend reading books about programming etc)

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

    Correct me if I'm wrong with Computer Science v. Software Engineering:

    Posted: 24 Apr 2019 07:39 AM PDT

    Computer Science v. Software Engineering: Pretend your making banana bread. Computer Scientists grow the wheat for the flour, harvest and pick bananas, gather the eggs from the chicken coop, etc. Software Engineers make a recipe, combine the ingredients, and bake the final product.

    Is this generally correct?

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

    MMORPG materials calculator

    Posted: 24 Apr 2019 06:20 AM PDT

    Hello!
    What's the best way to write a calculator that automatically adds to a "grocery list" the items i need to create another item? Example:

    for 1 desk i need:
    8 nails
    5 wood pieces

    BUT

    for 1 nail i need:
    3 steel pieces

    So there are materials but also nested materials... materials of materials....
    That's a very simplified example but enough for what i need.

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

    Identifying "algorithms"/abstractions

    Posted: 24 Apr 2019 06:14 AM PDT

    I wrote a piece of code in Python, and I know it is quite messy, but I am having trouble finding enough algorithms/abstractions. The code is quite simple, really: it simulates word "evolution", basically the program guesses letters until the characters that the user input are all guessed correctly.

    Right now, my abstraction fits INSIDE one of my algorithms, and that really gets on my nerves as I can only find one proper algorithm and abstraction (as the entire majority code defined in bigFunction doesn't count). Could someone please help my identify two possible "algorithms" (defined as 'precise sequences of instructions for processes that can be executed by a computer and are implemented using programming languages' that uses mathematical/logical concepts) and an abstraction (that simplifies my code and makes it shorter, etc.) that exist in my code?

    Thank you!

    https://codeshare.io/29ByyV

    Edit: Please don't change the code on there! :)

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

    Why are pointers in practice so challenging to wrap your head around when it's such a simple concept?

    Posted: 24 Apr 2019 03:30 AM PDT

    Note, I'm not asking anyone to explain pointers, Just curious why I can read infinite tutorials explaining pointers, understand conceptually that a pointer simply stores an address of another variable. Yet in practice they always give me headaches.

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

    Creating An Application Using BigchainDB in Python

    Posted: 23 Apr 2019 11:59 PM PDT

    What Programming Language Should I Learn For This?

    Posted: 23 Apr 2019 11:29 PM PDT

    I'm interested in creating a "calculator" like application which allows you to input your details (Age, gender, location, etc.) and spits back, for example, what illnesses you may have a higher risk for developing/catching. My question is, what coding language would be best to learn for this? Being able to embed this application into a website for people around the world to use would be nice, too. I have some java knowledge (it's pretty iffy), but I'm really looking to step my game to learn a coding language to create this type of program.

    An example of the calculator that I mentioned above would be this:

    https://immunisationcalculator.sahealth.sa.gov.au/ImmuCalculator.aspx

    In the above link, the individual enters their info and then they get results spit back (like what vaccines they need to catch up at what time).

    Any advice is appreciated. Thank you!

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

    No comments:

    Post a Comment