• Breaking News

    Sunday, April 4, 2021

    What is the difference between “engine”, “driver”, and “system”? Ask Programming

    What is the difference between “engine”, “driver”, and “system”? Ask Programming


    What is the difference between “engine”, “driver”, and “system”?

    Posted: 04 Apr 2021 09:02 PM PDT

    I see these terms often in the software engineering community but I do not understand what the distinction is between them. For example, can a search engine also be referred to as a "search system"? It seems completely logical to me to use the term search system (although awkward, since I am not used to it) but nobody does it. Why is that? Does the definition of the term "system" prevent it from being used in this specific case?

    What is the fundamental difference between a driver, an engine, and a system?

    Furthermore, the term "system" seems vague to me. It was used a lot in my introduction to software engineering course in university, but it is used in many different contexts.

    Can someone please clarify what these terms mean exactly, and how do I appropriately use them when referring to software?

    Thank you

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

    if you have a startup or a job in web development could you tell your story

    Posted: 04 Apr 2021 11:05 AM PDT

    some of the questions that I think it should be answered

    1- where and how you learned web development

    2- what is your first project and how you made it

    3- what are the mistakes that you think you should have avoided

    4- what are the advices that you think if you knew you will finish what you have learned a lot faster and a lot better

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

    Is there a way to extract the RGB data from an image and convert it to find an absorption spectra?

    Posted: 04 Apr 2021 07:40 PM PDT

    New to coding, so I'm not sure if I am asking this correctly. I basically want to take a photo of a anything and analyze it for specific wavelengths of light in the photo. Is there any way to do this?

    For example, let's say I was interested in a wavelength of light at 700 nm. Could I somehow take a photo and find out regions which are a match for that specific wavelength?

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

    Leave teaching to program?

    Posted: 04 Apr 2021 05:20 PM PDT

    I'm 28 and have been a secondary school teacher in the UK since I left university. My degree is in computer science with games technology. Although I enjoy teaching, it's just not paying enough for me to be able to achieve my goals (owning a home etc.) and I know there is a lot more money in programming. I'm very confident using Python but haven't used any other serious languages since university. I'm based near London so I imagine I'm in a prime position for the best jobs. What is your advice on; whether I should leave a secure teaching job at this time, is it likely I could enter into a £45k+ job quickly, what jobs/areas to look into and should I learn any languages first. Thank-you for any advice!

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

    Can someone can coach me to make an app?

    Posted: 04 Apr 2021 09:24 PM PDT

    I can teach you:

    • Classical guitar
    • Piano
    • Waterpaiting
    • Math
    • Spanish
    • English
    • Japanese
    • How to make mexican food
    • Rocket league

    A little bit of my background:

    I like to paint, and kinda little of OCD at least with the pencils I use. So I want to keep track of the times I use each color of every brand I use and how much it cost per use and how many times I sharp them.

    I did a degree in math and was going to go to do a graduate degree in CS. in Asia but covid happend so now Im at home doing pretty boring things. So I decided to make an app to help me in this adventure to get cool pencils to draw.

    I got an internship at a tech company and there I make a web page with a database noSQL, so kinda understand programming. Also in my undegrad I was in a physics lab helping with matlab and python scripting.

    I tried to make an app by myself but failed and got frustated. I kinda make one that used Kivy (Android) that worked in my PC, but was super slow in android.

    Requirements:

    For each pencil I want to collect:

    • Image
    • Cost
    • Times used
    • Times sharped
    • Description
    • Status
    • Type
    • Name
    • Date buy
    • Last modification

    And I want to easialy access modify the times i use and sharpen each pencil.

    Here is my repo https://gitlab.com/leonKj/pencil_organizer-v0.1

    Can you guys help me? I dont really know how to start? Or even what lenguage to use? Kotlin seems nice, but you omit so many things that probably Java is easier. (

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

    Full stack developer bootcamp - is it worth it? Would I get hired?

    Posted: 04 Apr 2021 04:45 AM PDT

    So there are courses in m area ranging from 4-8 months long teaching Java, CSS, PHP HTML and the rest... Would I be able to get some sort of programming/developer job after a bootcamp? Or are companies pretty much looking for computer science degrees?

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

    can you tell me what i did wrong with this python function

    Posted: 04 Apr 2021 07:35 PM PDT

    import fxcmpy import numpy as np import pandas as pd import datetime as dt from pyti.average_true_range import average_true_range as atr pd.set_option('display.max_columns', None) pd.set_option('display.max_rows', None) #connection con = fxcmpy.fxcmpy(config_file = 'fxcm.cfg') #data del simbolo data = con.get_candles(instrument = 'NAS100', period = 'D1', start = dt.datetime(2016,3,15), end = dt.datetime(2021, 3, 25)) period =100 multiplier= 1.1 #indicators trailing stop atr def atr_trail (data,period,multiplier) : close = data['askclose'] ateere = atr(close , period) stoploss = multiplier * ateere trail= [0] for i in range (len(data)) : try : if close[-1] > trail[-2] and close[-2] > trail[-2] : trail.append (max(trail[-2], close [-1] - stoploss)) elif close[-1] < trail[-2] and close[-2] < trail[-2] : trail.append (min(trail[-2], close [-1] + stoploss)) elif close[-1] > trail[-2] : trail.append (close [-1] - stoploss) elif close[-1] < trail[-2] : trail.append (close [-1] + stoploss) except IndexError: pass trailing = pd.Series(trail , name= 'trail_red') data = data.join(trailing) return data data_atr =atr_trail(data,period,multiplier) atr_red =data_atr['trail_red'] data.head() 
    submitted by /u/Hot-Lecture-4383
    [link] [comments]

    How to teach Gr. 7/8 Frontend

    Posted: 04 Apr 2021 03:45 PM PDT

    Hey r/AskProgramming, I'm a programmer trying to create a curriculum to teach Gr 7/8 kids in my community. When I was growing up, learning frontend was a huge heart-ache - javascript, HTML, CSS and php were very unintuitive, boring and painful to learn. Does anybody know of any other tools which are further up the pipeline and are good for teaching kids programming? Thanks all

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

    Reprogramming a TV

    Posted: 04 Apr 2021 05:20 PM PDT

    To start off, I know nothing about programming. Which is why I'm here. I was wondering if its possible to reprogram a TV to only support a single function and have a remote that only does a couple things. I'd like to set up a TV in my living room that acts as a picture frame to play video that I took but I dont want to have to set it up everytime I turn it on. Is it possible to program a TV so that when I turn it on it automatically plays the video on my USB drive and maybe control the brightness? I don't want to beable to fastforward, pause, skip etc... just play the video from where it left off when I turn it on and control the brightness for different times of day. Thankyou

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

    Is there more demand for being a software developer for iOS or Android?

    Posted: 04 Apr 2021 04:16 PM PDT

    Hello, I'm interested in getting a career in mobile development. However, I wonder whether iOS or Android has a greater demand for developers.

    On one hand, the vast majority of phones out in the world are Android based. So I assume that's where most of the total jobs are. But on the other, iOS users still out purchase Android users on apps, and I imagine that less developers are proficient with Swift than say Java, so there may be more demand.

    Is there a difference between the job market between the two or are the opportunities of being an iOS or Android developer more or less the same?

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

    How do you efficiently develop in a Windows environment?

    Posted: 04 Apr 2021 03:17 PM PDT

    I'm relatively new in the industry, and I feel like I never really learned ow to develop in a Windows environment. In school my machine ran on Ubuntu, and all of my work was done in a Linux environment. But in my company, everyone needs to use Windows machines.

    In Ubuntu there was a single shell that worked for everything, but in Windows it seems like each application needs to run in it's own unique shell. For instance, in Windows I need to run Git through its own shell, Anaconda through its own shell, etc. So far I haven't found a way to unify these, and it get's messy needing to use different shells for different things.

    I've tried to install the WSL2 for Ubuntu and do everything through that, but I feel as though it might be overcomplicating things, and I've never gotten VS Code to talk to it well.

    Any advice is appreciated!

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

    How should I separate the different layers?

    Posted: 04 Apr 2021 02:21 PM PDT

    I have a game assignment in C# WPF. My professor is crazy about layering principles, he takes them very strictly. So I'm wondering how I should separate the different layers in my game.

    It has the following layers in hierarchical order:

    1. Data (for the database)
    2. Repository (for storing the data temporarily and aggregating it if needed, it also includes the Game class which stores basic info about the game such as who is the current player and the cards the players placed down previously, I need it, because I want to have the ability to save and load games)
    3. Logic (This one includes a GameHandler class which adds the logic to the game and has an instance of the Game class inside it. The problem is that I want the layer below to have the ability to send actions such as "Player 1 draws a card" or "Player 2 puts down his Black Joker". In order to achieve that, I would need to reference the Player class (which is also inside the repository) from the UI layer)
    4. UI/ViewModel class (nothing is added yet, as my teammate will work on that part)

    My big problem is that I'm not sure how I could send those "actions" to the Logic layer without having to reference the Player class from the repository layer inside the UI layer.

    Another alternative would be to use a PlayerViewModel inside the ViewModel and convert that PlayerViewModel to Player instance. This could be great but even in this case it would need a reference to the repository layer which is 2 layers above? Is this problematic?

    In my own project, I honestly wouldn't care but I'm afraid my professor makes a big deal about these sort of things.

    Thanks a lot in advance.

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

    Question for beginners learning frontend

    Posted: 04 Apr 2021 01:49 PM PDT

    What's up :)

    What are the two biggest issues you're dealing with regarding learning a frontend? These might also be non-technical.

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

    Good books to learn some programming concepts

    Posted: 04 Apr 2021 12:57 AM PDT

    Recently I stumbled upon Christopher Okhravi's youtube channel and I love the concepts he explains, I'll list some of what I meant below:

    • Coupling and cohesion • polymorphism • purity and immutability • passing by reference and by value • encapsulation • composition • agile programming principles (and how to achieve them) (The is more, but I think this should be enough to give you an idea)

    I wish I could dive deeper into those ideas but I don't even know what I'm looking for, can you guys help me find the direction to learn more about OOD paradigm and other paradigms, utilizing those and new concepts? I'm after the theory that studies the structure of software utilizing these abstract ideas. Sorry if it's too vague, I really don't know how to express what I want.

    Any help is appreciated!

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

    Distributed Vs. Local MapReduce

    Posted: 04 Apr 2021 01:07 PM PDT

    Can someone guide me to an some posted time analysis to compare a divide and conquer algorithm that work faster on a cluster (hadoop) compared to a classical implementation of that algorithm on o local machine. The simpler the better.

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

    Any tutorial for building API with Koa + GraphQL + ORM?

    Posted: 04 Apr 2021 11:22 AM PDT

    Does anyone know of any good tutorial guide for building an API using GraphQL with Apollo server (with Koa) and TypeORM?

    Doesn't matter if it's video or text (preferably video tho) or behind a paywall (I'm happy to pay for a Udemy course or whatever). I just wasn't able to find anything

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

    Coding Project Help

    Posted: 04 Apr 2021 10:50 AM PDT

    Hey I intend to make a community project which includes uploading and downloading content. The devices used are quite very low end and i would like to do it in a efficient language. Thus, I want to know where to start and which language(framework etc etc) to use? P.S I am front end developer(kinda, i hope so) i know js, html,css

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

    I have some questions about the idea of a project.

    Posted: 04 Apr 2021 10:46 AM PDT

    I have a project that's going to cost me half my grades, so I hope someone can help me.

    My idea is a device placed in tourist places connected to a database such as Wikipedia that shows information about the place and anything and so on, it also saves visitor numbers and sends them to inform them about any discounts or events ,And the device will be able to translate and read the texts, what I would like to know is which network will be used? Can the device work? Also, is there a way the device can collect data on visitors to the region such as their nationality or languages?

    I'm still bad at the program, so I hope you'll help me. thank you in advance

    submitted by /u/eden-need-hollywatah
    [link] [comments]

    C++ Line Deletion in a Text File

    Posted: 04 Apr 2021 06:39 AM PDT

    In this function, I was able to pass the value from a file to a linked list, but I'm having trouble deleting/removing the line of value that I passed inside the text file. The line replace function isn't working somehow. I'm lost on how to solve this problem.

    void data::returndata(int code) { string title; string genre; string production; string temp; fstream myfile; myfile.open("data.txt"); string line; string token = to_string(code); while (getline(myfile, line)) { int cnt = 0; if (line.find(token) != string::npos) { cout << line << endl; for (int x = 0; x < line.length(); x++) { if (line[x] == '|' || line[x] == ']') { if (cnt == 0) { code = atoi(temp.c_str()); temp = ""; } else if (cnt == 1) { title = temp; temp = ""; } else if (cnt == 2) { genre = temp; temp = ""; } else if (cnt == 3) { production = atoi(temp.c_str()); temp = ""; } cnt++; } else if (line[x] == '[') { temp = ""; continue; } else { temp = temp + line[x]; } } line.replace(line.find(token), token.length(), " "); insertNode(code, title, genre, production); } } } 
    submitted by /u/MomoKarma
    [link] [comments]

    Should I take the google data analytics course on coursera.

    Posted: 04 Apr 2021 06:32 AM PDT

    I am a first year engineering student from India. I heard about it from my brother that google and coursera had come together and created a course on data analytics. It is a 6 month course and offers to teach various programming languages. The coursera fees per month is about ₹1023 in India. At the end of the course they even give a certificate which allows you to get a job at a major company with a salary of about $69k(as claimed by google). The part I am confused is that they said it was only for people living in US and Europe but it shows that I can take the course too. So if I take it will it be beneficial or is it limited for those in US as Europe?

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

    Python Question

    Posted: 04 Apr 2021 04:30 AM PDT

    So I just starting learning Python (and really programing in general....) and was wondering:

    Is there any way to multiply user inserted words? Like

    item= input("Insert Fruit")

    quantity = input("Insert Quantity")

    fee= 5

    totalvar= item * quantity + fee

    I was trying to figure out a way to define each item as it's price, like apple = 2 and then somehow have the user input line pick up the value depending on what is inserted. If I'm way off base sorry.

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

    No comments:

    Post a Comment