News for hackers. Stuff that matters.
Re:Patio11's Law: The software economy is bigger than you think by dillonmckay on Tuesday May 12, 2020 @11:33PM (#23163201)
We are always looking for ideas!

Can you give a few examples, please?

Re:Patio11's Law: The software economy is bigger than you think by MattGaiser on Wednesday May 13, 2020 @12:09AM (#23163384)
Sure

A tool where you are given a picture/scan of a table and it spits out a table that can be pasted into Excel. This was at a bank where numerous people spent half their days manually typing in scanned documents into the same table in Excel. You would double a $70,000 a year financial analyst's productivity with this.

A portal to manage employee and employer documents. I.e where both you and your employer can easily access your T$ (Canadian tax form), offer letter, certifications, police checks, etc.

Software to manage which options a client ordered and what their selection was of that option as well as autogenerate the appropriate SQL queries from a client config template. The current process consisted of a mega word document with people fiddling around manually with it.

Happy to provide more.

Re:Patio11's Law: The software economy is bigger than you think by gonzo41 on Wednesday May 13, 2020 @12:22AM (#23163444)
That first one can be done with teseract ocr pretty cheaply. I think a lot of people just don't know how much software can do. You just need to standardize the form and then there's a human data validation step in there.
Re:Patio11's Law: The software economy is bigger than you think by webmaven on Wednesday May 13, 2020 @09:03AM (#23166463)
Several years ago I came across a pile of interesting-to-me US government data that consisted of scanned PDFs of paper forms (some filled out by hand, some with a typewriter, more recently with a computer). The paper forms change in layout and level of detail a few times over several decades, there are hundreds of sub-schema variations within each time period (yes, that means that a particular variant might have a single record from 1983, a dozen scattered over time, or thousands across several decades), some variations are due to a simple category misspelling, others are more substantial.

Some of the scanned forms have marginal notes (probably okay to ignore these), but I've noticed some cases where the form had prefilled data crossed out with handwritten data replacing it.

Please let me know if a system exists that can deal with this idiosyncratic mess and coaxed to produce structured data of some sort without basically using MTurk behind the scenes. I would be interested in re-releasing the data into the public domain.

Re:Patio11's Law: The software economy is bigger than you think by redblacktree on Wednesday May 13, 2020 @01:06PM (#23169065)
Can you not use software for the 80% that are amenable to it and humans for the other 20%?
Re:Patio11's Law: The software economy is bigger than you think by MattGaiser on Wednesday May 13, 2020 @12:34AM (#23163513)
The challenge we faced (for the two days we tried to hack together a solution) wasn’t so much the OCR but the fact that we couldn’t standardize the form as we were onboarding people with the documents from other banks.

Our requirement was that the the software would need to read the number of separating lines in the table and output accordingly.

Maybe it can do this, idk. I was an intern at the time.

We were using tesseract for our attempt too.

Re:Patio11's Law: The software economy is bigger than you think by hnick on Wednesday May 13, 2020 @01:23AM (#23163737)
I worked somewhere that did something similar. Their product would scan and extract data from documents. Even working with the banks and companies who produced the documents, there were very stringent requirements (like identifying marks on pages to tell what document type we are looking at, pages being fed in the correct order, etc). Plus the ability to handle degraded, damaged, or bad copies. It's apparently one of those things that seems easy at a glance but the edge cases end up employing a whole department (they had people to review the scans and press OK or correct the data). It was a legacy system and I think a newer rewrite could get further but I'm wary about saying it could be fully automated.
Re:Patio11's Law: The software economy is bigger than you think by JoshuaDavid on Wednesday May 13, 2020 @02:52AM (#23164200)
90% automated is sometimes 90% as good as fully automated. It's not always the case, there are cases where hitting that 100% enables you to do things that were just not possible at all before, but sometimes it is. Recognizing those cases where a 90% solution is a 90% improvement at a 10% cost is a valuable skill.
Re:Patio11's Law: The software economy is bigger than you think by hnick on Wednesday May 13, 2020 @03:13AM (#23164308)
Yes it's also part of the reason I prefer coding for myself. I can ignore a lot of "what ifs" and edge cases because I'm always there to pick up the mess if something happens. I get to focus on the stuff that makes an impact and forget the idiot-proofing :)

