• Breaking News

    Sunday, July 28, 2019

    what is the best method to build something that can procedurally generate a PDF Ask Programming

    what is the best method to build something that can procedurally generate a PDF Ask Programming


    what is the best method to build something that can procedurally generate a PDF

    Posted: 28 Jul 2019 07:18 PM PDT

    considering the PDF will have both english and arabic languages

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

    What is the industry standard on applications for creating custom fonts?

    Posted: 28 Jul 2019 06:56 PM PDT

    Potential Phishing Site?

    Posted: 28 Jul 2019 07:38 PM PDT

    Hello everyone,

    I was looking at Ahrefs and I found this bizarre backlink to our site. The original site is https://sellerssuite.com . However, there's this alternative site - https://echo.tvo-test.com/

    You'll see that it mirrors our site. Is this a potential mirror/phishing attack? Has anyone seen this before?

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

    How do you scale on a custom server?

    Posted: 28 Jul 2019 09:24 PM PDT

    A novice programmer here. I've heard a lot about how your website/app should be scalable, and should be able to handle huge traffic, etc.

    My question is, if you're using AWS or some other cloud provider don't they do that for you? So what is the role of developers here apart from setting up db, if the scaling up/down is done by the cloud provider itself?

    Thanks.

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

    Moving from backend to frontend.

    Posted: 28 Jul 2019 08:40 PM PDT

    I'm thinking about making this transition. Wondering what others who have done the same feel about it.

    Been working in backend web development with ecommerce frameworks for about 2.5 years full time, now working at an agency in Toronto making 60k. I find backend work to be very frustrating and stressful most of the time, a lot of it is bug fixes rather than creating something new, and honsely I get zero satisfaction from fixing a bug in a website, I feel no real pride in my work other than it takes skill. Also I've always had a creative eye and has passion for design, cleanliness and good user experience. Writing it out almost makes it seem like an obvious move for me lol. For people who have made the change, what is the trade off? Is pay still good? I feel like with my skills I could be a very good frontend dev.

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

    C++ Question

    Posted: 28 Jul 2019 11:24 AM PDT

    Not sure if this is the right place for this, but I have a question about some C++ code. I'm currently learning about polymorphism and the following code is "exiting with code 2." I have heard this means file not found, so when this issue pops up I usually consolidate to one file until I can find the issue. Here it is:

    #include <iostream>

    using namespace std;

    class Shape

    {

    public:

    Shape() {} virtual \~Shape() {} virtual long getArea() = 0; virtual long getPerim() = 0; virtual void draw() = 0; 

    };

    class Circle : public Shape

    {

    public:

    Circle(int newRadius) : radius(newRadius) {} \~Circle() {} long getArea() { return 3 * radius * radius; } long getPerim() { return 2 * 3 * radius; } void draw(); 

    private:

    int radius, circumference; 

    };

    void Circle::draw()

    {

    cout << "Drawing a circle!\\n"; 

    }

    class Rectangle : public Shape

    {

    public:

    Rectangle(int newLength, int newWidth) : length(newLength), width(newWidth) {} virtual \~Rectangle() {} virtual long getArea() { return length * width; } virtual long getPerim() { return (2 * length) + (2 * width); } virtual int getLength() { return length; } virtual int getWidth() { return width; } virtual void draw(); 

    private:

    int width, length; 

    };

    void Rectangle::draw()

    {

    for (int i = 0; i < width; i++) { for (int j = 0; j < length; j++) { cout << "X "; } cout << "\\n"; } 

    }

    class Square : public Rectangle

    {

    public:

    Square(int len); Square(int len, int width); \~Square(); long getPerim() { return 4 * getLength(); } 

    };

    Square::Square(int newLen) : Rectangle(newLen, newLen) {}

    Square::Square(int newLen, int newWidth) : Rectangle(newLen, newWidth)

    {

    if (getLength() != getWidth()) { cout << "ERROR! That's a rectangle! Not a square!\\n"; } 

    }

    int main()

    {

    int choice;

    bool fQuit = false;

    Shape\* pShape; while (1) { cout << "Choose a shape: 1) Circle 2) Rectangle 3) Sqaure 0) Quit \\n"; cin >> choice; 

     switch (choice) { case 1: pShape = new Circle(5); break; case 2: pShape = new Rectangle(3, 8); break; case 3: pShape = new Square(5); break; default: fQuit = true; break; } if (fQuit) { break; } 

     pShape->draw(); 

     cout << "\n"; } return 0; 

    }

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

    Drawing app, over the internet

    Posted: 28 Jul 2019 07:55 PM PDT

    If I want multiple people to be able to use a drawing app how would I go about this? Something simple like MS paint except multiple people can use it and edit on the same canvas. Does something like this exist already? To be clear I'd like to make this not just looking for an app. Some libraries that would help with this would be appreciated too.

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

    Help With Subscription API (PayPal)

    Posted: 28 Jul 2019 07:54 PM PDT

    If anyone here is in Stack Overflow and is interested on a 100 reputation bounty, I need some help.

    https://stackoverflow.com/questions/57178999/paypal-subscription-setup

    It's about setting up a Paypal Subscription.

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

    I was asked these questions and I would like to find out where I went wrong

    Posted: 28 Jul 2019 02:12 AM PDT

    Barry is 67 years old. His daughter is 43. When was she 1/3 as old as him?

    Which I answered: 31 years old 

    11001010(2) - 10011010(2) = 1980000

    #include<iostream> using namespace std; class abc { public: int i; abc(int i) { i = i; } }; main() { abc m(5); cout<<m.i; } a) 5 b) Garbage c) Error at the statement i = i; d) Compile error: 'i' declared twice 

    I selected D 
    submitted by /u/NaksBig
    [link] [comments]

    Is there a file/content type that names a Content-Type and has the binary content?

    Posted: 28 Jul 2019 09:35 AM PDT

    Something like...

    image/jpg:...bytes of jpg file...

    text/plain:any text

    application/vnd.microsoft.portable-executable:...bytes of exe file...

    The HTTP data format has a Content-Type line and after the first byte[4] of 13 10 13 10 theres binary data, but we dont really need the first line starting with GET or POST and http version and rel url. Is there a content-type for a http message? Is there a content-type for one that just has the type and content?

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

    Will web development become a much rarer job in the future, web development being for more highly skilled jobs and not just the basic website making for various companies?

    Posted: 28 Jul 2019 10:51 AM PDT

    I understand that there's some areas within web development that are absolutely in-demand and will be even more so in the future. But that's mostly for the highly technical, rare skills.

    What about the average web developer who doesn't really dabble in the cutting-edge stuff or even anything all that complicated, but merely makes websites and various other basic stuff for companies? Will these become obsolete in the near future?

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

    Is programming ideal for someone who just want a stable job?

    Posted: 28 Jul 2019 10:47 AM PDT

    Everyone says learning coding is a good idea. "With the fourth industrial revolution lots of jobs will no longer exist". But so far it's been difficult for me.

    It's so freaking hard to find a decent job. Employers ask too much for entry level jobs, I have to make github contribuitions, develop personal projects...

    Freelancing is so difficult because clients often dont't know what they want. I advise them to make mood boards, give me some examples, anything. I don't if it's just me but I have to deal with the most nitpicking clients ever.

    Will it get better some day?

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

    Are there any studies on the invite-tree system like the one that lobste.rs uses?

    Posted: 28 Jul 2019 10:30 AM PDT

    Graphing word frequency in a CSV file

    Posted: 28 Jul 2019 08:41 AM PDT

    I have CSV file that separates time and message in several rows, I'm trying to find the word frequency of all the messages as well the most frequent word at a given time frame

    im not sure on what to do

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

    Running inference in parallel on web server

    Posted: 28 Jul 2019 04:34 AM PDT

    Hi,

    (Please keep in mind I'm not entirely sure of what I'm looking for, and I'm somewhat new to backend job queues/asynchronous execution)

    Scenario: User sends a photo via an Android app to a webserver. Server must run some DL inference on the submitted picture, perform some calculations and send a text output back to the user.

    Server will be a laptop with an RTX 2070. We were planning to make a Flask server, accept a POST request, then run inference by modifying darknet-YOLO to work with our model and weights. But that requires us to execute a command in the shell (with pexpect). But this doesnt seem like the best way, because if multiple clients make requests, they will have to wait for this command to complete/it may spawn several processes, risking a VRAM overflow/slowing down all running inferences etc with no control over them

    I've found the python library MLQ to create a job queue and hand off the requests to a second process, but is there any way to make this as fast as possible, by running mutiple inference jobs in parallel on one GPU? In Python/Node.js etc.

    Thanks

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

    How did you keep yourself motivated as a beginner?

    Posted: 28 Jul 2019 02:40 AM PDT

    I'm trying to self teach, but I go through these Udacity courses or whatever and I just feel like I'm not getting anywhere. Is it really necessary to sit through these things before I start programming?

    I really wanted to learn a bit of CS and found the book "Structure and Interpretation of Computer Programs" and I find it interesting for about 10 minutes at a time. There's not any interaction really.

    submitted by /u/G-Fieri
    [link] [comments]

    Active and forward looking Wirthian languages?

    Posted: 28 Jul 2019 03:27 AM PDT

    I'm curious to know which programming languages from the Wirthian branch (Pascal,Ada,Oberon,Modula et al) in 2019 are the most active, and which are implementing new, different and interesting ideas

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

    Async/await in redux after setting value in firebase realtime database

    Posted: 28 Jul 2019 03:25 AM PDT

    Stuck on this, not sure what the issue is https://stackoverflow.com/q/57232664/4697881

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

    Need experienced advise!

    Posted: 28 Jul 2019 12:41 AM PDT

    Hi , i was working with laravel from last 2 years , just back-end stuff most of the time and all core development, and recently i passed my interviews and selected as a jr web developer in multinational Brazil firm (big company like ) they have a very big product and team too.

    My job starting from 1st of August and i will be seeing a biggest working application of my life. All i am worried confused is that how i will handle that so many code, they actually using rails + elixir + react , but my work i confirmed is inside rails features , its my 1st time with rails i already covered all the basics developed some small crud apps also.

    little about me i don't have cs background i have passion interest in working with code that's why i am working as a freelancers and contractual from last 3 years with php and laravel and never worked in a big team big company before.

    To all my seniors Ror developers who working in mega companies or very experienced with rails what are the suggestion for me to see that product and work in it ? either its a book suggestion video suggestion or any practical experience suggestion please let me know i am really confused and this is my future career i don't want to lose this, i want to do my best in this firm and grow. Kindly i will be very thankful to you guys just let me know what to do 1st when i get my 1st task or 1st day of scrolling that biggest application of my life.

    Thanks

    Sorry for grammar or any mistake English is not my native language.

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

    No comments:

    Post a Comment