Slices & Articles Get by the slice or add to your own ebook
|Haynes, Marilee||Pauline Books and Media||ePub|
I slap my algebra book closed and flex my left hand a few times to get the blood flowing again. Back to school for a week and the teachers are already trying to bury us in homework. The aroma of baking cookies hits the olfactory receptors in my nose, triggering my brain to decide it’s time for a post-study snack. My growling stomach agrees.
I walk into the kitchen in time to see Mom slide fresh cookies onto the rack to cool. I close my eyes and give a huge sniff. Chocolate. Vanilla. And something nutty.
“What kind are they?” I ask.
“Chocolate chunk with macadamia nuts.”
Yum. Actually, double yum. I plop onto a stool at the counter and Mom puts two cookies on a plate for me with an apple. I take a giant bite out of the apple. Eating it first is the only way to avoid a mom-lecture on the importance of a balanced diet.
“How’d the homework go? All finished?”
Since my mouth is full I roll my shoulders around and then nod to mean “it went okay” and “yes.”
Mom plops more dough onto a cookie sheet while I plow through the rest of my snack. The only sound in the kitchen is my chewing—with my mouth closed, of course.See All Chapters
|Pete Goodliffe||O'Reilly Media||ePub|
It is easier to prevent bad habits than to break them.
— Benjamin Franklin
“Just one more minute,” Jim said. “I think I really do know what the problem is now. This time I’ll fix it.”
Julie had been watching him trying to solve the problem for almost a whole day now, with increasing amusement.
Jim had been hunched over the keyboard for hours straight. He’d hardly glanced up. He’d certainly not eaten. And he’d only had the one cup of coffee that Julie had brought mid-morning, mostly out of pity.
It wasn’t like him at all. He was a man on a mission.
A sense of urgency, if not mild panic, had been brought about by a “level 1” bug discovered in the live system. How it had got through the QA process was anyone’s guess.
It was thought to be a problem in some of Jim’s code, and so Jim sprang into action. It was partly pride that stopped him from asking for help, but there was also a hint of naiveté—he thought he’d have it tracked down in 10 minutes, and he would then look like a hero for fixing the running system.See All Chapters
|Mitch Garnaat||O'Reilly Media||ePub|
You are storing data on an EC2 instance and you would like that data to persist even if the instance fails.
All EC2 instances have a root volume associated with them. This is where the operating system is installed. The size of this root volume depends on how the image was bundled and whether the corresponding AMI is S3-backed or EBS-backed.
In addition, all EC2 instance types except the
To provide persistent storage (that is, storage that exists independent of an instance), EC2 provides Elastic Block Storage (EBS). EBS allows you to create volumes of any size (from 1 GB to 1 TB) and attach the volumes to any EC2 instance. If that instance fails for any reason, the volume can be reattached to a replacement instance and the data will then be available to that new instance.See All Chapters
|Jay Hilyard||O'Reilly Media||ePub|
This chapter deals with the file system in four distinct ways. The first set of recipes looks at typical file interactions like:
Reading and writing.
Encoding methods for character data.
Selecting the correct way (based on usage) to access files via streams.
The second set looks at directory-or folder-based programming tasks such as file creation as well as renaming, deleting, and determining attributes. The third set deals with the parsing of paths and the use of temporary files and paths. The fourth set deals with more advanced topics in filesystem I/O, such as:
Asynchronous reads and writes.
Monitoring for certain file system actions.
Version information in files.
Using P/Invoke to perform file I/O.
The file-interactions section comes first since it sets the stage for many of the recipes in the temporary file and advanced sections. This is fundamental knowledge that will help you understand the other file I/O recipes and how to modify them for your purposes. The various file and directory I/O techniques are used throughout the more advanced examples to help show a couple of different ways to approach the problems you will encounter working with file system I/O.See All Chapters
� H� 7LJHUV� RQO\� KDG� D� IHZ� PRUH� \HDUV� RI�
VXFFHVV� DIWHU� ZLQQLQJ� WKH� ����� :RUOG�
-D\V� WR� ZLQ� WKH� $/� (DVW� LQ� D� GUDPDWLF�
7KH� SOD\HUV� ZKR� KDG�
$QGHUVRQ� EHFDPH� LOO� GXULQJ�
VWDUUHG� IRU� WKH� 7LJHUV� LQ� �����
ZHUH� EHJLQQLQJ� WR� OHDYH� WKH�
WHDP�� &DWFKHU� /DQFH� 3DUULVK�
'HEDWH� DOVR� VWDUWHG� DERXW�
KDG� OHIW� EHIRUH� WKH� ����� VHD�
WKH� IDWH� RI� 7LJHU� 6WDGLXP�� 7KH�
ZHUH� D� VKDGRZ� RI� WKHLU� IRUPHU�
VHOYHV�� 7KH� ����� 7LJHUV� ORVW�
WR� IDOO� DSDUW�� 7KH� 7LJHUV� ZHUH�
���� JDPHV�� 0DQDJHU� 6SDUN\�
IDOOLQJ� DSDUW�� WRR�� $QGHUVRQ�
5Xabc�QPbT\P]�2TRX[�5XT[STa�bcPaaTS�U^a�cWT�CXVTab�Ua^\� ((��c^� ((%��7T�
[TS�cWT�[TPVdT�cfXRT�X]�W^\T�ad]b�P]S�cWaTT�cX\Tb�X]�A18b�X]�cWPc�cX\T�See All Chapters
Business & Economics