• Breaking News

    Saturday, August 10, 2019

    Is "Full Stack Developer" a concept **only in the Web Dev domain** ? Ask Programming

    Is "Full Stack Developer" a concept **only in the Web Dev domain** ? Ask Programming


    Is "Full Stack Developer" a concept **only in the Web Dev domain** ?

    Posted: 10 Aug 2019 12:25 PM PDT

    Getting started from scratch with a relatively clear goal. Help to build a path to follow?

    Posted: 10 Aug 2019 06:34 PM PDT

    Hey there!

    I'll start saying that I'm completely new to programming, and that I want to learn so I can use it at my job. I am a researcher in a field of chemical sciences, and I want to try and merge it with statistics/computing, and eventually machine learning.

    I'm here first to know which language should I start learning. I spent couple of months years ago learning Python, but I mostly forgot everytthing. I guess it is still one of my best choices.

    What I would like to do is choose and learn a language that would be suitable for building what I want to do.

    My very initial project would be building a simple program that allows me to:

    1. Input data such as: "experiment A, B, C... can be -or not- carried out under conditions X, Y, Z...". This would build a "database".
    2. Then, I would "ask" the program if I could run "experiment B" using "subject 1", which has "condition X and Z" as properties. The program would tell me if it would be possible.

    This would be the basic idea of what I want to program.

    Eventually, some other features would be added:

    1. I would like to be able to make the program extract input from external databases, ideally in an automatic manner.

    2. Properties or conditions would be weighed, so instead of "yes" or "no" answer to "can I run this experiment" I would get a % of feasibility.

    3. Long term, would be able to emulate an advanced statistic model, such as the ones machine learning or neural networks are based on (I really don't know much about this, but I think the basic idea under those and seems like what I want to pursue).

    After this wall of text, my questions are:

    - Am I good going for python? Any other suggestion? (I know that I'm not marrying my first language, but I'd like to focus in one that would work for me in the long term).

    - Which path/tutorials/books/resources would you recommend for being able to write and run a program such as the one I describe? How much time till I get there, on average, would you say one needs starting from scratch?

    - Am I talking non-sense with my long term goals? I know everything about my science, but I don't have a clue about programming or statistics yet. But I intend to learn and direct my research career to a statistics-supported one.

    if you made it through my wall of text, thankee sai, and hope you can give me some advice!

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

    How to automating search through keywords

    Posted: 10 Aug 2019 09:48 PM PDT

    I started to learn to programming a few months and i'm still struggle to find a practical tutorial which allows me to find better results without need to go to Google for that.

    Supposed that i want to find better tweets on twitter with some keywords in that and have more options based on the keywords and the time was posted. Something like this. 

    Sorry any wrong grammar here or the lack of description English is not my native language and i'm struggle to find practical issues that i can do Javascript more needed on a daily basis than actually just replace html functions.

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

    What is the "doctors without borders" equivalent for programming?

    Posted: 10 Aug 2019 09:35 PM PDT

    I don't know of any big programming non-profit organizations. Most I have heard of our very small scale or not as impactful as doctorswithoutborders/engineerswithout borders.

    I'm still very new to programming so I don't know what I want to do when I graduate school but its been a life long dream for me to work at an ngo or non-profit organization.

    I guess doing software work for altruistic organizations is an obvious option since every organization will need tech help but is there one solely for programming?

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

    Clean application architecture, load testing, and code review for a production Node.js API. Advice needed.

    Posted: 10 Aug 2019 08:42 PM PDT

    Looking for programming ideas to use the data I have logged

    Posted: 10 Aug 2019 08:08 PM PDT

    Hello everyone, I'm an admin on a discord server with about 35k members and we log the messages for security reasons. I was wondering if anyone had any ideas what I can do with all the data we log for a project. We log the username, user ID, the message, and the messsge where the channel was sent.

    Any ideas would be appreciated, I was thinking something related to AI try to run the data and try to create a user based on the message data, Or maybe create AI to mimic people. I'm pretty new to AI and Machine learning in general so not sure how feasible they would be.

    Thank you for any ideas of input.

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

    Simple csv automation task on MacOS

    Posted: 10 Aug 2019 05:36 PM PDT

    So I'm sure this is really simple, but I'm not quite sure where to start...

    I need to read a CSV file and do two things with it.

    1. Create directories from text strings in column A

    2. Move all files containing the text string in column B to the corresponding directory.

    I'm sure this could be done with applescript or automator, and don't really have a preference. TIA for any advice

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

    Automatically checking coding style

    Posted: 10 Aug 2019 10:09 AM PDT

    I am attempting to automatically check compliance with a particular programming style. I have an idea for how I could do this, but I was hoping to find out if there is a better way. I looked at using some tools like checkpatch, but I don't know Perl and it is quite a large code base which is very daunting to try and modify to my needs. I also looked at a modified version of astyle which prints out changes that are being made, but does not do so in a manner that would be easily parsed for my purposes.

    The language I am checking C, and I am doing this project in Python.

    Initially I tried to tackle this problem using exclusively regular expressions, which was a big mistake, because locating function definitions is somewhat difficult. I ended up with a regular expression like the following (I am writing this from mobile so this may not be entirely correct:

    ^[A-Z|a-z|_][A-Z|a-z|0-9|_]*\s+([A-Z|a-z|_][A-Z|a-z|0-9|_]*)+\s* 

    I was using this to locate function definitions, however I realized that this would fail if the code I was inspecting didn't follow this format, and I might not detect everything I need.

    My current approach is:

    A) run "gcc -o a.out -c <source> -g" B) run "nm -l -P a.out"

    I then parse the result of nm to get a list of functions in the .text segment, and their associated line numbers for the given source file.

    From here, my plan is to scan each function and use regular expressions to check for compliance against the coding style being enforced.

    So to summarize:

    Question 1) is my current approach a bad idea? If so, what should I do instead?

    Question 2) if my current approach isn't a bad idea, is checking function style using regular expressions a bad idea?

    tl;dr: regex didnt work. hacked together a partial solution using gcc and nm. regex maybe work now?

    Edit:

    The goal of this (and why I'm not just reformatting the code) is because I need to generate a score for programming style that can be put into a rubric for a C programming class. My plan is to use the total number of lines in the source file, and the number of poorly formatted lines, to calculate a score. Historically this has been graded by a person, but I'd like to automate it if possible.

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

    Need help creating a script to sync windows clock to the internet time zones

    Posted: 10 Aug 2019 01:28 AM PDT

    I've had a bit of experience coding in JavaScript so I can probably pick up another language. I'm still not good at much else, like the technicality of importing, classes etc. I just finished syntaxing and that's about it, so I can just do coding. I'll be happy to spend some time to learning these to help do this as I've always wanted to learn to, and I want to use this as an opportunity to learn it.

    I need help with writing a script that will automatically sync my windows timer (bottom right) to an internet time periodically. How would I go about doing this? How do I attach the script to the windows clock? What pre-setup knowledge like compiling(that's mostly all I know, sadly) do I need before I can jump straight into coding the script?

    Thank you.

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

    Books about programming that aren't learning resources.

    Posted: 10 Aug 2019 10:23 AM PDT

    I have a trip coming up and would like some recommendations for a lightweight book about the history of a project, technology or the memoir of someone important in the industry. Essentially a book about programming that isn't a reference source. Thanks in advance.

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

    Not so much a programming question, more an industry one. Hope this is okay here. I just started my first full time software dev job out of university. It’s a well known, large corporate consulting firm. The project I’m on is cool, but they are already asking me to work weekends, 2 weeks on.

    Posted: 10 Aug 2019 10:04 AM PDT

    Basically what the title says, is this a red flag? I don't want to set a precedent that I am okay working my weekends often. I previously worked (1 year internship/placement) at a management consulting firm, not IT based, and was never asked to do so. Do I have any say in this as a new junior full stack dev? What are my option?

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

    How to transfer data between C++ client and c# service

    Posted: 10 Aug 2019 05:11 AM PDT

    The service manages the access data from and to DB.

    A client manipulates the data but has no access to DB, only the service has.

    I need a way to easily transfer "dirty" data to service, where EF would pick it up and persist into the database.

    How would you use/map the data in C++ client?

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

    Discord Bot Linked To Facebook calendar

    Posted: 10 Aug 2019 10:46 AM PDT

    Does anyone have any advice on making a discord bot that I can link to a facebook calendar to send a message/summary of an event 24hrs before it occurs? I have a discord server for my university club, and sending reminder messages would be very helpful. I know nothing about discord bots or facebooks API, just wanted to ask here first in case anyone had advice. Thanks! (Python, Java, HTML, Powershell experience)

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

    Looking for help in consulting project about procrastination

    Posted: 10 Aug 2019 09:20 AM PDT

    Hey all, hope you're having a great weather this weekend in front of some IDE 😄

    I'm working on some personal side-project - I want to help software developers fight procrastination, doing some consulting / coaching hybrid. But – without any self-help "project your future" BS. I'm reverse-engineering my own experience. I'm looking for people who would like to have a test consultation call with me – to help me check if what I've developed is solid.

    Obviously I want to make money from it, but for now I'm just putting myself out there and checking my value.

    Why?

    I'm a front-end developer. Three years ago, I was also a complete mess. I didn't have any idea for myself, chased instant gratifications, and procrastinated heavily. Sometimes, I went into an overdrive because of massive guilt and burned out quickly. I got into toxic relationships, didn't have a lot of friends. But I managed to overcome it all – I've landed a nice remote job, found passions (actually I teach dancing now), and made great friends. And I see a lot of people around me struggling with same motivation / time / energy issues I had. I'm pretty sure I know what I did, and that I can help people in this area.

    If that resonated with you, hit me up - I would love to exchange some valuable tips for constructive feedback.

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

    What isn't my CSS working?

    Posted: 10 Aug 2019 03:19 AM PDT

    So basically I'm trying to modify text that's been defined as a class called test with CSS.

    It'll work with the below code:

    .test {background-color: grey}

    But if I do the following

    .test {background-color: grey

    border: 2px solid black;}

    It'll break the whole thing and nothing is modified. Can someone tell me what's going on?

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

    MongoDB Query Help

    Posted: 10 Aug 2019 02:35 AM PDT

    So I have a mongo collection in my db with following basic schema that I've simplified for relevance.

    • portfolio - collection
      • _id - ObjectId
      • name - String
      • stocks - Array
        • _id - ObjectId
        • reference - ObjectId
        • details - Array

    Whenever a new stock transaction takes place, the details are added to the details array for each unique respective reference value. Due to a bug in the code, there are multiple portfolio documents which have duplicate sub-documents with the same reference. The bug has been fixed but much of the data is still invalid. I need a way at the very least find all portfolio documents that have this inconsistency. I've looked at using collection.count and collection.group without any success.

    TIA

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

    No comments:

    Post a Comment