Or said another way, it can be fun and also effective to "Do Things That Don't Scale" [http://paulgraham.com/ds.html].

Re:Patio11's Law: The software economy is bigger than you think by Eugr on Wednesday May 13, 2020 @01:12AM (#23163677)
There are commercial OCR software packages that can do it. FineReader is one example (and it's been around for ages).
Re:Patio11's Law: The software economy is bigger than you think by MattGaiser on Wednesday May 13, 2020 @01:24AM (#23163742)
FineReader seems like it would have done the job.
Re:Patio11's Law: The software economy is bigger than you think by glitcher on Wednesday May 13, 2020 @11:05AM (#23167563)
We used tesseract ocr, plus other image processing libraries to improve ocr's chances, and although we were close to usable results there were still many challenges. One major problem was that different data sources had completely different page layouts, and often times the original documents were out of reach and the client only had available the scans of fax transmissions!

The bottom line was that we were able to achieve very good results consistently, but the margin of error was not acceptable for our specific use case.

Re:Patio11's Law: The software economy is bigger than you think by ladberg on Tuesday May 12, 2020 @11:42PM (#23163245)
Not OP but I had a friend who has interned at a few record labels. He's not really a programmer, but knows enough about programming to know what kind of task should be automated. He described a portion of his job to me that he and a bunch of other entry-level workers spent a few hours a day doing (basically scraping and storing data off the internet to be sent to business people for analysis).

I worked with him to develop a Python script do basically automate half his job in a few hours that could have saved the company tens of thousands of dollars. The company didn't want to dedicate/hire an actual programmer to maintain it, so they kept paying employees to manually scrape the web.

The crazy part is the next summer he interned at a different company and literally the exact same thing happened. He re-made the original script, saved tons of work, and the new company still didn't end up using it after he left.

Re:Patio11's Law: The software economy is bigger than you think by goto11 on Wednesday May 13, 2020 @05:23AM (#23165058)
Are these companies irrational? Perhaps, but there might also be an important point.

A manual process is robust, fault tolerant, and easy to adjust to new circumstances or changing business requirements.

A Python script is fixed, and they day it breaks down due to some slight change in scraped data, you have to pull in a developer to fix it. For a company without dedicated staff to support such automation, it is a high risk.

Ad-hoc automation can turn workflows into Rube Goldberg machines. A Python script here, an Excel macro there - soon nobody knows whats going on and nobody dares change anything.

Developers often think only one step ahead: It was manual, now it is automated with a script. Win! A business have to consider that larger picture - future support, maintainability, risk etc.

Re:Patio11's Law: The software economy is bigger than you think by schnevets on Thursday May 14, 2020 @09:54AM (#23179505)
Exactly - intern labor is cheap, flexible, and there's a "wax-on wax-off" mentality where they may learn by proxy but are also in a safe environment where they won't hurt themselves or the company. A script and the associated automation could become the expectation or could lead to a key-man-dependency-risk.

It may be lucrative for the friend to take the script and turn it into a product. but then they'll need to market, sell, document, optimize, and do a million other tasks.

There has always been a dead zone between "automated script that makes me work a bit more efficiently" and "product that can make everyone with this job work a bit more efficiently". Fortunately, new technology is narrowing this gap.

Re:Patio11's Law: The software economy is bigger than you think by MattGaiser on Wednesday May 13, 2020 @01:46AM (#23163849)
Oh, many companies have only themselves to blame for being blown away by technology.
Re:Patio11's Law: The software economy is bigger than you think by dillonmckay on Tuesday May 12, 2020 @11:47PM (#23163285)
Does he get paid at the internships?
Re:Patio11's Law: The software economy is bigger than you think by ladberg on Wednesday May 13, 2020 @03:19AM (#23164349)
Yep, but not as well as tech internships. Still, the company was throwing money down the drain because they didn't know that even a semi-competent programmer could automate those jobs.
Re:Patio11's Law: The software economy is bigger than you think by vorpalhex on Tuesday May 12, 2020 @11:43PM (#23163258)
Bulk downloading and resizing photos in weird spreadsheets.

Managing attributes and taxonomies for ecommerce.

Capitalizable hour analysis for software projects.

That's just stuff from the last few weeks. None of these are hard to automate but the workflow integration is the tricky bit.

Re:Patio11's Law: The software economy is bigger than you think by jamestimmins on Wednesday May 13, 2020 @02:13PM (#23169867)
Do you know why they don't just use an existing API that does image resizing automatically? Presume it's the integration challenge, but I'm curious if you know /why/.

Also, what does "Capitalize hour analysis" mean?

Re:Patio11's Law: The software economy is bigger than you think by Gollapalli on Thursday May 14, 2020 @03:44PM (#23184398)
I doubt they know such an API even exists (or what an API is!). Most companies aren't run by hackers, assuming there's an API that does the thing they want to do isn't the natural response.