• Breaking News

    Saturday, January 13, 2018

    Applications that can add social value? Ask Programming

    Applications that can add social value? Ask Programming


    Applications that can add social value?

    Posted: 13 Jan 2018 05:44 PM PST

    Hello, I was wondering if there was some sort of list or forum where I could look at possible(and unmade applications) that could be beneficial and add some social value to society?

    I'm currently a high school graduate taking a gap year in my studies. I initially had taken some computer science courses. To really do something worthwhile with my time, I want to work with someone/ or independently to create something that adds social value(benefits people in places where they dont have access to education or some sort of application that can just save time)

    I'm new to programming. Having only gotten competent with c++, R and Scheme, I believe it's important to get your input, as I dont really know the full potential/capabilities of what exactly I can do at my level!

    Thanks alot!

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

    What is Web Scraping?

    Posted: 13 Jan 2018 08:08 PM PST

    I was told to do web scraping but I don't understand what it is. Already tried looking for answers on the web but I still don't get how it works, how does it get the data, and how does the user manipulate those data.

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

    Where/How to make polished-looking visuals?

    Posted: 13 Jan 2018 08:05 PM PST

    I've been programming for a year now and I just recently made a program in Processing, a java framework, that generates a maze and then solves it. I've had fun working on it, but now I want to polish it. Currently I'm using Processing's fill() function which takes an rgb value, so the overall aesthetics looks kinda...shitty. I would like to add my own artwork and use that instead but I have no idea which language I can do that in or where to begin. Can anybody point me in a general direction?

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

    Books/Websites for practical programming challenges?

    Posted: 13 Jan 2018 09:27 AM PST

    Most websites have logical programming challenges (Like math questions) but im looking for practical challanges (especially GUI but also SQL and HTML) that prepare me for the tasks at my student trainee position.

    Any sources?

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

    What a i should learn know?

    Posted: 13 Jan 2018 05:02 PM PST

    I just finished my first semester in the University, in programming i learned C, and in the next, i have to learn Java. I like so much do programming for fun, but i don't know what i should do know, if i should do a C reinforcement, or go ahead with Java. I feel myself very limited with C, but i feel i am underestimating it.

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

    Small CSS libary for a Raspberry Dashboard

    Posted: 13 Jan 2018 06:37 AM PST

    So, i've finally set up my raspberry pi with an appache webserver and wired together some tools and scripts to be accesible via HTTP requests and it works but looks awful...

    So im looking for a small css libary to create a decent looking and responsive(i wana access everything from my phone via WiFi like a remote controll) website/dashboard.

    Things like angular material look nice but are designed for projects with node/npm and require some javascript etc. but i just want to include some *.css file and add some classes to my existing html without building my own deployment infrastructure -.-

    Any recomendations are welcome and thanks in advance!

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

    How do i compile and run libquiet?

    Posted: 13 Jan 2018 02:28 PM PST

    Hi, i'm attempting to compile the python bindings for libquiet, for a few hours now but no luck! Here's my best attempt so far:

    1. git clone --recursive https://github.com/quiet/quiet.py
    2. run scripts/libs.sh
    3. edit setup.py package to become 'libquiet' instead of 'quiet'
    4. pip install . at the directory

    and here's the output:

    Installing collected packages: quiet Running setup.py install for quiet ... error Complete output from command /home/moon/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-5m9p7lid-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-3ey45n77-record/install-record.txt --single-version-externally-managed --compile: running install running build running build_py package init file 'libquiet/__init__.py' not found (or not a regular file) running build_ext building 'cquiet' extension creating build creating build/temp.linux-x86_64-3.6 gcc -pthread -B /home/moon/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/moon/anaconda3/include/python3.6m -c quietmodule.c -o build/temp.linux-x86_64-3.6/quietmodule.o -std=c99 -Iinclude gcc: error: quietmodule.c: No such file or directory error: command 'gcc' failed with exit status 1 

    If anyone can help that'll be greatly appreciated :( been clawing at this library for the whole day now.. If compiling the python binding is not possible, if it can be run as a standalone program is good enough! And according to the README.md it does seem possible?

    Quiet can build standalone binaries for encoding/decoding data via .wav files or for streaming through your soundcard via PortAudio. It can also be built as a library to be consumed by other C programs.

    But compiling it just gives me .so and .a files which are library files i think?

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

    If I have piece of decrypted data along with a hash for verification, is there any way to send a SUBSET of the data to someone else in a verifiable way?

    Posted: 13 Jan 2018 06:36 AM PST

    I appreciate this question might seem very naive, but humor me! Lets say I have have a JSON object called "identity", it has the following structure:

    firstName,

    lastName,

    DOB

    This is information was sent to me in an encrypted format, along with a hash of the object on public ledger, for verification. Now lets say I want to send SOME of this information to someone else, e.g. just the DOB. Is there any way I can send a subset of this data to a 3rd party in a way that is still verifiable -- in order to prove I have not tampered with it?

    I understand the hash will be different, so what I'm really asking is: is there any type of hash schema that allows for a kind of modular structure? Or would I simply to have a hash for each individual field, or use a 3rd party to verify what I was sending was real?

    Thanks!

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

    Any Google Maps/Maps experts out there that can give me some advice?

    Posted: 13 Jan 2018 08:09 AM PST

    I'm creating a web app project for college that will essentially provide a rating for different neighbourhoods in my hometown (Dublin, Ireland) based on a number of criteria, two of which being house prices and crime statistics. It's built on a spring framework with java, and the google maps functionality is provided by Javascript. At the moment I have a number of things set up and I've now hit a wall as to where I go next. I have:

    • A main index page that contains a search bar and a map. The map will return a latitude and longitude value for the address entered into the search bar.
    • Latitude and Longitude for each police station (41 in total) as well as an HTML file containing a simple table of each crime and its respective number of occurrences for each station (downloaded from the national statistics office website)
    • I also have an excel file with about 30,000 records off houses sold in Dublin and the latitude and longitude of the address of the house. (An average price will be calculated per neighbourhood).

    If you're still with me, my question is what might be the best approach to return the correct crime statistics and house prices for the location searched in the search bar.

    Would it be a matter of setting up a radius around the latitude and longitude of the location searched by the user and gather all the house prices from the rows with the latitude and longitude values within the radius?

    Would I use the same method as above to calculate the searched locations nearest police station so I could return the crime statistics?

    Is there a way I could add a number of location pointers around a map to make the process easier? Something like this!?

    If that made any sense and you had some sort of advice you think I might find useful it'd be very much appreciated!

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

    Is there a term for an "automation break-even point"

    Posted: 13 Jan 2018 01:13 AM PST

    Given a specific task that can either be completed manually in x minutes, or automated (i.e. write a script to do it) and run in y minutes, the break-even point is where x == y

    I'm guessing there's a specific term to refer to this point - can anybody help me out here?

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

    How to compare old value with new value from MySQL with PHP?

    Posted: 13 Jan 2018 05:56 AM PST

    I'm trying to compare an old value with a new one and I'm having trouble debugging my PHP file.

    Is this a viable way of creating such a function?

    $item_id = mysqli_real_escape_string($link, $_POST['item_id']);

    $user_id = mysqli_real_escape_string($link, $_POST['user_id']);

    $voteValue = (int)$_POST['voteValue'];

    $previousVote = mysqli_query("SELECT votes FROM user_votes WHERE user_id=$user_id AND item_id=$item_id");

    $sql = "INSERT INTO user_votes (user_id, item_id, votes) VALUES ('$user_id', '$item_id', '$voteValue') ON DUPLICATE KEY UPDATE votes = '$voteValue'";

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

    Instagram Intermediaries

    Posted: 13 Jan 2018 04:08 AM PST

    Help me understand, what do companies like socialenvy or Instamacro use to program with in order to create an automated Instagram handler for their customers accounts simultaneously?

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

    My binary search tree is behaving weirdly.(get_successor) funtion

    Posted: 13 Jan 2018 06:28 AM PST

    code I have this problem which points to segfault in my insert funtion when I am compiling my code with get_successor funtion in main but no segfault when I simply call insert funtion. Is it even possible. I am not using insert funtion in get_successor funtion. When I tried to print the local variables at line 34 using gdb I got no local variables. If there is no local variable what is the segfault all about. I have just encountered only one type of segfault when I try to access a location which is not allocated like data field of nullptr. gdb window

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

    I want to host a WordPress site. Should I use a Shared hosting or 128 mb ram vps?

    Posted: 13 Jan 2018 01:13 AM PST

    Is CodeMentor.io good for mentors.

    Posted: 12 Jan 2018 10:48 PM PST

    Is anyone on here a mentor on codementor.io? Ca you share your experience so far please? Is it easy to start? Do you get a substantial income from it etc...?

    Thanks,

    Keith https://keith-mifsud.me

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

    No comments:

    Post a Comment