• Breaking News

    Friday, February 1, 2019

    How would you programmatically identify PDF files that are improperly redacted? Ask Programming

    How would you programmatically identify PDF files that are improperly redacted? Ask Programming


    How would you programmatically identify PDF files that are improperly redacted?

    Posted: 01 Feb 2019 04:57 PM PST

    This is just a question I was thinking about recently.

    • Suppose I had 100,000 PDF documents, each of which contains some type of redaction (blacked-out text).

    • Some fraction of those documents are improperly redacted (i.e., you can copy/paste the blacked-out area to reveal the hidden text).

    • How would you programmatically search those 100,000 documents to identify the ones with improper redaction?

    I started thinking about this because of recent news (https://www.vox.com/policy-and-politics/2019/1/8/18174094/manafort-filing-mueller), where Paul Manafort's attorneys created an improperly-redacted document.

    Then I thought, "I wonder if reporters have a way of automatically searching ALL redacted documents?"

    Initially, I thought it would be easy to program (there are standard ways to extract text from PDFs). But the more I thought about it, I couldn't figure out what text you would use for comparison after you extracted the text from a PDF.

    Maybe I'm missing something obvious, though.

    submitted by /u/1-800-AVOGADRO
    [link] [comments]

    As a programmer we have to spend huge periods of time on the computer. How do you stop yourself developing back and neck problems?

    Posted: 01 Feb 2019 02:32 AM PST

    I eat healthy, I'm not overweight, I run daily and lift weights regularly. But I have to spend 12+ hours a day on the laptop and my back/neck is getting really screwed up. I'm starting to be in a lot of pain in the neck and back, and using painkillers more than I'd like. I work from home so I do a lot of work lying down on a couch or bed with a laptop.

    What do you do to not become a cripple after 10-20 years of coding?

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

    C++ Help !!

    Posted: 01 Feb 2019 09:12 PM PST

    #include <iostream>

    using namespace std;

    int main ()

    {

    char temp[5][7] = {

    {' ', '/','\\','_','/','\\',' '},

    {'/', ' ','D',' ','D',' ','\\'},

    {'(', '=','=','O','=','=',')'},

    {'\\', ' ',' ','~',' ',' ','/'},

    {' ', '-','-','-','-','-',' '},

    };

    int i,j;

    for(i = 0; i < 5;i++)

    {

    for(j = 0; j < 7; j++)

    {

    cout << temp[i][j];

    }

    }

    return 0;

    }

    // What am i doing wrong?

    // HELP!!!

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

    One book that changed your life as a programmer

    Posted: 01 Feb 2019 05:50 AM PST

    Stuck with a problem and could use some help

    Posted: 01 Feb 2019 04:48 PM PST

    Hey everyone, this is my first time on this sub so I'm not sure if this is the place for this or not but I thought I would give it a try. I'm working on an assignment for school and I keep finding myself getting stuck with this question...

    "Write a 3rd program that opens your database file in read/write mode, seeks to the end of the file, reports the position in the file and calculates the number of records in it. (Hint: If the file is 10,000 bytes long and each record is 50 bytes then you have 200 records.) Go into a loop. Prompt for a record number, then retrieve and display that record. If the record number is less than zero quit the program. "

    I am required to program this in C , so if anyone has any suggestions or help that they could give me that would be awesome! I've tried asking my prof for help but they're not really giving me much to go on. Thanks, everyone!

    Edit: I should be more specific and ask if someone could give me a hand with this part of the question..."Prompt for a record number, then retrieve and display that record."

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

    Creating programs for Chrome OS

    Posted: 01 Feb 2019 04:11 PM PST

    I was introduced into the world of chromebooks about a month ago and have wanted to start messing around with making programs for ChromeOS. I'm just not sure what languages would be the best at running in ChromeOS.

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

    Below minimum requirements for a CS degree?

    Posted: 01 Feb 2019 03:51 PM PST

    Hi, I'm in high school right now. I just got my marks back for pre-cal 12A (an important pre requisite for CS) and I got a 60. not good because all universities in my province want a minimum of 65 to even be considered! what the fuck do I do? I really need help.. my overall average is mid 70s

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

    What to learn as a soon-to-be software developer?

    Posted: 01 Feb 2019 12:46 PM PST

    TL;DR: What to learn if you dont know business practices, from git to architecture,

    everything related to working professionally.

    So, this question obviously has a huge scope and will be somewhat hard to answer, so I am giving a bit (Edit: a lot) of personal context.

    I am currently in training to be a software developer,and I wont learn anything from school or employer (No joke, not a single thing) so I am practically teaching myself.

    I am a little worried meeting expectations of the job market once im done.

    Luckily I have a bunch of experience, so I am fine regarding syntax and general programming logic.

    I lack in every other field though.

    What I need to know is what I need to learn in the areas of

    • networking
    • architecture
    • technologies/languages
    • best practices
    • which libraries/nugets are so common in the business world that theyre worth learning.
    • general stuff/ thats used like git/

    So far I am most proficient in C#, business logic and API Layer and currently develop an API and consuming application.

    I focus on abiding by MVVM, TDD, SOLID using caliburn micro, xunit, autofac respectively. For mobile I use xamarin.

    Id also like a job in that direction.

    Id be very thankful for every advice, be it book recommendations, straight up naming patterns and technologies, everything goes! Save the programming world from another programmer messing up your codebase!

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

    Project ideas?

    Posted: 01 Feb 2019 12:22 PM PST

    I am a someone who is trying to learn to program backend and was wondering if anyone had a project and wanted assistance.

    ps. i will be learning as i go

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

    Interactive custom maps using javascript.

    Posted: 01 Feb 2019 10:19 AM PST

    I need to make a custom map with parking spots. It needs to allow for a user to drag and drop vehicles into each slot. They need to snap into the parking spot once they have been assigned to a slot. It also needs to be mobile friendly.

    Would it be better to use a SVG map or HTML5 canvas to create something like this?

    Any examples or advice would be very helpful!

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

    What's the state of the art in batch insertion into R-trees?

    Posted: 01 Feb 2019 01:15 PM PST

    I was trying to read 10.1007/978-3-540-45227-0 but I have no idea how to select k. Is that algorithm the best one known for batch-inserting into R-trees?

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

    Which should I use to develop a simple Python database program if I want to make an Android version for it to sync to, in the future?

    Posted: 01 Feb 2019 01:59 AM PST

    Hello everyone!

    As a personal project, I want to create a simple database program on Python.

    Basically it's a software in which I can create entries (one for each person, for example). Each entry has some fixed variables (like name, age, etc) and also the possibility of adding new custom variables, if desired. Moreover, I'd like to be able to set an alarm for each "person", reminding me of something that must be done with them in a regular basis.

    I have never worked with databases before, and I have zero experience with Android programming, so my question is:

    What are some good libraries/tips/good practices you guys could give me in order to make a software that could be easily maintainable in the long run, and that I would make it easy to create an Android version to sync with the same database in the future (since I'm planning on learning some Android development too)?

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

    How to create a botnet detector using machine learning?

    Posted: 01 Feb 2019 08:56 AM PST

    Hey as the title suggests i needed help with creating a botnet detector for my final year project in my bachelor's degree and any suggestions would be incredibly helpful

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

    Starting programming

    Posted: 31 Jan 2019 11:10 PM PST

    Hi people! I have a question and i hope someone can answer me! I'm starting a course of programming in march but i have to choose a language first and they gave me four options: .Net, Python, GeneXus o WebUI. Which one do you recommend me?

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

    Before asking StackO, I'll try here, JS not working when opening index.html, but works when using brackets live viewer.

    Posted: 01 Feb 2019 04:10 AM PST

    I won't include code here, just want to hear suggestions for common issues that could be causing this.

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

    No comments:

    Post a Comment