• Breaking News

    Saturday, June 13, 2020

    Microsoft has partnered with Udacity to offer 300 scholarships in Machine Learning Nanodegree program Computer Science

    Microsoft has partnered with Udacity to offer 300 scholarships in Machine Learning Nanodegree program Computer Science


    Microsoft has partnered with Udacity to offer 300 scholarships in Machine Learning Nanodegree program

    Posted: 12 Jun 2020 11:31 AM PDT

    Kurt Gödel’s Brilliant Madness

    Posted: 12 Jun 2020 10:50 AM PDT

    Class or Struct in C declaration

    Posted: 13 Jun 2020 01:15 AM PDT

    Is there anyway to make my struct can initialed and declared like :

    <struct name> <variable name> = <value> ie. >> string str = "fooo";

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

    Latest from Microsoft researchers: Recovering the 3D geometry of human head from a single portrait image

    Posted: 12 Jun 2020 07:23 PM PDT

    6 Effective Tips on How To Improve Basic Statistics Skills

    Posted: 12 Jun 2020 09:58 PM PDT

    Back-end Website

    Posted: 12 Jun 2020 07:15 PM PDT

    Any advice on hosting a website on my own computer?

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

    In your opinion, what are some of the most exciting non-academic fields of computer science? (x-post /r/computerscience)

    Posted: 12 Jun 2020 06:59 PM PDT

    When the tape head of a TM is scanning a blank symbol, what will happen?

    Posted: 12 Jun 2020 12:40 PM PDT

    I am reading Introduction to automata theory, languages, and computation 3ed, by John E. Hopcroft, et al. The wikipedia article (https://en.wikipedia.org/wiki/Turing_machine#Formal_definition) for Turing machine also cites the TM definition in the book.

    When the tape head of a TM is scanning a blank symbol, what will happen?

    • Is the transition function undefined on a blank tape symbol?

    • Does the TM halt?

    Thanks.

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

    What’s the best approach to highly flexible, niche parsing?

    Posted: 12 Jun 2020 09:11 AM PDT

    My main job is developing a parser for a specific type of PDF document. For the most part the documents have the same general content and structure (as they are legally required to follow a certain standard), but because the documents are often written by people, formatting tends to vary wildly and there are many idiosyncrasies I must accommodate.

    My current approach has been creating very complex and long regex patterns, sometimes entire arrays of regex patterns all attempting to parse the same piece of data. Often there is a method dedicated to parsing each individual piece of data, which tries multiple patterns, often in a specific order, and through a variety of logical gymnastics eventually finds the right piece of data for most documents.

    Whenever parsing fails for a certain piece of data for a certain document, that becomes a new bug fix ticket. Most of the time adapting to a new format for a piece of data is just a matter of appending a new regex pattern to an existing long pattern or an array of patterns. On a regular basis, do some QA with new documents, create tickets, add patterns. It's very efficient now, and maintenance is fairly simple, but the code is getting out of hand.

    This is all done in a very barebones ruby/Sinatra app. Currently the text is broken up into semantic chunks, and there is a class dedicated to parsing each chunk. Some classes are fairly simple and the regex patterns can fit within the class without creating too much of a mess. For others however, I've had to move hundreds of lines of regex patterns into their own class to be imported into the parser class, just to keep the code clean and avoid needing to scroll past 200 lines of regex constants just to find the first method.

    I know this problem is only going to get worse, and I imagine I'm not the first person to develop a complicated, niche parser, so I'm wondering if there is a better way to do this or any existing conventions regarding complex parsing. This solution I came to on my own, with little to no guidance, and now that this task is a huge part of my job I want to know if I'm going about it in a sane way.

    Any advice or recommendations would be greatly appreciated! Thanks!

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

    Quantum Cryptography || Shaastra - IIT Madras || Spotlight Stay@Home Lecture Series

    Posted: 12 Jun 2020 11:31 AM PDT

    https://preview.redd.it/5k3lqye5wi451.jpg?width=1280&format=pjpg&auto=webp&s=3d125a2108ad69c68647225b36e939b39b6ce8c4

    Shaastra Spotlight Stay@Home series brings to you an inspiring talk from one of the stalwarts in the field of Quantum Cryptography - Dr. Gilles Brassard! speaking on "The Art of Secret Communication in Quantum World"

    Dr. Gilles Brassard FRS, O.C., O.Q. is a professor of Computer Science and Canada Research Chair at the Université de Montréal. Together with Charles Bennett, he laid the foundations of Quantum Cryptography, Quantum Information Science & is also among the inventors of Quantum Teleportation, a universally recognized pillar of the entire discipline. His many awards include Fellow of the Royal Society, Wolf Prize in Physics, honorary doctorates from ETH Zürich, among others.

    Absolutely no prerequisites needed for the talk. Catch it live only at Shaastra IITM's Youtube channel:-

    Link: https://youtu.be/sMGjmbOaj3E

    Date: 13th June 2020

    Time: 6:30 PM IST

    #BeintheSpotlight

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

    Question about VAS in operating system

    Posted: 12 Jun 2020 07:56 AM PDT

    I have a doubt, does a virtual address generated by the os contains all the mapping of the process logical address or only a single process through a page table. Do cpu generates different virtual address with different process

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

    Insert Delete GetRandom() with O(1) time complexity

    Posted: 12 Jun 2020 08:13 AM PDT

    For everyone asking, what do I study for the coding interview?

    Posted: 12 Jun 2020 10:31 AM PDT

    ✅ String and Array
    ✅ Matrix
    ✅ Linked List
    ✅ Tree
    ✅ Graph
    ✅ Sorting
    ✅ Time Complexity
    ✅ Dynamic Programming
    ✅ Bit Manipulation
    ✅ Combinations and Permutations
    ✅ Math
    All this and more in Code and Get Hired - Complete 2020 Learn to Code Guide 💪

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

    No comments:

    Post a Comment