Steve Punt's panel show appearances
Steve Punt (born 1962-09-15[ref]) has appeared in 21 episodes between 1994-2012. Steve Punt on Wikipedia. Steve Punt on Chortle.
- 2012-03-12 / Alexander Armstrong's Big Ask
- 2012-01-27 / The News Quiz
- 2009-10-23 / The News Quiz
- 2009-05-22 / The News Quiz
- 2005-03-11 / The News Quiz
- 1999-03-19 / The News Quiz
- 1998-08-28 / The News Quiz
- 1998-04-17 / The News Quiz
- 1998-03-21 / The News Quiz
- 1998-03-07 / The News Quiz
- 1997-08-23 / The News Quiz
- 1997-04-12 / The News Quiz
- 1996-09-28 / The News Quiz
- 1996-08-31 / The News Quiz
- 1996-05-25 / The News Quiz
- 1996-04-13 / The News Quiz
- 1995-09-30 / The News Quiz
- 1995-08-26 / The News Quiz
- 1995-04-22 / The News Quiz
- 1995-04-01 / The News Quiz
- 1994-09-24 / The News Quiz


ftruncate
(PHP 4, PHP 5, PHP 7)
ftruncate — 将文件截断到给定的长度
说明
bool ftruncate ( resource $handle , int $size )
接受文件指针 handle 作为参数，并将文件大小截取为 size。
参数
handle
文件指针。
Note:
The handle must be open for writing.
size
The size to truncate to.
Note:
If size is larger than the file then the file is extended with null
bytes.
If size is smaller than the file then the file is truncated to that
size.
返回值
成功时返回 TRUE，或者在失败时返回 FALSE。
更新日志
版本 说明
4.3.3 在 PHP 4.3.3 之前，ftruncate() 在成功时返回一个 integer 值 1，而不是
boolean 的 TRUE。
范例
Example #1 File truncation example
注释
Note:
The file pointer is not changed.
参见
• fopen() - 打开文件或者 URL
• fseek() - 在文件指针中定位
User Contributed Notes 4 notes
===============================================================================
If you want to empty a file of it's contents bare in mind that opening a file
in w mode truncates the file automatically, so instead of doing...
You can just do...
===============================================================================
You MUST use rewind() after ftruncate() to replace file content
===============================================================================
Writing after ftruncate
I didnt expect that I can write in the middle of nowhere. I thought that I
would write at the beginning of the file but the first 4 bytes were filled
automatically with NULLs followed by "56":
";
echo "pointer after fread at: ".ftell($dh)."
";
ftruncate($dh, 0);
echo "pointer after truncate at: ".ftell($dh)."
";
fwrite($dh, $str2);
echo "pointer after fwrite at: ".ftell($dh)."
";
rewind($dh);
echo "pointer after rewind at: ".ftell($dh)."
";
$str = fread($dh, 6);
echo "content: $str
in ASCII: ";
for($i = 0; $i < 6; $i++)
echo ord($str{$i})."-";
fclose($dh);
/*
OUTPUT:
content: 1234
pointer after fread at: 4
pointer after truncate at: 4
pointer after fwrite at: 6
pointer after rewind at: 0
content: 56
in ASCII: 0-0-0-0-53-54
*/
?>
So not only ftruncate is filling an empty file up with NULLs as in the note
before. Fread is filling leading space with NULLs too.
===============================================================================
If you want to ftruncate but keep the end:
It will not just cut it but search for a newline so you avoid corrupting your
csv or logfiles. But I don't know if you will stress the reading head of your
drive. ;)


