|
Hi guys. I'm using vb.net 1.1 to develop the program. I got text files that contain test result from a machine, like below.
T1 1.24535 2.56335 2.43253 1.24538 2.55619 4.35243
T2 1.42542 1.63728 3.57295 4.59275 1.57320 2.72057
T3 5.12857 2.45375 6.3859...
Started by EngLoon on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
However if you close.
At "the last point read") and you won't have to do anything, except keep reading.
|
|
The last book I read was Harry Potter 5, I'm currently halfway through "The help" and will read either "catcher in the rye" or "girl with dragon tatoo" next.
how about you guys?
Started by ali_bl-nov05 on
, 23 posts
by 22 people.
Answer Snippets (Read the full thread at thebump):
Last read: In the Garden of Beasts - Erik Larsson
Currently reading....
I last read I Am Hutterite , currently reading Mennonite In A Little Black Dress , and will read and just couldn't keep reading.
|
|
I need to read the last 25 lines from a file (for displaying the most recent log entries). Is there anyway in Ruby to start at the end of a file and read it backwards?
Started by Josh Moore on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
There is a....
Is the file large enough that you need to avoid reading the whole thing#seek to read from near the end of the file, and continue seeking toward the beginning until you've seen 25 lines.
Then read forward from there.
|
Ask your Facebook Friends
|
What's the quickest and most efficient way of reading the last line of text from a [very, very large] file in Java?
Started by Jake on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
So basically, take a buffer of (say) 2K, and progressively read backwards (skip to 2K before you were before, read the next....
Net-c/269090-streamreader-read-last-line-text-file
using(FileStream fs = File.OpenRead("c:\\file.dat.
|
|
Has anyone read Uncle Bob's last book Clean code ?
UPDATE:
Is it similar to Martin Fowler's "Refactoring"?
Started by Pablo Fernandez on
, 6 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If I had not read Kent Beck's excellent "Implementation Patterns" book.
And I highly recommend it.
|
|
What is the last book(s) you've read?
Fingernails in the walls. Fingernails in my brain.
Started by DorianDawes on
, 35 posts
by 24 people.
Answer Snippets (Read the full thread at detroitgothic):
What pisses me off ....
We read and write poetry because we are members of the human as teen fiction goes.
The Crucible series ~ Sara Douglas
AND
The Anita Blake series ~ Laurell K Hamilton
"We do not read and write poetry because it's cute.
|
|
Hi
Imagine I have a file with
Xpto,50,30,60 Xpto,a,v,c Xpto,1,9,0 Xpto,30,30,60
that txt file can be appended a lot of times and when I open the file I want only to get the values of the last line of the txt file... How can i do that on python? reading...
Started by UcanDoIt on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Not sure about a python specific implementation, and then read each character in backwards order until you....
Just read the whole file and discard all but the last line? KISS
-to-search-the-last-x-lines-of-a-file-in-python .
|
|
I am working on a log parsing script using Perl. I am reading the log file as follows:
open(LOGFILE, "$logFile") || die "Error opening log file $logFile\n"; while(<LOGFILE>) { #Processing statements goes here. }
Now in processing statements I want...
Started by Viky on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
read 'dir_walk.rb': $!"; my $last_line = $fh->readline; print $last_line;
Edit : For whatmy $last; while(<MYFILE>) { $last = $_ if eof; }
Though unless you are doing something with every other line, this is....
|
|
What is the most efficient way to read the last row with SQL? The table is indexed on a unique key--the "bottom" key values represent the last row.
Edit: This is for SQL Server.
Thank you
rp
Started by rp on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
To that column's data, and the DESC tells it to reverse the results (thus putting the last one first.
|
|
Here is the situation : Some process writes lines into a fifo file (created with mkfifo ). At some point in my program, I want to read the last line in the fifo, and discard all the others. The procedure may block, only if there is less than one line ...
Started by Ben on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
When a....
Reading the last line the information in the FIFO -- that is, the read pointer in your program is always at the end of the pipe.
You'll also maintain a pointer to the last message read.
Or something similar).
|