User:ThomasW/MyHard-DriveDied: Difference between revisions
No edit summary |
|||
Line 108: | Line 108: | ||
print | print | ||
<c/ode> | <c/ode> | ||
To get a text file with formatting like this: | |||
--------- | |||
# 2015-05-17 13:22:05 +0000 | |||
RT @TheTitanova: Pretty sure my portable hard drive with all my videos and footage just died, lol. | |||
-------- | |||
Then use [https://pzwiki.wdka.nl/mediadesign/Regular_expressions Regular expressions code] to look at the content do figure out the next move.. | |||
<code> import re | |||
text = open("tweets.txt").read() | |||
for match in re.findall(r"drive died \w+", text): | |||
print match<\code> | |||
then get files like this | |||
------- | |||
drive died and | |||
drive died today | |||
drive died in | |||
drive died and | |||
drive died after | |||
drive died today | |||
drive died and | |||
drive died today | |||
drive died and | |||
drive died and | |||
drive died after | |||
drive died pretty | |||
drive died and | |||
drive died few | |||
drive died so | |||
drive died and | |||
drive died today | |||
drive died but | |||
drive died so | |||
drive died last | |||
drive died on | |||
drive died so | |||
drive died last | |||
drive died last | |||
drive died again | |||
drive died on | |||
drive died today | |||
drive died in | |||
drive died so | |||
drive died i | |||
drive died for | |||
drive died 4 | |||
drive died and | |||
drive died and | |||
drive died and | |||
drive died a | |||
drive died together | |||
--------- |
Revision as of 00:27, 27 May 2015
With people storing their life more and more digital it have made the loss of that information more easy. Before people had to deal with fire and floods.. now its a dead hard-drive or online services closing down over night. +++text+++text++++text+++++++++++++ more to be written.......
A lot of people are venting their tech frustrations online and posting it on Twitter, why not use all of this information for my project? To make it easy to get this information, one can make and use a twitter-bot to search and re tweet tweets on the subject, that will help me to make a "archive" or ........
Twitter Bot How To Currently reading up how to make the bot
Inspiration Working On My Novel cortecce-barks
Tweets
Nash Tysmans @nashtysmans
So, it seems my hard drive has died taking everything to the grave with it. Contemplating the… instagram.com/p/yK4ISKrIh6/
Leigh Hibell @Madedigital
@MCPlace what was it? MacBook Pro? you can recover the hard drive. My logic board died and I was still able to recover my files.
Kevin Hsieh @khsieh
Engineering budget is a little tight lately and my hard drive on my MacBook Pro died (rip) so I was… instagram.com/p/0LVRwNGaiq/
Tareq Ateik @TareqAteik
@verge My Lenovo Yoga Pro 2 hard drive died in 4 months. Whats the point of being the thinnest if the machine isn't reliable?
Crissy @daintyfawn
Some of my earliest designs from the 90s + early 00s. My hard drive died so I can't find more of these GEMS pic.twitter.com/V5gXyqO8iN
gul deuxchats[SCOLD] @guattari2600 just realized that when my hard drive died i lost all of the osu packs i had downloaded.... life is a nightmare
Alex Navarro @alex_navarro
I installed a new hard drive in my PS4 and no one died so I guess I'm what you could call handy with electronics.
Jeff Halash @TechNutPC
My Hard Drive Died #25 – Is the NSA Spying on You? podnutz.com/mhdd025
InfoSec Jesus @InfoSecJesus
My hard drive died for your SYNs
@ @uandthesix
Omg my computer hard drive DIED and I thought I lost all the videos from atl but i saved them
Andrey @RUSKII_
I probably should upgrade my 6 year old hard drive bc it died on me last fall and I had to revive it by leaving it in the freezer for 2 hrs
Gabriel Mazetto @brodock
Right in time... decided to install the new hard drive and move my linux stuff there... exactly a few hours after the old hd just died.
David Friedrich @N_Studios
@GabeAul @crypticfate I remember last October when my laptop's hard drive died. SMART gave me an alert a month early. I lost very little. ^^
andrea ♥ @DiGrazia
My laptop died a couple days back and I've been praying non-stop for my hard drive, I'm so scared.
Doug @DougMicks
Well my external Hard Drive is dead the sad part is it died a day after i added a bunch of files to it
SHERR 01 @SytheticWolf
Had this on my old hard drive, it died before i can post it. Lol pic.twitter.com/mD65RPlRaO
Blogs
Do a similar thing as the twitter, search and collect online blog posts on the topic of data-loss.
Forum Posts
I went one some internett forums and ask some questions related to data loss vintage-computer.com Vintage-Computer got really technical and of course focus on "vintage computers"
Toms Hardware Not a active forum, hardly any replay.
Because of the low replay and lack of time to focus, I have dropped the online-forum angel to the project.
Python Code / FILTER
Using Python code to filter the CSV file that I get from Twtiter when downloading the archive. (help from Michael understanding it)
from csv import DictReader
"""
Run me with:
python tweets.py > tweets.txt
pandoc --from markdown --to html tweets.txt --standalone --css tweets.css > tweets.html
"""
f = open("tweets.csv")
r = DictReader(f)
for row in r:
# print row
print "#", row['retweeted_status_timestamp']
print
print row['text']
print
print
<c/ode>
To get a text file with formatting like this:
- 2015-05-17 13:22:05 +0000
RT @TheTitanova: Pretty sure my portable hard drive with all my videos and footage just died, lol.
Then use Regular expressions code to look at the content do figure out the next move..
import re
text = open("tweets.txt").read()
for match in re.findall(r"drive died \w+", text):
print match<\code>
then get files like this
drive died and
drive died today
drive died in
drive died and
drive died after
drive died today
drive died and
drive died today
drive died and
drive died and
drive died after
drive died pretty
drive died and
drive died few
drive died so
drive died and
drive died today
drive died but
drive died so
drive died last
drive died on
drive died so
drive died last
drive died last
drive died again
drive died on
drive died today
drive died in
drive died so
drive died i
drive died for
drive died 4
drive died and
drive died and
drive died and
drive died a
drive died together