• Breaking News

    Thursday, May 30, 2019

    Cornell's entire Machine Learning class (CS 4780) is now entirely on You Tube. Taught by one of the funniest and best professors from UCornell Computer Science

    Cornell's entire Machine Learning class (CS 4780) is now entirely on You Tube. Taught by one of the funniest and best professors from UCornell Computer Science


    Cornell's entire Machine Learning class (CS 4780) is now entirely on You Tube. Taught by one of the funniest and best professors from UCornell

    Posted: 29 May 2019 09:55 AM PDT

    The problem of the equivalence of two LOOP Programs is undecidable

    Posted: 30 May 2019 03:10 AM PDT

    Hey everyone. Not sure if it's proper to post this question here but on the other hand, I don't know where.

    There is this problem that I just can't get my mind around it. It goes as follows:

    Show that the problem

    Input: two Loop Programs P1 and P2

    Output: Do P1 and P2 compute the same function â„• ↦ â„• ?

    is undecidable

    Tip: You can reduce the complement of the Halting problem on empty tape to the problem above

    I tried using the reduction but I can't find a relation between the two problems or something useful. Could someone help me out?

    Thanks for taking the time reading it!

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

    Crosspost from r/Math: every year, we lay flowers at Alan Turing's statue in Manchester for his Birthday, who wants to send some?

    Posted: 29 May 2019 11:00 PM PDT

    Alan Turing's Birthday is on the 23rd of June. We're going to make it special.

    Every year, people (mostly from reddit, it turns out) pledge bunches of flowers to be placed at Alan Turing's statue in Manchester for his birthday. In the process we raise money for the amazing charity Special Effect, which helps people with disabilities access computer games.

    Since 2013 we've raised about £5,600 doing this, and we'd like 2019 to be our biggest year ever. Anyone who wants to get involved is welcome. Donations are made up of £3.50 to cover the cost of the flowers and a £13 charity contribution to Special Effect for a total of £16.50.

    If you'd like a bunch of flowers placed in your name you can donate (or see how much we've raised so far) at our PayPal Pool

    From r/math (and some previous donors) we are up to £357, which is pretty good going...

    Manchester city council have confirmed they are fine with it, and we have people in Manchester who will help handle the set up and clean up.

    Sound like fun?

    Joe

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

    Control types and number of jobs/threads on a server using a web interface. Please evaluate my approaches.

    Posted: 29 May 2019 07:14 PM PDT

    Feature Description

    Every user (around 10-12 users in all) of the platform can run 7-8 kinds of jobs. So there can be max 100 jobs running. Most jobs connect to an external data feed and posts data to a database, some clear a database, some compress image in an Azure bucket. All the jobs are turned off by default.

    User 1 logs in and wants to start collecting total bandwidth stats for his region, so he goes to his web dashboard and clicks deploy. The web server then spawns a worker and keeps collecting stats until he tells it to stop. So once a worker (thread or process) starts it needs to be signalled to stop as well. His dashboard shows that the total bandwidth accumulator is now active.

    Some jobs live for a short span and die when they are done with their task. Compress images in an Azure database is an example of this. So the dashboard should show running and when it's done it'll show Complete.

    Please evaluate my approaches. Any improvements, suggestions are welcome.

    My Approaches

    I know that these aren't scalable and fault tolerant. I'll move towards that goal gradually :)

    Python

    2 Processes (1 Flask Server and another standalone dirty script listening on RabbitMQ)

    Flask can get user inputs and pass it to RabbitMQ. The RabbitMQ script can have an object that manages threads (Python doesn't allow killing threads but they can be stopped). Can use a key (user_id_job_name) to find and stop the relevant threads.

    Also the dictionary or my custom class can give details about active processes etc. Can always rely on a database as well to show completed tasks.

    I don't want to use Celery as I want each worker to do more than one task (most tasks are very light but live forever until stopped) and I don't want to waste resources. If I'm wrong about this do let me know. If I can use Celery and still save resource (I'm talking about instantiation etc) let me know :)

    Go

    1 Process (1 goroutine can run a REST server and another handler function can listen on a channel for instructions like stop job, start job etc)

    The REST server can pass messages via the dedicated channel to the go routine handler function. The handler function can then start go routines (and have a dedicated channel for each) for each job.

    If the user wants to stop a job, he send a request to the REST server, the REST server then sends a message to the handler function which sends a stop signal in the appropriate channel. (again identification can be done using keys (user_id_job_name)

    Open Source repositories doing something similar, the term used to describe such problems or something that I can google. These help as well

    Thanks for your time :)

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

    7 Essential Algorithms that Power the Modern World

    Posted: 29 May 2019 05:38 PM PDT

    Computer devices that sense and modify the environment are becoming more common. As that happens, attackers may embed malicious software in the physical world, waiting for unsuspecting people to scan it with a smartphone or a specialized device.

    Posted: 29 May 2019 05:34 PM PDT

    LUA Programming Poll: Do you use it? Do you like it?

    Posted: 29 May 2019 08:34 AM PDT

    I know it's a pretty niche language, but how many of you guys code/have coded in LUA, professionally or otherwise? Do/did you like it? Why or why not?

    I currently code in LUA professionally, programming control systems. I like it because it's not as necessarily verbose as C (those are the only two languages that I'm familiar with), so I get to focus the majority of my time on the program itself and not on syntax or other such bureaucracy.

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

    ML Community Raises Inclusivity Concerns After IEEE Bars Huawei Paper Reviewers

    Posted: 29 May 2019 02:40 PM PDT

    An Algorithmic Barrier to Neural Circuit Understanding.

    Posted: 29 May 2019 05:40 AM PDT

    Graduate School

    Posted: 29 May 2019 01:52 PM PDT

    So I recently graduated as an EE (Electrical Engineer) and was planning to go back to school to work on a programming based degree. However I wasn't sure if I should work on a Computer Science degree or a Computer Engineering degree

    What are the differences and which would you recommend?

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

    Tsinghua University and Huawei Noah’s ERNIE tackles Google BERT's Problem

    Posted: 29 May 2019 08:16 AM PDT

    Some random joke I made

    Posted: 29 May 2019 05:54 AM PDT

    If you ever find yourself in a forum/online situation where an answer that is related to tech/CS is supposed to be answered, but no one is answering it, try this if you want to complain in style:

    #include <iostream>

    using namespace std;

    string makeRequestPolite (string initialRequest) {

    if (int(initialRequest[0])<97) {

    initialRequest[0]=char(int(initialRequest[0])+32);

    }

    return ("Please, "+initialRequest);

    }

    int main () {

    cout << makeRequestPolite("Answer the question");

    }

    The output is:

    Please, answer the question

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

    No comments:

    Post a Comment