cross pond high tech
159.9K views | +1 today
Follow
cross pond high tech
light views on high tech in both Europe and US
Your new post is loading...
Your new post is loading...
Scooped by Philippe J DEWOST
Scoop.it!

Need Help in Grep

Need Help in Grep | cross pond high tech | Scoop.it

Over the past years, I have found AppleScript very efficient when it comes to manipulate and process Contact or Agenda information on a Mac, either to detect and process duplicates, as well as for updating dozens of contacts when corporate mail domaine changes, building and maintaining mailing lists through specific tags in the "Notes" field, or processing boucing emails "en masse" to clean up address book after season's greetings.

 

ics-file-cleaner is An AppleScript designed to process and trim (organizers, attendees, requests) .ics files sent from Outlook before importing them in iCal.

This is the only way to avoid iCal resending or confirming invites via Outlook, or canceling an invent and notifying attendees while you just removed it from iCal.

 

The following AppleScript is triggered by a mail rule and process the .ics file content before opening it with iCal/Calendar app - which results in an import.

 

It has been posted on GitHub so it can be forked and improved beyond my basic and remnant AppleScript skills.

Philippe J DEWOST's insight:

Need help on #grep : I am almost done automating line / tag removal on .ics files for certain attributes (like meeting attendees email addresses) yet am stuck in making the grep command wrap properly on long .ics lines, resulting in truncated email adresses garbage remaining on some lines.

Thx in advance for any enhancements you can bring directly on GitHub or any grep advice you can DM me !

No comment yet.
Scooped by Philippe J DEWOST
Scoop.it!

Computer program fixes old code faster than expert engineers

Computer program fixes old code faster than expert engineers | cross pond high tech | Scoop.it
Last year, MIT computer scientists and Adobe engineers came together to try to solve a major problem that many companies face: bit-rot.
A good example is Adobe’s successful Photoshop photo editor, which just celebrated its 25th birthday. Over the years Photoshop had accumulated heaps of code that had been optimized for what is now old hardware.
“For high-performance code used for image-processing, you have to optimize the heck out of the software,” says Saman Amarasinghe, a professor at MIT and researcher at the Computer Science and Artificial Intelligence Laboratory (CSAIL). “The downside is that the code becomes much less effective and much more difficult to understand.”
This results in what Amarasinghe describes as “a billion-dollar problem”: companies like Adobe having to devote massive manpower to going back into the code every few years and, by hand, testing out a bunch of different strategies to try to patch it.
But what if there were a computer program that could automatically fix old code so that engineers can focus on more important tasks, such as actually dreaming up new software?
Enter Helium, a CSAIL system that revamps and fine-tunes code without ever needing the original source, in a matter of hours or even minutes.
Philippe J DEWOST's insight:

Code fixing code, software optimizing bloatware : MIT's CSAIL Helium system can make updates in one day that would take human engineers upwards of three months. When you know how software engineers hate to fix other's old code, and consider how complex it is to maintain such "old" software as Photoshop, this is worth a careful followup.

Emmanuel HAVET's curator insight, October 9, 2015 2:16 AM

Un rêve pour les entreprises ...