Dinkleberg Winter Warmer
Serving Sizes: 16oz, 10oz, 7oz
Giggling Goat Biere de Garde
Brewed with the women of Goat Island and the Cullman Brewers Guild, this Pink Boots Society beer uses the Pink Boots 2022 hop blend.
Less Info ▴Serving Sizes: 16oz, 10oz, 7oz
Puget South IPA - American
Serving Sizes: 16oz, 10oz, 7oz
Goatopia IPA - New England
Serving Sizes: 16oz Draft, 10oz Draft, 7oz
MangoWeiss Mango Wheat Beer
Serving Sizes: 16oz, 10oz Draft, 7oz
ESB Extra Special Bitter Ale
Traditional copper colored ESB with a rich malt backbone and slightly spicy with English hop notes.
Less Info ▴Serving Sizes: 16oz Draft, 10oz, 7oz
Crane Hill Kolsch Kolsch
Serving Sizes: 16oz Draft, 10oz, 7oz
Blood Orange Berliner-Weisse Sour - Berliner Weisse
This gorgeous orange-to-pink beer is refreshing and drinkable. A lush sweet orange aroma hits you as you take your first drink. Then, that well crafted wheat ale backbone shines through.Go ahead and indulge yourself - you deserve it!
Less Info ▴Serving Sizes: 16oz Draft, 10oz, 7oz
Duck River Dunkel Lager - Munich Dunkel
This smooth, dark Bavarian style lager is all about the malts. It has a medium body and bready malt backbone but finishes dry. It is also our most prestigious beer. It won a silver medal at the Great American beer Festival in Denver in 2018. So you could say this is the 2nd best Dunkel in the United States. We think it’s Number 1! Delicious malty goodness, highly decorated. Taste it for yourself
Less Info ▴Serving Sizes: 16oz Draft, 10oz, 7oz
Peace, Love And Hippieweizen Wheat Beer - Hefeweizen
One drink of this hazy, golden wheat beer and you’ll find yourself back in the sixties. The german heffeweizen yeast used to ferment this beer give it a smooth groovy flavor with hints of fresh bread and the faint aroma of banana. It is light and refreshing. The perfect beer for our hot Alabama weather. Bring on the summer of I love this beer. Far out!
Less Info ▴Serving Sizes: 16oz Draft, 10oz, 7oz
Richter's Pilsner Pilsner - German
This antique light golden pilsner won a bronze medal at the 2016 Alabama Craft Beer Championship. It is influenced by German and American traditions, much like the German immigrants that founded Cullman, Alabama in the late 1800’s. A local merchant found a hand written beer recipe in the attic of his old downtown building in Cullman. The recipe was found with other personal items of William Frederick Richter, who owned Richter’s Saloon in the late 1800’s. The mixture of English and Old German was eventually translated and resurrected, and now it is our flagship beer!Availability: Year-round
Less Info ▴Serving Sizes: 16oz Draft, 10oz, 7oz
Sipsey River Red Red Ale - American Amber
This beer won a gold medal in the 2016 Alabama Craft Beer Championship! An amber to red ale balanced perfectly with malt and European hops. Smooth, flavorful and colorful. The first thing you'll notice about this beer is the fragrance. It will remind you of walking through the nearby Sipsey River Wilderness area in the spring.
Less Info ▴Serving Sizes: 16oz Draft, 10oz, 7oz
Thrill Hill Vanilla Porter Porter - Imperial
A dark brown imperial porter with hints of caramel, chocolate and coffee balanced with smooth vanilla and bourbon flavor. It is surprisingly drinkable for such a complex high ABV beer. Flavored with real Madagascar vanilla beans.
Less Info ▴Serving Sizes: 10oz Draft, 10oz, 7oz
Menu powered by Untappd
|
27
Jan |
Live Music: Brez with Dog Eat Dawgs food cart
7:00 PM CST |
1646 John H Cooper Dr SE
Cullman, AL |
|
|
28
Jan |
Trivia Night with Matt Mitchell and Mom & M's Food Truck
7:00 PM CST |
1646 John H Cooper Dr SE
Cullman, AL |
|
|
3
Feb |
Live Music: Avenue G with Chat N Chew food truck
7:00 PM CST |
1646 John H Cooper Dr SE
Cullman, AL |
|
|
4
Feb |
Live Music: 347 Band with Dog Eat Dawgs food cart
7:00 PM CST |
1646 John H Cooper Dr SE
Cullman, AL |
|
|
10
Feb |
Live Music: Smoke & Mirrors with Chat N Chew food truck
7:00 PM CST |
1646 John H Cooper Dr SE
Cullman, AL |
|
|
11
Feb |
Live Music: Rally Stripe with Mom & M's food truck
7:00 PM CST |
1646 John H Cooper Dr SE
Cullman, AL |
|
|
17
Feb |
Live Music: The Overtones with Stone's All Fired Up Food Truck
7:00 PM CST |
1646 John H Cooper Dr SE
Cullman, AL |
|
|
18
Feb |
Trivia Night with Matt Mitchell and Mom & M's Food Truck
7:00 PM CST |
1646 John H Cooper Dr SE
Cullman, AL |
|
|
24
Feb |
Live Music: Justin & Tab
7:00 PM CST |
1646 John H Cooper Dr SE
Cullman, AL |
|
|
25
Feb |
Live Music: Shane Davis Group with Mom & M's food truck
7:00 PM CST |
1646 John H Cooper Dr SE
Cullman, AL |
|
|
3
Mar |
Live Music: Brez with Dog Eat Dawgs food cart
7:00 PM CST |
1646 John H Cooper Dr SE
Cullman, AL |
|
|
4
Mar |
Live Music: Avenue G with Mom & M's food truck
7:00 PM CST |
1646 John H Cooper Dr SE
Cullman, AL |
|
|
10
Mar |
Live Music: Rally Stripe with Chat N Chew food truck
7:00 PM CST |
1646 John H Cooper Dr SE
Cullman, AL |
|
|
11
Mar |
Live Music: Hutch-Edwards Project with Dog Eat Dawgs food cart
7:00 PM CST |
1646 John H Cooper Dr SE
Cullman, AL |
|
|
17
Mar |
Live Music: The Overtones with Dog Eat Dawgs food cart
7:00 PM CDT |
1646 John H Cooper Dr SE
Cullman, AL |
|
|
18
Mar |
Live Music: Justin & Tab with Chat N Chew food truck
7:00 PM CDT |
1646 John H Cooper Dr SE
Cullman, AL |
|
|
24
Mar |
Live Music: Nitrate City and Chat N Chew
7:00 PM CDT |
1646 John H Cooper Dr SE
Cullman, AL |
|
|
25
Mar |
Trivia Night with Matt Mitchell and Mom & M's food truck
7:00 PM CDT |
1646 John H Cooper Dr SE
Cullman, AL |
|
|
31
Mar |
Live Music: Doolin-Dalton Band
7:00 PM CDT |
1646 John H Cooper Dr SE
Cullman, AL |
|
|
1
Apr |
Live Music: Natchez Trace with Dog Eat Dawgs food cart
7:00 PM CDT |
1646 John H Cooper Dr SE
Cullman, AL |


