• Breaking News

    Friday, August 30, 2019

    I have an idea but I need help Ask Programming

    I have an idea but I need help Ask Programming


    I have an idea but I need help

    Posted: 30 Aug 2019 06:03 PM PDT

    I have thought about this for a while but was cautioned not to share for fear of someone stealing the idea. It has come time for me to share it though as I really need this to be made.

    Back story, I have a son with high functioning autism. I have also worked with other children and adults with special needs and across the board this would be amazingly helpful. We will use my son as an example. Like most children he has no sense of time. This week it was brought to our attention that if he is excused from class to go to the bathroom he can take up to 20 minutes. At home he can take over an hour to eat even something simple due do distractions or getting bored.

    Kids, and adults, need something basic that they cannot change the time on and has visual as well as physical indicators. When I picture it in my head it looks like a basic Fitbit. The teacher, caregiver, or parent are able to control it through a simple app in their phone. For example, my son's teacher excuses him to go to the bathroom on his own. She sets a ten minute timer for his "watch". He goes down to the bathroom. After 5 minutes the "watch" gives a little buzz indicating the halfway mark. At ten minutes it starts longer vibration patterns. For the visual indicator I'm thinking a simple LED that slowly fades into a new color as the timer gets closer.

    I do not have the educational background or know how to make something like this at all. If someone here can help me or point me in the right direction I would really appreciate it.

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

    I (think that I) want to create a Mini-Language. Where do I start?

    Posted: 30 Aug 2019 03:54 PM PDT

    TL;DR - I have an idea for simple app, but the programming languages I've tried don't seem able to make it. Should I make my own language, and if so, where do I start?

    Okay, let me start by saying I'm a bit of a programming n00b, so I might be barking up the wrong tree.

    A long time ago I had an idea for an image-editing software that could do something that none of the other image editors I've seen could do.
    What I need this program to do is

    • open two images
    • convert their pixels into bit arrays
    • do an operation using these array to create a third array
    • turn the third array into an image
    • save it as a .png or something.
    • and preferably have some sort of GUI

    I found out the necessary GUI and the pixel to array conversion using software like Visual Studio and Processing.org, but neither could do the array operation at the required speed.

    I recently found out about the jsoftware.com programming language. It can do the Array operation in literally 3 lines of code, but it was still a bit slow, and I'm having trouble getting a hang of its GUI elements, and I can't seem to find a method of converting back pixels into numbers.

    I've spent a really long time trying to figure out how to create my simple app, and I only recently found about Domain Specific Languages, (the smaller versions of which are known as "Mini-Languages")
    Since none of the programming languages I've worked with are capable of doing the thing I need, would it be practical for me to create my own, and if so, how would I start?

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

    Need help with a project

    Posted: 30 Aug 2019 03:16 PM PDT

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

    So I'm still pretty new with programming. First off, I was wondering if I should use python for this or C++? Second, Should I have two queues one for producer and one for consumer or just think of the buffer as a list/queue? If the buffer is thought of as queue. Would the producer be seen as the "Enqueue" and the consumer seen as the "Dequeue"? Any help is appreciated and thanks!

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

    What innovative project ideas do you have AP ?

    Posted: 30 Aug 2019 10:21 PM PDT

    Currently in college doing BCA and my guide won't accept already available projects. What new ideas can you suggest......Thanks:)

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

    How can I make a bot like this?

    Posted: 30 Aug 2019 10:02 PM PDT

    A news service in India sends news to its users using whatsapp. All we have to do is open a link ( thequint.com/whatsapp ) and register ourselves and save their mobile number in our phone. Then we will start receiving news from their mobile number. Also, they read the reply messages sent by us. For example, if we message them "STOP", we will stop receiving the messages. If we message "CATEGORY" they send us another message to choose category. All of this is automated. I have to start a similar bot for my college (it will have around 1000 users). How do I begin? (I dont want to use any paid service, I want to build my own bot)

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

    Is it possible to scrape source code for web app/tool

    Posted: 30 Aug 2019 09:50 PM PDT

    I know it's relatively easy to copy HTML, css and Js off a webpage but say a webpage has some sort of a converter tool like json to yaml. Is it possible to scrape the source code from this tool which may not be apparent from Deb console.

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

    MySQL 8: Should we move from utf8mb4_unicode_ci to utf8mb4_0900_ai_ci?

    Posted: 30 Aug 2019 02:47 PM PDT

    Many frameworks are shipping with utf8mb4_unicode_ci but MySQL's new default collation is utf8mb4_0900_ai_ci (accent and case insensitive).

    Anyone here using utf8mb4_0900_ai_ci as the default in production? Did you had any problems?

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

    Anyone using a 4K/1440p monitor for Programming? Whats better in your opinion?

    Posted: 30 Aug 2019 07:34 AM PDT

    I'm looking to get a new monitor (preferably 32") but I'm stuck between getting a 4K monitor or 1440p. Does anyone have any experience with either? Will the text be too small on a 4K screen?

    submitted by /u/incognito-x
    [link] [comments]

    Platform for quickly developing a simple, reliable and intuitive desktop application?

    Posted: 30 Aug 2019 02:06 PM PDT

    In my high school I was tasked with developing an application for the MUN we host. It's something simple with chronometer, and country lists; all they want is for it to have an updated UI and to be more reliable. It's a desktop application meant to work on Windows and MacOS and up until now I only have experience on mobile with flutter, so I was wondering how to go about with this. I was thinking about using something like Visual Studio, but I don't know if there are better alternatives for the simple thing that I'm building. Any advice is appreciated and I'll gladly answer any questions.

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

    Disadvantages of Flutter

    Posted: 30 Aug 2019 08:03 PM PDT

    Are there any drawbacks using Flutter for IOS and Android development as oppose to writing an app in both Java and Objective-C?

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

    Help with serial to USB keyboard in Python?

    Posted: 30 Aug 2019 12:28 PM PDT

    I am developing a Python script to query SQL and send a code over a rs232 to usb keyboard emulator.

    I have the output I am looking for on my dev pc when I print the dataframe, but I am having trouble getting the data over

    the serial connection.

    The problem is that you need to send the data as keycodes with makes and breaks. When I send the variable it just

    spams random letters.(Because it nevers sends a break and isn't encoded correctly in the first place)

    This is the product I am using as the RS232-USB mouse/keyboard emulator and the page includes a manual.

    https://www.hagstromelectronics.com/usb-km232-protocol-converter-shp.html

    I am pretty inexperienced when it comes to python, so no bully!

    # Initialize 3rd party packages and open the connection to the database.

    import pandas as pd

    import pyodbc

    import serial

    # initialize SQL and serial connection

    connection = pyodbc.connect('DRIVER={SQL Server};SERVER=<REDACTED>;Trusted_Connection=yes')

    ser = serial.Serial(

    port='COM3',

    baudrate=9600,

    parity=serial.PARITY_ODD,

    stopbits=serial.STOPBITS_TWO,

    bytesize=serial.SEVENBITS

    )

    # Take user input from scanner.

    Label_Code = input("Scan your label now!: ")

    print("Your label code is: ", Label_Code)

    # Set our query using a variable so we can easily pull data later.

    query = """

    SELECT <REDACTED>

    FROM <REDACTED>

    WHERE <REDACTED>"""

    # Pass query and ODBC connection as arguments in a dataframe and print the resulting program code

    df = pd.read_sql(query, connection)

    df = (df.to_string(index=False, header=None))

    df = df.lstrip()

    print (df)

    def print_file():

    text_file = open("BinOut.txt", "a")

    text_file.write(df)

    text_file.close()

    print_file()

    # Finally, we can now send the program code to the serial port!

    ser.write(df.encode())

    Thank you for reading!!!

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

    I need a free API that gives the current exchange rate between GBP and USD. Do you know of any?

    Posted: 30 Aug 2019 01:30 PM PDT

    I've been Googling and tried out a few different ones but no luck. They all use EUR as a base currency, and changing the base is not supported with their free plan.

    This is for personal use so I won't be making many calls, just a few per day at most.

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

    What's with pixel size when plotting data?

    Posted: 30 Aug 2019 06:51 PM PDT

    Hi. I`m still baby-stepping on this field, and I believe this is a fairly simple question.

    So, I have a 2d dataset made of <X, Y and VALUES>, where X, Y are the coordinates (regular sampled) of the point while the "value" explains for itself. It consists of over 30 million samples. What I want is to generate a kind of heat map of this dataset, so I can see where are the higher values, the lower values, the gradient, etc.

    My question is: if I use some tool like matplotlib in python or some similar library in Julia to direct interpolate this data and generate a plot, it simply take ages to do. However, whenever I see some written code to plot such large dataset, most of them refers to "pixel size" in order to define the range of coordinate values to be processed as a function to the pixel size.

    Could someone explain in better words? Thanks!

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

    Hey, i need some help! openstreet map and how to represent

    Posted: 30 Aug 2019 07:29 AM PDT

    Hi.

    I'm using openstreetmap for a traffic helper project. First of all, I downloaded a piece of data (xlm format) from the website and used OSMFilter to remove all the data I don't need.

    Now I am struggling to find the best way to represent the road network. For this project, I need to apply a map matching algorithm and then I need to find all the decision points (intersections, roundabouts, etc), store them to be able to know and offer to the user (on a android app) the next decision point he has ahead and the roads that derive from it. I want to represent this information the best way possible to be able to read the fastest possible. It's a real-time app

    I think the correct answer to this is representing the data as a graph. Or should I use a relational database? Do you think that representing the graph like a routing matrix is the best option? For you what's the best option?

    Thank you in advance.

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

    How to not set up every local device for a specific language

    Posted: 30 Aug 2019 07:28 AM PDT

    I want to dabble with different programming languages. But setting up my local devices (I switch between laptop and desktop) is getting annoying. Is there a way to bypass this?

    I've seen there are cloud development environments, but those seem to also force you to use their "software". My ideal situation would be that I can just install something like IntelliJ and point it somewhere so I don't need to set up everything for Java and for Python, etc...

    Is this possible?

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

    QR Code Generator from Google Form Information

    Posted: 30 Aug 2019 07:26 AM PDT

    Hi, I'm not a programmer per se but I'm curious if it's possible to this task an older faculty friend asked of me. They asked me if I can do this since I'm the most tech savvy person the know.

    So basically I send a Google Form to different people inviting them for an event and they will be asked like name, age, title, etc. After that they are given a QR code. When scanned at the event, their invitation and name will be show and all of the info to verify that they are indeed invited and have their name and info ready.

    Is this possible with minimal programming? I'm not sure where to ask this or what tools to use.

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

    On Pandora if you like 99% of songs from an artist should you thumb down a song you don't like by them? Or will that screw up to the algorithm for that artist for you?

    Posted: 30 Aug 2019 12:35 PM PDT

    Where to look besides documentation

    Posted: 30 Aug 2019 05:52 AM PDT

    Documentations are a really good start point when you want to learn X technology, but to expand that knowledge I don't know where should I be looking. Github / Gitlab repos and rossetta code can come handy sometimes but I don't feel like they're good for learning something new so, what are your recommendations?

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

    XACK patch on NFO

    Posted: 30 Aug 2019 04:10 AM PDT

    Does anyone know how to patch XACK on a NFO?

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

    Why is C used more than C++?

    Posted: 30 Aug 2019 02:51 AM PDT

    When I looked up info about some programs and video games, most of them said they were developed in the C language. Many desktop programs, PC games, all PS2 games I'm aware of, were written in the C language. Very few of the programs I looked up were written in C++.

    What is the benefit of using the C language instead of C++, which has more capabilities and supports OOP?

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

    No comments:

    Post a Comment