Time-domain 2D FWI with TTI anisotropy
The modeling operator is based on a star 1D stencil of order 2,4 or 6. It solves the system in parallel over sources . Source injection and receiver sampling is done via cubic interpolation and exponential damping over a 3x3 square around the source location. The Jacobian is derived by linearizing the discretized system and its forward.
Author: Mathias Louboutin, Philipp Witte
September 2015 Seismic Laboratory for Imaging and Modeling Department of Earch & Ocean Sciences The University of British Columbia
Contents
Dependencies
The modeling code uses the following packages, found in the tools part of the software release.
- SPOT - object oriented framework for matrix-free linear algebra.
- pSPOT - parallel extension of SPOT.
Running & Parallelism
All the examples can be reproduced by running the scripts found in the software release under applications/Modeling/2DAcousticFreqModeling. Start matlab from that directory or run startup in that directory to add the appropriate paths.
The scripts can be run in serial mode but parallel mode is advised for the modeling and imaging examples. Use parpool to start parallel pool with the appropriate configuration and a divisor of 12 workers.
Functions
The modeling code consists of 3 distinct packages which can be found in the tools part of the software release. The main components are listed below
algorithms/TimeModeling
- opF - modeling operator
- opJ - Jacobian
- Gen_data - Data generation function
- Born - Born modelling and RTM function
- GS - function that output [f,g] misfit and gradient for FWI
operators/misc
- opLInterp1D - 1D cubic Lagrange interpolation
- opExtension - Pads input with zeros or constant values
- opSmooth - 1D smoothing by convolution with triangular kernel
- opSaveSnapshot - save history of iterations operator
functions/misc
- grid2odn, odn2grid - convert grid vectors to [origin, increment, size] triplet and vice versa
Examples
A few examples are included here
- An examples of the 2D FWI capabilities are shown in FWI_TTI_2D.m.
References
.[1] Philipp Witte*, Mathias Louboutin and Felix J. Herrmann, Overview on anisotropic modeling and inversion, Technical report


Hello, this domain is for sale!
If you want this domain name, use the form below to make an offer
(FIAT also accepted)
Loading...


Welcome to IBM!
This website will be used as both a teaching/learning tool and the launchpoint for your internship. The six weeks will encompass several topics and themes.
Hands-On IoT Project
Using Arduino Unos and cheap temperature/light sensors each of us will build a sensor and have the data sent to IBM's BlueMix IoT foundation. The data will be stored in a database (mongoDB) and then we will collectively build a web site to show the data. (Working Independently or the entire Group). See the working Demo
IBM CAMSS Strategy Deep Dives
Working in teams of two you will take a deep dive into one of IBM's CAMSS areas. Click on a link to goto the IBM ThinkAcademy to learn about IBM's POV on each topic.
Miscellaneous
Getting us all ready for the workplace through activities such as: shadowing, guest speakers, presenting, brainstorming / development sessions, etc. Hopefully we'll have a few fun trips outside of IBM as well.