text
stringlengths 20
1.01M
| url
stringlengths 14
1.25k
| dump
stringlengths 9
15
⌀ | lang
stringclasses 4
values | source
stringclasses 4
values |
|---|---|---|---|---|
Dear list,
as you probably know, I'm the author of the reactive-banana package,
which is a library for functional reactive programming (FRP) which can
be used with wxHaskell. As such, I would like to propose a few changes
to wxHaskell which are informed by FRP. Of course, while my primary aim
is to gain better interoperability with my library, I think and hope
that my proposed changes are of independent benefit.
Today, I would like discuss *composable events* and event handlers.
In wxHaskell, event handlers are currently set with the on combinator.
set button [ on command := doSomething ]
Unfortunately, this approach has several problems that don't make it
very composable:
1. Currently, setting an event handler will also *remove* any previous
event handler.
2. The event handler may have have several curried parameters, or even none.
I have found that the most composable approach to events is the
following type
type Event a = AddHandler a
newtype AddHandler a = AddHandler { addHandler :: (a -> IO ()) ->
IO (IO ()) }
Example usage
doSometing :: () -> IO ()
...
removeSomething <- addHandler (on command button) doSomething
The idea is that Event a represents an event that carries data of type
a . If the event does not carry any data, then a = () . The
addHandler function registers an additional event handler with the
event, while keeping the old handlers intact. The return value of
addHandler can be used to remove the event handler again if desired.
(This is how GTK does it, by the way.)
With this type, we can easily define new events from old ones, for instance
instance Functor AddHandler where
fmap f e = AddHandler $ \g -> addHandler e (g . f)
filterJust :: AddHandler (Maybe a) -> AddHandler a
filterJust e = AddHandler $ \g -> addHandler e (maybe (return ()) g)
-- mouse click event
click :: AddHandler Point
click = filterJust . fmap matchClick $ mouse
where
matchClick (MouseLeftDown pt _) = Just pt
matchClick _ = Nothing
Note that this only works well if the event data always given as a
single type, not multiple curried arguments.
I think this is very pleasant. In particular, it cleans up the confusion
about the current crop of write-only events like click and motion .
It also looks a bit like FRP, though it is not powerful emough to become
"true" FRP for reasons I don't want to go into right now.
The main drawback of the AddHandler approach is that we cannot keep
the current syntax
set button [ on click := .. ]
since setting an event handler rightfully implies that the old event
handlers are removed. I'm somewhat undecided about possible solutions,
but we could introduce a new assignment symbol
set button [ on click :+ .. ]
that only works on events.
What do you think?
Best regards,
Heinrich Apfelmus
--
|
http://sourceforge.net/p/wxhaskell/mailman/message/29196023/
|
CC-MAIN-2014-52
|
en
|
refinedweb
|
18 February 2011 10:15 [Source: ICIS news]
By Mahua Chakravarty
?xml:namespace>
Toluene prices in Asia firmed to a 30-month high this week and were at $990-1,005/tonne (€733-744/tonne) FOB (free on board) Korea on Friday, largely stable from Thursday and up $10-15/tonne from last week’s close, according to ICIS.
A deal for April loading was heard at $1,005/tonne FOB
Traders said that the gains in toluene were moderate compared with the $20/tonne price jump in benzene seen this week, due to poor demand from the key Chinese market.
Inventory levels in eastern China were estimated to be about 130,000-150,000 tonnes and could even go up to 170,000 tonnes by end of February due to the arrival of imports, said Chinese and regional traders.
“It needs several months for this amount of inventory to be digested,” said an east China-based trader.
“A lot depends on the gasoline price in
Toluene is used widely as an octane booster for gasoline blending.
Import demand from
Lastly, prices in the Chinese domestic market on yuan basis were still hovering below the US dollar prices, said traders.
Hence, toluene availability in northeast and southeast
($1 = €0
|
http://www.icis.com/Articles/2011/02/18/9436514/asia-toluene-to-remain-stable-to-firm-despite-weak-demand.html
|
CC-MAIN-2014-52
|
en
|
refinedweb
|
package
SERVLETS
.
InsertServlet.java:3: package javax.Servlet does not exist
import javax.Servlet.*;
^
InsertServlet.java:4: package javax.Servlet.http does not exist
import.... The package java.Servlet.* does not exist. It is written as javax.servlet.*. Similarly
: package javax.servlet does not exist
import javax.servlet.*;
^
InsertServlet.java:4: package javax.servlet.http does not exist
import javax.servlet.http.
SERVLETS
InsertServlet.java:3: package javax.servlet does not exist
import javax.servlet.*;
^
InsertServlet.java:4: package javax.servlet.http does not exist
import
servlets
what is the architecture of a servlets package what is the architecture of a servlets package
The javax.servlet package provides interfaces and classes for writing servlets.
The Servlet Interface
The central
servlets
in detail javax.servlet.http package
The javax.servlet.http package supports the development of servlets that use the HTTP protocol. The classes in this package extend the basic servlet functionality to support various HTTP
servlets
servlets Hi
what is pre initialized servlets, how can we achives?
When servlet container is loaded, all the servlets defined in the web.xml file does not initialized by default. But the container receives
the servlets
what is diff between generic servlets and httpservlets what is diff between generic servlets and httpservlets
Difference between GenericServlet and HTTPServlet:
1)GenericServlet belongs to javax.servlet package
Checking if a file or directory exist
Checking if a file or directory exist
In this section you will learn how to check whether a file or a directory exist
or not. The " java.io " package provide a method exist()
which return true or false. This method
servlets
on the amount of data you can send and because the data does not show up on the URL you can send passwords. But this does not mean that POST is truly secure
servlets
, HttpServlet provides a default implementation for all those methods that does nothing
servlets
servlets how can I run java servlet thread safety program using tomcat server? please give me a step by step procedure to run the following program
my program is
A DEMO PROGRAM FOR THREAD SAFETY.
package serv;
import
i have problem with this query... please tell me the resolution if this .........
i have problem with this query... please tell me the resolution if this ......... select length(ename)||' charecters exist in '||initcap(ename)||'s name'
as "names and length" from emp
resolution for prog
resolution for prog import java.lang.*;
class Current{
public static void main(String ar[]){
Thread t = Thread.CurrentThread();
System.out.println("current thread"+t);
System.out.println("thread name"+t.getName());
}
}
i got
import package.subpackage.* does not work
import package.subpackage.* does not work I have 3 class files.
A.java
B.java
C.java
Below is the code block
A.java:-
package com.test...()
{
System.out.println("funA");
}
}
B.java:-
package com.test;
public
resolution problem in java
resolution problem in java I designed project in java in my PC when run the same project in some other PC i can't fully view my java forms.Some said that it is resolution problem
Servlets Programming
Servlets Programming Hi this is tanu,
This is a code for knowing... to store that value and where?
package counter;
import java.io.IOException... visit the following links:
Servlets Books
servlets can best be used. By no means does this book cover all the uses of servlets; such a book could never exist. Servlets are a lightweight/heavyweight...
Servlets Books
The package keyword
package if the Java source file does not include a package
statement...
The package keyword
The package in java programming language
is a keyword that is used to define
ipad screen resolution pixels
ipad screen resolution pixels Hi! Can you tell the exact size of the iPad in pixels ..including height & width.
Thanks Very Much!
Finally find it on the apple website...
The iPad display has a screen resolution
Servlets Program
Servlets Program Hi, I have written the following servlet:
[code]
package com.nitish.servlets;
import javax.servlet.*;
import java.io.*;
import java.sql.*;
import javax.sql.*;
import oracle.sql.*;
public class RequestServlet
Determining if a File or Directory exist
does not exist : false
Download
this example...
Determining if a File or Directory Exist
...;or directory does not exist
System.out.println("
what is the resolution for the bellow error?
what is the resolution for the bellow error? pe Exception report
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException
Java file exist
;or Directory exist.");
}
else... checks whether the
file exists or not.
Output
File or Directory does
Accessing Database from servlets through JDBC!
that are implemented and extended by all servlets.
While the javax.servlet.http package...
Java Servlets - Downloading and Installation
Java
Servlets are what is the duties of response object in servlets
servlets
servlets why we are using servlets
servlets
what are advantages of servlets what are advantages of servlets
Please visit the following link:
Advantages Of Servlets
setting of image resolution on jsp - JSP-Servlet
setting of image resolution on jsp How can i set resolution of images on my jsp page?When i enlarge the image it becomes fade? is there any solution for its setting
servlets deploying - Java Beginners
servlets deploying how to deploy the servlets using tomcat?can you...,
package javacode;
import java.io.*;
import javax.servlet.*;
import...);
}
}
------------------------------------------------------- This is servlets
servlets - JSP-Servlet
;This is servlets code.
package javacode;
import java.io.*;
import java.sql.... servlets. Hi friend,
employee form in servlets...
----------------------------------------------
Read
java servlets with database interaction
java servlets with database interaction hai friends i am doing a web... from RUsersInfo");
boolean exist=false;
while(rs.next...))
exist=true;
}
out.println("<html>
servlets - JSP-Servlet
is as follows:
package javacode;
import java.io.*;
import java.sql.... servlets link , read more and more information about servlet. how to compile and how to run servlets program.This is running program but you are not able
servlets - Servlet Interview Questions
information.
package javacode;
import java.io.*;
import javax.servlet.*;
import... for more information.
Servlets
Servlets How to check,whether the user is logged in or not in servlets to disply the home page
servlets - JSP-Servlet
; Hi
package javacode;
import java.io.*;
import javax.servlet....("");
}
}
---------------------------------------------------
Read for more information.
servlets - Servlet Interview Questions
:
--------------------------------
package...
package javacode;
import javax.servlet.*;
import javax.servlet.http....
------------------------------------------
Read for more Details - JSP-Servlet
.
in navigator windwo your project displayed.
check there src folder exist.
right - Servlet Interview Questions
servlets scenario....if i am requesting a google page from clent1 and client2....
does the init() will be called by all the clients seperately or it will be called by only one and will be used by the others. init - Java Beginners
the
clientImpl get methods.
Here is my package and servlet. I am confused how to create object and where to edit in servlet file!
package mlclientinterface;
Can
SERVLETS
servlets
the servlets
Servlets
|
http://www.roseindia.net/tutorialhelp/comment/91306
|
CC-MAIN-2014-52
|
en
|
refinedweb
|
I have a tried request, urllib2 packages to get the redirecting url. I have also passed header s for getting the url. iam getting the status code as 200 but not the redirected url. How to get it ? Here is my code :
- Code: Select all
import requests
>>> url = ""
headers = {"Referer": ""}
>>> req = requests.get(url, headers=headers)
>>> req
|
http://www.python-forum.org/viewtopic.php?f=6&t=11592
|
CC-MAIN-2014-52
|
en
|
refinedweb
|
Bug
- [GEOT-362] - TransactionInsert not working through Geoserver
- [GEOT-993] - Authentication + gzip -> IllegalStateException
- [GEOT-1194] - Polygon with holes not handled by
- [GEOT-1199] - Using 2 Levels results in Nullpointer Exception
- [GEOT-1670] - Unexpected behaviour of the SelectSampleDimension operation
- [GEOT-1752] - Using 2 Levels results in Nullpointer Exception
- [GEOT-1773] - SchmaNotFoundException when mixing lower and uppercase letters
- [GEOT-1774] - Using DataStoreFinder with JNDI DataSource
- [GEOT-1939] - Using sun specific class XMLGreogorianCalendarImpl
- [GEOT-1946] - Problems with online tests
- [GEOT-2194] - ShpFiles(File) constructor throws NullPointerException for certain invalid paths
- [GEOT-2231] - Support for getNextAutoGeneratedValue impossible on postgresql
- [GEOT-2314] - Layer bounds calculation fails on ArcSDE+Oracle
- [GEOT-2327] - jdbc-ng does not emit events on feature change
- [GEOT-2338] - SimpleFeatureTypeImpl has inconsistent iteration order, broken equals/hashCode
- [GEOT-2339] - ImageWorker forceComponentColorModel optimization cause problem with grayscale indexed images
- [GEOT-2344] - Using sun specific classes kicks out all other java virtual machines
- [GEOT-2364] - Build broken on Windows: unit test failure in imagemosaic-jdbc
- [GEOT-2366] - Filter encoder does not properly handle PropertyIsLike
- [GEOT-2378] - Fix ComplexTypeImpl iteration order / equals / hashCode
- [GEOT-2387] - WFSDataStoreFactory reports it can open any URL, without actually checking if it can, or not
- [GEOT-2388] - ShapefileDataStore createSchema method dies on when creating prj file for some CRS
- [GEOT-2396] - Allow PropertyIsLike to ignore case
- [GEOT-2403] - SimpleFeatureImpl inconsistency between getProperty and getDefaultGeometryProperty
- [GEOT-2404] - MemoryDataStore returns wrong BoundingBox
- [GEOT-2408] - GML 3.2 parsing delegates to GML2 parsing which in turn does not set the default gemetry property
- [GEOT-2410] - OGC Filter parser won't parse unit of measure
- [GEOT-2417] - coverageName is truncated when gdal plugin imports datasets having filenames containing several dots.
- [GEOT-2440] - DataFeatureCollection>>containsAll does not work
- [GEOT-2455] - Only one gml:name can be encoded per feature
- [GEOT-2466] - RasterSymbolizerTest does not work on SUN and IBM sdk 6.0
- [GEOT-2471] - SubstitutionGroupXSAnyTypeBinding loses maxOccurs and minOccurs in original schemas
- [GEOT-2483] - Attributes in complex types with simple contents aren't encoded
- [GEOT-2498] - Problem processing Capabilities with Invalid Contact Information
- [GEOT-2500] - Postgis NG serial sequence autodetection breaks on tables whose name need to be escaped
- [GEOT-2501] - Inconsistency between JDBCDataStore.getPrimaryKey() and SQLDialect.getSequenceForColumn
- [GEOT-2503] - PostgisNG breaks encoding spatial filters with linear rings
- [GEOT-2506] - Reading wfs with boolean value 1 always return false
- [GEOT-2507] - Authentication fails for WFS_1_0_0 when getFeatures
- [GEOT-2511] - JDBCJNDIDataStoreFactory misses the schema parameter
- [GEOT-2522] - Unable to calculate query extent using Id filter
- [GEOT-2542] - StyleGenerator bug with creating ExplicitRules
- [GEOT-2544] - wfs 1.0 client sets feature type url to dft location
- [GEOT-2555] - Qunatile Function Problem with Single Value Buckets
- [GEOT-2569] - Build failure in ImageMosaicReaderTest
- [GEOT-2578] - ParserException in AUTHORITY element if code is not annotated
- [GEOT-2580] - LikeFilter AND encoding
- [GEOT-2582] - ArcSDE does never support sorting, regardless of the SortBy attributes
- [GEOT-2607] - Client properties on simple attributes aren't encoded
- [GEOT-2613] - CRS#getHorizontalCRS returns null for Cartesian CRSs
- [GEOT-2631] - ColorUtilities.getMinimum/Maximum does not work for 16 bit unsigned data
- [GEOT-2640] - WFS 1.0 client sets schema location to namespaceURI
- [GEOT-2642] - ContentState listener management is not thread safe
- [GEOT-2646] - XSD and WFS modules won't build under a path with spaces
- [GEOT-2649] - JDBC-NG does not allow the writing of geometryless data
- [GEOT-2656] - GMLParsingTest failure
- [GEOT-2663] - problem with NZMG in GeoTiffMetadata2CRSAdapter.java
- [GEOT-2700] - if exception occurs during encoding loop open iterators are not closed
Improvement
- [GEOT-1498] - Make sure the shapefile index generation won't eat excessive amounts of memory
- [GEOT-2196] - have attribute descriptor user data contain native database type information
- [GEOT-2240] - add tests for boolean type mapping
- [GEOT-2282] - WFS_1_1_0_DataStore count broken
- [GEOT-2283] - GeoServerOnlineTest WFS testFeatureSourceGetFeaturesFilter axis flipping issue
- [GEOT-2296] - Allow primary key columns to be part of the feature type
- [GEOT-2341] - Improve ImageWorker forceComponentColorModel support for 16 bits data
- [GEOT-2370] - Evaluating expressions on complex features
- [GEOT-2395] - Ability to set WMS timeout
- [GEOT-2434] - enable the option to validate fids before they are turned into SQL
- [GEOT-2443] - Support encoding of multivalued properties for complex features in GML2EncodingUtils
- [GEOT-2444] - Add SubstitutionGroupXSAnyTypeBinding to support encoding property type pattern
- [GEOT-2448] - Supporting geometry generalizing hints
- [GEOT-2468] - Clean up style deprecations introduced during migration to GeoAPI
- [GEOT-2475] - Adding jndi support to jdbc-ng
- [GEOT-2481] - Remove deprecated GridRange implementations
- [GEOT-2484] - minor improvement to MapBoundsEvent and DefaultMapContext
- [GEOT-2486] - Update Repository adapter interface
- [GEOT-2490] - Let PRJ and WLD file override native metadata
- [GEOT-2494] - gml:ReferenceType cannot be encoded
- [GEOT-2554] - ImageMosaic should respect the requested interpolation
- [GEOT-2559] - Support JNDI short names (like Tomcat) in JDBCJNDIDataStoreFactory
- [GEOT-2560] - Use Unique Index where possible, if a table does not have a PK defined
- [GEOT-2562] - ImageWorker rescaleToBytes sometimes fails to preserve source dynamic
- [GEOT-2567] - Add z Value support for jdbc-db2-ng
- [GEOT-2581] - Improvement DijkstrasPathFinder to into account Turn Costs
- [GEOT-2589] - Have postgis-ng schema default to "public"
- [GEOT-2593] - Add ability to do safe conversions
- [GEOT-2626] - Improve StreamingRenderer handling of render events
- [GEOT-2635] - PostgisNG and Oracle NG are using access by name instead of positional access
- [GEOT-2650] - PropertyImpl lacks factory, and has protected constructors
- [GEOT-2654] - Check if H2 database is unpacked
- [GEOT-2658] - Add default value to RecodeFunction
- [GEOT-2672] - Fallback on simple replacement when hitting Oracle complex geometries
- [GEOT-2690] - Get rid of deprecated Hints for Overviews
- [GEOT-2694] - Update GeoTools process API allowing a factory to generate multiple processes
- [GEOT-2735] - Make StreamingRenderer use a faster, rendering oriented bbox operation
- [GEOT-2736] - Shapefile datastore should avoid reading geometries whose bbox is smaller than the current screen resolution
- [GEOT-2746] - Add more aliases to the DatumAliases factory
New Feature
- [GEOT-2509] - Adding jndi support to all jdbc-ng modules
- [GEOT-2545] - Allow feature chaining to use a non-schema field as foreign key
- [GEOT-2570] - Support vocabulary functions in app-schema mapping file
- [GEOT-2655] - DataSource access
- [GEOT-2669] - Add support for EPSG:3875, the official code for the Google Mercator projection
Task
- [GEOT-2181] - remove ExpressionBuilder and javacc build step from gt-main in favor of TXT
- [GEOT-2409] - Rename jsde_jpe_sdk dependency as jpe_sdk
- [GEOT-2513] - Move gt-wfs to unsupported
- [GEOT-2523] - Remove r-tree support from indexed shapefile
- [GEOT-2550] - Restore ability to reference "any geometry"
- [GEOT-2638] - Let ImageMosaic module depends on imageio-ext-gdal module as for 2.5.x
Test
Wish
Edit/Copy Release Notes
The text area below allows the project release notes to be edited and copied to another document.
|
http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10270&styleName=Html&version=14961
|
CC-MAIN-2014-52
|
en
|
refinedweb
|
user information with the Live Connect API for Windows Phone
This article demonstrates how to get user information with Microsoft Live Connect APIs on Windows Phone 7. It also provides a brief overview of some of the other functionality exposed by these APIs.
- Live Connect developer guide (MSDN)
- Live SDK v5.0 (MSDN)
- Live Connect Developer Centre (MSDN)
Windows Phone 8
Windows Phone 7.5
Introduction
In this article we will take a look how can we get started using the Live Connect API for Windows Phone Application and use the Live Services through the Live SDK. With the use of Live Connect API we can access Microsoft services like SkyDrive, Hotmail, and Messenger from our application. This article is a basic walk-through of MSDN reference to develop app using the Live SDK and to access user information from its Live account. To show the use of the Live SDK with the MSDN reference links, we will create a basic app to get user profile information using Live SDK, which will clearly help us to point the MSDN links and uses. The Live APIs provides information about the following.
- SkyDrive - with the use of SkyDrive we can handle files and media of the user. SkyDrive provides a cloud storage, and play like a back-up storage server for the user.
- Hotmail - the API also provides the privilege to access user’s contacts and calendar events.
- Messenger - a live messenger can be created which can communicate with other users.
- Windows Live ID – this authenticate users and access their Live profile information.
During the course of this article we will use the Windows Live ID API to access user’s profile information, and will point the reference articles on how we archive this.
Implementation
Let’s create an empty WP7 project. Before we start coding let’s install the Live SDK. To recognized our app we need an unique id(Client ID) , to get the unique id (Client ID) let’s go to Live Connect Developer Center , create a new application and get the Client ID. We will use the Client ID in our application to interact with the Live Services. Now we add the references Microsoft.Live.Controls and Microsoft.Live into our project. And we add the namespace in the XAML file.
xmlns:live="clr-namespace:Microsoft.Live.Controls;assembly=Microsoft.Live.Controls"
Next in the XAML file we will add the Signin Control which will help us to avoid writing low-level HTTP RESTful GET calls to authenticate users. The login UI comes up automatically and the access token is passed back from the sign-in control for future utilization.
<live:SignInButton
Our app may need to access different types of user’s information. To do that the app needs to get permission from user which is defined in Scopes parameter. In this article we will get user’s basic information like name, profile picture and birthday. When user clicks on the SignInButton the event handler SignInButton_SessionChanged() is called which generates a session and calls the LoginIn() method which finally calls the GetUserProfile() to get the user’s profile information. In GetUserProfile() we get the user’s basic profile information and user’s profile image.
private void GetUserProfile()
{
LiveConnectClient clientGetMe = new LiveConnectClient(Session);
clientGetMe.GetCompleted += new EventHandler<LiveOperationCompletedEventArgs>(clientGetMe_GetCompleted);
clientGetMe.GetAsync("me", null);
LiveConnectClient clientGetPicture = new LiveConnectClient(Session);
clientGetPicture.GetCompleted += new EventHandler<LiveOperationCompletedEventArgs>(clientGetPicture_GetCompleted);
clientGetPicture.GetAsync("me/picture");
}
We parse the user name, profile image and user id. The clientGetPicture_GetCompleted() method parse the user’s image and displays it on the screen.
void clientGetPicture_GetCompleted(object sender, LiveOperationCompletedEventArgs e)
{
if (e.Error == null)
{
string image = (string)e.Result["location"];
imageUser.Source = new BitmapImage(new Uri(image, UriKind.RelativeOrAbsolute));
}
}
The clientGetMe_GetCompleted() method parse user’s name and user id.
void clientGetMe_GetCompleted(object sender, LiveOperationCompletedEventArgs e)
{
if (e.Error == null)
{
textBlockName.Text = (string)e.Result["name"];
string uid = (string)e.Result["id"];
LiveConnectClient readBday = new LiveConnectClient(Session);
readBday.GetCompleted +=
new EventHandler<LiveOperationCompletedEventArgs>(ReadBday_GetCompleted);
readBday.GetAsync(uid);
}
}
We use the user id to get user’s birthday information in ReadBday_GetCompleted() method.
void ReadBday_GetCompleted(object sender, LiveOperationCompletedEventArgs e)
{
if (e.Error == null)
{
string bday = e.Result["birth_day"].ToString();
string bmonth = e.Result["birth_month"].ToString();
string bMonthString="";
//convert month
switch (bmonth)
{
case "1":
bMonthString = "January";
break;
case "2":
bMonthString = "February";
break;
case "3":
bMonthString = "March";
break;
case "4":
bMonthString = "April";
break;
case "5":
bMonthString = "May";
break;
case "6":
bMonthString = "June";
break;
case "7":
bMonthString = "July";
break;
case "8":
bMonthString = "August";
break;
case "9":
bMonthString = "September";
break;
case "10":
bMonthString = "October";
break;
case "11":
bMonthString = "November";
break;
case "12":
bMonthString = "December";
break;
default:
break;
}
// assign the textblock
textBlockBday.Text = bday + "," + " " + bMonthString;
textBlockHeader.Visibility = Visibility.Visible;
textBlockBtitle.Visibility = Visibility.Visible;
}
}
Summary
The Live Connect APIs use standard protocols such as HTTP, OAuth 2.0, JSON and XMPP to make it easy working with them across multiple platforms. To leverage the APIs, we primarily use Representational State Transfer (REST) requests which return information in JSON. In this article we focused on how to use the Live SDK to get information on user’s Windows Live ID, but this Live SDK can also be used to get information about SkyDrive, Hotmail and Messenger also. To know more about Live Connect APIs and services please visit Live Connect Developer Center.
There is also a video on Live Connect API and SkyDrive implementation.
Source Code
- The full source code of the example is available here: File:LiveConnectWP7.zip
|
http://developer.nokia.com/community/wiki/index.php?title=Getting_user_information_with_the_Live_Connect_API_for_Windows_Phone&oldid=202454
|
CC-MAIN-2014-52
|
en
|
refinedweb
|
Message-ID: <732428228.897.1418920390649.JavaMail.haus-conf@codehaus02.managed.contegix.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_896_1309463012.1418920390648" ------=_Part_896_1309463012.1418920390648 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location:
A Character is a single token from the Unicode basic multilingua= l plane. It can also convert to the lowermost 16 bits of an integer.=20
assert Character.SIZE =3D=3D 16 && Character.SIZE =3D=3D Short.SIZE= //16 bits in size assert Character.MIN_VALUE as int =3D=3D 0x0000 assert Character.MAX_VALUE as int =3D=3D 0xFFFF assert Character.TYPE =3D=3D char //often, we can write 'char' instead=20
Each Unicode character belongs to a certain category, which we can inspe= ct using getType():=20
def categories=3D [ 'LOWERCASE_LETTER', //unicode category "Ll": a lowercase letter that has an upper= case variant 'UPPERCASE_LETTER', //Lu: an uppercase letter that has a lowercase variant 'TITLECASE_LETTER', //Lt: a letter beginning a word with only the first letter capitalized 'MODIFIER_LETTER', //Lm: a special character that is used like a letter 'OTHER_LETTER', //Lo: a letter or ideograph not having lowercase and uppercase variants 'NON_SPACING_MARK', //Mn: a combining character that doesnt take up space (eg accents, umla= uts) 'COMBINING_SPACING_MARK', //Mc: a combining character that takes up space (eg vowel signs in the = East) 'ENCLOSING_MARK', //Me: an enclosing character (eg circle, square, keycap) 'SPACE_SEPARATOR', //Zs: an invisible whitespace character that takes up space 'LINE_SEPARATOR', //Zl: line separator character 0x2028 'PARAGRAPH_SEPARATOR', //Zp: paragraph separator character 0x2029 'MATH_SYMBOL', //Sm: any mathematical symbol 'CURRENCY_SYMBOL', //Sc: any currency sign 'MODIFIER_SYMBOL', //Sk: a combining character that's also a full character on its own 'OTHER_SYMBOL', //So: various other symbols (eg dingbats, box-drawing) 'DECIMAL_DIGIT_NUMBER', //Nd: a digit zero through nine in any script except ideographic script= s 'LETTER_NUMBER', //Nl: a number that looks like a letter (eg Roman numerals) 'OTHER_NUMBER', //No: a superscript or subscript digit, or number that's not a digit 0.= .9 // (excluding from ideographic scri= pts) 'DASH_PUNCTUATION', //Pd: any kind of hyphen or dash 'START_PUNCTUATION', //Ps: any kind of opening bracket 'END_PUNCTUATION', //Pe: any kind of closing bracket 'INITIAL_QUOTE_PUNCTUATION', //Pi: any kind of opening quote 'FINAL_QUOTE_PUNCTUATION', //Pf: any kind of closing quote 'CONNECTOR_PUNCTUATION', //Pc: a punctuation character that connects words (eg underscore) 'OTHER_PUNCTUATION', //Po: any other kind of punctuation character 'FORMAT', //Cf: invisible formatting indicator 'CONTROL', //Cc: 65 ISO control characters (0x00..0x1F and 0x7F..0x9F) 'PRIVATE_USE', //Co: any code point reserved for private non-unicode use 'SURROGATE', //Cs: one half of a surrogate pair 'UNASSIGNED', //Cn: any code point to which no character has been assigne= d ] def stats=3D (0x0000..0xFFFF).groupBy{ Character.getType(it) } stats.entrySet().sort{ it.value.size }.reverse().each{ cat-> def keyName=3D Character.fields. find{ it.get() =3D=3D cat.key && it.name in catego= ries }.name println "$keyName: $cat.value.size" }=20
The surrogate category is divided into the high surrogates and the low s= urrogates. A Unicode supplementary character is represented by two Characte= rs, character= s as undefined characters.=20
assert Character.MIN_HIGH_SURROGATE =3D=3D 0xD800 && Character.MIN_SURROGATE =3D=3D 0xD800 assert Character.MAX_HIGH_SURROGATE =3D=3D 0xDBFF assert Character.MIN_LOW_SURROGATE =3D=3D 0xDC00 assert Character.MAX_LOW_SURROGATE =3D=3D 0xDFFF && Character.MAX_SURROGATE =3D=3D 0xDFFF assert Character.isSurrogatePair( Character.MIN_HIGH_SURROGATE, Character.MIN_LOW_SURROGATE ) assert Character.isHighSurrogate( Character.MIN_HIGH_SURROGATE ) assert Character.isLowSurrogate( Character.MIN_LOW_SURROGATE ) assert Character.MIN_CODE_POINT =3D=3D 0x0000 assert Character.MIN_SUPPLEMENTARY_CODE_POINT =3D=3D 0x10000 //an integer assert Character.MAX_CODE_POINT =3D=3D 0x10FFFF assert Character.isValidCodePoint( Character.MIN_CODE_POINT ) assert ! Character.isValidCodePoint( Character.MAX_CODE_POINT + 1 ) assert Character.isSupplementaryCodePoint( Character.MIN_SUPPLEMENTARY_CODE_POINT ) assert ! Character.isSupplementaryCodePoint( Character.MIN_SUPPLEMENTARY_CODE_POINT - 1 ) assert Character.charCount(0xFFFF) =3D=3D 1 //number of Characters needed to represent a certain integer as Unicode assert Character.charCount(0x10FFFF) =3D=3D 2 assert Character.isDefined(0xFFFD) assert ! Character.isDefined(0xFFFF) //doesn't include unassigned character= s assert Character.isDefined(0x10000)=20
To convert a Unicode character between a code point and a Character arra= y:=20
def minLowSurr=3D Character.MIN_LOW_SURROGATE, maxLowSurr=3D Character.MAX_LOW_SURROGATE, minHighSurr=3D Character.MIN_HIGH_SURROGATE, maxHighSurr=3D Character.MAX_HIGH_SURROGATE assert Character.toChars(0xFFFF).collect{ it as int }.toList() =3D=3D [0xFF= FF] //convert integer into array of Characters assert Character.toChars(0x10000).collect{ it as int }.toList() =3D=3D [minHighSurr as int, minLowSurr as int] assert Character.toChars(0x10FFFF).collect{ it as int }.toList() =3D=3D [maxHighSurr as int, maxLowSurr as int] def charArray=3D new char[6] //an array that can only contain Characters assert Character.toChars(0x10000, charArray, 2) =3D=3D 2 && charArray.collect{ it as int }.toList() =3D=3D=20 [0, 0, minHighSurr as int, minLowSurr as int, 0, = 0] charArray=3D new char[4] assert Character.toChars(0xFFFF, charArray, 1) =3D=3D 1 && charArray.collect{ it as int }.toList() =3D=3D [0, 0xFFFF, 0, 0] assert Character.toCodePoint(minHighSurr, minLowSurr) =3D=3D 0x10000 //converts surrogate pair to integer representation=20
We can enquire of code points in a char array or string:=20
def minLowSurr=3D Character.MIN_LOW_SURROGATE, minHighSurr=3D Character.MIN_HIGH_SURROGATE def ca1=3D ['a', 'b', 'c', minHighSurr, minLowSurr, 'e', 'f', 'g'] as char[= ] def ca2=3D ['a', 'b', 'c', 0xFFFF, 'e', 'f', 'g'] as char[] assert Character.codePointAt(ca1, 3) =3D=3D 0x10000 //beginning at index 3, look at as many chars as needed assert Character.codePointAt(ca2, 3) =3D=3D 0xFFFF assert Character.codePointAt(ca1, 3, 4) =3D=3D minHighSurr //extra parameter limits sequence of chars to index <4 assert Character.codePointAt(ca2, 3, 4) =3D=3D 0xFFFF assert Character.codePointBefore(ca1, 4) =3D=3D minHighSurr assert Character.codePointBefore(ca1, 5) =3D=3D 0x10000 //if low surrogate, look back more for high one, and use both assert Character.codePointBefore(ca1, 5, 4) =3D=3D minLowSurr //extra param limits lookback to index >=3D4 assert Character.codePointCount(ca1, 1, 5) =3D=3D 4 //number of code points in a subarray given by offset 1 and count 5 assert Character.codePointCount(ca1, 1, 4) =3D=3D 3 //lone high surr counted as 1 code point assert Character.offsetByCodePoints(ca1, 0, 6, 1, 3) =3D=3D 5 //index of ca1[0..<6] that's offset by 3 code points //versions of these methods exist for strings... def s1=3D 'abc'+ minHighSurr + minLowSurr +'efg' def s2=3D 'abcdefg' assert Character.codePointAt(s1, 3) =3D=3D 0x10000 //if high surrogate, add on low surrogate assert Character.codePointAt(s1, 4) =3D=3D minLowSurr //if low surrogate, use it only assert Character.codePointAt(s1, 5) =3D=3D 'e' as int assert Character.codePointAt(s2, 3) =3D=3D 'd' as int //enquire code point in string assert Character.codePointBefore(s1, 4) =3D=3D minHighSurr assert Character.codePointBefore(s1, 5) =3D=3D 0x10000 //if low surrogate, look back more for high one, and use both assert Character.codePointCount(s1, 1, 5) =3D=3D 3 //number of code points in a substring with indexes >=3D1 and <5 assert Character.offsetByCodePoints(s1, 1, 3) =3D=3D 5 //index from 1 that's offset by 3 code points=20
Every character also has a directionality:=20
def directionalities=3D [:] Character.fields.each{ if( it.name =3D~ /^DIRECTIONALITY_/ ) directionalities[ it.get() ]=3D it.= name } def stats=3D (0x0000..0xFFFF).groupBy{ Character.getDirectionality(it) } //will also work for supplementary chars stats.entrySet().sort{ it.value.size }.reverse().each{ dir-> def keyName=3D Character.fields. find{ it.get() =3D=3D dir.key && it.name in directionalitie= s.values() }.name println "$keyName: $dir.value.size" }=20
Every character is part of a Unicode block:=20
(0x0000..0xFFFF).groupBy{ Character.UnicodeBlock.of( it as char ) }. entrySet().sort{it.value.size}.reverse(). each{ println "$it.key: $it.value.size" } //this uses basic pla= ne only //this one uses supplementary characters also... (0x0000..0x10FFFF).groupBy{ Character.UnicodeBlock.of( it as int ) }. entrySet().sort{it.value.size}.reverse(). each{ println "$it.key: $it.value.size" } try{ Character.UnicodeBlock.of( 0x110000 ); assert 0 } catch(e){ assert e instanceof IllegalArgumentException }=20
Character assists integers using different radixes:=20
assert Character.MIN_RADIX =3D=3D 2 //the minimum and maximum radixes available for conversion to/from stri= ngs assert Character.MAX_RADIX =3D=3D 36 //0 to 9, and A to Z assert Character.forDigit(12, 16) =3D=3D 'c' //character representation for a digit in a certain radix assert Character.digit('c' as char, 16) =3D=3D 12 //digit of a character rep'n in a certain radix=20
We can find the Unicode block for a loosely-formatted textual descriptio= n of it:=20
[ 'BASIC LATIN', 'basic latin', 'BasicLatin', 'baSiclaTin', 'BaSiC LaTiN', 'BASIC_LATIN', 'BaSiC_LaTiN' ]. each{ assert Character.UnicodeBlock.forName(it).toString() =3D=3D 'BASIC_= LATIN' }=20
We can't represent Characters directly in our programs, but must constru= ct them from a string:=20
assert 'a'.class =3D=3D String def c1=3D 'a' as char, c2=3D (char)'b' //constructing def c3=3D new Character(c2), c4=3D c2.charValue() //cloning [c1, c2, c3, c4].each{ assert it.class =3D=3D Character } assert c2 =3D=3D c3 && c1 !=3D c2 assert c1 < c2 && c1.compareTo(c2) =3D=3D -1 //comparing works just the same as for numbers assert c2.toString().class =3D=3D String=20
There's a number of Character utility methods, accepting either a code p= oint or a basic-plane character, that test some attribute of the character:==20
def categories=3D [ 'digit': { Character.isDigit(it) }, 'letter': { Character.isLetter(it) }, 'letter or digit': { Character.isLetterOrDigit(it) }, 'identifier ignorable': { Character.isIdentifierIgnorable(it) }, //an ignorable character in a Java or Unicode identifier 'ISO control': { Character.isISOControl(it) }, //an ISO control character 'Java identifier part': { Character.isJavaIdentifierPart(it) }, //be part of a Java identifier as other than the first character 'Java identifier start': { Character.isJavaIdentifierStart(it) }, //permissible as the first character in a Java identifier 'Unicode identifier part': { Character.isUnicodeIdentifierPart(it) }, //be part of a Unicode identifier other than first character 'Unicode identifier start': { Character.isUnicodeIdentifierStart(it) }, //permissible as first character in a Unicode identifier 'lower case': { Character.isLowerCase(it) }, 'upper case': { Character.isUpperCase(it) },=20 'title case': { Character.isTitleCase(it) },=20 'space char': { Character.isSpaceChar(it) }, //a Unicode space character 'whitespace': { Character.isWhitespace(it) }, //white space according to = Java 'mirrored': { Character.isMirrored(it) }, //mirrored according to the Unicode spec ] def stats=3D [:] categories.keySet().each{ stats[it]=3D 0 } (0x0000..0xFFFF).each{ch-> //also works with supplementaries (0x0000..0x= 10FFFF) categories.each{cat-> if( cat.value(ch) ) stats[ cat.key ] +=3D 1 } } stats.entrySet().sort{ it.value }.reverse().each{ println "$it.key: $i= t.value" }=20
We can use characters instead of numbers in arithmetic operations:= =20
assert 'a' as char =3D=3D 97 && 'd' as char =3D=3D 100 assert ('a' as char) + 7 =3D=3D 104 && 7 + ('a' as char) =3D=3D 104 //either first or second arg assert ('a' as char) + ('d' as char) =3D=3D 197 //two chars assert ('a' as char).plus(7) =3D=3D ('a' as char) + 7 //alternative method = name assert ('a' as char) - 27 =3D=3D 70 && ('a' as char).minus(27) =3D= =3D 70 assert ('a' as char) * ('d' as char) =3D=3D 9700 && ('a' as char).multiply('d' as char) =3D=3D 9700 assert 450 / ('d' as char) =3D=3D 4.5 && 450.div('d' as char) =3D= =3D 4.5 assert 420.intdiv('d' as char) =3D=3D 4 assert ('a' as char) > 90 && ('a' as char).compareTo(90) =3D=3D = 1 assert 90 < ('a' as char) && 90.compareTo('a' as char) =3D=3D -1 assert ('a' as char) =3D=3D ('a' as char) && ('a' as char).compareTo('a' as char) =3D=3D 0=20
We can auto-increment and -decrement characters:=20
def c=3D 'p' as char assert c++ =3D=3D 'p' as char && c =3D=3D 'q' as char && c-- =3D=3D 'q' as char && c =3D=3D 'p' as char && ++c =3D=3D 'q' as char && c =3D=3D 'q' as char && --c =3D=3D 'p' as char && c =3D=3D 'p' as char assert c.next() =3D=3D 'q' && c.previous() =3D=3D 'o' && c = =3D=3D 'p'=20
Some miscellaneous methods:=20
assert Character.getNumericValue('6' as char) =3D=3D 6 assert Character.reverseBytes(0x37ae as char) =3D=3D 0xae37 as char assert Character.toUpperCase('a' as char) =3D=3D 'A' as char assert Character.toLowerCase('D' as char) =3D=3D 'd' as char assert Character.toTitleCase('a' as char) =3D=3D 'A' as char=20
|
http://docs.codehaus.org/exportword?pageId=75668
|
CC-MAIN-2014-52
|
en
|
refinedweb
|
Introduction
Test-driven development (TDD) is a key practice in agile software development. TDD is a style of coding where the desired behavior or specification is written first in the form of an executable example (typically as a JUnit test case). TDD is an iterative process and requires you to run the test cases after small incremental changes to the code during code development. Therefore, for TDD to be effective, you must run such quickly.
Currently, if you want to test your business logic that uses WebSphere business objects, you must deploy your code to a running server in order to run it. This makes TDD impractical. Wouldn’t it be simpler if you can develop your code and run your JUnit test cases in a simple Java SE environment without having to deploy the test cases to the server? This article shows you how to set up a simple Java SE development environment on any Eclipse-based integrated development environment (IDE). This environment allows you to work with business objects (create, manipulate, copy, compare, serialize, and so on). It then shows you how to use this development environment to implement a simple service-oriented architecture (SOA) business logic using the TDD way.
Sample project file
In the Download section, you will find the SampleProject.zip file. This file is the Java project that contains the completed source code, JUnit test case, and schema used in this article.
Set up the Eclipse development environment
You can use any Eclipse-based IDE. For example, you can use WebSphere Integration Developer or simply download the base Eclipse-IDE from the Eclipse.org site.
Follow these steps to set up the development environment:
- Start the Eclipse IDE and create a new workspace.
- Switch to the Java perspective.
- Select File > New > Java Project.
- Enter
BOJUnitas the Java Project name.
- Click the Configure JREs... link to open the preference dialog for Installed JREs as shown in Figure 1.
Figure 1. Installed JREs dialog
- Click the Add button to open the Add JRE dialog (see Figure 2).
- Select Standard VM as the JRE type, then click Next.
Figure 2. Add JRE dialog
- Click the Directory... button and browse to your WebSphere Process Server JRE directory. For example, select the
C:\W75\javadirectory if
C:\W75is your WebSphere Process Server (hereafter called Process Server) install location.
- Enter
WPS_JREas the JRE name and click Finish.
- Click OK to exit the preference dialog and return to the New Java Project dialog.
- Select the Use a project specific JRE radio button, and then select WPS_JRE you just defined.
- Click Next on the Java Settings page.
- Select the Libraries tab and the Add Library... button to open the Add Library dialog.
- Select JUnit > Next to open the JUnit Library dialog.
- Select JUnit4 as the JUnit version from the drop down list and click Finish.
- Back on the Java Settings page, select the Add Library... button to open the Add Library dialog. This time select User Library > Next to open the User Library dialog.
- Click User Libraries... > New... and enter
WPSas the user library name.
- Back on the User Library page, select WPS, then select the Add Jars... button.
- Select C:\W75\lib\bootstrap.jar (substitute
C:\W75with your Process Server install location).
- Back on the User Library page, select WPS and then select the Add Jars... button again.
- This time, select all the JAR files in the
C:\W75\pluginsdirectory (substitute
C:\W75with your Process Server install location) as shown in Figure 3.
Figure 3. WPS User Libraries
- Click OK > Finish.
- Back on Java Settings page, click the Order and Export tab as shown in Figure 4 and move WPS JRE to the bottom of the list.
Figure 4. Order and Export tab (for version 6.x)
- Click Finish.
For Process Server version 6.x, your development environment setup is complete.
For Process Server version 7 or higher, perform these additional steps:
- On the Java Settings page, select the Libraries tab.
- Click User Libraries... > New... and enter
FeaturePackas the user library name.
- On the User Library page, select FeaturePack, then select the Add Jars... button.
- Add these JARs s to the FeaturePack user library (substitute
C:\W75with your Process Server install location) as shown in Figure 5:
C:\W75\feature_packs\sca\sdoplugins\sdo_api.jar
C:\W75\feature_packs\sca\sdoplugins\sdoe.jar
C:\W75\feature_packs\sca\sdoplugins\sdox_api.jar
C:\W75\feature_packs\xml\plugins\com.ibm.xml.jar
Figure 5. FeaturePack User Libraries
- Click OK > Finish to return to the Java Settings page.
- Click the Order and Export tab and move the FeaturePack user library to the top of the list as shown in Figure 6.
Figure 6. Order and Export tab (for version 7.x)
- Click Finish.
This completes the setup of your development environment. With this environment, you can test business objects as if they are running in a Process Server environment. For example, you can create BOs, copy BOs, serialize BOs, and so on in this Java SE development environment. The following section shows an example of creating a customer BO, and then setting the name to this BO in the development environment.
Implement the business logic using the TDD way
This section uses a simple scenario to show how you can practice TDD using the development environment created in the previous section.
Scenario requirement
Develop a behavior in your SOA application’s business logic that can fully populate a customer business object with data. To make the scenario simple, you will only populate a customer BO with the first name and last name.
TDD work flow
This article assumes you are already familiar with TDD. The focus in this section is to show how you can practice TDD while developing business logic that uses business objects. The illustration in Figure 7 shows the steps to follow while using TDD as your coding style.
Figure 7. TDD style of the software development work flow
Writing the test case
The first step in TDD is to describe the required behavior in the form of an executable example. In other words, use a JUnit test case to capture the scenario requirement.
Follow these steps to create the JUnit test case:
- In the BOJunit Java project you created earlier, add a new Java class named CustomerTest.java. Click on File > New > Class.
- Copy and paste the code shown in Listing 1 into CustomerTest.java:
Listing 1. JUnit test class CustomerTest.java
importstatic org.junit.Assert.assertEquals; import org.junit.Test; import com.ibm.websphere.bo.BOFactory; import com.ibm.websphere.sca.ServiceManager; import commonj.sdo.DataObject; publicclass CustomerTest { @Test publicvoid populateCustomer() { BOFactory boFactory = (BOFactory) ServiceManager.INSTANCE.locateService ("com/ibm/websphere/bo/BOFactory"); DataObject dobj = boFactory.create("","Customer"); MyBusinessLogic myLogic = new MyBusinessLogic(); myLogic.populateCustomer(dobj, "John", "Doe"); assertEquals("John", dobj.get("firstName")); assertEquals("Doe", dobj.get("lastName")); } }
- Notice that there is compilation error as MyBusinessLogic class does not exist yet. Click the line MyBusinessLogic, and then press Ctrl + 1. On the context menu, select Create class “MyBusinessLogic” to have Eclipse automatically generate this class for you.
- Go back to the Java editor for CustomerTest.java. Now the compilation error occurs on
myLogic.populateCustomer. Click this line, then press Ctrl + 1. On the context menu, select the Create method
myLogic.populateCustomer(DataObject, String, String)in the type MyBusinessLogic to have Eclipse automatically generate this method for you.
- There should be no more compilation errors in the Java project. Now you can proceed to Step 2 of the TDD style of the software development work flow, which is to run the test case to failure. Right-click the Java editor for CustomerTest.java to open the context menu.
- Click Run as > JUnit test.
- As expected, the test failed with the following error message:
java.lang.NullPointerException. This is because you have not yet defined the Customer in a schema, which caused the boFacory.create method to return a null. Create the Customer.xsd file as shown in Listing 2, then copy and paste it to the
srcdirectory (you can put schemas and WSDLs in any directory, as long as it is in the classpath).
Listing 2. Customer.xsd schema
<?xml version="1.0" encoding="UTF-8"?> <schema targetNamespace="" xmlns=""> <complexType name="Customer"> <sequence> <element name="firstName" type="string" /> <element name="lastName" type="string" /> </sequence> </complexType> </schema>
- Repeat Steps 5 and 6 to rerun the JUnit test.
- This time, the test failed with the following error message:
java.lang.AssertionError: expected:<John> but was:<null>. This is expected as you have not implemented the business logic in the
MyBusinessLogic.populateCustomermethod. Implement this method with the code shown in Listing 3.
Listing 3. MyBusinessLogic.java
import commonj.sdo.DataObject; publicclass MyBusinessLogic { publicvoid populateCustomer(DataObject dobj, String firstName, String lastName) { dobj.set("firstName", firstName); dobj.set("lastName", lastName); } }
- Repeat Steps 5 and 6 to rerun the JUnit test. This time, the test case passed. This is Step 4 of the TDD style of the software development work flow. Given that you are just writing one test case and the business logic implementation is trivial in the example, there is no need to do Steps 5, 6, and 7 of the TDD style of the software development work flow.
As you can see from the steps described above, TDD is an iterative process and you can rely on running the JUnit test case after incremental code changes. The test result not only tells you whether the test case passed or failed, but also tells you what the problem is. This allows you to fix the problem one at a time (run test > failure > fix code > run test > failure > fix code > fix code > run test > success).
Conclusion
This article demonstrated how to set up a Java SE development environment to facilitate TDD of an SOA business logic that uses WebSphere business objects. This environment allows you to run JUnits test cases outside of the WebSphere Process Server environment. It also used a simple scenario to illustrate a TDD style of development. The end result is an implementation of the business logic required and a JUnit test case that can verify the behavior of the implementation.
Download
Resources
Learn
- Test-driven development in an SOA environment
- Test-driven development: A practical guide
- developerWorks WebSphere application connectivity.
|
http://www.ibm.com/developerworks/websphere/library/techarticles/1107_chung/1107_chung.html?ca=drs-
|
CC-MAIN-2014-52
|
en
|
refinedweb
|
24 April 2008 17:52 [Source: ICIS news]
NEW YORK (ICIS news)--Dow Chemical will continue to develop its “asset-light” strategy as it seeks to put more commodity assets into joint ventures, the company’s chief executive said on Thursday.
“You can expect Dow’s asset-light strategy to keep coming to life in terms of how we become number one in the world in competitiveness,” said chairman and CEO Andrew Liveris during the company’s first-quarter earnings conference call.
The expected close of Dow’s commodity chemicals joint venture with ?xml:namespace>
“Once that joint venture forms, it creates an interesting and potential future home for some of these pseudo-commodities,” Liveris said. “We don’t dismiss that, nor do we dismiss it in the Saudi Aramco [joint venture] opportunity.”
Dow will first seek to close the PIC joint venture and then look to expand its scope, he said.
“The opportunities to do more [in the joint venture] are clearly ‘top of mind’ for both of us,” said Liveris.
In February, Dow announced the creation of a new business unit called Dow Portfolio Optimization, which includes businesses it would seek to sell, restructure or put into joint ventures.
The units include Saran products and specialty films, polycarbonate (PC), compounds and blends, synthetic rubber and specialty copolymers.
|
http://www.icis.com/Articles/2008/04/24/9119014/dow-to-continue-asset-light-strategy-liveris.html
|
CC-MAIN-2014-52
|
en
|
refinedweb
|
Thank U for providing this content
Post your Comment
Applet
Applet Write a Java applet that drwas a line between 2 points. The co-ordinates of 2 points should be passed as parametrs from html file. The color of the line should be red
applet problem - Applet
applet problem How can I create a file in client side by a java applet . Surely it will need a signed applet .But how can a signed applet create a file in the client side
applet servlet communication - Applet
();
}
}
}
3)Call this applet with the html file.
Java Applet Demo... project in eclipse and writing the applet code in ajava file which is present in src... in java file will reflect without copying into WebRoot. Hi Friend,
We
problem with applet plugin - Applet
problem with applet plugin hello friends,
iam using Eclipse IDE. i created one applet and i want to plugin that applet into webpage.. when i am...: com.ezsoft.applets.Upload.class
---------------------------------------
i saved that file in src
Applet issue
Applet issue Hello,
Can there be any problem in writing a file to the temp directory from a url using applet???
If some security problems are there please do post it for me
Creating a log in a text file - Applet
Creating a log in a text file Hey there,
I have created an applet that supports 4 different languages, and the applet needs to be runnable as an application. Therefore i have added it onto a frame. I need to create a text file
java - Applet
in the mail).i have display that file path in my applet form.am learner please send me...java i have button browse button in my applet form.when i click on browse button i have to go to file storage box(what ever files stored in my
unable to see the output of applet. - Applet
unable to see the output of applet. Sir,
I was going through the following tutorial
but the problem
Applet Tag Parameters,Applet Tag in HTML
directly to a Java applet.
Parameters are to applets what command-line... passed to the Java applet.
Retrieving Parameters Within the Applet... the applet's operation. APPLET parameters stored in the PARAM tag actually have little
The Java Applet Viewer
The Java Applet Viewer
Applet viewer is a command line program to run
Java applets...; the browser should be Java enabled.To create an applet, we need to define
Applet - Passing Parameter in Java Applet
Applet - Passing Parameter in Java Applet
Introduction
Java applet has the feature... page. Applet will
display "Hello! Java Applet"
if no parameter
Re : applet - AOP
Re : applet hi,
how to run applet using aspectj or Aspectwerkz... file in to
archive tag.
But this is answer for running applet at COMPILE TIME
weaving . i need to know how to run applet at Load
java applet run time error - Applet
java applet run time error Hi,
Im new to java applet.please help me. i have create a MPEG movie player in applet. when i run that program...
{
Player player = null;
/*String location="";
MediaLocator
problem of writing to a local file ( JApplet ) - Applet
file into the applet code it is not working, means when i click the Submit button...problem of writing to a local file ( JApplet ) Dear All,
I want to program a guestbook using java applets but now I have
problem of writing
Applet
Applet Write an applet to display a string in an applet. String should be passed as a parameter to an applet
Problem in show card in applet.
Problem in show card in applet. The following link contained the card demo with applet.... On Run as Java Applet then only show the Applet, not show any one card,hence any
core java - Applet
the applet with html file:
Java Applet Demo
Put your html file...core java how can draw a single line with mouse in applet.
please help me Hi Friend,
Create an applet 'SimpleDrawApplet.java
Applet
Applet Give the class hierarchy of an Applet class
applet
applet Explain different stages in the lifecycle of an applet with figure.
Stages of Applet:
Life cycle of an Applet:
init(): This method is called to initialized an applet
start(): This method is called after
Applet
Applet how to run an applet on a web browser
applet
applet What is the immediate superclass of the Applet class
Applet in Eclipse - Running Applet In Eclipse
in
Eclipse 3.0. An applet is a little Java program that runs inside a Web...->New->Project... from the menu bar to begin creating your Java applet... from the menu bar.
Step 7: Create java class file under
Applet
Applet Write a ava applet that sets blue color foreground and yellow color background at the start of an applet
servlet code - Applet
with the html file.
Java Applet Demo
Thanks...servlet code how to communicate between applet and servlet ... from the servlet to applet.
Here is the code of 'ServletExample.java
Applet
Applet Explain the start() and stop() methods of applet life cycle.
Start and Start method of Applet Life Cycle
Start () method: The start method of an applet is called after the initialization method init
core java - Applet
core java Namaste sir , how can draw a line in Applet. I want when...(MouseEvent evt) { }
}
Then call this applet with html file 'applet.html'.
Draw...; Hi Friend,
Create an applet 'SimpleDrawLine.java':
import java.awt.
Applet
Applet Write a short note on applet life cycle
file hendling through javaPushpendra Singh Bais January 16, 2012 at 12:53 PM
Thank U for providing this content
file hendling through javaPushpendra Singh Bais January 16, 2012 at 12:54 PM
Thank U for providing this content
Post your Comment
|
http://www.roseindia.net/discussion/20612-Java---Read-file-Applet.html
|
CC-MAIN-2014-52
|
en
|
refinedweb
|
Hi all,
This is a really simple question, but I can't seem to find an answer online. I'm just starting to learn C in order to programme my Raspberry Pi which will lead to my first robot. I've done a fair bit of programming in VB before, but C is completely new to me.
I'm literally starting at the beginning with the 'Hello World' text and my code is:
#include <stdio.h>
int main()
{
printf("Hello world!"\n);
When programming my "Official Arduino Robot" I have noticed that routines that would work on my previous robots need modification (this is under Arduino Sketch ver 1.05.)
Example: !
hi, im a twelve year old boy who is not an expert AT ALL, but knows the basics
i've made bristlebots, speaker tones, dc motor cars and other stuff
BUT
when i have to program in arduino UNO i just copy other codes from other people
cause... I dont know how to program at all!!!! i think arduino's language is c,and i don't know how to program
anybody knows how to program arduino
and can give me a little tutorial about key words and etcetera like setup, delay, control of dc motors sensor etc...
I have just had a chance to try the beta of RobotC (download it from their website:). You will get a 120 day trial (Nice!) It is still in Beta, but it looks really good.
So far, it downloads a chunk of code to the Arduino (I am usimg a Uno) that lets you debug (single step, etc) right on the Arduino!
There is supposed to be a simulator too, but I haven't tried it yet.
I would definitely call it "featue rich". The editor looks very nice too.
It is working now, thanks to everyone who helped me out!!!
I am trying to make my servo work,but if I start my arduino, with code and servo attached, it just goes to one position and stays there twitching. Can someone help me?
second try?
I've been playing with a IMU board(ADXL320/ADXRS401 IMU datasheet) from sparkfun.com.
A long time since my last post on this site... Anyway I've been experimenting a little with my Atmel Tiny26 uC today using AVR Studio 4 for development and the AVR ISP mkII programmer to program the uC.
|
http://letsmakerobots.com/taxonomy/term/2964
|
CC-MAIN-2014-52
|
en
|
refinedweb
|
This tutorial focuses on inspecting Vault data stored in Consul. Also, refer to Vault Limits and Maximums for known upper limits on the size of certain fields and objects, and configurable limits on others.
Vault creates and persists critical operational data, such as configuration, leases, roles, secrets, and write ahead logs to its storage. Gathering key facts about these operational data can often be extremely helpful when engaged in advanced troubleshooting.
Vault stores operational data as key/value pairs in a tree like hierarchy that can be visualized and thought of in a similar manner as an OS filesystem with respect to data organization.
Certain techniques used for inspecting and counting the data (such as recursive listing) are not currently possible solely within the context of the Vault HTTP API. With that in mind, this tutorial uses examples that gather details directly from the the underlying storage instead.
The examples provided here are directly applicable to the Consul storage backend, and include flavors for both the Consul HTTP API and
consul CLI.
- Notes and prerequisites
- New Vault server data example
- Secrets engine data
- Token and accessor data
- Lease data
- What about Enterprise Namespaces?
- Size of data on disk
- Summary
- Help and Reference
»Notes and prerequisites
Please pay attention to the following list of important notes and prerequisites before you begin.
This is not meant to be a comprehensive tutorial covering every possible type of data which could be found in Vault; rather, it is a means to help you get started in inspecting your Vault data in Consul.
Please be careful with the commands shown in this tutorial; to list all of the keys in a particular key/value path can be resource intensive on Consul, so do think about the impact your measuring can have, especially if using these techniques to inspect data a production Consul cluster.
To inspect Vault data in a Consul storage backend you can use the Consul HTTP API with tools like cURL and jq to fetch the information and process it. If it is available, you can also use a consul binary and
consul kvcommands instead of the Consul HTTP API. It is fine to use an open source
consulbinary for the command line interactions in this tutorial.
This tutorial uses examples from the root namespace; for details about inspecting data within other namespaces created using the Enterprise Namespaces feature, please see the What about Enterprise Namespaces? section.
The Consul server used requires an ACL token and uses TLS so URLs use the https protocol. The following environment variables are set as a convenience so that additional command flags are not required.
CONSUL_HTTP_ADDR: This value is the
address:portportion (i.e.
127.0.0.1:8500) of the full URL only.
CONSUL_HTTP_TOKEN: This value is an ACL token that provides suitable read capabilities for the Consul server cluster's key/value store
Here is an example of exporting those environment variables in the terminal session that we will use for the example commands.
$ export CONSUL_HTTP_ADDR=consul.tacobot.local:8500 \ CONSUL_HTTP_TOKEN=b4c0ffee-3b77-04af-36d6-738b697872e6
»New Vault server data example
Let's get to know some Vault data by viewing an actual example with descriptions of each element.
When Vault is first initialized and unsealed the persisted data will resemble this example taken from the output of the
tree utility on data which were migrated from Consul to a filesystem.
.├── core│ ├── _audit│ ├── _auth│ ├── _keyring│ ├── _local-audit│ ├── _local-auth│ ├── _local-mounts│ ├── _master│ ├── _mounts│ ├── _seal-config│ ├── _shamir-kek│ ├── cluster│ │ ├── _feature-flags│ │ └── local│ │ └── _info│ ├── hsm│ │ └── _barrier-unseal-keys│ └── wrapping│ └── _jwtkey├── logical│ └── 88b1f541-4420-246f-f782-9073fa2954a0│ └── _casesensitivity└── sys ├── policy │ ├── _control-group │ ├── _default │ └── _response-wrapping └── token ├── _salt ├── accessor │ └── _218c1ea028b3ad5cccc3aa8fe9b9e64f104abfe6 └── id └── _h8851b897cd124d37a4b6059169ea920c297ab8185f080e96b95a182eb1da1f2c
NOTE: These data represent that from a Vault version 1.7.2 server; your results could vary based on your Vault server version.
A total of 73 key/value pairs are present in this example, representing all of the data necessary for Vault to begin operations. A Vault server that is in production will have considerably more data and key/value pairs related to its specific auth methods, secrets engines, and so on.
Here is a brief explanation of each major branch and the elements within them from example.
- core: Items contained in core are critical and internal to Vault operations; these include data about internal auditing, authentication, keyring, mounts, the master key, the seal configuration, cluster information, HSM barrier unseal keys, seal wrapping, and more.
- index: This is local index data which can be used by the Performance Standby feature.
- index-dr: This is index data for the Disaster Recovery mode of Vault Enterprise Replication.
- logical: Dynamic secret configuration and static secrets are found here.
- sys: System data includes policy configuration along with tokens and their accessors.
- wal: Write ahead logs (WAL) are present in Vault Enterprise installations to support the Performance Standby feature and assist with enabling Enterprise Replication.
Those are the basics for now.
We will continue by inspecting secrets engine data.
»Secrets engine data
A common question about Vault secret data during support and operations troubleshooting scenarios is How many secrets do we currently have in Vault for this secrets engine?
To begin down the path of answering this question, let's develop some understanding of the secrets engine data storage structure with further examples.
Vault stores secrets engine data in the configured storage at the default path
/vault/logical/<UUID>/ where
<UUID> represents a unique identifier for the specific enabled secret backend.
If your Vault servers use a configured storage path value other than vault, you need to keep this in mind and use your actual path in the examples.
When a new Vault is initialized and unsealed, only the Identity secrets engine is configured and present in the storage as shown in the example data:
├── logical│ └── 88b1f541-4420-246f-f782-9073fa2954a0│ └── _casesensitivity
After Vault is further configured, the
logical path would be expected to contain more secrets engine data. For example, here is a tree view of example secrets engine data with detailed explanation of each element.
├── logical│ └── 88b1f541-4420-246f-f782-9073fa2954a0│ └── f030471f-1f42-6c61-9d42-179427741f49│ ├── _salt│ ├── _upgrading│ ├── archive│ │ └── _metadata│ ├── metadata│ │ └── _Fz2pkGY3Mo2Umyt7REtEpyNFJwWVrmS54tZbMBfbJDuuYhtcl6Wmgy1Byo7cqI8R3yUNkmtjAfb9Omw4mQJ│ ├── policy│ │ └── _metadata│ └── versions│ ├── 580│ │ └── _081e7244b38d5761da22c6958357d27cb28fc31a8d306e356bc371db1021f│ └── dfd│ └── _dca872765e8bb300874869f76994b3b7f5b811ea6103b2367cbe4261d55e4│ ├── 2788376d-7042-4737-1ebd-9f6391a01f4e│ │ ├── _ca│ │ ├── _crl│ │ ├── _urls│ │ ├── config│ │ │ └── _ca_bundle│ │ └── role│ │ └── _tacobot-root│ ├── b7183aba-6e64-e001-fe57-3e7e4508fc0c│ │ ├── _ca│ │ ├── _crl│ │ ├── _urls│ │ ├── certs│ │ │ ├── _17-57-81-3f-5f-08-43-00-79-97-b5-0c-b3-0e-5e-cd-49-a5-88-21│ │ │ └── _19-19-9f-17-91-3b-8d-da-77-c2-c2-f9-37-1a-4f-19-4c-5b-f2-9a│ │ ├── config│ │ │ └── _ca_bundle│ │ └── role│ │ └── _tacobot-int│ ├── cb1bfb31-3ccb-ef29-6352-874902c3a021│ │ ├── config│ │ │ ├── _mongodb│ │ │ └── _mysql│ │ └── role│ │ ├── _tacobot-mongodb-readonly│ │ └── _tacobot-mysql-readonly│ ├── d1689597-4f78-a30b-7532-e7806be9fcba│ │ └── _casesensitivity│ └── fbd73ad9-4f9c-45be-5be2-3758d04808af│ └── 9t7pwHwrPD0yiGuLKMHi912x│ └── _my-secret
The previous example shows paths for several secrets engines in the root namespace; here are details on each secrets engine and its associated elements:
- e2b7c3e2-3e21-3391-b73c-8a991a65789d A KV Secrets Engine - Version 2 containing internal configuration and metadata along with the secret data versions found under the
versionskey.
- 2788376d-7042-4737-1ebd-9f6391a01f4e A PKI secrets engine which represents the root Certificate Authority (CA). It contains the CA information, The Certificate Revocation List (CRL) data, the URL configuration, internal configuration (with a CA bundle), and a role in this case called tacobot-root.
- b7183aba-6e64-e001-fe57-3e7e4508fc0c A PKI secrets engine which represents the intermediate CA. It contains the CA information, The CRL data, the URL configuration, internal configuration (with a CA bundle), and a role in this case called tacobot-int. Note also that it has a
certskey with some certificate serial numbers present which represent the certificates issued from the tacobot-int role.
- cb1bfb31-3ccb-ef29-6352-874902c3a021 A Database Secrets Engine with configuration and roles for MongoDB and MySQL.
- d1689597-4f78-a30b-7532-e7806be9fcba An Identity Secrets Engine is the identity management solution for Vault and enabled by default. This secrets engine cannot be disabled or moved.
- fbd73ad9-4f9c-45be-5be2-3758d04808af A Cubbyhole Secrets Engine which is enabled by default. It cannot be disabled, moved, or enabled multiple times.
»Total secret count
You can get an approximate total count of keys (this includes secrets and their containing keys) across all currently enabled secrets engines with a command like this:
$ curl -s\?keys \ -H "X-Consul-Token: $CONSUL_HTTP_TOKEN" | \ jq '. | length'
The output that results should be just the count, for example:
42001
The output shows that these Vault data contain approximately 40,000 static secrets (and their containing keys/folders).
Use
consul kv with a command like the following to get the same result:
$ consul kv get -recurse -separator="" -keys vault/logical/ | wc -l
»Total count for all enabled secrets engines
You can get a nicely sorted count per enabled secrets engine with
consul kv like so:
$ consul kv get \ -recurse \ -keys \ -separator=" " \ vault/logical/ \ | awk -F"/" '{print $3}' | sort | uniq -c | sort -nr
This produces results like the following:
42000 e2b7c3e2-3e21-3391-b73c-8a991a65789d 1 fbd73ad9-4f9c-45be-5be2-3758d04808af
These results are somewhat atypical in their simplicity, but you could expect additional UUIDs and their key counts in a more densely configured Vault.
»Total count for a single secrets engine
If you'd prefer a count of only a specific secrets engine, you can alter the URL in your API query. For example, here is the command to grab the count of secrets in the Cubbyhole Secrets Engine only:
$ curl -s\?keys \ -H "X-Consul-Token: $CONSUL_HTTP_TOKEN" | \ jq '. | length'
Example output:
1
The Cubbyhole secrets engine with the UUID a54a02ec-e99c-bca7-248d-479a410159b8 contains just the one secret.
You can also get a count per secrets engine with
consul kv like this:
$ consul kv get \ -recurse \ -keys \ vault/logical/a54a02ec-e99c-bca7-248d-479a410159b8/ | wc -l
The output matches the API call output as expected.
1
»Token and accessor data
Active tokens and their accessors can be found under
vault/sys/token.
This a an example tree of paths from a minimal Vault instance for purposes of illustration:
sys└── token ├── _salt ├── accessor │ ├── _0f396549a86c562ab0a8a7d7f81eb7481f75ced6 │ ├── _2221c2b6f68acdea65f2da7ea68a131f1a5586a6 │ ├── _24fe37f933b5b32ec7a90c176d216478eaae7df6 │ ├── _5ca2e944d3f0ba556b5a610dc25fff2df2f9b600 │ ├── _d482863a44b91786a913d2773170df7db2e92a3c │ └── _fd7013db5298d314ae6b95aa100dd29ba43ec203 ├── id │ ├── _h11f74c2a6d66a40b47b70d5ed0a8a9b92bae8e9b6ad3eba466cc51e10ec16c94 │ ├── _h1e24e12f70cd74d13501fb71029ccc4d248d1722f545a052666e2a46cc8323f6 │ ├── _h2cd1083faad0ec4dce12a63b2f0637188909c2d25d2b33511f26b9bd716e95ad │ ├── _h66cdedfaed4899cb331253963f100ddfbf55e6dfd91fb744d5f01129dd8d1e3f │ ├── _h9569ccb2eb6ede2e549e73a8f64a09a629349e46fed867971848bd36a55efad7 │ └── _h9b70418b656d7b34e270580c9082e2c4d45d688eb35365289b3058138ca7e0f4 └── parent └── h66cdedfaed4899cb331253963f100ddfbf55e6dfd91fb744d5f01129dd8d1e3f └── _h1e24e12f70cd74d13501fb71029ccc4d248d1722f545a052666e2a46cc8323f6
You can get the total count of all active tokens in Vault like this:
$ curl -s\?keys \ -H "X-Consul-Token: $CONSUL_HTTP_TOKEN" | \ jq '. | length'
The output is the key count:
9001
or with
consul kv:
$ consul kv get -recurse -separator="" -keys vault/sys/token/id/ | wc -l9001
Likewise, you can get count of token accessors this way:
$ curl -s\?keys \ -H "X-Consul-Token: $CONSUL_HTTP_TOKEN" | \ jq '. | length'
The output is the key count:
9001
or with
consul kv:
$ consul kv get -recurse -separator="" -keys vault/sys/token/accessor/ | wc -l9001
»Lease data
The root path for Vault lease data in Consul is at
vault/sys/expire/.
Here is a an example tree of paths from a minimal Vault instance for purposes of illustration:
sys├── expire│ ├── id│ │ ├── auth│ │ │ ├── token│ │ │ │ └── create│ │ │ │ ├── _h1e3cc46d6597509414b45c097298d55bcfd22be45798865fef79e00fcf5a34b4│ │ │ │ └── _ha04379fb15fafefe0c7c8b04dd73bc45b1ca43e94bfe63bb55c6af1a7f0b89e1│ │ │ └── vaultron-approle│ │ │ └── login│ │ │ ├── _h11f74c2a6d66a40b47b70d5ed0a8a9b92bae8e9b6ad3eba466cc51e10ec16c94│ │ │ ├── _h2cd1083faad0ec4dce12a63b2f0637188909c2d25d2b33511f26b9bd716e95ad│ │ │ ├── _h9569ccb2eb6ede2e549e73a8f64a09a629349e46fed867971848bd36a55efad7│ │ │ └── _h9b70418b656d7b34e270580c9082e2c4d45d688eb35365289b3058138ca7e0f4│ │ └── vaultron-database│ │ └── creds│ │ └── mongodb-root-ns-readonly│ │ ├── _1cvqF35LKbwkYKZnGihsy2bN│ │ ├── _DD9avdMp60JNwcsAffEzq7Dy│ │ ├── _fdhBSDWTCbwYoHieME6dn4ZR│ │ └── _m4Q7d0laIHkkfS9GclJ8URsV│ └── token│ └── h66cdedfaed4899cb331253963f100ddfbf55e6dfd91fb744d5f01129dd8d1e3f│ ├── _25dccca168f94a6037281c9a80c2ebc312bbb976│ ├── _52b0e614bd3ee6cd556e4bb22d8db191de8e4abc│ ├── _68203006c10066f7b33bfe97e059d319e663522e│ ├── _807660937903a6e9fcae1837da6ef2217263d8df│ ├── _h5ae308eab7ecee4878ce9116af3eceb48f7db4ecfb9f0793da20911f002acef1│ ├── _h927c982ada4cb8a867ef85fc092652e6750c89a9761cddd3c8c9b63118e194a8│ ├── _hdeb7e7109170c0c66fb556421812e10d3d1793f13255e7f6e26cbbb9a1caa187│ └── _hfe5e69e03527214bfd3996598c0f64c7fcefcd93f4c14411f5ba6e2245ced183
This represents all valid leases in Vault which can be eventually expired, and is broken down further by different auth methods and role paths. The previous example shows leases for the root namespace including credentials from the Token Auth Method, the AppRole Auth Method, and MongoDB Database Secrets Engine.
You can obtain a total lease count with:
$ curl -s\?keys \ -H "X-Consul-Token: $CONSUL_HTTP_TOKEN" | \ jq '. | length'
The output is the key count:
40238
or with
consul kv:
$ consul kv get -recurse -separator="" -keys vault/sys/expire/id/ | wc -l40238
NOTE: This does not represent leases which have actually expired, only those that are pending an eventual expiration. This count can be close to but not typically identical to the active tokens count.
If you want a count for a specific auth method, such as AppRole, use its path instead:
$ curl -s\?keys \ -H "X-Consul-Token: $CONSUL_HTTP_TOKEN" | \ jq '. | length'
The output is the key count:
114598
or with
consul kv:
$ consul kv get \ -recurse \ -separator="" \ -keys vault/sys/expire/id/auth/approle/login/ \ | wc -l114598
»Role path
If you're interested in the number of active leases associated with a given role, you can use the role's path.
For example, with the Database Secrets Engines, let's say you have the following roles defined:
- mongodb-readonly
- mysql-readonly
- postgresql-readonly
The roles will be present by name in the Consul key/value store at the following path:
/v1/kv/vault/sys/expire/id/database/creds/
You can count leases in this path with the Consul HTTP API like this:
$ curl -s\?keys \ -H "X-Consul-Token: $CONSUL_HTTP_TOKEN" | \ jq '. | length'
The output is the key count:
8658
or with
consul kv:
$ consul kv get \ -recurse \ -separator="" \ -keys vault/sys/expire/id/database/creds/mongodb-readonly/ \ | wc -l
The output is the key count:
8658
The output shows that we have 8658 leases under the mongodb-readonly role at the moment.
»What about Enterprise Namespaces?
Beginning with Vault Enterprise version 0.11.0, the concept of Namespaces was introduced.
This changes the previous procedures slightly, in that each namespace will encapsulate its own leases and tokens in paths under the namespace internal storage path name, which you should note is not the same as its user-configured name.
This an example tree of paths from a minimal Vault instance for purposes of illustration:
├── namespaces│ ├── 3E5Y0│ │ └── sys│ │ ├── expire│ │ │ └── id│ │ │ ├── auth│ │ │ │ └── approle│ │ │ │ └── login│ │ │ │ ├── _h77ec2e32d144d6d75873a8b2098996b14ee70ed18addf6a4f5dd99d678d28b0b.3E5Y0│ │ │ │ ├── _h8fba78bf0d4e497eb662709bf9e0f1e1ae0b053ec7cb3dbd3bc45ec76c66b693.3E5Y0│ │ │ │ ├── _hf15a2ad701c9ec86089a5eb4704d2fbbbcff1fe66d118d005107a7dc83fb21ec.3E5Y0│ │ │ │ └── _hf2b6bbafc5db6125191e09cbc7eaee9a080953217df4a105601c1fbf8b8ce492.3E5Y0│ │ │ └── database│ │ │ └── creds│ │ │ └── mongodb-example-namespace-readonly│ │ │ ├── _HoNqW43Gy4N5Mbg3LzOEpuLa.3E5Y0│ │ │ ├── _OKHi04a98CLO2CYMMXHwduNj.3E5Y0│ │ │ ├── _YbfCjSZKwHUJeoAB31wIwn7f.3E5Y0│ │ │ └── _nNcN5KNlzh47JwhmGVMIMvkV.3E5Y0│ │ ├── policy│ │ │ ├── _control-group│ │ │ ├── _default│ │ │ └── _response-wrapping│ │ └── token│ │ ├── _salt│ │ ├── accessor│ │ │ ├── _h61e29be9d79c1d597cefab1ae8242fc8dffa6cb72ea1514260f1250632401638│ │ │ ├── _ha6ddbad7b6237b0de4c03faf9cb82ae87aca4a8912b9c4b09c9f6b00dbe7c32e│ │ │ ├── _ha9d7d995ddc93c4e136d686fc24ef4ca9f28e4793358b49e68c7e70e13843815│ │ │ └── _he05dc5ca4f1ba60b20e406d4215d4d469a2a26231fab8f5067a97893147d95ea│ │ └── id│ │ ├── _h77ec2e32d144d6d75873a8b2098996b14ee70ed18addf6a4f5dd99d678d28b0b│ │ ├── _h8fba78bf0d4e497eb662709bf9e0f1e1ae0b053ec7cb3dbd3bc45ec76c66b693│ │ ├── _hf15a2ad701c9ec86089a5eb4704d2fbbbcff1fe66d118d005107a7dc83fb21ec│ │ └── _hf2b6bbafc5db6125191e09cbc7eaee9a080953217df4a105601c1fbf8b8ce492│ └── _info
The actual user-configured namespace name is example-namespace, but this is stored internally as a short unique identifier instead; in the case of our above example, this is value 3E5Y0.
Once you have determined the storage path for the namespace, you can then compose similar commands as those previously shown against the root namespace with your namespaces.
For example, to determine the lease count for all of the AppRole leases in the example-namespace/3E5Y0 namespace with cURL, you must specify the user-specified namespace as the header X-Vault-Namespace value:
$ curl -s \ \ -H "X-Consul-Token: $CONSUL_HTTP_TOKEN" \ -H "X-Vault-Namespace: example-namespace" \ | jq '. | length'
The output is the key count:
19470
or with
consul kv with the namespace storage path name:
$ consul kv get \ -recurse \ -separator="" \ -keys vault/namespaces/3E5Y0/sys/expire/id/auth/approle/login/ \ | wc -l
The output is the key count:
19470
Likewise for a count of active tokens:
$ curl -s \ $CONSUL_HTTP_ADDR/v1/kv/vault/sys/token/id/?keys \ -H "X-Consul-Token: $CONSUL_HTTP_TOKEN" \ -H "X-Vault-Namespace: example-namespace" \ | jq '. | length'
The output is the key count:
19472
or with
consul kv and the namespace storage path name:
$ consul kv get \ -recurse -separator="" \ -keys vault/namespaces/3E5Y0/sys/token/id/ \ | wc -l
The output is the key count:
19472
»Size of data on disk
Consul provides a handy way to get the size of all Vault secrets on disk in the
consul kv export command.
You can export the path corresponding to the keys (
vault/logical/ by default) with a command like this:
$ consul kv export vault/logical/ > vault_secrets.json
Then you can inspect the size of the resulting JSON file for an approximate idea of the size of your secrets on disk:
$ ls -lh vault_secrets.json-rw-r--r-- 1 consul consul 204K Oct 20 09:27 vault_secrets.json
There are currently 1000 secrets plus their containing key for the KV (formerly "Generic") secret backend. You can use
jq and
ls to show the secret count and approximate size on disk with this command:
$ JSON=vault_secrets.json ; \echo $JSON: `jq '. | length' $JSON ; ls -lh $JSON | awk '{print $5}'`
which results in:
vault_secrets.json: 1001 204K
The output shows that my 1000 total secrets occupy approximately 204KB on disk.
You can also use the techniques shown above, to narrow your
consul kv export to a particular secret backend, thereby measuring only those secrets instead of all secrets in total.
This technique can also be used for tokens by exporting the proper token key space and measuring the resulting file size, too:
Retrieve the KV pairs at the
vault/sys/token/id/ path and save the results in a file,
tokens.json.
$ consul kv export vault/sys/token/id/ > tokens.json
The following command uses
jq to calculate the number of records in the
tokens.json.
$ JSON=tokens.json ; \echo $JSON: `jq '. | length' $JSON ; ls -lh $JSON | awk '{print $5}'`tokens.json: 501 334K
Keep in mind that namespaces will alter the above paths. If you are unclear about this, please review the What about Enterprise Namespaces? section for more details.
»Summary
In this article we learned about how Vault stores its operational data along with techniques for gathering basic information about them with respect to counts and sizes. You should be able to use what you have learned here as a starting point in inspecting and measuring the characteristics most important to you about your Vault data.
|
https://learn.hashicorp.com/tutorials/vault/inspecting-data-consul
|
CC-MAIN-2021-39
|
en
|
refinedweb
|
Object orientated programming fits extremely well with GUI programming. Using OOP, we can easily make reusable GUI components. This post shows off a quit button that confirms if the user really wants to exit the application. I got the idea from Programming Python: Powerful Object-Oriented Programming
. Here is my implementation of the idea followed by the explanation.
from tkinter import * from tkinter.messagebox import * class TkQuitButton(Frame): def __init__(self, master=None, auto_pack=True, # Pack the widget automatically? dialog_title='Confirm', # Title text for the askyesno dialog dialog_message='Are you sure you want to quit?', # Message for the askyesno dialog button_text='Quit', # The quit button's text quit_command=Frame.quit, # Callback command for when the user wants to quit cnf={}, **kw): super().__init__(master, cnf, **kw) # Store our fields for later user self.quit_command = quit_command self.dialog_message = dialog_message self.dialog_title = dialog_title self.quit_button = Button(self, text=button_text, command=self.quit) # Notice that self.quit_button is exposed. This can be useful for when # the client code needs to configure this frame on its own if auto_pack: self.pack_widget() # This let's us override the packing def pack_widget(self): self.pack() self.quit_button.pack(side=LEFT, expand=YES, fill=BOTH) def quit(self): # Call the askyesno dialog result = askyesno(self.dialog_title, self.dialog_message) if result: # if they quit, then execute the stored callback command self.quit_command(self) if __name__ == '__main__': TkQuitButton().mainloop()
This class extends the Frame class and packs a button into the frame. There are a few configuration properties that can be passed into the constructor. For example, we can auto_pack the widget so that it uses a default packing scheme. We can specifiy a custom title for the askyesno dialog as well as a custom message. The code even lets use customize the text of the button. We can also use a custom quit handler function should we choose to do so.
We can customize how the widget is packed in two different ways. The first way to access the quit_button property and call pack on it directly. This allows client code to change how this widget is packed into their GUIs. Alternatively, we can subclass this class and just override the pack_widget method.
The default quit implementation uses Tk’s askyesno dialog function to display a confirmation dialog to the user. It’s title and message are set to self.dialog_title and self.dialog_message properties. This allows use to customize what the user sees when the dialog is displayed. If the user presses yes, then we call the self.quit_command function which defaults to Frame.quit. Note that since self.quit is a method, we can customize this behavior by overriding it. Since we use a callback handler to exit the applicaiton, we can also customize how the application exits as well.
|
https://stonesoupprogramming.com/2018/01/30/python-advanced-quit-button/?shared=email&msg=fail
|
CC-MAIN-2021-39
|
en
|
refinedweb
|
Indentation LexicalIndentation Lexical
This is a lexical component that can be used instead of
StdLexical to build a parser for a language that has "indentation syntax" or "off-side rule syntax".
Refer to
ToyParser.scala in the project as an example of how to add this to your parser. There is nothing special about the "toy" language that has been included: it doesn't even have loop constructs or a way to define functions. It was just created to demonstrate how to use
class IndentationLexical.
In
ToyParser.scala, the main source lines of interest are
def parse( r: Reader[Char] ) = phrase( source )( lexical.read(r) ) import lexical.{Newline, Indent, Dedent}
Although
IndentationLexical extends
StdLexical, you do not create an instance of
Scanner as you would normally.
IndentationLexical has it's own scanner.
|
https://index.scala-lang.org/edadma/indentation-lexical/indentation-lexical/0.5?target=_2.11
|
CC-MAIN-2021-39
|
en
|
refinedweb
|
Force a crash to test your implementation
Add code to your app that you can use to force a test crash.
You can use the following code to add a button to your app that, when pressed, causes a crash. The button is labeled "Test Crash".
Swift
import UIKit("Test Crash", for: []) button.addTarget(self, action: #selector(self.crashButtonTapped(_:)), for: .touchUpInside) view.addSubview(button) } @IBAction func crashButtonTapped(_ sender: AnyObject) { let numbers = [0] let _ = numbers[1] } }
Objective-C
#import "ViewController.h" @implementation ViewController ‐ :@"Test Crash" forState:UIControlStateNormal]; [button addTarget:self action:@selector(crashButtonTapped:) forControlEvents:UIControlEventTouchUpInside]; [self.view addSubview:button]; } ‐ (IBAction)crashButtonTapped:(id)sender { @[][1]; } @end
Build and run your app in Xcode. Use the following steps to ensure that your test device or simulator is disconnected from the Xcode debugger (which interferes with Crashlytics).
ClickBuild and then run the current scheme to build your app on a test device or simulator.
Wait until your app is running, then clickStop running the scheme or action to close the initial instance of your app. This initial instance included the debugger that interferes with Crashlytics.
Force the test crash in order to send your app's first crash report:
Open your app from the home screen of your test device or simulator.
In your app, press the "Test Crash" button that you added using the code above.
After your app crashes, run it again from Xcode so that your app can send the crash report to Firebase.
Go to the Crashlytics dashboard of the Firebase console to see your test crash.
If you've refreshed the console and you're still not seeing the test crash after five minutes,.
|
https://firebase.google.com/docs/crashlytics/test-implementation?authuser=1
|
CC-MAIN-2021-39
|
en
|
refinedweb
|
Provided by: libcurl4-gnutls-dev_7.22.0-3ubuntu4_amd64
NAME
curl_share_init - Create a shared object
SYNOPSIS
#include <curl/curl.h> CURLSH *curl_share_init( );
DESCRIPTION
This function returns a CURLSH handle to be used as input to all the other share- functions, sometimes referred to as a share handle.
RETURN VALUE
If this function returns NULL, something went wrong (out of memory, etc.) and therefore the share object was not created.
SEE ALSO
curl_share_cleanup(3), curl_share_setopt(3)
|
http://manpages.ubuntu.com/manpages/precise/en/man3/curl_share_init.3.html
|
CC-MAIN-2021-39
|
en
|
refinedweb
|
Conceptualizing Haar cascades
When we talk about classifying objects and tracking their location, what exactly are we hoping to pinpoint? What constitutes a recognizable part of an object?
Photographic images, even from a webcam, may contain a lot of detail for our (human) viewing pleasure. However, image detail tends to be unstable with respect to variations in lighting, viewing angle, viewing distance, camera shake, and digital noise. Moreover, even real differences in physical detail might not interest us for the purpose of classification. I was taught in school, that no two snowflakes look alike under a microscope. Fortunately, as a Canadian child, I had already learned how to recognize snowflakes without a microscope, as the similarities are more obvious in bulk.
Thus, some means of abstracting image detail is useful in producing stable classification and tracking results. The abstractions are called features, which are said to be extracted from the image data. There should be far fewer features than pixels, though any pixel might influence multiple features. The level of similarity between two images can be evaluated based on distances between the images’ corresponding features. For example, distance might be defined in terms of spatial coordinates or color coordinates. Haar-like features are one type of feature that is often applied to real-time face tracking. They were first used f or this purpose by Paul Viola and Michael Jones in 2001. Each Haar-like feature describes the pattern of contrast among adjacent image regions. For example, edges, vertices, and thin lines each generate distinctive features. For any given image, the features may vary depending on the regions’ size, which may be called the window size. Two images that differ only in scale should be capable of yielding similar features, albeit for different window sizes. Thus, it is useful to generate features for multiple window sizes. Such a collection of features is called a cascade. We may say a Haar cascade is scale-invariant or, in other words, robust to changes in scale. OpenCV provides a classifier and tracker for scale-invariant Haar cascades, whic h it expects to be in a certain file format. Haar cascades, as implemented in OpenCV, are not robust to changes in rotation. For example, an upside-down face is not considered similar to an upright face and a face viewed in profile is not considered similar to a face viewed from the front. A more complex and more resource-intensive implementation could improve Haar cascades’ robustness to rotation by considering multiple transformations of images as well as multiple window sizes. However, we will confine ourselves to the implementation in OpenCV.
Getting Haar cascade data
As part of your OpenCV setup, you probably have a directory called haarcascades. It contains cascades that are trained for certain subjects using tools that come with OpenCV. The directory’s full path depends on your system and method of setting up OpenCV, as follows:
- Build from source archive:: <unzip_destination>/data/haarcascades
- Windows with self-extracting ZIP:<unzip_destination>/data/haarcascades
- Mac with MacPorts:MacPorts: /opt/local/share/OpenCV/haarcascades
Mac with Homebrew:The haarcascades file is not included; to get it, download the source archive
- Ubuntu with apt or Software Center: The haarcascades file is not included; to get it, download the source archive
If you cannot find haarcascades, then download the source archive from (or the Windows self-extracting ZIP from 2.4.3/OpenCV-2.4.3.exe/download), unzip it, and look for <unzip_destination>/data/haarcascades.
Once you find haarcascades, create a directory called cascades in the same folder as cameo.py and copy the following files from haarcascades into cascades:
haarcascade_frontalface_alt.xml
haarcascade_eye.xml
haarcascade_mcs_nose.xml
haarcascade_mcs_mouth.xml
As their names suggest, these cascades are for tracking faces, eyes, noses, and mouths. They require a frontal, upright view of the subject. With a lot of patience and a powerful computer, you can make your own cascades, trained for various types of objects.
Creating modules
We should continue to maintain good separation between application-specific code and reusable code. Let’s make new modules for tracking classes and their helpers.
A file called trackers.py should be created in the same directory as cameo.py (and, equivalently, in the parent directory of cascades ). Let’s put the following import statements at the start of trackers.py:
import cv2
import rects
import utils
Alongside trackers.py and cameo.py, let’s make another file called rects.py containing the following import statement:
import cv2
Our face tracker and a definition of a face will go in trackers.py, while various helpers will go in rects.py and our preexisting utils.py file.
|
https://hub.packtpub.com/tracking-faces-haar-cascades/
|
CC-MAIN-2021-39
|
en
|
refinedweb
|
On Tue, Oct 6, 2015 at 7:30 PM, Nathaniel Smith <njs at pobox.com> wrote: > [splitting this off into a new thread] > > On Tue, Oct 6, 2015 at 3:00 AM, David Cournapeau <cournape at gmail.com> > wrote: > [...] > > I also agree the current situation is not sustainable -- as we discussed > > privately before, cythonizing numpy.core is made quite more complicated > by > > this. I have myself quite a few issues w/ cythonizing the other parts of > > umath. I would also like to support the static link better than we do now > > (do we know some static link users we can contact to validate our > approach > > ?) > > > > Currently, what we have in numpy core is the following: > > > > numpy.core.multiarray -> compilation units in numpy/core/src/multiarray/ > + > > statically link npymath > > numpy.core.umath -> compilation units in numpy/core/src/umath + > statically > > link npymath/npysort + some shenanigans to use things in > > numpy.core.multiarray > > There are also shenanigans in the other direction - supposedly umath > is layered "above" multiarray, but in practice there are circular > dependencies (see e.g. np.set_numeric_ops). > Indeed, I am not arguing about merging umath and multiarray. > > I would suggest to have a more layered approach, to enable both 'normal' > > build and static build, without polluting the public namespace too much. > > This is an approach followed by most large libraries (e.g. MKL), and is > > fairly flexible. > > > > Concretely, we could start by putting more common functionalities (aka > the > > 'core' library) into its own static library. The API would be considered > > private to numpy (no stability guaranteed outside numpy), and every > exported > > symbol from that library would be decorated appropriately to avoid > potential > > clashes (e.g. '_npy_internal_'). > > I don't see why we need this multi-layered complexity, though. > For several reasons: - when you want to cythonize either extension, it is much easier to separate it as cython for CPython API, C for the rest. - if numpy.core.multiarray.so is built as cython-based .o + a 'large' C static library, it should become much simpler to support static link. - maybe that's just personal, but I find the whole multiarray + umath quite beyond manageable in terms of intertwined complexity. You may argue it is not that big, and we all have different preferences in terms of organization, but if I look at the binary size of multiarray + umath, it is quite larger than the median size of the .so I have in my /usr/lib. I am also hoping that splitting up numpy.core in separate elements that communicate through internal APIs would make participating into numpy easier. We could also swap the argument: assuming it does not make the build more complex, and that it does help static linking, why not doing it ? David -------------- next part -------------- An HTML attachment was scrubbed... URL: <>
|
https://mail.python.org/pipermail/numpy-discussion/2015-October/073881.html
|
CC-MAIN-2021-39
|
en
|
refinedweb
|
This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
On Thu, Dec 06, 2007 at 08:31:17PM -0800, Mark Mitchell wrote: > Jakub Jelinek wrote: > > > The following patch (which obsoletes my earlier 34238 patch) fixes all of > > this, but letting cgraph_optimize actually emit all the vars into assembly > > and only checking afterwards if we emitted something we shouldn't, which > > seems to be much more reliable. > > The diagnostic is not about what the compiler happens to end up spitting > out; it's about the user's program. If you do: > > namespace { struct A { static int i; }; } > static int foo() { return A::i; } > > the program is still erroneous, even though the compiler may likely > optimize away foo, and the reference to A::i. That's true, but the standard explicitly says the diagnostic is not required. With struct A { static int i; }; static int foo() { return A::i; } int main () {} as whole program we wouldn't diagnose this either. To me it is more important that we don't error on valid programs (especially a lot of boost using code is broken), and when all references are optimized out, no real harm is done, compiler doesn't make up something unexpected. When compiler puts it into bss, it can e.g. do so even for objects that need constructing, without running any constructors on it etc. That's something that should be warned about. If we have some bit which we can really rely on to be set reliably for these purposes, then the warning can be precise, but TREE_USED is unfortunately not it. BTW, is the boost testcase valid? template<typename T, typename U> struct C { static T ca; static const int value = sizeof (D<U>::foo (ca, 0)) == sizeof (int); }; is instantiated with T in anon namespace (so ca is also limited to current CU), but it is (intentionally) never defined and only used in sizeof expression. [class.static.data]/5 says "There shall be exactly one definition of a static data member that is used in a program" but it is not clear (at least to me) what exactly counts as use. Boost certainly wouldn't like to pollute bss of programs with many (sometimes big) variables that nobody ever uses. I'm afraid I don't know the FE enough to further improve this warning without breaking valid programs, so the other possibility for me is just to back out the original patch and leave this can of worms to you/Jason. Though, waiting for that in a state which at least errors out when real harm is done rather than being silent even for those cases is IMHO preferrable. Jakub
|
https://gcc.gnu.org/ml/gcc-patches/2007-12/msg00311.html
|
CC-MAIN-2019-43
|
en
|
refinedweb
|
.
To get started with this API, you’ll need to create
from google.cloud import pubsub client = pubsub.Client() topic = client.topic('topic_name') topic.create() topic.publish('this is the message_payload', attr1='value1', attr2='value2')
Project details
Release history Release notifications
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|
https://pypi.org/project/google-cloud-pubsub/0.20.0/
|
CC-MAIN-2019-43
|
en
|
refinedweb
|
A newb programmer here
I have a project involving pedestrian simulation
I'm planning to use libpedsim.dll in python with Ctypes but so far I cannot make the functions working
Can anyone point out how to make use of this DLL?
This is the class documentation:
This is the link for the download:
I tried to call it this way but it said that the function is not found
from ctypes import *
pedsim = cdll.libpedsim
print pedsim
pedsim.TScene()
|
https://www.daniweb.com/programming/software-development/threads/451367/need-help-in-using-c-library-in-python
|
CC-MAIN-2019-43
|
en
|
refinedweb
|
Authors: Sriharsha Chintalapani, Suresh Srinivas, Ying Zheng, Satish Duggana
Status
Current State: Discussion
Discussion Thread: Discuss Thread
JIRA: - KAFKA-7739Getting issue details... STATUS
Motivation as a long-term storage service.
Kafka local storage and operational complexity.
Kafka in cloud.
Solution - Tiered storage for Kafka.
Goal.
Non-Goals
Tiered storage does not replace ETL pipelines and jobs. Existing ETL pipelines continue to consume data from Kafka as is, albeit with data in Kafka having much longer retention period.
High-level design
Remote Log Manager (RLM) is a new component that copies the completed LogSegments and corresponding OffsetIndex to remote tier.
- RLM component will keep tracks of topic-partition and its segments. It will delegate the copy and read of these segments to pluggable storage manager implementation.
- RLM has two modes:
- RLM Leader - In this mode, RLM that is the leader for topic-partition, checks for rolled over LogSegments and copies it along with OffsetIndex to the remote tier. RLM creates an index file, called RemoteLogSegmentIndex, per topic-partition to track remote LogSegments. Additionally, RLM leader also serves the read requests for older data from the remote tier.
- RLM Follower - In this mode, RLM keeps track of the segments and index files on remote tier and updates its RemoteLogSegmentIndex file per topic-partition. RLM follower does not serve reading old data from the remote tier.
Core Kafka changes
To satisfy the goal of keeping Kafka changes minimal when RLM is not configured, Kafka behavior remains unchanged for existing users.
- Core Kafka starts RLM service if tiered storage is configured
- When an offset index is not found, if RLM is configured, the read request is delegated to RLM to serve the data from the remote tier.
Serving Data from Remote Storage.
Manage Remote Log Segments Info in Followers:
- the follower received the corresponding segment data info from remote storage and updated its index files
- the local files are already older than the configured remote retention time.
Public Interfaces
Compacted topics will not have remote storage support.
Configs
RemoteLogManager (RLM).
class RemoteLogManager extends Configurable { val RemoteStorageManager // configure def configure(Map<String, ?> configs) // Ask RLM to monitor the given TopicPartitions, and copy inactive Log // Segments to remote storage. RLM updates local index files once a // Log Segment in a TopicPartition is copied to Remote Storage def addPartitions(topicPartitions: Set[TopicPartition]): boolean // Stops copy of LogSegment if TopicPartition ownership is moved from a broker. def removePartitions(topicPartitions: Set[TopicPartition]): boolean // Read topic partition data from remote def read(fetchMaxByes: Int, hardMaxBytesLimit:Boolean, readPartitionInfo: Seq[(TopicPartition, PartitionData)]): LogReadResult // Stops all the threads and closes the instance. def shutdown(): Unit }
Remote Storage Manager:.
Note: Early proposal. To be finalized during implementation.
Trait RemoteStorageManager extends Configurable { // Configure def configure(Map<String, ?> configs) // Copies LogSegment provided by the RLM // Returns the RDIs of the remote data // This method is used by the leader def copyLogSegment(logSegment: LogSegment): (boolean, Seq[RemoteLogIndexEntry]) // List the remote log segment files of the specified topicPartition // The RLM of a follower uses this method to find out the remote data def listRemoteSegments(topicPartition: TopicPartition): Seq[RemoteLogSegmentInfo] // Called by the RLM of a follower to retrieve RemoteLogIndex entries // of the new remote log segment def getRemoteLogIndexEntries(remoteLogSegment: RemoteLogSegmentInfo): Seq[RemoteLogIndexEntry]) // Deletes remote LogSegment file provided by the RLM def deleteLogSegment(remoteLogSegment: RemoteLogSegmentInfo): boolean // read topic partition data from remote storage, // starting from the given offset. def read(remoteLocation: RDI, maxBytes: Int, offset: Int): LogReadInfo // stops all the threads and closes the instance. def shutdown(): Unit }
def readFromLocaLog(): Seq[(TopicPartition, LogReadResult)] = { catch { case e@ (_: OffsetOutOfRangeException) => RemoteLogManager.read(fetchMaxBytes: Int, hardMaxBytesLimit: Boolean, tp: TopicPartition, fetchInfo: PartitionData quota: ReplicaQuota) }.
Consumer Fetch Requests.
Follower Requests/Replication.
Thread Pools.
1. Remote Storage Manager (RLM) Thread Pool.
2. Remote Storage Fetcher Thread Pool.
Alternatives considered
Following alternatives were considered:
- Replace all local storage with remote storage - Instead of using local storage on Kafka brokers, only remote storage is used for storing log segments and offset index files. While this has the benefits related to reducing the local storage, it has the problem of not leveraging the local disk for efficient latest reads as done in Kafka today.
- Implement Kafka API on another store - This is an approach that is taken by some vendors where Kafka API is implemented on a different distributed, scalable storage (example HDFS). Such an option does not leverage Kafka other than API compliance and requires the much riskier option of replacing entire Kafka cluster with another system.
- Client directly reads remote log segments from the remote storage - The log segments on the remote storage can be directly read by the client instead of serving it from Kafka broker. This reduces Kafka broker changes and has benefits of removing an extra hop. However, this bypasses Kafka security completely, increases Kafka client library complexity and footprint and hence is not considered.
|
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=128650573
|
CC-MAIN-2019-43
|
en
|
refinedweb
|
A trace represents a plausible sequence of executed basic blocks that passes through the current basic block one. More...
#include "llvm/CodeGen/MachineTraceMetrics.h"
A trace represents a plausible sequence of executed basic blocks that passes through the current basic block one.
The Trace class serves as a handle to internal cached data structures.
Definition at line 255 of file MachineTraceMetrics.h.
Definition at line 262 of file MachineTraceMetrics.h.
Return the length of the (data dependency) critical path through the trace.
Definition at line 293 of file MachineTraceMetrics.h.
References llvm::MachineTraceMetrics::TraceBlockInfo::CriticalPath.
Referenced by adjCycles().
Compute the total number of instructions in the trace.
Definition at line 267 of file MachineTraceMetrics.h.
References llvm::MachineTraceMetrics::TraceBlockInfo::InstrDepth, llvm::MachineTraceMetrics::TraceBlockInfo::InstrHeight, and llvm::None.
Return the depth and height of MI.
The depth is only valid for instructions in or above the trace center block. The height is only valid for instructions in or below the trace center block.
Definition at line 298 of file MachineTraceMetrics.h.
References DefMI, llvm::LiveRegUnit::MI, and UseMI.
Referenced by adjCycles(), and getCombinerObjective().
Return the slack of MI.
This is the number of cycles MI can be delayed before the critical path becomes longer. MI must be an instruction in the trace center block.
Definition at line 1173 of file MachineTraceMetrics.cpp.
References assert(), llvm::MachineTraceMetrics::InstrCycles::Depth, llvm::MachineBasicBlock::getNumber(), llvm::MachineInstr::getParent(), and llvm::MachineTraceMetrics::InstrCycles::Height.
Referenced by adjCycles(), and getCombinerObjective().
Return the Depth of a PHI instruction in a trace center block successor.
The PHI does not have to be part of the trace.
Definition at line 1181 of file MachineTraceMetrics.cpp.
References assert(), llvm::SmallVectorTemplateCommon< T >::front(), getPHIDeps(), llvm::SmallVectorBase::size(), and TE.
Referenced by adjCycles().
Return the resource depth of the top/bottom of the trace center block.
When bottom is set include instructions in current block in estimate.
This is the number of cycles required to execute all instructions from the trace head to the trace center block. The resource depth only considers execution resources, it ignores data dependencies. When Bottom is set, instructions in the trace center block are included.
All instructions before current block
Definition at line 1196 of file MachineTraceMetrics.cpp.
References llvm::max(), llvm::ArrayRef< T >::size(), and TE.
Return the resource length of the trace.
This is the number of cycles required to execute the instructions in the trace if they were all independent, exposing the maximum instruction-level parallelism.
Any blocks in Extrablocks are included as if they were part of the trace. Likewise, extra resources required by the specified scheduling classes are included. For the caller to account for extra machine instructions, it must first resolve each instruction's scheduling class.
Definition at line 1223 of file MachineTraceMetrics.cpp.
References llvm::MachineBasicBlock::getNumber(), llvm::max(), llvm::PPCISD::SC, llvm::ArrayRef< T >::size(), and TE.
Referenced by adjCycles(), getCombinerObjective(), and INITIALIZE_PASS().
A dependence is useful if the basic block of the defining instruction is part of the trace of the user instruction.
It is assumed that DefMI dominates UseMI (see also isUsefulDominator).
Definition at line 1277 of file MachineTraceMetrics.cpp.
References llvm::MachineBasicBlock::getNumber(), llvm::MachineInstr::getParent(), llvm::MachineTraceMetrics::TraceBlockInfo::isUsefulDominator(), and TE.
Definition at line 1325 of file MachineTraceMetrics.cpp.
References llvm::MachineBasicBlock::getNumber(), llvm::MachineTraceMetrics::TraceBlockInfo::hasValidDepth(), llvm::MachineTraceMetrics::TraceBlockInfo::hasValidHeight(), llvm::MachineTraceMetrics::TraceBlockInfo::Pred, llvm::printMBBReference(), llvm::MachineTraceMetrics::TraceBlockInfo::Succ, and TE.
Referenced by llvm::operator<<().
|
http://llvm.org/doxygen/classllvm_1_1MachineTraceMetrics_1_1Trace.html
|
CC-MAIN-2019-43
|
en
|
refinedweb
|
- WinForms ComboBox vs WebForms DropDownList
- System journal hooks - Macro Recorder
- Strange and consistent ActiveX problem
- Process.CloseMainWindow()
- Finding out what applications are in the system tray
- System.NullReferenceException , why?
- Problem with abstract classes
- MDI interface like in Visual Studio
- DataGrid Bug with columns.add and pagination
- download multiple files from database
- DataTable.Select(sFilter)
- New Process in WinXP
- remote collection object needs to serialize
- VS 2005 Keeps adding references back
- Populate a class automatically?
- Setting the icon when you use Shift-Tab
- Type casting inside generic class
- X.25 support?
- Layers
- Role management in ASP.NET 2.0
- Exceptions thrown by Web Services
- Serialization and de-serialization of types loaded from assembly at runtime
- Factory class - DA, BL, or UI layer?
- How to know if form.acceptbutton is assigned
- From mono to IIS
- heap size
- Exception not catched in right place
- vb vs c#
- Odd behaviour with webrequest/respone.redirect
- Customize toolbars
- Use WebClient to call web service method
- Moving objects
- Drawing on top of everything
- Generics question.The problem still exists.
- Interview Questions Feb 24, 2006
- SHFusion API: retrieving codebase of assemblies in GAC
- Autonumber Fields & Insert Statment
- c# and php conversion
- Performance reading records with .Net 2.0
- how to get the eventhandler list from an event?
- What is the use of AssemblyInfo.cs
- Sharing configuration file
- Exception of type System.OutOfMemoryException was thrown.
- DataSet XSD file
- PDF not downloaded in IE 6, 7, but Firefox works OK.
- Font Dialog box as child- Newbe
- Exception: SerializationException
- Windows Service utilizing ASP.NET technology
- any event bubbling library for winforms.
- close cmd window when process.startinfo closes
- Form.Invoke() got me down
- Packaging & Referencing
- How to get relational data into an object?
- using SoundPlayer with resource?
- string type
- Socket connection
- TableLayoutPanel - get cell clicked?
- Extend a Predefined Enum
- DeflateStream & MemoryStream?
- Raising multiple events?
- Best way to alpha blend over a bitmap.
- How to make DataDridViewComboBoxColumn editable
- Converting DOS date to mmddyyyy format in C#
- reference to external file in streamwriter
- Using DrawString to draw partial strings
- How to have DateTime to start at midnight???
- Setting a default button?
- Instance a class at runtime
- HTML Parser
- Passing a variable to a new thread?
- Calling a webservice from a client using a proxy
- Display Publish Version Error
- How can I send e-mails?
- Role Management
- start progress bar automatically
- Word Interop Assembly not found/loading? plz help.
- Messages displayed to user.
- Fonts and supported languages
- revision algorithms
- RUnning a console program hidden?
- Unable to write data to the transport connection.
- Regular Expression Help
- EventID and EventSource Problems
- WebRequest times out...but only 3rd time and on...
- Adding a program to the startup group programatically.
- length of variable
- HOWTO: Print HTML page using WebResponse
- Windows service interaction with WinForms app?
- C# pure xml database?
- Choosing a customized RootFolder in a FolderBrowserDialog
- How to serialize interface???
- ListViewColumnSorter problem
- reflection, access the field of object dynamically
- any programmers in the house please??? what do you do ???
- Usercontrol databinding on property Text
- how to make dropdown list flat in asp.net
- How to get component in winforms
- Reading Registry Values in Windows NT Service
- how to parse <?xml version="1.0" encoding="UTF-8"?> with xpath? is it possible?
- Run vbs from C#
- Multithreaded DataGrid update issue
- COM Port Name
- String.Replace() in .net 1.1 does NOT work!
- sub-array references?
- Is there an easier or better way to compare Types?
- Queue Collection not working properly.
- Ambiguous Overloads
- passing by ref for value type and storing this in a member...
- Reference variable dynamically
- How To..Mouse
- Whats the point of SortedList.IndexOfKey
- Creating a ClassFactory but still have to perform explicit cast onreturn
- PInvoke - Structures
- loop over the controls in my form
- Multiple character constants in C#?
- Need help with StreamReader
- InternalsVisibleTo chicken and egg problem?
- ListView Select Sometimes Fails
- At wits end dealing with "Assembly's manifest does not match assembly reference". Need help understanding the process.
- What control would be best for.....
- Trouble opening a file using BufferedStream
- Report Viewer
- foreach Iterator - which is more efficient?
- Maximum Serial data transmission.
- Typecasting DateTime
- word interop assembly not loading
- Windows service interacting with the desktop.
- Posting 3rd party software announcements
- deserialize to C# class from external config file?
- SQLDataSource vs ObjectDataSource
- User controls & System colors
- Borders when joining images using DrawImage
- Webservice question
- WebBrowser Copy
- Make a Windows Service start a windows program.
- A service can't run MessageQueueing....
- crossthreading issue
- Threads with Sockets in them? or Asynchronous Sockets?
- ColorMatrix - What do all the values do??
- Different control theme in design mode and run mode
- Maximum number of opened sockets in localhost
- Maximum number of opened sockets in localhost
- CodeDom Parser
- Assign value to an object created by a reference
- How do I parse a string number into a float with four decimal places?
- Enforce that a class can only inherit one interface
- Simple reflection example?
- XML Serialization and Generic Collection
- Reading the files from CAB files using C#
- Override VS2005 options
- Help needed with xml!
- interceptors in c#
- How to get the used interface on an object
- transparent background
- CodeDom
- Missiing toolbox items
- List Box & Ajax
- XmlDocument.SelectNodes
- Help me access Interbase pass BDP (Borland.Data.Provider)
- Can't see ValidationSummary control on web page
- Novice: AdBanner Control with XML file?
- Menuview or Treeview?
- Why "(500) Internal Server Error" throwed?
- Catching exceptions thrown from threads?
- Why does file open as form?
- WindowsFormParkingWindow HELP
- Looking a Dictionary
- ComboBox bound to Datasource problem
- C# class generator from oracle database table
- C# 2003 to 2005 syntax change?
- shared process service
- DataGridBoolColumn - add to an existing table
- Disable XML Document warnings in code.
- serialization on static values
- Futzing w/ HTTP response/request model
- Setup
- Generic Serialization?
- Does system.xml have any way to transofrm data with an xswl style sheet using strings like MSXML2 does?
- Installing a service through code.
- DataGridView Rows
- Dot Net Search Swicki
- Programatically getting my AssemblyVersion
- References
- Control Flicker while switching TabPage
- Need some help posting a web app in a virtual directory
- Display Crystal Report with database logon ingo
- Windows service
- What is the best way to distribute an app that uses Sql Server Express?
- Interfaces and Events
- .Net 2.0 Rich Text Editor
- Unexpected results from BindingSource.ResetCurrentItem()
- Unable to step
- Implicit interface implemenations
- Toggle Button in Visual Studio 2005?
- Get colour of pixel at coordinate
- c#.net scraping and shaping
- Array of pointers/references to another array
- redirect standard output size limit
- Deploy Crystal Report 9.
- XML to treeview
- CacheDuration in web method not working
- TcpClient
- Looking for an article about VTABLE and new,override keywords
- Making a <DIV> go vertically like MultiLine Textbox
- ObjectDataSource question
- how to parse ISO 8601 dates
- Regular Expression Matches
- DragEventArgs.Keystate
- Select statement
- Hyperlink in richtextbox
- Debuggin Dlls?
- I get an error (with loading AddIn) by opening an excel workbook
- How do you change the default button on a Form?
- Attempted to read or write protected memory using TransactionScope and Oracle 10g Client.
- How do I show a self generating html page as Modal by using showModalDialog
- Connecting to Mysql via ODBC 5.0
- C++ service to use C# dll's?
- how can i add environment variable to my VS.NET 2003 project ?
- casting incomptability between 2 instances of the same class
- casting incomptability between 2 instances of the same class
- Read and Play a Vox Audio
- Tabcontrol background color
- Count 2D array
- Quine Mccluskey C# Library
- Quine Mccluskey C# Library
- Quine Mccluskey C# Library
- Getting serial port information over WMI
- Number of instances of a program.
- Serialize Obj from App A and Deserialize it from App B
- Csharp Server.CreateObj
- VB's With keyword
- VS2005 C# Resource woes continued.
- decoding ISO 8859
- table look up value class in base class?
- label that resizes based on text and font
- a question about Generics.thanks a lot.
- MSDN Chat: The C# IDE, February 23rd @ 1pm Pacific Time
- Object References
- Auto Shut-Down to Windows Forms App After N Minutes of Inactivity
- "access is denied"--About Word automation
- Posting data to the default browser
- How to I manipulate a form to satisfy to customer.
- DataTable - setting a filter on a type of Version
- Open a pdf file at a specified page in C#
- HTTP Protocol Violation
- conflicting info between debugger and page
- Setting a referenced object to null
- perhaps I just don't understand streams as well as I should...
- Stuck with reflection C#
- MVP and DAL Operations
- Screensaver with webbrowser control
- Library for image editing
- streams across applications
- Voice recording
- timed actions
- Control Location in Windows form and DPI settings on the monitor
- Capture key events from hosted WebBrowser control
- Image Manipulation
- Process.ExitCode() == 0
- Regarding Connection object behaviour
- Show/Hide Layer
- Police Depts and proprietary languages
- System.Collections.Stack Maximum Size?
- regex matching question
- MultiThreaded apps and Getting values?
- [Feedback] Visual C# Express 2005: Table Mappings dialog
- how to convert a delegate to int
- Can an in-memory DataTable be used as a data source for controls?
- COM callbacks
- WMIwatcher / trigger on logonsession?
- how to return an Array ?
- parameter information is not supported by the 'Microsoft.Jet.OLEDB
- Resize control during OnSizeChanged
- Process - Invalid
- How do you show html popup modal???Thank you
- Integers to Bit Array
- Microsoft.mshtml reference missing
- How is the best way to pass object, values or results between x-layer classes?
- AssemblyVersion 1.2.*.61 doesn't work
- generic problem with operator. compile error: operator * is not allowedon type T.
- OleDbCommandBuilder.DeriveParameters
- Modifying Last Few bytes of a file
- Doubts related to server based timer
- Defining prototypes for C++ dll functions in C#
- garbage Int32 out of a ByteArray
- creating Virtual COM ports
- Run a console application from command dos
- How to get the point from MenuItem EventHandler?
- Create ProxyClass from WSDL
- iis server
- Re-using imagelist data from an assembly ?
- issue in server based timer/
- xml whitespace
- Seeing a public variable
- listview vs listbox?
- Working with sound...
- batch build menu?
- Page Display
- .NET equivalent of html 'mailto ?
- Asynchronous access to database.
- Detecting bin\debug versus bin\release?
- Making constructor visible only to a certain class
- Write a secure cookie from dll
- Any obvious reason why this won't work?
- null in ArrayList
- Designer Serialization Issues
- Problem with reflection
- XmlDocument.SelectNodes()
- Creating a case-insensitive Hashtable in v2
- drawing
- Consume web service without wsdl.exe
- help with printersettings.printersources.
- Navigation by key-set.
- Thread.Suspend()
- Targetting 1.1 with VS2005
- switch sytax ?
- What is the difference between all these classes such as StreamReader, BufferedStream, FileStream, MemoryStream?
- desperate call for help - intellisense not working any more
- partial class namespace in ASP.NET 2.0
- Windows Form login question
- Asynchronous Sockets clarification
- C# ActiveX Control Running in a JSP page
- Why web project always Offline on the Ap server??
- sql server and membership provider
- About Error
- Accessing another .NET app
- missing out braces
- Difference Between MVP and MVC Patterns
- Lists<> of custom classes
- A new mshtml-based html editor written in C#
- A basic question
- VS2005 C# and Resources
- how to bind an array of data to a datagrid?
- How Do I change the where clause of the TableAdapter
- Correl function
- Update one form from another
- anyway to create a packet sniffer
- It seems that if the .ncb file is missing it get regenerated.
- Weird GC / Memory / XmlDocument.LoadXML memory problem
- Change Application/User Settings location - help
- API tabstops
- How to hide form completely while using global hot key?(RegisterHotKey)
- globa variable for windows C# application
- Class property with parameters
- Data binding on usercontrol does not work
- Interop and SIZE_T
- Reversing the sort of a OrderedDictionary
- Settings.settings - help
- DataGridView not refreshing when new rows added
- Module Version and filename - help
- garbled long value returned from the network
- C#; Talking to a Modem; Dialing a number
- Sockets UseOnlyOverlappedIO
- Taking Thumbnail photos of webpages with provided URL
- Array duplicates
- Missing characters after file rewrite using File.OpenText
- Validating Local Users, Passwords, and Groups
- How does combobox know key/value?
- XML Edit Control
- Open Windows Forms
- ADO.NET 1.x, How to mimick Query Analyzer Batch Execute??
- Running a service from the cmd prompt.
- Using <param> XML tag to create Intellisense for my DLL.
- So how do you change the default pushbutton in a WinForm?
- Using <param> XML Tag in C# to create Intellisense in my DLL
- Storing a hash table in Session
- Help: Can I Use a Windows DLL in Web Service?
- Macro for Attaching to a Process
- How to prevent TrackBar scroll?
- Float to string conversion in C#
- IT tests. C#, ASP.NET, VB.NET, SQL, XML, HTML, C, C++...
- Running an application more than once
- Application.Exit
- Question about two interfaces derived from the same one.
- Collecting Groups of [3 Objects]
- Server Application need to handle HTTP(s) Requests...
- C# - Interface EVent Question
- C#.NET reading remote host directory contents
- Linking Forms Dynamically
- Service status says it's running, but how can I be sure it really is running.
- Sending ASCII character string / stream to an IP address
- doubt
- Custom Object and Profile Object
- Searching ArrayList [C# WindowForms]
- C# Regular Expressions
- Working with picture pixels
- Question regardingThreading
- Generics, constraints and overloading
- Custom PageSetupDialog
- ageSetupDialog1
- Possible to use an "internal" class in an external assembly?
- Excel Add-in not showing up
- Problems with user control in designer
- How to use COM Interop in C#
- string[] to int[]
- Posting data using httpwebrequest.
- Visual Studio 2005 hates me
- Make MVP Aware Of Security Model
- namespaces, folders, and embedded files
- Pop Up Property Grid
- Image loading problem with GDI+ API
- virtual table; override; new, question
- XmlHttpRequest from a Windows Application?
- virtual table; override; new, question
- Resources
- Disable Intellisense for the class member
- Newby C# Web App Question - Z-INDEX Style
- FileNotFoundException 0x8007007E
- 'style' or 'preference' question
- port blocking
- The DataReader and integers
- PingSendAsync Method
- Assembly.LoadFrom throws PathTooLongException unexpectedly.
- Why doesn't event reload?
- MSBUILD <PropertyGroup> Spaces in file paths </PropertyGroup>
- 3d Shapes
- Returning nulls
- Calling Base Class' Ctor
- Returning nulls
- MessageBox.Show no longer works...
- Placeholder control, C# SharePoint custom search box
- Array.Sort question
- Printing problem dotmatrix printer with vb.net
- ListView VirtualListSize Problems
- Cleanest syntax to logically AND multiple nullable boolean flags i
- Writing stuff
- Events with Programmatically-Created Context Menu Items
- The fastest way to determine c = (byte)a & b
- Doing the Right Thing when designing plugin architectures
- Pasting into single datagrid cell?
- Send mail attachment
- .NET component of MS Word ?
- Modifying IIS Metabase on remote server
- Am I A Service or a Windows App?
- Reading a BIG text file (200Mb)
- Like a Global
- Reading data on Aysnchronous socket server
- MailAddress string format
- using Microsoft.VisualBasic in c#
- Calling functions between panels in WinForms C#
- Geting more info from WebException when Status is Unknown Error
- Geting more info from WebException when Status is Unknown Error
- convert of VB fix function
- DataGridViewRow.Height
- Get the Form names in a Solution.
- error: An object reference is required for the nonstatic field......
- Get a list of Icons on the desktop and their respective positions
- Can't WaitHandle.WaitAll in an STAThread ?
- string manipulation
- Object reference not set to an instance of an object
- GetProcesses() Problem
- Code generator output opens in notepad
- C# Windows Form Open problem
- who to load excel to datagrid by openfiledialog
- passing array from c# to COM (SAFERARRAY)
- Socket Bind(localEndPoint) <-- Virtual IP
- Socket Bind(localEndPoint) <-- Virtual IP
- Encoding ISO-8859-1
- Encoding string as double.
- Practical Benefits of MVC or MVP Patterns
- Threading Faux Pa
- ADO.NET Failed to load msxmlsql.dll
- C# / SQL Related - what's wrong with this Insert Into syntax?
- runtime creation of DTS package in C#
- runtime creation of DTS package in C#
- User Login & Application Security
- .net framework AND Unix code for encryption/decryption.
- multiple comboBox one array datasource. help...
- User control properties--can't override base
- Deploying from command line
- Catch block is failing to catch exceptions when not run from MSDev
- Net 2.0 XmlWriter Create and Attributes
- Storing SQL
- Search through list of tasks in task manager
- Threading Best Practice Question
- How to cast int to short
- Impossible to capture stdOut??
- Creating a new instance of a class
- How to remove item from 1 d array
- Fast Web Service Protocol
- .NET 2.0 DataGridView
- Can't instantiate Excel app object in ASP.net app (permissions issue)
- nant exec task: i need the return code!
- Diagnostics.Process - Error Handling
- Excel2003 could not load managed COM Component
- Using Logging by Microsoft Enterprise Library without using "the configuration tool" ?
- Limited Size String
- Generating COM dll to use in .NET
- Data Abstraction Layer SQL/Foxpro
- The @ symbol
- Multiple projects in a solution - debug different ones?
- Breaking from ListArray [C# WindowForms]
- Impersonation causes a server error
- One last question about ASP.NET 1.1 application recycling, load time and other boring stuff
- Counting lines in a text file
- Command line compilation of visual studio project files.
- Critique Request: CheckBoxColumn
- Converting to PDF
- Windows Service - Suggestions for Installing Multiple Instances
- TabPage text disapearing
- Ending a Session in a Web Application
- ? bug in listbox.AddRange : duplication
- Deciphering data
- MetaDraw background image in WinForm
- returning to site root
- Making my DateTime object think its American :-)
- Shared Named Memory
- Webservice trouble!
- Problems with Pie Chart
- Uninstall application
- Simple mechanism for updating database with data from bound datagrid
- Color subtraction
- Coding Standards
- TextBox event handling in C#
- keyboard hook in c#
- ListviewSorter not working properly.
- Copy protection software
- Selecting a region in a picturebox
- Using Cache methods in dll
- Trigger process when a file arrives
- 'System.ArithmeticException' occurred in system.drawing.dll
- hello again
- Socket Bind (Virtual Local EndPoint)
- update database using Dataset
- Is it an error on msdn document?
- Usage of Remote Proxy Pattern
- IDE keyboard goes whacky
- MouseEventArgs and a Clicks property
- CodeDomSerializer and Asp.Net custom control
- System.Collections.Generic.Queue & System.Collections.Queue Synchronized Method
- Properties.Settings: Where are they saved?
- problem in display a form normally
- OptionalFieldAttribute is not working in SoapFormatter
- Connecting Crystal Reports to DB2
- Is there anything like __FILE__ and __LINE__ ?
- load arrayList into ListBox.ObjectCollection
- CSharp inside an ActiveX dll within IE
- Custom Object Structure
- Datagrid sorting by date?
- graphics rendering with separate pop up form
- form inside a form
- XLT to XLS
- What tool generates Settings.Designer.cs?
- mapping printers?
- SWF as embedded resource and .NET
- block-comment position?
- varying executable name based on conditional compilation
|
https://bytes.com/sitemap/f-326-p-75.html
|
CC-MAIN-2019-43
|
en
|
refinedweb
|
Code style and conventions¶
Be consistent!¶
Look at the surrounding code, or a similar part of the project, and try to do the same thing. If you think the other code has actively bad style, fix it (in a separate commit).
When in doubt, ask in chat.zulip.org.
Lint tools¶
You can run them all at once with
./tools/lint
You can set this up as a local Git commit hook with
``tools/setup-git-repo``
The Vagrant setup process runs this for you.
lint runs many lint checks in parallel, including
Secrets¶
Please don’t put any passwords, secret access keys, etc. inline in the
code. Instead, use the
get_secret function in
zproject/settings.py
to read secrets from
/etc/zulip/secrets.conf.
Dangerous constructs¶
Misuse of database queries¶
Look out for Django code like this:
[Foo.objects.get(id=bar.x.id) for bar in Bar.objects.filter(...) if bar.baz < 7]
This will make one database query for each
Bar, which is slow in
production (but not in local testing!). Instead of a list comprehension,
write a single query using Django’s QuerySet
API.
If you can’t rewrite it as a single query, that’s a sign that something is wrong with the database schema. So don’t defer this optimization when performing schema changes, or else you may later find that it’s impossible.
UserProfile.objects.get() / Client.objects.get / etc.¶
In our Django code, never do direct
UserProfile.objects.get(email=foo)
database queries. Instead always use
get_user_profile_by_{email,id}.
There are 3 reasons for this:
- It’s guaranteed to correctly do a case-inexact lookup
- It fetches the user object from remote cache, which is faster
- It always fetches a UserProfile object which has been queried using .select_related(), and thus will perform well when one later accesses related models like the Realm.
Similarly we have
get_client and
get_stream functions to fetch those
commonly accessed objects via remote cache.
Using Django model objects as keys in sets/dicts¶
Don’t use Django model objects as keys in sets/dictionaries – you will get unexpected behavior when dealing with objects obtained from different database queries:
For example,
UserProfile.objects.only("id").get(id=17) in set([UserProfile.objects.get(id=17)])
is False
You should work with the IDs instead.
user_profile.save()¶
You should always pass the update_fields keyword argument to .save() when modifying an existing Django model object. By default, .save() will overwrite every value in the column, which results in lots of race conditions where unrelated changes made by one thread can be accidentally overwritten by another thread that fetched its UserProfile object before the first thread wrote out its change.
Using raw saves to update important model objects¶
In most cases, we already have a function in zerver/lib/actions.py with a name like do_activate_user that will correctly handle lookups, caching, and notifying running browsers via the event system about your change. So please check whether such a function exists before writing new code to modify a model object, since your new code has a good chance of getting at least one of these things wrong.
Naive datetime objects¶
Python allows datetime objects to not have an associated timezone, which can cause time-related bugs that are hard to catch with a test suite, or bugs that only show up during daylight savings time.
Good ways to make timezone-aware datetimes are below. We import
timezone
function as
from django.utils.timezone import now as timezone_now and
from django.utils.timezone import utc as timezone_utc. When Django is not
available,
timezone_utc should be replaced with
pytz.utc below.
timezone_now()when Django is available, such as in
zerver/.
datetime.now(tz=pytz.utc)when Django is not available, such as for bots and scripts.
datetime.fromtimestamp(timestamp, tz=timezone_utc)if creating a datetime from a timestamp. This is also available as
zerver.lib.timestamp.timestamp_to_datetime.
datetime.strptime(date_string, format).replace(tzinfo=timezone_utc)if creating a datetime from a formatted string that is in UTC.
Idioms that result in timezone-naive datetimes, and should be avoided, are
datetime.now() and
datetime.fromtimestamp(timestamp) without a
tz
parameter,
datetime.utcnow() and
datetime.utcfromtimestamp(), and
datetime.strptime(date_string, format) without replacing the
tzinfo at
the end.
Additional notes:
- Especially in scripts and puppet configuration where Django is not available, using
time.time()to get timestamps can be cleaner than dealing with datetimes.
- All datetimes on the backend should be in UTC, unless there is a good reason to do otherwise.
x.attr('zid') vs.
rows.id(x)¶
Our message row DOM elements have a custom attribute
zid which
contains the numerical message ID. Don’t access this directly as
x.attr('zid') ! The result will be a string and comparisons (e.g. with
<=) will give the wrong result, occasionally, just enough to make a
bug that’s impossible to track down.
You should instead use the
id function from the
rows module, as in
rows.id(x). This returns a number. Even in cases where you do want a
string, use the
id function, as it will simplify future code changes.
In most contexts in JavaScript where a string is needed, you can pass a
number without any explicit conversion.
JavaScript var¶
Always declare JavaScript variables using
var. JavaScript has
function scope only, not block scope. This means that a
var
declaration inside a
for or
if acts the same as a
var
declaration at the beginning of the surrounding
function. To avoid
confusion, declare all variables at the top of a function.
JS array/object manipulation¶
For generic functions that operate on arrays or JavaScript objects, you should generally use Underscore. We used to use jQuery’s utility functions, but the Underscore equivalents are more consistent, better-behaved and offer more choices.
A quick conversion table:
$.each → _.each (parameters to the callback reversed) $.inArray → _.indexOf (parameters reversed) $.grep → _.filter $.map → _.map $.extend → _.extend
There’s a subtle difference in the case of
_.extend; it will replace
attributes with undefined, whereas jQuery won’t:
$.extend({foo: 2}, {foo: undefined}); // yields {foo: 2}, BUT... _.extend({foo: 2}, {foo: undefined}); // yields {foo: undefined}!
Also,
_.each does not let you break out of the iteration early by
returning false, the way jQuery’s version does. If you’re doing this,
you probably want
_.find,
_.every, or
_.any, rather than ‘each’.
Some Underscore functions have multiple names. You should always use the
canonical name (given in large print in the Underscore documentation),
with the exception of
_.any, which we prefer over the less clear
‘some’.
More arbitrary style things¶
Line length¶
We have an absolute hard limit on line length only for some files, but we should still avoid extremely long lines. A general guideline is: refactor stuff to get it under 85 characters, unless that makes the code a lot uglier, in which case it’s fine to go up to 120 or so.
JavaScript¶
When calling a function with an anonymous function as an argument, use this style:
my_function('foo', function (data) { var x = ...; // ... });
The inner function body is indented one level from the outer function call. The closing brace for the inner function and the closing parenthesis for the outer call are together on the same line. This style isn’t necessarily appropriate for calls with multiple anonymous functions or other arguments following them.
Combine adjacent on-ready functions, if they are logically related.
The best way to build complicated DOM elements is a Mustache template
like
static/templates/message_reactions.handlebars. For simpler things
you can use jQuery DOM building APIs like so:
var new_tr = $('<tr />').attr('id', object.id);
Passing a HTML string to jQuery is fine for simple hardcoded things that don’t need internationalization:
foo.append('<p id="selected">/</p>');
but avoid programmatically building complicated strings.
We used to favor attaching behaviors in templates like so:
<p onclick="select_zerver({{id}})">
but there are some reasons to prefer attaching events using jQuery code:
- Potential huge performance gains by using delegated events where possible
- When calling a function from an
onclickattribute,
thisis not bound to the element like you might think
- jQuery does event normalization
Either way, avoid complicated JavaScript code inside HTML attributes; call a helper function instead.
HTML / CSS¶
Avoid using the
style= attribute unless the styling is actually
dynamic. Instead, define logical classes and put your styles in
external CSS files such as
zulip.css.
Don’t use the tag name in a selector unless you have to. In other words,
use
.foo instead of
span.foo. We shouldn’t have to care if the tag
type changes in the future.
Python¶
Don’t put a shebang line on a Python file unless it’s meaningful to run it as a script. (Some libraries can also be run as scripts, e.g. to run a test suite.)
Scripts should be executed directly (
./script.py), so that the interpreter is implicitly found from the shebang line, rather than explicitly overridden (
python script.py).
Put all imports together at the top of the file, absent a compelling reason to do otherwise.
Unpacking sequences doesn’t require list brackets:
[x, y] = xs # unnecessary x, y = xs # better
For string formatting, use
x % (y,)rather than
x % y, to avoid ambiguity if
yhappens to be a tuple.
Third party code¶
See our docs on dependencies for discussion of rules about integrating third-party projects.
|
https://zulip.readthedocs.io/en/stable/contributing/code-style.html
|
CC-MAIN-2018-51
|
en
|
refinedweb
|
Widgets (experimental)¶
[Note: this document is currently intended to be a roadmap/design document. It may be converted over time to permanent documentation.]
Overview¶
During 2018 we built out a “widget system” in Zulip. It includes these features:
- /ping
- /day (and /night, /light, /dark)
- /poll (and /tictactoe, /todo) (BETA)
- zform-enabled messages for the trivia_quiz bot (BETA)
The beta features are only turned on for chat.zulip.org as of this writing.
There’s a strong overlap between widgets and slash commands, and many widgets are launched by slash commands. A few exceptions are worth noting. If you type “/me shrugs” in the compose box, it’s just a message that gets slightly customized rendering. And if you type “/settings”, it’s just a shortcut to open the settings popup. Neither of these are really “widgets,” per se.
Another exception, in the opposite direction, is our trivia_quiz bot. It does not involve slash commands. Instead it sends “extra_data” in messages to invoke zforms (which enable button-based UIs in the messages).
Here are some code entities used in the above features:
ALLOW_SUB_MESSAGESsetting
SubMessagedatabase table
/json/zcommandAPI endpoint
/json/submessageAPI endpoint
static/js/zform.js
static/js/zcommand.js
static/js/submessage.js
static/js/voting_widget.js
static/js/widgetize.js
static/js/zform.js
static/templates/widgets/
zerver/lib/widget.py
zerver/lib/zcommand.py
zerver/views/submessage.py
Simple slash commands¶
We support a few very simple slash commands that are intended for single users to do simple tasks:
- Ping the server
- Toggle day/night mode
Data flow¶
These commands have client-side support in
zcommands.js.
They send commands to the server using the
/json/command
endpoint.
In the case of “/ping”, the server code in
zcommand.py
basically just acks the client. The client then computes
the round trip time and shows a little message above
the compose box that the user can see and then dismiss.
For commands like “/day” and “/night”, the server does
a little bit of logic to toggle the user’s night mode
setting, and this is largely done inside
zcommand.py.
The server sends a very basic response, and then
the client actually changes the display colors. The
client also shows the user a little message above
the compose box instructing them how to reverse the
change.
It’s a bit of a stretch to label “/ping” and “/day” as widgets. In some ways they’re just compose-box shortcuts for doing UI tasks. The commands share the new “zcommand” namespace in the code, and both have some common UI for talking to users.
(It’s possible that we don’t really need a general
/json/zcommand endpoint for these, and we
may decide later to just use custom
API endpoints for each command. There’s some logic
in having a central API for these, though, since they
are typically things that only UI-based clients will
invoke, and they may share validation code.)
Poll, todo lists, and games¶
The most interactive widgets that we built during 2018 are for polls, todo lists, and games. You launch widgets by sending one of the following messages:
- /poll
- /todo
- /tictactoe
These widgets are only turned on if you set the
ALLOW_SUB_MESSAGES
boolean to
True in the appropriate
settings.py.
Currently the setting is only enabled for dev and
our main community realm (chat.zulip.org). Also,
only the webapp client provides the “widget experience”.
Other clients just show raw messages like “/poll”
or “/ticactoe”.
Our customers have long requested a poll/survey widget. See this issue. There are workaround ways to do polls using things like emoji reactions, but our poll widget provides a more interactive experience.
Data flow¶
The poll widget uses the “submessage” architecture. We’ll use the poll widget as a concrete example.
The
SubMessage table, as the name indicates, allows
you to associate multiple submessages to any given
Message row. When a message gets sent, there’s a
hook inside of
widget.py that will detect slash
commands like “/poll”. If a message needs to be
widgetized, an initial
SubMessage row will be
created with an appropriate
msg_type (and persisted
to the database). This data will also be included
in the normal Zulip message event payload. Clients
can choose to ignore the submessage-related data, in
which case they’ll gracefully degrade to seeing “/poll”.
Of course, the webapp client actually recognizes the
appropriate widgets.
The webapp client will next collect poll options and votes
from users. The webapp client has
code in
submessage.js that dispatches events
to
widgetize.js, which in turns sends events to
individual widgets. The widgets know how to render
themselves and set up click/input handlers to collect
data. They can then post back to
/json/submessage
to attach more data to the message (and the
details are encapsulated with a callback). The server
will continue to persist
SubMessage rows in the
database. These rows are encoded as JSON, and the
schema of the messages is driven by the individual widgets.
Most of the logic is in the client; things are fairly opaque
to the server at this point.
The “submessage” architecture is generic. Our tictactoe widget and todo list widget use the same architecture as “poll”.
If a client joins Zulip after a message has accumulated several submessage events, it will see all of those events the first time it sees the parent message. Clients need to know how to build/rebuild their state as each submessage comes in. They also need to tolerate misformatted data, ideally just dropping data on the floor. If a widget throws an exception, it’s caught before the rest of the message feed is affected.
As far as rendering is concerned, each widget module
is given a parent
elem when its
activate function
is called. This is just a
<div> inside of the parent
message in the message pane. The widget has access to
jQuery and template.render, and the developer can create
new templates in
static/templates/widgets/.
A good way to learn the system is to read the code
in
static/js/voting_widget.js. It is worth noting that
writing a new widget requires only minor backend
changes in the current architecture. This could change
in the future, but for now a frontend developer mostly
needs to know JS, CSS, and HTML.
It may be useful to think of widgets in terms of a bunch of clients exchanging peer-to-peer messages. The server’s only real role is to decide who gets delivered which submessages. It’s a lot like a “subchat” system.
Backward compatibility¶
Our “submessage” widgets are still evolving, and we want to have a plan for allowing future progress without breaking old messages.
Widget developers can revise code to improve a widget’s visual polish without too much concern for breaking how old messages get widgetized. They will need to be more cautious if they change the actual data structures passed around in the submessage payloads.
For significant schema changes, it would be worthwhile to add
some kind of versioning scheme inside of
SubMessages, either
at the DB level or more at the JSON level within fields.
This has yet to be designed. One thing to consider is that
most widgets are somewhat ephemeral in nature, so it’s not
the end of the world if upgrades cause some older messages
to be obsolete, as long as the code degrades gracefully.
Mission critical widgets should have a deprecation strategy.
For example, you could add optional features for one version
bump and then only make them mandatory for the next version,
as long as you don’t radically change the data model. And
if you’re truly making radical changes, you can always
write a Django migration for the
SubMessage data.
Adding widgets¶
Right now we don’t have a plugin model for the above widgets; they are served up by the core Zulip server implementation. Of course, anybody who wishes to build their own widget has the option of forking the server code and self-hosting, but we want to encourage folks to submit widget code to our codebase in PRs. If we get to a critical mass of contributed widgets, we will want to explore a more dynamic mechanism for “plugging in” code from outside sources, but that is not in our immediate roadmap.
This is sort of a segue to the next section of this document. Suppose you want to write your own custom bot, and you want to allow users to click buttons to respond to options, but you don’t want to have to modify the Zulip server codebase to turn on those features. This is where our “zform” architecture comes to the rescue.
zform (Trivia Quiz bot)¶
This section will describe our “zform” architecture.
For context, imagine a naive triva bot. The trivia bot
sends a question with the answers labeled as A, B, C,
and D. Folks who want to answer the bot send back an
answer have to send an actual Zulip message with something
like
@trivia_bot answer A to Q01, which is kind of
tedious to type. Wouldn’t it be nice if the bot could
serve up some kind of buttons with canned replies, so
that the user just hits a button?
That is where zforms come in. Zulip’s trivia bot sends
the Zulip server a JSON representation of a form it
wants rendered, and then the client renders a generic
“zform” with buttons corresponding to
short_name fields
inside a
choices list inside of the JSON payload.
Here is what an example payload looks like:
{ "extra_data": { "type": "choices", "heading": "05: What color is a blueberry?", "choices": [ { "type": "multiple_choice", "reply": "answer 05 A", "long_name": "red", "short_name": "A" }, { "type": "multiple_choice", "reply": "answer 05 B", "long_name": "blue", "short_name": "B" }, { "type": "multiple_choice", "reply": "answer 05 C", "long_name": "yellow", "short_name": "C" }, { "type": "multiple_choice", "reply": "answer 05 D", "long_name": "orange", "short_name": "D" } ] }, "widget_type": "zform" }
When users click on the buttons, generic click
handlers automatically simulate a client reply using
a field called
reply (in
choices) as the content
of the message reply. Then the bot sees the reply
and grades the answer using ordinary chat-bot coding.
The beautiful thing is that any thrid party developer
can enhance bots that are similar to the trivia_quiz
bot without touching any Zulip code, because zforms
are completely generic. (The only caveat is that
the server must turn on
ALLOW_SUB_MESSAGES.)
Data flow¶
We can walk through the steps from the bot generating the zform to the client rendering it.
First, here is the code that produces the JSON.
def format_quiz_for_widget(quiz_id: str, quiz: Dict[str, Any]) -> str: widget_type = 'zform' question = quiz['question'] answers = quiz['answers'] heading = quiz_id + ': ' + question def get_choice(letter: str) -> Dict[str, str]: answer = answers[letter] reply = 'answer ' + quiz_id + ' ' + letter return dict( type='multiple_choice', short_name=letter, long_name=answer, reply=reply, ) choices = [get_choice(letter) for letter in 'ABCD'] extra_data = dict( type='choices', heading=heading, choices=choices, ) widget_content = dict( widget_type=widget_type, extra_data=extra_data, ) payload = json.dumps(widget_content) return payload
The above code processes data that is specific to a trivia quiz, but it follows a generic schema.
The bot sends the JSON payload to the server using the
send_reply callback.
The bot framework looks for the optional
widget_content
parameter in
send_reply and includes that in the
message payload it sends to the server.
The server validates the schema of
widget_content using
check_widget_content.
Then code inside of
zerver/lib/widget.py builds a single
SubMessage row to contain the zform payload, and the
server also sends this payload to all clients who are
recipients of the parent message.
When the message gets to the client, the codepath for zform
is actually quite similar to what happens with more
customized widgets like poll and tictactoe. (In
fact, zform is a sibling of poll and tictactoe, and zform
just has a somewhat more generic job to do.) In
static/js/widgetize.js you will see where this code
converges, with snippets like this:
widgets.poll = voting_widget; widgets.tictactoe = tictactoe_widget; widgets.todo = todo_widget; widgets.zform = zform;
The code in
static/js/zform.js renders the form (not
shown here) and then sets up a click handler like below:
elem.find('button').on('click', function (e) { e.stopPropagation(); // Grab our index from the markup. var idx = $(e.target).attr('data-idx'); // Use the index from the markup to dereference our // data structure. var reply_content = data.choices[idx].reply; transmit.reply_message({ message: opts.message, content: reply_content, }); });
And then we are basically done!
Slash commands¶
This document is more about “widget” behavior than “slash command” interfaces, but there is indeed a lot of overlap between the two concepts.
We will soon introduce typeahead capability for slash syntax, including things that are somewhat outliers such as the “/me” command.
If certain widget features are behind feature flags, this will slightly complicate the typeahead implementation. Mostly we just need the server to share any relevant settings with the client.
|
https://zulip.readthedocs.io/en/stable/subsystems/widgets.html
|
CC-MAIN-2018-51
|
en
|
refinedweb
|
Implementation of the model proxy. More...
#include <CModelProxy.h>
Implementation of the model proxy.
This class can be used to switch model connections behind the proxy.
Definition at line 23 of file CModelProxy.h.
Attaches model object to observer
observerPtr.
observerwill cause an assertion.
Implements imod::IModel.
Detaches all attached observers.
Implements imod::IModel.
Detaches model object from observer
observerPtr.
observerwhich is not attached to the observer
observerwill cause an assertion. To prevent this, you can use the isAttached() function.
Implements imod::IModel.
Returns
true if observer
observer is attached to this model object.
Implements imod::IModel.
© 2007-2017 Witold Gantzke and Kirill Lepskiy
|
http://ilena.org/TechnicalDocs/Acf/classimod_1_1_c_model_proxy.html
|
CC-MAIN-2018-51
|
en
|
refinedweb
|
Reflection can also perform late binding, in which the application dynamically loads, instantiates, and uses a type at runtime. This provides greater flexibility at the expense of invocation overhead.
In this section, we create an example that uses very late binding, dynamically discovers new types at runtime, and uses them as well.
In the next example, one or more assemblies are loaded by name (as specified on the command line). The example then iterates through the types in the assembly looking for subtypes of the Greeting abstract base class. When one is found, the type is instantiated and its SayHello( ) method invoked, which displays an appropriate greeting.
To perform the runtime discovery of types, we use an abstract base class that's compiled into an assembly as follows (see the source comment for filename and compilation information):
// Greeting.cs - compile with /t:library public abstract class Greeting { public abstract void SayHello( ); }
Compiling this code produces a file named Greeting.dll, which the other parts of the sample can use.
We now create a new assembly containing two concrete subtypes of the abstract type Greeting, as follows (see the source comment for filename and compilation information):
// English.cs - compile with /t:library /r:Greeting.dll using System; public class AmericanGreeting : Greeting { private string msg = "Hey, dude. Wassup!"; public override void SayHello( ) { Console.WriteLine(msg); } } public class BritishGreeting : Greeting { private string msg = "Good morning, old chap!"; public override void SayHello( ) { Console.WriteLine(msg); } }
Compiling the source file English.cs produces a file named English.dll, which the main program can now dynamically reflect over and use.
Now we create the main sample, as follows (see the source comment for filename and compilation information):
// SayHello.cs - compile with /r:Greeting.dll // Run with SayHello.exe <dllname1> <dllname2> ... <dllnameN> using System; using System.Reflection; class Test { static void Main (string[ ] args) { // Iterate over the cmd-line options, // trying to load each assembly foreach (string s in args) { Assembly a = Assembly.LoadFrom(s); // Pick through all the public types, looking for // subtypes of the abstract base class Greeting foreach (Type t in a.GetTypes( )) if (t.IsSubclassOf(typeof(Greeting))) { // Having found an appropriate subtype, create it object o = Activator.CreateInstance(t); // Retrieve the SayHello MethodInfo & invoke it MethodInfo mi = t.GetMethod("SayHello"); mi.Invoke(o, null); } } } }
Running the sample now with SayHello English.dll produces the following output:
Hey, dude. Wassup! Good morning, old chap!
The interesting aspect of the preceding sample is that it's completely late-bound; i.e., long after the SayHello program is shipped you can create a new type and have SayHello automatically take advantage of it by simply specifying it on the command line. This is one of the key benefits of late binding via reflection. You could use this pattern to develop an application that supports third-party plug-ins. Each plug-in would have to implement the same interface and be stored in its own assembly. Your application could then use Assembly.LoadFrom( ) and Activator.CreateInstance( ) to activate the plug-in.
In the previous examples, you loaded an assembly by hand and used the System.Activator class to create a new instance based on a type. There are many overrides of the CreateInstance( ) method that provide a wide range of creation options, including the ability to short-circuit the process and create a type directly:
object o = Activator.CreateInstance("Assem1.dll", "Friendly.Greeting");
Other capabilities of the Activator type include creating types on remote machines, creating types in specific AppDomains (sandboxes), and creating types by invoking a specific constructor (rather than using the default constructor as these examples show).
|
http://etutorials.org/Programming/C+in+a+nutshell+tutorial/Part+II+Programming+with+the+.NET+Framework/Chapter+13.+Reflection/13.6+Late+Binding/
|
CC-MAIN-2018-51
|
en
|
refinedweb
|
#include <nrt/Core/Design/Optional.H>
A class for representing optional values.
This class is a container around some value which may or may not exist; it encapsulates optional data. Optional can wrap both reference and non reference data, and is by default set to be uninitialized upon creation.
This class provides similar functionality to boost::optional but supports r-value assignment and construction, unlike the boost version.
Optional can be used as a way to have functions indicate that they will not be returning a valid value. Consider:
Consider also the case of reference arguments to a function which may be considered optional. In C, these could be represented by a pointer to some type. C++ does not offer a way to have references be NULL, so there is no way to easily indicate that a parameter should not be calculated or not be used:
Also see: OptionalReference for details on reference instantiation and OptionalValue for value type instantiation.
Definition at line 86 of file Optional.H.
Copy construct from a reference type assuming we are not a reference.
This constructor only allows construction in the reference->value direction and requires that the types are identical.
Construct from our value type.
Apply a functor to the contents of this Optional if it is set.
This, in conjunction with otherwise(), provides a clean interface to deal with Optional objects that may or may not actually contain values.
A type used to indicate an empty optional.
Definition at line 84 of file OptionalHelpers.H.
Provides a default value that can be used for Optional types to indicate that they are not in use.
Definition at line 88 of file OptionalHelpers.H.
|
http://nrtkit.net/documentation/classnrt_1_1Optional.html
|
CC-MAIN-2018-51
|
en
|
refinedweb
|
tag:blogger.com,1999:blog-53956430996187770662018-11-01T17:59:35.794-07:00Inheriting JavaInheriting JavaAnand VijayaKumarnoreply@blogger.comBlogger214125InheritingJava – Certification Steps<img src="" height="1" width="1" alt=""/>Anand VijayaKumar You Eligible for the SCJD/OCMJD Certification? If <img src="" height="1" width="1" alt=""/>Anand VijayaKumar the SCJD/OCMJD Certification If <img src="" height="1" width="1" alt=""/>Anand VijayaKumar Interview Questions - Part 2As a continuation to the part 1 of questions on Servlets that we covered in this blog sometime ago, below are some more questions on Servlets. Hope you find them useful... 1. What are the new features added to Servlet 2.5? Following are the new features introduced in Servlet 2.5: • A new dependency on J2SE 5.0 • Support for annotations • Loading the class • Several web.xml conveniences • <img src="" height="1" width="1" alt=""/>Anand VijayaKumar Interview Questions The <img src="" height="1" width="1" alt=""/>Anand VijayaKumar Database Connectivity JDBC Interview Questions Part 2As the article on JDBC Interview Questions part 1 was becoming too long, I stopped with 25 questions. So, now in this article, we are going to look at some more questions on the topic of Java Database Connectivity. Before we proceed, you can re-visit the article titled Java Database Connectivity - JDBC if you want to refresh your memory on JDBC concepts. Questions – Part 2: 1. How will you <img src="" height="1" width="1" alt=""/>Anand VijayaKumar Database Connectivity JDBC Interview Questions Part 1 I had posted an article titled “Java Database Connectivity - JDBC” last week on Friday and was planning to post the article on JDBC Interview questions today. But, before I could do so, one of our blog readers pointed out the fact that I haven’t posted it yet but have referenced it already… Well, here we go. The following are some questions that you may encounter on JDBC concepts during your <img src="" height="1" width="1" alt=""/>Anand VijayaKumar Database Connectivity - JDBC J <img src="" height="1" width="1" alt=""/>Anand VijayaKumar Collections Interview Questions - Part 2As a continuation from the part 1 of questions on the Java Collections topic, this article is going to contain some more questions on the Java Collections area. If you want to visit the part 1 questions click here Apart from the questions in the Part 1 and below, there are a few articles that I have put up (as part of the SCJP Certification series) on Collections that you might find useful. You <img src="" height="1" width="1" alt=""/>Anand VijayaKumar Listeners Containing a Single Method Call Java SE 1.4 introduces a mechanism that lets you specify simple event listeners without programming inner classes. (I am one of those people who doesn't like to use inner classes much, so I take any opportunity that is available to avoid using them) For example, suppose you have a button labeled “Load” whose event handler contains a single method call: frame.loadData(); Of course, you can <img src="" height="1" width="1" alt=""/>Anand VijayaKumar 13: Nested Locks Imagine <img src="" height="1" width="1" alt=""/>Anand VijayaKumar <img src="" height="1" width="1" alt=""/>Anand VijayaKumar 11: Lock Scope Now, <img src="" height="1" width="1" alt=""/>Anand VijayaKumar 10: Explicit Locking of Objects <img src="" height="1" width="1" alt=""/>Anand VijayaKumar 9: Race Conditions <img src="" height="1" width="1" alt=""/>Anand VijayaKumar 8: The Volatile KeywordThere is yet another useful keyword available in Java that is used frequently while using Threads. It is the Volatile Keyword. Think of the first scenario in our chapter on “Stopping Threads”. Our thread expects a value to be updated by some method and this value is checked everytime our thread is going to run inside a loop. Lets say we have implemented synchronization for our run method, we <img src="" height="1" width="1" alt=""/>Anand VijayaKumar 7: The Synchronized KeywordThe synchronized keyword is one of the most important keywords that you may use while using Threads. At the end of the previous chapter, we had used the term race-condition. In crude terms it refers to a scenario wherein one thread is attempting to read a value that is being changed by another thread. The purpose of the synchronized keyword is to help prevent such a situation. Before we try to <img src="" height="1" width="1" alt=""/>Anand VijayaKumar 6: Determining the Current ThreadSometimes, <img src="" height="1" width="1" alt=""/>Anand VijayaKumar 5: Stopping a ThreadWhen you want a thread to terminate or stop based on some condition, you have several approaches available. For ex, you may want to terminate a thread because it has completed the intended operation or because the user clicked the exit button. Though there are many approaches to do it, we are going to take a look at the two most common ways of doing it. 1. Setting a Flag The most common way of<img src="" height="1" width="1" alt=""/>Anand VijayaKumar 4: The Lifecycle of a ThreadNow that we know how to create a thread, the next step in the learning process it to understand the lifecycle of a thread. Before we get started: The class Thread contains many methods that might affect the life of a thread. They are: public void start( ); public void run( ); public void stop( ); // Deprecated, do not use public void resume( ); // Deprecated, do not use public void <img src="" height="1" width="1" alt=""/>Anand VijayaKumar 3: Creating a Thread <img src="" height="1" width="1" alt=""/>Anand VijayaKumar 2: What Is a Thread?A thread is an application task that is executed by a host computer. The notion of a task should be familiar to you even if the terminology is not. Suppose you have a Java program to do some task: public class DoSomething{ public static void main(String[] args) { Task 1; Task 2; Task 3; … Task N; } } When your computer runs this application, it executes a sequence of commands. At an abstract <img src="" height="1" width="1" alt=""/>Anand VijayaKumar 1: Introduction to ThreadsThreads are an important and interesting aspect of the Java Programming Language. If you are an experienced Java Programmer, you are invariably expected to know the intricacies of multi-threading. Well, this series of chapters is aimed at helping you understand this interesting and complicated concept. So, lets get started!!! Why Use Threads? The notion of threading is so ingrained in Java <img src="" height="1" width="1" alt=""/>Anand VijayaKumar Interview Questions1. Does Hibernate implement its functionality using a minimal number of database queries to ensure optimal output? Hibernate can make certain optimizations all the time: • Caching objects - The session is a transaction-level cache of persistent objects. You may also enable a JVM-level/cluster cache to memory and/or local disk. • Executing SQL statements later, when needed - The session <img src="" height="1" width="1" alt=""/>Anand VijayaKumar Spring and Hibernate Interview Questions 1. Explain DI or IOC pattern. <img src="" height="1" width="1" alt=""/>Anand VijayaKumar
|
http://feeds.feedburner.com/InheritingJava
|
CC-MAIN-2018-51
|
en
|
refinedweb
|
Term. If no size is specified, the service defaults to ten.
Examples
Before providing examples, we need to provide a context. Assume there is a class with a string property, a list of strings property, and a property of a complex type that also has a string property.
public class Book { public string Title { get; set; } public string Author { get; set; } public List<string> Tags { get; set; } } public class Author { public string Name { get; set; } }: You use the Take method to exclude actual search results, since you are not interested in them in this scenario. After getting the search results, you can extract the terms facet for the tags.
var tagCounts = searchResults .TermsFacetFor(x => x.Tags).Terms; foreach(var tagCount in tagCounts) { string tag = tagCount.Term; int count = tagCount.Count; Console.WriteLine(tag + ": " + count); }
The above code would print:
fiction: 2
crime: 1
science: 1
scifi: 1
Grouping authors
If you modify the code and instead retrieve a terms facet for author name, the code would look like this:
var searchResults = client.Search<Book>() .TermsFacetFor(x => x.Author.Name) .Take(0) .GetResult(); var authorCounts = searchResults .TermsFacetFor(x => x.Author.Name).Terms; foreach(var authorCount in authorCounts) { string authorName = authorCount.Term; int count = authorCount.Count; Console.WriteLine(authorName + ": " + count); }
The above code would print:
Agatha Christie: 1
Charles Darwin: 1
Charles Dickens: 1
Grouping by single words
In contrast, if you used the TermsFacetForWord method (instead of the TermsFacetFor method) in the above code, it would print:
charles: 2
agatha: 1
christie: 1
darwin: 1
dickens: 1
|
https://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-Find/9/DotNET-Client-API/Searching/Facets/Terms-facets/
|
CC-MAIN-2018-51
|
en
|
refinedweb
|
Base class for objects that do the output summary per iteration. More...
#include <IpIterationOutput.hpp>
Base class for objects that do the output summary per iteration.
Definition at line 22 of file IpIterationOutput.hpp.
enumeration for different inf_pr output options
Definition at line 47::RestoIterationOutput, and Ipopt::OrigIterationOutput.
Method to do all the summary output per iteration.
This include the one-line summary output as well as writing the details about the iterates if desired
Implemented in Ipopt::RestoIterationOutput, and Ipopt::OrigIterationOutput.
Overloaded Equals Operator.
|
https://www.coin-or.org/Doxygen/Ipopt/classIpopt_1_1IterationOutput.html
|
CC-MAIN-2018-51
|
en
|
refinedweb
|
#include <wx/grid.h>
This.
This function must be implemented in derived classes to return a copy of itself..
Get the preferred size of the cell for its contents.
|
https://docs.wxwidgets.org/3.0/classwx_grid_cell_renderer.html
|
CC-MAIN-2018-51
|
en
|
refinedweb
|
#include <wx/textcompleter.h>
Base class for custom text completer objects.
Custom completer objects used with wxTextEntry::AutoComplete() must derive from this class and implement its pure virtual method returning the completions. You would typically use a custom completer when the total number of completions is too big for performance to be acceptable if all of them need to be returned at once but if they can be generated hierarchically, i.e. only the first component initially, then the second one after the user finished entering the first one and so on.
When inheriting from this class you need to implement its two pure virtual methods. This allows to return the results incrementally and may or not be convenient depending on where do they come from. If you prefer to return all the completions at once, you should inherit from wxTextCompleterSimple instead.
Called to retrieve the next completion.
All completions returned by this function should start with the prefix passed to the last call to Start().
Notice that, as Start(), this method is called from a worker thread context under MSW.
Function called to start iteration over the completions for the given prefix.
This function could start a database query, for example, if the results are read from a database.
Notice that under some platforms (currently MSW only) it is called from another thread context and so the appropriate synchronization mechanism should be used to access any data also used by the main UI thread.
|
https://docs.wxwidgets.org/3.0/classwx_text_completer.html
|
CC-MAIN-2018-51
|
en
|
refinedweb
|
SHA-256 (Secure Hash Algorithm 256) More...
#include "core/crypto.h"
#include "hash/sha256.h"
Go to the source code of this file.
SHA-256 (Secure Hash Algorithm 256)-256 is a secure hash algorithm for computing a condensed representation of an electronic message. Refer to FIPS 180-4 for more details
Definition in file sha256.c.
Definition at line 81 of file sha256.c.
|
https://oryx-embedded.com/doc/sha256_8c.html
|
CC-MAIN-2018-51
|
en
|
refinedweb
|
mechan:
python test.py
There are some tests that try to fetch URLs from the internet. To include those in the test run:
python test.py discover --tag internet
The
urllib2 interface
mechanize exports the complete interface of
urllib2. See the
urllib2 documentation. For example:
import mechanize
response = mechanize.urlopen("")
print response.read()
Compatibility
These notes explain the relationship between mechanize, ClientCookie, ClientForm,
cookielib and
urllib2, and which to use when. If you’re just using mechanize, and not any of those other libraries, you can ignore this section.
mechanize works with Python 2.4, Python 2.5, Python 2.6, and Python 2.7.
When using mechanize, anything you would normally import from
urllib2should be imported from
mechanizeinstead.
Use of mechanize classes with
urllib2(and vice-versa) is no longer supported. However, existing classes implementing the
urllib2 Handlerinterface are likely to work unchanged with mechanize.
mechanize now only imports
urllib2.URLErrorand
urllib2.HTTPErrorfrom
urllib2. The rest is forked. I intend to merge fixes from Python trunk frequently.
ClientForm is no longer maintained as a separate package. The code is now part of mechanize, and its interface is now exported through module mechanize (since mechanize 0.2.0). Old code can simply be changed to
import mechanize as ClientFormand should continue to work.
ClientCookie is no longer maintained as a separate package. The code is now part of mechanize, and its interface is now exported through module mechanize (since mechanize 0.1.0). Old code can simply be changed to
import mechanize as ClientCookieand should continue to work.
The cookie handling parts of mechanize are in Python 2.4 standard library as module
cookieliband extensions to module
urllib2. mechanize does not currently use
cookielib, due to the presence of thread synchronisation code in
cookielibthat is not present in the mechanize fork of
cookielib.
API differences between mechanize and
urllib2:
mechanize provides additional features.
mechanize.urlopendiffers in its behaviour: it handles cookies, whereas
urllib2.urlopendoes not. To make a
urlopenfunction with the
urllib2behaviour:
import mechanize
handler_classes = [mechanize.ProxyHandler,
mechanize.UnknownHandler,
mechanize.HTTPHandler,
mechanize.HTTPDefaultErrorHandler,
mechanize.HTTPRedirectHandler,
mechanize.FTPHandler,
mechanize.FileHandler,
mechanize.HTTPErrorProcessor]
opener = mechanize.OpenerDirector()
for handler_class in handler_classes:
opener.add_handler(handler_class())
urlopen = opener.open
- Since Python 2.6,
urllib2uses a
.timeoutattribute on
Requestobjects internally. However,
urllib2.Requesthas no timeout constructor argument, and
urllib2.urlopen()ignores this parameter.
mechanize.Requesthas a
timeoutconstructor argument which is used to set the attribute of the same name, and
mechanize.urlopen()does not ignore the timeout attribute.
UserAgent vs UserAgentBase).
I prefer questions and comments to be sent to the mailing list rather than direct to me.
John J. Lee, July 2010.
|
http://wwwsearch.sourceforge.net/mechanize/documentation.html
|
CC-MAIN-2017-04
|
en
|
refinedweb
|
CodePlexProject Hosting for Open Source Software
I have implemented a new permission. I copied some code from an existing IPermissionProvider. There are a couple things I'm unsure of, though.
Here is my code.
public class Permissions : IPermissionProvider
{
public static readonly Permission DownloadLessonPlans = new Permission { Description = "Download Lesson Plans", Name = "DownloadLessonPlans" };
public virtual Feature Feature { get; set; }
public IEnumerable<Permission> GetPermissions()
{
return new[] {
DownloadLessonPlans
};
}
public IEnumerable<PermissionStereotype> GetDefaultStereotypes()
{
return new[] {
new PermissionStereotype {
Name = "Administrator",
Permissions = new[] {DownloadLessonPlans}
},
new PermissionStereotype {
Name = "Editor",
Permissions = new[] {DownloadLessonPlans}
},
new PermissionStereotype {
Name = "Author",
Permissions = new[] {DownloadLessonPlans}
}
};
}
}
1. I kind of cargo-culted the virtual Feature Feature property in there, as I see it in all IPermissionProviders...is this used to basically "namespace" permissions? That is my theory based on a comment in Orchard.Roles.DefaultRoleUpdater that
reads "when another module is being enabled, locate matching permission providers."
2. More importantly, what does GetDefaultStereotypes do? I would think that for each of those three roles that I've specified, the "allow" and "effective" checkboxes should show as checked for my new permission. Administrator indeed shows
these boxes checked, but Editor and Author do not. The code also doesn't indicate whether the permission should be AVAILABLE for setting, as I can set my permission for all other roles in the dashboard. So..if neither of these are what that code is supposed
to do, what IS it supposed do?
1. Yes, it's there for us to be able to classify permissions under the relevant feature, and to only check permissions for enabled features.
2. This should be applied to those roles if they exist, when the feature is enabled. If that is not happening, it is a bug.
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.
|
http://orchard.codeplex.com/discussions/266638
|
CC-MAIN-2017-04
|
en
|
refinedweb
|
Let's say I have a vector [2,4,6,8,10], and I need to remove the 2nd and the 4th elements from this vector. The desired resulting vector should be [2,6,10]. This is very easy to implement in R:
v1 <- c(2,4,6,8,10)
v1[-c(2,4)]
.erase()
.erase
uvec
Here's one possible approach:
#include <Rcpp.h> Rcpp::LogicalVector logical_index(Rcpp::IntegerVector idx, R_xlen_t n) { bool invert = false; Rcpp::LogicalVector result(n, false); for (R_xlen_t i = 0; i < idx.size(); i++) { if (!invert && idx[i] < 0) invert = true; result[std::abs(idx[i])] = true; } if (!invert) return result; return !result; } // [[Rcpp::export]] Rcpp::NumericVector Subset(Rcpp::NumericVector x, Rcpp::IntegerVector idx) { return x[logical_index(idx, x.size())]; }
x <- seq(2, 10, 2) x[c(2, 4)] #[1] 4 8 Subset(x, c(1, 3)) #[1] 4 8 x[-c(2, 4)] #[1] 2 6 10 Subset(x, -c(1, 3)) #[1] 2 6 10
Note that the indices for the Rcpp function are 0-based, as they are processed in C++.
I abstracted the subsetting logic into its own function,
logical_index, which converts an
IntegerVector to a
LogicalVector in order to be able to "decide" whether to drop or keep the specified elements (e.g. by inverting the result). I suppose this could be done with integer-based subsetting as well, but it should not matter either way.
Like vector subsetting in R, a vector of all negative indices means to drop the corresponding elements; whereas a vector of all positive indices indicates the elements to keep. I did not check for mixed cases, which should probably throw an exception, as R will do.
Regarding my last comment, it would probably be more sensible to rely on Rcpp's native overloads for ordinary subsetting, and have a dedicated function for negated subsetting (R's
x[-c(...)] construct), rather than mixing functionality as above. There are pre-existing sugar expressions for creating such a function, e.g.
#include <Rcpp.h> template <int RTYPE> inline Rcpp::Vector<RTYPE> anti_subset(const Rcpp::Vector<RTYPE>& x, Rcpp::IntegerVector idx) { Rcpp::IntegerVector xi = Rcpp::seq(0, x.size() - 1); return x[Rcpp::setdiff(xi, idx)]; } // [[Rcpp::export]] Rcpp::NumericVector AntiSubset(Rcpp::NumericVector x, Rcpp::IntegerVector idx) { return anti_subset(x, idx); } /*** R x <- seq(2, 10, 2) x[-c(2, 4)] #[1] 2 6 10 AntiSubset(x, c(1, 3)) #[1] 2 6 10 */
|
https://codedump.io/share/ILeA2ZKJHSQ2/1/rcpprcpparmadillo-removing-non-contiguous-elements-from-a-vector-based-on-positions
|
CC-MAIN-2017-04
|
en
|
refinedweb
|
Setting up CI/CD for a PREN app with Jenkins, Docker and GitHub Webhooks on Container Registry
By Temidayo Oyedele, Alibaba Cloud Tech Share Author. Tech Share is Alibaba Cloud’s incentive program to encourage the sharing of technical knowledge and best practices within the cloud community..
Docker is a platform for developers and sysadmins to develop, deploy, and run applications with containers. The use of Linux containers to deploy applications is called containerization. Containers are not new, but their use for easily deploying applications is.
In this guide, we will setup a continuous integration and deployment pipeline for a PREN (PostgreSQL, ReactJS, Express, NodeJS) application. We will be using Jenkins to detect code changes on GitHub and continuous delivery, the PREN application will be containerized using Docker and pushed to Alibaba Cloud Container Registry. The PREN app we will be using is hosted on GitHub here.
Prerequisites and Requirements
- An Alibaba Cloud account. Click here to create one.
- A freshly deployed Alibaba Cloud Ubuntu 16.04 64-bit server instance
- Minimum 2GB RAM (2 GB highly recommended due to Dockerised app size)
- Minimum Disk Space of 20 GB (but 40GB recommended)
- The instance security group should allow ingress on port 8080
- An Alibaba Cloud Elastic Container Registry repository
Step 1: Set up Jenkins
We will setup our Jenkins server on an Alibaba cloud elastic compute service. Login to the Alibaba Cloud ECS console. If you don’t have an instance running, you can click on this link to get an Alibaba Cloud compute service running.
Java runtime environment (JRE) is a requirement for installing Jenkins and we will install it first.
I prefer you install the JDK (Java development kit) which also contains the Java runtime environment as you may need to compile Java programs or other programs may require it. The only downside is it is larger in size.
You can SSH into the ECS instance from your local terminal using your SSH key pair or login via the VNC console depending on your set or preferred method and follow these steps to install Jenkins:
Add the Oracle PPA and update your package index by running the command below:
sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
The software properties common is needed to be install so we can use add-apt-repository later. Finally, we install the JDK 8 by running:
sudo apt-get install oracle-java8-installer
Note: Jenkins specifically requires Java version 8 installed.
Add the repository key to the system using the following command:
wget -q -O - | sudo apt-key add -
Finally, we’ll install Jenkins and its dependencies:
sudo apt-get install jenkins
Using service, we’ll start Jenkins:
sudo service jenkins start
You can check Jenkins status with:
sudo service jenkins status
You should see something similar to Jenkins automation server is running amidst the output.
Next, we will need to set up our installation from the Jenkins web console. Navigate to the Jenkins web console by visiting. Port 8080 is the default port for Jenkins.
You should see the “Unlock Jenkins” page, which displays the location of the initial password in red text. Something similar to this:
Go to the VNC terminal or your local terminal window where you logged in to the ECS instance, we’ll use the
cat command to display the password:
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
We’ll copy the 32-character alphanumeric password output from the terminal and paste it into the “Administrator password” field in the Jenkins console, then click “Continue”. The next screen presents the option of installing suggested plugins or selecting specific plugins. We will be selecting the option to install suggested plugins.
When the installation is complete, we’ll be prompted to set up the first administrative user. It’s possible to skip this step and continue as admin using the initial password we used above, but we’ll take a moment to create the user.
Fill in the details that you will remember then save and continue.
At this stage, you should see a page similar to this:
Click on Save and Finish then Start using Jenkins on the next page. You will be redirected to the dashboard. The installation is done at this stage.
Step 2: Setup Docker
Still on the ECS instance from the VNC or your terminal/command prompt. To ensure we get a valid docker download, repository:
sudo apt-get update
Finally, install Docker with this command:
sudo apt-get install -y docker-ce
Docker should now be installed, the daemon started, and the process enabled to start on boot. Check that it’s running using:
sudo service docker status
Step 3: Setup GitHub Webhooks on Jenkins
From your web browser, go to your Jenkins dashboard () and click on new item to create a new Jenkins job. Type a suitable name, select freestyle project and click on ok to move to the next page.
On the next page, under build triggers, check the trigger builds remotely box (e.g., from scripts), you will be required to provide an authentication token. Fill in any token of your choice (more like password) easy for you to remember and quite difficult for other people. This token is required to make push events (in our case from GitHub) to the Jenkins server. Take note of the URL under the input field. I will call it build URL and it will be needed later for GitHub webhook.
For the build section, select Add build step and Execute shell from the dropdown. Paste the following command in the text area:
set +x
if [ -d HelloBooks-Alibaba ]; then rm -rf HelloBooks-Alibaba; fi
git clone
cd HelloBooks-Alibaba
sudo docker build -t hellobooks .
sudo docker login --username=yourusername registry-intl.yourregion.aliyuncs.com -p $password
sudo docker tag [ImageId] registry-intl.yourregion.aliyuncs.com/yournamespace/yourrepositoryname:[tag]
sudo docker push registry-intl.yourregion.aliyuncs.com/yournamespace/yourrepositoryname:[tag]
If you are following this guide with the sample project I am using, you can leave the first five commands as it is otherwise modify accordingly. The next three commands are directly from the Alibaba ECR (Elastic Container Registry) repository. This is explained better in the next step (step 4) slated for setting up the ECR.
Set +x makes sure commands and their arguments are not printed or returned to the terminal. The next line checks if the project folder exists and deletes if true. This will make sure we always have an updated repo folder. Then next, we clone the repo and cd (change directory) to the project folder or directory. After that, the docker command to build the image is ran.
Finally, before we save the Jenkins job, we need to add an environment variable; the password to login to the ECR repository. Under the Build Environment check the Use secret text(s) or file(s) box. A new section will be shown right beneath it (Bindings). Fill the variable field with a name for the secret text. Click on the Adddropdown and select secret text. Click on Add, then Jenkins. Change the kind to secret text and paste your ECR Docker login password. Fill the ID field (take note of this name as it will be what we will use to reference the secret file later and must be the same as the variable name). Save.
Lots of source-code hosting services like GitHub, Gitlab, Bitbucket etc. have the ability to send webhooks when new commits are pushed to a repository. The webhooks are usually HTTP POST requests with a JSON payload.
By default, Jenkins 2.x and later enables a security feature called “Prevent Cross Site Request Forgery exploits” that rejects all POST requests that don’t have a valid ‘crumb’ token associated with them. This is a great security feature.
Since most Git hosting services don’t have any mechanism to retrieve or handle a crumb, that means that their POST requests get blocked on a Jenkins installation with default settings. “Prevent Cross Site Request Forgery exploits” needs to be manually disabled in order to allow the host’s webhooks to work with Jenkins out-of-the-box, or a service-specific plugin needs to be installed.
There are plugins built for a lot of common hosts like Bitbucket and GitHub that provide Crumb Exclusions for them. These plugins make sure CSRF is enabled and push notification can still be made but for the purpose of this tutorial, we won’t be installing any third-party plugin but disable CSRF manually.
To disable CSRF on Jenkins dashboard, click on manage Jenkins from the Jenkins dashboard, then configure global security. Scroll up under Authorization, select Logged-in users can do anything then check the Allow anonymous read access box. Continue Scrolling up and you should see CSRF protection, uncheck the box. Save and we are all done there.
Lastly, we need to give the Jenkins user sudo permission as the docker commands to send our images to the container registry requires a sudoer privilege. This can be done by modify the sudoers file by running the command below:
visudo -f /etc/sudoers
Then add the following line at the end of the file and save.
jenkins ALL= NOPASSWD: ALL
Go to your repository on GitHub and click on the settings tab then webhooks from the left navigation pane.
Click on add webhook to create our Jenkins webhook. The payload URL will be our Jenkins build URL from step 3. Check the Just the push event box. For the purpose of this tutorial we will do just that. You can explore and configure events that fits your project by selecting the Let me select individual events box. Now click on Add webhook to create. This will enable our Jenkins job to build whenever there is a change (push) to this repository.
Step 4: Configure Container Registry
Go to your ECR dashboard and click on manage. Scroll up to the push image to the repository section. You should see something like this;
sudo docker login --username=yourusername registry-intl.yourregion.aliyuncs.com
sudo docker tag [ImageId] registry-intl.yourregion.aliyuncs.com/yournamespace/yourrepositoryname:[tag]
sudo docker push registry-intl.yourregion.aliyuncs.com/yournamespace/yourrepositoryname:[tag]
This is what we added to the build step in the Jenkins job in the previous step.
At this stage, you can test the whole setup by making a simple change to your application and make a push to GitHub. GitHub will notify Jenkins of the changes and our Jenkins job will build a docker image and send to our ECR repository. You can check this out on the ECR repository dashboard. Click on manage then Tags.
Conclusion
Phew. Now we have everything set up and running.
You can login to your ECR, pull the image and start the application, it runs on port 8000. You can also deploy it to a container cluster like Kubernetes or Swarm.
Original Source
|
https://alibaba-cloud.medium.com/setting-up-ci-cd-for-a-pren-app-with-jenkins-docker-and-github-webhooks-on-container-registry-decd01337a4e?source=post_internal_links---------5----------------------------
|
CC-MAIN-2021-39
|
en
|
refinedweb
|
README
¶
QUIC-mangos
A QUIC transport for mangos written in pure Go
Motivation
QUIC-mangos brings the low latency and multiplexed streaming of the QUIC protocol to mangos.
URL paths passed to
sock.Listen and
sock.Dial are mapped to a separate QUIC
stream, allowing several
mangos.Sockets to share a single port mapping.
Moreover, QUIC is designed with the modern web in mind and performs significantly better than TCP over lossy connections. It also features mandatory TLS encryption, which is configruable via socket options.
Usage
QUIC-mangos can be installed via the standard go toolchain:
go get -u github.com/lthibault/quic-mangos
The QUIC transport adheres to the public API for mangos transports.
import ( // ... "github.com/lthibault/quic-mangos" ) // set up a mangos.Socket the usual way sock.AddTransport(quic.NewTransport()) _ = sock.Listen("quic://127.0.0.1:9001/foo/bar")
Documentation
¶
Index ¶
Constants ¶
const ( // OptionTLSConfig maps to a *tls.Config value OptionTLSConfig = "QUIC-TLS-CONFIG" // OptionQUICConfig maps to a *quic.Config value OptionQUICConfig = "QUIC-UDP-CONFIG" )
Variables ¶
This section is empty.
Functions ¶
func NewTransport ¶
NewTransport allocates a new quic:// transport.
Types ¶
This section is empty.
|
https://pkg.go.dev/github.com/lthibault/quic-mangos
|
CC-MAIN-2021-39
|
en
|
refinedweb
|
Here is a code snippet that calculates the probability of the outcome of a two sided game based on the capability of each side. I used it in my football league simulator program
Could be used in any number of simulators which involve two parties. For equally strong parties, the result is calculated based on equal probability of all three outcomes.
It can be written in hundreds of different ways. Good Luck
from random import randrange #randrange form random module def calc_prob(strengths): """A function that receives an array of two numbers indicating the strength of each party and returns the winner""" if strengths[1]>strengths[0]:#Bring the bigger number to the first position in the array temp=strengths[0] strengths[0]=strengths[1] strengths[1]=temp prob1=abs(strengths[0]-strengths[1])#The relative strength of the 2 parties prob2=randrange(0,100)#To calculate the luck that decides the outcome if prob2 in range(0,33-prob1):#Check if the weaker party is capable of winning. The condition gets narrower with the increase in relative strengths of each parties return strengths[1] elif prob2 in range(33-prob1,66-prob1):#The middle condition return "Draw" else: return strengths[0]#Luck favors the stronger party and if relative strength between the teams is too large, the match ends up in favor of the stronger party #Example calc_prob([50,75]);#Always has to be a list to allow exchange #Can be programmed in hundreds of better ways. Good luck!
|
https://www.daniweb.com/programming/software-development/code/456711/probability-calculator
|
CC-MAIN-2018-47
|
en
|
refinedweb
|
A model .NET web service based on Domain Driven Design Part 4: the abstract Repository
September 23, 2013 2 Comments
Introduction
In the previous post we created a very basic domain layer with the first domain object: Customer. We’ll now see what the data access layer could look like in an abstract form. This is where we must be careful not to commit the same mistakes as in the technology-driven example of the introductory post of this series.
We must abstract away the implementation details of the data access technology we use so that we can easily switch strategies later if necessary. We cannot let any technology-specific implementation bubble up from the data access layer. These details include the object context in EntityFramework, MongoClient and MongoServer in MongoDb .NET, the objects related to the file system in a purely file based data access solution etc., you probably get the idea. We must therefore make sure that no other layer will be dependent on the concrete data access solution.
We’ll first lay the foundations for abstracting away any type of data access technology and you may find it a “heavy” process with a steep learning curve. As these technologies come in many different shapes this is not the most trivial task to achieve. We can have ORM technologies like EntityFramework, file-based data storage like MongoDb, key-value style storage such as Azure storage, and it’s not easy to find a common abstraction that fits all of them. We’ll need to accommodate these technologies without hurting the ISP principle too much. We’ll follow a couple of well-established patterns and see how they can be implemented.
Aggregate root
We discussed aggregates and aggregate roots in this post. Recall that aggregates are handled as one unit where the aggregate root is the entry point, the “boss” of the aggregate. This implies that the data access layer should only handle aggregate roots. It should not accept objects that lie somewhere within the aggregate. We haven’t yet implemented any code regarding aggregate roots, but we can take a very simple approach. Insert the following empty interface in the Infrastructure.Common/Domain folder:
public interface IAggregateRoot { }
Conceptually it would probably be better to create a base class for aggregate roots, but we already have one for entities. As you know an object cannot derive from two base classes so we’ll indicate aggregate roots with this interface instead. At present it is simply an indicator interface with no methods, such as the ISerializable interface in .NET. We could add common properties or methods here but I cannot think of any right now.
After consulting the domain expert we decide that the Customer domain is an aggregate root: the root of its own Customer aggregate. Right now the Customer aggregate has only one member, the Customer entity, but that’s perfectly acceptable. Aggregate roots don’t necessarily consist of at least 2 objects. Let’s change the Customer domain object declaration as follows:
public class Customer : EntityBase<int>, IAggregateRoot
The rest of the post will look at how to abstract away the data access technology and some patterns related to that.
Unit of work
The first important concept within data access and persistence is the Unit of Work. The purpose of a Unit of Work is to maintain a list of objects that have been modified by a transaction. These modifications include insertions, updates and deletions. The Unit of Work co-ordinates the persistence of these changes and also checks for concurrency problems, such as the same object being modified by different threads.
This may sound a bit cryptic but if you’re familiar with EntityFramework or Linq to SQL then the object context in each technology is a good example for an implementation of a unit of work:
DbContext.AddObject("Customers", new Customer()); DbContext.SaveChanges();
DbContext.Customers.InsertOnSubmit(new Customer()); DbContext.SubmitChanges();
In both cases the DbContext, which takes the role of the Unit of Work, first registers the changes. The changes are not persisted until the SaveChanges() – EntityFramework – or the SubmitChanges() – Linq to SQL – method is called. Note that the DB object context is responsible for registering AND persisting the changes.
The Unit of Work pattern can be represented by the following interface:
public interface IUnitOfWork { void RegisterUpdate(IAggregateRoot aggregateRoot); void RegisterInsertion(IAggregateRoot aggregateRoot); void RegisterDeletion(IAggregateRoot aggregateRoot); void Commit(); }
Notice that we have separated the registration and commit actions. In the case of EntityFramework and similar ORM technologies the object that registers and persists the changes will often be the same: the object context or a similar object.
However, this is not always the case. It is perfectly reasonable that you are not fond of these automation tools and want to use something more basic where you have the freedom of specifying how you track changes and how you persist them: you may register the changes in memory and persist them in a file. Or you may still have a lot of legacy ADO.NET where you want to move to a more modern layered architecture. ADO.NET lacks a DbContext object so you may have to solve the registration of changes in a different way.
For those scenarios we need to introduce another abstraction. Insert the following interface in a new folder called UnitOfWork in the Infrastructure layer:
public interface IUnitOfWorkRepository { void PersistInsertion(IAggregateRoot aggregateRoot); void PersistUpdate(IAggregateRoot aggregateRoot); void PersistDeletion(IAggregateRoot aggregateRoot); }
Insert a new interface called IUnitOfWork in the same folder:
public interface IUnitOfWork { void RegisterUpdate(IAggregateRoot aggregateRoot, IUnitOfWorkRepository repository); void RegisterInsertion(IAggregateRoot aggregateRoot, IUnitOfWorkRepository repository); void RegisterDeletion(IAggregateRoot aggregateRoot, IUnitOfWorkRepository repository); void Commit(); }
The above Unit of Work pattern abstraction can be extended as above to give way for the total separation between the registration and persistence of aggregate roots. Later on, as we see these elements at work and as you get more acquainted with the structure of the solution, you may decide that this is overkill and you want to go with the more simple solution, it’s up to you.
Repository pattern
The repository pattern is used to declare the possible data access related actions you want to expose for your aggregate roots. The most basic of those are CRUD operations: insert, update, delete, select. You can have other methods such as insert many, select by ID, select by id and date etc., but the CRUD operations are probably the most common across all aggregate roots.
It may be beneficial to divide those operations into two groups: read and write operations. You may have a read-only policy for some aggregate roots so you don’t need to expose all of those operations. For read-only aggregates you can have a read-only repository. Insert the following interface in the Domain folder of the Infrastructure project:
public interface IReadOnlyRepository<AggregateType, IdType> where AggregateType : IAggregateRoot { AggregateType FindBy(IdType id); IEnumerable<AggregateType> FindAll(); }
Here again we only allow aggregate roots to be selected. Finding an object by its ID is such a basic operation that it just has to be included here. FindAll can be a bit more sensitive issue. If you have a data table with millions of rows then you may not want to expose this method as it will bog down your data server, so use it with care. It’s perfectly OK to omit this operation from this interface. You will be able to include this method in domain-specific repositories as we’ll see in the next post. E.g. if you want to enable the retrieval of all Customers from the database then you can expose this method in the CustomerRepository class.
The other data access operations can be exposed in an “actionable” interface. Insert the following interface in the folder of the Infrastructure project:
public interface IRepository<AggregateType, IdType> : IReadOnlyRepository<AggregateType, IdType> where AggregateType : IAggregateRoot { void Update(AggregateType aggregate); void Insert(AggregateType aggregate); void Delete(AggregateType aggregate); }
Keep in mind that these interfaces only expose the most common actions that are applicable across all aggregate roots. You’ll be able to specify domain-specific actions in domain-specific implementations of these repositories.
We’ll look at how these elements can be implemented for the Customer object in the next post.
View the list of posts on Architecture and Patterns here.
Pingback: Architecture and patterns | Michael's Excerpts
Very nice .. I liked it 🙂
|
https://dotnetcodr.com/2013/09/23/a-model-net-web-service-based-on-domain-driven-design-part-4-the-abstract-repository/
|
CC-MAIN-2018-47
|
en
|
refinedweb
|
Examples¶
Just a few examples to get you an idea of how easy PyScaffold is to use:
putup my_little_project
- The simplest way of using PyScaffold. A directory
my_little_projectis created with a Python package named exactly the same. The MIT license will be used.
putup skynet -l gpl3 -d "Finally, the ultimate AI!" -u
- This will create a project and package named skynet licensed under the GPL3. The description inside
setup.cfgis directly set to “Finally, the ultimate AI!” and the homepage to.
putup Scikit-Gravity -p skgravity -l new-bsd
- This will create a project named Scikit-Gravity but the package will be named skgravity with license new-BSD.
putup youtub --django --pre-commit -d "Ultimate video site for hot tub fans"
- This will create a web project and package named youtub that also includes the files created by Django’s
django-admin. The description in
setup.cfgwill be set and a file
.pre-commit-config.yamlis created with a default setup for pre-commit.
putup thoroughly_tested --tox --travis
- This will create a project and package thoroughly_tested with files
tox.iniand
.travis.ymlfor Tox and Travis.
putup my_zope_subpackage --namespace zope -l gpl3
- This will create a project and subpackage named my_zope_subpackage in the namespace zope. To be honest, there is really only the Zope project that comes to my mind which is using this exotic feature of Python’s packaging system. Chances are high, that you will never ever need a namespace package in your life.
|
https://pyscaffold.org/en/latest/examples.html
|
CC-MAIN-2018-47
|
en
|
refinedweb
|
Represents arguments passed to an application's XafApplication.ViewShown event.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v18.2.dll
public class ViewShownEventArgs : EventArgs
Public Class ViewShownEventArgs Inherits EventArgs
The ViewShownEventArgs class declares properties specific to the XafApplication.ViewShown event designed to exchange data between the Frame that created a View and the Frames that showed the View. This event is raised after the View is shown. To access the Frames, use the ViewShownEventArgs.SourceFrame and ViewShownEventArgs.TargetFrame properties.
|
https://docs.devexpress.com/eXpressAppFramework/DevExpress.ExpressApp.ViewShownEventArgs
|
CC-MAIN-2018-47
|
en
|
refinedweb
|
Problem
In a previous tip we learned how to import JSON files into SQL Server using SSIS. However, I have been supplied a JSON file which contains multiple nested JSON objects. Hence, I would like to learn how to import nested JSON objects into SQL Server using SQL Server Integration Services.
Solution
In this tip, I will show how to import two nested JSON object files into SSIS using a couple of examples.
Import JSON File into SQL Server – Example #1
The below image represents a simple JSON object which contains a nested JSON object "links". The "links" JSON object has 5 attributes namely "self", "first", "last", "next" and "prev".
It is observed that the attribute "prev" has a value of "null". In JSON null or no values are expressed as "null". This example is the same as the “Orders” JSON file mentioned in the previous tip. Hence, we will be following similar procedures to load the file.
As a first step, let’s create a data flow task and add a script component to source the JSON file. Once this is done, let’s add the output columns for the JSON object.
The columns "First", "Last", "Next", "Prev" and "Self" have been added as output columns with the datatype string.
Now we need to define a class to store the value of "Links" object at runtime. If you observed very closely on the JSON viewer, it is evident that there is a root level JSON object.
The root level JSON object contains the "links" JSON object. As there are two objects, we need to create two classes. A "LinkSubItem" class will be defined to store the value of "links" attributes.
A petition class will be defined to represent the root level JSON object. The petition class will have a property to store the values of links. In this way, an object of type Petition will store the root level object with "links" as an inner most object. Hence once the JSON file has been loaded and stored as a petition object, we can access all the properties using .Net libraries.
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PetitionNamespace { class Petition { public LinkSubItem links { get; set; } } public class LinkSubItem { public string self { get; set; } public string first { get; set; } public string last { get; set; } public string next { get; set; } public string prev { get; set; } } }
The above class definition will help you to create the class for Petition.
Deserialization
We have learned about deserialization in the last tip. Now we can deserialize and load the JSON file into an object of type petition. As there is only one JSON object at the root we don’t need to define an array. A simple definition of petition object is enough. Once the petition object has been created we can access the inner most object “links” using the notation "petition.links".
Hence the attributes of link object can be accessed by "petition.links.self". The below mentioned script will help you to deserialize the JSON object.(); Petition petition = js.Deserialize<Petition>(jsonFileContent); Output0Buffer.AddRow(); Output0Buffer.self = petition.links.self; Output0Buffer.First = petition.links.first; Output0Buffer.Last = petition.links.last; Output0Buffer.Next = petition.links.next; Output0Buffer.prev = petition.links.prev; }
After the successful execution of the package, we can see a record in the data pipe line as shown in the below picture.
Import JSON File into SQL Server – Example #2
In example #1, we had a quick look at a simple example for a nested JSON document. Now let’s have a look at complex example on the nested JSON file.
In this example, at root level we have a single object "data". The data object contains the value as array and it has two petition objects. Each petition object has three attributes namely type, id and links. Both the attributes type and id are of string datatype and the links attribute is of type object. The JSON object viewer in the below image represents the object structure.
Overall, we have three property details to collect from the supplied JSON and they are "id", "type" and "Link". So, let’s create output columns for these attributes with the data type "string" as mentioned in the below picture.
By closely observing the JSON viewer, we can see that there are three objects in the supplied JSON document. The inner most object is "links" where it has the property "self" which holds the actual link for the petition. The next level in the hierarchy is data array item. An item has three attributes and they are "type", "id" and "links". A data item is a root level object that holds the array of “datasubitems” as its property.
To deserialize this JSON, we need three classes. The inner most class "SelfLink" represents the "links" item. The “DataSubItem” represents each item in the array. It is observed that the “datasubitem” has a property "links" which will return the object of type "Selflink" which contains the link details.
Finally, the “dataitem” class represents the root level object in the JSON file. This root object has a property "data" which will return a collection of subitem. class Selflink { public string self { get; set; } } }
Once the class has been defined, we can deserialize the JSON file and store the file content of type "DataItem". The “dataitem” object contains a collection of “datasubitmes”. Hence, we need to iterate thru “datasubitems” to collect the details of the attributes. This is achieved by using the foreach loop construct in C#. As the attributes "type", "id" are the simple properties they can be extracted directly from the “datasubitem”. However, the “datasubitem” has "links" object as its attribute. Hence, we need to extract the "links" object from “datasubitem” to collect the "self" link.
The below script will help you to deserialize and extract all the data contents of the JSON file.; } }
Summary
In this tip, we learned about importing nested JSON data files using SQL Server Integration Services. Also, we have learned about deserializing nested JSON into JSON runtime objects.
Next Steps
Last Update:
2018-04-10
About the author
Nat Sundar is working as an independent SQL BI consultant in the UK with a Bachelors Degree in Engineering.
|
http://ugurak.net/index.php/2018/05/08/import-nested-json-files-to-sql-server-with-ssis/
|
CC-MAIN-2018-47
|
en
|
refinedweb
|
Using Isolated Storage to save/load files on Windows Phone 7
Using Isolated Storage to save/load files on Windows Phone 7
Join the DZone community and get the full member experience.Join For Free
I’m seeing a lot of forum threads with people asking how to save/load files on Windows Phone 7, well for XNA 4 in general.
You can use IsolatedStorage for that
using System.IO.IsolatedStorage;
Both save and load can be done by creating a IsolatedStorageFile, I then use a Filestream and write with a binaryWriter
IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForApplication(); // grab the storage FileStream stream = store.OpenFile("test.txt", FileMode.Create); // Open a file in Create mode BinaryWriter writer = new BinaryWriter(stream); float myvar = 5.0f; writer.Write("something"); writer.Write(myvar); writer.Close();
For loading is pretty much the same thing:
IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForApplication(); if (store.FileExists("test.txt")) // Check if file exists { IsolatedStorageFileStream save = new IsolatedStorageFileStream("test.txt", FileMode.Open, store); BinaryReader reader = new BinaryReader(save); string mystring = reader.ReadString(); float myfloat = (float)reader.ReadSingle(); reader.Close(); }
Simple right? I really don’t know if this is the best way but I’ve tested on both the emulator and a real device and it works.
Published at DZone with permission of David Amador , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
{{ parent.title || parent.header.title}}
{{ parent.tldr }}
{{ parent.linkDescription }}{{ parent.urlSource.name }}
|
https://dzone.com/articles/using-isolated-storage
|
CC-MAIN-2018-47
|
en
|
refinedweb
|
A connection policy object describes how a given connection should behave. More...
#include <rtt/ConnPolicy.hpp>
A connection policy object describes how a given connection should behave.
Various parameters are available:..
References init, pull, and size.
Referenced by RTT::base::OutputPortInterface::createBufferConnection().
Create a policy for a (lock-free) circular fifo buffer connection of a given size.
Definition at line 63 of file ConnPolicy.cpp.
References init, pull, and size.
Create a policy for a (lock-free) shared data connection of a given size.
Definition at line 72 of file ConnPolicy.cpp.
References init, and pull.
Referenced by RTT::base::OutputPortInterface::createDataConnect 171 of file ConnPolicy.hpp.
Referenced by RTT::internal::ConnFactory::createAndCheckStream()..
Referenced by buffer(), circularBuffer(), and data(). 179 of file ConnPolicy.hpp.
Referenced by RTT::corba::RemoteInputPort::buildRemoteChannelOutput(), RTT::internal::ConnFactory::createAndCheckStream(), RTT::corba::RemoteOutputPort::createConnection(), RTT::internal::ConnFactory::createOutOfBandConnection(), and RTT::internal::ConnFactory::createStream().
If true, then the sink will have to pull data.
Otherwise, it is pushed from the source. In both cases, the reader side is notified that new data is available by base::ChannelElementBase::signal()
Definition at line 154 of file ConnPolicy.hpp.
Referenced by buffer(), RTT::corba::RemoteInputPort::buildRemoteChannelOutput(), circularBuffer(), and data().
The prefered transport used.
0 is local (in process), a higher number is used for inter-process or networked communication transports.
Definition at line 161 of file ConnPolicy.hpp.
Referenced by RTT::corba::RemoteInputPort::buildRemoteChannelOutput(), RTT::internal::ConnFactory::createAndCheckStream(), and RTT::internal::ConnFactory::createConnection().
|
http://www.orocos.org/stable/documentation/rtt/v2.x/api/html/classRTT_1_1ConnPolicy.html
|
CC-MAIN-2018-47
|
en
|
refinedweb
|
Aggregate Statistics Across Instances
Aggregate statistics are available for the instances that have detailed monitoring enabled. Instances that use basic monitoring are not included in the aggregates. In addition, Amazon CloudWatch does not aggregate data across regions. Therefore, metrics are completely separate between regions. Before you can get statistics aggregated across instances, you must enable detailed monitoring (at an additional charge), which provides data in 1-minute periods.
This example shows you how to use detailed monitoring to get the average CPU usage
for
your EC2 instances. Because no dimension is specified, CloudWatch returns statistics
for all
dimensions in the
AWS/EC2 namespace.
Important.
To display average CPU utilization across your instances
Use the get-metric-statistics command as follows to get the average of the CPUUtilization metric across your instances.
aws cloudwatch get-metric-statistics --namespace AWS/EC2 --metric-name CPUUtilization \ --period 3600 --statistics "Average" "SampleCount" \ --start-time
2016-10-11T23:18:00--end-time
2016-10-12T23:18:00
The following is example" }
|
https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/GetSingleMetricAllDimensions.html
|
CC-MAIN-2018-47
|
en
|
refinedweb
|
A method, also known as a function, is a module of code that a programmer can create and then call on later on in the program. Many methods already exist in programming languages such as C# but the programmer also has the ability to make their own. A method will usually perform a single task. Many methods can work together to achieve a goal.
Methods should have descriptive names (they should represent an action and are usually in the form of a verb). Spaces cannot be used in method names and you should always avoid use of special characters eg. $%^!@. The method name itself should also not contain brackets because brackets are used for parameters. When you create a new method, the method name should be unique and not already exist in the language (it should not be a reserved word that is used for a statement or method).
Method names should follow a consistent naming convention throughout your code eg. using camel case or mixed case. Examples of suitable method names include CalculateScore, AddNumbers, MultiplyNumbers, GetUserDetails, etc.
Watch the video below and then scroll down for examples and sample code.
Creating methods
Lets break up the method into its different components and look at each component…
What is an access modifier?
Access modifiers include public and private (or just left empty). Public means other parts of the program can see and use this method. If we don’t want that we use private instead or no access modifier (leave it out).
What is a return type?
Methods are able to return a variable back to the code that called it known as the return type. If a method returns an integer value then the return type is an int and if a method returns a true or false value then the return type is a bool. Even if the method doesn’t return any value, it still has a return type. If the method doesn’t return a value, then its return type is void (which means nothing). You might notice that many functions have a return type of void.
What are parameters?
In the same way that methods can pass a variable back to the code that called it, the calling code can pass variables into the method. These variables are known as parameters. The variables that are passed into the method are identified in the parameter list part of the method (inside the brackets). When you specify a parameter you must specify the variable type and the name. If there are no parameters, then the brackets are left empty.
Below is an example of a method in C# for a calculator that is used to add two numbers together. There are two parameters in this method (separated by commas). The parameters in this method are num1 and num2. These are the two numbers that will be added together (they are of the float data type). Notice that the return type is also float meaning that the result of this method (the sum of num1 and num2) will be returned as a float value.
public static float AddNumbers(float num1, float num2) { float total = num1 + num2; return total; }
The method above will add two numbers together (the two parameters num1 and num2) and then return the answer as a float back to the part of the program that called the method.
The word static means that this particular method is associated with the class, not a specific instance (object) of that class. What this means is that you are able to call a static method without actually creating an object of the class.
Many methods have the word void in their declaration. The word void basically means that the method will not return any value to the part of the program that called it.
Using methods
Once you have created a method the next thing to do is use it. Using a method is known as calling or invoking a method. To call a method that was named AddNumbers, you would write:
AddNumbers();
If the method contained a parameter or multiple parameters (eg. the values 5 and 10), then they would be included inside the brackets like this:
AddNumbers(5,10);
The below example shows how to call a method and pass variables into the method. You do not need to write int inside the brackets where the function is called.
int number1 = 10; int number2 = 30 AddNumbers(number1,number2);
When you call a method you do not need to provide the variable type with the variable that is being passed into the method. If the method AddNumbers() in the example code above returns a value, then it should be stored in a variable or used in a statement, for example:
int result = AddNumbers(5,10);
Sample code
Here is an example using parameters and a return type of void. The AddNumbers method is called from inside the Main method.
using System; namespace MyCSharpProject { class Program { static void Main(string[] args) { AddNumbers(5, 10); } public static void AddNumbers(int num1, int num2) { int total = num1 + num2; Console.WriteLine("The sum of the two numbers is " + total); } } }
Here is an example using parameters and a return type of int. The AddNumbers method is called from inside the Main method.
using System; namespace MyCSharpProject { class Program { static void Main(string[] args) { int answer = AddNumbers(5, 10); Console.WriteLine(answer); } public static int AddNumbers(int num1, int num2) { int total = num1 + num2; return total; } } }
Here is an example using no parameters. The AddNumbers method is called from inside the Main method.
using System; namespace MyCSharpProject { class Program { static void Main(string[] args) { int answer = AddNumbers(); Console.WriteLine(answer); } public static int AddNumbers() { int total = 5 + 10; return total; } } }
|
https://www.codemahal.com/video/methods-in-c-sharp/
|
CC-MAIN-2018-47
|
en
|
refinedweb
|
Transposed - medium
In this challenge we get two files: a text file
output containing the encrypted (or rather transformed) flag
L{NTP#AGLCSF.#OAR4A#STOL11__}PYCCTO1N#RS.S and a piece of Python code
encrypt.py which was used to transform the cleartext flag.
#-*- coding:utf-8 -*- import random W = 7 perm = range(W) random.shuffle(perm) msg = open("flag.txt").read().strip() while len(msg) % (2*W): msg += "." for i in xrange(100): msg = msg[1:] + msg[:1] msg = msg[0::2] + msg[1::2] msg = msg[1:] + msg[:1] res = "" for j in xrange(0, len(msg), W): for k in xrange(W): res += msg[j:j+W][perm[k]] msg = res print msg
In hindsight this challenge was quite easy and it took me much longer than it should have. Most of the time was spent trying to wrap my head around inverting string operations, such as
msg[0::2] , which may be not too usual for everyone. So lets step through the code quickly.
Analysis of encryption code
At first, a random permutation of the first seven positive integers (e.g.
[5, 6, 1, 3, 2, 0, 4]) is created. Then the cleartext flag is read from a text file and padded with
. such that the length of the padded flag is at least 14 and divisible by 7 (i.e. 14, 21, 28,…).
After padding the flag, a loop of 100 iterations is run through, carrying out the following steps:
- Move the
msgstring’s first character to the end of the string
- Take every second character and and move it to the end of the string
- Again, move the
msgstring’s first character to the end of the string
- The outer for-loop (index
j) iterates over the length of the
msgstring in increments of 7 (i.e. first iteration
j = 0, second iteration
j = 7, third iteration
j = 21,…). The inner for-loop (index
k) then works on junks of 7 characters (starting at postion
j) by appendending the character at position
j + kto the
resstring. Here the permutation comes into play, because the character appended to the
resstring depends on the value at position
kin the permutation array. At the end, said
resstring will be the new
msgstring in the next iteration.
That’s basically it: no key or any other shenanigans involved!
The solution
In order to reconstruct the plaintext flag, the above code needs to be inverted (more or less :). As we don’t know the actual permutation which was used during the encryption, we need to brute-force this part (there are 5040 possible possible combinations). To do this we put the actual decryption code into a loop which uses a different permutation during each iteration. Now inverting the encryption code:
- We start with the two nested for-loops (indices
jand
k). There we simply remove the first character of the encrypted flag and place it at the position it initially had in the cleartext string.
- After the nested loops, the last character of the string is moved to position 0.
- Then the string is split in half and both halves are merged in an interleaving manner. For example, let
s = "acegbdf", left half
u = "aceg"and right half
l = "bdf". This would result in
s = "abcdefg"after the merging.
- Then, the last character is moved to the beginning of the string. At the end of the iteration,
resis assigned the value of
msgin order to get transformed in the next iteration.
At the end of each of the 5040 iterations (which themselves consist of 100 transformation iterations), the output is tested to contain the string
FLAG{, in order to find the flag a little easier. (Thanks very much to the challenge author who decided to use a proper flag format!).
Here is my implementation of the solution. Im sure, that there are more efficient ways to solve this, but for the sake of comprehensibility of the target audience (and myself), I did not want to make it more complex (i.e. in terms of the string operations).
import random from itertools import permutations W = 7 perms = list(permutations(range(0, 7))) for perm in perms: # all permutations of range(0,6) perm = list(perm) msg2 = "L{NTP#AGLCSF.#OAR4A#STOL11__}PYCCTO1N#RS.S" res = msg2 for i in xrange(100): msg = [''] * len(res) ######## invert this the nested loops for j in xrange(0, len(msg), W): for k in xrange(W): msg[j+perm[k]] = res[0] res = res[1:len(res)] msg = ''.join(msg) ####### invert this: msg = msg[1:] + msg[:1] msg = msg[len(msg)-1:len(msg)] + msg msg = msg[:-1] ####### invert this: msg = msg[0::2] + msg[1::2] u = msg[0:int(len(msg)/2)] # first half l = msg[int(len(msg)/2):int(len(msg))] # second half r = [''] * (len(u) + len(l)) r[::2] = u r[1::2] = l msg = ''.join(r) ###### invert this: msg = msg[1:] + msg[:1] msg = msg[len(msg)-1:len(msg)] + msg msg = msg[:-1] res = msg if "FLAG{" in msg: print(msg)
And here’s the flag:
|
http://admin-admin.at/qualsjordtunis2018-transposed
|
CC-MAIN-2018-47
|
en
|
refinedweb
|
I would like to assign aliases to tabs something like view.setAlias()I that way we just enable the option (temporarily) with the api then disabled it when we don't need numbered tabs.(1) filename.css, (2) filename.html, (3) filename.php
Let me know what you guys think
i think the ability to add comments or marks on tabs can be very useful. so i like your proposal to support alias for tab
Another vote for this. Here is the simplest example I could think of - this marks read-only files on the tab:
class ReadOnlyTracker(sublimeplugin.Plugin):
def onLoad(self, view):
if not os.access(view.fileName(), os.W_OK):
view.setName(os.path.basename(view.fileName()) + ' [R]')
The problem here is that it marks the buffer as dirty and changes the filename. I tried to temporarily do setScratch(True) but the end result was same. So basically what is needed is an API that can change the label of a tab without doing anything else such as marking the file changed or modifying the filename. As a bonus it would be nice (but low priority) if we could add icons/images to tabs
Or if your doing your own plugins you can append the current working mode on the tabfilename.php [selection_mode], filename.php [insert_mode]
there's many many uses for it...
And from the coding side of it, maybe something like this,
view.setAlias(str, start=0])
str:
start (optional) -- 0 by default:
examples:
view.setAlias("[R]") == [R]yahooStyle.css
view.setAlias("[R]", 0) == [R]yahooStyle.css
view.setAlias("[R]", 1) == b[R]oo.css
view.setAlias("[R]", 5) == yahoo[R]Style.css
view.setAlias("[R]", 6) == google[R]Style.css
view.setAlias("[R]", -1) == site.css[R]
view.setAlias("[R]", -5) == site[R].css
And taking from example above:
class ReadOnlyTracker(sublimeplugin.Plugin):
def onLoad(self, view):
if not os.access(view.fileName(), os.W_OK):
view.setAlias('[R]', -1)
Jon any input on this?
I’m not trying to necro an old thread, but I do have a strong interest in this feature.
I would love to prepend to or rename the labels of the tabs. I’ve written a plugin that gets the views and iterates over them to build tab numbers, but nowhere to put them
I like to use cmd+n to get around the tabs, so having the tab numbers would be helpful.
Thanks!
plugin idea:if the buffer is unmodified, mark it as a scratch buffer so it won't show up as unsaved.change the view name with view.set_name.on_modified, clear the scratch flag.on_pre_save, rename the view.on_post_save, set the scratch flag again and rename it back.
Seems like it should work?
After I wrote the previous post, I felt strongly like I remembered having done that exact thing before.Turns out I had:github.com/adzenith/Sublime-plu ... folding.pyBack before Sublime Text had code folding, I wrote a code folding plugin that did the same trick to show the buffer as unmodified. It worked great.
+1
maybe add the numbers also on the sidebar
after 0 (10) move on with a, b, c... hotkeys could be like ctrl+q a, ctrl+q b, etc
|
https://forum.sublimetext.com/t/tab-aliases-numbered-tabs/309
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
Issue Type: Performance Improvement Created: 2012-03-18T16:38:24.000+0000 Last Updated: 2012-10-08T20:15:23.000+0000 Status: Closed Fix version(s): Reporter: Maksym Sliesarenko (sm) Assignee: Ralph Schindler (ralph) Tags: Related issues: Attachments:
Replace all code like:
<pre class="literal"> namespace 'Zend\Blabla'; ... $time = time(); ... echo PHP_EOL; ...
to this way
<pre class="literal"> namespace 'Zend\Blabla'; ... $time = \time(); ... echo \PHP_EOL; ...
It will increase the performance and security. Because php first looks for function in current namespace.
Function overloading example:
<pre class="literal"> namespace Zend\Date { function is_object($date) { echo "Zend Date constructor is called with param {$date}";exit; } } namespace Foo { require_once 'zf2/library/Zend/Loader/AutoloaderFactory.php'; \Zend\Loader\AutoloaderFactory::factory(array('Zend\Loader\StandardAutoloader' => array())); $date = new \Zend\Date\Date('2012-03-18'); }
Posted by Denis Portnov (denix) on 2012-03-20T00:59:14.000+0000
h6.on performance I did simple benchmark, and it shows up to 8% improvement when calling global functions with slash whether it's a significant improvement is up to discussion
h6.on security Not sure it's a framework responsibility to address such "hacks"
Posted by Sascha-Oliver Prolic (prolic) on 2012-07-09T10:06:48.000+0000
I would close this issue. This is on the todo-list of the php-dev-team. We should not change the code here.
Posted by Marc Bennewitz (private) (mabe) on 2012-07-09T11:04:56.000+0000
This could be done by a script as we don't define functions or global constants in ZF
Posted by Ralph Schindler (ralph) on 2012-10-08T20:15:23.000+0000
This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit:
|
https://framework.zend.com/issues/browse/ZF2-227
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
I got a lot of help last time I was here, and I've found myself lost yet again. First off here is my code:
import textwrap def show_description(d): print textwrap.fill(d) def scene_opening(state): show_description("You are a rat, a rat that life dealt an interesting hand to. What you do with that hand is up to you. Unfortunately, you know nothing beyond your cold stainless steel cage. Fortunately, you were in the delightful position to be part of an experiment that taught rats how to read. Due to a careless mistake on the part of 'Hairless Ones' an adventure awaits. WILL YOU BE THE CHOSEN ONE?! The door to your cage has been left open.") select_path(state, [ (scene_stay, "wait for the careless 'Hairless One' to return and right the wrong."), (scene_first_step, 'eagerly seize the opportunity, taking your first step into the world.') ]) def scene_wait_more(state): show_description("You aren't much of a daring soul, you decide not to check things out. It doesn't sound like whoever is out there is having that much fun anyway. You have everything you need right here, there is no need to leave the place that has taken such good care of you since you were young. You occupy your mind with your plans for tomorrow. Suddenly, the lights flicker and go out. Looks like the 'Hairless One' should be called the 'Careless One' right? It was a stupid joke, but you laugh at yourself anyway. It can't hurt to have a little peek outside can it? Plus the cage doesn't seem as safe with the door wide open.") select_path(state, [ (scene_skeptical, 'cautiously take your first steps into the world.'), (scene_call_out, 'you call out into the dark to find out if anyone can hear you.'), (scene_close_cage, 'decide to try to close the door yourself.') ]) def scene_first_step(state): show_description("You trip running out of your cage. You have been waiting for the day to get out of that awful cage your entire life. Your ankle hurts, but you seem to be able to shrug it off. You hear a shrieking howl that you've often heard at night, but this time is differnt, you aren't behind the safety of your bars. A shiver runs down your spine.") show_description("You have sprained your ankle. You take damage!") doDamage(state, 2) if not isDone(state): select_path(state, [ (scene_wait_more, 'quickly jump back into your cage.'), (scene_be_brave, 'face your fears.') ]) def scene_stay(state): show_description("You've noticed some patterns in the time you've been here, it should be back one last time before the world goes dark. You hear a familiar howl, a creature in pain. You've heard it many times, it almost slips past you.") select_path(state, [ (scene_wait_more, 'continue to wait.'), (scene_slow_first_steps, 'finally decide to investigate the world.') ]) def scene_be_brave(state): show_description("You puff out your chest as the lights begin to flicker and go out. You can't see anything quite yet, but there is no way in hell you are going back in that cage. This might be your only chance to see the world for what it is. As the great Abraham Lincoln said 'Bitch, I ain't scared a shit!' you read that somewhere.") select_path(state, [ (scene_call_out, 'call out to find out if anyone can hear you.'), (scene_eyes_adjust, 'wait for your eyes to adjust to the dark.'), (scene_climb_blind, 'waste no more time, and start to climb down to the floor.') ]) def scene_slow_first_steps(state): show_description("You slowly step out of the cage, you are fascinated by the sound you keep hearing. What could it be? Could the animal be in trouble? Could it be evil? Your mind continues to race as you step out of the cage. The lights in the room begin to flicker, and finally turn of. 'Things aren't so scary out here afterall' you think as a stream of urine runs down your leg.") select_path(state, [ (scene_call_out, 'call out into the darkness to find out if anyone can hear you.'), (scene_eyes_adjust, 'wait for your eyes to adjust to the dark.'), (scene_close_cage, 'run back into the cage, and try to close it by yourself.'), (scene_climb_blind, 'waste no more time, and start to climb down to the floor.') ]) def scene_call_out(state): show_description("Your voice echoes off the walls in the dark room... its quiet. You hear rustling coming from some cages across the room. You call out once more, 'Is anyone there? Answer me!' Nothing. Your curiousity has peaked, there is really only one more thing to do. It is time for you to make the plunge to the world below... the ground!") select_path(state, [ (scene_skeptical, 'decide to climb down.'), ]) def scene_eyes_adjust(state): show_description("As some time passes the world slowly starts to become more visible. The black fades to grey, and your field of view has increased. Your patience has paid off, whoever it was that stated it was a virtue would be proud.") select_path(state, [ (scene_call_out, 'call out into the room to find out if anyone can hear you.'), (scene_skeptical, 'decide to safely climb down to the floor below.') ]) def scene_climb_blind(state): show_description("Unfortunately, being a caged rat, you never really learned the art of climbing. Add darkness to the equation, its a recipe for disaster. You finally realize this about a quarter of the way down your cage, as you begin to lose your footing. 'Well... I guess I'm dead.' You think as you begin to fall. Luckily for you, rats are a sturdy people. Embarrassed, you scan the area..") show_description("You have smashed your face. You take damage!") doDamage(state, 15) if not isDone(state): select_path(state, [ (scene_first_hallway, 'go towards the light in the hallway.'), (scene_three_cages, 'get a closer look at the three cages.') ]) def scene_close_cage(state): show_description("You swing the door to your cage shut. You push ever so gingerly on it, and it swings back open. Christ, It's literally like someone is making you go on an adventure. You examine the locking mechanism on the cage, it looks like you'll need a key if you want to close it. Do cages like this even exist? Seriously, a higher power must exist.") select_path(state, [ (scene_call_out, 'call into the room to find out if anyone can hear you.'), (scene_skeptical, 'give into the powers at be, and start to climb to the damn floor already!') ]) def scene_skeptical(state): show_description("Your eyes are well adjusted to the dark. You steadily make your way down the floor below you..") select_path(state, [ (scene_first_hallway, 'go towards the light in the hallway.'), (scene_three_cages, 'get a closer look at the three cages.') ]) def scene_first_hallway(state): show_description("this is a test") if add_screw == True: select_path(state, [ (scene_test_one, 'test number one.'), (scene_test_two, 'test number two.') ]) if add_screw != True: select_path(state, [ (scene_test_one, 'test number one.') ]) def scene_three_cages(state): show_description("The three cages are sloppily stacked on top of each other. As you approach a foul smell becomes more obvious. You are unsure how you never noticed it before you left your cage. You wonder how long the cages have been there.") select_path(state, [ (scene_bottom_cage, 'investigate the bottom cage.'), (scene_your_room, 'step away from the cages.') ]) def scene_bottom_cage(state): show_description("The cage appears to have a large padlock on it. You peer between the bars of the cage. Your whiskers brush against the stainless steel. Your eyes focus as you begin to make out a lump of damp fur. The stench is almost unbearable, it must be dead. The body appears to be within paws reach.") select_path(state, [ (scene_touch_body, 'decide to touch the body.'), (scene_your_room, 'step away from the cages.'), (scene_middle_cage, 'decide to climb to the middle cage.') ]) def scene_your_room(state): show_description("You are in your room, your cage is at the far end. There is an open door that leads to a hallway, next to the door are three sloppily stacked cages on a table. A whole room for one rat?") select_path(state, [ (scene_first_hallway, 'go through the door towards the light in the hallway.'), (scene_three_cages, 'get a closer look at the three cages.') ]) def scene_touch_body(state): show_description("You slowly reach out, your paws are sweaty, knees weak, mom's spaghetti. Your fingers touch the fur, it's soaked in blood. Upon further inspection, a large whole in it's chest becomes more apparent. 'I think its dead.' You whisper aloud. 'What could have caused this?' If anything you learned from reading it was probably spiders, spiders are the worst.") select_path(state, [ (scene_your_room, 'step away from the cages.'), (scene_middle_cage, 'decide to climb to the middle cage.') ]) def scene_middle_cage(state): show_description("You carefully climb the bars until you reach the second cage. The cage is bloody and covered in fur and stank. There is a noticeable body in the cage, but it is too far to reach.") select_path(state, [ (scene_top_cage, 'decide to climb up to the top cage.'), (scene_your_room, 'climb to the floor.'), (scene_bottom_cage, 'decide to climb back to the bottom cage.') ]) def scene_top_cage(state): show_description("As you reach the top cage you notice the door is open...") select_path(state, [ (scene_in_top_cage, 'walk into the cage.'), (scene_middle_cage, 'decide to climb down to the middle cage.'), (scene_your_room, 'get the hell off of the cages.') ]) def scene_in_top_cage(state): show_description("The cage is empy, you take a moment to look around. There is a rusty screw that looks lose. You can attempt to take it out to carry it with you, as it might be nice to use as protection. However, since you will have to use one hand to hold it it might be more trouble than it is worth concerning running and climbing.") select_path(state, [ (scene_take_screw, 'take the screw.'), (scene_your_room, 'decide to leave and climb back down to the floor.') ]) def scene_take_screw(state): show_description("You grasp the screw with two hands and slowly start to turn. 'Righty tighty, lefty loosey' you think to yourself. It squeeks as you turn it, you pull it out and swing it through the air a few times. 'Sick!'") add_screw(state) select_path(state, [ (scene_your_room, 'climb back down to the floor.') ]) def scene_test_one(state): scene_coming_soom(state) def scene_test_two(state): scene_coming_soom(state) def scene_coming_soom(state): show_description("Coming soon") state['scene'] = scene_quit def scene_quit(state): state['done'] = True print "Good bye!" def get_int(prompt): n = None while n==None: try: choice = raw_input(prompt) n = int(choice) except: print choice, "is not a valid selection!" return n def select_path(state, paths): for i, (jump, phrase) in enumerate(paths): print "\t", (i+1), phrase print "\t(0 Quit)" menu_selection = get_int("Make a selection (0 - %i): " % len(paths)) if menu_selection==0: state['scene'] = scene_quit elif menu_selection>0 and menu_selection<=len(paths): (jump, phrase) = paths[menu_selection-1] print "You ", phrase state['scene'] = jump else: print menu_selection, "is not a valid selection!" def doDamage(state, hp): state['health'] -= hp if isAlive(state): showHealth(state) return True else: print "You have died." state['done'] = True return False def isAlive(state): return state['health'] > 0 def isDone(state): return state['done'] def showHealth(state): print "HP ", state['health'], "/100" def add_screw(state): return True def play(state): while not isDone(state): showHealth(state) state['scene'](state) play({'health': 100, 'scene': scene_opening, 'done': False })
So if you try running it, you will get an indention error. I can't figure out for the life of me why this keeps happening.
So here is what I am trying to implement into the game. in scene_in_top_cage (lines 148-153) you get the option to move on to scene_take_screw (lines 155 - 160) In this scene I want to add the players first possible inventory item, a screw. In lines 221-222 I attempt to tell python that add_screw should be True when scene_take_screw is chosen.
I'm using scene_first_hallway (lines 92 - 102) as a testing field for the screw. If the player takes the screw I want the game to respond with two possible choices. If it is not taken, I want the game to respond with only one option. However, I keep getting an indention error so I am not sure if I am even close.
So can you guys tell me, am I even close?
|
http://www.dreamincode.net/forums/topic/318838-implementing-an-inventory-in-my-text-based-lab-rat-rpg/
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
Windows Applications Menus:
Grouping Menu Items
Menu Separators
As we will see in later sections, there are various ways you
can make a menu look good and you have many options to configure menu items. One
of the ways you can manage menu items is to group them in small entities of your
choice. You can do this either for the looks or for aesthetic reasons.
A menu separator is a horizontal line among some menu items
to visually divide them. Here is an example:
There are two reasons you would use a separator. You can use
a separator just for aesthetic reasons, to make your menu look good. Another,
more valuable reason, is to create groups of menu items and show their belonging
together by showing a line separating one group from another.
To visually specify a separator, when creating the menu
item, set its string to a simple -.
To support menu separators, the .NET Framework provides the ToolStripSeparator
class, which is derived from ToolStripItem. To programmatically create a
separator, declare a handle to ToolStripSeparator, initialize it using
the gcnew operator, add it to the Items property of the ToolStripItem
menu category that will hold the separator. Here is an example:
#include <windows.h>
#using <System.dll>
#using <System.Drawing.dll>
#using <System.Windows.Forms.dll>
using namespace System;
using namespace System::Drawing;
using namespace System::Windows::Forms;
public ref class CExercise : public Form
{
private:
MenuStrip ^ mnuMain;
ToolStripMenuItem ^ mnuFile;
ToolStripMenuItem ^ mnuFileNew;
ToolStripSeparator ^ mnuSeparator;
ToolStripMenuItem ^ mnuFileExit;
ToolStripMenuItem ^ mnuFormat;
ToolStripMenuItem ^ mnuFormatFont;
public:
CExercise()
{
InitializeComponent();
}
void InitializeComponent()
{
mnuMain = gcnew MenuStrip;
mnuFile = gcnew ToolStripMenuItem(L"&File");
mnuFileNew = gcnew ToolStripMenuItem(L"&New");
mnuFileNew->ShortcutKeys = Keys::Control | Keys::N;
mnuSeparator = gcnew ToolStripSeparator;
mnuFileExit = gcnew ToolStripMenuItem(L"E&xit");
mnuFormat = gcnew ToolStripMenuItem(L"For&mat");
mnuFormatFont = gcnew ToolStripMenuItem(L"Fo&nt");
mnuFormatFont->ShortcutKeys = Keys::F4;
mnuFile->DropDownItems->Add(mnuFileNew);
mnuFile->DropDownItems->Add(mnuSeparator);
mnuFile->DropDownItems->Add(mnuFileExit);
mnuMain->Items->Add(mnuFile);
mnuFormat->DropDownItems->Add(mnuFormatFont);
mnuMain->Items->Add(mnuFormat);
Controls->Add(mnuMain);
}
};
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
Application::Run(gcnew CExercise());
return 0;
}
This would produce:
Sub-Menus
If you have menu items that perform similar tasks, you can
put them in a group, which you can do using line separators. Another option is
to create the menu items in their own group. The group of menu items that are
created as children of a parent menu is referred to as a sub-menu. Here is an
example of a sub-menu in Microsoft Paint:
To visually create a sub-menu, under the form, click the
menu control that will hold the items. In the menu designer
After selecting the eventual parent of the intended
sub-menu, click the right Type Here box, type the desired caption and optionally
give it a name.
To create another item for the sub-menu, you can click the
Type Here box under the previous one. In the same way, you can add as many items
as you judge necessary. Here is an example:
You can also create a sub-menu for a menu item that itself
is a sub-menu. Here is an example:
To create a sub-menu for an item A that itself is a
sub-menu, click that menu item A, click the Type Here box on the right side, and
type its caption.
As another technique, after selecting the menu item that
will act as the parent of the sub-menu, in the Properties window, click the
ellipsis button of the DropDownItems field to open the Items Collection Editor
dialog box. To create an item for the sub-menu, in the top combo box, select
MenuItem and click Add. Then configure the menu item as see fit (Text, (Name),
etc).
Like any menu item, each sub-menu item is an object of type ToolStripMenuItem.
Therefore, to programmatically create a sub-menu, create each ToolStripMenuItem
item and add it to the ToolStripMenuItem menu item that will act as its
parent.
|
http://www.functionx.com/vccli/controls/menus2.htm
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
Hey guys. I'm sure that this is beyond simple, but I can't figure this out. As you will see in the code below, I'm trying to simulate a Pokemon battle (stupid easy). I'm trying to create a structure for 6 pokemon, and associate a string name, and an int for health.
I've figured out how to make that in the "Class" section. So, my question is, how do I then input the pokemon into the structure, so the health is associated with a pokemon? I know how to write it, and call it in C++, but I'm at a complete loss here. So, code below (please be gentle), and let me know what I'm missing please.
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Practice_Battle { class Program { struct chadList { string name; int health; }; static void Main(string[] args) { chadList chadPokemon; { } //Chad's List of Pokemon //string[] chadPokemon = new string[6] { "Charizard", "Garchomp", "Metagross", "Aegislash", "Quagsire", "Gardevoir" }; //Random Pokemon Generator Random ran = new Random(); string randomChoice = chadPokemon[ran.Next(0, chadPokemon.Length)]; Console.WriteLine("Gamer Chad wants to battle!"); Console.WriteLine("Do you accept? (yes or no)"); string acceptInput = Console.ReadLine(); string message = ""; if (acceptInput == "yes") message = "It's time to put your game face on!"; else message = "Too bad. It's time to battle!"; //Random Pokemon is Chosen, I choose a Pokemon Console.WriteLine(message); Console.WriteLine("I choose you, " + randomChoice); Console.WriteLine("Please choose your Pokemon:"); Console.WriteLine("Blastoise, Blazekin, Meganium"); string myChoice = Console.ReadLine(); if (myChoice == "Blastoise") message = "A water Pokemon, with lots of health. Good Choice!"; else if (myChoice == "Blazekin") message = "A fire Pokemon, with lots of Power. Let's do this!"; else message = "A plant Pokemon, with lots of health. Best of luck!"; Console.WriteLine(myChoice + ", " + message); Console.ReadLine(); } } }
Thank you for any advice that you can give!
|
http://www.gamedev.net/topic/659658-stuck-in-c/
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
Opened 8 years ago
Closed 8 years ago
Last modified 8 years ago
#10339 closed (wontfix)
models.my_model.objects.get(id=None) returns a result in MySQL
Description
I stumbled upon an interesting bug today, and I believe that I've narrowed it down to Django's MySQL layer. When using MySQL, models.my_model.objects.get(id=None) will return a result, when it should raise a DoesNotExist exception. Here is a very simple example that will reproduce this error. Suppose you have the following model:
from django.db import models class company(models.Model): name = models.CharField(max_length=255, unique=True) active = models.BooleanField(default=True)
Here is a shell session that exhibits the behavior I expect, using sqlite3:
>>> from mysqltest import models >>> models.company.objects.all() [] >>> c = models.company(name='the Company') >>> c.save() >>> models.company.objects.all() [<company: company object>] >>> models.company.objects.get(id=1) <company: company object> >>> models.company.objects.get(id=None) Traceback (most recent call last): File "<console>", line 1, in <module> File "//usr/lib/python2.5/site-packages/django/db/models/manager.py", line 93, in get return self.get_query_set().get(*args, **kwargs) File "//usr/lib/python2.5/site-packages/django/db/models/query.py", line 303, in get % self.model._meta.object_name) DoesNotExist: company matching query does not exist.
And here is a shell session demonstrating the behavior that MySQL exhibits:
>>> from mysqltest import models >>> models.company.objects.all() [] >>> c = models.company(name='the Company') >>> c.save() >>> models.company.objects.all() [<company: company object>] >>> models.company.objects.get(id=1) <company: company object> >>> models.company.objects.get(id=None) <company: company object>
I have done a little poking around to narrow down whether the problem is in Python's MySQL bindings, or in Django's MySQL layer, and I do believe it is a Django bug. When I executed the queries (gotten from django.db.connection) directly using python's mysql bindings, the results came back as expected with no results. I also tried using the mysql shell directly, and also found it to return the expected results (nothing).
Change History (3)
comment:1 Changed 8 years ago by Alex
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Resolution set to wontfix
- Status changed from new to closed
comment:2 Changed 8 years ago by kmtracey?
is the thread mentioned above. At the end of the thread Malcolm wasn't convinced it was worth doing anything to turn off this behavior when using Django/MySQL. If you feel strongly that it should be turned off, you might want to raise the issue on the developer's list. Alternatively you might propose where/how this could have been documented so that when you ran into it you found the explanation...from a brief look I don't see that this was documented in the "notes on supported databases" doc, so it might make sense to put something there.
comment:3 Changed 8 years ago by mtredinnick
To clarify Karen's comment: right now Django is behaving exactly as the database is configured. If you don't want that behaviour, you should configure your database to do the right thing for your preferences. We consistently delegate a bunch of behaviour to the database and this is one case. "Working around" that would lead to inconsistencies and unexpected behaviour all over the place; it's a real slippery slope.
So, Django works with the database and configuration you give it. It doesn't try to second-guess your intentions (and if your intention is to use MySQL, with it's arguably deranged default setting in this case, that's your choice).
This is an issue with MySQL itself, for whatever god forsaken reason it decided that doing an ID IS NULL query should return the latest added result(there was a thread on django-dev quite a while back about this) for that connection, so if you do it from the shell nothing was last added on that connection, I'm going to mark this as wontfix therefore.
|
https://code.djangoproject.com/ticket/10339
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
Asked by:
can receive mail but can not send mail through 2010 exchange server
Hi All
I hav just installed exchange 2010 into exisiting exchange 2007 sp2 network. Can not send mail. just hangs in queue 421 4.4.2 error. Have been searching with no luck. Have moved public folders and mailboxes to exchange 2010. Created new Send connector for Internet email.
Any thoughts appreciated
Question
All replies
- You do not need to create send connectors to route email betweent the 2007 and 2010 server (this is done automatically). Send connectors are only needed to route email to the internet or a foreign host. If I misunderstood, please clarify.
Tim Harrington - Catapult Systems -
In your send connector, are you sending to a smarthost? Do you have the box checked to "Use the External DNS Lookup settings on the transport server"? If so, uncheck it and restart the Transport service.
More info:
Tim Harrington - Catapult Systems -
HI
Here is the latest am having some interesting items. I installed 2010 sp1 exchnage into a 2007 sp2 exchange network. receiving mail ok, however sending some mail is held up in queue. Some mail is getting through. All settings have been transferred to exchange 2010. well at least i think so, Any thoughts. Thanks
Ed
- Is the queue the SMTP Internet connector queue? Does all mail eventually get delievered or is some of it bounced back? On the emails stuck in the queue, can you open the message in the queue and see that the retry error is?
Tim Harrington - Catapult Systems -
Mr. Harrington,
I'm hoping that you check back on this thread because it seems somewhat familiar to my situation.
We've got 2003 using a smarthost to transport emails to users within the organization who are not on exchange as well as external recipients SMTP.DOMAIN.COM. This has worked fine for many years.
I deployed 2010, setup the connectors for 2003/2010 coexistence and I added a smarthost on 2010 pointing to the same SMTP.DOMAIN.COM.
This was working fine and then out of nowhere it's not. 2010 users can email 2003 users and external recipients but I'm not getting resolution for IMAP users who are within the organization but not on exchange (2003 or 2010). 2003 users are able to send/receive to everyone (exchange/imap and external). 2010 users can only email 2010/2003 users and external.
Are you saying that I should delete one of the send connectors? Can 2010 use the send connector that 2003 is using or should it be the other way around?
note: my organization is kind of weird in terms of the environment...my active directory sits in a child namespace for a domain that runs Unix mail and DNS...so I'm AD-DOMAIN.DOMAIN.COM.
For accepted domains I have:
ad-domain.domain.com
domain.com = default
both set as authoritative. If I switch domain.com (which technically would be the Unix Mail/DNS namespace with IMAP users) so internal relay seems to be a better choice here...when I do this, it hangs up all of the queues in 2003.
Respectfully,
Ken Friend
kfriend
There is problems with SMTP Host setup. Do one think just go to the SMTP > properties (just remove old one server and set the new SMTP server name space.
restart the HT services and also check firewall, if you're using. I believe you're using static NAT on firewall for the Exchange 2010. run telnet command on you're Exchange server 2010 to connect any internet domain so that you'll be confident by firewall side.
Thanks
Shambhu
sam
|
https://social.technet.microsoft.com/Forums/exchange/en-US/d1a288fa-1dbd-432b-b2b6-cbbf217098bc/can-receive-mail-but-can-not-send-mail-through-2010-exchange-server?forum=exchangesvrdeploylegacy
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
This is Lamar Football
The Southland Conference
Table of Contents/Fast Facts.............................2-3 Dauphin Athletic Complex.................................4-5 Provost Umphrey Stadium..................................6-7 Football Facilities ...............................................8-9 Sport Performance ...............................................10 Athletic Training...................................................11 Lamar University .............................................12-13 Campus Life ....................................................14-15 Sheila Umphrey Rec Sports Center .................16-17 Student-Athlete Experience .................................18 Lamar Athletic Excellence ...................................19 Beaumont & The Golden Triangle .................20-21
Southland Conference History ............................88 2012 SLC Standings & Individual Honors...........89 2012 SLC Statistics ..........................................90-92 2013 SLC Composite Schedule.............................93
Coaching & Support Staff Head Coach Ray Woodard..............................22-23 Assistant Head Coach Allen Johnson ..................24 Defensive Coordinator Bill Bradley .....................25 Offensive Coordinator Larry Kueck ....................26 Assistant Coach Craig McGallion........................27 Assistant Coach James Brown .............................28 Assistant Coach Carey Bailey ..............................29 Assistant Coach Kevin Barbay.............................30 Assistant Coach Chuck Langston ........................31 Dir. of Football Operations Brett Ramsey ..........32 Football Graduate Assistants ...............................33 Football Support Staff .....................................34-37 Lamar President Dr. James Simmons..................38 Athletics Director Jason Henderson ....................39
Meet the Cardinals 2012 Player Rosters ..........................................40-41 2012 Preseason Depth Chart ................................42 2012 Returning Player Profiles ........................43-69 2012 Newcomers .............................................70-76
2012 Season in Review 2011 Results and Statistics...............................78-79 2011 Superlatives ..............................................80-81 2011 Game Recaps...........................................82-87
Lamar Football History Miscellaneous Games ..........................................95 All-Time Series Records ......................................96 All-Time Series Results ...................................97-98 Lamar Football History.................................96-106 Lamar Coaching History....................................107 All-Conference Players .......................................108 Specialty Awards & NFL Players .......................109 Senior College Lettermen.............................110-115 Junior College Lettermen .............................116-117 Cardinal Hall of Honor ................................118-119
Records Offensive Team Records ....................................120 Defensive Team Records ....................................121 Individual Records .......................................122-123 Individual Rushing Records...............................124 100-yard Rushers.................................................125 Individual Passing Records .........................126-127 Individual Receiving Records......................128-129 Individual Total Offense.....................................130 All-Purpose Yards & Scoring Records................131 Punting Records .................................................132 Punt Return Records ..........................................133 Junior College Results..................................134-135 Senior College Results .................................136-138
Media Information Media Information .......................................140-141 Campus Map ......................................................142
General
History
School..........................................................Lamar University Location .......................................Beaumont, Texas (114,000) Founded ...........................................................................1923 Enrollment.....................................................................14,522 Nickname ................................................................Cardinals Colors ..............................................................Red and White Conference..............................................................Southland National Affiliation ...........................NCAA Division I - FCS President ..............................................Dr. Kenneth R. Evans Athletics Director ........................................Jason Henderson Faculty Representative .............................Dr. Hsing-wei Chu Senior Woman Administrator .............................Helene Thill Athletic Department.........................................(409) 880-2248 Ticket Office .....................................................(409) 880-1715
First Year of Football .......................................................1923 First Year as a Senior College...........................................1951 First Year of Southland Football......................................1964 All-Time Record (4-year) ......................184-246-9/41 seasons All-Time Southland Record .....................39-86-2/24 seasons Southland Conference Championships/Last...............4/1971
Coaching Staff Head Coach...........Ray Woodard (Sam Houston State, 1988) Record at Lamar/Seasons.............................13-21/3 Seasons Overall 4-Year Record/Seasons .....................................Same Office Phone.....................................................(409) 880-7157 Assistant Head Coach-Secondary:.............................Allen Johnson (Texas A&M-Commerce ’99) Offensive Coordinator-Quarterbacks: ..................Larry Kueck (Stephen F. Austin ’75) Defensive Coordinator: ..........................Bill Bradley (Texas) Recruiting Coordinator-Linebackers: .........Craig McGallion (Houston ’84) Running Backs: ..............................James Brown (Texas ’00) Offensive Line: ..................Chuck Langston (Oklahoma ’95) Defensive Line: ........................Carey Bailey (Tennessee ‘92) Wide Receivers: ............................Kevin Barbay (Lamar ’05) Director of Football Operations: ..Brett Ramsey (Lamar ’11) Graduate Assistant-Linebackers: .Eric Hicks (Maryland ‘12) Graduate Assistant-Offense: ..........Jason Smith (Liberty ‘11) Strength and Conditioning Coach: ......................Josh Miller (Southeastern La. ‘09) Head Athletic Trainer:...Josh Yonker (Northern Colorado ’03)
Team Information
2012 Overall Record............................................................4-8 2012 Home Record .............................................................4-2 2012 Away Record...............................................................0-6 2012 Southland Conference Record/Finish ................1-6/7th Offensive Formation............................................Multiple Set Defensive Formation..........................................................3-4 Starters Returning/Lost ..................................................19/7 Offensive Starters...........................................................8/3 Defensive Starters ..........................................................7/4 Special Team Starters ....................................................4/0 Letterwinners Returning/Lost ......................................48/27
Stadium Information Stadium ........................................Provost Umphrey Stadium Year Opened ...................................1964 as Cardinal Stadium Record at Stadium/Seasons.....................75-75-3/29 seasons Capacity .........................................................................16,000 Surface ..................................................................Matrix Turf Press Box Phone ..............................................(409) 880-7489
Lamar Media Relations Director/Football Contact .................................James Dixon Office Phone ....................................................(409) 880-8329 Cell Phone ............................................................................... E-Mail ..............................................james.dixon@lamar.edu Office Fax .........................................................(409) 880-2338 Athletics Web Site........................... Assistant Director..................................................Pat Murray Office Phone ....................................................(409) 880-2323 Cell Phone.........................................................(409) 651-0521 Assistant Director/Secondary Contact.............Clay Trainum Office Phone ....................................................(409) 880-7845 Cell Phone ........................................................(409) 651-5588 SID Mailing Address.......................................P.O. Box 10066 ...............................................................Beaumont, TX 77710 Overnight Address....................Montagne Center, Room 138 .....................................................................211 Redbird Lane ...............................................................Beaumont, TX 77710
The 2013 Lamar University Football Yearbook is a publication of the Lamar University Athletics Media Relation Office. The guide was edited and designed by Erik J. Cox with editorial assistance from Clay Trainum, Pat Murray and Trace Baker. Photography by Mike Tobias, Will France, Guiseppe Barranco, Matt Billiot, Tino Mauricio, Tammy McKinley and various other contributors. Covers designed by Clay Trainum.
Lamar University was able to return to the gridiron thanks in large part to the generosity of donors like Walter Umphrey and his partners at Provost Umphrey law firm. In recognition of a gift from the Beaumont-based law firm and an additional gift from Umphrey and his wife, Sheila, the name “Provost Umphrey Stadium� graces the renovated facility where fans cheer on the Cardinals. The renovated stadium features all new bench and chair-back seating, new restroom and concession facilities, a new concourse area, and increased handicap accessible seating areas. In addition, the installation of new lighting and a Matrix field turf playing surface provides a state-of-the art venue that will not only hold up to challenging weather conditions, but also allow the stadium to be a multiuse statistics, out of town game information, sponsors' messages, graphics and animation.
Opening and Dedication Today’s plush and newly-renovated Provost Umphrey Stadium was originally built for a cost of $1 million with the construction period lasting from May of 1963 through July of 1964. It was dedicated during ceremonies prior to Lamar’s 21-0 season opening victory over East Central Oklahoma on Sept. 19, 1964. Lamar fullback Darrell Johnson scored the first touchdown in stadium history on a 30-yard run during the second quarter of that game. The Cardinals have compiled a 67-69-3 record in the stadium with their longest winning streak being 12 games spanning the 1965-1967 seasons.
Attendance Records Att. 18,500 17,600 17,306 17,250 17,222 17,187
Date 9/13/80 9/22/79 10/9/10 10/6/79 9/17/77 10/2/10
Opponent Baylor Louisiana Tech Langston University West Tex. St. La.-Lafayette Sam Houston State
Team Records Most Points Scored by Lamar: 58 vs. Texas College (9/3/11) Most Points by Opponent: 69 by Stephen F. Austin (11/5/11) Most Combined Points: 80, Lamar 45, Incarnate Word 35 (9/17/11) Most Yds Total Offense: 675 by Louisiana Tech (11/16/68) Most Pass Attempts: 62 by McMurry University (10/13/12)
Individual Records
Points: 24 by Tim Flanders, Sam Houston State (10/27/12); by Kevin Johnson, Lamar (10/13/12); by DePauldrick Garrett, Lamar (9/3/11) Total Offense: 412 yards by Ron Rittiman, Texas State (9/10/88) Yards Rushing: 222 by Burton Murchison, Lamar (9/14/85) Rushing Attempts: 33 by Floyd Dorsey, Lamar (9/18/82) Longest Rushing Play: 85 yards by Eugene Washington, Lamar (11/6/65) Yards Passing: 412 by Shad Smith, Lamar (10/10/87) Passes Attempted: 45 by John Holman, Louisiana-Monroe (10/30/82) Passes Completed: 31 by John Evans, Lamar (11/5/88) Longest Pass Play: 93 yards, Johnny Holley to Carl Williams, Texas Southern (10/2/82) Passes Caught: 14 by J.J. Hayes, Lamar (11/19/11) Yards Receiving: 212 by J.J. Hayes, Lamar (10/8/11)
The J.B. Higgins Weight room is located on the bottom floor of the (athletic complex). Open since September 2010, the sport performance facility is the training home for all of the Lamar Athletic Teams. The facility has 8,000 square feet of functional work out space, three offices, one storage room for equipment and supplements, and a media room (total of 10,000 square feet). Director – Joshua Miller, SCCC, USAW
Equipment
16 Power Racks with Olympic Platforms 24 Benches 60 pair of Dumbbells – (5 – 140 lbs.) 4 Reverse Hyperextensions 4 Glute Ham Machines 2 Leg Press
Accessories
8 24” Plyo Boxes 8 18” Plyo Boxes 4 Bear Squat Machines 1 Hip Machine 2 Neck Machines 2 Lat-Pull Machines 2 Shoulder Press Machines 12 Adjustable Hurdles 3 3 3 3 3 1
Cardio Equipment
Treadmills Cross trainers Stationary Bikes Recumbent Bikes Ellipticals Arm Ergometer
La mar Foo tba l l Coaching Staff
Ray Woodard Head Coach - Fourth Season Ray Woodard begins his fourth season at the helm of the Lamar football program in 2013 with a promising future on the horizon. The 2012 season saw Lamar compete against a pair of Football Bowl Subdivision (FBS) teams for the first time since reinstating the program. The Cardinals, who finished 4-8 on the year, took on former conference rival Louisiana-Lafayette and also took a trip to face the University of Hawaii. Under Woodard in 2012, Lamar had the Southland Conference Newcomer of the Year in wide receiver Kevin Johnson and a pair of Cardinals earned allconference accolades. Johnson tied the school record with 13 touchdowns on the season, catching 10 scores, returning two kickoffs and adding a rushing touchdown. Senior offensive lineman Sean Robertson and junior defensive lineman Jesse Dickson were both named to the all-conference second-team as Lamar played its second full Southland Conference schedule since restarting the program in 2010.. Lamar had a pair of players earn second-team All-Southland Conference honors in wide receiver J.J. Hayes and offensive lineman Anthony Oden. Six other Cardinals earned honorable mention all-conference honors, including wide receiver Marcus Jackson who signed a free agent deal to play for the NFL's Atlanta Falcons following the 2012 draft. All this coming on the heels of an historic year in 2010. Not only did the Cardinals take the field for the first time since 1989, but they turned a lot of heads with their immediate success on the gridiron. In their very first game - at McNeese State on Sept. 4 - they set a school record with 429 passing yards, and two weeks later - at Southeastern Louisiana quarterback Andre Bevil led a fourth-quarter comeback that sparked a 29-28 victory over the stunned highly-favored Lions. Woodard guided the Cardinals to a 5-6 overall record, which included a 4-2 mark in newly refurbished Provost Umphrey Stadium while playing in front of capacity crowds in their first reflected in the fact Woodard was one of five finalists voted for the Southeast Texas Press Club's 2010 Newsmaker of the Year Award. McNeese State was ranked 11th in the nation when the Cardinals put a scare into the Cowboys before falling 30-27 in the season opener for both teams. A week later, playing its home opener in front of a red-clad crowd of 16,600, Lamar earned its first victory in over two decades by a 21-14 margin over Webber International. Lamar added four more victories, including the impressive 29-28 come-frombehind win at Southeastern Louisiana. A high-powered offense, which set 15
22
team or individual records during the season, became the signature for the 2010 Cardinals who closed the year with a dominating 44-6 dismantling of Oklahoma Panhandle State. Woodard was named the eighth football coach at Lamar University by university president James Simmons and then athletics director Billy Tubbs on May 19, 2008. He came to Lamar after serving three seasons at Navarro College - the first two as defensive coordinator and the final as head coach. His 2007 squad went 9-3 and advanced to the conference playoffs for the first time in six seasons. Navarro defeated defending national champion Blinn College.. Woodard spent three years as the defensive coordinator for the Scottish Claymores from 2000-03 during his second stint with an NFL Europe franchise. Woodard's other professional coaching experience came as the general manager/head coach for the Houston Outlaws (1999-2000) of the Regional Football
L a m a r Fo otbal l Coaching Staff League, defensive coordinator of the Frankfurt Galaxy (1996-97) of NFL Europe and the Texas Terror (1996) of Personal the Arena Football Birthdate .............................August 20, 1961 League. Hometown ..........................Corrigan, Texas Wo o d a r d ' s Wife .......................................................Penne first experience at the Children................................................Jessica NCAA level came in 1998 when he was the defensive line coach at Education Louisiana-Lafayette. 1981............................A.A., Kilgore College Lineman Danny Scott 1988 .......................B.S., Sam Houston State registered eight sacks, 1991.....................................M.Ed., UT-Tyler which ranks fourth in the ULL single-season list. Playing Career From 1988-95 1980-81 ................................Kilgore College Woodard was the defen1982-83 .........................University of Texas sive coordinator at Kil1984-85.........................San Diego Chargers gore College and 1986-87 ...............................Denver Broncos recruited more than 200 Texas high school stu........Member of 1986 Super Bowl Team dent-athletes. The 1987-88...........................Kansas City Chiefs Rangers appeared in back-to-back Shrine Bowls in 1989 and 1990. Coaching Career Kilgore had a 9-2 record 1988-95 ................................Kilgore College in 1990, won the confer..................................Defensive Coordinator ence championship and 1995 ...............................Texas Terror (Arena) was ranked as high as ..................................Defensive Coordinator No. 6 in the country. Woodard also 1996-97 ........Frankfurt Galaxy (NFL Europe) had a successful playing ..................................Defensive Coordinator career, from his days at 1998 ...............................Louisiana-Lafayette Corrigan-Camden HS ...................................Defensive Line Coach to Kilgore College and 1999-2000..Houston Outlaws (Regional FBL) the University of Texas ....................General Manager/Head Coach to five years in the NFL. 2000-03.....Scottish Claymores (NFL Europe) After earning 13 letters in four sports at Corri..................................Defensive Coordinator gan-Camden from 2005-06 ...............................Navarro College 1975-79, he walked on .............Defensive/Recruiting Coordinator at Kilgore College then 2007.....................................Navarro College went on to became a .....................................................Head Coach two-time All-America 2010- ..................................Lamar University selection as a defensive tackle from 1980-81. .....................................................Head Coach
The Woodard File
Woodard vs. All Opponents Opponent Central Arkansas Georgia State Hawai`i Incarnate Word Langston University Louisiana-Lafayette McMurry University McNeese State Nicholls North Dakota Northwestern State Oklahoma Panhandle State Prairie View A&M Sam Houston State South Alabama South Dakota Southeastern Louisiana Stephen F. Austin Texas College Texas State Webber International Totals
W-L 0-2 0-1 0-1 1-0 2-0 0-1 1-0 0-3 2-0 0-1 0-2 1-0 1-0 0-3 0-2 1-0 2-1 0-3 1-0 0-1 1-0 13-21
Home 0-1
Away 0-1 0-1 0-1
1-0 2-0 0-1 1-0 0-1 1-0 0-1 1-0 1-0 0-2 0-1 1-0 0-1 0-1 1-0
0-2 1-0 0-1 0-1 0-1 0-1 2-0 0-2 0-1
1-0 10-8
3-13
Houston State University in 1988 and his master's in education from the University of Texas at Tyler in 1991. Woodard and the former Penne Striedel.
Ray and Penne Woodard
23
La mar Foo tba l l Coaching Staff
Allen Johnson Assistant Head Coach - Secondary
Allen Johnson, who spent the 2011 season at Lamar as co-defensive coordinator, is entering his second year as assistant head coach in charge of the Cardinals’ secondary. Prior to coming to Lamar, Johnson coached the cornerbacks at the University of Texas-El Paso for three seasons. Johnson, who earned his bachelor’s degree in health and kinesiology at Texas A&M-Commerce in 1999 and his master’s degree in the same field a year later, played collegiately at Kilgore College, Central Oklahoma and A&M-Commerce. When he was at Kilgore, he played under Woodard who was then Kilgore’s defensive coordinator.. At UTEP, Johnson coached such star defensive backs as Cornelius Brown, Melvin Stephenson and
24
Clarence Ward, all of whom played briefly in the National Football League. Before going to UTEP, Johnson spent the 2007 season as the defensive backs coach and recruiting coordinator at Midwestern State University, which fielded the top defense in the Lone Star Conference that year. In going 8-3 that season, Midwestern State led the league in scoring defense (18.6 points-pergame average), total defense (294.2 yards-per-game average) and rushing defense (93.9 yards-per-game). In 2006, Johnson served as the quality control coach at Oklahoma State University, helping lead the Cowboys to seven wins and an Independence Bowl victory. Johnson started his coaching career at Texas A&M-Commerce in 1999, and after two years there, he spent the next four seasons in the high-school coaching ranks at Gaither HS in Tampa, Fla., at Plant HS in Tampa and at Newman Smith HS in Carrollton, Texas. Johnson doubled as the secondary coach and recruiting coordinator at Blinn College in 2005, helping the team qualify for the National Junior College Athletic Association playoffs. Johnson, who was an all-district defensive back at Desoto High School, and his wife, Jennifer, have three daughters – Jayla, Kyra and Olivia.
The Johnson File Personal Birthdate.......................September 11, 1972 Hometown .............................Desoto, Texas Wife ....................................................Jennifer Children .....................Jayla, Kyra and Olivia
Recruiting Area Dallas Metroplex, Houston
Education 1999...............B.S., Texas A&M-Commerce 2000..............M.S., Texas A&M-Commerce
Playing Career 1991-92 ................................Kilgore College 1993 .......................Central Oklahoma State 1998........................Texas A&M-Commerce
Coaching Career 1999........................Texas A&M-Commerce ...............................Student Assistant Coach 2000........................Texas A&M-Commerce ............................Graduate Assistant Coach 2001.......................Gaither HS, Tampa, Fla. ..................................Defensive Coordinator 2002 ............................Plant HS, Tampa, Fla ..............................................Assistant Coach 2003-04.....Newman HS, Carrollton, Texas ..............................................Assistant Coach 2005 ..........................................Blinn College Secondary Coach, Recruiting Coordinator 2006 ..................Oklahoma State University ..................................Quality Control Coach 2007 ................Midwestern State University Secondary Coach, Recruiting Coordinator 2008-10.................................................UTEP ........................................Cornerbacks Coach 2011.......................................................Lamar ...........................Co-Defensive Coordinator 2012- .....................................................Lamar ................Assistant Head Coach-Secondary
L a m a r Fo otbal l Coaching Staff
Bill Bradley Defensive Coordinator
Former National Football League pro bowler and longtime coach Bill Bradley begins his second season as the defensive coordinator at Lamar. 200406. singleseason.
The Bradley File Personal
Birthdate.............................January 24, 1947 Hometown...........................Palestine, Texas Wife........................................................Susan Children .........................Matthew & Carissa
Recruiting Area San Antonio Area
Education
1965-68 .........................University of Texas
Playing Career
1966-68 .........................University of Texas 1969-76..........................Philadelphia Eagles 1977.................................St. Louis Cardinals
Coaching Career
1983-84.San Antonio Gunslingers (USFL) ................Assistant Coach/Quality Control 1985 ..............Memphis Showboats (USFL) ..............................................Assistant Coach 1987 ...............................University of Texas ........................................Volunteer Assistant 1988-90 .............Calgary Stampeders (CFL) ..................................Defensive Coordinator 1991-92 .........San Antonio Riders (WLAF) ..................................Defensive Coordinator 1993-94...............San Antonio Texas (CFL) ..................................Defensive Coordinator 1994-95 .....Sacramento Goldminers (CFL) ..................................Defensive Coordinator 1996-97 ..............Toronto Argonauts (CFL) ..................................Defensive Coordinator 1998-2000 .....................Buffalo Bills (NFL) .................................Defensive Backs Coach 2001-03 ......................New York Jets (NFL) .................................Defensive Backs Coach 2004-06..............................Baylor University ..................................Defensive Coordinator 2007-08 ............San Diego Chargers (NFL) .................................Defensive Backs Coach 2009-10 ....................Florida Tuskers (UFL) .................................Defensive Backs Coach 2012- ..................................Lamar University ..................................Defensive Coordinator
25
La mar Foo tba l l Coaching Staff
Larry Kueck Offensive Coordinator - Quarterbacks
Larry Kueck, who served as coach Ray Alborn’s offensive coordinator and quarterbacks coach at Lamar from 1986-89, is in his second year with the program in the same capacity. Kueck brings 28 years of collegiate coaching experience to Lamar, including nearly 20 years as an offensive coordinator. He has spent the last four years coaching high school football in Texas, but is returning to the college level where he has enjoyed a great amount of success. During his first tenure in Beaumont, the Lamar passing game put up the most prolific numbers in school history. Kueck helped guide quarterback John Evans to school records for single-season and career passing yards. Evans also set the school record for career touchdown passes with Kueck directing Lamar’s offense. Prior to returning to the Texas high school ranks, Kueck spent six seasons as the offensive coordinator and quarterbacks coach at Marshall University. It was his second stint at the school as he spent the 1996 season with the Thundering Herd, helping Marshall to the Football Championship Subdivision (formerly IA, Byron Leftwich
26
threw for 4,268 yards and 30 touchdowns with Kueck guiding the offense. The following year, junior Stan Hill set a school record by completing 69.6 percent of his pass attempts. Prior to returning.
The Kueck File Personal
Birthdate ....................................June 1, 1951 Hometown.................................Freer, Texas Wife ....................................................Rhonda Children .................................Megan & Cara
Recruiting Area East Texas
Education
1975..........................B.S., Stephen F. Austin 1976 .....................M.Ed., Stephen F. Austin
Playing Career
1969-73.............................Stephen F. Austin
Coaching Career
1980 ..................Southwest Oklahoma State ..............................................Assistant Coach 1981 .......................................Rice University ..............................................Assistant Coach 1982-85 ..........................Sam Houston State ..............................................Assistant Coach 1986-89..............................Lamar University ..................................Offensive Coordinator 1990.........................................................SMU ..................................Offensive Coordinator 1991 ..............................................Texas Tech ..............................................Assistant Coach 1992-93 .................University of the Pacific ..............................................Assistant Coach 1994...............................................Mississippi ..................................Offensive Coordinator 1995.........................Navarro Junior College ..................................Offensive Coordinator 1996................................Marshall University ..................................Offensive Coordinator 1997-99 .......................Southern Mississippi ..................................Offensive Coordinator 2000-01 ...................................................SMU ..................................Offensive Coordinator 2002-07..........................Marshall University ..................................Offensive Coordinator 2008 .......................South Grand Prairie HS ..................................Offensive Coordinator 2009 ...................................Mineral Wells HS ..................................Offensive Coordinator 2010-11 ......................Woodrow Wilson HS ..................................Offensive Coordinator 2012- ..................................Lamar University ..................................Offensive Coordinator
L a m a r Fo otbal l Coaching Staff
Craig McGallion Assistant Coach - Linebackers Recruiting Coordinator From 1989-93, McGallion spent time in the Cy-Fair Independent School District at both Cy-Fair HS and Cy-Creek HS. He mentored future NFL Pro Bowl selection Sam Adams, who played at Texas A&M, Craig McGallion begins his fourth along with Shane Rink, who starred season as the linebackers coach and at Texas, while at Cy-Creek. recruiting coordinator at Lamar UniMcGallion was a three-year letterversity. man and two-year starter at noseA former University of Houston guard at the University of Houston. standout and long-time defensive co- He received his bachelor's degree in ordinator at Silsbee High School, Mc- Education from UH in 1984. Gallion joined Ray Woodard's initial McGallion graduated from Silsstaff at Lamar on June 16, 2008, as an bee HS in 1979 and was an all-state assistant coach. selection at linebacker who was also Over the past two seasons of a member of the 1977 Tiger team Southland Conference competition, that reached the state semifinals. He McGallion has seen three of his line- also played in the 1979 Texas High backers earn honorable mention all- School All-Star Game. league honors. Asim Hicks and Darby He has been married to his wife Jackson were honored in 2011, while Gayle since 1983 and the couple has Jermaine Longino was recognized last a son, Lance, and a daughter, Lacey. season after tying for the conference Lance is a Lamar University graduate lead with 107 tackles. and Lacey earned a degree from McGallion came to Lamar after Lamar Institute of Technology. serving on the Silsbee staff under his brother Bobby for 10 years, where the Tigers made the playoffs six times. McGallion spent three seasons as the head coach at Barbers Hill from 1995-98 following a two year stint at Woodville from 1993-94. The son of the late Silsbee coaching legend Stud McGallion led Woodville to the playoffs in his first season with a 6-4-1 mark.
The McGallion File Personal Birthdate .....................................July 1, 1960 Hometown ..............................Silsbee, Texas Wife........................................................Gayle Children.................................Lance & Lacey
Recruiting Area Golden Triangle, East Texas, Northwest Houston, Mississippi JUCO’s
Education 1984.................B.S., University of Houston
Playing Career 1979-82....................University of Houston
Coaching Career 1983-84....................University of Houston ................................................Student Coach 1984-85.....................................Clements HS ............................................Freshman Coach 1985-88 .........................................Silsbee HS ...................................Defensive Line Coach 1988-89.......................................Texas A&M ............................Graduate Assistant Coach 1989-92.....................................Cy-Creek HS ...................................Defensive Line Coach 1992-93 ........................................Cy-Fair HS ..................................Defensive Coordinator 1993-94....................................Woodville HS .....................................................Head Coach 1995-98 ................................Barbers Hill HS .....................................................Head Coach 1998-2008 .....................................Silsbee HS ..................................Defensive Coordinator 2010- ..................................Lamar University ..........Linebackers, Recruiting Coordinator
27
La mar Foo tba l l Coaching Staff
James Brown Assistant Coach - Running Backs
Beaumont native and former University of Texas quarterback James Brown is in his fourth season as the running backs coach at Lamar University. Brown spent the majority of the previous six years playing professionally in NFL Europe and the Arena Football League after his standout career at Texas. He played for the Scottish Claymores in 2002 - the same time Lamar head coach Ray Woodard was the defensive coordinator and led the Frankfurt Galaxy to the World Bowl title in 2003. He played four years of arena football with Nashville, leading the Kats to the Arena Bowl in 2000 and 2001, a year with San Jose and a year with Georgia. From 2003-05, Brown was the offen-
28
sive coordinator at Hyde Park Baptist in Austin where the team reached the TAPPS state semifinals all three years. Brown played for the CenTex Barracudas of the Intense Football League as a midseason replacement and led the team to six wins in eight games and a spot in the league semifinals. Brown was a four-year letterwinner at Texas and finished his career with 30 school records, including passing yards (7,638), total offense (8,049) and touchdown passes (53). In 1995,. As a senior in 1996, Brown led the Longhorns to their first Big 12 Conference title with a win over Nebraska in the inaugural Big 12 Championship Game. He became a UT legend in that contest on a play called "Roll Left" with a 61-yard pass to tight end Derek Lewis that led to a Priest Holmes touchdown to clinch the game. He earned his bachelor's degree in management from Texas in 2000 and is also a licensed real estate appraiser who has run an income tax business in the Austin area. Brown graduated from West Brook High School in Beaumont in 1993 and was a two-sport star in football and basketball. The football program went 20-0 during the regular seasons his two years as a starter, while on the basketball court he became just the second sophomore to play on the varsity team in school history.
The Brown File Personal Birthdate ..................................May 17, 1975 Hometown.......................Beaumont, Texas
Recruiting Area Golden Triangle, Houston ISD, Austin
Education 2000 ....................B.A., University of Texas
Playing Career 1993-96 .........................University of Texas 1997...............British Columbia Lions (CFL) 2000-01 ......................Nashville Kats (Arena) 2002-04................San Jose Sabercats (Arena) 2002-03 ........Frankfurt Galaxy (NFL Europe)
Coaching Career 2002-04 ................San Jose Sabercats (Arena) ...................................................Player Coach 2004-06 .....................Hyde Park Baptist HS ..................................Offensive Coordinator 2010- ..................................Lamar University ....................................Running Backs Coach
L a m a r Fo otbal l Coaching Staff
Carey Bailey Assistant Coach - Defensive Line
Former University of Tennessee standout Carey Bailey begins his second season as defensive line coach at Lamar University. The former head coach at Howard University (2007-10) brings nearly two decades of coaching experience on the college level to his new position at Lamar. Bailey has coached 14 players who went on to play professional football, and has coached 19 all-conference players and fouriley’s tenure, the Ragin’.
The Bailey File Personal Birthdate.............................January 16, 1969 Hometown .....Morgantown, West Virginia Wife......................................................Angela Children .........Evann Leigh & Leah Nicole
Recruiting Area West Louisiana, South Mississippi JUCOs
Education 1992 .............B.A., University of Tennessee
Playing Career 1988-91 .................University of Tennessee
Coaching Career 1993-94 .................West Virginia University ............................Graduate Assistant Coach 1995-98 ...............Virginia Military Institute ...................................Defensive Line Coach 1998-02..........................Louisiana-Lafayette ..Defensive Line and Special Teams Coach 2003 ........................Middle Tennessee State ...................................Defensive Line Coach 2004......................................Oklahoma State ...................................Defensive Line Coach 2005-06.................University of Minnesota ...................................Defensive Line Coach 2007-10...........................Howard University .....................................................Head Coach 2012- ..................................Lamar University ...................................Defensive Line Coach
29
La mar Foo tba l l Coaching Staff
Kevin Barbay Assistant Coach - Wide Receivers
Former Nederland High School quarterback Kevin Barbay is in his second season coaching wide receivers at Lamar University. Barbay comes to Lamar after spending the last two years as the athletics director and head coach at Warren (Texas) High School. Following his high school career, Barbay went to Grambling State to play for former Super Bowl MVP Doug Williams. Barbay then returned to Lamar to finish his education and was introduced to coaching early as he was able to serve as wide receivers coach at Monsignor Kelly High School from 2003-05 while still a student at Lamar. After earning his bachelor’s degree in Exercise Science and Fitness Management from Lamar in 2005, Barbay worked as a graduate assistant coach at Baylor University from 200507. Barbay's first full-time coaching job came at Texas A&M-Commerce. After finishing his master’s degree from Baylor in 2007, Barbay spent two seasons as the quarterbacks/wide receivers coach with the Lions before
30
moving on to North Texas as the tight ends coach for a season (2009). Barbay comes from an impressive coaching pedigree. His late uncle Curtis Barbay was a highly successful coach at Newton High School, while his cousin Bryan is the head coach at Coldspring High School and his cousin Darrell is the head coach at Jasper High School. Barbay and his wife Kaci have two children, daughter Kynslie and son Karson.
The Barbay File Personal Birthdate .......................December 28, 1982 Hometown .......................Nederland, Texas Wife..........................................................Kaci Children...............................Kynslie, Karson
Recruiting Area Southeast Texas, East Houston, Dallas Metroplex
Education 2005...........................B.S., Lamar University 2007 .........................M.S., Baylor University
Playing Career 2002..................Grambling State University
Coaching Career 2003-05............................Kelly High School ...................................Wide Receivers Coach 2005-06..............................Baylor University ............................Graduate Assistant Coach 2007-08..................Texas A&M-Commerce .........Quarterbacks/Wide Receivers Coach 2009............................................North Texas ..........................................Tight Ends Coach 2010-12 ........................Warren High School ..................Athletics Director/Head Coach 2012- ..................................Lamar University ...................................Wide Receivers Coach
L a m a r Fo otbal l Coaching Staff
Chuck Langston Assistant Coach - Offensive Line 22 win over Jones County Junior College in the Heart of Texas Bowl. Prior to being named head coach at Trinity Valley, Langston spent one season coaching the defensive line and special teams. After spending the 2012 season as Langston’s first collegiate coachdirector of football openerations, for- ing position came at his alma mater mer Central Oklahoma head coach where he served for three seasons Chuck Langston begins his first year (1997-99) as tight ends and defensive as an assistant coach. Langston will line coach after one year as a graduate coach the Cardinals’ offensive line. assistant coach. Langston brings more than a Following a standout prep career decade of college coaching experience at West Brook, Langston earned four to Lamar. Additionally, he knows letters at center for the Sooners. He Southeast Texas after starring at West served as a team captain during his Brook High School, and he played senior campaign and helped OU to collegiately at the highest level as a three bowl appearances during his three-year starter for the University of playing days. Oklahoma. Langston earned a bachelor’s deBefore joining Lamar, Langston gree in sociology from Oklahoma in spent three years as the head coach 1995 before getting his master’s deand Athletics Director at Trinity gree in human relations from OU in (Texas) High School after one season 1999. at Groveton (Texas) High School as Langston and his wife Amy have the special teams coordinator. three sons, Christian, Justice and ReaLangston spent five seasons as the gan Luke. head coach at NCAA Division II Central Oklahoma. Langston guided the Bronchos to a 29-24 record during his five seasons as head coach, including a 9-3 record in 2003 and a spot in the second round of the NCAA Division II Playoffs. Langston’s first head coaching job came at Trinity Valley Community College from 2000-02. During his last season with the Cardinals, Langston led the team to a 10-2 record and a 33-
The Langston File Personal Birthdate.............................January 30, 1973 Hometown........................Beaumont, Texas Wife..........................................................Amy Children.....Christian, Justice, Reagan Luke
Education 1995 .....................................B.A., Oklahoma 1999.................................M. Ed., Oklahoma
Playing Career 1991-95..........................................Oklahoma
Coaching Career 1996-97..........................................Oklahoma .........................................Graduate Assistant 1997-99..........................................Oklahoma ..............................................Assistant Coach 1999-00..............................Trinity Valley CC ..............................................Assistant Coach 2000-02..............................Trinity Valley CC .....................................................Head Coach 2002-07............................Central Oklahoma .....................................................Head Coach 2008-09 ......................Groveton (Texas) HS ..............................................Assistant Coach 2009-11............................Trinity (Texas) HS ..................Head Coach/Athletics Director 2012 ...................................Lamar University .................Director of Football Operations 2013- ..................................Lamar University ....................................Offensive Line Coach
31
La mar Foo tba l l Coaching Staff
Brett Ramsey Director of Football Operations led Slocum High School to the 2009 Texas Class A state title in basketball. A 2011 Lamar University graduate with a Bachelor of Science degree in kinesiology, Ramsey is currently working on his master’s degree in health promotions. A member of the Lamar football program since its rebirth in 2008, Brett Ramsey begins his first season as director of football operations. After spending three seasons as a sudent assistant while completing his bachelor’s degree from Lamar, Ramsey worked with the Cardinal tight ends as a graduate assistant over the last two years.
32
The Ramsey File Personal Birthdate.................................April 18, 1988 Hometown .....................Orangefield, Texas
Education 2011..............................................B.S., Lamar Coaching Career 2009-10...........................Warren (Texas) HS ..............................................Assistant Coach 2010-12..............................Lamar University .........................................Graduate Assistant 2013- ..................................Lamar University .................Director of Football Operations
L a m a r Fo otbal l Coaching Staff
Eric Hicks Graduate Assistant - Linebackers Erik Hicks, a 10year NFL veteran, begins his second season as a graduate assistant coach with the Cardinals. Hicks, who played most of his NFL career with the Kansas City Chiefs, works primarily with the Lamar linebackers. Hicks joined the Chiefs as an undrafted free agent in 1998 and started 104 of the 128 games he played. He still ranks sixth in team history with 44.5 career sacks. Hicks’ best season came in 2000 when he registered a career-high 14 sacks in just 13 games played. He would
also spend a season with the New York Jets and was signed by the Detroit Lions without ever appearing in a game for them. A native of Pennsylvania, Hicks played collegiately at Maryland from 1994-97. Hicks earned his bachelor’s degree from Maryland in 2012.
Jason Smith Graduate Assistant - Offense After spending the 2012 season as video coordinator for football, Jason Smith will begin his first year as a graduate assistant coach working with the offense. Prior to coming to Lamar, Smith coached at Monsignor Kelly High School in Beaumont. Smith served as offensive coordinator in his final year, helping the Bulldogs average 35 points per game on their way to an 11-4 record
and a spot in the state championship game. Following a standout playing career at Kelly which included being named the offensive MVP of the GHPSCA All-Star Game, Smith played collegiately at Wesleyan University in Middletown, Conn. Smith, who is currently pursuing a master’s degree in education from Lamar, earned his bachelor’s degree in education from Liberty University in 2011.
33
La mar Foo tba l l Support Staff
Parker James Student Assistant Coach
Johnathan Johnson Student Assistant Coach
April Coon
Andrew Caudill
Administrative Associate
Academic Specialist
Endzone Angels
34
L a m a r Fo otbal l Support Staff
Joshua Miller
(SCCC, USAW)
Strength & Conditioning Coach After.
Dave Overman Assistant Strength & Conditioning Coach
35
La mar Foo tba l l Support Staff
Josh Yonker Head Athletic Trainer Joshua Yonker is entering his ninth year as the head athletic trainer for the Lamar athletics department since joining the staff in August 2005. As the head athletic trainer, Yonker directs and supervises the athletic training staff, graduate assistant athletic trainers, and undergraduate internship students in providing athletic training services to the department's 17 intercollegiate sports. Yonker also directs the undergraduate internship program which prepares students to become Licensed Athletic Trainers in the State of Texas. The program has sent numerous athletic trainers into the high school, clinic, collegiate, and professional ranks. Beginning in August 2009, Yonker has been primarily re-
36
sponsible for the daily medical care of the football and men's & women's golf teams. A native of Denver, Yonker came to Lamar after receiving a Master of Science degree in exercise science from Utah State University in Logan, Utah. While at Utah State, he worked with the football, women's basketball, and women's soccer programs. He was also a lab instructor for the athletic injuries class. Prior to his tenure at Utah State, Yonker was an athletic training student at the University of Northern Colorado in Greeley, Colo. He received a bachelor of science degree in sport and exercise science with an emphasis in athletic training. Yonker is a Certified Athletic Trainer and is a State of Texas Licensed Athletic Trainer. Yonker married the former Kristina Maurich in June of 2011.
Ashley Cody
Ashley Doozan
Graduate Assistant Athletic Trainer
Graduate Assistant Athletic Trainer
L a m a r Fo otbal l Support Staff Dr. Curtis Thorpe
Dr. Shawn Figari
Dr. Joel Smith
Head Team Physician
Team Physician
Team Dentist
Dr. Curtis Thorpe is the team physician for the Lamar University Sports Medicine Team. He is an orthopedic surgeon in sports medicine practice at Beaumont Bone and Joint Institute. He attended medical school and completed his orthopedic residency training program at Baylor College of Medicine. Dr. Thorpe has practiced orthopedic surgery and sports medicine in Beaumont for 16 years. He is board certified in orthopedic surgery and a Fellow of the American Academy of Orthopedic Surgeons, member of the American Orthopedic Society for Sports Medicine, and the Texas Society for Sports Medicine.
Dr. Shawn Figari attended Stephen F. Austin and graduated with a bachelor of science degree with a minor in chemistry. He then went to the University of Texas Health Science Center in Houston where he earned a Doctor of Medicine. While in Houston, he did an internship and a residency in orthopedics. He became a Board Certified Orthopedic Surgeon in 1998. Dr. Figari is a member of the Texas Medical Association, American Academy of Orthopedic Surgeons, Texas Orthopedic Association and the American Medical Association. He has been at Beaumont Bone and Joint Institute since 1998 and a Lamar team physician since 1999.
Dr. Joel Smith, an avid Lamar University supporter and member of the Cardinal Club Board of Directors, also serves the university as the team dentist. Dr. Smith graduated from Lamar University in 1980 where he walked onto the football team after attending Forest Park HS. Currently on staff at Christus St. Elizabeth Hospital, Dr. Smith graduated from the UTHSC Dental School in San Antonio and opened his own practice in Beaumont in 1984. He currently serves as an associate professor at UTHSC Dental School and is part of the school’s mentor program. Dr. Smith is a member of the Sabine District Dental Society and the Texas Dental Society.
Dr. Gene Isabell, Jr.
Dr. Doug Wilcox
Matt Lewis
Team Physician
General Team Physician
Certified Athletic Trainer
Dr. Gene Isabell received his bachelor of science degree in biology (Summa Cum Laude) from Sam Houston State University in 1995. He attended medical school at the University of Texas Medical School at Houston. From there, he completed an Orthopedic Surgical Residency in 2006 from John Peter Smith and Fort Worth Affiliated Hospitals. From 2006-07, Dr. Isabell completed an orthopedic sports medicine fellowship from Baylor College of Medicine. During his time in Houston, Dr. Isabell volunteered with the University of Houston sports teams. He has been at Beaumont Bone and Joint since August of 2007 and is currently working with the Lamar University Sports Medicine Team.
Dr. Doug Wilcox serves as a general team physician for the Lamar Athletics Department. Dr. Wilcox has been a family practice physician at Preventative Medicine of Southeast Texas since 1999. Prior to that, Dr. Wilcox was a Lt. Colonel in the U.S. Air Force as a senior flight surgeon from 1986-97. He operated a family practice in Beaumont from 1997-99. A native of Beaumont and a 1973 graduate of Forest Park HS, Dr. Wilcox received an undergraduate degree from Hastings College (Neb.) in 1977 and his medical degree from Texas Medical School in Houston in 1982. He earned a masters in public health from UTSA in 1990.
Matt Lewis graduated from Texas State in 1992 with a bachelor’s degree in exercise and sports science with a concentration in Sports Medicine. He received his Texas state license in 1991 and his national license in 1993. From 1992 to 2000, Lewis worked as an athletic trainer for the Detroit Tigers. Following that, he worked as the head athletic trainer for Beaumont Central HS. In 2003, Lewis began working for Beaumont Bone and Joint Institute as the Director of Outreach for Sports Medicine. He has served on the executive board of the Athletic Trainers of the Golden Triangle and currently provides physician coordination services for Lamar University and local high schools.
37
La mar Foo tba l l President Kenneth Evans.
38 Senior Associate Provost and Interim Vice President for Student Engagement Dr. Cruse Melvin Interim Vice President for Finance and Operations Ms. Camille Mouton Vice President for University Advancement Ms. Priscilla Parsons Vice President for Information Technology Mr. Jason Henderson Director of Athletics Dr. Peter Kelleher Associate Provost for Research Dr. Oney Fitzpatrick Associate Provost for Student Retention Dr. Jack Hopper Assistant to the President for Economic Development and Industrial Relations Dr. James Simmons President Emeritus and Professor of Music
L a m a r Fo otbal l Athletics Director Jason Henderson J a s o n&MKings man-
Athletic Administration Jason Henderson Athletics Director Helene Thill Assistant AD - Academics Senior Woman Administrator Daucy Crizer Assistant AD - Business Erik J. Cox Assistant AD - Media Relations
agement from Texas A&M in May of 2003 and a Master of Business Administration from Texas A&MKings receives the 2012 Southland Conference Commissioner’s Cup Men’s All-Sport trophy from SLC commissioner Tom Burnett.
39
La mar Foo tba l l Numerical Roster No. 1 2 3 4 5 5 6 7 8 9 10 11 12 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 38 39 41 42 43 44 46 47 48 49 50 51 52 53 54 56 57 58 59 60
40
Name Nashon Davis Mike Hargis Barry Ford Tyrus McGlothen Montez Hunter Mark Roberts Gratian Gladney Courtlin Thompson Kade Harrington Reggie Begelton Jermaine Longino Kevin Johnson Caleb Berry Colby Campbell Robert Mitchell Rex Dausin Desmond Richards Judge Wolfe Dillon Barrett Ryan Mossakowski Keinon Peterson Michael Handy Branden Thomas Emmitt Raleigh Payton Ploch Richard Gipson Kollin Kahler Chad Allen Caleb Harmon Zach Johnson Xavier Bethany George Orebe Anthony Beard Romando Stewart Josh Wilson Joe Okafor Lloyd Julian Eddie McGill Justin Stout Jestin White Keith Curran Chris Maikranz Ronnie Jones Jr. Alex Ball P.J. Henderson Lawson Hartwick William Jones Cole Carleton James Bellard Tony Qualls David Hollyfield James Washington Chance McCormack Kevin Gunnells Bret Treadway Johnny Morris Richard Alfonso
Pos. DB LB WR DB DB WR WR DB RB WR LB WR QB DB QB QB RB QB QB QB DB WR DB RB RB LB P/K DB RB DB DB DB LB LB DB DL DB LB K LB LB DS LB K TE DS LB LB LB LB DL LB OL LB OL LB OL
Ht. 6-3 6-3 6-1 5-8 5-11 6-3 5-9 6-1 5-9 6-0 5-10 6-0 6-2 6-0 6-1 6-2 5-9 5-10 6-3 6-4 5-8 5-11 5-9 6-0 6-2 6-2 6-2 5-11 5-9 5-11 6-1 5-9 6-1 6-2 5-7 6-6 5-10 6-0 6-1 6-4 6-4 6-6 5-10 6-3 6-3 5-11 5-10 6-0 6-2 6-0 6-3 5-11 6-3 5-11 6-3 6-0 6-0
Wt. 205 225 175 175 180 190 165 210 185 190 220 210 195 185 200 203 170 170 220 215 190 185 170 210 215 215 200 190 200 180 180 165 225 210 185 295 165 225 170 190 240 255 240 240 220 255 225 215 225 215 225 225 295 210 250 185 260
Yr.-Exp. Hometown (High School/Last School) Sr.-1L Katy, Texas (Morton Ranch HS/Blinn JC) So.-1L Austin, Texas (Manor HS) RS Sr.-3L Houston, Texas (Spring Westfield HS) Sr.-1L Grand Prairie, Texas (South Grand Prairie HS/Cisco CC) Jr.-TR Lakewood, Calif. (Artesia HS/Long Beach CC) Jr.-TR Orange, Texas (West Orange-Stark HS/Houston) So.-1L Houston, Texas (Cypress Falls HS) Sr.-1L Lancaster, Calif. (Antelope Valley Christian HS/Saddleback CC) Fr.-HS Kingwood, Texas (Kingwood HS) RS So.-1L Beaumont, Texas (West Brook HS) Sr.-1L Houston, Texas (Hightower HS/Trinity Valley CC) RS Jr.-1L Houston, Texas (Cypress Ridge HS/Oklahoma State) RS Jr.-2L Needville, Texas (Needville HS) Fr.-HS Whitehouse, Texas (Whitehouse HS) Fr.-HS Beaumont, Texas (Central HS) RS Fr.-TR San Antonio, Texas (Warren HS/Houston) So.-1L Montgomery, Texas (Magnolia West HS) Fr.-HS Palmer, Texas (Palmer HS) RS So.-1L Dry Prong, La. (Grant HS/Fort Scott CC) Sr.-1L Frisco, Texas (Centennial HS/Northwest Mississippi CC) Sr.-3L Dickinson, Texas (Dickinson HS) Fr.-RS Conroe, Texas (Oak Ridge HS) Sr.-3L Beaumont, Texas (Central HS) Fr.-HS Houston, Texas (Spring Westfield HS) Sr.-3L Dayton, Texas (Dayton HS) Fr.-HS Tyler, Texas (John Tyler HS) Sr.-3L Waco, Texas (Waco HS) Sr.-3L Coldspring, Texas (Coldspring HS) Sr.-3L Port Neches, Texas (Port Neches-Groves HS) Fr.-RS Littlefield, Texas (Littlefield HS) Fr.-RS Burton, Texas (Burton HS) Jr.-1L Houston, Texas (Westside HS) Sr.-2L Lumberton, Texas (Lumberton HS/SMU) Fr.-HS Newton, Texas (Newton HS) Jr.-2L Beaumont, Texas (West Brook HS) RS Jr.-1L Bellaire, Texas (Bellaire HS/Oklahoma State) Fr.-HS Bellaire, Texas (Episcopal HS) Fr.-HS Stockbridge, Ga. (Woodland HS) Sr.-3L Mesquite, Texas (West Mesquite HS) RS Jr.-2L Houston, Texas (North Shore HS) Jr.-TR Garden City, Kan. (Garden City HS/Garden City CC) Sr.-3L Sugar Land, Texas (Lamar Consolidated HS) So.-1L Hempstead, Texas (Hempstead HS) Fr.-RS Westlake, Calif. (Westlake Village HS) Sr.-2L Austin, Texas (Anderson HS/Jackson State) RS Jr.-2L Forney, Texas (Forney HS) Sr.-3L Beaumont, Texas (Central HS) Fr.-HS Omaha, Neb. (Elkhorn South HS) So.-HS Baytown, Texas (Barbers Hill HS) Fr.-HS Houston, Texas (Spring Westfield HS) So.-1L Silsbee, Texas (Silsbee HS) Sr.-3L Houston, Texas (Madison HS) Jr.-TR Dayton, Texas (Dayton HS/Blinn JC) So.-RS Houston, Texas (George Bush HS) Fr.-RS Silsbee, Texas (Silsbee HS) So.-RS Humble, Texas (Atascocita HS) Fr.-RS Katy, Texas (Pope John XXIII HS)
Alphabetical Roster No. 60 26 70 46 17 32 85 9 51 12 29 76 97 12 50 99 95 75 92 78 42 14 96 1 93 89 86 66 3 64 24 6 63 74 57 20 2 27 8 48 82 47 53 5 11 28 44 49
Name Richard Alfonso Chad Allen Stephen Babin Alex Ball Dillon Barrett Anthony Beard Brannon Beaton Reggie Begelton James Bellard Caleb Berry Xavier Bethany Justin Brock Kade Burman Colby Campbell Cole Carleton Corbin Carr Juan Carranco Hunter Conn Koby Couron John Craven Keith Curran Rex Dausin Joshua Davis Nashon Davis Jesse Dickson Garrett Drake Jordan Edwards Marshall Fairchild Barry Ford Kyle Gillam Richard Gipson Gratian Gladney Jonathon Green Kevin Greif Kevin Gunnells Michael Handy Mike Hargis Caleb Harmon Kade Harrington Lawson Hartwick Victor Hawkins P.J. Henderson David Hollyfield Montez Hunter Kevin Johnson Zach Johnson Ronnie Jones Jr. William Jones
Pos. OL DB OL K QB LB TE WR LB QB DB OL LB DB LB DL K OL DL OL LB QB K DB DL WR WR OL WR OL LB WR DL OL LB WR LB RB RB DS WR TE DL DB WR DB LB LB
L a m a r Fo otbal l Alphabetical Roster No. 36 25 80 62 10 43 68 56 38 4 88 13 59 91 18 90 84 35 30 19 23 52 22 15 67 5 71 81 33 39 65 21 7 58 54 98 72 41 69 34 16
Name Lloyd Julian Kollin Kahler Sam Keeter Ian Kelso Jermaine Longino Chris Maikranz Chris Mayer Chance McCormack Eddie McGill Tyrus McGlothen Payden McVey Robert Mitchell Johnny Morris Logan Moss Ryan Mossakowski Mark Murrill Jayce Nelson Joe Okafor George Orebe Keinon Peterson Payton Ploch Tony Qualls Emmitt Raleigh Desmond Richards Blake Rising Mark Roberts Tramon Shead Jesse Sparks Romando Stewart Justin Stout Omar Tebo Branden Thomas Courtlin Thompson Bret Treadway James Washington Marcus Washington Brock Wempa Jestin White Jeff Whittaker Josh Wilson Judge Wolfe Ronald Barrett Tommie Barrett Brent Salenga Deven Scoby
Pos. DB P/K TE OL LB DS OL OL LB DB TE QB LB LB QB DL WR DL DB DB RB LB RB RB OL WR OL WR LB K DL DB DB OL LB DL OL LB OL DB QB DB DB WR DB
Numerical Roster No. 60 62 63 64 65 66 67 68 69 70 71 72 74 75 76 78 80 81 82 84 85 86 88 89 90 91 92 93 95 96 97 98 99
Name Richard Alfonso Ian Kelso Jonathon Green Kyle Gillam Omar Tebo Marshall Fairchild Blake Rising Chris Mayer Jeff Whittaker Stephen Babin Tramon Shead Brock Wempa Kevin Greif Hunter Conn Justin Brock John Craven Sam Keeter Jesse Sparks Victor Hawkins Jayce Nelson Brannon Beaton Jordan Edwards Payden McVey Garrett Drake Mark Murrill Logan Moss Koby Couron Jesse Dickson Juan Carranco Joshua Davis Kade Burman Marcus Washington Corbin Carr Ronald Barrett Tommie Barrett Brent Salenga Deven Scoby
Pos. OL OL DL OL DL OL OL OL OL OL OL OL OL OL OL OL TE WR WR WR TE WR TE WR DL LB DL DL K K LB DL DL DB DB WR DB
Ht. 6-0 6-0 6-0 6-1 6-0 6-4 6-1 6-7 6-1 6-4 6-6 6-2 6-3 6-5 6-5 6-3 6-4 5-10 6-2 6-2 6-3 5-11 6-1 6-2 6-2 6-4 6-3 6-3 6-0 6-1 6-3 6-3 6-3 5-11 5-10 5-8 5-11
Wt. 260 280 265 270 295 290 255 345 220 315 305 345 260 285 280 285 225 170 205 170 245 180 225 185 255 210 240 265 170 200 200 295 245 180 170 170 195
Yr.-Exp. Fr.-RS RS Jr.-2L Fr.-HS Sr.-3L Fr.-HS Sr.-3L Fr.-HS Jr.-TR So.-RS RS Sr.-3L Jr.-TR Sr.-1L Fr.-HS Fr.-HS RS So.-1L Fr.-HS Fr.-HS Jr.-2L Fr.-HS So.-1L Fr.-HS Sr.-3L Jr.-2L Fr.-RS Sr.-3L RS So.-1L Fr.-HS Sr.-3L Fr.-HS Fr.-HS Fr.-HS Jr.-1L Fr.-RS So.-HS So.-HS So.-HS Fr.-HS
Hometown (High School/Last School) Katy, Texas (Pope John XXIII HS) Austin, Texas (Lake Travis HS) Houston, Texas (North Shore HS) Lumberton, Texas (Lumberton HS) Liberty, Texas (Liberty HS) Gonzales, Texas (Gonzales HS) Winnie, Texas (East Chambers HS) Shawnee, Kan. (Mill Valley HS/Fort Scott CC) Humble, Texas (Humble HS) Bellville, Texas (Bellville HS) Cayuga, Texas (Cayuga HS/Kilgore JC) Royse City, Texas (Royse City HS/Tyler JC) Spring, Texas (Klein Oak HS) Whitehouse, Texas (Whitehouse HS) Beaumont, Texas (West Brook HS) Spring, Texas (Klein Collins HS) Dallas, Texas (Woodrow Wilson HS) Lumberton, Texas (Lumberton HS) Longview, Texas (Pine Tree HS) Port Neches, Texas (Port Neches-Groves HS) Whitehouse, Texas (Whitehouse HS) Houston, Texas (Madison HS) Deer Park, Texas (Deer Park HS) Silsbee, Texas (Silsbee HS) Lumberton, Texas (Lumberton HS) Orange, Texas (Orangefield HS) Nederland, Texas (Nederland HS) Houston, Texas (Alief Taylor HS) Dayton, Texas (Dayton HS) Marshall, Texas (Evangel (La.) HS) Livingston, Texas (Livingston HS) Houston, Texas (Stephen F. Austin HS/Ft. Scott CC) Nederland, Texas (Nederland HS) Silsbee, Texas (Silsbee HS) Silsbee, Texas (Silsbee HS) Nederland, Texas (Nederland HS) Houston, Texas (Travis HS)
Pronunciation Guide Stephen Babin (BAB-in) Reggie Begelton (Bagel-ton) Nashon Davis (NAY-shawn) Res Dausin (DOW-son) Gratian Gladney (GRAY-shun) Kevin Greif (Grife) Kollin Kahler (CAY-ler) Jermaine Longino (lawn-GEE-no) Chris Maikranz (MY-kranz) Ryan Mossakowski (moss-ah-COW-ski) George Orebe (Or-A-bay) Payton Ploch (rhymes with slow) Romando Stewart (row-MAN-dough) Larry Kueck (KECK)
41
La mar Foo tba l l Offense
Defense
Quarterback
Special Teams
Defensive End
Kicker
12
Caleb Berry
6-2
195
Jr.-2L
93
Jesse Dickson
6-2
245
Sr.-3L
39
Justin Stout
6-1
160
Sr.-3L
18
Ryan Mossakowski 6-4
225
Sr.-1L
92
Koby Couron
6-3
240
Fr.-HS
95
Juan Carranco
6-0
170
Fr.-HS
Running Back
Nose Guard
Kickoffs
23
Payton Ploch
6-2
215
Sr.-3L
35
Joe Okafor
6-6
295
Jr.-1L
95
Juan Carranco
6-0
170
Fr.-HS
15
Desmond Richards 5-9
170
So.-1L
65
Omar Tebo
6-0
295
Fr.-HS
46
Alex Ball
6-3
240
Fr.-RS
X
Defensive End
Holder
86
Jordan Edwards
5-11
175
Sr.-3L
90
Mark Murrill
6-2
250
Sr.-3L
25
Kollin Kahler
6-2
200
Sr.-3L
7
Mark Roberts
6-3
190
Jr.-TR
42
Keith Curran
6-4
240
Jr.-TR
12
Caleb Berry
6-1
190
Jr.-2L
A
Will
Deep Snapper
9
Reggie Begelton
6-0
190
So.-1L
10
Jermaine Longino
5-10 220
Sr.-1L
43
Chris Maikranz
6-6
255
Sr.-3L
6
Gratian Gladney
5-9
165
So.-1L
91
Logan Moss
6-4
So.-1L
48
Lawson Hartwick
5-11
240
Jr.-2L
Tight End
210
Mo
Punter
88
Payden McVey
6-1
220
Jr.-2L
49
Will Jones
5-10 225
Sr.-3L
25
Kollin Kahler
6-2
200
Sr.-3L
17
Dillon Barrett
6-3
220
So.-1L
32
Anthony Beard
6-1
Sr.-2L
95
Juan Carranco
6-0
170
Fr.-HS
Left Tackle
235
Mike
Kick Returner
76
Justin Brock
6-5
280
So.-1L
54
James Washington 5-11
71
Tramon Shead
6-6
305
Jr.-TR
44
Ronnie Jones Jr.
Left Guard
225
Sr.-3L
20
Michael Handy
5-11
185
Fr.-RS
5-10 240
So.-1L
11
Kevin Johnson
6-0
210
Jr.-1L
Sam
Punt Returner
62
Ian Kelso
6-0
280
Jr.-2L
41
Jestin White
6-4
190
Jr.-2L
20
Michael Handy
5-11
185
Fr.-RS
74
Kevin Greif
6-3
260
Fr.-HS
2
Mike Hargis
6-3
225
So.-1L
6
Gratian Gladney
5-9
165
So.-1L
Center
Left Cornerback
64
Kyle Gillam
6-1
270
Sr.-3L
21
Branden Thomas
5-9
165
Sr.-3L
78
John Craven
6-3
285
Fr.-HS
36
Lloyd Julian
5-10 165
Fr.-HS
Right Guard
Free Safety
58
Bret Treadway
6-3
250
Fr.-HS
26
Chad Allen
5-11
190
Sr.-3L
56
Chance McCormack 6-3
295
Jr.-TR
37
Courtlin Thompson 6-1
210
Sr.-1L
Right Tackle
Strong Safety
70
Stephen Babin
6-4
280
Sr.-3L
1
Nashon Davis
6-3
205
Sr.-1L
68
Chris Mayer
6-7
345
Jr.-TR
12
Colby Campbell
6-0
185
Fr.-HS
Z
Right Cornerback
20
Mike Handy
5-11
185
Fr.-RS
4
Tyrus McGlothen
5-8
175
Sr.-1L
11
Kevin Johnson
6-0
210
Jr.-1L
5
Montez Hunter
5-11
180
Jr.-TR
42
L a m a r Fo otbal l Richard Alfonso OL l 6-0, 260 l Fr.-RS Katy, Texas Pope John XXIII HS
#60
2012:.
Chad Allen DB l 5-11, 190 l Sr.-3L Coldspring, Texas Coldspring HS
#26
2010: Played in all 11 games as a true freshman, finishing 10th on the team with 30 total tackles ... Had a seasonhigh 10 tackles, including six solos, in LU’s 24-20 win over South Dakota (11/13) ... Finished the year with five tackles in 44-6 win over Oklahoma Panhandle State ... Forced and recovered a fumble at North Dakota (10/30). High School: Set Coldspring High School record for career passing yards with 2,495 while throwing 30 touchdown passes for coach Bryan Barbay ... As a senior, passed for 1,336 yards and 16 TDs, and rushed for 850 yards and 13 TDs ... Voted Offensive MVP in District 22-3A and was first-team all-district at quarterback in 2008 ... Honored as Coldspring’s Most Valuable Athlete for the 2008-09 school year ... Earned MVP honors on the Trojans’ basketball team ... Was a two-year regional qualifier in track and field in the long jump and the 400-meter and 800-meter relays. Personal: Chad Allen was born on July 20, 1991 ... Parents are Mervin Allen and Pamela Harrison ... Major is general studies.
Named Preseason Second-Team All Southland Conference 2012: Named honorable mention AllSouthland Conference … Played in all 12 games with 10 starts … Was second on the team with 79 total tackles and his 6.6 tackles per game ranked 18th among all defensive players in the Southland Conference … Registered 55 solo tackles and had 3.5 tackles for loss … Posted a career-high 17 tackles at Stephen F. Austin (11/3) for the second-best Tackles Sacks Pass Def. Fumb. Blkd single-game total by any Southland player in 2012 … Fin- Yr. GP UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH Rcv FF Kick 0-0 0 0 1 1 0 ished with 11 tackles, including two for loss, in 31-0 win 2010 11 18 12 30 2.0-14 0-0 2011 10 24 17 41 2.0-4 0-0 2-24 1 1 0 0 0 over Prairie View A&M (9/8) … Had nine tackles and a 2012 12 55 24 79 3.5-8 0-0 0-0 3 0 2 1 0 fumble recovery at Louisiana-Lafayette (9/1) and had nine Totals 33 97 53 150 7.5-26 0-0 2-24 4 1 3 2 0 tackles and a forced fumble at Northwestern State (10/6) … Was team’s leading tackler four times … Broke up three Stephen Babin passes on the year. OL l 6-4, 280 l Sr.-3L 2011: Started in seven of the 10 games he played in ... Was Bellville, Texas Bellville HS #70 fifth on the team with 41 total tackles, including 24 solo tackles ... Tied for second on the team with a pair of interceptions ... Recorded a season-high nine tackles at Texas State (10/15), including seven solos ... Finished with eight 2012: Started and played in all 12 tackles at South Alabama (9/10), adding a pass breakup ... games for the Cardinals, mostly at Returned an interception 20 yards against Stephen F. right tackle … Extra work in the Austin (11/5) ... Recorded his other pick against McNeese weight room paid off with a strong season … Graded out State (11/19) in the season finale ... Had six tackles in at over 80 percent on the season for the second time in Lamar’s 48-38 win at Southeastern Louisiana (10/1) and his career. at Sam Houston State (10/29).
43
La mar Foo tba l l 2011: Appeared in five games as a backup lineman ... Provided depth all the way across the offensive line other than center. 2010: Played in 10 games as a redshirt freshman, garnering eight starts ... Was the starting left tackle in 2010, but can play either tackle position ... Graded out at 80 percent or better in eight starts. High School: Three-year letterwinner for coach Huey Chancellor at Bellville High School … Was second-team all-state, first-team all-district and first-team all-state academic in 2008 … Did not allow a sack and recorded 142 pancake blocks while grading out at 98 percent during his senior season … Voted captain and Most Valuable Offensive Lineman by his teammates … Invited to play in Houston’s Lone Star Bowl … Helped lead Brahmas to 12-2 record, the District 25-3A championship and a state quarterfinals berth in 2008 … Posted a 4.159 grade point average and was an Academic Excellence Award winner and member of the National Honor Society for four-straight years … Played the trombone in his high school band. Personal: Stephen Dwayne Babin was born on Aug. 8, 1991 … Son of Valerie and David Babin.
Alex Ball K l 6-3, 240 l Fr.-RS Westlake, Calif. Westlake Village HS
#46
2012: Redshirted High School: Named the top high school kicker in the nation as the recipient of the Herbalife 24 Chris Sailer Award ... Was named to the ESPN High School All-America team and to the Maxpreps Division I All-State squad ... Was 19-of24 on field goal-attempts as a senior with three makes from 50 yards or more ... Was a perfect 73-of-73 on extrapoint attempts as a senior ... Helped Westlake to a 14-1 record as a senior and a 12-2 record as a junior ... The Warriors were ranked fourth in the state of California in 2011 and went a perfect 9-0 in league games ... Also named AllVentura County and All-Los Angeles Daily News ... Set California state records for most career kicking points with 329 and most career made PATs with 224. Personal: Alex Ball was born on Feb. 3, 1994 … Son of Anthony and Sally Ball … Majoring in general business.
44
Dillon Barrett QB l 6-3, 222 l RS So.-1L Dry Prong, La. Grant HS Fort Scott CC
#17
2012: Appeared in two games without attempting as a pass as a backup quarterback … Ran twice for four yards in 52-21 win over McMurry (10/13) and finished with one carry for three yards at Stephen F. Austin (11/3). Junior College: Redshirted one year at Fort Scott Community College. High School: Starting quarterback in the Louisiana-Mississippi High School All Star game following his prep career at Grant High school ... Registered more than 2,000 all-purpose yards as a senior. Personal: Dillon Barrett was born on Nov. 22, 1992 … Son of Byron Barrett and Brenda and John Dean … Exercise science major.
Anthony Beard LB l 6-1, 235 l RS Jr.-1L Lumberton, Texas Lumberton HS SMU
#3226
L a m a r Fo otbal l ... General studies major. Yr. 2011
Tackles Sacks Pass Def. Fumb. Blkd GP UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH Rcv FF Kick 11 32 26 58 7.5-48 0.5-4 0-0 0 3 0 0 0
Reggie Begelton WR l 6-0, 190 l RS So.-1L Beaumont, Texas West Brook HS
#82
2012: Appeared in all 12 games and picked up eight starts … Finished third on the team with 21 receptions which totaled 172 yards … Set season-highs with five catches for 50 yards at Central Arkansas (10/20) … Finished with four catches for 33 yards, including an 8-yard touchdown, in 34-24 win over Nicholls (11/10) … First collegiate catch was an 8-yarder at Louisiana-Lafayette (9/1) … Caught at least one pass in nine games. 2011: Redshirted
High School: First-Team All-District 21-5A as a senior after hauling in 52 catches for 866 yards and nine touchdowns ... Helped West Brook HS to an undefeated district title in 2009 and a 2-1 playoff record ... As a senior, Bruins finished with a 7-3 regular season record and advanced to the second round of the playoffs ... Served as team captain as a senior ... Selected to play in the Southeast Texas AllStar Classic. Personal: Reggie Begelton was born on Aug. 31, 1993 ... Son of Reginald and Miranda Begelton ... Majoring in chemical engineering. Yr. 2012
GP Rcpts. Yds Avg 12 21 172 8.2
TD 1
Lg 18
Avg/G 14.3
Caleb Berry QB l 6-2, 195 l RS Jr.-2L Needville, Texas Needville HS
yard
45
La mar Foo tba l lState Team … Was a three-year Academic All-District 263A selection. Personal: Caleb Logan Berry was born on Dec. 24, 1991, in Houston, Texas ... Son of Sterling and JoAnn Berry ... Father Sterling Berry played baseball at Lamar ... Major is kinesiology.
downs marketing.
Justin Brock OL l 6-5, 280 l RS So.-1L Beaumont, Texas West Brook HS
#76
2012: Yr. GP Comp-Att-Int Pct. Yds TD Lg Avg/G Effic Arthur News Super 2011 3 16-23-2 69.6 150 1 36 50.0 121.30 2012 8 76-146-5 52.1 663 5 27 82.9 94.65 Team and was a 2010 Totals 11 92-169-7 54.4 813 6 36 73.9 98.28 second-team selection on the BeauXavier Bethany mont Enterprise DB l 6-1, 180 l Fr.-RS Super Gold Team ... Burton, Texas Burton HS #29 Named to the Dave Campbell Preseason All-State Team prior to senior season ... 2012: Redshirted High School: Played four varsity sea- Blocked for quartersons at Burton High School, including back Bruce Reyes who was named Disthree as a two-way starter ... Named second-team Class A trict 21-5A MVP in all-state at safety and honorable mention at quarterback ... 2010. Played quarterback and defensive back as a senior when Personal: Justin Burton advanced to the Texas Class A state semifinals Brock was born on Jan. 22, 1993 ... Son of Donald Brock with a 12-3 record ... Rushed for 1,324 yards and 20 touchand Shekeitha Taylor ... Major is kinesiology.
46
L a m a r Fo otbal l Corbin Carr DL l 6-3, 245 l Fr.-RS Nederland, Texas Nederland HS
#99
2012: Redshirted High School: Earned AP Class 4A all-state honorable mention honors after helping Nederland High School to a perfect 7-0 District 20-4A finish ... Was also named First-Team All-District 20-4A for the 12-2 Bulldogs at defensive end ... Was a finalist for the Willie Ray Smith Award ... Finished his senior season with 35 solo tackles, 12 sacks and 10 tackles for loss. Personal: Corbin Carr was born on Apr. 10, 1994 … Son of Steven Carr and Tammy Trahan … Majoring in general studies.
Yr. 2012
Tackles Sacks Pass Def. Fumb. Blkd GP UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH Rcv FF Kick 12 20 6 26 0.5-2 0-0 2-21 2 0 0 0 0
Jesse Dickson
Nashon Davis DB l 6-3, 205 l Sr.-1L Katy, Texas Morton Ranch HS Blinn JC. Personal: Nashon Davis was born on Dec. 4, 1989 … Son of Ondorff Davis and Connie Bonney … Majoring in general studies.
#1
2012: Played in all 12 games as a junior transfer with three starts on the year … Registered 26 tackles on the season with 20 solo stops … Tied for second on the team with a pair of interceptions and also had two pass breakups on the year … Picked up his first interception as a Cardinal against Southeastern Louisiana (9/29) and added his other pick at Stephen F. Austin (11/3) … Had a season-high five tackles in 34-24 win over Nicholls (11/10) and matched that total in the season finale at McNeese State (11/17) one game later. Junior College: Helped Blinn College to a 9-2 record as
DE l 6-2, 245 l Sr.-3L Houston, Texas Alief Taylor HS
#93
Named Preseason Second-Team All Southland Conference 2012: Was a second-team All-Southland Conference selection … Played and started 10 games … Finished with 43 total tackles and led the team with nine tackles for loss and 4.0 sacks … Ranked among the top 15 in the Southland Conference in tackles for loss and sacks … Recorded a pair of sacks for 13 lost yards in 310 victory over Langston (9/22) … Also had a sack in 310 win over Prairie View A&M (9/8) and 34-24 win over Nicholls (11/10) … Finished with seven tackles, including two for loss, at Louisiana-Lafayette (9/1) and matched the tackle total with seven against Southeastern Louisiana (9/29) … Added two quarterback hurries and two pass breakups. 2011: Played in all 11 games as a sophomore with seven starts ... Was third on the team with 51 total tackles, including 36 solos ... Led the Cardinal defense with 10.5 tackles for loss for a total of 45 yards ... Had 4.5 sacks on the year to lead the team ... Recorded two of Lamar’s four blocked kicks on the year ... Recorded a season-high eight tackles, including a sack, at South Alabama (9/10) ... Finished with 2.5 tackles for loss in Lamar’s season-opening
47
La mar Foo tba l l 58-0 win over Texas College (9/3) ... Also had 2.5 tackles for loss against McNeese State (11/19) in the season finale ... Finished with a seasonhigh five solo tackles at Texas State (10/15). 2010: Played in eight games as a redshirt freshman ... Finished the season with 28 total tackles, including 21 solos ... Had 5.5 tackles for loss ... Had three solo tackles, including one for loss, in first college game at McNeese State (9/4) ... Finished with five tackles and a forced fumble against South Alabama (10/16) ... Had five tackles, including two tackles for loss, in LU’s 24-20 win over South Dakota (11/13). High School: Three-year letterman for coach Trevor White at Alief Taylor High School … Second team alldistrict selection as senior in 2008 after earning honorable mention recognition on defense in 2007 and on offense in 2006 … Also lettered in soccer, basketball, baseball and track and field … Member of the Taylor African American Student Association and the Peer Assistance Leadership Service … Active with the music group at Cathedral Assemblies of Prayers. Personal: Jesse O. Dickson was born on Jan. 31, 1990 in Kaduna, Nigeria. …Son of John and Esther Dickson. … Majoring in political science. Yr. 2010 2011 2012 Total
48
GP 8 11 10 29
Tackles Sacks Pass Def. UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH 21 7 28 5.5-6 0-0 0-0 0 2 36 15 51 10.5-45 4.5-31 0-0 1 0 30 13 43 9.0-37 4.0-22 0-0 2 2 87 35 122 25-88 8.5-53 0-0 3 4
Fumb. Blkd Rcv FF Kick 0 1 0 0 0 2 0 0 0 0 1 2
Garrett Drake WR l 6-2, 185 l Fr.-RS Silsbee, Texas Silsbee HS
#89
2012:.
Jordan Edwards WR l 5-11, 175 l Sr.-3L Houston, Texas Madison HS
#86
2012: Played in all 12 games with 10 starts … Finished second on the team in receptions (23), receiving yards (349) and touchdown catches (4) … Had one of the best receiving performances in school history with six catches for 208 yards and three touchdowns at Stephen F. Austin (11/3) … The 208 yards receiving are the second most in a single game in school history and the most by any Southland Conference player on the year, while the three receiving touchdowns matches a single-game Lamar record … Snared a 60-yard touchdown pass at SFA for the longest reception by a Cardinal on the year … Finished with three catches for 43 yards and a touchdown at Northwestern State (10/6) … Caught at least one pass in nine of 12 games played. 2011: Appeared in 10 games, mostly on special teams ... Finished the season with two catches for 26 yards as a reserve wide receiver ... First career catch was a 5-yarder at South Alabama (9/10) ... Added a 21-yard grab against Northwestern State (10/8). 2010: Played in two games as a redshirt freshman, includ-
L a m a r Fo otbal l ing the home opener against Webber International (9/11) ... Also played against Oklahoma Panhandle State in the season finale (11/20) ... Did not record a statistic in his two games played. High School: Was three-year varsity letterman for coach Ray Seals at Houston Madison HS … Helped lead Marlins to a 9-3 record and district championship as a senior in 2008 … Team went 8-4 his junior season and 6-4 his sophomore season … Earned second team all-district recognition as a junior and senior … Had 28 receptions for 483 yards as a senior and 12 catches for 106 yards as a junior … Best game was five catches for 84 yards and two touchdowns vs. Bellaire HS his senior season … Also three-year letterman for Marlins’ track team … Won district championship in 300-meter hurdles as senior … Graduated in top 10 percent of his senior class. Personal: Jordan Kristofer Eugene Edwards was born on Nov. 3, 1990 … Son of Clyde and Sheila Edwards … Has two older brothers, Tony Edwards and Clyde Edwards II, who played football at Grambling State University … Majoring in hotel management. Yr. 2011 2012 Total
GP Rcpts. Yds 10 2 26 12 23 349 22 25 375
Avg 13.0 15.2 15.0
TD 0 4 4
Lg 21 60 60
Avg/G 2.6 29.1 17.0
Marshall Fairchild OL l 6-4, 290 l Jr.-3L Gonzales, Texas Gonzales HS
#66
2012: Played in a pair of games as a backup offensive lineman … First action of the year came at Northwestern State (10/6) … Also saw time in 52-21 victory over McMurry (10/13).
2011: Backup offensive lineman appeared in the season opener, a 58-0 win over Texas College (9/3). 2010: Walk-on who played in the season finale against Oklahoma Panhandle State (11/20) ...Opened the season on the scout team, but worked his way onto the travel squad. High School: Four-year letterman for coaches Kris Micheaux, Ricky Lock and Bruce Salmon at Gonzales HS … Starred on the offensive line and also played at end and tackle on defense and served as the Apaches’ deep snapper … Helped lead the team to a 10-3 record and the Class 3A state quarterfinals as a junior in 2007 … Earned honorable mention all-state and Academic All-State recognition … Also three-year letterman in baseball. Personal: Marshall Fairchild was born on Feb. 5, 1991 … Son of Ace and Renee Fairchild … Has two older brothers, Randy and Ryan, who played football at Texas A&M ... Majoring in civil engineering.
Barry Ford WR l 6-0, 175 l Sr.-3L Houston, Texas Westfield HS
#3
Named
49
La mar Foo tba l l . Yr. 2010 2011 2012 Total
50
GP Rcpts. Yds Avg 11 14 148 10.6 9 10 77 7.7 12 49 470 9.6 32 73 695 9.5
TD 1 0 1 2
Lg 33 12 25 33
Avg/G 13.5 8.6 39.2 21.7
Kyle Gillam OL l 6-1, 270 l Sr.-3L Lumberton, Texas Lumberton HS
#64
2012: Continued to be the anchor and leader of the offensive line … Played and started in all 12 games … Started at left guard in the season opener at LouisianaLafayette (9/1) before returning to center for the remainder of the season … Graded out at over 90 percent for the second straight season … Helped the Cardinals rank in the top half of the Southland Conference in rushing offense. 2011: Started all 11 games for the second consecutive season … Graded out at over 90 percent on the year … Blocked for a Lamar offense that ranked among the top half of the Southland Conference in passing. 2010: Mainstay of the offensive line as a redshirt freshman ... Started all 11 games and played all but three plays for the Cardinals ... Graded out at 85 percent or better for the season ... Played primarily at center. High School: Was a Class 4A honorable mention allstate selection as a senior in 2008 ...Was a three-year starter for coach Alvin Credeur, helping the Raiders go a combined 19-4 and win a pair of District 20-4A co-championships ... Earned first-team all-district and all-Southeast Texas honors at center as a junior and senior ... As a junior, was the lead blocker for first-team all-state tailback Cody Hussey ... Two-year regional qualifier in power lifting. Personal: Kyle Gillam was born on Sept. 30, 1990, in Lumberton, Texas ... Son of Kevin Gillam and Nancy Borne ... Majoring in human resources management.
L a m a r Fo otbal l Gratian Gladney WR l 5-9, 165 l So.-1L Houston, Texas Cypress Falls HS
#6
2012: Appeared in eight games as a true freshman, finishing the year with three catches for 37 yards … First career catch was a 6-yard grab in 31-0 win over Prairie View A&M (9/8) … Added a one yard run against the Panthers for his lone carry of the season … Longest reception of the year was a 17-yarder against Sam Houston State (10/27) and also had a 14-yard catch at Central Arkansas (10/20). High School: Helped Cy-Falls to a 10-2 record as a senior, including an 8-1 District 17-5A record and a runner-up finish ... Named First-Team AllDistrict 17-5A as a junior and senior ... Posted 30 catches for 438 yards and eight touchdowns as a senior and 48 catches and 442 yards as a junior. Personal: Gratian Gladney was born on Oct. 21, 1992 … Son of Aretha Gladney … General studies major. Yr. 2012
GP Rcpts. Yds Avg 8 3 37 12.3
TD 0
Lg 17
Avg/G 4.6
Michael Handy WR l 5-11, 185 l Fr.-RS Conroe, Texas Oak Ridge HS
#20 310.
Mike Hargis LB l 6-3, 225 l So.-1L Austin, Texas Manor HS
#2
2012: Appeared in nine games as a true freshman and earned a start against Southeastern Louisiana (9/29) … Registered five tackles on the year, including one for a 4-yard loss … Finished with two tackles against the Lions and matched that total in the final game of the year at McNeese State (11/17) … Added a stop in 31-0 win over Prairie View A&M (9/8). High School: Three year varsity starter at Manor High School ... Named All-District 16-4A as a senior at defensive end ... Finished senior season with 97 tackles ... Earned second-team all-district honors as a junior after registering 132 tackles and two interceptions at safety ... Helped Mustangs to a 4-2 district mark as a senior and a spot in the playoffs ... Ranked among the top 20 linebackers in the state by Dave Campbell’s Texas Football ... Also earned four letters in basketball ... Ranked in the top 10 percent of his class academically. Personal: Mike Hargis was born on Nov. 30, 1993 … Son of Michael and Rosalind Hargis … Kinesiology major. Yr. 2012
Tackles Sacks Pass Def. Fumb. Blkd GP UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH Rcv FF Kick 9 1 4 5 1.0-2 0-0 0-0 0 0 0 0 0
51
La mar Foo tba l l Caleb Harmon RB l 5-9, 195 l Sr.-3L Port Neches, Texas Port Neches-Groves HS
#27
2012: Missed most of season with injury. 2011: Appeared in nine games with starts against Central Arkansas (10/22) and Stephen F. Austin (11/5) ... Finished the year with 48 carries for 169 rushing yards ... Best performance was a 15-carry, 78-yard day in Lamar’s 34-26 conference win at Nicholls (11/12) ... Added a personal best 35-yard run against the Colonels ... Scored one touchdown on the year, powering over from three yards out at Texas State (10/15) ... Added a 12-yard run against the Bobcats ... Finished with nine catches for 36 yards on the year, including four for 28 yards against UCA. 2010: Played in five games as a true freshman without recording a statistic. High School: Named third-team Class 4A All-State after stellar senior season at Port Neches-Groves HS ... Named Offensive Player of the Year on the 38th Annual Port Arthur News Super Team ... Led Indians to a perfect 11-0 regular season and the District 20-4A title ... Logged 298 carries for 1,832 yards, the second-best single season total in PN-G history ... Averaged 6.1 yards per carry and rushed for 20 touchdowns ... Rushed for personalbest 307 yards against Little Cypress-Mauriceville ... Was a firstteam selection on the Beaumont Enterprise Super Gold Team ... Also academic all-state and all-district. Personal: Caleb Dale Harmon was born on Dec. 9, 1991, in Port Neches, Texas ... Son of Dale and Susie Harmon ... Has an older brother Corey ... Majoring in business finance.
52
Yr. 2011 Yr. 2011
GP Att. Gain Loss Net Avg TD Lg 9 48 178 9 169 3.5 1 35 GP Rcpts. Yds Avg TD Lg Avg/G 9 9 36 4.0 0 13 4.0
Avg/G 18.8
Lawson Hartwick DS l 5-11, 240 l RS Jr.-2L Forney, Texas Forney HS
#48
2012:.
P.J. Henderson TE l 6-3, 220 l Sr.-2L Austin, Texas Anderson HS Jackson State
#47
2012: Played in five games, finishing with one catch for five yards at Stephen F. Austin (11/3) … Also saw playing time against Langston, Southeastern Louisiana, McMurry and Sam Houston State. 2011: Played in a pair of games after transferring from Jackson State, appearing against Texas College (9/3) and at Sam Houston State (10/29) ... Did not record a statistic on the year. At Jackson State: Redshirted in 2010 High School: Three-year football letterman for coach Mark Reiland at Anderson High School ... Named first-
L a m a r Fo otbal l team All-District 25-5A as a senior after rushing for 1,124 Kevin Johnson yards and 10 touchdowns on 160 carries ... Added 13 WR l 6-0, 210 l RS Jr.-1L catches for 160 yards and three touchdowns ... Was a reHouston, Texas gional finalist in the triple jump, and a four-year letterwinCypress Ridge HS #11 Oklahoma State ner in track and field ... Lettered twice in basketball, leading team in scoring and rebounding as a senior. Personal: Philbert J. Henderson was born on Sept. 30, Named to the 2013 The Sports 1990, in Dallas ... Son of Phil and Jill Henderson ... Older Network FCS Preseason Allbrother Darrion Branch played football at Iowa State, and America Third-Team at kick refather played basketball at Jackson State ... Majoring in turner psychology. Named to the 2013 CFPA Preseason Watch List 2012: Named the 2012 Southland Conference Newcomer David Hollyfield of the Year DL l 6-3, 225 l So.-1L and was an honorable mention all-conference selection at Silsbee, Texas both wide receiver and kick returner … Tied the school Silsbee HS #53 single-season touchdown record with 13 scores … Caught 10 touchdowns for the second most in Lamar history and tied for the most in the Southland Conference on the year 2012: Played in all 12 games as a true … Returned a pair of kickoffs for touchdowns and also freshman and finished the year with had a rushing score … Tied Lamar’s single-game record eight total tackles … Recorded a sea- with four touchdowns and 24 points in 52-21 victory over son-high three tackles in 52-21 victory over McMurry McMurry (10/13) … Caught season-high five passes for (10/13) … Finished with one tackle in first college game 77 yards and three touchdowns and added an 88-yard kickwhich accounted for a 4-yard loss at Louisiana-Lafayette off return for a score against the War Hawks … Finished (9/1) … Registered his lone sack of the year in 31-0 win the season with 19 catches for 309 yards and a team-best over Prairie View A&M (9/8), and also blocked a punt 16.3 yards per against the Panthers. catch … Finished High School: Helped Silsbee High School to an 8-3 with four catches record as a senior, earning District 21-3A first-team hon- for 84 yards and ors ... Also named to the Beaumont Enterprise Super three touchdowns Gold second team ... Finished year with 70 tackles, two in 31-0 win over sacks and an interception ... Advanced to regionals in Langston (9/22) … power lifting as a junior and senior. Became the fifth Personal: David Hollyfield was born on July 27, 1994 … player in school Son of Benny and Mary Hollyfield … Majoring in con- history to catch struction management. three touchdowns in a game and the Tackles Sacks Pass Def. Fumb. Blkd first to do so twice Yr. GP UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH Rcv FF Kick 2012 12 6 2 8 2.5-6 1.0-2 0-0 0 0 0 0 1 … Had a seasonlong 34-yard catch against Langston and added a 72yard
53
La mar Foo tba l l. Yr. 2012 Yr.
GP Rcpts. Yds Avg 11 19 309 16.3 GP K-Rets. Yds Avg 201211
TD 10 TD 22
Lg 34 Lg 623
Zach Johnson DB l 5-11, 180 l Fr.-RS Littlefield, Texas Littlefield HS on Nov. 3, 1993 ... Son of Justin and Michelle Johnson ... Majoring in kinesiology..
Ronnie Jones Jr.
Avg/G 28.1 28.3
#28
2
LB l 5-10, 240 l So.-1L Hempstead, Texas Hempstead HS
89
#44
Matt Johnson LB l 5-11, 180 l So.-1L Littlefield, Texas Littlefield HS
#55
2012: Played in a pair of games as a reserve running back ... Made collegiate debut at Northwestern State (10/6) ... Recorded a tackle in 52-21 win over McMurry (10/13). High School: Three-year starter for Coach Bryan Huseman at Littlefield High School ... Named First-Team AllDistrict. … Is a mechanical engineering major. Yr. 2012
54
Tackles Sacks Pass Def. Fumb. Blkd GP UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH Rcv FF Kick 12 14 9 23 3.0-15 1.0-12 0-0 0 0 0 0 0
L a m a r Fo otbal l William Jones LB l 5-10, 225 l Sr.-3L Beaumont, Texas Central HS
#49
2012: Saw playing time in six games and finished season with seven solo tackles … Matched a personal best with three tackles at Hawai`i (9/15) and equaled that total in 52-21 victory over McMurry (10/13) … Also registered first career sack against McMurry for a 2-yard loss … Other tackle came in 34-24 Southland Conference win over Nicholls (11/10). 2011: Played in eight games with a start at Nicholls (11/12) ... Finished the year with five tackles as a reserve linebacker ... Registered single tackle performances against Texas College (9/3), Incarnate Word (9/17), Southeastern Louisiana (10/1), Texas State (10/15) and Nicholls. 2010: Appeared in eight games as a freshman, finishing with eight total tackles ... Recorded a season-high three tackles at Stephen F. Austin (9/25) ... Had two tackles, including a sack that produced an 11-yard loss, in Lamar’s season-ending 44-6 win over Oklahoma Panhandle State (11/20). High School: Selected to first-team berth on The Port Arthur News’ 38th Annual Super Team after helping Central post a 9-4 record and second-place finish in District 20-4A … Was twice named first-team All-District 20-4A … Twice earned a second-team berth on the Beaumont Enterprise Super Gold Team ... Willie Ray Smith Award finalist after the 2009 season. Personal: William Jones was born on Sept. 18, 1991, in Port Arthur, Texas ... Son of Wilbert Jones and Patricia A. Williams ... Majoring in mathematics. Yr. 2010 2011 2012 Total
GP 8 8 6 22
Tackles Sacks Pass Def. UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH 7 1 8 1.0-11 1.0-11 0-0 1 0 3 2 5 0.0-0 0.0-0 0-0 0 0 7 0 7 1.0-2 1.0-2 0-0 0 0 17 3 20 2.0-13 2.0-13 0-0 1 0
Fumb. Blkd Rcv FF Kick 0 0 0 0 0 0 0 0 0 0 0 0
Kollin Kahler P/K l 6-2, 200 l Sr.-3L Waco, Texas Waco HS
#25
Named Preseason First-Team All Southland Conference Named to the 2013 CFPA Preseason Watch List 2012: Named to the CoSIDA Academic All-District 7 First-Team … Also named Academic All-Southland Conference and to the Football Championship Subdivision Athletics Directors Association Academic All-Star Team … Posted a 41.5 yards per punt average on 67 punts for the fifth best single-season average in school history … Average ranked fourth in the Southland Conference … Had a season-long punt of 63 yards against Sam Houston State (10/27) … Punted six times against Southeastern Louisiana (9/29) for an average of 47.2 yards per punt … Finished the season with 10 punts of 50 yards or longer and had 18 downed inside the 20 … Punted nine times for 373 yards at Hawai`i (9/15) for the fourth most single game punt yards in school history … Handled 11 kickoffs on the year with three going for touchbacks … Ran three times for 53 yards on the season with a long of 23 yards at Central Arkansas (10/20). 2011: Named honorable mention All-Southland Conference after finishing second in the league in average yards per punt at 42.3 ... Is the third best single-season punt average in Lamar history ... Boomed a 72-yard punt at Southeastern Louisiana (10/1) to tie for the third longest punt by a Lamar player ... Best day by average came against Northwestern State with four punts for 193 yards and a 48.2 per kick average ... Punted nine times for 397 yards (44.1 per punt) against Sam Houston State (10/29) for the third most single game punt yards in LU history ... Finished with 13 punts of 50 yards or longer and put 12 down in-
55
La mar Foo tba l l side the 20-yard line ... Had only one game where he averaged less than 39 yards per punt. 2010: Played in all 11 games as the Cards’ primary punter ... Finished the season with 55 punts for 2,089 yards and a 38.0 yards per punt average ... Had a season-long punt of 57 yards at Stephen F. Austin (9/25) ... Also had season-highs of 11 punts and 419 yards at SFA ... Both totals are single game records at Lamar ... Had six punts for 252 yards and an average of 42.0 per punt in college debut at McNeese State (9/4) ... Put 13 punts inside the 20 yard line ... Best game by average was 14-0 homecoming win over Langston (10/9) when he punted three times for a 42.7 yard average. High School: Was first-team academic all-state selection in 2009 and earned Academic all-district honors all four years at Waco High School … Was first-team punter on 2009 Waco Tribune Super Cen Tex Team and earned second-team laurels as a junior … Also started at quarterback and played some at wide receiver and running back … Was two-year all-district punter … Also starred in soccer, baseball and track. Personal: Kollin Kahler was born on Nov. 15, 1991 ... Son of Kent and Chrissane Kahler ... Majoring in exercise science. Yr. 2010 2011 2012 Total
GP Punts Yds Avg Lg TB 11 55 2089 38.0 57 4 11 64 2710 42.3 72 7 12 67 2782 41.5 63 3 34 186 7581 40.8 72 14
FC 13 2 8 23
I20 13 12 18 43
50+ Blk 7 1 13 1 10 1 30 3
Ian Kelso DL l 6-0, 280 l RS Jr.-2L Austin, Texas Lake Travis HS
#62
2012: Played in 10 games with five starts after moving from defensive line to offensive line … Played center in the season opener at Louisiana-Lafayette (9/1) before moving to right guard … Graded at nearly 85 percent for the season. 2011: Redshirted 2010: Played the last five games of the season, finishing with 16 total tackles ... Had six tackles in season debut against South Alabama (10/16) ... Matched that total with six tackles, including one for loss, at North Dakota (10/30) ... Had a pair of tackles, including a sack, in LU’s 44-6 sea-
56
son-ending win over Oklahoma Panhandle State ... Finished the year with 2.5 tackles for loss and one forced fumble. High School: Played sophomore season for coach Jeff Dicus and junior and senior seasons for coach Chad Morris at Lake Travis High School ... Helped the Cavaliers amass an incredible 47-1 record and three straight Class 4A state titles during his playing career ... Was named second-team all-state as a senior, as well as First-Team AllDistrict 27-4A honors ... Was also first-team all-area and all-region as a senior. Personal: Ian Joseph Kelso was born on June 21, 1991, in College Station, Texas ... Son of Kalin and Karen Kelso ... Has two brothers, Ovay and Romey ... Major is business. Yr. 2011
Tackles Sacks Pass Def. Fumb. Blkd GP UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH Rcv FF Kick 5 11 5 16 2.5-12 1.0-7 0-0 0 1 0 1 0
Jermaine Longino LB l 5-10, 220 l Sr.-1L Houston, Texas Hightower HS Trinity Valley CC
#10
Named Preseason Second-Team All Southland Conference 2012: Started all 12 games as a junior transfer and earned honorable mention All-Southland Conference honors … Tied for the conference lead with 107 total tackles and his 8.9 tackles per game ranked second among all conference defensive players … Forced three fumbles on the year which tied for second most in the Southland and also tied for second in the league with 63 solo tackles … Finished fourth on the team with 6.5 tackles for loss … Posted at least 10 tackles in five games with a season-high 16 stops at Stephen F. Austin (11/3) … Had 13 tackles, including a season-high 10 solos, against Southeastern Louisiana (9/29) and added 13 tackles and a forced fumble the following week at Northwestern State (10/6) … Finished with 11 tackles and a pair of pass breakups at Central Arkansas (10/20) … Finished with 10 tackles at Hawai`i (9/15) … Had two of his five quarterback hurries in 52-21 win over McMurry (10/13) … Leading tackler six times. Junior College: Was a first-team pick on the 2011 NJCAA All-America Team and was named the Southwest Junior College Football Conference Defensive Player of
L a m a r Fo otbal l the Year ... Helped Trinity Valley CC to an 8-3 record as a sophomore ... Played in 10 games as a sophomore and led Cardinals with 82 total tackles ... Registered 56 solo tackles, two sacks and two forced fumbles for a defense that allowed less than 300 total yards per game ... Had a season-high 12 solo tackles in a 38-20 win over Kilgore College ... Played in 10 games as a freshman, finishing with 47 tackles and a sack ... Had six total tackles in his first game at TVCC, a 63-0 win over Independence CC. High School: Named First-Team All-District 23-5A as a senior linebacker at Hightower ... Also earned first-team all-district honors as a junior at fullback as Hightower finished as the Texas Class 5A state runner-up. Personal: Jermaine Longino was born on Sept. 13, 1991 … Son of Philip Longino and Welthey Twitty … General studies major.
formation. High School: Was an offensive line starter and the deep snapper for Lamar Consolidated High School in 2009 … Also handled deep snapping chores as a junior in 2008 and was a late-season call-up to the varsity in 2007 when the Mustangs won the Class 4A Division II state championship … Ranked No. 9 in the nation as a deep snapper by Scout.com and No. 15 in the nation by Chris Sailer Kicking. Personal: Chris Maikranz was born on Sept. 27, 1991 ... Son of Glen Maikranz and Kandice Poorman ... Criminal justice major.
Tyrus McGlothen DB l 5-8, 175 l Sr.-1L Grand Prairie, Texas South Grand Prairie HS Cisco CC
#4
2012: Played in 11 games with seven starts, tying for fifth on the team with 43 tackles … Tied for second on the team with two interceptions and six pass breakups … Set a school record for longest interception return with a 96-yard return for a touchdown against Southeastern Louisiana (9/29) … Registered a season-high seven tackles against the Lions and added a tackle for loss and a forced fumble … Finished with five tackles and forced a fumble Tackles Sacks Pass Def. Fumb. Blkd that was scooped up and returned 62 yards for a score by Yr. GP UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH Rcv FF Kick James Washington at 2012 12 63 44 107 6.5-17 2.0-11 0-0 2 5 0 3 0 Northwestern State Chris Maikranz (10/6) … Had six DS l 6-6, 255 l Jr.-2L tackles and a pair of Sugar Land, Texas pass breakups in 31-0 Lamar Consolodated HS #43 victory over Langston (9/22) … Posted five tackles, an 2012: Played in 12 games … Had interception and a two tackles on the year, one at pass breakup at Hawai`i (9/15) and one at Central Stephen F. Austin Arkansas (10/20) … Did not commit a miscue as deep (11/3). snapper. Junior College: 2011: Appeared in 10 games at deep snapper ... Posted his Named First-Team second straight season without a miscue in the punting All-Southwest Junior game ... Registered a tackle at Texas State (10/15) for his College Football Conference as a first career statistic. 2010: Played in all 11 games for the Cardinals at deep freshman and sophomore ... Finished his sophomore seasnapper ... Finished the season without a miscue in punt son at Cisco CC with 53 tackles and a forced fumble in
57
La mar Foo tba l l eight games played ... Added two tackles for loss and a forced fumble ... Had a season-high 11 tackles in a tough 39-37 loss to Blinn College ... Played in eight games as a freshman, registering 32 tackles ... Recorded a sack, a forced fumble and an interception as a freshman ... Also had 10 pass breakups as a freshman. High School: Named First-Team All-District 7-5A at running back as a junior and was a second-team selection as a defensive back as a senior at South Grand Prairie High School. Personal: Tyrus McGlothen was born on Feb. 13, 1992 … Son of Angela Brooks … General studies major. Yr. 2012
Tackles Sacks Pass Def. Fumb. Blkd GP UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH Rcv FF Kick 11 31 12 43 3.0-6 0.0-0 2-118 6 2 0 2 0
Patrick McGriff TE l 6-1, 230 l RS Fr.-1L Crosby, Texas Crosby HS
#87
2012: Appeared in five games as a backup linebacker, mostly on special teams ... Made his collegiate debut in 52-21 victory over McMurry (10/13) ... Registered a solo tackle against the War Hawks for his lone statistic of the season. High School: Helped Crosby High School to a district title as a senior with an 8-3 record ... Named First-Team All-District 21-4A at offensive tackle as a senior and was a second-team selection as a junior. Personal: Patrick McGriff was born on Aug. 2, 1990 ... Son of Richard and Tina McGriff ... Majoring in exercise science.
Payden McVey TE l 6-1, 225 l Jr.-2L Deer Park, Texas Deer Park HS
#88
2012: Played in nine games with three starts … Recorded 10 catches for 60 yards on the season … Scored a pair of receiving touchdowns to rank third on the team … Finished with two catches for 18 yards against Southeastern Louisiana (9/29) with both receptions going for
58district mechanical engineering. Yr. 2011 2012 Total
GP Rcpts. Yds Avg 10 17 150 8.8 9 10 60 6.0 19 27 210 7.8
TD 2 2 4
Lg 23 13 23
Avg/G 15.8 6.7 11.1
L a m a r Fo otbal l Johnny Morris LB l 6-0, 185 l So.-RS Humble, Texas Atascocita HS
#59
Ryan Mossakowski QB l 6-4, 215 l RS Sr.-1L Frisco, Texas Centennial HS Northwest Mississippi CC
#18
2012: Redshirted 2012: Started the first five games of High School: Played for Coach Dean the year and finished the season with Colbert at Atascocita High School. eight appearances and six starts … Personal: Johnny Morris was born on June 17, 1993 ... Was 113-of-183 on the year for 1,194 yards and 13 touchSon of Betty Morris ... Majoring in mechanical engineering. downs … Completed 58.5 percent of his passes to establish the school’s single-season record for completion Logan Moss percentage … Was fourth in the Southland Conference LB l 6-2, 200 l RS So.-1L with a pass efficiency rating of 124.45 … Finished 22-ofOrange, Texas 36 for a season-high 239 yards and three touchdowns in Orangefield HS #91 31-0 victory over Langston (9/22) … Came off the bench to complete 11 passes for 231 yards and three touchdowns in the second half 2012: Named Academic All-South- at Stephen F. land Conference … Appeared in all Austin (11/3) … 12 games as a redshirt freshman and Hit Jordan Edrecorded 13 tackles on the season … Registered three wards for all three tackles in his first collegiate game at Louisiana-Lafayette scores at SFA, in(9/1), including his only tackle for loss on the season … cluding a 60-yard Also had a three-tackle game against Southeastern strike for longest Louisiana (9/29) with all three coming unassisted … Had completion of the a pair of solo tackles in 34-24 win over Nicholls (11/10) season … Fin… Finished with a tackle and a quarterback hurry in 31-0 ished 21-of-30 for 224 yards and a victory over Langston (9/22). pair of scores in 2011: Redshirted High School: Named first-team all-district as a tight end 31-0 win over following junior and senior seasons ... Also earned first- Prairie View A&M team district accolades at defensive line as a senior ... (9/8) and was 15Recorded 44 tackles as Orangefield finished with a 7-3 of-24 for 168 record during senior campaign ... Selected to the Southeast yards and three TDs in 34-24 victory over Nicholls (11/10) … Threw for Texas All-Star Classic. Personal: Logan Moss was born on Dec. 6, 1992, in a pair of touchdowns against Southeastern Louisiana Beaumont ... Son of Randall and Sheryl Moss ... Majoring (9/29) and ran for a season-high 24 yards against the Lions, including a 21-yard scamper … Finished the year in biology. with eight interceptions. Tackles Sacks Pass Def. Fumb. Blkd Junior College: Named Second-Team All-MACJC as a Yr. GP UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH Rcv FF Kick sophomore at Northwest Mississippi CC after helping 2012 12 9 4 13 1.0-1 0.0-0 0-0 0 1 0 0 0.
59
La mar Foo tba l lAmerica Junior Combine ... Led Centennial to the state playoffs for the first time in school history ... Starting punter for three seasons ... Also a two-time all-district baseball player. Personal: Ryan Mossakowski was born on Aug. 28, 1990 … Son of Dan and Sally Mossakowski … Majoring in educational technology. Yr. GP 2012 8
Comp-Att-Int Pct. Yds TD Lg 113-193-8 58.5 1194 13 60
Avg/G Effic 149.2 124.5
Mark Murrill DL l 6-2, 255 l Sr.-3L Lumberton, Texas Lumberton HS
#90
2012: Started all 12 games during junior campaign and finished eighth on the team with 37 total tackles … Was second among all Lamar defensive players with 8.5 tackles for loss accounting for 21 yards … Also tied for second on the team with five quarterback hurries … Posted two sacks on the year with one coming against Prairie View A&M (9/8) and one against Langston (9/22), both 31-0 Lamar victories … Recorded a personal-best seven tackles, including one for loss, at Northwestern State (10/6) … Finished with four tackles, a pass breakup and his first career interception at Stephen F. Austin (11/3) … Three of his six tackles against Langston were behind the line of scrimmage. 2011: Appeared in nine games with one start ... Posted nine tackles and two sacks ... Best game came at South Alabama (9/10) when he finished with four tackles, including two for loss, and a sack ... Had a sack and forced a fumble that directly led to a touchdown in Lamar’s 58-0 win over Texas College (9/3) ... Finished with three tackles in LU’s
60
48-38 win at Southeaste r n Louisiana (10/1). 2010: Played in all 11 games as a redshirt freshman ... Finished the season with 20 total tackles, including three for loss ... Recovered a fumble with 50 seconds to play to preserve Lamar’s 29-28 win at Southeastern Louisiana (9/18) ... Added two tackles, including one for loss, against the Lions ... Had a season-high five tackles in LU’s home opener against Webber International, including his only sack of the season ... Twice had four tackles in a game, LU’s 14-0 win over Langston (10/9) and in a 44-6 win over Oklahoma Panhandle State (11/20). High School: Three-year varsity starter for coach Alvin Credeur at Lumberton High School … Was first-team AllDistrict 20-4A as a senior and was an honorable mention selection on the 2008 Class 4A All-State team … Helped Raiders win their first-ever playoff appearance in 2008 when they posted a school-best 11-2 record … Logged 50 tackles, including three sacks and 13 others for losses as a senior in 2009 … Also forced four fumbles and recovered one … Had 41 tackles, including three sacks and three others for losses as a junior … Had 36 tackles, including two sacks and seven others for losses as a sophomore in 2006 … Also made second team all-district in soccer and was a two-year member of the National Honor Society. Personal: Mark Murrill was born on Oct. 19, 1990 … Son of Mark and Mary Murrill ... Has one sister, Kathleen ... Majoring in engineering. Yr. 2010 2011 2012 Total
GP 11 9 12 32
Tackles Sacks Pass Def. UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH 20 0 20 3.0-10 1.0-4 0-0 0 1 5 4 9 3.0-10 2.0-5 0-0 0 0 21 16 37 8.5-21 2.0-6 1-0 1 5 46 20 66 14.5-21 5.0-15 1-0 1 6
Fumb. Blkd Rcv FF Kick 1 0 0 0 1 0 0 0 0 1 1 0
L a m a r Fo otbal l Jayce Nelson WR l 6-2, 170 l So.-1L Port Neches, Texas Port Neches-Groves HS
#84
2012: Played in six games on the year without recording a statistic … First collegiate appearance came in 310.
Joe Okafor DL l 6-6, 295 l RS Jr.-1L Bellaire, Texas Bellaire HS Oklahoma State
#35
the state by Texas Football ... Named second-team AllDistrict 20-5A as a senior ... Played three years of varsity basketball. Personal: Joe Okafor was born on June 5, 1991 … Son of Priscilla Okafor … Majoring in general studies. Yr. 2012
Tackles Sacks Pass Def. Fumb. Blkd GP UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH Rcv FF Kick 11 12 6 18 4.5-11 1.0-5 0-0 1 2 0 0 1
George Orebe DB l 5-9, 165 l Jr.-1L Houston, Texas Westside HS
#30
2012:.
Keinon Peterson 2012: Played in 11 games with two starts after transferring from Oklahoma State … Finished the year with 18 tackles, including 4.5 for loss … Posted three tackles, including two for loss and his lone sack of the year at Northwestern State (10/6) … Added one of his two quarterback hurries on the season against the Demons … Finished with three tackles, a quarterback hurry and a pass breakup in 52-21 win over McMurry (10/13) … Recorded a season-high four tackles at Hawai`i (9/15) … Put up two tackles, including one for loss, and blocked a 36-yard field goal attempt in 31-0 shutout win over Langston (9/22). At Oklahoma State: Appeared in two games as a redshirt freshman at Oklahoma State in 2011, recording a tackle against Louisiana-Lafayette. High School: Prepped at Bellaire High School where he was ranked the No. 57 defensive end in the nation by Rivals ... Tabbed as one of the top 25 defensive linemen in
DB l 5-8, 190 l Sr.-3L Dickinson, Texas Dickinson HS
#19
2012: Played in nine games with a start in 31-0 win over Prairie View A&M (9/8) … Did not record a statistic on the year. 2011: Played in each of Lamar’s 11 games, with seven starts ... Finished the season with 23 total tackles ... Had season-high five tackles in LU’s 34-26 win at Nicholls (11/12), adding his first career interception against the Colonels ... Registered four solo tackles, a pass breakup and blocked an extra point attempt in LU’s 45-35 win over Incarnate Word (9/17) ... Also had four-tackle performances at Southeastern Louisiana (10/1) and against Northwestern State (10/8).
61
La mar Foo tba l l 2010: Played in all 11 games ... Finished with season-high three tackles at Stephen F. Austin (9/25) ... Matched that total in Lamar’s 14-0 win over Langston University (10/9) ... Had a pair of pass breakups in LU’s 24-20 victory over South Dakota. High School: Three-year varsity letterman for coach Warren Trahan at Dickinson High School … First-team all-district and All-Galveston County as a junior and senior … Gators went 9-3 during his senior season of 2008 and advanced to the regional round of the Class 5A Division II state playoffs … Served as a Junior Rotarian and volunteered with a monthly food drive benefitting the Veterans of Foreign Wars and senior citizens. Personal: Keinon Asrel Enrique Peterson was born on Sept. 5, 1990 … Son of Loretta Peterson ... Major is general studies. Yr. 2010 2011 2012 Total
GP 11 11 9 22
Tackles Sacks Pass Def. UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH 5 1 6 0.0-0 0.0-0 0-0 2 0 19 4 23 0.0-0 0.0-0 1-0 2 0 No Statistics 24 5 29 0.0-0 0.0-0 1-0 4 0
Fumb. Blkd Rcv FF Kick 0 0 0 0 0 1 0
0
1
Payton Ploch WR l 6-2, 215 l Sr.-3L Dayton, Texas Dayton HS
#23
2012: Played in all 12 games after moving from linebacker to H Back … Recorded 14 tackles on the year in special teams play … Finished with three solo stops in 310 win over Langston (9/22) … Put up a pair of tackles in 31-0 win over Prairie View A&M (9/8) and in loss to Southeastern Louisiana (9/29). 2011: Played in 10 games and got his first career start against Central Arkansas (10/22) as a backup linebacker... Compiled 22 total tackles on the year, including 21 solos ... Blocked a punt that was returned for a touchdown by
62
teammate Adrian Guillory in Lamar’s 34-26 win at Nicholls (11/12) ... Registered a season-high six tackles at Texas State (10/15), including one of his two tackles for loss on the season ... Had three tackles and a quarterback hurry in LU’s 48-38 win at Southeastern Louisiana (10/1) ... Also had three-tackle contests against Texas College, UCA and Nicholls. 2010: Played in all 11 games as a reserve linebacker ... Finished the season with 20 tackles, including three for loss and one sack ... Forced a fumble and returned it 29 yards for a touchdown, and returned a Branden Thomas blocked punt 15 yards for another touchdown, in Lamar’s season-ending 44-6 win over Oklahoma Panhandle State ... Had a season-high four tackles, including his sack, vs. OPSU as well ... Opened the season with a pair of tackles at McNeese State (9/4) in his college debut. High School: Played for coach Jerry Stewart at Dayton High School ... Moved to quarterback for senior season after earning All-District 19-4A laurels as a wide receiver during junior season … Completed 46 of 93 passes for 774 yards and 12 touchdowns … Carried the ball 180 times for 1,258 yards and 21 TDs … Added 452 receiving yards on 31 catches and scored four receiving TDs … Voted Most Valuable Player in District 19-4A and was the Texas Prepxtra Class 4A Offensive MVP for the Greater Houston/Southeast Texas area after helping to lead Broncos to an 11-3 record … Had 40 catches for 550 yards and 10 TDs as a junior. Personal: Payton Ploch was born on March 31, 1992, in Baytown, Texas ... Son of Jodi Ploch ... Major is general studies. Yr. 2010 2011 2012 Total
GP 11 10 12 33
Tackles Sacks Pass Def. UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH 17 3 20 3.0-9 1.0-7 0-0 1 0 21 1 22 2.0-6 0.0-0 0-0 0 1 12 2 14 0.0-0 0.0-0 0-0 0 0 50 6 56 5.0-15 1.0-7 0-0 1 1
Fumb. Blkd Rcv FF Kick 1 1 0 0 0 1 0 0 0 1 1 1
L a m a r Fo otbal l Desmond Richards RB l 5-9, 170 l So.-1L Montgomery, Texas Magnolia West HS
#15long.
2012: Yr. GP Rcpts. Yds Avg TD Lg Avg/G a senior after leading Magnolia West High School to a 9- 2011 8 7 89 12.7 1 17 11.1 No Catches 3 record ... Carried 256 times as a senior for 2,437 yards 2012 (9.5 per carry) and 31 touchdowns ... Also earned firstJustin Stout team all-district and All-Montgomery County honors and K l 6-1, 170 l Sr.-3L was a second-team Class 4A all-state selection ... Ran for Mesquite, Texas 1,878 yards and 25 touchdowns as a junior, earning honWest Mesquite HS #39 orable mention all-state honors ... Named First-Team AllDistrict 17-4A and All-Montgomery Country ... Finished high school career with 4,316 rushing yards and 57 touch2012: Played in all 12 games and findowns ... Earned all-district honors in baseball as a junior. ished 29-of-32 on extra point atPersonal: Desmond Richards was born on Sept. 29, 1993 tempts and was 6-of-10 on field goal … Son of Johnny Richards … Majoring in industrial techattempts … Scored 47 points on the year to finish second nology. on the team and is now fifth at Lamar in career points with Yr. GP Att. Gain Loss Net Avg TD Lg Avg/G 144 … Hit a season-long 41 yard field goal in 52-21 win 2012 8 32 140 10 130 4.1 0 20 16.2 over McMurry (10/13) and was 7-of-7 on PAT’s in the game … Made a pair of field goals at Stephen F. Austin Jesse Sparks (11/3), twice converting from 34 yards out … Hit a 37WR l 5-10, 170 l Jr.-2L yard field goal against Langston (9/22) and was 4-of-4 in Lumberton, Texas Lumberton HS #81 PAT’s in the 31-0 victory … Kicked off 37 times on the year with eight going for touchbacks. 2011: Appeared in 10 games for the Cardinals ... Set a school record by connecting on 35 (out of 37) extra-point 2012: Played in nine games mostly on attempts, breaking the previous mark of 32 set by two special teams … Recorded one players ... Tied the school record with eight makes against tackle on the year with it coming in Texas College in a 58-0 victory (9/3) ... Led the Cardinals 34-24 Southland Conference victory over Nicholls with 50 points on the year ... Was 5-of-8 on field-goal at(11/10). tempts with a long of 31 yards ... Was 6-for-6 on PATs 2011: Appeared in eight games for the Cardinals on special against Incarnate Word (9/17) ... Also had 21 kickoffs on teams and as a backup receiver ... Finished the year with the year.
63
La mar Foo tba l l 2010: Played in all 11 games as a true freshman, serving as Lamar’s kicker ... Made 20-of-22 extra-point attempts and was 9-of-13 on field-goal attempts ... Made both field goal attempts (21, 32) and all three PAT’s in season opener at McNeese State (9/4) ... Hit a season-long field goal of 47 yards at Stephen F. Austin (9/25) ... Hit all five extra-point attempts and was 3-of-3 on field goal attempts (25, 36, 40) in LU’s season-ending 44-6 win over Oklahoma Panhandle State ... The three field goals tied Lamar’s record for most in a game ... Handled kickoffs for the Cardinals with 43 on the season ... Had one punt on the year, a 27-yarder against Webber International (9/11) ... His 47 points scored ranked second on the team. High School: Earned three varsity letters for coach Mike Overton at West Mesquite High School ... Was successful on 79-of-80 extra-point attempts over his junior and senior seasons … Went 21-for-27 on field-goal attempts over the same span … Set the school field-goal record with a game-winning 50-yarder in 2008, then broke it with a 53yarder during the 2009 season … Set another school mark with five field goals in one game during junior season … Was a first-team Class 4A all-stater in 2008 and was the Special Teams MVP in the district in 2008 and 2009. Personal: Justin Kyle Stout was born on Nov. 8, 1991, in Mesquite, Texas ... Son of Robert and Janie Stout ... Has a younger brother, Austin ... General studies major. Yr. 2010 2011 2012 Total
64
GP FG-FGA Pct. 1-19 20-29 30-39 40-49 50+ 11 9-13 69.2 0-0 3-4 4-7 2-2 0-0 10 5-8 62.5 1-1 3-3 1-4 0-0 0-0 12 6-10 60.0 0-0 2-2 3-6 1-2 0-0 33 20-31 64.5 1-1 8-9 8-17 3-4 0-0
Lg XP-XPA 47 20-22 31 35-37 41 29-32 47 84-91
Branden Thomas DB l 5-9, 170 l Sr.-3L Beaumont, Texas Central HS
#21
Named to the 2013 CFPA Preseason Watch List 2012: Named honorable mention AllSouthland Conference ... Played in all 12 games with 11 starts … Led the team and tied for the Southland Conference lead with four interceptions on the year … Finished the season with 45 total tackles to rank fourth on the team … Added six pass breakups on the year and ranked sixth in the Southland Conference in passes defended … Finished with eight tackles at Northwestern State (10/6) and matched that total at Nicholls (11/10) … Added an interception in the 34-24 win over the Colonels … Finished with two interceptions in 52-21 win over McMurry (10/13) and returned the second back 53 yards for a touchdown … Recorded five tackles, one interception and a breakup in 31-0 win over Prairie View A&M (9/8) … Posted seven tackles, including one for loss, at Stephen F. Austin (11/3). 2011: Battled injuries but still appeared in seven games with four starts, including the final three games of the year ... Finished the year with 11 total tackles ... Registered three tackles against Stephen F. Austin (11/5) and McNeese State (11/19) ... Also had a forced fumble, a pass breakup and a quarterback hurry against the Lumberjacks ... Had his only interception of the year late in the game at Nicholls (11/12) as the Cardinals won 34-26 ... Had a pair of tackles and recovered a fumble against Northwestern State (10/8). 2010: Started all 11 games for the Cardinals ... Tied for fourth on the team with 44 tackles, including 34 solo tack-
L a m a r Fo otbal l les ... Led the team with nine pass breakups and tied for the team lead with three interceptions ... Had a seasonhigh eight tackles at Georgia State (11/6) ... Finished with seven tackles, three passes defensed and a blocked field goal attempt in 14-0 win over Langston University (10/9) ... Added two tackles, four pass breakups and a pair of blocked punts, one of which Payton Ploch returned for a touchdown, in 44-6 win over Oklahoma Panhandle State (11/20) ... Had two tackles and two interceptions in 2420 win over South Dakota (11/13) ... Other interception came in 29-28 win at Southeastern Louisiana (9/18) ... Forced a fumble at the goal line in the season opener at McNeese State (9/4) to keep the Cowboys out of the end zone. High School: Three-year letterman and two-year starter for coach Donald Stowers (former Lamar defensive back) at Beaumont Central … Was second-team All-District 204A selection as senior in 2008 after earning honorable mention in 2007. … Made 56 tackles, including 32 of the unassisted variety as a senior … Had five sacks, five pass breakups, two forced fumbles and one fumble recovery for a touchdown … Posted an 18.6-yard average on punt returns … Logged 29 tackles, two interceptions and 10 pass breakups as a junior … Jaguars went 9-4 and advanced to the Class 4A Division I quarterfinals in 2008 … Was also a state qualifier as a member of Jaguar track and field team … Member of the National Honor Society and the Junior NAACP. Personal: Branden Thomas was born on May 12, 1991 ... Son of Ernest and Keisha Thomas ... Majoring in kinesiology. Yr. 2010 2011 2012 Total
GP 11 7 12 30
Tackles Sacks Pass Def. UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH 34 10 44 0.0-0 0.0-0 3-10 9 0 10 1 11 0.0-0 0.0-0 1-16 1 1 33 12 45 1.0-1 0.0-0 4-68 6 0 77 23 100 1.0-1 0.0-0 8-94 16 1
Fumb. Blkd Rcv FF Kick 0 1 3 1 1 0 0 0 0 1 2 3
Courtlin Thompson DB l 6-1, 210 l Sr.-1L Lancaster, Calif. Antelope Valley Christian HS Saddleback CC
cluding one for a six-yard loss, in 31-0 win over Langston (9/22) … Had five tackle performances in 52-21 win over McMurry (10/13) and at Stephen F. Austin (11/3). Junior College: Played in seven games as a sophomore at Saddleback Community College after spending freshman season at San Jose State ... Helped the Gauchos to an 8-3 record and a spot in the Golden State Bowl ... Finished his season with 21 total tackles and one interception ... Appeared in seven games as a redshirt freshman at San Jose State in 2010. High School: Named Most Valuable Player of the Agape League his junior and senior seasons at Antelope Valley Christian HS ... Rushed for 2,600 yards and scored 25 touchdowns as senior ... Also lettered in basketball and baseball. Personal: Courtlin Thompson was born on May 26, 1991 … Son of Craig and Veyan Thompson … Communication major. Yr. 2012
Tackles Sacks Pass Def. Fumb. Blkd GP UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH Rcv FF Kick 8 20 12 32 1.0-6 0.0-0 0-0 0 0 0 0 0
Bret Treadway OL l 6-3, 250 l Fr.-RS Silsbee, Texas Silsbee HS
#58 kinesiology.
#7
2012: Played in eight games as a junior transfer with two starts … Finished the season with 32 total tackles, including 20 solo stops … Registered a season-high nine tackles at Central Arkansas (10/20) … Had six tackles, in-
65
La mar Foo tba l l James Washington LB l 5-11, 225 l Sr.-3L Houston, Texas Madison HS
#54
2012: Started all 12 games as a junior and finished third on the team with 68 total tackles … Added six tackles for loss on the year, including two sacks … Registered a personal-best 10 tackles at Stephen F. Austin (11/3) and picked off a pass to end a Lumberjack drive … Returned a fumble 62 yards for a touchdown at Northwestern State (10/6) … Added nine tackles, including one for loss, and a pass breakup against the Demons … Finished with four tackles and an 8-yard sack in 34-24 win over Nicholls (11/10) and also recorded a sack in 31-0 victory over Langston (9/22) … Recorded a season-high six solo tackles at Hawai`i (9/15) with one of his stops accounting for a 2-yard loss. 2011: Played in seven games with six starts before missing the remainder of the season due to injury ... Totaled 25 tackles, including 4.5 for loss ... Intercepted a pass and returned it 56 yards for a touchdown in Lamar’s 58-0 win over Texas College (9/3) ... Registered nine tackles with two going for loss in the Cards’ 45-35 win over Incarnate Word (9/17) ... Finished with seven tackles, including 2.5 for loss and a sack against Northwestern State (10/8) ... Also recovered a fumble against the Demons ... Had five stops and a fumble recovery in LU’s 48-38 win at Southeastern Louisiana (10/1).
66
2010: Played in 11 games ... Finished the year with 28 total tackles, including 22 solos ... Had a season-high eight tackles in Lamar’s 44-6 win over Oklahoma Panhandle State in the season finale (11/20) ... Had an interception, which he returned for 11 yards in 14-0 win over Langston University (10/9) ... Had four tackles, including one for loss, at North Dakota (10/30). High School: Played for coach Ray Seals at Madison HS … First-team all-district and All-Greater Houston … Voted Most Valuable Player for 8-3 Marlins team that reached the regional round of the Class 5A Division II playoffs … Also ran track and was a regional finalist in the 110-meter hurdles after winning the district championship. Personal: James Washington was born on June 12, 1991 … Son of Janice Washington and James Nelson … Majoring in kinesiology. Yr. 2010 2011 2012 Total
GP 11 7 12 30
Tackles UA A Tot 22 6 28 16 9 25 41 27 69 79 42 121
Sacks Pass Def. TFL-Yds. No.-Yds Int.-YdsBrUp QBH 1.5-3 0.0-0 1-11 0 0 4.5-10 1.0-5 1-56 2 0 6.0-18 2.0-13 1-0 3 0 12.0-31 3.0-18 3-67 5 0
Fumb. Blkd Rcv FF Kick 0 0 0 2 0 0 1 1 0 3 1 0
Marcus Washington DL l 6-3, 295 l Jr.-1L Houston, Texas Stephen F. Austin HS Ft. Scott CC
#98
2012:.
L a m a r Fo otbal l Brock Wempa OL l 6-2, 345 l Sr.-1L Royse City, Texas Royse City HS Tyler JC
#72
2012: Played in nine games with eight starts, including the final five games of the season … Used primarily at left guard … Experienced blocker who has tremendous size. Junior College: Helped Tyler Junior College to a No. 18 final national ranking as a sophomore with a 7-4 record ... Blocked for a rushing game that finished with 352 yards on 62 carries in the Apaches’ 37-34 upset of top ranked Blinn College ... TJC averaged nearly 400 yards of offense per game in 2011, including 230 yards per game on the ground. High School: A three time Associated Press all-state selection at Royse City High School ... Helped the Bulldogs to a 7-4 record and a trip to the Class 4A playoffs as a senior. Personal: Brock Wempa was born on Sept. 17, 1990 … Son of Brian and Carlota Wempa … Criminal justice major.
Jestin White LB l 6-4, 190 l RS So.-1L Houston, Texas North Shore HS
#41
2012:). 2011: Played in all 11 games as a redshirt freshman ... Finished the year with 12 tackles ... Best outing came at Sam Houston State (10/29) when he recorded five tackles, including three solos ... Had a pair of solo tackles against McNeese State (11/19). 2010: Redshirted High School: Played for coach David Aymond at tradi-
tion-rich Galena Park North Shore HS, which has produced many Division I signees and broke the national high school record of consecutive regular-season victories with 73 … Earned firstteam ... Major is general studies. Yr. 2011 2012 Total
GP 11 11 22
Tackles Sacks Pass Def. UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH 8 4 12 0.0-0 0.0-0 0-0 0 0 4 4 8 2.0-3 1.0-3 0-0 1 2 12 8 20 2.0-3 1.0-3 0-0 1 2
Fumb. Blkd Rcv FF Kick 0 0 0 0 0 0 0 0 0
Jeff Whittaker OL l 6-1, 220 l So.-RS Humble, Texas Humble HS
#69
2012: Redshirted High School: Played at Humble High School, helping the Wildcats to a 12-2 record and the 18-4A district title in 2010 with a 70 mark ... Helped offense average over 43 points per game in district play. Personal: Jeff Whittaker was born on Apr. 4, 1993 ... Son of Stacy Williams ... Majoring in communication.
67
La mar Foo tba l l Josh Wilson DB l 5-7, 185 l Jr.-2L Beaumont, Texas West Brook HS
#36
2012: Played in five games on the season, including the last three of the year ‌ Finished with one tackle on the year which came at Central Arkansas (10/20). 2011: Played in three games as a backup defensive back ... Recorded single tackles against Incarnate Word (9/17), Sam Houston State (10/29) and Stephen F. Austin (11/5). High School: Named first-team All-District 21-5A as a senior at West Brook High School ... Also a second-team All-Southeast Texas selection that same year ... Selected to play in the Southeast Texas Ford Dealers All-Star Classic ... Helped West Brook to a 9-4 overall mark and a perfect 5-0 district record as a senior. Personal: Joshua Wilson was born on Dec. 22, 1991 ... Son of William and Dephane Wilson ... Majoring in chemical engineering. Yr. 2011 2012 Total
68
GP 3 5 8
Tackles Sacks Pass Def. UA A Tot TFL-Yds. No.-Yds Int.-YdsBrUp QBH 2 1 3 0.0-0 0.0-0 0-0 0 0 0 1 1 0.0-0 0.0-0 0-0 0 0 2 2 4 0.0-0 0.0-0 0-0 0 0
Fumb. Blkd Rcv FF Kick 0 0 0 0 0 0 0 0 0
L a m a r Fo otbal l
2013 Newcomers Name Ronald Barrett Tommie Barrett Brannon Beaton James Bellard Kade Burman Colby Campbell Cole Carleton Juan Carranco Hunter Conn Koby Couron John Craven Keith Curran Rex Dausin Joshua Davis Joshua Frost Richard Gipson Jonathon Green Kevin Greif Kevin Gunnels Kade Harrington Victor Hawkins Montez Hunter Lloyd Julian Sam Keeter Chris Mayer Chance McCormack Eddie McGill Robert Mitchell Tony Qualls Emmitt Raleigh Blake Rising Mark Roberts Brent Salenga Deven Scoby Tramon Shead Romando Stewart Omar Tebo Judge Wolfe
Pos. DB DB TE LB LB DB LB K OL DL OL LB QB K DL LB DL OL LB RB WR DB DB TE OL OL LB QB LB RB OL WR WR DB OL LB DL QB
Ht. 5-11 5-10 6-3 6-2 6-3 6-0 6-0 6-0 6-5 6-3 6-3 6-4 6-2 6-1 6-1 6-2 6-0 6-3 5-11 5-9 6-2 5-11 5-10 6-4 6-7 6-3 6-0 6-1 6-0 6-0 6-1 6-3 5-8 5-11 6-6 6-2 6-0 5-10
Wt. Cl. 180 So.-HS 170 So.-HS 245 Fr.-HS 225 So.-HS 200 Fr.-HS 185 Fr.-HS 215 Fr.-HS 170 Fr.-HS 285 Fr.-HS 240 Fr.-HS 285 Fr.-HS 240 Jr.-TR 203 RS Fr.-TR 200 Fr.-HS 315 Jr.-TR 215 Fr.-HS 265 Fr.-HS 260 Fr.-HS 210 So.-RS 185 Fr.-HS 205 Fr.-HS 180 Jr.-TR 165 Fr.-HS 225 Fr.-HS 345 Jr.-TR 295 Jr.-TR 225 Fr.-HS 200 Fr.-HS 215 Fr.-HS 210 Fr.-HS 255 Fr.-HS 190 Jr.-TR 170 So.-HS 195 Fr.-HS 305 Jr.-TR 210 Fr.-HS 295 Fr.-HS 170 Fr.-HS
Hometown (High School/College) Silsbee, Texas (Silsbee HS) Silsbee, Texas (Silsbee HS) Whitehouse, Texas (Whitehouse HS) Baytown, Texas (Barbers Hill HS) Livingston, Texas (Livingston HS) Whitehouse, Texas (Whitehouse HS) Omaha, Neb. (Elkhorn South HS) Dayton, Texas (Dayton HS) Whitehouse, Texas (Whitehouse HS) Nederland, Texas (Nederland HS) Spring, Texas (Klein Collins HS) Garden City, Kan. (Garden City HS/Garden City CC) San Antonio, Texas (Warren HS/Houston) Marshall, Texas (Evangel (La.) HS) Cypress, Calif. (Edison HS/Golden West College) Tyler, Texas (John Tyler HS) Houston, Texas (North Shore HS) Spring, Texas (Klein Oak HS) Houston, Texas (George Bush HS) Kingwood, Texas (Kingwood HS) Longview, Texas (Pine Tree HS) Lakewood, Calif. (Artesia HS/Long Beach CC) Bellaire, Texas (Episcopal HS) Dallas, Texas (Woodrow Wilson HS) Shawnee, Kan. (Mill Valley HS/Fort Scott CC) Dayton, Texas (Dayton HS/Blinn JC) Stockbridge, Ga. (Woodland HS) Beaumont, Texas (Central HS) Houston, Texas (Spring Westfield HS) Houston, Texas (Spring Westfield HS) Winnie, Texas (East Chambers HS) Orange, Texas (West Orange-Stark HS/Houston) Nederland, Texas (Nederland HS) Houston, Texas (Travis HS) Cayuga, Texas (Cayuga HS/Kilgore JC) Newton, Texas (Newton HS) Liberty, Texas (Liberty HS) Palmer, Texas (Palmer HS)
69
La mar Foo tba l l Ronald Barrett DB l 5-11, 180 l So.-HS Silsbee, Texas Silsbee HS
LB l 6-2, 225 l So.-HS Baytown, Texas Barbers Hill HS
Two-year letterwinner for Bobby McGallion at Silsbee High School ... Named Second-Team All-District 213.
Tommie Barrett DB l 5-11, 170 l So.-HS Silsbee, Texas Silsbee HS
Named Second-Team All-District 213A as a senior after registering 51 tackles and a pair of interceptions ... Appeared in just four games for Silsbee High School as a junior after suffering a broken leg ... Helped the Tigers to the 2010 Class 3A state semifinals with a 30-5 overall record.
Brannon Beaton TE l 6-3, 245 l Fr.-HS Whitehouse, Texas Whitehouse HS
James Bellard
#85
#51.
Kade Burman LB l 6-3, 200 l Fr.-HS Livingston, Texas Livingston HS
#97
Earned Second-Team All-District 204A accolades at both defensive end and punter as a senior at Livingston High School … Registered 77 tackles, including 18 for loss, along with 13 sacks … Also forced five fumbles and recovered seven others … Finished with 58 tackles and 11 sacks as a junior … Helped the Lions to a 5-3 district mark as a senior and a 4-3 record as a junior … Also was a starter at tight end during junior and senior seasons … Academic all-district in football … Also an all-district soccer player.
Colby Campbell DB l 6-0, 185 l Fr.-HS Whitehouse, Texas Whitehouse HS
#12
Played both tight end and defensive end for Randy McFarlin at Whitehouse High School ... Named SecondNamed First-Team All-District 16-4A Team All-District 16-4A as a senior ... Helped the Wildcats as a junior and senior … Led Whiteto a 10-2 record on the year with 44 tackles and four sacks house High School with 77 tackles ... Named honorable mention all-district as a junior after and five pass breakups as a senior as the team finished 10posting 43 tackles and helping Whitehouse to a runner- 2 … Recorded nine tackles in his final high school game, a 63-56 loss to Wylie East … Averaged 7.0 tackles per up finish in district play. game as a junior with a high of 13 in a 70-48 win over Pine Tree.
70
L a m a r Fo otbal l Cole Carleton LB l 6-0, 215 l Fr.-HS Omaha, Neb. Elkhorn South HS
#50 … Earned three letters.
Juan Carranco K l 6-0, 170 l Fr.-HS Dayton, Texas Dayton HS
#95
Koby Couron DL l 6-3, 240 l Fr.-HS Nederland, Texas Nederland HS
#92
Named to the Associated Press Class 4A all-state second-team after registering 98 tackles, including 29 for loss, 14 sacks and three pass breakups as a senior at Nederland High School … Added 27 quarterback hurries and 16 quarterback knockdowns … Named First-Team All-District 20-4A and to the Port Arthur News Super Team as a junior and senior … Helped Nederland to back-to-back 7-0 District 20-4A titles as a junior and senior, including a combined 23-4 record over his final two seasons … Led Nederland to a 12-2 record as a senior and a spot in the 4A Region 3 finals … Member of the 2012 All-Southeast Texas Team and was selected on the Beaumont Enterprise Super Gold Team.
John CravenTeam All-Greater Houston.
Hunter Conn OL l 6-5, 285 l Fr.-HS Whitehouse, Texas Whitehouse HS
#75.
OL l 6-3, 285 l Fr.-HS Spring, Texas Klein Collins HS
#78
Played last season at the Naval Academy Prep School in Newport, Rhode Island … Helped Klein Collins High School to an 11-1 record and an undefeated District 135A title as a junior … Was named Second-Team All-District 13-5A as a senior as the Lions finished 8-3.
Keith Curran LB l 6-4, 240 l Jr.-TR Garden City, Kan. Garden City HS Garden City CC
#42
Helped Garden City Community College win the Mississippi Bowl with a 7-4 overall record as a sophomore … Finished with 50 tackles and 10 sacks for the Broncbusters … Played his high school football at Garden City High School where he recorded 77 tackles and five sacks as a senior on his way to all-state honors.
71
La mar Foo tba l l Rex Dausin QB l 6-2, 203 l RS Fr.-TR San Antonio, Texas Warren HS University of Houston
Richard Gipson
#14
Redshirted his freshman season at the University of Houston ... Played for his father Bryan Dausin at Warren High School ... Named the District 27-5A Offensive MVP as a senior ... Selected second-team all-state by the Padilla Poll after passing for 3,310 yards and 34 touchdowns as a senior ... Added 564 rushing yards and 15 touchdowns on the ground for 3,874 yards of total offense ... Helped the Warriors to an 11-2 record as a senior and a 19-6 mark over his final two seasons ... Finished 21-of-29 for 452 yards and six touchdowns in a win over Churchill ... AllArea selection by the San Antonio Express News after completing 65 percent of his trhows ... Also selected firstteam all-district as a junior after passing for 2,254 yards and 20 TDs ... Completed 57 percent of his passes as a junior ... Lettered as a sophomore as a starting wide receiver.
Joshua Davis K l 6-1, 200 l Fr.-HS Marshall, Texas Evangel (La.) HS
#96.
72
LB l 6-2, 215 l Fr.-HS Tyler, Texas John Tyler HS
#24
Led John Tyler High School to backto.
Jonathon Green DL l 6-0, 265 l Fr.-HS Houston, Texas North Shore HS
#63
Two-year starter for David Ayman at North Shore High School ... Helped the Mustangs advance to the regional finals with a 12-2 record ... Earned Second-Team All-District 21-5A honors at offensive lineman as a senior ... Helped North Shore to an 8-4 record as a junior.
L a m a r Fo otbal l Kevin Greif OL l 6-3, 260 l Fr.-HS Spring, Texas Klein Oak HS
Montez Hunter
#74
Two-year starter at tackle for Klein Oak High School … Helped the Panthers to the District 13-5A title and a 9-4 record as a junior … Named to the academic all-district team.
Kade Harrington RB l 5-9, 185 l Fr.-HS Kingwood, Texas Kingwood HS
#8.
Victor Hawkins WR l 6-2, 205 l Fr.-HS Longview, Texas Pine Tree HS
#82
DB l 5-11, 180 l Jr.-TR Lakewood, Calif. Artesia HS Long Beach CC
#5 ... Played multiple positions at Artesia High School.
Lloyd Julian DB l 5-10, 165 l Fr.-HS Bellaire, Texas Episcopal HS
#36
Helped Episcopal to a 9-2 record as a senior and a 5-1 district record … Led team with three interceptions and returned two for touchdowns during senior campaign … Named to the Southwest Preparatory Conference AllState team as a senior … Also played wide receiver … An all-state performer in track.
Sam Keeter Named Second-Team All-District 144A following senior season at Pine Tree High School ... Finished the year with 902 total yards from scrimmage and six touchdowns ... Caught 40 passes for 548 yards and four touchdowns while rushing 33 times for 354 yards and a pair of scores ... Played primarily at defensive back as a junior, recording 43 tackles and an interception ... Had 20 carries for 211 yards during junior season.
TE l 6-4, 225 l Fr.-HS Dallas, Texas Woodrow Wilson HS
#80
Played quarterback as a senior at Woodrow Wilson High School and led the Wildcats to the playoffs … Named Second-Team All-District 12-4A … Played tight end and defensive end as a sophomore and junior.
73
La mar Foo tba l l Chris Mayer OL l 6-7, 345 l Jr.-TR Shawnee, Kan. Mill Valley HS Fort Scott CC
Robert Mitchell
#68
Played two seasons at Fort Scott and earned honorable mention All-Kansas Jayhawk Community College Conference (KJCCC) honors as a sophomore … Blocked for a Greyhound offense which accounted for 340 yards and 26 points per game … Prepped at Mill Valley High School where he helped the team to four straight playoff appearances … Earned All-Kaw Valley Conference honors on both the offensive and defensive lines as a senior.
Chance McCormack OL l 6-3, 295 l Jr.-TR Dayton, Texas Dayton HS Blinn JC
Eddie McGill
#38
Played at Woodland (Ga.) High School for Scott Schmitt ... Set school records for tackles in a game with 18 and in a season with 151 ... Named to the All-Region 3AAAA Division A team following his senior season for the Wolfpack ... Selected to play in the Georgia High School Senior All-Star Bowl.
74
#13
Three-year starter for Beaumont Central High School completed 134-of236 passes as a senior for 1,794 yards and 13 touchdowns … Added 599 rushing yards and 12 touchdowns to earn co-Offensive Player of the Year honors in District 20-4A … Rushed for 435 yards and five scores as a junior.
Tony Qualls LB l 6-0, 215 l Fr.-HS Houston, Texas Spring Westfield HS
#52
#56
Earned honorable mention All-Southwest Junior College Football Conference accolades in 2012 at Blinn Junior College … Helped Blinn to a 9-2 record as a freshman, including a perfect 6-0 conference mark and a final national ranking of No. 10 … Earned First-Team All-District 19-4A honors as a senior at Dayton High School and second-team honors as a junior … Helped Dayton reach the state finals in 2009.
LB l 6-0, 225 l Fr.-HS Stockbridge, Ga. Woodland HS
QB l 6-1, 200 l Fr.-HS Beaumont, Texas Central HS
Earned Second-Team All-District 135A honors as a senior at Spring Westfield High School after helping the Mustangs to a 12-1 record ... Finished the season with 47 tackles, including four for loss, and two sacks ... Helped the team to a 10-4 record as a junior, including a trip to the regional finals.
L a m a r Fo otbal l Emmitt Raleigh RB l 6-0, 210 l Fr.-HS Houston, Texas Spring Westfield HS
#22Greater Houston second-team … Ran for 273 yards and seven touchdowns in Westfield’s 55-35 win over Spring … Finished season with over 2,200 all-purpose yards and 32 touchdowns.
Blake Rising OL l 6-1, 255 l Fr.-HS Winnie, Texas East Chambers HS
#67.
for 936 yards and 12 touchdowns ... Was tabbed a threestar recruit by Rivals.com and Scout.com ... Helped the Mustangs to the second round of the Class 3A playoffs as a senior ... Added 671 receiving yards with four touchdowns as a junior ... Named all-region by PrepStar ... Averaged over 21 yards per catch over his final two seasons ... Also ran track for WOS.
Brent Salenga WR l 5-8, 170 l So.-HS Nederland, Texas Nederland HS
Four-year letterwinner for Larry Neumann at Nederland High School ... Named First-Team All-District 20-4A as a senior ... Also named to the Port Arthur News Super Team that year ... Registered 28 catches for 444 yards and four touchdowns as a senior ... Also carried 20 times for 144 yards and a touchdown ... Helped Bulldogs to an 112 overall record and a perfect 7-0 mark in district ... Recorded 36 catches for 321 yards and five touchdowns as a junior ... Selected to play in the 2011 Southeast Texas All-Star Classic and scored on a 50-yard fake punt in the game.
Deven Scoby DB l 5-11, 195 l Fr.-HS Houston, Texas Travis HS
Mark Roberts WR l 6-3, 190 l Jr.-TR Orange, Texas West Orange-Stark HS University of Houston
#5
Played two seasons at the University of Houston, registering 15 catches in 19 games ... Finished with six catches for 136 yards as a freshman and had nine grabs for 114 yards and a touchdown as a sophomore ... Finished with five catches for 67 yards, including a 5-yard touchdown, against East Carolina ... Longest career catch was a 58yarder at UAB during freshman campaign ... Played for Dan Hooks at West Orange-Stark High School, earning district MVP honors as a senior after posting 43 catches
Named First-Team All-District 23-5A as a senior kick returner at Travis High School ... Played defensive back for Coach Randy Cunningham, and also had 10 carries and four catches on offense as a senior.
75
La mar Foo tba l l Tramon Shead OL l 6-6, 305 l Jr.-TR Cayuga, Texas Cayuga HS Kilgore JC
#71
Omar Tebo DL l 6-0, 295 l Fr.-HS Liberty, Texas Liberty HS
#65
Selected First-Team All-District 22Named honorable mention All-South3A as a junior and senior … Helped west Junior College Football ConferPanthers to an 8-2 record and the reence as a sophomore at Kilgore Junior College … Helped Cayuga High School to the Class A Di- gional playoffs as a junior … Also went to regionals during vision 2 state title as a senior … Was named First-Team freshman and sophomore seasons … Was a state qualifier All-District 20-A and was a second-team all-state selection in powerlifting. as a senior.
Romando Stewart LB l 6-2, 210 l Fr.-HS Newton, Texas Newton HS
#33
Named First-Team All-District 10-2A as a senior at Newton High School … Registered 94 tackles, five sacks, one forced fumble and one interception as Newton finished 13-1 and advanced to the 2012 Class 2A state semifinals … Helped the Eagles to a district title as a junior … Was a regional qualifier in track and field.
76
Judge Wolfe
QB l 5-10, 170 l Fr.-HS Palmer, Texas Palmer HS
#16district as a junior and senior, and was a second team selection as a sophomore … Finished three-year career with over 2,800 rushing yards.
2012 STATISTICS
La mar Foo tba l l 2012 Results and Statistics 2012 Record ALL GAMES CONFERENCE NON-CONFERENCE Date Sept. 1 Sept. 8 Sept. 15 Sept. 22 Sept. 29 Oct. 6 Oct. 13 Oct. 20 Oct. 27 Nov. 3 Nov. 10 Nov. 17
Overall
Away
Neutral
4-8-0 1-6-0 3-2-0
4-2-0 1-2-0 3-0-0
0-6-0 0-4-0 0-2-0
0-0-0 0-0-0 0-0-0
Opponent at Louisiana-Lafayette PRAIRIE VIEW A&M at Hawai`i LANGSTON SOUTHEASTERN LOUISIANA* at Northwestern State* MCMURRY UNIVERSITY at Central Arkansas* SAM HOUSTON STATE* at Stephen F. Austin* NICHOLLS* at McNeese State*
RUSHING GP Att Garrett, D. 10 138 Sims, H. 7 96 Harris, D. 10 68 Richards, D. 8 32 Kahler, K. 12 3 Berry, C. 8 53 Mossakowski, R.8 40 Johnson, K. 11 2 Handy, M. 3 2 Robertson, S. 12 0 Barrett, D. 2 3 Gladney, G. 8 1 Franks, V. 12 2 TEAM 10 11 Total 12 451 Opponents 12 443
Net 585 388 310 130 53 38 23 15 9 7 7 1 -7 -48 1511 1926
Avg 4.2 4.0 4.6 4.1 17.7 0.7 0.6 7.5 4.5 0.0 2.3 1.0 -3.5 -4.4 3.4 4.3
PASSING G Effic Cmp-Att-Int Pct Mossakowski, R.8 124.45 113-193-8 58.5 Berry, C. 8 94.65 76-146-5 52.1 TEAM 10 0.00 0-1-0 0.0 Total 12 111.29 189-340-13 55.6 Opponents 12 116.61 228-394-13 57.9
Yds 1194 663 0 1857 2397
RECEIVING Ford, B. Edwards, J. Begelton, R. Johnson, K. Franks, V. Sims, H. McVey, P. Harris, D. Soto, C. Garrett, D. Hanna, J. Gladney, G. Richards, D. Handy, M. Henderson, P.J. Total Opponents
G 12 12 12 11 12 7 9 10 12 10 9 8 8 3 5 12 12
Gain 608 422 329 140 53 197 145 15 11 7 8 1 1 0 1937 2180
No. 49 23 21 19 17 11 10 10 7 7 6 3 3 2 1 189 228
Loss 23 34 19 10 0 159 122 0 2 0 1 0 8 48 426 254
Result L, 0-40 W, 31-0 L, 2-54 W, 31-0 L, 21-31 L, 23-30 W, 52-21 L, 14-24 L, 7-56 L, 26-40 W, 34-24 L, 0-35
Yds 470 349 172 309 165 70 60 31 88 45 42 37 0 14 5 1857 2397
Avg 9.6 15.2 8.2 16.3 9.7 6.4 6.0 3.1 12.6 6.4 7.0 12.3 0.0 7.0 5.0 9.8 10.5
TD 1 4 1 10 0 0 2 0 0 0 0 0 0 0 0 18 17
Attendance 25,803 15,367 31,442 12,383 8,426 8,357 13,452 9,374 9,042 4,421 8,043 11,235 TD Long Avg/G 2 35 58.5 2 25 55.4 1 32 31.0 0 20 16.2 0 23 4.4 2 28 4.8 0 21 2.9 1 12 1.4 0 11 3.0 0 0 0.6 0 5 3.5 0 1 0.1 0 1 -0.6 0 0 -4.8 8 35 125.9 23 93 160.5 TD Lng 13 60 5 27 0 0 18 60 17 86
Avg/G 149.2 82.9 0.0 154.8 199.8
Long 25 60 18 34 34 25 13 8 22 14 12 17 3 8 5 60 86
Avg/G 39.2 29.1 14.3 28.1 13.8 10.0 6.7 3.1 7.3 4.5 4.7 4.6 0.0 4.7 1.0 154.8 199.8
TEAM STATISTICS SCORING Points Per Game FIRST DOWNS Rushing Passing Penalty RUSHING YARDAGE Rushing Attempts Average Per Rush Average Per Game TDs Rushing PASSING YARDAGE Comp-Att-Int Average Per Pass Average Per Catch Average Per Game TDs Passing TOTAL OFFENSE Average Per Play Average Per Game KICK RETURNS: #-Yards PUNT RETURNS: #-Yards INT RETURNS: #-Yards FUMBLES-LOST PENALTIES-Yards PUNTS-AVG TIME OF POSSESSION/Game 3RD-DOWN Conversions 4TH-DOWN Conversions
OPP 355 29.6 221 86 111 24 1926 443 4.3 160.5 23 2397 228-394-13 6.1 10.5 199.8 17 4323 5.2 360.2 29-541 30-381 13-110 11-3 79-633 55-39.5 28:44 58/178 12/26
INTERCEPTIONS Thomas, B. Davis, N. McGlothen, T. Guillory, A. Prescott, J. Murrill, M. Washington, J. Garrett, J. Total Opponents
No. 4 2 2 1 1 1 1 1 13 13
Yds 68 21 118 0 26 0 0 0 233 110
Avg 17.0 10.5 59.0 0.0 26.0 0.0 0.0 0.0 17.9 8.5
TD 1 0 1 0 1 0 0 0 3 0
Long 53 25 96 0 26 0 0 0 96 33
PUNT RETURNS Venson, M. Franks, V. Total Opponents
No. 14 3 17 30
Yds 97 14 111 381
Avg 6.9 4.7 6.5 12.7
TD 0 0 0 2
Long 20 14 20 75
KICK RETURNS Johnson, K. Franks, V. Venson, M. Davis, N. TEAM Hollyfield, D. Harris, D. Jones, R. Total Opponents
No. 22 17 5 3 2 1 1 1 52 29
Yds 623 410 73 43 0 11 23 1 1184 541
Avg 28.3 24.1 14.6 14.3 0.0 11.0 23.0 1.0 22.8 18.7
TD 2 0 0 0 0 0 0 0 2 1
Long 89 73 33 19 0 11 23 0 89 95
FIELD GOALS FGM-FGA Pct 1-19 20-29 30-39 40-49 50+ Lg Blk Stout, J. 6-10 60.0 0-0 2-2 3-6 1-2 0-0 41 1 PUNTING Kahler, K. TEAM Total Opponents
78
LU 241 20.1 206 93 93 20 1511 451 3.4 125.9 8 1857 189-340-13 5.5 9.8 154.8 18 3368 4.3 280.7 52-1184 17-111 13-233 37-19 83-760 68-40.9 31:16 63/173 13/22
No. 67 1 68 55
Yds 2782 0 2782 2174
Avg 41.5 0.0 40.9 39.5
Long 63 0 63 56
TB 3 0 3 4
FC 8 0 8 15
I20 18 0 18 13
Blkd 1 0 1 1
L a m a r Fo otbal l 2012 Statistics SCORING TD Johnson, K. 13 Stout, J. 0 Edwards, J. 4 Garrett, D. 2 Berry, C. 2 Sims, H. 2 McVey, P. 2 Thomas, B. 1 Harris, D. 1 Washington, J. 1 Prescott, J. 1 Begelton, R. 1 McGlothen, T. 1 Ford, B. 1 Guillory, A. 0 Total 32 Opponents 43
|------------- PATs -------------| FGs Kick Rush Rcv Pass DXP Saf Points 0-0 0-0 0-0 0 0-0 0 0 78 6-10 29-32 0-0 0 0-0 0 0 47 0-0 0-0 0-0 0 0-0 0 0 24 0-0 0-0 0-0 0 0-0 0 0 12 0-0 0-0 0-0 0 0-0 0 0 12 0-0 0-0 0-0 0 0-0 0 0 12 0-0 0-0 0-0 0 0-0 0 0 12 1 0 2 6-10 29-32 0-0 0 0-0 1 0 241 18-22 41-41 1-2 0 0-0 0 0 355
DEFENSIVE LEADERS Longino, J. Allen, C. Washington, J. Thomas, B. Dickson, J. Guillory, A. McGlothen, T. Murrill, M. Thompson, C. Prescott, J. Davis, N. Garrett, J. Malbrough, M. Jones, R. Dorsey, A. Okafor, J. Chavis, B. Murray-Sesay, S. Ploch, P. Moss, L. Hollyfield, D. White, J. Jones, W. Hargis, M. Viator, J. Orebe, G. Johnson, K. Kahler, K. Venson, M. Mossakowski, R. Hanna, J. Maikranz, C. Garrett, D. Sparks, J. Berry, C. Washington, M. Sims, H. Mercer, S. Johnson, M. Stout, J. Wilson, J. McGriff, P. Begelton, R. Robertson, S. Total Opponents
GP 12 12 12 12 10 12 11 12 8 12 12 10 10 12 10 11 8 11 12 12 12 11 6 9 12 3 11 12 9 8 9 9 10 9 8 6 7 6 2 12 5 5 12 12 12 12
|----------Tackles----------| Solo Ast Total 63 44 107 55 24 79 41 27 68 33 12 45 30 13 43 31 12 43 31 12 43 21 16 37 20 12 32 18 14 32 20 6 26 17 9 26 15 10 25 14 9 23 12 7 19 12 6 18 9 8 17 12 3 15 12 2 14 9 4 13 6 2 8 4 4 8 7 . 7 1 4 5 3 1 4 3 1 4 3 . 3 3 . 3 3 . 3 . 2 2 2 . 2 2 . 2 1 . 1 1 . 1 1 . 1 1 . 1 1 . 1 1 . 1 1 . 1 1 . 1 . 1 1 1 . 1 . 1 1 . 1 1 521 267 788 495 262 757
TFL/Yds 6.5-17 3.5-8 6.0-18 1.0-1 9.0-37 3.5-7 3.0-6 8.5-21 1.0-6 3.0-16 0.5-2 . 7.0-38 3.0-15 4.0-15 4.5-11 2.5-6 1.0-4 . 1.0-1 2.5-6 2.0-3 1.0-2 1.0-4 . . . . . . . . . . . . . . . . . . . . 75-244 97.0-373
SCORE BY QUARTERS Lamar University Opponents ALL PURPOSE Johnson, K. Garrett, D. Franks, V. Ford, B. Sims, H. Total Opponents
G Rush 11 15 10 585 12 -7 12 0 7 388 12 1511 12 1926
TOTAL OFFENSE G Mossakowski, R. 8 Berry, C. 8 Garrett, D. 10 Sims, H. 7 Harris, D. 10 Total 12 Opponents 12
|-Sacks-| No-Yards 2.0-11 . 2.0-13 . 4.0-22 . . 2.0-6 . 1.0-12 . . 3.5-32 1.0-12 1.0-8 1.0-5 0.5-2 . . . 1.0-2 1.0-3 1.0-2 . . . . . . . . . . . . . . . . . . . . . 21-130 33-240
1st 51 64 Rec 309 45 165 470 70 1857 2397 Plays 233 199 138 96 68 791 837
|----------Pass Def----------| Int-Yds BrUp QBH . 2 5 . 3 . 1-0 3 . 4-68 6 . . 2 2 1-0 10 . 2-118 6 2 1-0 1 5 . . . 1-26 4 . 2-21 2 . 1-0 . . . 1 7 . . . . 2 2 . 1 2 . . 1 . 4 . . . . . . 1 . . . . 1 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-233 48 29 13-110 32 22
2nd 58 120 PR 0 0 14 0 0 111 381 Rush 23 38 585 388 310 1511 1926
3rd 69 88 KOR 623 0 410 0 0 1184 541
4th 63 83 IR 0 0 0 0 0 233 110
Pass 1194 663 0 0 0 1857 2397
|-----Fumbles-----| Rcv-Yds FF . 3 2-0 1 1-62 . . . . . . . . 2 . . . . . . . . . . . 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-62 7 17-45 20
Tot 947 630 582 470 458 4896 5355 Total 1217 701 585 388 310 3368 4323 Blkd Kick . . . . . . . . . . . . . . . 1 . . . . 1 . . . . . . . . . . . . . . . . . . . . . . . 2 2
Total 241 355 Avg/G 86.1 63.0 48.5 39.2 65.4 408.0 446.2 Avg/G 152.1 87.6 58.5 55.4 31.0 280.7 360.2 Saf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
79
La mar Foo tba l l 2012 Lamar Superlatives Rushes Yards Rushing TD Rushes Long Rush Pass attempts
25 112 1 35 36
Pass completions Yards Passing TD Passes
23 239 3
Long Pass Receptions Yards Receiving TD Receptions
60 9 208 3
Long Reception Field Goals Long Field Goal Punts Punting Avg Long Punt Punts inside 20 Long Punt Return Long Kickoff Return Tackles Sacks Tackles For Loss Interceptions
60 2 41 9 47.2 63 3 20 89 17 2.0 3.0 2
Rushes Yards Rushing Yards Per Rush TD Rushes
54 275 6.9 2
Pass attempts Pass completions Yards Passing Yards Per Pass TD Passes
41 23 248 7.5 3
Total Plays Total Offense Yards Per Play Points Sacks By
80 432 6.6 52 5
First Downs Penalties Penalty Yards Turnovers
27 11 94 4
Interceptions By Punts Punting Avg Long Punt Punts inside 20
4 10 47.2 63 3
Long Punt Return
20
80
INDIVIDUAL GAME HIGHS
Garrett, DePauldrick at Central Arkansas (10/20) Garrett, DePauldrick at McNeese State (11/17) 8 times by 5 different players Garrett, DePaul vs McMurry University (10/13) Mossakowski, Ryan vs Langston (9/22) Berry, Caleb at Northwestern State (10/6) Mossakowski, Ryan vs Langston (9/22) Mossakowski, Ryan vs Langston (9/22) Mossakowski, Ryan vs Langston (9/22); Berry, Caleb vs McMurry University (10/13); Mossakowski, Ryan at Stephen F. Austin (11/3) Mossakowski, Ryan vs Nicholls (11/10) Mossakowski, Ryan at Stephen F. Austin (11/3) Ford, Barry vs Nicholls (11/10) Edwards, Jordan at Stephen F. Austin (11/3) Johnson, Kevin vs Langston (9/22); Johnson, Kevin vs McMurry University (10/13); Edwards, Jordan at Stephen F. Austin (11/3) Edwards, Jordan at Stephen F. Austin (11/3) Stout, Justin at Stephen F. Austin (11/3) Stout, Justin vs McMurry University (10/13) Kahler, Kollin at Hawai`i (9/15) Kahler, Kollin vs Southeastern La. (9/29) Kahler, Kollin vs Sam Houston State (10/27) Kahler, Kollin Three Times Venson, Mike vs Langston (9/22) Johnson, Kevin vs Sam Houston State (10/27) Allen, Chad at Stephen F. Austin (11/3) Dickson, Jesse vs Langston (9/22); Malbrough, Marcus vs Nicholls (11/10) Murrill, Mark vs Langston (9/22); Malbrough, Marcus vs Nicholls (11/10) Thomas, Branden vs McMurry University (10/13)
TEAM GAME HIGHS
at Central Arkansas (10/20) vs McMurry University (10/13) vs McMurry University (10/13) vs Prairie View A&M (9/8); vs McMurry University (10/13) at Central Arkansas (10/20) at Stephen F. Austin (11/3) vs Langston (9/22) at Stephen F. Austin (11/3) vs Prairie View A&M (9/8) vs Langston (9/22); vs McMurry University (10/13) at Stephen F. Austin (11/3); vs Nicholls (11/10) at Stephen F. Austin (11/3) vs Prairie View A&M (9/8) vs McMurry University (10/13) vs McMurry University (10/13) vs McMurry University (10/13) vs Nicholls (11/10) vs Prairie View A&M (9/8) at Stephen F. Austin (11/3) at Stephen F. Austin (11/3) at Louisiana (9/1); vs Southeastern La. (9/29) at Northwestern State (10/6); at Stephen F. Austin (11/3) at Stephen F. Austin (11/3) at Hawai`i (9/15) vs Southeastern La. (9/29) vs Sam Houston State (10/27) at Hawai`i (9/15); at Central Arkansas (10/20) at Stephen F. Austin (11/3) vs Langston (9/22)
L a m a r Fo otbal l 2012 Opponent Superlatives Rushes Yards Rushing TD Rushes Long Rush Pass attempts Pass completions
23 131 4 93 48 26
Yards Passing TD Passes Long Pass Receptions Yards Receiving TD Receptions Long Reception Field Goals Long Field Goal Punts Punting Avg Long Punt Punts inside 20 Long Punt Return Long Kickoff Return Tackles
271 3 86 11 127 1 86 4 52 11 47.6 56 3 75 95 11
Sacks
2.0
Tackles For Loss Interceptions
4.0 1
Rushes Yards Rushing Yards Per Rush TD Rushes Pass attempts Pass completions Yards Passing Yards Per Pass TD Passes
51 378 8.2 6 70 38 390 9.9 3
Total Plays Total Offense Yards Per Play Points Sacks By First Downs Penalties Penalty Yards Turnovers Interceptions By Punts Punting Avg Long Punt Punts inside 20 Long Punt Return
109 537 8.3 56 6 34 11 101 4 4 11 47.6 56 3 75
INDIVIDUAL GAME HIGHS
Walker,Robert, at Northwestern State (10/6) Flanders, Tim, vs Sam Houston State (10/27) Flanders, Tim, vs Sam Houston State (10/27) Bennett, Kelvin, at McNeese State (11/17) Attaway, Brady, at Stephen F. Austin (11/3) Attaway, Brady, at Stephen F. Austin (11/3) Klann, Landry, vs Nicholls (11/10) Smothers, Wynri, at Central Arkansas (10/20) Schroeder, Sean, at Hawai`i (9/15) Gautier, Blaine, at Louisiana (9/1) Ward, DJ, at Stephen F. Austin (11/3) Grandy,Jesse, at Central Arkansas (10/20) 17 times Robinson, Jamal, at Louisiana (9/1) Baer, Brett, at Louisiana (9/1); Wiggs, Jordan, at Stephen F. Austin (11/3) Baer, Brett, at Louisiana (9/1) DeHarde, David, vs Langston (9/22) Breaux, Jean, at McNeese State (11/17) Mothe, Beau, vs Southeastern La. (9/29) Breaux, Jean, at McNeese State (11/17) Alford, Robert, vs Southeastern La. (9/29) Edwards, Mike, at Hawai`i (9/15) Love,Jestin, at Central Arkansas (10/20) Epperson, Ryan, at Stephen F. Austin (11/3) Johnson,Keland, at Northwestern State (10/6) Robinson, Darre, at Stephen F. Austin (11/3) Narcisse, Joe, at McNeese State (11/17) Hamilton, Justi, at Louisiana (9/1) 13 times
TEAM GAME HIGHS
vs Southeastern La. (9/29) vs Sam Houston State (10/27) vs Sam Houston State (10/27) vs Sam Houston State (10/27) at Stephen F. Austin (11/3) at Stephen F. Austin (11/3) at Stephen F. Austin (11/3) at Central Arkansas (10/20) at Hawai`i (9/15) at Stephen F. Austin (11/3) at Stephen F. Austin (11/3) at Stephen F. Austin (11/3) vs Sam Houston State (10/27) vs Sam Houston State (10/27) at McNeese State (11/17) at Stephen F. Austin (11/3) vs Prairie View A&M (9/8) at Northwestern State (10/6) at Stephen F. Austin (11/3) vs Southeastern La. (9/29) vs Langston (9/22) at McNeese State (11/17) vs Southeastern La. (9/29) at McNeese State (11/17) vs Southeastern La. (9/29)
81
La mar Foo tba l l Game 1 - 9/1/12
Lamar Louisiana-Lafayette Score by Quarters Lamar Louisiana-Lafayette
1 0 13
2 0 27
3 0 0
4 0 0
Scoring Summary 1st 13:04 UL - Baer 52 yd FG 09:29 UL - Maxwell 2 yd pass from Gautier (Baer kick) 06:05 UL - Baer 40 yd FG 2nd 14:56 UL - Harris 1 yd run (Baer kick) 11:24 UL - Reed 2 yd run (Baer kick) 09:38 UL - Baer 39 yd FG 04:43 UL - Baer 32 yd FG 00:12 UL - Lawson 2 yd pass from Gautier (Baer 13 37-38 156 18-29-1 194 6-3 4-34 6-43.5 0-0 3-56 0-0 34:22 6 of 16 0 of 2 0-0
0 40
Game 2 - 9/8/12 Prairie View A&M Lamar
F 0 40
Score by Quarters Prairie View A&M Lamar
3-0 10-0 13-0 20-0 27-0 30-0 33-0 40-0
UL 15 34-143 203 13-27-0 346 1-1 7-50 3-41.7 4-47 1-41 1-16 25:38 7 of 14 0 of 0 3-20
Individual Stats Rushing LU - Sims 14-42; Garrett 7-35 UL - Reed 7-55 1 TD; Harris 16-46 1 TD Passing LU - Mossakowski 12-19-0 81 yards; Berry 6-10-1 75 yards UL - Gautier 7-18-0 142 yards 2 TDs; Broadway 6-9-0 61 yards Receiving LU - Ford 5-48; Franks 4-23; Edwards 2-27 UL - Lawson 3-33 1 TD; Maxwell 3-23 1 TD; Robinson 1-86 LAFAYETTE, La. -- Playing against a Football Bowl Subdivision (FBS) team for the first time since reinstating football in 2010, Lamar University couldn’t overcome four first half turnovers in falling 40-0 to former conference rival Louisiana-Lafayette in the season opener. The Ragin’ Cajuns converted Lamar’s turnovers directly into 16 points as they scored all 40 points in the first half. Lamar took better care of the ball in the second half but could not mount an offensive attack to cut into the UL lead. UL scored on its first possession as Brett Baer connected on a careerlong 52-yard field goal with 13:04 to play in the first quarter. The Cardinals held the Cajuns on three straight plays from the Lamar 32-yard line to force the field goal attempt. On Lamar’s first drive, junior transfer quarterback Ryan Mossakowski was hit by Justin Hamilton at the Cards’ 25-yard line for the first turnover of the game. UL recovered at Lamar’s 29-yard line to begin its second drive. Senior quarterback Blaine Gautier hit tight end Jacob Maxwell for a 2yard scoring strike to cap the 29-yard drive and put the Cajuns ahead 10-0. Gautier, who passed for 2,958 yards and 23 touchdowns in 2011, finished the game with 142 passing yards and two touchdowns. Baer would finish with four first half field goals, and in addition to a pair of scoring strikes from Gautier, Alonzo Harris and Effrem Reed each scored from a yard out. Mossakowski finished his first game for Lamar by completing 12-of-19 passes for 81 yards. Backup Caleb Berry was 6-of-10 for 75 yards and the one interception. Lamar’s Herschel Sims would finish with 42 net yards on 14 carries, while DePauldrick Garrett rushed for 35 yards on seven carries in his first game back after missing a season with a shoulder surgery. The Cardinals finished with 194 yards of total offense as compared to 346 for the Ragin’ Cajuns.
82
1 0 14
2 0 7
0 31 3 0 3
4 0 7
F 0 31
Scoring Summary 1st 07:22 LU - Johnson 11 yd pass from Mossakowski (Stout kick) 7-0 01:08 LU - Johnson 8 yd pass from Mossakowski (Stout kick) 14-0 2nd 12:37 LU - Johnson 12 yd run (Stout kick) 21-0 3rd 07:48 LU - Stout 29 yd FG 24-0 4th 05:29 LU - Sims 4 yd run (Stout kick) 31-0 Team Statistics First Downs Rushes-Yards (Net) Passing Yards (Net) Passing C-A-I Total Offense Fumbles-Lost Penalties-Yards Punts-Avg. Punt Returns-Yards Kickoff Returns-Yards Interceptions-Return Yards Possession Time 3rd Down Conversions 4th Down Conversions Sacks By: Number-Yards
PV 12 28-84 165 19-28-1 249 0-0 11-75 5-33.2 1-7 4-75 0-0 23:14 3 of 11 0 of 3 0-0
LU 27 42-208 224 21-30-0 432 2-0 9-90 4-37.5 0-0 0-0 1-15 36:46 7 of 13 0 of 0 4-10
Individual Stats Rushing PV - Smiley 7-30; Anderson 8-27; Brown 9-23 LU - Sims 13-83 1 TD; Garrett 16-79 Passing PV - Smiley 19-27-0 165 yards LU - Mossakowski 21-30-0 224 yards 2 TDs Receiving PV - Nelson 5-59; Cooper 4-43 LU - Franks 4-59; Ford 4-39; Soto 3-40; Johnson 3-39 2 TDs BEAUMONT -- Sophomore wide receiver Kevin Johnson scored three touchdowns, and Lamar’s defense shut down a potent Panthers’ offense, as the Cardinals won their 2012 home 31-0 over Prairie View A&M. Johnson scored on scoring passes of 11 and eight yards from Ryan Mossakowski and added a 12-yard rushing touchdown in the first half as Lamar built a 21-0 lead at intermission. Justin Stout kicked a 29-yard field goal in the third quarter, and sophomore running back Herschel Sims closed the scoring with a 4-yard TD run with less that six minutes to play in the game. Lamar quarterback Ryan Mossakowski finished 21-of-30 for 224 yards and the two touchdown passes. The Cardinals also picked up 208 rushing yards to finish with 432 total yards. As impressive as the LU offense was the Cardinals defense which registered four sacks, held the Panthers to 249 total yards and did not allow PV inside the red zone even once. The Panthers managed just 84 rushing yards with an average of 3.0 per carry and were just 3-of-11 on third down attempts and 0-of-3 on fourth down tries. Junior defensive back Chad Allen registered a career-high 11 tackles to lead all players. Branden Thomas added five stops and an interception, while Jestin White, Jesse Dickson, Blake Burman and David Hollyfield all recorded sacks. Sims led the Cardinals with 83 rushing yards on 13 carries for an average of 6.4 yards per carry. DePauldrick Garrett added 79 yards on 16 carries. PV quarterback Deauntre Smiley finished with 165 passing yards and led the Panthers with 30 rushing yards on seven attempts.
L a m a r Fo otbal l Lamar Hawai`i
Game 3 - 9/15/12
Score by Quarters Lamar Hawai`i
1 0 7
2 0 21
3 0 13
4 2 13
Scoring Summary 1st 09:25 UH - Davis 16 yd pass from Schroeder (Hadden kick) 2nd 08:10 UH - Lister 7 yd run (Hadden kick) 03:51 UH - Bright 8 yd pass from Schroeder (Hadden kick) 02:07 UH - Phillips 21 yd blocked punt return (Hadden kick) 3rd 14:43 UH - Edwards 95 yd kickoff return (Hadden kick) 09:07 UH - Hadden 32 yd FG 08:10 UH - Hadden 31 yd FG 4th 14:10 UH - Gant 9 yd pass from Schroeder (Hadden kick) 08:19 UH - Lister 3 yd run (kick failed) 08:19 LU - Guillory PAT return Team Statistics First Downs Rushes-Yards (Net) Passing Yards (Net) Passing C-A-I Total Offense Fumbles-Lost Penalties-Yards Punts-Avg. Punt Returns-Yards Kickoff Returns-Yards Interceptions-Return Yards Possession Time 3rd Down Conversions 4th Down Conversions Sacks By: Number-Yards
LU 6 28-44 83 11-20-0 127 5-3 8-81 10-37.3 1-0 7-84 0-0 25:56 1 of 12 0 of 1 0-0
2 54
Langston Lamar
F 2 54
Score by Quarters Langston Lamar
0-7 0-14 0-21 0-28 0-35 0-38 0-41 0-48 0-54 2-54
UH 20 48-219 150 15-23-0 369 1-0 5-30 3-26.3 5-45 1-95 0-0 34:04 3 of 11 0 of 1 3-18
Individual Stats Rushing LU - Harris 4-37; Sims 12-8 UH - Gregory 6-62; Lister 10-55 2 TDs; Iosefa 15-55 Passing LU - Mossakowski 11-20-0 83 yards UH - Schroeder 15-23-0 150 yards 3 TDs Receiving LU - Soto 2-22; Sims 2-18; Begelton 2-14; Edwards 2-13 UH - Davis 3-85 1 TD; Iosefa 3-11; Ostrowski 2-15 HONOLULU, Hawai`i -- Three turnovers and several miscues on special teams hurt the Cardinals in Lamar’s 54-2 loss at Hawai`i, its second lost to a Football Bowl Subdivision (FBS) member. Midway through the second quarter, it was just a 7-0 game as the Warriors took advantage of the Cardinals' first turnover. After stopping UH on third down, LU return man Mike Venson couldn't handle the punt and set the Warriors up from the Lamar 16-yard line. On first down, Sean Schroeder found Trevor Davis for a 16-yard scoring strike. UH would grab a 14-0 lead with 8:10 to play in the first half on an 80yard drive that culminated in a 7-yard touchdown run by John Lister. The big play was a 50-yard completion from Schroeder to Davis that put the Warriors inside the Lamar 10. UH would score twice more in the second quarter to build its lead to 28-0 at the half. Schroeder, who finished 15-of-23 for 150 yards and three touchdowns, hit Darius Bright for an 8-yard scoring strike with 3:51 to play in the half. Less than two minutes later, UH was on the board again as John Hardy-Tuliau blocked a Kollin Kahlerpunt and Ne'Quan Phillips scooped it up and returned it 21 yards for the final score of the first half. The Cardinals finally got on the board in the fourth quarter after the UH holder couldn't handle the snap on an extra point attempt. Defensive back Adrian Guillory would pick up the fumble and run it back the length of the field for the Cardinals' only points of the game. UH would score 13 points in the third quarter on a Mike Edwards 95yard kickoff return to open the second half and a pair of Tyler Hadden field goals. Hadden was good from 32 yards with 9:07 to play in the quarter and added a 31-yarder less than a minute later following a fumble by Nashon Davis. Schroeder's third touchdown toss opened the fourth quarter as the Duke transfer found Chris Gant from nine yards out. Lister, who carried 10 times for 55 yards, would add his second rushing touchdown of the game on a 3-yard carry with 8:19 to play.
Game 4 - 9/22/12
1 0 14
2 0 3
0 31 3 0 7
4 0 7
Scoring Summary 1st 14:24 LU - Sims 4 yd run (Stout kick) 05:06 LU - Johnson 34 yd pass from Mossakowski (Stout kick) 2nd 00:02 LU - Stout 37 yd FG 3rd 10:07 LU - Johnson 14 yd pass from Mossakowski (Stout kick) 4th 11:00 LU - Johnson 33 yd pass from Mossakowski (Stout kick) Team Statistics First Downs Rushes-Yards (Net) Passing Yards (Net) Passing C-A-I Total Offense Fumbles-Lost Penalties-Yards Punts-Avg. Punt Returns-Yards Kickoff Returns-Yards Interceptions-Return Yards Possession Time 3rd Down Conversions 4th Down Conversions Sacks By: Number-Yards
LANG 9 30-71 92 13-28-0 163 1-1 5-30 11-40.2 4-5 4-56 1-0 33:21 5 of 18 0 of 0 0-0
F 0 31 7-0 14-0 17-0 24-0 31-0
LU 14 21-88 239 23-36-1 327 2-0 8-82 7-43.9 5-60 1-72 0-0 26:39 6 of 13 0 of 0 4-20
Individual Stats Rushing LANG - Taylor 17-55; Crawford 8-16 LU - Sims 10-47 1 TD; Richards 3-28; Mossakowski 2-16 Passing LANG - Crawford 11-21-0 79 yards; Miles 2-7-0 13 yards LU - Mossakowski 23-36-1 239 yards 3 TDs Receiving LANG - King 6-48; Dean 2-15; Gaines 1-18 LU - Franks 6-73; Ford 5-49; Johnson 4-84 3 TDs BEAUMONT - For the second time in two home games, Lamar University wide receiver Kevin Johnson struck for three touchdowns as the Cardinals posted an impressive 31-0 shutout of Langston.yard return on the opening kickoff. The second Cardinal scoring drive was even quicker than the first as quarterback Ryan Mossakowski hit Johnson for a 34-yard touchdown to end the 1play drive in five seconds. The play, which came at the 5:06 mark of the first quarter, was set up by a 5-yard punt by Langston's David DeHarde. Lamar's defense was strong all night, limiting the Lions to just 163 total yards. The Cards got a blocked field goal from Joe Okafor in the second quarter, recovered a fumble, recorded 11 tackles for loss and picked up four sacks in the game. Junior defensive end Jesse Dickson finished with two of the sacks with Mark Murrill and James Washington registering one each. The Cardinals got a 37-yard field goal out of Justin Stout with two seconds to play in the first half to give Lamar a 17-0 lead at the break. John as Mossakowski found Johnson across the middle and the redshirt sophomore scampered 33 yards to score the final points and cap the 71-yard drive. Johnson would catch four Mossakowski passes on the evening for 84 yards. VanLawrance Franks finished with six grabs for 73 yards, while Barry Ford had five catches for 84 yards. Mossakowski threw his first interception of the year, but still finished 23of-36 for 239 yards and three touchdowns. Lamar would add 115 net rushing yards to finish with 327 total yards. Langston quarterback Brendan Crawford was 11-of-21 for 79 yards before being knocked out of the game in the fourth quarter. William Taylor led the Lions' ground game with 17 carries for 55 yards.
83
La mar Foo tba l l Game 5 - 9/29/12 Southeastern Louisiana Lamar Score by Quarters Southeastern Louisiana Lamar
1 7 0
2 7 7
3 10 7
4 7 7
31 21
Lamar Northwestern State
F 31 21
Score by Quarters Lamar Northwestern State
Scoring Summary 1st 08:54 SLU - Chaney 2 yd run (Sebastian kick) 0-7 2nd 13:44 SLU - Chaney 4 yd run (Sebastian kick) 0-14 10:01 LU - McVey 8 yd pass from Mossakowski (Stout kick) 7-14 3rd 10:28 SLU - Sebastian 26 yd FG 7-17 07:40 LU - McVey 10 yd pass from Mossakowski (Stout kick)14-17 05:27 SLU - Alford 75 yd punt return (Sebastian kick) 14-24 4th 14:55 SLU - LeBlanc 3 yd pass from Stanley (Sebastian kick) 14-31 06:58 LU - McGlothen 96 yd interception return (Stout kick) 21-31 Team Statistics First Downs Rushes-Yards (Net) Passing Yards (Net) Passing C-A-I Total Offense Fumbles-Lost Penalties-Yards Punts-Avg. Punt Returns-Yards Kickoff Returns-Yards Interceptions-Return Yards Possession Time 3rd Down Conversions 4th Down Conversions Sacks By: Number-Yards
SLU 22 51-165 203 16-29-2 368 1-0 9-74 4-45.5 4-105 4-96 4-19 32:28 6 of 17 2 of 5 3-25
LU 15 25-76 168 20-35-4 244 0-0 3-40 6-47.2 2-17 6-133 2-92 27:32 5 of 13 0 of 1 0-0
Individual Stats Rushing SLU - Roberson 15-75; Chaney 18-48 2 TDs; Young 5-18 LU - Sims 10-36; Mossakowski 9-24; Richards 5-13 Passing SLU - Stanley 15-28-2 187 yards 1 TD; Young 1-1-0 16 yards LU - Mossakowski 20-35-4 168 yards 2 TDs Receiving SLU - Smiley 5-33; LeBlanc 3-23 1 TD; McCrea 2-55 LU - Ford 3-29; Johnson 2-41; McVey 2-18 2 TDs BEAUMONT - Southeastern Louisiana used a balanced offensive attack, and took advantage of four Ryan Mossakowski interceptions, to hand Lamar University a 31-21 defeat in the Cardinals' Southland Conference football opener. The Lions finished with a season-high 165 rushing yards and passed for another 203. Lamar's offense would manage just 244 total yards in losing for the first time this season at Provost Umphrey Stadium. After trailing 17-7 early in the third quarter, Lamaryard line. Alford broke to his left and raced up the sideline for a 75-yard score to give the Lions a 24-14 lead with 5:27 to play in the third. first quarter for the first points Lamar's defense had allowed at home this season.. Lamar used an 8-play, 61-yard drive to cut the SLU lead in half. Mossakowski, who finished 20-of-35 for 168 yards, found McVey for his first score of the game from eight yards out to make it 14-7.
84
Game 6 - 10/6/12
1 0 10
2 7 7
3 10 3
23 30 4 6 10
F 23 30
Scoring Summary 1st 09:00 NSU - Shaughnessy 41 yd FG 0-3 04:01 NSU - Harvey 26 yd run (Shaughnessy kick) 0-10 2nd 04:45 LU - Washington 62 yd fumble return (Stout kick) 7-10 02:19 NSU - Nims 4 yd pass from Henderson (Shaughnessy kick) 7-17 3rd 07:34 LU - Johnson 27 yd pass from Berry (Stout kick) 14-17 04:45 NSU - Shaughnessy 42 yd FG 14-20 02:20 LU - Stout 28 yd FG 17-20 4th 06:46 NSU - Walker 3 yd run (Shaughnessy kick) 17-27 03:00 NSU - Shaughnessy 20 yd FG 17-30 00:36 LU - Edwards 8 yd pass from Berry (kick failed) 23-30 Team Statistics First Downs Rushes-Yards (Net) Passing Yards (Net) Passing C-A-I Total Offense Fumbles-Lost Penalties-Yards Punts-Avg. Punt Returns-Yards Kickoff Returns-Yards Interceptions-Return Yards Possession Time 3rd Down Conversions 4th Down Conversions Sacks By: Number-Yards
LU 18 39-105 180 18-36-1 285 3-3 9-77 6-36.7 1 (-3) 7-60 1-0 34:05 6 of 19 4 of 4 1-5
NSU 16 46-206 104 11-24-1 310 3-1 9-101 4-35.8 2-71 5-46 1-3 25:28 2 of 13 0 of 1 5-38
Individual Stats Rushing LU - Sims 19-73; Garrett 5-10; Berry 12-10 NSU - Walker 23-103 1 TD; Harvey 7-84 1TD Passing LU - Berry 18-36-1 180 yards 2 TDs NSU - Henderson 11-24-1 104 yards 1 TD Receiving LU - Ford 7-79; Edwards 3-43 1 TD; Johnson 2-34 1 TD NSU - Brown 3-47; Harvey 3-16 NATCHITOCHES, La. - Lamar University had several opportunities to come away with a road win, but four turnovers would cost the Cardinals in a 30-23 Southland Conference loss at Northwestern State. After trailing 17-7 at the half, the Cardinals twice pulled within three points in the third quarter. Lamar opened the second half with a 14-play, 80-yard drive to make it a 17-14 game with quarterback Caleb Berry hitting Kevin Johnson for a 27-yard scoring strike. NSU answered with a 42-yard field goal from John Shaughnessy to regain a six point lead. However, the Demons' momentum was short lived as Johnson would return the ensuing kickoff 60 yards to the NSU 40. A personal foul call on the Demons added 15 more yards and Lamar was in business from the NSU 25-yard line. After getting a pass interference call to set up first-and-goal from the 8-yard line, Lamar failed to gain a yard on the first two plays. Berry, who was making his first career start for the Cardinals, was sacked on third down back to the 11-yard line. Justin Stout would come on to boot a 28-yard field goal and Lamar was once again within three points at 20-17 with 2:20 to play in the third quarter. Lamar took over trailing 20-17 at its own 17-yard line midway through the fourth quarter. NSU defensive tackle Lesley Deamer sacked Berry for a loss of 15 yards and forced a fumble that he recovered to give the Demons the ball at the Lamar 5-yard line. Running back Robert Walker, who ran for 103 yards on 23 carries, would take it over from the 3-yard line on second down to give the Demons a 27-17 lead with 6:46 to play in the game. The Demons would increase their lead to 30-17 on a 20-yard field goal with three minutes to play in the game. Berry would lead one final scoring drive to pull the Cardinals to within seven, but the Demons would recover Lamar's onside kick attempt with 36 seconds to play to seal the victory. Lamar's final scoring drive covered 78 yards on 10 plays, but took just two minutes and 20 seconds as Berry found Jordan Edwards for an 8-yard touchdown. The duo would connect for three catches covering 43 yards on the drive. With the Demons leading 10-0 in the second quarter, LU defensive back Tyrus McGlothen would deliver a hit on NSU's Daniel Taylor which resulted in a fumble. LU linebacker James Washington scooped up the loose ball and returned it 62 yards for the Cards' first points. NSU answered right back, however, as quarterback Brad Henderson found tight end Tucker Nims for a 4-yard score to cap an 8-play, 68 yard drive and close the first half scoring. Berry would finish his first career start by hitting on 18 of his 36 pass attempts for 180 yards, two touchdowns and an interception. LU linebacker Jermaine Longino led all players with his second straight 13-tackle game. In addition to his fumble return for a touchdown, Washington matched Chad Allen with nine tackles for Lamar.
L a m a r Fo otbal l McMurry Lamar
Game 7 - 10/13/12
Score by Quarters McMurry Lamar
1 3 10
2 0 21
3 3 14
4 15 7
Scoring Summary 1st 11:30 McM - King 40 yd FG 11:16 LU - Johnson 88 yd kickoff return (Stout kick) 02:36 LU - Stout 41 yd FG 2nd 12:40 LU - Johnson 13 yd pass from Berry (Stout kick) 04:07 LU - Johnson 13 yd pass from Berry (Stout kick) 00:04 LU - Johnson 9 yd pass from Berry (Stout kick) 3rd 09:19 McM - King 35 yd FG 07:02 LU - Garrett 35 yd run (Stout kick) 01:02 LU - Harris 8 yd run (Stout kick) 4th 07:26 LU - Thomas 53 yd interception return (Stout kick) 03:19 McM - Simpson 8 yd run (Foust kick) 00:29 McM - Cain 18 yd pass from Lambert (Lambert run) Team Statistics First Downs Rushes-Yards (Net) Passing Yards (Net) Passing C-A-I Total Offense Fumbles-Lost Penalties-Yards Punts-Avg. Punt Returns-Yards Kickoff Returns-Yards Interceptions-Return Yards Possession Time 3rd Down Conversions 4th Down Conversions Sacks By: Number-Yards
McM 22 30-52 317 35-62-2 369 1-0 5-34 4-46.0 1-7 5-53 1-0 35:51 8 of 23 3 of 7 1-12
Game 8 - 10/20/12
21 52
Lamar No. 17 Central Arkansas
F 21 52
Score by Quarters Lamar Central Arkansas
0-3 7-3 10-3 17-3 24-3 31-3 31-6 38-6 45-6 52-6 52-13 52-21
LU 21 40-275 105 8-18-1 380 4-2 8-67 3-41.0 3-23 4-152 2-78 24:09 3 of 8 1 of 1 5-30
Individual Stats Rushing McM - Grayer 13-39; Simpson 6-34 1 TD; Cole 3-10 LU - Garrett 10-104 1 TD; Sims 18-99; Harris 4-48 1 TD; Richards 4-34 Passing McM - Mullin 21-41-1 187 yards; Lambert 14-21-1 130 yards 1 TD LU - Berry 8-18-1 105 yards 3 TDs Receiving McM - Livingston 8-97; Grayer 8-68; Chatman 4-37; Cain 3-36 1 TD LU - Johnson 5-77 3 TDs; Sims 1-14; McVey 1-8; Edwards 1-6 BEAUMONT - Sophomore wide receiver Kevin Johnson scored four touchdowns to tie a school record and lead Lamar University to a 52-21 victory over McMurry University. John increased its lead to 10-3 after one quarter as junior Justin Stout connected on a 41-yard field goal with 2:36 on the clock. Stout's longest field goal since his freshman season capped a 12-play, 44-yard drive. Junior defensive back Brandon Thomas put the Cardinals in business early in the second quarter as he intercepted a Jake Mullin pass and returned it to the War Hawks' 13-yard line. After missing Johnson on first down, LU quarterback Caleb Berry went right back to him on second for a 13-yard score.. Berry, who was getting his second career start, finished 8-of-18 for 105 yards and one interception. Johnson caught five of his passes for 77 yards, while three other players had one catch each. Running back Herschel Sims finished with 18 carries for 99 yards before going out with an injury during the first drive of the third quarter. DePauldrick Garrett proved to be an able backup as he came on to carry for 104 yards on just 10 carries. Included in his total was a 35-yard touchdowns with 7:02 to play in the third quarter that gave the Cardinals a 38-6 lead. Lamar would increase its lead to 45-6 on an 8-yard touchdown run by freshman Darrell Harris with 1:02 to play in the third quarter..
1 0 0
2 0 17
3 7 0
14 24 4 7 7
F 14 24
Scoring Summary 2nd 14:47 UCA - Walker 1 yd run (Camara kick) 0-7 02:14 UCA - Camara 33 yd FG 0-10 00:38 UCA - Croom 19 yd pass from Smothers (Camara kick) 0-17 3rd 01:51 LU - Berry 7 yd run (Stout kick) 7-17 4th 10:00 UCA - Grandy 75 yd pass from Smothers (Camara kick) 7-24 01:18 LU - Garrett 4 yd run (Stout kick) 14-24 Team Statistics First Downs Rushes-Yards (Net) Passing Yards (Net) Passing C-A-I Total Offense Fumbles-Lost Penalties-Yards Punts-Avg. Punt Returns-Yards Kickoff Returns-Yards Interceptions-Return Yards Possession Time 3rd Down Conversions 4th Down Conversions Sacks By: Number-Yards
LU 19 54-186 96 11-19-0 282 2-0 7-50 6-38.3 1-(-1) 3-60 0 37:28 8 of 17 3 of 3 0-0
UCA 14 25-61 276 21-28-0 337 0-0 5-30 4-47.5 2-26 0-0 0 22:32 6 of 13 1 of 1 2-18
Individual Stats Rushing LU - Garrett 25-91 1 TD; Harris 18-78 UCA - Hinton 8-36; Smothers 3-8; Walker 2-4 1 TD Passing LU - Berry 11-19-0 96 yards UCA - Smothers 20-27-0 271 yards 2 TDs Receiving LU - Begelton 5-50; Harris 3-14; Ford 2-18 UCA - Croom 5-47 1 TD; Grandy 4-127 1 TD; Lewis 3-45 CONWAY, Ark. - Lamar University got its running game going in the second half, but the Cardinals could not dig out of a first half hole in falling 24-14 to No. 17 Central Arkansas. With DePauldrick Garrett and Darrell Harris carrying the load, Lamar outscored the Bears by seven in the second half after trailing 17-0 at intermission. The Cardinals put together a pair of impressive second half drives after managing just 79 yards of total offense in the first half. Quarterback Caleb Berry, who was 11-of19 through the air for 96 yards, capped Lamar's first scoring drive with a 7-yard touchdown run with 1:51 to play in the third quarter. After forcing a UCA punt, Lamar seemed to seize the momentum heading into the fourth quarter. However, the Cardinals' drive stalled and Kollin Kahler was forced to punt, hitting a 45-yarder that went out of bounds at the UCA 24-yard line. Terence Bobo managed just a 1-yard run on first down, but UCA quarterback Wynrick Smothers hooked up with Jesse Grandy for a 75-yard touchdown that pushed the Bears lead back to 24-7 with 10:00 to play in the game. Lamar responded with another sustained scoring drive to make it 24-14 as Garrett put the finishing touches on it with a 4-yard scamper into the end zone. Garrett finished with 91 yards on 25 carries against the Bears. The Cards' second scoring drive covered 67 yards and took 16 plays and just over eight and a half minutes. Kahler kept the drive alive early as he ran for 23 yards and a first down on a 4th-and-7 fake punt play. The two teams played to a 0-0 tie through the first quarter, but UCA got on the board just three seconds into the second quarter as backup quarterback Jacoby Walker took it in from a yard out. Lamar's defense, which got a game-high 11 tackles from linebacker Jermaine Longino, allowed the Bears a 33-yard field goal with 2:14 to play in the half as it looked like the Cardinals would trail just 10-0 at the break. However, a three and out forced a Lamar punt and UCA was able to capitalize to close the half. Smothers, who finished 20-of-27 for 271 yards passing, hit Dominique Croom in the back of the end zone for a 19-yard score with just 38 seconds showing on the clock. Lamar would outgain UCA 203-110 in the second half as the Cardinals finished with 282 yards of total offense in the game, including 186 on the ground. Harris, who had a season-high 18 carries in the game, finished with 78 rushing yards to compliment Garrett’s strong effort. Reggie Begelton caught five balls for 50 yards.
85
La mar Foo tba l l Game 9 - 10/27/12 No. 5 Sam Houston State Lamar Score by Quarters Sam Houston State Lamar
1 7 0
2 14 0
3 21 7
4 14 0
Scoring Summary 1st 02:04 SHSU - Flanders 7 yd run (Antonio kick) 2nd 12:29 SHSU - Flanders 1 yd run (Antonio kick) 01:16 SHSU - Diller 48 yd pass from Bell (Antonio kick) 3rd 13:54 SHSU - Flanders 59 yd run (Antonio kick) 09:56 SHSU - Flanders 10 yd run (Antonio kick) 04:38 SHSU - Hill 6 yd run (Antonio kick) 04:26 LU - Johnson 89 yd kickoff return (Stout kick) 4th 13:06 SHSU - Wilkerson 42 yd pass from Sincere (Antonio kick) 04:41 SHSU - Morgan 3 yd run (Antonio kick) Team Statistics First Downs Rushes-Yards (Net) Passing Yards (Net) Passing C-A-I Total Offense Fumbles-Lost Penalties-Yards Punts-Avg. Punt Returns-Yards Kickoff Returns-Yards Interceptions-Return Yards Possession Time 3rd Down Conversions 4th Down Conversions Sacks By: Number-Yards
SHSU 20 46-378 130 11-15-0 508 0-0 10-79 5-41.4 1-2 1-23 1-0 28:53 4 of 10 1 of 1 4-29
Game 10 - 11/3/12
56 7
Lamar Stephen F. Austin
F 56 7
Score by Quarters Lamar Stephen F. Austin
0-7 0-14 0-21 0-28 0-35 0-42 7-42 7-49 7-56
LU 16 41-85 96 12-26-1 181 4-2 4-50 6-41.0 1-1 6-144 0-0 31:07 4 of 17 2 of 3 0-0
Individual Stats Rushing SHSU - Flanders 16-131 4 TDs; Hill 7-89 1 TD; Bell 4-44 LU - Richards 9-44; Harris 15-36; Garrett 10-21
1 6 7
2 0 20
3 14 10
26 40 4 6 3
Scoring Summary 1st 09:36 SFA - Gentry 13 yd run (Wiggs kick) 05:45 LU - Stout 34 yd FG 02:09 LU - Stout 34 yd FG 2nd 13:08 SFA - Wiggs 33 yd FG 06:50 SFA - Ward 11 yd pass from Attaway (Wiggs kick) 03:51 SFA - Wiggs 29 yd FG 00:24 SFA - Lott 12 yd pass from Attaway (Wiggs kick) 3rd 05:58 LU - Edwards 60 yd pass from Mossakowski (Stout kick) 04:03 SFA - Gambel 8 yd pass from Minden (Wiggs kick) 03:00 LU - Edwards 39 yd pass from Mossakowski (Stout kick) 00:18 SFA - Wiggs 27 yd FG 4th 09:56 SFA - Wiggs 21 yd FG 06:23 LU - Edwards 56 yd pass from Mossakowski (kick failed) Team Statistics First Downs Rushes-Yards (Net) Passing Yards (Net) Passing C-A-I Total Offense Fumbles-Lost Penalties-Yards Punts-Avg. Punt Returns-Yards Kickoff Returns-Yards Interceptions-Return Yards Possession Time 3rd Down Conversions 4th Down Conversions Sacks By: Number-Yards
LU 14 39-98 248 16-41-2 346 4-2 11-94 6-44.7 1-0 9-344 4-22 31:59 3 of 19 3 of 6 1-12
F 26 40 0-7 3-7 6-7 6-10 6-17 6-20 6-27 13-27 13-34 20-34 20-37 20-40 26-40
SFA 34 39-147 390 38-70-4 537 1-0 1-15 5-34.8 0-0 1-18 2-35 28:01 8 of 23 1 of 1 4-28
Passing SHSU - Bell 9-13-0 84 yards 1 TD; Sincere 2-2-0 46 yards 1 TD LU - Berry 12-24-1 96 yards; Mossakowski 0-2-0 0 yards
Individual Stats Rushing LU - Garrett 20-68; Harris 7-31 SFA - Gentry 19-93 1 TD; Barnes 9-52
Receiving SHSU - Diller 6-80 1 TD; Wilkerson 2-40 1 TD LU - Ford 6-32; Gladney 1-17; Garrett 1-14
Passing LU - Mossakowski 11-27-1 231 yards 3 TDs; Berry 5-14-1 17 yards SFA - Attaway 26-48-3 242 yards 2 TDs; Mindey 12-22-1 148 yards 1 TD
BEAUMONT - No. 5 Sam Houston State rode leading rusher Tim Flanders to a 56-7 Southland Conference victory over Lamar University. Flanders ran for 131 yards and scored four touchdowns to match the Provost Umphrey Stadium records for points and touchdowns., a 1-yard run, would come less than five minutes later as the Bearkats took advantage of a DePauldrick Garrett fumble.. On first down, quarterback Brian Bell hooked up with receiver Trey Diller for a 48-yard touchdown to give the Bearkats the 21-0 lead they would take into intermission. Bell finished 9-of-13 on the day for just 84 yards, but added 44 yards rushing. Flanders struck for a pair of scores right at the start of the second half to lead the Bearkats to a 21-point third quarter. The junior scored from 59 yards out with 13:54 to play and added a 10-yard score.
Receiving LU - Edwards 6-208 3 TDs; Ford 2-13; Garrett 2-13 SFA - Ward 11-105 1 TD; Thomas 6-46; Lacy 6-44; Lott 5-68 1 TD
86
NACOGDOCHES -- Quarterback Ryan Mossakowski came off the Cardinals' bench in the second half to throw three long touchdown passes to Jordan Edwards, but Lamar couldn't overcome a 21-point halftime deficit in falling 40-26 at Stephen F. Austin. The first came after a James Washington interception as Mossakowski hit Edwards for a 60-yard score to make it a 27-13 game with 5:58 to play in the third. SFA answered with a touchdown less than two minutes later as backup quarterback Joe Minden found Ryan Gambel from eight yards out to cap an eight-play, 65yard `Jacks to push the lead back to 37-20. Wiggs hit four field goals in the game for the Lumberjacks, including a 21-yarder with just under 10 minutes to play in the game. pick. Edwards, who was celebrating his 22nd birthday, became just the second Cardinals' receiver in school history to go over 200 yards in a game as he finished with 208 yards on six catches, all coming in the second half. The Lumberjacks struck first in the game with a touchdown following Collin Garrett's interception of a Caleb Berry pass.. Attaway finished 26-of-48 for 242 yards and two touchdowns before being pulled in the third quarter. Wiggs would add a 29-yard field goal three minutes later as SFA went ahead 20-6.
L a m a r Fo otbal l Nicholls Lamar
Game 11 - 11/10/12
Score by Quarters Nicholls Lamar
1 3 7
2 0 13
3 14 0
4 7 14
24 34
Lamar McNeese State
F 24 34
Score by Quarters Lamar McNeese State
Scoring Summary 1st 10:33 LU - Johnson 15 yd pass from Mossakowski (Stout kick) 7-0 04:58 NSU - Dolan 25 yd FG 7-3 2nd 02:31 LU - Ford 20 yd pass from Mossakowski (Stout kick) 14-3 00:24 LU - Begelton 8 yd pass from Mossakowski (kick failed)20-3 3rd 08:43 NSU - Washington 1 yd run (Dolan kick) 20-10 04:56 NSU - Caston 4 yd run (Dolan kick) 20-17 4th 11:19 LU - Berry 16 yd run (Stout kick) 34-17 05:42 LU - Prescot 26 yd int return (Stout kick) 34-17 01:50 NSU - Klann 9 yd run (Dolan kick) 34-24 Team Statistics First Downs Rushes-Yards (Net) Passing Yards (Net) Passing C-A-I Total Offense Fumbles-Lost Penalties-Yards Punts-Avg. Punt Returns-Yards Kickoff Returns-Yards Interceptions-Return Yards Possession Time 3rd Down Conversions 4th Down Conversions Sacks By: Number-Yards
NSU 22 32-136 209 26-42-3 345 2-0 6-45 2-22.0 2-17 2-33 2-37 29:38 4 of 15 2 of 3 2-14
LU 23 39-159 194 18-30-2 353 1-1 7-70 2-39.0 0-0 2-6 3-26 30:22 11 of 15 0 of 1 5-43
Individual Stats Rushing NSU - Washington 15-104 1 TD; Turner 3-31 LU - Berry 4-70 1 TD; Garrett 15-61; Harris 5-21 Passing NSU - Klann 26-42-3 209 yards LU - Mossakowski 15-24-2 168 yards 3 TDs; Berry 3-5-0 26 yards Receiving NSU - Turner 6-42; Scelfo 4-45; Washington 4-45 LU - Ford 9-111 1 TD; Begelton 4-33 1 TD; Johnson 2-24 1 TD BEAUMONT - Kevin Johnson tied the Lamar single-season school record for touchdowns, and fellow receiver Barry Ford finished with nine catches for 111 yards and a score, as Lamar University closed out its home football schedule with a 34-24 Southland Conference victory over Nicholls. Johnson gave Lamar a 7-0 lead less than five minutes into the game on a 15yard reception from Ryan Mossakowski to tie Sammy Carpenter's 1952 school record for touchdowns in a season with 13. After trailing 20-3 at the half, Nicholls scored a pair of third quarter touchdowns to pull within three points at 20-17 with less than five to play in the third. Marcus Washington, who finished with 104 yards on 15 carries for the Colonels, scored Nicholls' first touchdown. After Mossakowski was intercepted by Toren Joseph on the Cards ensuing driven, NSU was in business at the Lamar 26-yard line. The Colonels needed just five plays to cover the 26 yards with LaQuintin Caston taking it in from four yards to make it a 20-17 game with 4:56 to play in the third. Caleb Berry, who replaced Mossakowski, then went to work using his arm and legs to lead the Cardinals on a 90-yard touchdown drive to rebuild their advantage to 10 points. Berry capped the 15-play drive with three straight runs, including a 16-yard dash into the end zone with 11:19 to play in the game. Defensive tackle John Prescott would give Lamar even more breathing room with 5:42 to play in the contest as he intercepted Landry Klann and rumbled 26 yards for a touchdown that gave the Cardinals a 34-17 lead. Klann added a 9-yard scoring run with 1:50 to play in the game to provide the final scoring, but the LU defense had already left its mark on the game. The Cardinals finished with three interceptions and five sacks for 43 yards of losses. Marcus Malbrough registered two of the Cardinals’ sacks, adding another tackle for loss, a forced fumble and a pair of quarterback hurries. Linebacker Jermaine Longino led the Cards with nine tackles, including a sack, and also forced a fumble. Ford found the end zone for the first time all year with 2:31 to play in the first half. Mossakowski, who finished 15-of-24 for 168 yards before leaving the game, hit Ford for a 20-yard scoring strike to end a 14-play, 80-yard drive. Lamar would need just 1:11 to build the 20-3 lead with Mossakowski finding Reggie Begelton for an 8-yard score to finish the drive. Klann finished 26-of-42 on the day for 209 yards. Jesse Turner led Nicholls with six catches for 42 yards as 10 separate Colonels caught a pass in the game.
Game 12 - 11/17/12
1 0 7
2 0 7
3 0 14
0 35 4 0 7
Scoring Summary 1st 00:40 McN - Wiltz 1 yd run (Lewis kick) 2nd 00:21 McN - Spencer 46 yd pass from Stroud (Lewis kick) 3rd 09:25 McN - Thomas 2 yd pass from Stroud (Lewis kick) 06:17 McN - Bennett 93 yd run (Lewis kick) 4th 05:43 McN - Carey 20 yd run (Lewis 20 46-149 68 13-20-0 217 4-3 5-25 6-40.5 2-14 4-73 0-0 34:42 3 of 11 0 of 0 1-10
F 0 35 0-7 0-14 0-21 0-28 0-35
McN 15 34-264 158 10-18-0 422 0-0 6-70 5-47.6 4-49 1-5 0-0 25:18 2 of 10 2 of 3 6-38
Individual Stats Rushing LU - Garrett 23-112; Harris 8-41 McN - Bennett 4-112 1 TD; Wiltz 15-72 1 TD; Carey 4-63 1 TD Passing LU - Berry 13-20-0 68 yards McN - Stroud 1-18-0 158 yards 2 TDs Receiving LU - Ford 5-39; Edwards 4-19; McVey 3-15 McN - Spencer 3-64 1 TD; Jordan 2-39; Carey 2-17 LAKE CHARLES, La. - DePauldrick Garrett had a strong outing in his final game, but his career-best 112 yards on 23 carries went for naught as Lamar. Cody Stroud. Loveless finished with three fumble recoveries, all in the first half, tying the Southland conference record. It was the second lost fumble of the night for Berry, who ended the game 13-for20 passing for 68 yards. He was also sacked six times. Barry Ford led the team in receiving with five catches for 39 yards. Jordan Edwards had four for 19.. Darius Carey and the Cowboy offense answered on the next drive as the senior had a 33-yard carry early and finished with a 20-yard jaunt to put McNeese up 35-0.
87
La mar Foo tba l l The Southland Conference In an era of considerable change in intercollegiate athletics, the Southland Conference continues to be a model of innovation, stability and consistent achievement as it celebrates a halfcentury. Southland Conference football ranks among the best Football Championship Subdivision leagues in the nation, and enjoys an annual expectation of competing for the national championship with multiple teams advancing to the NCAA playoffs each year. In 2011 and 2012, Sam Houston State advanced to the NCAA national championship game. Also, in 2002 and 2003, McNeese State finished the regular season ranked No. 1 in the nation, and advanced to the 2002 national championship contest. The conference has been represented in eight national championship games since the league joined the FCS (formerly I-AA) in 1982. All told, Southland teams have played in 104 Division I playoff games in 31 years, winning 51 of the contests. Historically, the Southland’s successful football heritage has sustained itself through numerous membership and classification changes. The Southland joined the NCAA College Division in 1968, and was designated as NCAA Division II in 1973 before joining Division I in 1975. The Southland was an NCAA Division I-A league from 1978-81, before joining the ranks of FCS in 1982, its home ever since.
88
During its tenure as a Division I-A conference, the Southland Conference initiated the startup of the Shreveport, La.-based Independence Bowl in 1976. The Southland Division I-AA six trips to the postseason, including the semifinals in 2004. Nicholls State has participated three times in the playoffs, and Central Arkansas has made consecutive playoff appearances in 2011 and 2012. On four occasions, the Southland has placed three teams in the NCAA playoffs. The Southland has produced 168 (206) in the National Football League draft. There have been 26 Southland players taken in the draft since 2000, including Southeastern Louisiana defensive back Robert Alford, who was picked as the first FCS player in the second round of the 2013 draft. There are 20 former Southland players on NFL rosters heading into the 2013 season. Southland Conference alums in the NFL include Buffalo’s Terrence McGee (Northwestern State) and Chicago’s Josh McCown (Sam Houston State), who have each been in the league for the last 11 seasons. Other recent NFL additions from the Southland include Green Bay’s Kevin Hughes (Southeastern Louisiana), St. Louis’ Jabara Williams (Stephen F. Austin) Washington’s Devin Holland (McNeese State), Atlanta’s Marcus Jackson (Lamar) and Cleveland’s Dominique Croom (Central Arkansas). The Southland has seen former Nicholls State players win Super Bowl rings in two of the last three seasons, as former Colonel Antonio Robinson was a member of the Green Bay Packers' Super Bowl XLV champions. And, Nicholls-ex Lardarius Webb was a member of the Super Bowl XLVII champion Baltimore Ravens.-athletes with grade-point averages above 3.0 are honored on the Southland’s annual All-Academic teams and Commissioner’s Honor Roll. A record 979 student-athletes appeared on the honor roll following the 2012 spring semester, and total of 1,545 student-athletes earned a spot on the honor roll at the end of the fall and spring semesters during the 2012-13 academic year. While successful on the fields and courts, the Southland Conference has repeatedly demonstrated its commitment to the academic and athletic success of its student-athletes. The conference continues to make great strides in the classroom. During the last seven.
L a m a r Fo otbal l 2012 Southland Conference Standings Central Arkansas Sam Houston State Southeastern Louisiana McNeese State Stephen F. Austin Northwestern State Lamar Nicholls
W 6 6 5 4 4 2 1 0
L 1 1 2 3 3 5 6 7
SLC Games Pct. PF .857 215 .857 335 .714 174 .571 202 .571 254 .286 149 .143 125 .000 100
PA 144 101 214 153 218 227 240 257
W 9 11 5 7 5 4 4 1
L 3 4 6 4 6 7 8 10
All Games Pct. PF .750 418 .733 600 .455 207 .636 357 .455 375 .364 265 .333 241 .091 195
PA 270 322 382 233 368 354 355 426
Streak Lost 1 Lost 1 Won 2 Won 1 Won 1 Lost 3 Lost 1 Lost 8
2012 All-Southland Conference Teams First-Team Offense
Pos. QB RB RB TE/HB WR WR WR OL OL OL OL OL AP PK
Name Wynrick Smothers Timothy Flanders3 Gus Johnson T.J. Jones Cordell Roberson3 Jesse Grandy2 Dominque Croom Corey Howard Kaleb Hopson2 John Steel2 Arinze Agada Chris Rogers Richard Sincere2 Eddie Camara2
First-Team Defense Pos. DL DL DL DL LB LB LB DB DB DB DB DB P KR PR
Name Willie Jefferson2 J.T. Cleveland3 Jonathan Woodard Darren Robinson Darius Taylor Seth Allison2 Derek Rose3 Darnell Taylor2 Robert Alford2 Dax Swanson2 Josh Aubrey Jestin Love3 Matt Foster2 Jesse Grandy2 Jesse Grandy2
University Central Arkansas Sam Houston State Stephen F. Austin Sam Houston State Stephen F. Austin Central Arkansas Central Arkansas Central Arkansas Sam Houston State Stephen F. Austin McNeese State Sam Houston State Sam Houston State Central Arkansas
Ht. 6-1 5-9 5-10 6-3 6-3 5-11 6-1 6-1 6-6 6-5 6-1 5-11 5-10 5-9
Wt. Cl. Hometown 208 Jr. Destrehan, La. 210 Jr. Midwest City, Okla. 215 So. Gilmer, Texas 245 Sr. Tyler, Texas 215 Sr. Jefferson, Texas 165 Sr. Pine Bluff, Ark. 193 Sr. Cherokee, Ala. 290 Sr. Wichita Falls, Texas 300 Sr. Early, Texas 295 Sr. Boyd, Texas 286 Jr. Houston, Texas 270 Sr. Littleton, Colo. 180 Jr. Galveston, Texas 168 So. Cedar Hill, Texas
University Stephen F. Austin Sam Houston State Central Arkansas Stephen F. Austin Sam Houston State Central Arkansas Northwestern State Sam Houston State Southeastern La. Sam Houston State Stephen F. Austin Central Arkansas Sam Houston State Central Arkansas Central Arkansas
Ht. 6-6 6-0 6-5 5-11 6-0 5-11 5-11 6-0 6-0 5-11 5-11 6-0 6-6 5-11 5-11
Wt. Cl. Hometown 234 Sr. Beaumont, Texas 290 Sr. Baytown, Texas 251 Fr. Brentwood, Tenn. 247 So. Dallas, Texas 240 Sr. Mesquite, Texas 195 Sr. Stuttgart, Ark. 229 Sr. New Orleans, La. 195 Sr. Mesquite, Texas 185 Sr. Hammond, La. 185 Sr. Waco, Texas 202 Sr. Tyler, Texas 208 Jr. West Memphis, Ark. 195 Sr. Melbourne, Australia 165 Sr. Pine Bluff, Ark. 165 Sr. Pine Bluff, Ark.
Second-Team Offense Pos. QB RB RB TE/HB WR WR WR OL OL OL OL OL AP PK
Name University Brian Bell2 Sam Houston State Marcus Wiltz McNeese State Jackie Hinton2 Central Arkansas Nick Scelfo2 Nicholls State Trey Diller Sam Houston State Darius Carey McNeese State D.J. Ward Stephen F. Austin Alec Savoie2 McNeese State Gasten Gabriel Southeastern La. Taylor Johnson McNeese State Cole Caruthers Central Arkansas Sean Robertson Lamar Xavier Roberson Southeastern La. John Shaughnessy2 Northwestern State
Second-Team Defense Pos. DL DL DL DL LB LB LB DB DB DB DB DB P KR PR
Name Matt Hornbuckle Gary Lorance Jesse Dickson Everett Ellefsen Jordan Piper Devan Walker Joe Narcisse Terence Cahee Kenneth Jenkins3 Bookie Sneed2 Jamaal White3 Cortez Paige Beau Mothe Trey Diller Darius Carey
University Central Arkansas Sam Houston State Lamar McNeese State Nicholls State Southeastern La. McNeese State McNeese State Sam Houston State Sam Houston State Northwestern State Northwestern State Southeastern La. Sam Houston State McNeese State
Ht. 6-2 5-9 5-10 6-4 6-2 6-0 5-11 6-7 6-5 6-4 6-4 6-1 5-9 5-11
Wt. Cl. Hometown 175 Jr. China Spring, Texas 192 Jr. Cecilia, La. 210 Sr. Houston, Texas 235 So. Baton Rouge, La. 200 Sr. Spring, Texas 184 Sr. New Orleans, La. 180 Fr.The Woodlands, Texas 309 Sr. Lafayette, La. 310 Jr. Jackson, La. 290 Sr. League City, Texas 284 So. Sugarland, Texas 270 Sr. Copperas Cove, Texas 170 Fr. Atlanta, Ga. 181 Sr. Shreveport, La.
Ht. 6-2 6-0 6-3 6-3 5-10 6-3 5-11 5-9 5-10 6-0 6-0 6-1 6-3 6-2 6-0
Wt. Cl. 281 Jr. 290 Jr. 265 Jr. 230 So. 242 Sr. 240 Sr. 222 Sr. 190 Jr. 195 Sr. 180 Jr. 192 Sr. 181 Sr. 210 Sr. 200 Sr. 184 Sr.
Hometown Colleyville, Texas Baytown, Texas Houston, Texas Madisonville, La. New Orleans, La. Baton Rouge, La. Vacherie, La. Westlake, La. Galveston, Texas Conroe, Texas Garland, Texas Houston, Texas New Orleans, La. Spring, Texas New Orleans, La..
2012 Southland Individual Awards
89
La mar Foo tba l l 2012 Southland Conference Team Statistics SCORING OFFENSE 1. Sam Houston State 2. Central Arkansas 3. Stephen F. Austin 4. McNeese State 5. Northwestern State 6. Lamar 7. Southeastern La. 8. Nicholls State
G 15 12 11 11 11 12 11 11
TD 77 54 48 46 32 32 27 24
XP 2XP DXP FG 74 0 1 20 53 0 0 13 40 1 0 15 45 0 0 12 29 1 0 14 29 0 1 6 23 2 0 6 21 0 0 10
Saf 1 1 0 0 0 0 0 0
Pts 600 418 375 357 265 241 207 195
Avg 40.0 34.8 34.1 32.5 24.1 20.1 18.8 17.7
PASS DEFENSE 1. Lamar 2. Southeastern La. 3. Northwestern State 4. Central Arkansas 5. Stephen F. Austin 6. Sam Houston State 7. McNeese State 8. Nicholls State
G 12 11 11 12 11 15 11 11
Att 394 324 367 366 351 494 419 379
SCORING DEFENSE 1. McNeese State 2. Sam Houston State 3. Central Arkansas 4. Lamar 5. Northwestern State 6. Stephen F. Austin 7. Southeastern La. 8. Nicholls State
G 11 15 12 12 11 11 11 11
TD 29 42 36 43 44 48 51 56
XP 2XP DXP FG Saf 26 3 0 9 0 36 2 0 10 0 30 0 0 8 0 41 1 0 18 0 42 0 0 16 0 43 1 0 11 1 44 1 0 10 0 54 0 0 12 0
Pts 233 322 270 355 354 368 382 426
Avg 21.2 21.5 22.5 29.6 32.2 33.5 34.7 38.7
PASS EFFICIENCY 1. Sam Houston State 2. Central Arkansas 3. McNeese State 4. Stephen F. Austin 5. Nicholls State 6. Northwestern State 7. Lamar 8. Southeastern La.
G 15 12 11 11 11 11 12 11
Att 334 437 294 679 355 345 340 349
Cmp 205 285 180 395 205 189 189 189
Pct 61.4 65.2 61.2 58.2 57.7 54.8 55.6 54.2
Int 12 10 6 26 16 7 13 10
Yds 2853 3199 2239 4240 2443 1979 1857 2165
TD 26 32 21 31 10 14 18 11
Effic 151.6 146.3 144.7 118.0 115.8 112.3 111.3 110.9
TOTAL OFFENSE 1. Stephen F. Austin 2. Sam Houston State 3. McNeese State 4. Central Arkansas 5. Nicholls State 6. Southeastern La. 7. Northwestern State 8. Lamar
G 11 15 11 12 11 11 11 12
Rush 1309 4025 2304 1602 1279 1136 1286 1511
Pass Plays Yards Avg/P TD Yds/G 4240 1007 5549 5.5 47 504.5 2853 1076 6878 6.4 72 458.5 2239 735 4543 6.2 44 413.0 3199 865 4801 5.6 49 400.1 2443 703 3722 5.3 24 338.4 2165 749 3301 4.4 22 300.1 1979 734 3265 4.4 28 296.8 1857 791 3368 4.3 26 280.7
PASS EFFICIENCY DEF 1. Lamar 2. McNeese State 3. Sam Houston State 4. Central Arkansas 5. Northwestern State 6. Southeastern La. 7. Stephen F. Austin 8. Nicholls State
G 12 11 15 12 11 11 11 11
Att 394 419 494 366 367 324 351 379
Cmp 228 263 259 217 213 184 197 240
Int 13 15 18 15 10 12 9 11
Pct. 57.9 62.8 52.4 59.3 58.0 56.8 56.1 63.3
Yds 2397 2614 3524 2634 2365 2259 2437 2894
TD 17 16 27 15 22 20 23 25
Effic 116.6 120.6 123.1 125.1 126.5 128.3 130.9 143.4
TOTAL DEFENSE 1. Sam Houston State 2. Stephen F. Austin 3. McNeese State 4. Lamar 5. Central Arkansas 6. Southeastern La. 7. Northwestern State 8. Nicholls State
G 15 11 11 12 12 11 11 11
Rush 1478 1320 1269 1926 1920 2004 2130 2119
Pass Plys Yards 3524 947 5002 2437 782 3757 2614 784 3883 2397 837 4323 2634 853 4554 2259 774 4263 2365 840 4495 2894 825 5013
KICKOFF RETURNS 1. Lamar 2. Sam Houston State 3. Stephen F. Austin 4. Central Arkansas 5. Southeastern La. 6. Northwestern State 7. McNeese State 8. Nicholls State
G 12 15 11 12 11 11 11 11
Ret 52 44 39 33 60 53 39 52
Yds 1184 940 830 695 1255 1059 736 959
TD 2 0 0 0 2 2 0 0
Avg 22.8 21.4 21.3 21.1 20.9 20.0 18.9 18.4
G 11 11 11 12 15 11 12 11
Ret 10 19 21 20 36 15 17 30
Yds 193 346 299 273 477 111 111 187
TD 2 0 0 2 1 0 0 0
Avg 19.3 18.2 14.2 13.6 13.2 7.4 6.5 6.2
Avg 5.3 4.8 5.0 5.2 5.3 5.5 5.4 6.1
TD Yds/G 39 333.5 39 341.5 29 353.0 40 360.2 36 379.5 44 387.5 40 408.6 54 455.7
Cmp 228 184 213 217 197 259 263 240
RUSHING OFFENSE 1. Sam Houston State 2. McNeese State 3. Central Arkansas 4. Lamar 5. Stephen F. Austin 6. Northwestern State 7. Nicholls State 8. Southeastern La.
G 15 11 12 12 11 11 11 11
Att 742 441 428 451 328 389 348 400
Yds 4025 2304 1602 1511 1309 1286 1279 1136
Avg TD 5.4 46 5.2 23 3.7 17 3.4 8 4.0 16 3.3 14 3.7 14 2.8 11
Yds/G 268.3 209.5 133.5 125.9 119.0 116.9 116.3 103.3
PUNT RETURN AVG 1. Southeastern La. 2. Northwestern State 3. McNeese State 4. Central Arkansas 5. Sam Houston State 6. Nicholls State 7. Lamar 8. Stephen F. Austin
RUSHING DEFENSE 1. Sam Houston State 2. McNeese State 3. Stephen F. Austin 4. Central Arkansas 5. Lamar 6. Southeastern La. 7. Nicholls State 8. Northwestern State
G 15 11 11 12 12 11 11 11
Att 453 365 431 487 443 450 446 473
Yards Avg. TD 1478 3.3 12 1269 3.5 13 1320 3.1 16 1920 3.9 21 1926 4.3 23 2004 4.5 24 2119 4.8 29 2130 4.5 18
Yds/G 98.5 115.4 120.0 160.0 160.5 182.2 192.6 193.6
PUNTING 1. Sam Houston State 2. Nicholls State 3. Central Arkansas 4. McNeese State 5. Northwestern State 6. Lamar 7. Stephen F. Austin 8. Southeastern La.
G No. Yards 15 65 2767 11 52 2185 12 67 2681 11 49 2006 11 75 2830 12 68 2782 11 60 2218 11 62 2548
Avg 6.2 7.3 6.9 7.6 6.2 8.5 5.7 5.5
FIELD GOALS 1. Central Arkansas 2. Northwestern State 3. Sam Houston State 4. Stephen F. Austin 5. Nicholls State 6. McNeese State 7. Lamar 8. Southeastern La.
G 12 11 15 11 11 11 12 11
PASS OFFENSE 1. Stephen F. Austin 2. Central Arkansas 3. Nicholls State 4. McNeese State 5. Southeastern La. 6. Sam Houston State 7. Northwestern State 8. Lamar
90
G 11 12 11 11 11 15 11 12
Att 679 437 355 294 349 334 345 340
Cmp 395 285 205 180 189 205 189 189
Int 26 10 16 6 10 12 7 13
Pct. 58.2 65.2 57.7 61.2 54.2 61.4 54.8 55.6
Yds 4240 3199 2443 2239 2165 2853 1979 1857
TD Yds/G 31 385.5 32 266.6 10 222.1 21 203.5 11 196.8 26 190.2 14 179.9 18 154.8
Made 13 14 20 15 10 12 6 6
Att 15 17 25 20 14 18 10 14
Int 13 12 10 15 9 18 15 11
Pct. 57.9 56.8 58.0 59.3 56.1 52.4 62.8 63.3
Avg/P 42.6 42.0 40.0 40.9 37.7 40.9 37.0 41.1 Pct .867 .824 .800 .750 .714 .667 .600 .429
Yds 2397 2259 2365 2634 2437 3524 2614 2894
PR 106 141 111 176 208 381 217 470
Avg 6.1 7.0 6.4 7.2 6.9 7.1 6.2 7.6
Avg 1.6 2.7 1.7 3.6 2.8 5.6 3.6 7.6
TD Yds/G 17 199.8 20 205.4 22 215.0 15 219.5 23 221.5 27 234.9 16 237.6 25 263.1
TBg 6 4 7 3 2 3 2 3
Net/P 39.1 37.8 36.3 36.1 34.4 34.4 32.7 32.5
L a m a r Fo otbal l 2012 Southland Conference Team & Individual Statistics SACKS BY 1. Sam Houston State 2. Stephen F. Austin 3. Central Arkansas 4. Southeastern La. 5. Lamar 6. McNeese State 7. Northwestern State 8. Nicholls State
G Sacks Yards 15 38 11 31 12 30 11 25 12 21 11 20 11 15 11 11
SACKS AGAINST 1. Sam Houston State 2. Stephen F. Austin 3. Southeastern La. McNeese State 5. Central Arkansas 6. Lamar 7. Northwestern State 8. Nicholls State
G 15 11 11 11 12 12 11 11
INTERCEPTIONS 1. Sam Houston State 2. Central Arkansas 3. McNeese State 4. Lamar 5. Southeastern La. 6. Nicholls 7. Northwestern State 8. Stephen F. Austin FIRST DOWNS 1. Sam Houston State 2. Stephen F. Austin 3. Central Arkansas 4. McNeese State 5. Lamar 6. Nicholls State 7. Northwestern State 8. Southeastern La.
Sacks 6 10 18 18 22 33 34 43 G 15 12 11 12 11 11 11 11
Gained TURNOVER MARGIN G Fum Int Tot 1. McNeese State 11 13 15 28 2. Sam Houston State 15 12 18 30 3. Central Arkansas 12 12 15 27 4. Northwestern State 11 10 10 20 5. Southeastern La. 11 6 12 18 6. Nicholls State 11 11 11 22 7. Lamar 12 3 13 16 8. Stephen F. Austin 11 17 9 26
274 199 177 157 130 156 104 68
Yards 46 85 122 130 128 240 191 286 No. 18 15 15 13 12 11 10 9
G Rush Pass 15 183 116 11 80 200 12 91 145 11 109 110 12 93 93 11 69 99 11 66 82 11 54 105
Yards 234 131 52 233 82 185 172 41
TD 3 0 2 3 0 0 2 0
Avg. 13.0 8.7 3.5 17.9 6.8 16.8 17.2 4.6
Pen Total 26 325 37 317 18 254 27 246 20 206 28 196 33 181 19 178
G 15 11 12 11 12 11 11 11
Conv 98 56 76 80 63 55 53 43
Att 215 133 184 200 173 167 168 141
Pct 45.6 42.1 41.3 40.0 36.4 32.9 31.5 30.5
4TH-DN CONVERSIONS 1. Central Arkansas 2. McNeese State 3. Northwestern State 4. Lamar 5. Sam Houston State 6. Stephen F. Austin 7. Southeastern La. 8. Nicholls State
G 12 11 11 12 15 11 11 11
Conv 15 6 9 13 10 10 13 8
Att 19 9 15 22 18 24 34 23
Pct 78.9 66.7 60.0 59.1 55.6 41.7 38.2 34.8
G 15 12 11 12 11 11 11 11
Lost Int 6 12 10 7 10 16 13 26
Tot 12 20 21 20 21 29 32 41
Mar +16 +10 +6 +0 -3 -7 -16 -15
Per/G 1.45 0.67 0.50 0.00 -0.27 -0.64 -1.33 -1.36
Individual Statistics
3RD-DN CONVERSIONS 1. Sam Houston State 2. McNeese State 3. Central Arkansas 4. Stephen F. Austin 5. Lamar 6. Southeastern La. 7. Northwestern State 8. Nicholls State
TIME OF POSSESSION 1. Sam Houston State 2. Lamar 3. McNeese State 4. Central Arkansas 5. Southeastern La. 6. Nicholls State 7. Northwestern State 8. Stephen F. Austin
Fum 6 8 11 13 11 13 19 15
Total Time 505:51 375:07 343:28 362:34 326:32 324:51 303:25 282:22
Avg/G 33:43 31:15 31:13 30:12 29:41 29:31 27:35 25:40
RUSHING 1. Flanders, Tim-SHSU 2. Johnson, Gus-SFA 3. Wiltz, Marcus-MCN 4. Washington, Marcus-NICH 5. Garrett, DePauldrick-LU 6. Hinton, Jackie-UCA 7. Murray, Javaris-MCN 8. Roberson, Xavier-SLU 9. Gentry, Doug-SFA 10. Sincere, Richard-SHSU
Cl JR SO JR JR JR SR FR FR FR SO
G 15 10 10 10 10 12 10 11 10 15
Att 288 154 130 116 138 152 86 105 91 106
Yds 1642 969 651 598 585 619 504 488 418 607
Avg 5.7 6.3 5.0 5.2 4.2 4.1 5.9 4.6 4.6 5.7
TD 17 14 6 6 2 4 3 4 2 5
Long 71 66 35 54 35 21 76 36 17 65
Yds/G 109.5 96.9 65.1 59.8 58.5 51.6 50.4 44.4 41.8 40.5
PASSING AVG/GAME 1. Attaway, Brady-SFA 2. Smothers, Wynrick-UCA 3. Stroud, Cody-MCN 4. Klann, Landry-NICH 5. Bell, Brian-SHSU 6. Stanley, Nathan-SLU 7. Henderson, Brad-NWLA 8. Mossakowski, Ryan-LU 9. Mothe, Beau-SLU 10. Morris, Rumeall-NWLA
Cl JR JR JR JR JR SR SR JR SR JR
G 11 12 11 11 15 11 11 9 11 10
Att-Cmp-Int 570-334-21 427-277-9 278-170-5 310-176-14 322-197-10 327-177-9 330-181-4 193-113-8 4-3-0 1-1-0
Pct. 58.6 64.9 61.2 56.8 61.2 54.1 54.8 58.5 75.0 100.0
Yds 3671 3103 2102 2049 2715 1952 1874 1194 67 42
TD 29 31 19 8 25 9 14 13 1 0
Avg/G 333.7 258.6 191.1 186.3 181.0 177.5 170.4 132.7 6.1 4.2
PASS EFFICIENCY 1. Bell, Brian-SHSU 2. Smothers, Wynrick-UCA 3. Stroud, Cody-MCN 4. Mossakowski, Ryan-LU 5. Attaway, Brady-SFA 6. Henderson, Brad-NWLA 7. Klann, Landry-NICH 8. Stanley, Nathan-SLU
Cl JR JR JR JR JR SR JR SR
G 15 12 11 9 11 11 11 11
Att-Cmp-Int 322-197-10 427-277-9 278-170-5 193-113-8 570-334-21 330-181-4 310-176-14 327-177-9
Pct. 61.2 64.9 61.2 58.5 58.6 54.8 56.8 54.1
Yds 2715 3103 2102 1194 3671 1874 2049 1952
TD 25 31 19 13 29 14 8 9
Eff. 151.4 145.7 143.6 124.5 122.1 114.1 111.8 107.8
RECEPTIONS/GAME 1. Roberson, Cordell-SFA 2. Ward, D.J.-SFA 3. Brooks, Mike-SFA 4. Grandy, Jesse-UCA 5. Lewis, Dezmin-UCA 6. Croom, Dominique-UCA 7. Gambel, Ryan-SFA 8. Diller, Trey-SHSU 9. Turner, Jesse-NICH 10. Ford, Barry-LU
Cl SR FR JR SR SO SR SR SR SR JR
G 9 11 10 12 12 12 11 15 11 12
Rec 77 62 51 61 56 53 47 62 45 49
Yds 1006 762 492 797 616 711 530 927 448 470
TD 10 4 2 7 6 8 2 4 2 1
Long 75 77 58 75 42 74 30 56 69 25
Avg/C Rec/G 13.1 8.56 12.3 5.64 9.6 5.10 13.1 5.08 11.0 4.67 13.4 4.42 11.3 4.27 15.0 4.13 10.0 4.09 9.6 4.08
RECEIVING YDS/GAME 1. Roberson, Cordell-SFA 2. Ward, D.J.-SFA 3. Grandy, Jesse-UCA 4. Diller, Trey-SHSU 5. Croom, Dominique-UCA 6. Lewis, Dezmin-UCA 7. Brooks, Mike-SFA 8. Gambel, Ryan-SFA 9. Carey, Darius-MCN 10. Nelson, Chance-SHSU
Cl SR FR SR SR SR SO JR SR SR SO
G 9 11 12 15 12 12 10 11 10 15
Rec 77 62 61 62 53 56 51 47 28 35
Yds 1006 762 797 927 711 616 492 530 455 671
TD 10 4 7 4 8 6 2 2 3 9
Long 75 77 75 56 74 42 58 30 52 70
Avg/C Yds/G 13.1 111.8 12.3 69.3 13.1 66.4 15.0 61.8 13.4 59.2 11.0 51.3 9.6 49.2 11.3 48.2 16.2 45.5 19.2 44.7
91
La mar Foo tba l l 2012 Southland Conference Team & Individual Statistics TOTAL OFFENSE 1. Attaway, Brady-SFA 2. Smothers, Wynrick-UCA 3. Bell, Brian-SHSU 4. Henderson, Brad-NWLA 5. Stroud, Cody-MCN 6. Klann, Landry-NICH 7. Stanley, Nathan-SLU 8. Mossakowski, Ryan-LU 9. Flanders, Tim-SHSU 10. Johnson, Gus-SFA
Cl JR JR JR SR JR JR SR JR JR SO
SCORING 1. Johnson, Gus-SFA 2. Antonio, Miguel-SHSU 3. Camara, Eddie-UCA 4. Wiggs, Jordan-SFA 5. Flanders, Tim-SHSU 6. Johnson, Kevin-LU 7. Lewis, Josh-MCN 8. Roberson, Cordell-SFA 9. Shaughnessy, John-NWLA 10. Dolan, Andrew-NICH
Cl SO SR SO SO JR SO SR SR SR JR
SCORING (TDs) 1. Johnson, Gus-SFA 2. Flanders, Tim-SHSU 3. Johnson, Kevin-LU 4. Roberson, Cordell-SFA 5. Lewis, Dezmin-UCA Grandy, Jesse-UCA Croom, Dominique-UCA 8. Roberson, Xavier-SLU 9. Carey, Darius-MCN Washington, Marcus-NICH SCORING (KICK) 1. Antonio, Miguel-SHSU 2. Camara, Eddie-UCA 3. Wiggs, Jordan-SFA 4. Lewis, Josh-MCN 5. Shaughnessy, John-NWLA 6. Dolan, Andrew-NICH 7. Stout, Justin-LU 8. Sebastian, Seth-SLU KICK RETURN AVG 1. Roberson, Xavier-SLU 2. Lacy, De'Vante-SFA 3. Johnson, Kevin-LU 4. Grandy, Jesse-UCA 5. Franks, VanLawrance-LU 6. Eagan, Ed-NWLA 7. Diller, Trey-SHSU 8. Spencer, Diontae-MCN 9. Smiley, Jeff-SLU 10. Hanberry, Josh-NICH ALL PURPOSE YARDS 1. Grandy, Jesse-UCA 2. Diller, Trey-SHSU 3. Flanders, Tim-SHSU 4. Roberson, Cordell-SFA 5. Johnson, Gus-SFA 6. Hanberry, Josh-NICH 7. Carey, Darius-MCN 8. Johnson, Kevin-LU 9. Spencer, Diontae-MCN 10. Roberson, Xavier-SLU PUNTING 1. Mothe, Beau-SLU 2. Foster, Matt-SHSU 3. Kemps, Cory-NICH 4. Kahler, Kollin-LU 5. Breaux, Jean-MCN 6. Buford, Kevin-UCA 7. Russo, Nic-NWLA 8. Bruno, Nick-SFA
92
Cl SR SO SO SR SR JR JR JR Cl FR FR SO SR SR FR SR SR FR SO
G 11 15 11 12 11 12 11 11
Rush -153 449 377 253 -47 -109 -30 23 1642 969
Pass 3671 3103 2715 1874 2102 2049 1952 1194 0 0
Plays 590 536 419 465 315 383 391 233 288 154
TD 15 0 0 0 18 13 0 10 0 0
XPT 0 73 53 36 0 0 42 0 29 21
FG 0 20 13 15 0 0 11 0 14 10
G 10 15 12 11 15 11 11 9 11 11
Cl SO JR SO SR SO SR SR FR SR JR
Cl SR SR JR SR SO SO SR SO SR FR Cl SR SR SR JR FR SR SR FR
G 11 12 15 11 11 11 11 9 15 10
G 10 15 11 9 12 12 12 11 10 10
G 15 12 11 11 11 11 12 11
2XP 0 0 0 0 0 0 0 0 0 0
TD RushPass Ret 15 14 1 0 18 17 1 0 13 1 10 2 10 0 10 0 8 0 6 2 8 0 7 1 8 0 8 0 7 4 1 2 6 3 3 0 6 6 0 0
PATs 73-74 53-54 36-39 42-43 29-30 21-24 29-32 23-24 G 11 10 11 12 12 9 15 11 11 10
Total 3518 3552 3092 2127 2055 1940 1922 1217 1642 969
FGs 20-25 13-15 15-20 11-17 14-17 10-14 6-10 6-14
Yds/G 319.8 296.0 206.1 193.4 186.8 176.4 174.7 135.2 109.5 96.9
Pts 90 133 92 81 108 78 75 60 71 51
Pts/G 9.0 8.9 7.7 7.4 7.2 7.1 6.8 6.7 6.5 4.6
PAT PtsPts/G 0 90 9.0 0 108 7.2 0 78 7.1 0 60 6.7 0 48 4.0 0 48 4.0 0 48 4.0 0 42 3.8 0 36 3.6 0 36 3.6
Pts Pts/G 133 8.9 92 7.7 81 7.4 75 6.8 71 6.5 51 4.6 47 3.9 41 3.7
Ret 11 12 22 20 17 12 23 12 24 31
Yds 366 351 623 522 410 282 528 264 474 596
TD Long 2 96 0 74 2 89 0 48 0 73 1 82 0 59 0 33 0 47 0 53
Avg 33.3 29.2 28.3 26.1 24.1 23.5 23.0 22.0 19.8 19.2
G 12 15 15 9 10 10 10 11 11 11
Rush 28 62 1642 -3 969 -6 162 15 159 488
Rcv 797 927 128 1006 86 308 455 309 413 20
PR 238 354 0 0 0 0 213 0 46 0
Yds 1585 1871 1770 1003 1055 898 871 947 882 874
Punt 53 61 50 67 48 66 73 41
Yds 2305 2637 2112 2782 1981 2640 2830 1553
Long 60 61 64 63 67 69 64 76
Avg 43.5 43.2 42.2 41.5 41.3 40.0 38.8 37.9
KR 522 528 0 0 0 596 41 623 264 366
Avg/G 132.1 124.7 118.0 111.4 105.5 89.8 87.1 86.1 80.2 79.5
FIELD GOALS 1. Wiggs, Jordan-SFA 2. Antonio, Miguel-SHSU 3. Shaughnessy, John-NWLA 4. Camara, Eddie-UCA 5. Lewis, Josh-MCN 6. Dolan, Andrew-NICH 7. Sebastian, Seth-SLU 8. Stout, Justin-LU
Cl SO SR SR SO SR JR JR JR
G 11 15 11 12 11 11 11 12
FG 15 20 14 13 11 10 6 6
PAT KICKING PCT 1. Antonio, Miguel-SHSU 2. Camara, Eddie-UCA 3. Lewis, Josh-MCN 4. Shaughnessy, John-NWLA 5. Sebastian, Seth-SLU 6. Wiggs, Jordan-SFA 7. Stout, Justin-LU 8. Dolan, Andrew-NICH
Cl SR SO SR SR JR SO JR JR
TACKLES 1. Piper, Jordan-NICH 2. Longino, Jermaine-LU 3. Rose, Derek-NWLA 4. Garrett, Collin-SFA 5. Heard, Justin-UCA 6. Black, Patrick-NWLA 7. Epperson, Ryan-SFA 8. Barlow, Cedric-SFA 9. Love, Jestin-UCA 10. Cahee, Terence-MCN Muse, Kaleb-SLU 18. Allen, Chad-LU 27. Washington, James-LU 40. Dickson, Jesse-LU 47. McGlothen, Tyrus-LU 50. Thomas, Branden-LU
Cl SR JR SR SO JR JR SR JR JR JR SO JR JR JR JR JR
G 11 12 11 11 12 11 11 11 12 11 11 12 12 10 11 12
Pos. LB LB LB LB LB LB LB DB DB CB LB DB LB DL DB DB
Solo 56 63 49 48 63 39 31 38 49 45 45 55 41 30 31 33
Ast. 51 44 48 48 37 48 54 46 42 35 35 24 27 13 12 12
Total Avg/G 107 9.7 107 8.9 97 8.8 96 8.7 100 8.3 87 7.9 85 7.7 84 7.6 91 7.6 80 7.3 80 7.3 79 6.6 68 5.7 43 4.3 43 3.9 45 3.8
Sacks 1.5 2.0 0.0 0.5 0.0 0.0 1.0 1.5 0.0 0.0 1.5 0.0 2.0 4.0 0.0 0.0
SACKS 1. Jefferson, Willie-SFA 2. Robinson, Darren-SFA 3. Taylor, Darius-SHSU 4. Walker, Devan-SLU 5. Woodard, Jonathan-UCA 6. Weaver, Andrew-SHSU 7. Miles, Ishmiah-SFA 8. Williams, Justin-UCA 9. Broadway, Cornist-NWLA 10. Knight, Rashar-NICH
Cl SR SO SR SR FR JR SO SR JR SR
G 11 11 14 10 12 14 9 11 10 11
Pos DE DE LB LB DE DE DE DL DE LB
Solo 7 4 6 7 7 4 4 5 4 4
Ast 2 7 2 0 0 2 2 0 1 0
Yds 63 42 53 51 41 48 38 27 28 28
Avg/G 0.73 0.68 0.50 0.70 0.58 0.36 0.56 0.45 0.45 0.36
INTERCEPTIONS 1. Alford, Robert-SLU 2. Sneed, Bookie-SHSU Thomas, Branden-LU 4. Morgan, Guy-MCN 5. Paige, Cortez-NWLA White, Jamaal-NWLA Bronson, Ryan-MCN 8. Shaw, Robert-SHSU Swanson, Dax-SHSU 10. Brady, Karl-UCA
Cl SR JR JR JR SR SR JR SR SR JR
G 11 12 12 10 11 11 11 15 15 10
Int 4 4 4 3 3 3 3 4 4 2
Yds 5 103 68 5 112 13 5 51 29 36
TD 0 2 1 0 1 0 0 1 0 0
FUMBLES FORCED 1. Jefferson, Willie-SFA 2. Narcisse, Joe-MCN 3. Vergenal, Siegan-NICH Ellefsen, Everett-MCN 5. Allison, Seth-UCA Longino, Jermaine-LU 7. Mitchell, Dwayne-NICH Nelson, Caleb-SFA Morgan, Guy-MCN 10. Muse, Kaleb-SLU
Cl SR SR JR SO SR JR SO JR JR SO
G 11 9 11 11 12 12 10 10 10 11
No. Avg/G 5 0.45 3 0.33 3 0.27 3 0.27 3 0.25 3 0.25 2 0.20 2 0.20 2 0.20 2 0.18
PASSES DEFENDED 1. Swanson, Dax-SHSU Shaw, Robert-SHSU 3. Alford, Robert-SLU 4. Guillory, Adrian-LU 5. Washington, Todd-SLU 6. Thomas, Branden-LU 7. McGlothen, Tyrus-LU Cahee, Terence-MCN Bronson, Ryan-MCN Aubrey, Josh-SFA
Cl SR SR SR SR JR JR JR JR JR SR
G Brup 15 14 15 14 11 8 12 10 11 9 12 6 11 6 11 7 11 5 11 6
G Made 15 73 12 53 11 42 11 29 11 23 11 36 12 29 11 21
FGA 20 25 17 15 17 14 14 10
Pct. 75.0 80.0 82.4 86.7 64.7 71.4 42.9 60.0
Att 74 54 43 30 24 39 32 24
Int 4 4 4 1 1 4 2 1 3 2
FG/G 1.36 1.33 1.27 1.08 1.00 0.91 0.55 0.50
Pct. 98.6 98.1 97.7 96.7 95.8 92.3 90.6 87.5
Total 18 18 12 11 10 10 8 8 8 8
Avg/G 1.20 1.20 1.09 0.92 0.91 0.83 0.73 0.73 0.73 0.73
Total 8.0 7.5 7.0 7.0 7.0 5.0 5.0 5.0 4.5 4.0
L a m a r Fo otbal l 2013 Southland Conference Composite Schedule Aug. 29 Northwestern State at Missouri State (Mediacom) Incarnate Word at Central Arkansas Southeast Missouri at Southeastern Louisiana Aug. 31 Nicholls State at Oregon (FS1) McNeese State at South Florida Houston Baptist at Sam Houston State Oklahoma Panhandle State at Lamar Stephen F. Austin at Weber State Sept. 7 Southeastern Louisiana at TCU (FSN) Lamar at Louisiana Tech Nicholls State at Western Michigan (ESPN3) Southern at Northwestern State Stephen F. Austin at Texas Tech (FSN) Central Arkansas at Colorado (P12N) Arkansas-Pine Bluff at McNeese State (CSNH) Sam Houston State at Texas A&M Sept. 14 Texas Southern at Sam Houston State (CSNH) Northwestern State at Cincinnati (ESPN3) Nicholls State at Louisiana-Lafayette Southeastern Louisiana at South Dakota State McMurry at Stephen F. Austin Central Arkansas at Tennessee-Martin Lamar at Oklahoma State (FSN) West Alabama at McNeese State Sept. 21 Southeastern Louisiana at Samford Northwestern State at UAB Langston at Nicholls State Incarnate Word at Sam Houston State Montana State at Stephen F. Austin (Max) Central Arkansas at Missouri State Bacone College at Lamar Weber State at McNeese State Sept. 28 Eastern Washington at Sam Houston State (CSNH) McNeese State at Northern Iowa Lamar at Grambling Arkansas Tech at Nicholls State (HC) Langston at Northwestern State Prairie View at Stephen F. Austin Oct. 5 McNeese State at Central Arkansas* (SLCTV) Incarnate Word at Southeastern Louisiana Oct. 12 Lamar at Sam Houston State* (HC) Northwestern State at Nicholls State* (SLCTV) Nebraska-Kearney at Central Arkansas Stephen F. Austin at Southeastern Louisiana* (ESPN3) Oct. 19 Nicholls State at Stephen F. Austin* (SLCTV) Central Arkansas at Lamar* (HC; CSNH) Southeastern Louisiana at Northwestern State* (HC) Sam Houston State at McNeese State* (HC; ESPN3) Oct. 26 Northwestern State at Sam Houston State* Stephen F. Austin at Central Arkansas* (HC; SLCTV) McNeese State at Nicholls State* Lamar at Southeastern Louisiana* (HC; ESPN3) Nov. 2 Sam Houston State vs. Stephen F. Austin* (SLCTV) Nicholls State at Lamar* Southeastern Louisiana at McNeese State* Central Arkansas at Northwestern State* (ESPN3) Nov. 9 Nicholls State at Sam Houston State* Lamar at Northwestern State* (SLCTV) McNeese State at Stephen F. Austin* Southeastern Louisiana at Central Arkansas* (ESPN3) Nov. 16 Central Arkansas at Nicholls State* Sam Houston State at Southeastern Louisiana* (SLCTV) Stephen F. Austin at Lamar* Northwestern State at McNeese State* (ESPN3) Nov. 21 Nicholls State at Southeastern Louisiana* Nov. 23 Sam Houston State at Central Arkansas* Stephen F. Austin at Northwestern State* McNeese State at Lamar* * - indicates Southland Conference game
Springfield, Mo. 6 p.m. Conway, Ark. 7 p.m. Hammond, La. 7 p.m. Eugene, Ore. 3 p.m. Tampa, Fla. 6 p.m. Huntsville, Texas 6 p.m. Beaumont, Texas 7 p.m. Ogden, Utah 7 p.m. Fort Worth, Texas 11 a.m. Ruston, La. 6 p.m. Kalamazoo, Mich. 6 p.m. Natchitoches, La. 6 p.m. Lubbock, Texas 6 p.m. Boulder, Colo. 7 p.m. Lake Charles, La. 7:30 p.m. College Station, Texas TBA Huntsville, Texas 2 p.m. Cincinnati, Ohio 6 p.m. Lafayette, La. 6 p.m. Brookings, S.D. 6 p.m. Nacogdoches, Texas 6 p.m. Martin, Tenn. 6 p.m. Stillwater, Okla. 6:30 p.m. Lake Charles, La. 7 p.m. Birmingham, Ala. 2 p.m. Birmingham, Ala. 2 p.m. Thibodaux, La. 6 p.m. Huntsville, Texas 6 p.m. Nacogdoches, Texas 6 p.m. Springfield, Mo. 7 p.m. Beaumont, Texas 7 p.m. Lake Charles, La. 7 p.m. Huntsville, Texas 2 p.m. Cedar Falls, Iowa 4 p.m. Grambling, La. 6 p.m. Thibodaux, La. 6 p.m. Natchitoches, La. 6 p.m. Nacogdoches, Texas 6 p.m. Conway, Ark. 3 p.m. Hammond, La. 7 p.m. Huntsville, Texas 2 p.m. Thibodaux, La. 3 p.m. Conway, Ark. 4 p.m. Hammond, La. 7 p.m. Nacogdoches, Texas 3 p.m. Beaumont, Texas 6 p.m. Natchitoches, La. 6 p.m. Lake Charles, La. 7 p.m. Huntsville, Texas 2 p.m. Conway, Ark. 3 p.m. Thibodaux, La. 3 p.m. Hammond, La. 7 p.m. Houston, Texas 3 p.m. Beaumont, Texas 6 p.m. Lake Charles, La. 7 p.m. Natchitoches, La. 7 p.m. Huntsville, Texas 2 p.m. Natchitoches, La. 3 p.m. Nacogdoches, Texas 3 p.m. Conway, Ark. 7 p.m. Thibodaux, La. 3 p.m. Hammond, La. 3 p.m. Beaumont, Texas 6 p.m. Lake Charles, La. 7 p.m. Hammond, La. 6 p.m. Conway, Ark. 3 p.m. Natchitoches, La. 3 p.m. Beaumont, Texas 6 p.m.
93
L a m a r Fo otbal l Miscellaneous Games Season Openers Year 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 2010 2011 2012
Opponent Site North Texas H Louisiana-Lafayette A Louisiana-Lafayette H Louisiana-Lafayette H Louisiana-Lafayette H Louisiana-Lafayette A Louisiana College A A&M-Corpus Christi H South Dakota A Mexico Poly H Louisiana-Monroe H Mexico Poly H Abilene Christian A East Central Okla. H East Central Okla. A Western Michigan A New Mexico State A West Texas A&M A McNeese State A West Texas A&M H Sam Houston State H Sam Houston State H New Mexico State A Drake H Houston A Northwestern State H Louisiana-Monroe H Northwestern State A Baylor A Texas Southern A Baylor A Texas State A Nicholls A Texas Southern H Texas Southern H Rice University A Rice University A West Texas A&M H Angelo State A McNeese State A Texas College H Louisiana-Lafayette A
W/L L L L W W W W W W W W W L W W L L L W W L W L W L W W L L W W L L L W L L W L L W L
Score 54-6 14-13 22-13 26-20 19-6 21-14 35-20 26-0 41-9 42-6 38-34 34-6 25-0 21-0 15-14 16-14 17-6 15-7 13-7 33-28 13-12 22-19 24-7 18-6 20-3 17-6 21-7 21-17 20-7 41-8 18-17 30-0 21-14 13-7 32-20 28-14 34-30 42-21 31-28 30-27 58-0 40-0
Record Breakdown Overall: 22-20 Home: 15-4 Road: 7-16 Longest Winning Streak: 9 games, 1954-62 Longest Losing Streak: 3 games, 3 times
Homecoming Games Year 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 2010 2011 2012
Opponent W/L Score Stephen F. Austin W 26-14 Sam Houston State L 31-13 Sul Ross State W 21-0 Texas A&M-Kingsville L 18-14 Sul Ross State W 26-13 Texas A&M-Kingsville L 28-12 Sul Ross State W 67-19 Texas A&M-Kingsville W 14-0 Howard Payne L 14-12 Texas State W 7-0 Howard Payne W 33-13 Sam Houston State L 23-7 Texas A&M-Commerce L 10-0 UT Arlington W 17-7 Trinity University W 21-3 Louisiana Tech W 31-16 Trinity University W 6-0 Louisiana Tech L 34-7 Arkansas State L 20-0 UT Arlington W 24-0 Trinity University W 27-15 Nicholls W 22-15 Arkansas State W 10-7 McNeese State W 17-3 Southern Illinois W 30-10 McNeese State L 27-0 Louisiana Tech L 23-6 McNeese State L 24-23 West Texas A&M T 12-12 Arkansas State W 23-22 Stephen F. Austin L 13-10 Louisiana-Monroe L 14-0 Louisiana-Monroe L 17-0 Louisiana Tech L 22-7 Sam Houston State L 34-22 Texas A&M-Kingsville L 35-10 Louisiana-Monroe W 48-28 Mississippi College L 16-14 Arkansas State L 41-31 Langston University W 14-0 Central Arkansas L 38-24 McMurry W 52-21
Record Breakdown Overall: 21-20-1 Longest Winning Streak: 6 games, 1970-75 Longest Losing Streak: 6 games, 1981-86
Season Finales Year 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 2010 2011 2012
Opponent Site Sul Ross State H Sul Ross State A Mexico Poly A Texas A&M-Kingsville H Sul Ross State H Sul Ross State A Sul Ross State H Sul Ross State A Sam Houston State A South Dakota H Middle Tenn. State* N Sam Houston State H Mexico Poly A Northern Iowa# N UT Arlington A Quantico Marines A UT Arlington A UT Arlington H UT Arlington A UT Arlington H Arkansas State H UT Arlington H UT Arlington A UT Arlington H McNeese State A UT Arlington H UT Arlington A Long Beach State H UNLV A UT Arlington H Southern Miss. A UT Arlington H McNeese State H McNeese State A McNeese State H McNeese State A McNeese State H McNeese State A McNeese State H Okla. Panhandle State H McNeese State H McNeese State W
W/L W L W L W W W W W W W L W L L L L L L W W L W W L L L W T L L L L L L L L L W W L L
Score 28-27 27-19 60-12 18-14 26-13 34-7 67-19 46-7 27-14 41-21 21-14 23-7 33-26 19-17 31-21 30-26 16-10 37-20 53-16 24-0 24-13 10-3 10-3 8-0 20-10 34-14 14-7 36-31 24-24 44-27 45-14 31-24 17-7 34-14 28-7 38-7 44-36 18-17 22-17 44-6 45-17 35-0
*-Tangerine Bowl #-Pecan Bowl Record Breakdown Overall: 17-24-1 Home: 10-11 Road: 6-12-1 Neutral: 1-1 Longest Winning Streak: 7 games, 1955-61 Longest Losing Streak: 9 games, 1980-88
95
La mar Foo tba l l All-Time Series Records Overall School W-L-T Abilene Christian 9-7-0 Alcorn State 1-1-0 Angelo State 0-1-0 Arizona State 0-1-0 Arkansas State 10-15-1 Baylor 1-2-0 Central Arkansas 0-2-0 Central Oklahoma 1-0-0 Central Missouri 1-0-0 Drake 1-3-0 East Central Oklahoma 2-0-0 Georgia State 0-1-0 Hawai`i 0-1-0 Houston 0-3-0 Howard Payne 6-2-0 Incarnate Word 1-0-0 Langston University 2-0-0 Long Beach State 1-2-0 Louisiana College 1-0-0 Louisiana-Lafayette 10-17-0 Louisiana-Monroe 6-9-1 Louisiana Tech 6-16-0 McMurry University 2-1-0 McNeese State 8-22-1 Mexico Poly 5-0-0 Middle Tennessee 1-0-0 Mississippi College 0-1-0 Mississippi State 0-2-0 Missouri State 2-0-0 UNLV 0-0-1 New Mexico State 4-6-0 Nicholls 4-1-0 North Dakota 0-1-0 North Texas 2-4-0 Northern Illinois 1-0-0 Northern Iowa 0-1-0 Northwestern State 7-7-1 Oklahoma Panhandle State 1-0-0 Pensacola Navy 1-0-0 Prairie View A&M 2-0-0 Quantico Marines 1-1-0 Rice University 0-4-0 Sam Houston State 8-16-1 San Diego Marines 0-1-0 South Alabama 0-2-0 South Dakota 3-0-0 Southeastern Louisiana 3-2-0 Southern Illinois 3-5-0 Southern Mississippi 1-3-0 Southwest Oklahoma State 1-0-0 Stephen F. Austin 14-11-0 Sul Ross State 11-1-0 Texas A&M-Commerce 5-8-0 Texas A&M-Corpus Christi 2-0-0 Texas A&M-Kingsville 3-10-1 UT Arlington 6-16-0 Texas College 1-0-0 UTEP 3-1-0 Texas Southern 2-3-0 Texas State 6-15-1 Texas Tech 0-2-0 Trinity University 5-6-0 Webber International 1-0-0 West Texas A&M 5-8-1 Western Kentucky 1-0-0 Western Michigan 0-1-0 2013 Opponents in Bold
96
Home W-L-T 4-5-0 1-0-0 ----5-7-0 0-1-0 0-1-0 1-0-0 1-0-0 1-1-0 1-0-0 ------4-1-0 1-0-0 2-0-0 1-1-0 --6-5-0 3-4-1 4-7-0 2-0-0 4-12-1 2-0-0 --0-1-0 0-1-0 1-0-0 --2-2-0 3-0-0 --1-2-0 ----3-2-1 1-0-0 1-0-0 2-0-0 1-0-0 --6-9-0 --0-1-0 2-0-0 1-1-0 3-1-0 1-0-0 1-0-0 8-5-0 6-0-0 3-5-0 2-0-0 1-7-0 4-7-0 1-0-0 --1-3-0 3-7-0 --4-2-0 1-0-0 3-3-1 -----
Road W-L-T 5-2-0 0-1-0 0-1-0 0-1-0 5-8-1 1-1-0 0-1-0 ----0-2-0 1-0-0 0-1-0 0-1-0 0-3-0 2-1-0 ----0-1-0 1-0-0 4-12-0 3-5-0 2-9-0 0-1-0 4-10-0 3-0-0 ----0-1-0 1-0-0 0-0-1 2-4-0 1-1-0 0-1-0 1-2-0 1-0-0 --4-5-0 ------0-1-0 0-4-0 1-7-1 0-1-0 0-1-0 1-0-0 2-1-0 0-4-0 0-3-0 --6-6-0 5-1-0 2-3-0 --2-3-1 2-9-0 --3-1-0 1-0-0 3-8-1 0-2-0 1-4-0 --2-5-0 1-0-0 0-1-0
n
1951-Present Neutral W-L-T --------------------------------------------------1-0-0 ------------------0-1-0 ------------1-0-0 -----------------------------------------------
First Game 1953 1988 1989 1988 1964 1979 2011 1986 1971 1973 1964 2010 2012 1975 1957 2011 2010 1976 1957 1952 1961 1959 1953 1951 1953 1961 1988 1971 1964 1979 1964 1972 2010 1951 1987 1964 1951 2010 1965 1985 1966 1984 1951 1964 2010 1959 1967 1968 1974 1951 1951 1951 1951 1955 1954 1964 2011 1972 1980 1951 1987 1951 2010 1965 1979 1966
Last Game 1972 1989 1989 1988 1989 1981 2012 1986 1971 1980 1965 2010 2012 1983 1973 2011 2012 1978 1957 2012 1988 1986 2012 2012 1963 1961 1988 1974 1966 1979 1976 2012 2010 1986 1987 1964 2012 2010 1965 2012 1967 1987 2012 1964 2011 2010 2012 1978 1981 1951 2012 1963 1963 1958 1987 1985 2011 1989 1985 2011 1988 1971 2010 1989 1979 1966
L a m a r Fo otbal l All-Time Series Results Abilene Christian 1953 H L 1954 A L 1959 A W 1960 H L 1961 A W 1962 H W 1963 A L 1964 H W 1965 A W 1966 H W 1967 A W 1968 H L 1969 H L 1970 H L 1971 A W 1972 H W
26-21 33-14 8-7 20-7 25-10 13-6 25-0 14-3 28-18 42-16 54-13 38-14 22-9 42-27 30-28 31-10
Alcorn State 1988 H 1989 A
35-6 32-16
Angelo State 1989 A
W L L
31-28
Arizona State 1988 A L
24-13
Arkansas State 1964 A T 1965 H W 1966 A W 1967 H W 1968 A L 1969 A L 1970 A L 1971 H W 1972 A W 1973 H W 1974 A W 1975 H L 1976 A L 1977 H L 1978 A L 1979 A W 1980 H W 1981 A L 1982 H L 1983 H L 1984 A L 1985 H L 1986 A L 1987 H L 1988 A W 1989 H L
7-7 20-7 17-0 28-23 48-17 20-0 69-7 24-13 26-24 10-7 10-6 17-0 31-0 10-6 6-3 20-10 23-22 16-9 20-19 24-14 37-13 21-0 56-7 34-20 21-17 41-31
Baylor 1979 A 1980 H 1981 A
L L W
20-7 42-7 18-17
Central Arkansas 2011 H L 2012 A L
38-24 24-14
Central Missouri 1971 H W
35-6
Central Okla. (Central State) 1986 H W 47-23
Drake 1973 1974 1977 1980
A H A H
L W L L
24-10 18-6 43-21 38-7
East Central Oklahoma 1964 H W 21-0 1965 A W 15-14 Georgia State 2010 A L
23-17
Hawai`i 2012 A
L
54-2
Houston 1975 A 1982 A 1983 A
L L L
20-3 48-3 42-35
Howard Payne 1957 H W 1958 A L 1959 H L 1960 A W 1961 H W 1962 A W 1963 H W 1973 H W
18-13 24-19 14-12 12-7 33-13 21-10 35-0 21-17
Incarnate Word 2011 H W
45-35
Langston University 2010 H W 2012 H W
14-0 31-0
Long Beach State 1976 H L 1977 A L 1978 H W
21-10 21-7 36-31
Louisiana College 1957 A W
35-20
Louisiana-Lafayette 1952 A L 1953 H L 1954 H W 1955 H W 1956 A W 1957 H W 1965 H L 1966 A L 1967 H W 1968 A L 1969 A L 1970 A L 1971 H L 1972 A W 1973 A W 1974 A W 1975 A L 1976 H L 1977 H L 1978 A L 1979 H W 1980 A L 1981 H W 1982 A L 1983 A L
14-13 22-13 26-20 19-6 21-14 36-20 20-6 16-14 14-13 20-14 24-16 15-6 21-20 3-0 31-0 38-13 21-12 34-9 10-6 23-16 21-17 28-10 14-12 24-0 31-6
1989 2012
n
1951-Present
A A
L L
42-33 40-0
Louisiana-Monroe 1961 H W 1962 A W 1975 A L 1976 A L 1977 H W 1978 H T 1979 A W 1980 H L 1981 A W 1982 H L 1983 H L 1984 A L 1985 H L 1986 A L 1987 H W 1988 A L
38-34 14-0 34-7 16-6 21-7 17-17 21-7 28-6 17-13 14-0 17-0 34-14 37-14 22-21 48-28 24-3
Louisiana Tech 1959 H W 1960 A L 1966 H W 1967 A L 1968 H L 1969 A L 1970 H W 1971 A L 1973 H L 1974 A L 1975 H L 1976 A L 1977 H L 1978 A L 1979 H W 1980 A L 1981 H L 1982 A W 1983 A W 1984 H L 1985 A L 1986 H L
13-6 20-0 31-16 41-31 34-7 77-40 6-0 26-7 17-3 28-0 24-10 37-7 7-6 40-3 19-17 28-6 16-7 40-13 18-12 22-7 23-22 39-20
McMurry University 1953 A L 32-27 1954 H W 19-13 2012 H W 52-21 McNeese State 1951 A 1952 H 1955 A 1956 H 1966 H 1967 A 1968 H 1969 A 1970 H 1971 A 1972 A 1973 A 1974 H 1975 A 1976 H 1977 A 1978 H 1979 H 1980 H 1981 H 1982 A
L L L W W W L W L L L L W L L W L L L T W
13-7 42-7 17-2 18-14 10-7 24-8 10-0 13-7 17-12 38-0 17-7 20-17 17-3 20-10 27-0 35-7 24-23 34-25 35-3 20-20 12-3
1983 1984 1985 1986 1987 1988 1989 2010 2011 2012
H A H A H A H A H A
Mexico Poly 1953 A 1960 H 1961 H 1962 H 1963 A
L L L L L L W L L L
17-7 34-14 28-7 38-7 44-36 18-17 22-17 30-27 45-17 35-0
W W W W W
60-12 42-6 62-22 34-6 33-26
Middle Tennessee 1961 N W N - Tangerine Bowl
21-14
Mississippi College 1988 H L
16-14
Mississippi State 1971 A L 1974 H L
24-7 37-21
Missouri State 1964 A W 1966 H W
14-7 55-12
UNLV 1979
T
24-24
New Mexico State 1964 H W 1965 A L 1967 A L 1968 H L 1969 H W 1970 A L 1972 A W 1973 A L 1975 H L 1976 A W
21-14 21-20 17-6 16-14 9-7 69-37 24-19 24-7 17-14 21-17
Nicholls 1972 1983 1984 2011 2012
W L W W W
22-10 21-14 20-16 34-26 34-24
North Dakota 2010 A L
31-6
A
H A H A H
North Texas 1951 H 1974 A 1983 A 1984 H 1985 A 1986 H
L W L W L L
54-6 27-7 10-0 10-6 20-0 33-13
Northern Illinois 1987 A W
39-35
Northern Iowa 1964 N L N - Pecan Bowl
19-17
97
La mar Foo tba l l All-Time Series Results Northwestern State 1951 A W 1952 H W 1953 A L 1954 H L 1955 A L 1956 H T 1957 A W 1959 A W 1960 A W 1976 H W 1977 A L 1978 A L 1979 H W 2011 H L 2012 A L
32-20 35-13 12-6 22-13 7-6 6-6 20-10 19-0 21-13 17-6 43-0 21-17 28-13 37-17 30-23
Oklahoma Panhandle State 2010 H W 44-6 Pensacola Navy 1965 H W
37-0
Prairie View A&M 1985 H W 2012 H W
30-7 31-0
Quantico Marines 1966 A L 1967 H W
30-26 41-6
Rice University 1984 A L 1985 A L 1986 A L 1987 A L
36-19 29-28 28-14 34-30
Sam Houston State 1951 A L 1952 H L 1953 A L 1954 H W 1955 A L 1956 H L 1957 A T 1958 H W 1959 A W 1960 H W 1961 A L 1962 H L 1971 H L 1972 H W 1981 N W 1982 H W 1984 A L 1985 H L 1986 A L 1987 H L 1988 H L 1989 H W 2010 H L 2011 A L 2012 H L N-Houston Astrodome
33-14 31-13 43-0 6-0 46-14 20-6 7-7 20-7 27-14 18-7 9-7 23-7 13-12 22-19 50-7 27-7 27-11 34-22 24-13 34-21 16-14 41-0 38-10 66-0 56-7
San Diego Marines 1964 A L
33-28
South Alabama 2010 H L 2011 A L
98
26-0 30-8
South Dakota 1959 A W 1960 H W 2010 H W
41-9 41-21 24-20
Southeastern Louisiana 1967 H W 34-21 1969 A L 21-19 2010 A W 29-28 2011 A W 48-38 2012 H L 31-21 Southern Illinois 1968 A L 1969 H W 1970 A L 1972 H W 1975 H W 1976 A L 1977 A L 1978 H L
24-7 20-16 32-16 7-0 30-10 19-7 9-5 22-20
Southern Mississippi 1974 H W 1975 A L 1980 A L 1981 A L
10-7 43-3 36-10 45-14
Southwest Oklahoma State 1951 H W 43-21 Stephen F. Austin 1951 H W 1952 A W 1953 H W 1954 A L 1955 H L 1956 A L 1957 H W 1958 A W 1959 H W 1960 A W 1961 H W 1962 A W 1963 H L 1978 H W 1980 A W 1981 H L 1982 A W 1983 H W 1986 A L 1987 H W 1988 A L 1989 H L 2010 A L 2011 H L 2012 A L
26-14 27-6 19-13 20-7 20-8 26-18 27-12 35-6 7-6 14-0 34-22 27-12 27-6 23-16 45-21 13-10 24-14 24-23 38-25 28-26 26-14 44-20 71-3 69-10 40-26
Sul Ross State 1951 H 1952 A 1953 H 1955 H 1956 A 1957 H 1958 A 1959 H 1960 A 1961 H 1962 A 1963 H
28-27 27-19 21-0 26-13 34-7 67-19 46-7 32-0 20-6 34-0 28-14 15-7
W L W W W W W W W W W W
n
1951-Present
Texas A&M-Commerce (East Texas State) 1951 A L 47-7 1952 H L 48-0 1953 A L 32-13 1954 H L 16-14 1955 A L 33-7 1956 H W 20-7 1957 A W 7-6 1958 H W 21-0 1959 H L 14-3 1960 H L 27-0 1961 H W 14-7 1962 A W 28-6 1963 H L 10-0 Texas A&M-Corpus Christi 1955 A W 29-2 1958 A W 26-0 Texas A&M-Kingsville (Texas A&I) 1954 H L 18-14 1955 A W 20-9 1956 H L 28-12 1957 A T 13-13 1958 H W 14-0 1959 A L 14-6 1960 H L 40-0 1961 A L 8-7 1962 H L 7-0 1963 A W 16-14 1964 H L 13-12 1965 H L 14-6 1986 H L 35-10 1987 A L 43-14 UT Arlington 1964 H 1965 A 1966 H 1967 A 1968 H 1969 A 1970 H 1971 A 1972 H 1973 A 1974 H 1975 A 1976 H 1977 A 1978 H 1979 A 1980 H 1981 A 1982 H 1983 A 1984 H 1985 A
W L W L L L W W L W W L L L L L L L L L L L
17-7 31-21 27-7 16-10 37-20 53-16 24-0 23-14 10-3 10-3 8-0 37-24 34-14 14-7 37-17 47-37 44-27 31-7 31-24 21-0 13-10 37-17
Texas College 2011 H W
58-0
UTEP 1972 1973 1987 1989
A A A A
W W L W
42-28 31-27 38-14 21-19
Texas Southern 1980 A W
41-8
1982 1983 1984 1985
H H H H
L L L W
28-17 15-14 13-7 32-20
Texas State (Southwest Texas) 1951 H L 1952 A L 1953 H L 1954 A L 1955 H L 1956 A L 1957 H W 1958 A L 1959 A W 1960 H W 1961 A T 1962 H L 1963 A L 1981 H L 1982 A L 1984 H L 1985 A W 1986 H W 1987 A L 1988 H L 1989 A W 2011 A L
14-13 33-26 14-6 13-12 14-7 13-6 33-20 8-7 28-6 7-0 7-7 20-13 13-7 24-7 30-0 23-0 24-21 17-3 27-19 27-26 20-19 46-21
Texas Tech 1987 A 1988 A
L L
43-14 59-28
Trinity University 1951 H L 1952 A L 1963 H W 1964 A W 1965 H W 1966 A L 1967 H W 1968 A L 1969 H L 1970 A L 1971 H W
41-20 66-7 20-18 14-7 21-3 23-14 6-0 24-20 22-0 37-31 27-15
Webber International 2010 H W 21-14 West Texas A&M (West Texas State) 1965 H W 1968 A L 1970 H W 1971 A L 1972 A L 1973 H L 1974 A W 1975 H L 1976 A L 1977 H L 1978 A L 1979 H T 1988 H W 1989 A W
21-14 45-7 33-28 14-6 35-12 13-0 9-7 10-6 21-6 27-9 55-16 12-12 42-21 49-17
Western Kentucky 1979 A W
58-27
Western Michigan 1966 A L
16-14
Football History
La mar Foo tba l l Lamar Football History From its birth as South Park Junior College in 1923, to its days as Lamar College, the ones as Lamar State College of Technology (Lamar Tech) and, finally, as Lamar University, the Cardinals have had an up-and-down – yet rich-andproud football tradition. Actually, when South Park JC’s football players took the field for the first time only 12 days after the opening of the institution on Sept. 17, 1923, the team didn’t have a nickname. The players, who defeated South Park High School 25-0 at Beaumont’s old Magnolia Park that afternoon were identified as “the collegians” by sports writer Spike Cooper in the next day’s Beaumont Enterprise. Playing center for South Park JC in that first game was John Gray, later to serve the school as football coach from 1932 to 1939 and during two tenures as university president. Star running back for “the collegians” that day was Paul (Hog) Kinnear, and the team captain was fullback Ernest (Gus) Laminack. During its seven-game inaugural season, South Park JC played two high schools, three senior colleges and two senior college freshman teams and compiled a 2-4-1 record. The other win was a 10-0 decision over Stephen F. Austin College and the tie was 0-0 against Port Arthur High School. After the team’s midseason loss of 19-16 to Southwestern Louisiana, The Enterprise’s Cooper wrote, “From end to end and fullback to center, the collegians are the fightingest little football team we’ve ever seen.” Dunlap (Bull) Johnson became South Park JC’s football coach in 1924, and the 25-player team responded with a splendid 7-3 season. The team rolled up a combined 122 points in throwing four-successive shutouts to open the E.A. “Beans” LaBauve was a season, and 1979 inductee to the Cardinal the student Hall of Honor. body selected Brahmas the nickname for the school’s athletic teams. In a 23-0 victory over Rusk Junior College to com-
100
plete the shutout streak, star quarterback F.S. (Spud) Braden completed 13 of 18 passes for 190 yards, statistics uncommon to football in those days of run, run and run some more. The University of Texas freshman team handed the Brahmas their first loss 9-7, and their other defeats came against Southwestern Louisiana 20-8 and the Rice University freshmen 7-6. The Brahmas wore red jerseys for the first time that season, shedding the green and white colors of South Park High School. The 1925 season saw the Brahmas under the tutelage of yet another coach – Lilburn Dimmitt, and they slumped to a 1-5-2 record with the lone win being 6-0 over Beaumont High. The ties were 2-2 with the Rice freshmen and 0-0 with Stephen F. Austin College. Gray completed his three-year South Park JC playing career that season and at the unbelievably young age of 19 became head coach at South Park High School in 1926. As in the previous three seasons, the 1926 Brahmas had a new head football coach as Joe J. Vincent took over and guided them to a 2-4 record. The wins were 25-0 over Victoria Junior College and 9-0 over Sam Houston State. The 1930s With the home crowds dwindling below the 300 level for most of the 1926 season, the football program was discontinued for five years, but it returned in 1932 when the school name was changed to Lamar College in honor of Mirabeau Lamar, known as the founder of Texas education. Former South Park JC basketball star Otho Plummer, later to serve the university for many years as a member of the board of regents, picked Cardinals as the new school mascot. After compiling a 35-20-5 record in six seasons at South Park High School, Gray became Lamar College’s first football coach and guided the Cardinals to a 40-30-4 record over eight seasons, beginning with a fine 8-1 mark in 1932. The wins included a 39-0 blitzing of Blinn College, and the lone loss was 6-0 to the SMU freshmen in the mud and rain in Greenie Stadium on Thanksgiving Day. A blocked punt at the 3-yard line led to the game’s only touchdown. Season tickets for seven home games in 1932 were $1.50 each, a far cry from the $60 to $400 price range for season tickets for this year’s second season of Lamar football after its return from a 21-year hiatus. Another indication of how much football has changed over the years is that the average weight for the 1932 Cardinals
was 158 pounds per man. Quarterback Jake Verde, who later played his senior college football at Texas, led the 1932 Cardinals by running for four touchdowns and passing for six John Gray became head more, and he coach in 1932 and compiled also served as a 40-30-4 record over eight seasons. the team’s kicker. The gem of the Cardinals’ 1932 season was their 6-0 victory over heavily-favored Southwestern Louisiana, sparked by a 35-yard Verde-to-Ernest Byerly touchdown pass and two fourth-quarter interceptions by Ovey Babin. By 1933, there were enough junior colleges playing football in Texas for the state to divide into sections and originate a plan to determine a state champion. Although the Cardinals weren’t as strong as they had been the previous year, they advanced to the state championship game but lost it to Amarillo Junior College 2714 in Beaumont’s Purple Stadium in mid-December. The Cardinals logged a 5-3-2 record during the regular season in 1933 and defeated Schreiner Institute 20-14 in the first round of the state playoffs. Defense was the trademark of that team as the Cardinals held nine opponents to seven or fewer points, although two of those games were scoreless ties. Actually, the tone for the season was set in the Cardinals’ opener when they piled up a whopping 24-4 advantage over East Texas Baptist in first downs and a 408-101 lead in total yards but lost on the scoreboard 7-6. Just past the mid-point of that season, nine different players scored 10 touchdowns as the Cardinals rang up a 71-0 blanking of Blinn College. Two weeks later, Verde exploded for touchdown runs of 83 and 67 yards, and he returned an interception 50 yards for another score in a 40-7 romp over Victoria Junior College. A near-perfect 7-0-1 regular season catapulted the 1934 Cardinals into the state playoffs again, and they edged Schreiner Institute 7-6 in their semifinal matchup. The Cards had to travel to the Panhandle, however, for their rematch
L a m a r Fo otbal l with Amarillo Junior College in the championship game which they lost 34-7 despite being in a 7-7 tie at halftime. Early that season, the Cardinals won backto-back games against the Texas Shorthorns (the University of Texas’ freshman team) by the scores of 7-0 and 16-0, and they also tossed shutouts of 32-0 and 19-0 over St. Mary’s University and Victoria Junior College. The 1935 Cardinals slumped to a 4-2-1 regular-season record and lost their state playoff opener 20-0 to Schreiner Institute. The season was highlighted by a six-day railroad trip to Mexico City to oppose Mexico Poly in the first of several games played between the institutions over the coming years. Although the Cardinals posted a so-so 2-3 regular-season record in 1936, they qualified for the playoffs and came within 15 yards of winning a state title. Kilgore College held off a late Lamar drive at the 15-yard line to preserve its 10-7 championship win on Dec. 5, in Greenie Stadium. The 1937 Cardinals went 5-3 during the regular season and lost their playoff opener 14-6 to Schreiner Institute. They then hosted Mexico Poly in an exhibition game that they won 27-13. The final two seasons of the 1930s decade saw the Cardinals dip to records of 2-6-1 and 2-7. They suffered four shutouts in 1939 when they scored more than seven points in only one game – an 18-0 win over Texas Lutheran College. The 1939 season marked the end of the John Gray Era as football coach. In an article in The Houston Post, sports writer L.R. Goldman wrote, “John Gray always performed miracles with the material he had. He had the ability to get 110 percent from his players.” The 1940s R.M. (Monk) Hodgkiss moved over from South Park High School to succeed the popular Gray as head coach for the 1940 season. The Cardinals failed to even register a first down in his debut – a 27-0 loss to Kilgore College, and the Cards suffered three more shutouts during a lackluster 2-4-1 season. With victories in the last two games, Hodgkiss coaxed a break-even 4-4 season out of the Cardinals in 1941. Among the Cardinal players that year were Oail (Bum) Phillips and Theo (Cotton) Miles, both of whom went on to establish great reputations as football coaches – Miles at the high school level and Phillips at the high school, college and professional levels. With World War II escalating overseas, Lamar played the 1942 season with only 23 players, and the team went 2-6-1 under new head
coach Ted Dawson. The school then discontinued football for the remaining war years of 1943, 1944 and 1945. In 1946, Lamar College joined Tarleton State, Kilgore College, North Texas Agricultural College (the forerunner Bob Frederick to UT Arlington), Paris starred in football, Junior College, San Anbasketball and gelo JC and Schreiner Inbaseball at Lamar. stitute in creating the Southwestern Junior College Conference. Each school was obligated to field teams in football, basketball, track, tennis and golf, so thusly, Lamar’s first all-round intercollegiate athletic program developed. The Cardinals returned to the football field with resounding success in 1946, carving an 82 record under new coach Ted Jefferies, who won a state championship at Wichita Falls High School in 1941. As did many other hard-nosed veterans, Bum Phillips returned from the war and captained the 1946 team that launched its season with an 83-0 dismantling of Decatur Baptist College. The Cardinals registered five other shutouts in 1946, and they outscored their opponents by a combined 241-37. Chick Forwald joined Lamar as head coach in 1947, and the Cardinals slipped to a 4-6 record. Stan Lambert became Lamar’s head football coach in 1948 and promptly guided the Cardinals to a 7-4 regular-season record and the school’s first berth in a bowl game. Playing before a home crowd in the season-ending Spindletop Bowl, the Cardinals easily disposed of Hinds (Miss.) Junior College 21-0. Cardinal stars that season included quarterback Joe Westerman, end Bob Frederick, running back Jimmy McNeil and offensive and defensive back Francis (Smitty) Hill. Lamar made its swan song as a junior college football program a huge success in 1949 by roaring to a Southwestern Junior College cochampionship, a 10-2 record and two post-season bowl games. Along the way, the Cardinals scored a school-record 346 points. At the conclusion of the season, the Cardinals lost a 21-20 heartbreaker to Pearl River (Miss.) in the Memorial Bowl in Jackson, Miss. Back home in the Spindletop Bowl, the Cards rolled to a 35-14 win over Georgia Military Institute behind the running and passing of McNeil and two touchdown catches by Frederick.
The 1950s Although it remained a junior college for one last year, Lamar began its transition to senior college status by lining up an all-senior-college schedule for the 1950 season. Despite being outmanned by some teams, Lambert’s Cardinals managed a 5-4-1 record highlighted by victories of 34-7 over Southwest Oklahoma State and 75-0 over Daniel Baker College. The Cardinals intercepted six passes in the win over Southwest Oklahoma, and eight different Cardinals scored at least one touchdown in the rout of Daniel Baker College. Lamar’s name changed to Lamar State College of Technology for its first official season as a four-year institution in 1951 – one that saw the Cardinals go 6-4 overall and 2-3 in the Lone Star Conference. That season saw the emergence of wiry running back Sammy Carpenter, a 144-pounder from Orange, as Lamar’s first real superstar. He rushed for 607 yards and scored 54 points as a freshman. In his sophomore season of 1952, Carpenter set long-lasting s c h o o l records of 210 rushing yards vs. Sul Ross State, 1,005 rushing yards for the season and 13 touchdowns for 78 points in the sea- J.B. Higgins coached Lamar’s son. The 210 only undefeated team to an 8-0-2 record in 1957. yards stood until Burton Murchison broke the mark with 222 yards vs. Prairie View A&M and then 259 yards vs. Rice later in the 1985 season; the 1,005 yards stood until Murchison ran for 1,547 in 1985, and the 78 points in a season remain a school record. After winning two of their first three games in 1952, the Cardinals stumbled to six-straight losses and a 2-7 record marred by losses of 480 to East Texas State and 66-7 to Trinity University. When Lambert moved up to director of athletics in 1953, his top assistant J.B. Higgins took over as head coach and began what would become the most successful era in Lamar’s football history. Known affectionately as “Hig” by his friends,
101
La mar Foo tba l l Higgins went 3-7 in each of his first two seasons, but improvement began to show in 1955 (4-6 record) and 1956 (4-4-1). The Cardinals then enjoyed the school’s only undefeated Sammy Carpenter had Lamar’s record with 8-0-2 first 1,000-yard rushing season an mark in with 1,005 yards in 1951. 1957. Carpenter ended his senior season in 1954 with 2,703 career rushing yards, a figure that now ranks second only to the 3,598 yards compiled by Murchison over the 1984-1987 seasons. Higgins, who compiled a 59-38-4 record in his 10-season tenure as head coach, pointed to the 4-4-1 1956 season as being the most pivotal for Lamar’s improving program. The Cardinals gave an indication of what was to come in the near future when they clobbered Sul Ross State 34-7 in their finale. Ties of 7-7 with Sam Houston State and 1313 with Texas A&I were the only glitches in the Cardinals’ superb 1957 season that saw 270pound offensive and defensive lineman Dudley Meredith become Lamar’s first bona-fide AllAmerica selection. The ties forced the Cardinals to share the Lone Star Conference championship with East Texas State, a team they edged 7-6. In their season finale, the Cards rolled up a then school-record 562 yards of total offense in a 67-19 trouncing of Sul Ross State. For an encore in 1958, the Cardinals got defensive-minded as they led the LSC in rushing defense, passing defense and total defense while carving a 6-2 record. Their losses – in back-toback games against Howard Payne and Southwest Texas State – were by a total of six points, and they outscored their opposition by 188-52 for the season. By winning their first seven games in 1959, the Cardinals climbed to No. 1 in the nation in all of the college division polls. They outscored their opponents by a 21.1-4.9 average margin during that streak that ended with a 14-12 loss to Howard Payne. They also lost their next two games to Texas A&I and East Texas State before closing their 8-3 season with a 27-14 victory over Sam Houston State. Guard John Donaho and fullback Shepard
102
Touchett were All-LSC performers for the Cardinals in 1959, and Ronnie Fontenot led the team in rushing with 551 yards. The 1960s For the seventh-straight year, Lamar won its season opener in 1960 as scatbacks Jimmy Davis and Ronnie Fontenot dazzled the Mexico Poly Burros with broken-field running in a 426 victory played before a crowd of 3,000 in Port Neches. Higgins’ Cardinals went on to post eight wins for the second-straight season and the third time in four years as they went 8-4, including a 5-2 mark in the LSC. Davis had 123 rushing yards and Fontenot 111 in the win over Mexico Poly, and that game marked the starting debut for Windell Hebert, who went on to become one of Lamar’s most durable and reliable quarterbacks. A 20-0 loss to Louisiana Tech in Week 2 was Lamar’s first by shutout in seven years, but the Cardinals were blanked twice more during the season – by Texas A&I and by East Texas State. They rebounded, however, to win their final two games 18-7 over Sam Houston State and 41-21 over South Dakota. With 457 yards, Fontenot led the team in rushing for a second-straight season, and he earned All-LSC recognition along with guard Nader Bood. That season also saw the emergence of Bobby Jancik, who later was American Football League Rookie of the Year as a defensive back for the 1962 Houston Oilers. Jancik reached stardom and Little All-America status the next season as he helped lead Higgins’ Cardinals to an 8-2-1 record and a berth in the 1961 Tangerine Bowl, the top postseason game for College Division schools. He scored 62 points, rushed for 302 yards and caught 16 passes for an additional 357 yards, including fourth-quarter touchdown snares of 64 and 55 yards in a 38-34 come-from-behind win over Northeast Louisiana in the Cardinals’ season opener.. The 1961 Cardinals scored 282 points to set a school record that stood until the 1987 team bettered it by a scant point. Joining Jancik as offensive mainstays that season were Hebert, Fontenot, Jimmy Davis, Armour McManus and Ralph Stone. Hebert, who passed for 1,214 yards and 11 touchdowns that year, was stunned by the death of his mother at mid-season but two days later threw for 109 yards in a 33-13 victory over Howard Payne before a crowd of 9,000 in Greenie Stadium. Defensive leaders in 1961 included linebacker Lindley King from Orange and safety David Webb, who intercepted a still-standing school-record seven passes.
The J.B. Higgins era as head coach ended after the 1962 season during which the Cardinals posted a 7-3 record to improve his 10-season record to 58-38-4. Two of the Cards’ losses that season were seven-point LSC decisions to Texas A&I and Southwest Texas State, both ranked in the NAIA’s Top 10. Hebert threw for a then school-record 231 yards in the loss to Southwest Texas, and he finished his senior season with 81 completions for 1,112 yards and seven TDs. King was both a first-team All-LSC and first-team Little AllAmerica selection. As Lamar moved from the NAIA and the Lone Star Conference to the NCAA and the Southland Conference in 1963, Vernon Glass succeeded Higgins as head football coach. The former Rice University quarterback and Baylor University assistant coach went on to win a school-record 63 games over an up-and-down 13-season career with the Cardinals. The popular Glass got off to a 5-4 start in 1963, and his up seasons included marks of 73 in 1967, 8-3 in 1972 and 8-2 in 1974. Glass’ down seasons saw the Cardinals go 0-10 in 1968 and 1-10 in 1975, his last year. At the mid-point of his first season as head coach, Glass made the bold move of turning over the quarterback reins to Phillip Primm, a red-headed freshman who eventually led the Cardinals to three-straight SLC championships. He led the Cardinals in passing and total offense in each of his four seasons and remains No. 2 career-wise in both categories with 4,036 passing yards and 4,379 total yards. Lamar football moved on campus for the first time in 1964 as the Cardinals christened 17,150-seat Cardinal Stadium with a 21-0 victory over East Central Oklahoma. Darrell Johnson scored the first touchdown in stadium history on a 30-yard run in the second quarter, and the Cardinals went on to post a 6-3-1 record, win the SLC championship and earn a berth in the 1964 Pecan Bowl. The Cardinals’ losses that season were by a Jake David was an All-Southc o m b i n e d land Conference player for the Cardinals in 1965 & 1966. eight points –
L a m a r Fo otbal l 33-28 to the San Diego Marines, 13-12 to Texas A&I and 19-17 to State College of Iowa in the Pecan Bowl. While Primm, Harold LaFitte and Dan Yezak led the offense that season, lineman Anthony Guillory and linebacker Vernon McManus sparked the defense. A gem to the 1964 season was a non-conference, 21-14 victory over major college foe New Mexico State. Primm helped spark that win by completing 12 of 18 passes for 130 yards. Although Primm was plagued by injuries, the Cardinals managed a 6-4 record and another SLC championship in 1965. Primm’s two-point conversion pass to Frazer Dealy in the last two minutes enabled the Cards to nip East Central Oklahoma 15-14 in their opener, and they won three of their next four games before suffering back-to-back losses to Texas A&I and Southwestern Louisiana. Included in the early-season burst was a 20-7 victory over Arkansas State witnessed by a then-record crowd of 16,000 in Cardinal Stadium. The Cardinals clinched the SLC championship with a 21-3 triumph over Trinity University in which fullback Eugene Washington reeled off a then school-record 85-yard TD run. Primm, McManus, LaFitte, Jake David, Dick Croxton, Ed Marcontell, Bill Kilgore and Mike Allman were All-SLC picks that season. With Primm passing for a then school-record 1,549 yards, the 1966 Cardinals shared the SLC championship with Texas-Arlington, a team they defeated 27-7. A 23-14 loss to Trinity University prevented the Cards from winning the title outright. Primm hit his high water mark of the season by completing 14 of 18 passes for 224 yards and four TDs in a 42-16 SLC romp over Abilene Christian, and linebacker Danny Jones led the Cards with 15 tackles in a 17-0 blanking of Arkansas State. Another big win that season was a 31-16 decision over Terry Bradshaw-led Louisiana Tech. Lamar’s bid for a fourth-successive SLC championship ended in the final game of the 1967 season when Skipper Butler kicked three field goals to help UTA defeat the Cards 16-10. Still, they won seven-straight games over one stretch and finished the season with a fine 7-3 record. Randy McCollum took over as starting quarterback that season and came within 16 yards of Primm’s then school record with 1,533 passing yards. Tommie Smiley, a 232-pound running back, was the team’s leading rusher with 890 yards. Croxton became the first Cardinal to earn a third-successive All-SLC award, and Kilgore, Johnny Fuller and offensive guard Spergon Wynn were all picked for a second time, while
Darrell Mingle, Richard Bjerke and Bill Groberg were firstyear picks. T h e Cardinals came close to winning three times during their 0-10 1968 season, but they never quite pulled off the Coach Vernon Glass guided the Cardinals to Southland needed big Conference Championships in play in losses of 16-14 to 1964, 1965, 1966 & 1971. New Mexico State, 20-14 to Southwestern Louisiana and 2420 to Trinity. Still, sophomore split end Ronnie Gebauer caught a then school-record 56 passes for 831 yards, and defensive tackle Richard Cummings and defensive back Benny Lansford were All-SLC performers. The Cardinals ended the 1960s decade with a 3-7 record in 1969 but went 0-4 in the SLC. Their wins came against McNeese State, New Mexico State and Southern Illinois in their first four games, and they ended the season with sixstraight losses. An example of the Cardinals’ futility that season came in their game against Louisiana Tech. Quarterback Tommy Tomlin threw for 308 yards and a school-record six touchdowns, but he didn’t come close to matching the numbers put up by Terry Bradshaw in a 77-40 Tech win. The 1970s The 1970 Cardinals started their season impressively, upsetting West Texas State 33-28 as Tomlin completed 12 of 14 passes and then holding off Louisiana Tech 6-0 in a rainstorm in Cardinal Stadium in Week 2. A 32-16 road loss to Southern Illinois sidetracked the Cards the next week, and Tomlin went down with a practice injury a few days later that kept him our of action for four games. The Cards went on to lose six more games in a row before blanking Texas-Arlington 24-0 in the finale of their 3-7 season. They surrendered 309 points in 10 games, a dubious record that stood until the 1986 and 1987 teams gave up 339 and 386 points in back-to-back seasons. Gebauer had 39 catches for 540 yards in 1970 to become the first and still only Cardinal
to amass more than 2,000 receiving yards. His 149 career catches and 2,098 career yards remain at the top of Lamar’s career lists. Also, Bennie Lansford finished his career that year with a still-standing 14 interceptions. With Lamar languishing with a 1-4 record at the midpoint of the 1971 season, Glass rolled the dice by switching from the I Formation on offense to the Wishbone T. With squatty quarterback Glen Hill at the controls of the Wishbone, it produced four-successive wins to close the season and a tie with Louisiana Tech and Trinity University for the SLC championship. The streak started with a 30-28 win over Abilene Christian in which Hill rushed for 100 yards and kicked the winning 30-yard field goal. Glass’ 1972 Cardinals pulled off a 42-28 road upset of Texas-El Paso in their second game and went on to post a fine 8-3 record. Doug Matthews, later to become Galveston’s city manager and a Lamar regent, rushed for 101 yards in the UTEP game and for a team-best 689 yards for the season. A first-quarter field goal of 41 yards by Mike Drake stood up as the Cardinals defeated Southwestern Louisiana 3-0 as cornerback Donald Hill sparked the defense with two interceptions. Another highlight to the season was Matthews’ 135-yard rushing performance in a 25-19 road victory over New Mexico State. Matthews, offensive tackle Charles Cantrell, split end Joe Bowser and safety Rondy Colbert were all first-team All-SLC selections. Lamar gained major college classification in football for the 1973 season, and the Cardinals compiled a 5-5 record against a beefed-up schedule that included road games at New Mexico State, Drake University and Texas-El Paso. They scored 17 fourth-quarter points to win the UTEP game 31-27 as Bobby Flores passed 8 yards to Steve DeRouen for the winning touchdown with a mere 12 seconds remaining. The Cardinals also scored late in their matching 10-7 SLC wins over Arkansas State and Texas-Arlington. Flores threw 11 yards to Larry Spears for the clinching score against Arkansas State, and Jabo Leonard booted a 27-yard field goal for the winning points against UTA. Joe Bowser, who led the Cardinals in receiving with 38 catches for 545 yards and three TDs, was their lone offensive representative on the 1973 All-SLC First Team, while end Leon Babineaux and safety Rondy Colbert, who later played in the NFL, were defensive first-teamers. Bolstered by nine returning offensive starters and 10 defensive regulars from the 1973 team, Glass’ 1974 Cardinals went on to post a fine 82 season. They won six of their first seven games, and their only losses were 37-21 to Mississippi State and 28-0 to perennially-tough
103
La mar Foo tba l l Louisiana Tech. Fullback Dale Spence ran for two TDs in the Cardinals’ 18-6 season-opening victory over Drake University, and a 64-yard scoring pass from Flores to Larry Spears helped spark their 27-7 triumph at North Texas State the next week. Flores ran for two TDs, and cornerback Audwin Samuel returned an interception 60 yards for another score as the Cardinals defeated Southwestern Louisiana 38-13 in Week 3. While subbing for the injured Flores in the Cardinals’ SLC opener at Arkansas State, Al Rabb connected with running back Anthony Pendland for a 65-yard TD pass with 2:11 left to give LU a 10-6 win. The Cardiac Cardinals did it again the next week as Donald Hill’s 29yard interception return set up Jabo Leonard’s 24-yard field goal with a mere four seconds remaining to give Lamar a 10-7 victory over Southern Mississippi. Leonard and the defense combined to give the Cards a 9-7 road victory over West Texas State the next week. Leonard booted three field goals, including ones of 24 and 45 yards in the fourth quarter with the winning one coming with 48 seconds left. After the loss to Louisiana Tech, the Cards closed their season with wins of 17-3 over McNeese State and 8-0 over Texas-Arlington. The Cardinals’ points in the UTA game came on two field goals and a safety. The Cardinals’ defense, which ranked 12th in the nation in Division I that season, held seven of their 10 opponents to seven or fewer points. Colbert, Hill, linebacker Ronald Black, tackle Donnie Davis and end Leon Babineaux were all honored on the 1974 All-SLC team, along with offensive guard Keith Elliott. From the astonishing high of the 1974 season, the Cardinals dropped to a disappointing low of a 1-10 campaign in 1975. Injuries to key personnel played a major role in the downward spiral, but it still cost Glass as he was replaced at the end of the season by Bob Frederick, a former LU standout in football, basketball and baseball who had been the Cardinals’ defensive coordinator for the previous 11 seasons. Playing their season opener against the University of Houston in the Astrodome, the Cardinals held their ground through the first half but wound up yielding a 20-3 decision to the Cougars. The Cards also hung tough in fourpoint and three-point losses to West Texas State and New Mexico State, respectively, in their next two games, but the season-opening losing streak went on to grow to nine games. Their most humiliating loss was 43-3 to Southern Mississippi in the New Orleans Superdome. It marked the fifth time in eight
104
games for the Cards to score seven or fewer representative on the 1978 All-SLC Team. Ofpoints. fensively, the pass-and-catch duo of Larry A 30-10 victory over Southern Illinois in Haynes and Howard (Boo) Robinson showed their 10th game signs of what was to come as Haynes comenabled the pleted 92 of 184 passes for 1,261 yards and luckless Cards eight TDs while Robinson snared 27 passes for to avert a win- 451 yards and four TDs. less season. The hiring of 35-year-old offensive guru They managed Larry Kennan to succeed Frederick as head an average of a coach brought optimism for a Cardinal program meager 10.8 starving for success after four successive losing points per game seasons. and yielded an Kennan’s resume included impressive stints average of 23.0 as offensive coordinator at SMU and Nevadaand had no Las Vegas, and he swiftly lived up to his hiringplayers voted to day boast that the 1979 Cardinals would play an the All-SLC exciting brand of football. Operating from the Team. Pro-I offense, the Cards razzled-dazzled their Freder- way to an incredible 38 team or individual ick’s first year at records en route to a 6-3-2 campaign in 1979. Doug Matthews was an the helm in The Cardinals fell 20-7 to Baylor in Kennan’s All-Southland Conference 1976 didn’t see head-coaching debut, but he responded by callrunning back in 1972, and the Cardinals ing the shots in a 58-27 dismantling of Western led the team in rushing make much im- Kentucky in their next game, causing Cardinal three times. provement as Stadium to swell with a standing-room-only they scored a total of 97 points in struggling to crowd of 17,600 for their home debut against a 2-9 season. Their wins were 17-6 over North- Louisiana Tech the next week. western State in their opener and 21-17 over Kennan’s troops did not disappoint the enNew Mexico State in Week 3. They closed the thusiastic crowd as they responded with a 19-7 season with an eight-game losing streak during victory, Lamar’s first since 1970 over Tech’s which they were shut out twice and scored a Bulldogs. total of 43 points. Linebacker Kurt Phoenix sparked the fireSenior defensive tackle Donald Davis was works against Western Kentucky by returning the only Cardinal to make the 1976 All-SLC the opening kickoff a school-record 98 yards Team. for a touchdown, and by the time that sunny Despite improving on both sides of the ball, Kentucky afternoon ended, Haynes and fellow the 1977 Cardinals failed to improve in the won- LU quarterback Mike Long had combined for loss column as they again went 2-9. After open- 323 passing yards, six shy of the then school ing with a 21-7 win over Northeast Louisiana, record. they lost eight-straight games before stunning Other highlights of that day included split highly-favored McNeese State 35-7 in Lake Charles. Burly noseguard Matt Burnett, who later had a successful run as Port Neches-Groves’ head coach, led the team in tackles that season and was a firstteam All-SLC selection. The 1978 Cardinals endured a 2-8-1 season that saw the end of the Bob Frederick Era as head coach after three years that produced a combined record of 6-26-1. The wins were 23-16 over Stephen F. Austin and 3631 over Long Beach State, and the tie was 17-17 against NorthLarry Haynes (R) and Howard “Boo” Robinson (L) made east Louisiana. Offensive guard Victor Enard up a dynamic pass-and-catch combination for the Cardinals in 1978 and 1979. of West Orange was Lamar’s lone
L a m a r Fo otbal l end Jesse Cavil streaking 72 yards down the sideline for a TD after catching a Haynes pass, Robinson popping open in the end zone twice for TD receptions, defensive end Terry Lee Williams returning an interception 26 yards for a TD and the defense coming up with six total turnovers. With Haynes at the offensive controls, the 1979 Cardinals averaged 248.5 passing yards and 24.7 points per game, and they notched three wins against SLC competition – two more than the previous four LU teams had managed. Haynes had a 276-yard passing performance against Western Kentucky, a 258-yarder against West Texas State, a 262-yarder against McNeese State and a 286-yarder vs. Northwestern State, but they were just routine outings compared to his record-smashing 403-yard output against UT Arlington. For the season, he had 233 completions on 402 attempts for 2,641 yards and 21 TDs. The 143-pound Robinson was Haynes’ favorite target as he logged three 100-yard-plus receiving games and finished the season with record totals of 59 catches, 840 receiving yards and 12 TDs. Despite his brilliance as a passer, Haynes was relegated to a second-team berth on the AllSLC Team, but Robinson, Enard, Phoenix and tight end Alfred Mask were all first-teamers. Joining Haynes on the second team were offensive tackle Kenny Birkes and cornerback/kick returner Johnny Ray Smith. The 1980s Depleted by the departures of Haynes, Robinson, Phoenix, Enard and several other key contributors, the 1980 Cardinals lacked experience and depth and, consequently, dipped to a 3-8 record. They opened with a 41-8 victory at Texas Southern, but eventual Southwest Conference champion Baylor pounded them 42-7 before a standing-room-only crowd of 18,500 in their home opener, and Drake was a 38-7 winner in Game 3. The Cardinals righted their ship with a 45-21 victory over Stephen F. Austin, but four-straight losses followed before they edged Arkansas State 23-22 for their final victory. One of the positives to the season was that freshman quarterback Ray Campbell from Livingston steadily progressed into a competent passer, completing 157 of 296 attempts for 1,491 yards and seven TDs. Flanker Sam Choice, who led the team with 34 catches for 579 yards and four TDs, was a first-team All-SLC selection along with Smith, the team leader in kickoff returns and punt returns.
The first two games of 1981 produced the biggest highlights of the season. First, Mike Marlow calmly kicked a 42-yard field goal with three seconds left to give the Cardinals an 1817 road upset of defending SWC champion Baylor, then the Cards traveled to the Houston Astrodome and destroyed Sam Houston State 50-7 as Cavil caught three TD passes and Herbert Harris two. The Cardinals’ other wins in their 4-6-1 season were decisions of 17-13 over Northeast Louisiana and 14-12 over Southwestern Louisiana, and the tie was 20-20 vs. McNeese State. Junior college transfer Fred Hessen beat out Campbell for the starting quarterback job that season, and he threw five TD passes in the Sam Houston State game. He finished the season with 182 completions on 365 attempts for 2,108 yards and 14 TDs. Harris, who had 13 catches for 192 yards in a 16-7 loss to Louisiana Tech, set school records with 61 catches for 911 yards and seven TDs, while Ben Booker led the team with 569 rushing yards. Linebacker Charles Broussard led the team in tackles with 96, and strong safety David Jones and linebacker Larry McCoy had 88 each. Late in the spring of 1982, Kennan departed Lamar to take an assistant’s job with the Oakland Raiders, and Ken Stephens, who had coached Central Arkansas to a 10-season record of 67-35-6, was hired on June 2 to succeed him. Stephens found coaching at the NCAA Division I-AA level to be a bit more difficult than it had been at the NAIA level. His best season was his first when the Cardinals went 4-7 in 1982, and he departed after producing an 11-33 record over four years. The 1982 Cardinals struggled offensively as they suffered three shutouts and also scored only three points in a 45-point loss to the University of Houston. Their wins were 24-14 over Stephen F. Austin, 27-7 over Sam Houston State, 28-17 over Texas Southern and 12-3 over McNeese State. Stephens did, however, coach two, first-team Division 1-AA All-Americas – both as sophomores in linebacker Eugene Seale in 1983 and running back Burton Murchison in 1985. A product of Jasper High School, Seale intercepted a pass on his first collegiate play and returned it 52 yards for a TD against Nicholls. He went on to win the SLC Defensive Player of the Week Award an unprecedented five times, to amass a school-record 170 tackles (85 solos and 85 assists) and was voted the SLC Defensive Player of the Year in addition to earning the All-America award. A 5-foot-11, 205-pounder from Woodville, Murchison made his first big splash in the sec-
ond game of his sophomore season when he rushed for 222 yards and two TDs in a 30-7 victory over Prairie View A&M. He surpassed the 200-yard barrier in two other games, including a school-record 259 in a 29-28 road loss to Rice University. With his Division I-AA-leading 1,547 rushing yards in 1985, Murchison shattered both the Lamar and SLC single-season records. In addition to his All-America award, he was the SLC Offensive Player of the Year. The 1986 season ushered in the Ray Alborn Era as head coach. He went 2-9 in his first season, 3-8 in each of the next two and 5-5 in 1989, Lamar’s last before the program was discontinued due to mounting deficits in its operation. Alborn’s 1986 Cardinals lost their first five games before managing a 17-3 victory over Southwest Texas State. Their other win was 4723 over Central State of Oklahoma before a crowd of 961 in Cardinal Stadium. Murchison rushed for a team-best 830 yards in 1986, and sophomore Shad Smith and freshman John Evans shared the quarterbacking duties. They combined to pass for 1,772 yards and 10 touchdowns, and Derek Anderson led the receiving corps with 34 catches for 575 yards and three TDs. Lamar withdrew from the Southland Conference after the 1986-1987 athletic year, opting to join the newly-created American South Conference, which did not sponsor football. That left the football program with the burden of having to play as a Division I-AA independent – a move that made scheduling extremely difficult, especially for home games. The Cardinals could attract only four home opponents in 1988, and three of those were West Texas State, Alcorn State and Mississippi College, schools that lacked drawing appeal in Southeast Texas. The 1989 schedule included road games against Angelo State and Alcorn State. Murchison ran for three touchdowns in the Cardinals’ first victory of the 1987 season – a comefrom-behind 39-35 decision at Northern Burton Murchison led DiviIllinois. Smith sion I-AA with 1,547 rushing yards in 1985. threw three TD
105
La mar Foo tba l l The 2010s It was stunning but seemed only appropriate, however, that quarterback Andre Bevil broke Evans’ record with 426 total yards of offense in Lamar’s return to football in a thrilling 30-27 2010 season-opening loss at none-other than McNeese State. The Cardinals finished 5-6 in their return to the gridiron in 2010 under new head coach Ray Woodard. Seven individual and eight Eugene Seale was a Division I-AA All-America linebacker team records fell during the year and the Southland Conference Defensive Player of the with Bevil setting two records and Year in 1984. tying another. In addition to the single-game total offense mark, Bevil passes with Anderson catching two of them as set school records for passing yards (429 yards) the Cards edged Stephen F. Austin 28-26 for and most completions in a game (34). their second win. The Cardinals would get into the win column The final victory was a 48-28 decision over Louisiana-Monroe in which Smith threw four in their home opener with a 21-14 victory over TD passes and Murchison had a 44-yard scoring Webber International in front of a sold out starun and a 24-yard TD reception. Smith passed dium of 16,600. Wide receiver J.J. Hayes scored for 1,806 yards and 11 TDs that season, while the first points in the newly named Provost Umphrey stadium as he hauled in a Bevil pass Evans’ respective totals were 965 and nine. for a 25-yard touchdown. For the fourth-straight season, Murchison Lamar would run its winning streak to two led the Cardinals in rushing with 813 yards on 130 carries, and he departed as Lamar’s all-time games with a thrilling comeback win at Southrushing champion with a career total of 3,598 eastern Louisiana by a 29-28 score. The Cardinals trailed 28-8 early in the second half before yards. Ironically, the 1989 Cardinals were Lamar’s scoring 20 straight points to stun the crowd at only team of the 1980s decade not to post a los- Strawberry Stadium. Hayes scored from 19 ing record, yet the coaches and players had to yards out on a Bevil completion with 1:52 to endure the pain and disappointment of seeing play to complete the comeback. Following a 38-10 loss to Sam Houston the program disbanded. A couple of weeks before the football pro- State, Lamar earned a 14-0 homecoming day gram was discontinued by a 5-4 vote of Lamar’s win over Langston. The game against Langston board of regents, the Cardinals closed their sea- drew 17,306 fans for the third best crowd in the son with a come-from-behind 22-17 victory history of the stadium as Lamar averaged over McNeese State before a crowd of 3,263 in 16,079 fans per game for the highest attendance Cardinal Stadium. The Cardinals rallied for 16 of any Southland Conference school. The Cards would drop three straight games, fourth-quarter points to seal their break-even 55 season, during which an amazing 24 individual falling 26-0 to South Alabama, 31-6 at North Dakota and 23-17 at Georgia State. However, or team records were either set or tied. Lamar rebounded to earn home wins over The winning rally was sparked by a 15-yard South Dakota (24-20) and Oklahoma Panhandle touchdown pass from John Evans to Chris Ford and a 31-yard field goal by Frank Van Renselaer, State (44-6) to close the year. After returning to the field in 2010, the Carthen capped by a 2-yard scoring run by fullback Kenny Franklin with a mere nine seconds re- dinals were official football playing members of the Southland Conference in 2011. Lamar manmaining. Evans completed 30 of 50 pass attempts that aged a 4-7 record on the year, including a 2-5 night, and his 396 yards of total offense (353 mark in Southland Conference competition. The records continued in the 2011 season as passing and 43 rushing) were the then thirdmost in school history behind only his 421 yards the Cardinals set or tied 13 school marks, invs. Texas-El Paso and 405 vs. Angelo State ear- cluding largest margin of victory with a seasonopening 58-0 win over Texas College. In that lier that season. same game, junior transfer running back DePauldrick Garrett established school records for touchdowns in a game (4) and points scored in
106
a game (24). After a 30-8 setback at South Alabama, the Cards posted back-to-back wins with a 45-35 home win over Incarnate Word and a 48-38 win at Southeastern Louisiana. Lamar would suffer a five-game losing streak following the wins before picking up a 34-26 Southland Conference win over Nicholls. LU closed the year with a 45-17 loss to rival McNeese State. Senior wide receiver J.J. Hayes, who earned second-team all-conference recognition, set three school records. Hayes had a single-game record 212 receiving yards against Northwestern State, single-game receptions (14) against McNeese State and 951 receiving yards on the year to establish a single-season standard. Kicker Justin Stout added to the individual records as he matched a school mark with eight extra point kicks in the Texas College win and a new single-season record for extra points converted with 35. The 2012 campaign saw the Cardinals play a pair of FBS opponents for the first time since the return of football. Lamar opened the season at former conference rival Louisiana-Lafayette and also took a trip to Hawai’i to face the Warriors. Lamar posted back-to-back home shutouts with identical 31-0 wins over Prairie View A&M and Langston. The Cardinals also enjoyed a 5221 homecoming win over McMurry as sophomore receiver Kevin Johnson tied Garrett’s single-game record with four touchdowns and 24 points scored. Johnson, who would go on to be named the Southland Conference Newcomer of the Year, returned a kickoff 88 yards for a score and scored three recieving touchdowns. After dropping three straight league games, the Cards righted the ship with a 34-24 home win over Nicholls as Johnson scored on a 15yard pass in the first quarter to tie the singleseason school record for touchdowns scored with 13. Fellow receiver Barry Ford added a big day with nine catches for 111 yards and a touchdown, and defensive lineman John Prescott closed the scoring with a 26-yard interception return. Offensive lineman Sean Robertson and defensive lineman Jesse Dickson were each named second-team all-conference following the season. Prescott, Johnson, Jermaine Longino, Marcus Malbrough, Branden Thomas and Chad Allen were named honorable mention. Junior punter Kollin Kahler was named to the CoSIDA Capital One Academic All-District-7 Team, as well as several other academic honor rolls.
L a m a r Fo otbal l Lamar Coaching History Stan Lambert (6-13-0) Year 1951 1952
Overall Conference Conference W-L-T W-L-T Finish -- Lone Star Conference -4-6-0 2-3-0 5th 2-7-0 1-4-0 5th
Larry Kennan (13-17-3) Year 1979 1980 1981
Overall Conference Conference W-L-T W-L-T Finish -- Southland Conference -6-3-2 3-2-0 3rd 3-8-0 1-4-0 5th 4-6-1 1-3-1 5th
J.B. Higgins (59-38-4) Year 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962
Overall Conference Conference W-L-T W-L-T Finish -- Lone Star Conference -3-7-0 2-3-0 4th 3-7-0 1-4-0 6th 4-6-0 2-4-0 4th 4-4-1 2-4-0 5th 8-0-2 5-0-2 T-1st 6-2-0 5-2-0 T-2nd 8-3-0 4-2-0 T-3rd 8-4-0 5-2-0 T-2nd 8-2-1 4-2-1 3rd 7-3-0 4-3-0 4th
Ken Stephens (11-33-0) Year 1982 1983 1984 1985
Overall Conference Conference W-L-T W-L-T Finish -- Southland Conference -4-7-0 1-4-0 T-5th 2-9-0 1-5-0 7th 2-9-0 1-5-0 T-6th 3-8-0 0-6-0 7th
Vernon Glass (63-68-1) Year 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975
Overall Conference Conference W-L-T W-L-T Finish -- Independent Status -5-4-0 ------ Southland Conference -6-3-1 3-0-1 1st 6-4-0 3-1-0 1st 6-4-0 3-1-0 T-1st 7-3-0 3-1-0 2nd 0-10-0 0-4-0 5th 3-7-0 0-4-0 5th 3-7-0 1-3-0 4th 5-6-0 4-1-0 T-1st 8-3-0 3-2-0 T-3rd 5-5-0 3-2-0 T-2nd 8-2-0 4-1-0 2nd 1-10-0 0-5-0 6th
Ray Alborn (13-30-0) Year 1986 1987 1988 1989
Ray Woodard (13-21-0) Year
Bob Frederick (6-26-1) Year 1976 1977 1978
Overall Conference Conference W-L-T W-L-T Finish -- Southland Conference -2-9-0 0-5-0 6th 2-9-0 1-4-0 6th 2-8-1 0-5-0 6th
Overall Conference Conference W-L-T W-L-T Finish -- Southland Conference -2-9-0 0-5-0 6th -- Independent Status -3-8-0 ----3-8-0 ----5-5-0 -----
2010 2011 2012
Overall Conference Conference W-L-T W-L-T Finish -- Independent Status -5-6-0 ------ Southland Conference -4-7 2-5 6th 4-8 1-6 7th
107
La mar Foo tba l l All Lone Star Conference 1951 1952 1955 1957
1958
1959 1960 1961 1962
Sammy Carpenter, TB Sammy Carpenter, TB Roy Mazzagatti, T Raymond Meyer, FB Glenn Green, SE Bob Frank, C Wendell Martin, G Dudley Meredith, T Bob Nance, FB Glenn Green, SE Gary McKee, C Norman Noble, G J.E. Whitmore, RB John Donaho, G Shephard Touchett, FB Nader Bood, G Ronnie Fontenot, RB Bobby Jancik, RB Lindley King, G Lindley King, G
All Southland Conference 1964 1965
1966
1967
108
Anthony Guillory, G Vernon McManus, LB Mike Allman, DB Dick Croxton, DE Jake David, DB Bill Kilgore, SE Harold Lafitte, RB Ed Marcontell, OT Vernon McManus, LB Phillip Primm, QB Dick Croxton, DE Jake David, DB Johnny Fuller, SE Danny Jones, LB Ed Marcontell, OT Phillip Primm, QB Tom Smiley, FB Spergon Wynn, OG Richard Bjerke, LB Dick Croxton, DE Johnny Fuller, SE Bill Groberg, DB Bill Kilgore, SE Darrell Mingle, C Tom Smiley, FB Spergon Wynn, OG
All-Conference Players 1968 1969
1970 1971 1972
1973 1974
1976 1977
1978 1979
1980 1981 1982 1983 1984 1985
Richard Cummings, DT Benny Lansford, DB Gary Crockett, DT Ronnie Gebauer, SE Jerry Harvey, DB Mordie Marcontell, OG Gary Crockett, DT Gary Crockett, DT Patrick Gibbs, DB Joe Bowser, SE Charles Cantrell, OT Rondy Colbert, DB Doug Matthews, RB Leon Babineaux, DE Joe Bowser, SE Rondy Colbert, DB Leon Babineaux, DE Ronald Black, LB Rondy Colbert, DB Donald Davis, DT Keith Elliot, OG Donald Hill, DB Donald Davis, DT Kevin Bell, RB Matt Burnett, NG Victor Enard, OG Clarence Wallace, RB Victor Enard, OG Victor Enard, OG Alfred Mask, TE Kurt Phoenix, LB Howard Robinson, FL Sam Choice, FL Johnny Ray Smith, DB Herbert Harris, SE Mike Marlow, PK David Jones, DB Terry Lee Williams, DE Eugene Seale, LB Rodney Clay, SE Eugene Seale, LB Ricky Fernandez, P Burton Murchison, RB Eugene Seale, LB
Ronnie Gebauer
Three-Time All-SLC Selections Rondy Colbert, 1972-74 Gary Crockett, 1969-71 Dick Croxton, 1965-67 Victor Enard, 1977-79 Eugene Seale, 1983-85
Burton Murchison * - Only First-Team Selections Listed
L a m a r Fo otbal l Specialty Awards & NFL PLayers NFL Draft Picks All-America and Free Agent Signings Dudley Meredith, T
1957 1961 Bobby Jancik, DB 1967 Spergon Wynn, OG (AP) 1983 Eugene Seale, LB (AP) 1985 Burton Murchison, RB (AP, FN) AP-Associated Press FN-Football News
Senior Bowl 1968
Tommy Smiley, RB
NCAA Postgraduate ScholarshipWinners 1973
Richard Kubiak
SLC Offensive Player of the Year 1985
Burton Murchison
SLC Defensive Player of the Year 1965 Vernon McManus 1983 Eugene Seale
Year 1957 1962 1965 1967
Rd Sel# 21
Player Dudley Meredith Bobby Jancik 7 Anthony Guillory 11 279 Ed Marcontell 15 393 Darrell Johnson 1968 2 55 Tom Smiley 4 98 Johnny Fuller 1972 9 222 Pat Gibbs 14 343 Gary Crockett 1973 5 117 Charles Cantrell 13 317 Ed Robinson 15 376 Thomas Gage 1975 17 418 Rondy Colbert 1978 12 316 Jeff Bergeron 12 321 Kevin Bell 1981 11 283 Johnny Ray Smith 1985 6 163 Danzell Lee 1990 6 142 Tyrone Shavers Free Agent Signings Out of College 1965 Mike Allman 1967 Bill Kilgore 1969 Wayne Moore 1970 Ronnie Gebauer 1973 Joe Bowser 1979 Matt Burnett 1987 Eugene Seale 2012 Marcus Jackson
Pos. DT DB LB G RB RB DB DB DT OT DB RB WR DB TE WR
Team Detroit Lions Houston Oilers Los Angeles Rams St. Louis Cardinals New Orleans Saints Cincinnati Bengals San Francisco 49ers Philadelphia Eagles Houston Oilers Washington Redskins St. Louis Cardinals Atlanta Falcons New York Giants Seattle Seahawks San Diego Chargers Tampa Bay Buccaneers Washington Redskins Phoenix Cardinals
DB OL OT SE SE DL LB WR
Los Angeles Rams Cleveland Browns San Francisco 49ers Philadelphia Eagles Dallas Cowboys Houston Oilers Houston Oilers Atlanta Falcons
SLC Newcomer of the Year 2012
Kevin Johnson
SLC Coach of the Year 1970 Vernon Glass 1974 Vernon Glass
Former Lamar AllAmerica Eugene Seale spent six seasons with the Houston Oilers
109
La mar Foo tba l l Senior College Lettermen Derek Anderson 1985-88
Richard Adams, 1977-78 Bruce Adair, 1984 Bobby Adamson, 1971-73 Naisaun Ahmadi, 1988-89 Burnie Alderman, 1964-65 Jeremiah Alexander, 2010-11 Bruce Allen, 1970 Chad Allen, 2010-11-12Jerry Allen, 1951-52-53 Michael Allen II, 2010-11 Red Allen, 1981-82 Robert Allen, 1988-89 Ronnie Allen, 1972 Burt Allman, 1963-64-65 Mike Allman, 1962-63-64-65 Hunk Altenbaumer, 1985 Byron Amerson, 1988-89 Derek Anderson, 1985-86-87-88 Ed (Thor) Anderson, 1978-79 Mike Anderson, 1971-72-73 Dan Andrews, 1956-57 Mike Andrie, 1984-85-86-87 Kevin Arey, 1986-88-89 Eric Arnold, 2011 Kwabena Asante, 2010 Tony Ashbacher, 1975 Farrell Attaway, 1951-52 Bernie Auld, 1979-80-81
John Behuler 1960-61
Stephen Babin, 2010-11-12 Leon Babineaux, 1971-72-73-74 Emone Bailey, 2010-11 Steve Bailey, 1964-65-66 Ronnie Baird, 1969-70 Bobby Baker, 1963 Whit Baker, 1963-64-65
110
Andrew Balke, 1956-57 Steele Baptiest, 1983-84-85 Victor Barlow, 1983-84-85 Dwayne Barnes, 1984-85-86 Craig Barrett, 1967-68 Dillon Barrett, 2012Troy Barrett, 1984-86-88 Gene Bates, 1951-52 Anthony Beard, 2011Steve Becker, 1983-84 Craig Bee, 1989 Reggie Begelton, 2012Charles Behn, 1976-78-80 Billy Bell, 1983-84-85 Kevin Bell, 1976-77 Tommy Bell, 1954-55 Olney Beltz, 1953 Mitchell Bennett, 1982-83 Jeff Bergeron, 1977 William Berlin, 1959-60-61 Bobby Berry, 1987 Caleb Berry, 2011-12Alfred Besch, 1958 John Beuhler, 1960-61 Andre Bevil, 2010-11 Robert Billings, 1985 Kenny Birkes, 1977-78-79 Richard Bjerke, 1964-65-66-67 Ronald Black, 1971-72-73 John Blackwell, 1966-67-68 Hoy Blanton, 1968 Marvin Boatman, 1980-81 Lynn Bock, 1971-72-73-74 James Bolton, 1951-52-53 Kyle Bolyard, 1983-84-85 Nader Bood, 1958-59-60 Ben Booker, 1978-79-80-81 David Booker, 1979 Daniel Boone, 1955 Jerry Boone, 1953-54-55-56 Billy Borten, 1988 Hayden Bourg, 1965-66 Daryl Bourgeois, 1983 Vernon Bowman, 1963-65 Joe Bowser, 1971-72-73 Gary Boyette, 1973 Hosea Bradley, 1979 Dale Brannan, 1982 Ben Breaux, 1985 Justin Brock, 2012Chris Brown, 1984-85-86 Wesley Bryant, 1981 Rusty Brittain, 1972-73-74 Charles Broussard, 1979-80-81-82 Darryl Broussard, 1982-83-84 Bo Brown, 1986-87-88-89 Percy Bruce, 1979-80 Ed Brune, 1953-54-55 Gordon Buffington, 1959-60 Ray Buffington, 1961-62-63
Jeffrey Burdick, 1989 Jimmy Burnett, 1951-52 Matt Burnett, 1975-76-77-78 Jimmy Burney, 1952 Bruce Bush, 1969 Randall Byrd, 1977-78-79-80
Mike Cebrun 1983-85
Steve Cahee, 1983 Bobby Caldwell, 1952 Greg Caldwell, 1982-83 Bryan Campbell, 1986-87-88-89 Daniel Campbell, 2011 Luke Campbell, 2012 Ray Campbell, 1957-58-59 Ray Campbell, 1980-81-82-83 Charles Cantrell, 1970-71-72 Rick Carber, 1978-79 Kevin Carey, 1985 Patrick Carlton, 2010-11-12 Sammy Carpenter, 1951-52-53-54 Paul Carswell, 1958-59 Doug Carter, 1968 Weldon Cartwright, 1976-77 Gary Casey, 1964-65 Rick Casey, 1978-79 Jesse Cavil, 1978-79-80-81 Rodney Cavness, 1987-88 Mike Cebrun, 1983-84-85 Greg Chambers, 1971-72-73-74 Ben Chandler, 1984-85 John Chapman, 1954-55-56 Joey Chavez, 2010-11 Billy Chavis, 2010-11 Blake Chavis, 2011-12 Billy Chester, 1970 Leonard Choate, 1951-52-53 Sam Choice, 1979-80 John Christian, 1977-78-79 Bruce Clapp, 1976-77-78 Champ Clark, 1965-66-67 David Clark, 1971-1972 Ryan Clark, 2010-11 Warren Clark, 1963-64 Rodney Clay, 1982-83-84-85 Matthew Clay, 1978 Tracey Clay, 1981-82-83 Douglas Clower, 1951 Ed Cockrell, 1986-87-88-89
L a m a r Fo otbal l Chris Coffey, 1988-89 Harry Cole, 1979-80 Lotice Cole, 1968-69 Mel Cole, 1974-75-76 Darrell Coleman, 1983-84-85-86 Jacody Coleman, 2010-11 Rondy Colbert, 1971-72-73-74 Colton Collins, 2011-12 Steve Collazo, 1973-74-75 Scott Coon, 1974-75 Daniel Conrad, 1965-66-67 Ronny Cowart, 1971-72-73 Bernie Cook, 1954-55 Johnny Cook, 1964-65-66 Billy Counts, 1954-55-56 Charles Crawford, 1968 Rodney Crawford, 1984 Brandon Crissmon-Stewart, 2010 Harvey Criswell, 1975 Gary Crockett, 1969-70-71 Vernon Crowder, 1960 Dick Croxton, 1965-66-67 Robert Cuddy, 1971-72-73-74 Charles Culler, 1955 Richard Cummings, 1966-67-68 Donald Cunningham, 1974-75-76-77 Tommy Currie, 1963-65
Pat Day 1959-61
Larry Daily, 1973 Mozell Darthard, 1983-84 Jake David, 1964-65-66 Doug Davidson, 1971-72 Bill Davis, 1952-53 Donald Davis, 1973-74-75-76 Jimmy Davis, 1960 Kevin Davis, 2010-11 Nashon Davis, 2012Ronald Davis, 1987-88-89 Taylor Davis, 2011-12 Billy Dawson, 2010-11 Michael Dawson, 1987-88 Pat Day, 1959-60-61 Frazier Dealy, 1964-65 Mark DeHoyos, 1975 Paul De LaRosa, 1989 Joe Deleon, 1954 Jerry Deller, 1980 Steve DeRouen, 1972-73 Brad Derrick, 1960 Robert Desha, 1960 Thomas Dickerson, 1977
Jesse Dickson, 2010-11-12Charles Dinhoble, 1958-59-60 Kevin Dischler, 1983-84 Dwayne Dodd, 1984-85-86 Glenn Dorris, 1972 Adren Dorsey, 2010-11-12 Floyd Dorsey, 1979-81-82 Ron Douglas, 1984 Alton Drake, 1981-82-83-84 Mike Drake, 1970-71-72 Danny Dubose, 1964-65-66-67 Roy Duke, 1951 Blair Duncan, 1955 Frederick Dunham, 1973-74
Justin Eicher 1978-80
Ben Eaglin, 1973-74 Howard Easley, 1982-83-84 Frank Ebersole, 1956 Glen Edgerly, 1967-68 Jordan Edwards, 2010-11-12 Kameron Edwards, 2010-12 Justin Eicher, 1978-79-80 Jonathan Ekpe, 2010 Dean Elliott, 1962-63 Keith Elliott, 1971-72-73-74 Arthur Ellis, 1989 Mike Ellis, 1977-78-79-80 Ronnie Ellis, 1983-84 Victor Enard, 1977-78-79 Cameron Epple, 2010-11 George Eskue, 1971-72-74 Roy Esquivel, 1968-69-70 Herbert Estes, 1951-52 John Evans, 1986-87-88-89 Robert Evans, 1986-87-88-89
Ricky Fernandez 1982-85
Marshall Fairchild, 2010-11-12Jim Fairman, 1954-55 Louis Falgout, 1974-75-76-77
Lanston Fall, 1975-76-77 Danny Faust, 1989 Ricky Fernandez, 1982-83-84-85 James Finch, 1962 Bobby Flores, 1973-74-75-76 Marc Flowers, 1979 Gerald Foltyn, 1957-58-59 Ronnie Fontenot, 1959-60 Robert Fontno, 1968-69 Ronnie Foreman, 1956 Barry Ford, 2010-11-12Billy Ford, 1959-60 Chris Ford, 1987-88-89 Dionte Forney, 2011 Bill Foster, 1955 Joe Foster, 1971-72-73-74 Mario Foster, 2010-11 Bob Frank, 1956-57 Van Lawrance Franks, 2010-11-12 Kenny Franklin, 1986-87-88-89 Chris Frederick, 1975-76-77 Bob Frederick, 1951-52 Johnny Fuller, 1965-66-67
Bill Godwin 1981-82
Thomas Gage, 1970-71-72 Ruben Galaviz, 1988 Rick Gann, 1979-80 Danny Gardner, 1960-61 DePauldrick Garrett, 2011-12 Jordan Garrett, 2010-11-12 Louis Garriga, 1980-81-82 Roy Gaspard, 1965-66-67 Ronnie Gebauer, 1967-68-69-70 Patrick Gibbs, 1968-69-71 Keith Gilchrist, 1978-79 Kyle Gillam, 2010-11-12Clay Givens, 1971-72-73 Gratian Gladney, 2012Bill Godwin, 1981-82 Alex Goff, 2010-11 Ricky Gohlke, 1973-74-75-76 Don Gordon, 1975-76-77-78 Brad Grant, 1987 Chris Gravitt, 1987-88-89 Glenn Green, 1955-56-57-58 Kenneth Green, 1981-82-83 Olen Green, 1984 Richard Griffin, 1957 Tommy Griffiths, 1976-77-78-79 Bill Groberg. 1966-67 John Gruter, 1962
111
La mar Foo tba l l Adrian Guillory, 2011-12 Anthony Guillory, 1962-64 James Guillory, 1980
Windell Hebert 1960-62
David Haladay, 1963-64 David Halbrook, 1972-73-74 Cedric Hall, 1976 Tony Hall, 1970-71 Jacob Hanna, 2011-12 Danny Hansen, 1977 Jesse Hardin, 1983 Percy Hardison, 1969-70-71 Mike Hargis, 2012Caleb Harmon, 2010-11-12Lloyd Harper, 1955 Darrell Harris, 2012 Glen Harrison, 1981-82 Lawson Hartwick, 2011-12Jaime Harvey, 1980-82 Harold Harris, 1973-74-75 Herbert Harris, 1980-81-82 Jackie Harris, 1980-81-82-83 Roger Harris, 1962-64 Jerry Harvey, 1968-69-70-71 Thomas Harvey, 1956 Dennis Haskin, 1983-84 George Hawkins, 1952 J.J. Hayes, 2010-11 Larry Haynes, 1978-79 Tim Hayter, 2010-11 Windell Hebert, 1960-61-62 Jerome Heim, 1983 P.J. Henderson, 2011-12Darryl Henicke, 1967 Patrick Henry, 1989 Torre Henry, 2010-11 John Hensley, 1972-73-74-75 Ronnie Henson, 1986-87-88-89 Paul Herring, 1959 Fred Hessen, 1981-82 Joe Hester, 1959 Danny Hetzel, 1967-69 Ed Hickey, 1988-89 Asim Hicks, 2010-11 Elton Hightower, 1951-52-53 Kye Hildreth, 2010-11 Aaron Hill, 1980 Clinton Hill, 1970-71 Darrell Hill, 1975-76 Donald Hill, 1972-73-74 Glen Hill, 1969-70-71-72
112
Larry Hill, 1980-81-82 Smitty Hill, 1951 Vernon Hill, 1960 Kirk Hobbs, 1983-84 Kevin Hoffman, 1984-85-86-87 Todd Hogue, 1982-83-84 Rodney Holcombe, 1983-84-85-86 Keith Holden, 1980-81-82 Kevin Holden, 1979-80-81-82 Nathan Hollins, 1988 David Hollyfield, 2012Eddie Horn, 1978-79 Roy Hudson, 1973-74 Jimmy Humlick, 1986 Dan Hunt, 1966 Ernie Husmann, 1966-67 Cody Hussey, 2010
Jim Jiral 1979-80
Joe Jack, 1977 Darby Jackson, 2010-11 Michael Jackson, 1985-86-87-88 Jim Jackson, 1968 Johnny Jackson, 1975 Marcus Jackson, 2010-11 Raymond Jackson, 1981-82-83 Tim Jackson, 1978 James Jacobs, 1983-84-85 Joshua James, 2010-12 Bobby Jancik, 1960-61 Andre Jenkins, 1985-86 Jim Jiral, 1979-80 Darrell Johnson, 1963-64-65-66 Duane Johnson, 1970-71-72-73 Edward Johnson, 1982 J.J. Johnson, 1977 Jeremy Johnson, 2011 Kenny Johnson, 1974 Kevin Johnson, 2012Leroy Johnson, 1977-78 Matt Johnson, 2012Mike Johnson, 1960-61 Paul Johnson, 1987-88-89 Sherwin Johnson, 1987-88-89 Tim Johnson, 1980-81 Alja Jones, 1983-84-85-86 Bobby Jones, 1989 Danny Jones, 1963-64-65-66 David Jones, 1975-76-79 David Jones, 1981-82 Ivan Jones, 1976-77 Ronnie Jones Jr., 2012-
Ryan Jones, 2010-11-12 Scott Jones, 1976 William Jones, 2010-11-12Ruben Jordan, 1979-81 Sam Jordan, 1975 Gary Joseph, 1971 Jacobson Joseph, 2010
Lindley King 1960-62
Kollin Kahler, 2010-11-12Mark Kebodeaux, 1974-75-76-77 Cliff Kellett, 1953 Donald Kelley, 1968 Mike Kelley, 1968-69 Ian Kelso, 2010-12Donald Kenebrew, 1985-86 John Kent, 1961 Barry Kerr, 1961-62 Jessie Kibbles, 1975-76-77-78 Mike Kiger, 1978-79 Bill Kilgore, 1965 Chris Killgore, 1979-80-81 Alden Kimmey, 1959 Lindley King, 1960-61-62 Jeremy Kirt, 2010-11-12 Tommy Kizer, 1971-72 Troy Knight, 1987-88-89 Jeff Knox, 1987-88-89 Bobby Koon, 1957-58 Gerard Krolczyk, 1969-70-71 Donald Krushall, 1970-71 Larry Krushall, 1971-72 Richard Kubiak, 1971-72 Joe Knight, 1961-62 Troy Knight, 1987-88-89
Chris Lafferty 1986-89
Chris Lafferty, 1986-87-88-89 Harold LaFitte, 1962-63-64-65 Bob Lakin, 1967-68-69 Bruce Land, 1961
L a m a r Fo otbal l George Landry, 1982-83-84-85 Louis Landry, 1982-83 Gene Langley, 1986 Bennie Lansford, 1968-69-70 James Laramore, 2010 Mike Laudig, 1975 Danny Lee, 1977-78 Danzell Lee, 1982-83-84 Paul Lee, 1981-82 Johnny Lee, 1966-67-69 Stephen Lee, 1985-86-87-88 Jabo Leonard, 1972-73-74-75 W.S. (Bud) Leonard, 1951-52 Mark Lerch, 1985-86 Jon Lesage, 1962 George Levias, 1984 Ranzy Levias, 1984-85-86-87 Russ Levine, 1971-72-74 Kacy Lewis, 1986-87-88-89 William Lewis, 1968-69 Bill Lierman, 1951-52 Roy Lierman, 1951-52 David Lightfoot, 1970-71-72 Ilester Little, 1983 Octavious Logan, 2010-11 Mike Long, 1979 Jermaine Longino, 2012Donte Lopez, 2010 Mike Lovett, 1974-75-76 Brad Lowe, 1973-74-75 Bill Lucas, 1967-68 R.T. Luce, 1957-58 Mark Ludwig, 1968-69 Rodney Lukaszewski, 1975-76-77-78 Barry Lussier, 1967-68-69 Parnell Lykes, 1980-82
Phillip Mack 1982-84
Phillip Mack, 1982-83-84 Troy Mack, 1985-86-87-88 Chris Maikranz, 2010-11-12Chris Mager, 1989 Anthony Majors, 1983 Marcus Malbrough, 2011-12 James Mallow, 1957 Dennis Malveaux, 1985-86 Ed Marcontell, 1963-64-65-66 Mordie Marcontell, 1967-68-69 Mike Marlow, 1978-79-80-81 John Henry Marshall, 1951-52-53 Wendell Martin, 1957 John Martinez, 1975
Guy Martona, 1953 Alfred Mask, 1977-78-79-80 Doug Matthews, 1969-70-71-72 Don Maxwell, 1957-58-59-60 Harold Mayo, 1962 Roy Mazzagatti, 1951-52 Robert McAnelly, 1968 Kevin McArthur, 1981-82-83 Billy McBay, 1962-63-64 Thomas McClendon, 1971-72-73-74 Randy McCollum, 1967 Larry McCoy, 1981-82 Darrell McDonald, 1975 Scott McDonald, 1988-89 Adrian McDowell, 1982-83-84 Bobby McDowell, 1968 Keith McFaddin, 1983-84-85-86 Danny McFarland, 1982-84-85 David McGaughy, 1960 Tyrus McGlothen, 2012Lonnie McGowen, 1973-75-76 Patrick McGriff, 2012Malcolm McKay, 1959-60-61 Gary McKee, 1958-59-60 Wayne McKeller, 1973 Ryan McLin, 2010 Armour McManus, 1959-60-61 Vernon McManus, 1964-65 Bill McNeill, 1958-59 Robert McNeill, 1965 Joe McReynolds, 1970-72 Kenny McRill, 1962-63 Payden McVey, 2011-12Ronnie Melancon, 1973-74 Bill Menard, 1969-70-71 Stephone Mercer, 2011-12 Dudley Meredith, 1957 Frank Messina, 1968 Raymond Meyer, 1954-55-56 Bruce Miller, 1983-84-85 David Miller, 1959 Hubert Miller, 1954 Robert Milner, 1978-79 Darrell Mingle, 1967-68 Daniel Mitchell, 1988-89 Mike Mitchell, 1973 Nalan Mitchell, 1977 Dave Money, 1985 Drew Montgomery, 1980 Kenny Montgomery, 1965-66-67-68 Arthur Moore, 1986-87-88-89 David Moore, 1975 Robbie Morehead, 1973 Earl Morgan, 1984-85-86 Shawn Morgan, 1985-86-87 Bob Moss, 1954-55 Logan Moss, 2012Ryan Mossakowski, 2012Jeff Muckleroy, 1984 Burton Murchison, 1984-85-86-87 Robert Murphy, 1974 Steven Murray-Sesay, 2010-12 Mark Murrill, 2010-11-12Larry Myers, 1984-85-86-87
Kim Ray Nealy 1985-86
Bob Nance, 1955-56-57 Kim Ray Nealy, 1985-86 Jayce Nelson, 2012John Nelson, 1969-70-71 Larry Neumann, 1972-73 Danny Neuse, 1970-71 Jerry Nichols, 1959-60 Jordan Nixon, 2010 Norman Noble, 1957-58 Larry Norman, 1970 Maurice Novak, 1987 Randy Nunez, 1966-67-68-69
Ricky Overton 1975-78
Andy Oaks, 1985-86-87-88 Anthony Oden, 2011 Brad Oden, 1986 Joe Okafor, 2012Philip O’Neal, 1968-69-70-71 Mike O’Quinn, 1974 Geoge Orebe, 2012Bernard Otto, 1957 Ricky Overton, 1975-77-78 B.J. Oyefeso, 2012
113
La mar Foo tba l l
Phillip Primm 1963-66
George Pachuca, 1969-70 Paul Palmer, 1970 George Parks, 1956-57 Robert Parma, 1957-58 Wesley Parma, 1951-52-53 Waylon Patterson, 1986-87-88-89 Taras Payne, 1984-85-86-87 Gehrig Payton, 1975-76-77 Jimmy Peacock, 1955-56-57 George Peddy, 1983 Anthony Pendland, 1973-74-75-76 David Perkins, 1966-67 Tracey Perkins, 1985-86-87-88 Robert Perkins, 1964 Sean Perry, 1989 Joe Persohn, 1983 Keinon Peterson, 2010-11-12Blake Peveto, 2010 Ed Peveto, 1957-58-59 Don Phillips, 1961-62-63 Kurt Phoenix, 1976-77-78-79 Stan Pierce, 1969 Connell Pitts, 1960-61 Payton Ploch, 2010-11-12Wayne Ponder, 1975 Dennis Porter, 1970 Woodrow Porterfield, 1968-69-70 Ronnie Potts, 1966-67-68 Josh Powdrill, 2010-11 Keith Powe, 1987-88-89 Eugene Powell, 1953 Kendrick Prejean, 2010-11 Richard Prejean, 1961-62-63 John Prescott, 2011-12 Doug Prewitt, 2010-11 James Price, 1980-81-82 Phillip Primm, 1963-64-65-66 Keith Pruitt, 1983-84-85-86 Don Ptacek, 1959-60-61 Raymond Purkerson, 1951-52-53 Doug Pursley, 1965-66-67
Donald Rawls 1981-83
Al Rabb, 1973-74-75 Richard Rafes, 1973 Carlos Ramsey, 1962-63 Jerome Raven, 1988-89 Donald Rawls, 1981-82-83 Mike Reeder, 1973-74-75-76 Howland Reich, 1951-52 Howard Reid, 1973 Dudley Rench, 1956-57-58 Eric Reynolds, 1984 Desmond Richards, 2012Lloyd Ricketson, 1968-70-71 Wayne Riley, 1962 Joe Rimes, 1956-59 Myron Riser, 1986-87-88-89 Calvin Roberson, 1978-79-80 Norris Roberts, 1981 Sean Robertson, 2011-12 Edward Robinson, 1971-72 Howard (Boo) Robinson, 1976-77-78-79 James Robinson, 1965-67-68 Von Robinson, 1976 Andrew Rodney, 1987-88 Danny Rogas, 1975-76-77 Jerry Rogers, 1958-59-60 James Rollins, 1975-76-77-78 Joe Rollins, 1984-85 Keffrin Rusk, 1984-85
Tyrone Shavers 1988-89
Audwin Samuel, 1973-74 Juventino Sanchez, 2011-12 Mike Sandera, 1979-80 Ed Sanders, 1968-69 Donnie Schattel, 1977 Pat Schilhab, 1969 Gary Schneeman, 1956 Roger Schott, 1962-63 Will Sciba, 1989
114
Anthony Scott, 1984 Eugene Seale, 1983-84-85 Ezell Seals, 1983-84-85-86 Elton Senegal, 1979-80-81 Gene Sharp, 1953 Tyrone Shavers, 1988-89 Derrek Shelton, 1980-81 Jamie Sherman, 1982-83-84 Aaron Shetley, 2010 Bill Silva, 1954-55-56 David Silva, 1972 David Silvas, 1974-75 Bart Simmons, 1974-75-76 Kevin Simon, 1986-87 Jerry Simons, 1970 James Simpson, 1986-87 Herschel Sims, 2012 Marc Singleton, 1985-86 Zach Skinner, 2010 Henry Sledge, 1958-59-60 Joe Sloan, 1974-75-76 Charles Smaistria, 1953-54 Tommie Smiley, 1965-66-67 Aaron Smith, 1972 Darren Smith, 1988-89 Darryl Smith, 1979-80-81 Don Smith, 1951 Johnny Ray Smith, 1977-78-79-80 Kenneth Smith, 1963-64-65 Kevin Smith, 2011 Mike Smith, 1966 Shad Smith, 1985-86-87-88 Willie Smith, 1984-85-86-87 Greg Somers, 1976 Cory Soto, 2012 Larry Spacek, 1974-75-76-77 Jesse Sparks, 2011-12Larry Spears, 1973-74-75 Lee Spears, 1965-66 Dale Spence, 1973-74-75 Corbin Spitzer, 1977 Cory Stagg, 1986-87 Charles Starcke, 1956-57-58-59 Edgar Stephens, 1963 Marshall Stewart, 1983-84-85-86 Ronnie Stiger, 1981-82 Mick Still, 1987-88 Paul Stockman, 1988 David Stone, 1976 Ralph Stone, 1961-62 Louis Story, 1977-78-79 Justin Stout, 2010-11-12James Street, 1963 Rick Stroman, 1981-82-83 Harvey Stuessel, 1964-65 Andrew Sundermann, 1981-82-83 Lew Surratt, 1976-77-78-79 Rip Sutton, 1970
L a m a r Fo otbal l
Donald Thomas 1981-84
Monte Tatford, 1979 Harrison Tatum, 2010 Bruce Taylor, 1970-71-72 Juan Taylor, 1979-80-81 Paul Taylor, 1973-74-75 Mark Teichman, 1974-75-76 Ken Thompson, 1966-67 Terry Thompson, 1968 Branden Thomas, 2010-11-12Buford Thomas, 1975-76-77-78 Charles Thomas, 1954-55 Donald Thomas, 1981-82-83-84 Henry Thomas, 1982 Tim Thomas, 1986-87-88-89 Chris Thompson, 1980 Courtlin Thompson, 2012Richard Thurman, 1953-54 Bobby Tibbetts, 1961-62-63 George Toal, 1971-72 Robert Tolar, 1960 Trey Tollett, 1974-75-76-77 Tommy Tomlin, 1969-70 Shephard Touchett, 1956-57-58-59 Bob Trahan, 1952 Richard Travis, 1972-73 Rodney Travis, 1967 John Traylor, 1956-57 Sammy Trevino, 1954-55 Charles Truitt, 1955 Kenneth Turk, 1973-74-75 Bruce Turner, 1977 Delmer Turner, 1951-53 Ronnie Turpin, 1979-80
Scott Utterback 2012
Scott Utterback, 2012
Frank Van Renselaer 1988-89
Frank Van Renselaer, 1988-89 Kenneth Vaughn, 1983 Mike Venson, 2011-12 Jay Verde, 1971 Joseph Viator, 2010-11-12 Bill Vincent, 1959-60-61
Willie Walker 1986-89
Arnold Wade, 1979-81 Darryl Waldrep, 1972-73-74-75 Jason Walker, 1989 Norman Walker, 1955-56-57 Ronnie Walker, 1956 Teddy Walker, 1952-53-54 Willie Walker, 1974 Willie Walker, 1986-87-88-89 Clarence Wallace, 1875-76-77 James Wallace, 1954 Tony Walter, 1969 Brent Walters, 2010 Jay Warrick, 1975-76-77-78 James Washington, 2010-11-12Keith Washington, 1985-86 Marcus Washington, 2012Kenny Wamble, 1968 Larry Ward, 1957-58-59 Andrew Washington, 1975-77-78 Darrell Washington, 1974 Eugene Washington, 1963-64-65 Brent Watson, 1983 Wayne Weaver, 1967 David Webb, 1961-62 Michael Wedgeworth, 1975 Mark Welch, 1977-78 Daryl Wells, 1970-71 Brock Wempa, 2012Patrick West, 1989 Bill Whaley, 1951 Jestin White, 2011-12-
Dwayne Whitehead, 1966-67 J.E. Whitmore, 1955-56-57-58 Troy Whitmore, 1989 John Wayne Wiersema, 1965-66 Randolph Wilburn, 1983 Sam Wilcox, 1954 Dan Wilder, 1974 Steve Wilke, 1971-72-73-74 J.D. Wilkins, 1976-77 Dennis Williams, 1980-81-82 Floyd Williams, 1971 George Williams, 1967-68-69 John Williams, 1971-73 Mike Williams, 1971-72-73-74 Ted Williams, 1975 Terry Lee Williams, 1979-80-81-82 Billy Wills, 1956 Herman Wilson, 1961-62 Hubert Wilson, 1960 Jake Wilson, 1988-89 Josh Wilson, 2011-12Tommy Winn, 1963 Bucky White, 1983-84 Tommy White, 1975-78 Davion Wolford, 2011-12 Jim Woodard, 1957-58-59 Jason Woods, 1989 John Woods, 2010-11 Bill Worsham, 1961-62-63-64 Gary Wright, 1973-74 Ronnie Wright, 1961-62 Glynn Wyble, 1954 Spergon Wynn, 1964-65-66-67
Mike Ybarra 1979
Tommy Yates, 1963-64 Mike Ybarra, 1979 Daniel Yezak, 1963-64 Jackie Young, 1968-69-70
115
La mar Foo tba l l Junior College Lettermen Gilbert Adams, 1924-25 Otto Adams, 1924 Ernest Albright, 1946 J.E. Aiken, 1925 Jack Allen, 1942, 46 Terrell Allen, 1948 Lemos Allman, 1935 Ernest Allred, 1923 Angelo Alvarez, 1946-47 Don Anderson, 1950 Roy Andrews, 1923-24 Leroy Arnett, 1933-34 Edgar Asbury, 1934-35 Doug Atwood, 1935 Ovey Babin, 1932, 34 O.D. Bailey, 1936 Buell Bankston, 1934-35 Tom Ball, 1936 Woodrow Bando, 1938 Ray Barfield, 1924-25 Harold Bartlett, 1940-41 Gene (Gabby) Bates, 1948-49-50 Bobbie Baublewsky, 1924 Billy Bayne, 1938 Paul Beard, 1937-38-39 Hubert Beck, 1932-33 George Bedre, 1940-41 Dudley Bell, 1939 Lee Bell, 1926 Bob Bellaire, 1942 Floyd Berg, 1940-41 Joe Bergin, 1926 Melvin Bergin, 1926 Ray Bergin, 1925 Granville Berry, 1940 Lamar Bevil, 1933 Vincent Bevilacqua, 1937-38 Don Black, 1946 Carl Blackmore, 1948 Hugh Blanchette, 1935 Raye Blanchette, 1925 Joe Bland, 1925-26 Thurman Bland, 1932 Billy Bolton, 1938 James Bolton, 1950 Emmett Bone, 1932 Forest Booth, 1926 Sidney Bourgeois, 1924 Joe Bourland, 1938 Bill Bowers, 1937 F.S. (Spud) Braden, 1924-25 Bill Braswell, 1932 Merlin Breaux, 1950 Burren Brown, 1934-35 Red Brown, 1946
116
Wallace Brown, 1941 J.P. Broussard, 1935 Herbert Brunson, 1938-39 Joe Burke, 1939 George Burlin, 1948 Walter Burton, 1946 Bert Buteaud, 1946-48 Ernest Byerly, 1932-33 Clarence Cain, 1933-34 Bill Canfield, 1937 Charles Capps, 1940 Earl Carl, 1939 Vane Cartee, 1932-33 Di Carver, 1932-33 John Certa, 1946-47 Preston Cessac, 1937 Ennis Chafin, 1932 E.J. Chamblee, 1934 Angelo Chimeno, 1940 Godfrey Choate, 1938-39 Allison Crane, 1948 Bo Christian, 1946-47 Fred Clark, 1933-34 Billy Clement, 1942 Harold Clinefelter, 1940 Lester Clodiaux, 1937 Curley Cohn, 1932 Henry Cole, 1936 Melvin Coleman, 1941 E.W. (Duck) Collins, 1940-41 Lamar Combs, 1932-33 M.F. (Red) Conner, 1937-38-39 Frank Cook, 1932 Jules Cook, 1938 Harry Cooke, 1923-24-26 Fred Costilla, 1938-39 D.T. Cotham, 1936 L.M. Coy, 1936-37 Cleo Creamer, 1934 Audie Creel, 1942 Clarence Crenshaw, 1926 James Crouch, 1936-37 H.M. Culpepper, 1940-41 John Curtis, 1948 Ashton Daigle, 1934 Joe Davidson, 1926 Roy Davidson, 1946-47 Averill Davis, 1946 Ludie Davis, 1947 Wade Davis, 1940 Wilbur Davis, 1947 Will Davis, 1948-49 C.C. Dawson, 1942 Elmer Deason, 1932 Johnny Deason, 1934-35
Ray Deaton, 1941 Lionel DeRouen, 1950 Bob Deslatte, 1942 Wilton Deslatte, 1950 Warren DeVillier, 1940 Alan Dickensen, 1938 Wayne Dillon, 1939 A.M Dodd, 1938 Elmo Dorsey, 1948-49-50 Leon Dorsey, 1935 Ted Dorsey, 1932-33 M. Dowell, 1926 Billy Downs, 1939 E.L. Duhon, 1950 Ed Dupree, 1923 Mickey Durk, 1949 Dalton Dyess, 1949 John East, 1937 Moise Eastham, 1932 Buck Elkins, 1932-33 Morris English, 1937-38-39 Frank Evans, 1942 L.E. Ezell, 1924 Johnny Farha, 1938 Johnny Farinella, 1939-40 A.D. Faulk, 1941 Herman Fehl, 1937 Louie (Dutch) Fehl, 1923 Aubrey Felder, 1947-48 Jerome Feldman, 1948 Herb Finger, 1942 Howard Fisher, 1934 Arthur Fore, 1936, 39 Billy Foster, 1926 Leslie Foster, 1926 Johnny Frank, 1937 Elvin Franklin, 1936-37 Melvin Franklin, 1936-37 Bob Frederick, 1948-49-50 Preston French, 1938-39-40 Frank Formuga, 1940 Fred Fulgham, 1949-50 Ken Fulgham, 1950 Sam Gallier, 1941-42 Clifton Garrett, 1946 Sherrill Garrett, 1941 Alton Geisendorff, 1947-48 Walter Gernand, 1936 Leroy Gibson, 1940-41 S.A. Giglio, 1925 Sam Giglio, 1936 Red Gill, 1925 Joe Glasson, 1935 Stanton Glazener, 1948-49 Art (Snow) Gordon, 1932-33
Harley Graff, 1949-50 Howard Graff, 1949-50 Claude Graves, 1938 George Gray, 1938 John Gray, 1923-24-25 John Green, 1932 Maurice Green, 1932-33 Sterling Griffin, 1947 Charles Griffith, 1949 Claude Gunn, 1938 Chris Hahn, 1924-25 Bob Hall, 1936 Earl Hall, 1949 Milton Hall, 1948 Pearman Hardy, 1947 Maxey Hargrove, 1923-24 Floyd Harper, 1950 Alfred Harrington, 1950 Bill Hart, 1939, 40, 42 Christy Hartman, 1936-37 Edgar Hass, 1938 Arthur Hawn, 1934-35 Hubert Hawthorne, 1923 Bob Hazlip, 1934 Stanley Head, 1934 Tom Head, 1936 J.W. Henderson, 1947 Henry Hensley, 1932 Victor Herm, 1936 Bobby Hickman, 1948 Elton Hightower, 1950 Arthur Hill, 1950 Gene Hill, 1946 Smitty Hill, 1948-49-50 Andy Hillhouse, 1946 R.A. Hillier, 1949-50 Bud Herring, 1941 Harry Hicks, 1949 J.W. Hise, 1937 Karl Hollier, 1949-50 Gordon Hope, 1936 Orrin Hopper, 1932-33 Charles Howell, 1924 Ezra Clinton Hughes, 1924 Horace Humphrey, 1938 Leo Hyse, 1942 Wilmoth Ingells, 1935 Wayne Ivers, 1938 Bob Jackson, 1939 Fred Jackson, 1946 James Jay, 1936-37 Clinton Johnson, 1933-34 Doyle Johnson, 1932 Jock Johnson, 1941 Ned Johnson, 1937
L a m a r Fo otbal l O.S. Johnson, 1937-38 Malcolm Johnstone, 1936 Curtis Jones, 1935-36 Harvey Jones, 1940 Carroll Kennedy, 1939 Charles Kennedy, 1940 Douglas Key, 1939 Ed Khoury, 1925 Paul (Hog) Kinnear, 1923-24 Curtis Kling, 1932 Herbert Knowles, 1933-34 Bob Kocter, 1942 E.A. LaBauve, 1933 Elmo LaBauve, 1924-25 Leon Lackey, 1938 Ernest Laminack, 1923 Charles Landry, 1939-40 J.C. Landry, 1937 Pat Landry, 1947 Glazer Lane, 1936 Jim Latta, 1949-50 George Laughman, 1934 Danny LeBlanc, 1935 Ira LeBlanc, 1948-49 Otis Lee, 1932-33 J.F. LeGros, 1941 W.S. (Bud) Leonard, 1948-49-50 Billy Lierman, 1948-49-50 Roy (Toby) Lierman, 1949-50 Jack Light, 1936 Walter Looney, 1939 A.J. Luquette, 1946-47 Richard Maddux, 1948 Charles Malitz, 1936-37 Waylon Manning, 1933-34 Roy Marsh, 1926 Bob Marshall, 1948-49 Ernest Marshall, 1936-37 John Marshall, 1950 Joe Martinez, 1950 Gilbert Massey, 1946-47 Clyde Martin, 1949 Clint Mayes, 1932-33 Roy Mazzagatti, 1948-49-50 Jack McCann, 1938-39 Bruce McClelland, 1936 Hugh McConaughey, 1950 J.B. McConnico, 1938 Ben McCowen, 1926 May McCreight, 1940 Graham McCullough, 1923-24 Charles McDonald, 1947 H.A. McDonald, 1925 John McGrew, 1940 Floyd McGuistion, 1935, 37 Jim McHenry, 1935-36 Maurice McInnis, 1939-40
Hal McKinley, 1939 John McLain, 1938 Reagan McLemore, 1924 Jimmy McNeill, 1948-49 Paul McNeill, 1923 Lee Mendenhall, 1936-37 Corwin Menthendall, 1933-34 Herman Meyers, 1937, 39 Leonard Migues, 1932 Theo (Cotton) Miles, 1941-42 Truman Milling, 1947 Bennie Mitchell, 1942 David Mitchell, 1948 Leroy Molbert, 1942 Joe Monford, 1940-41 Ewing Mosely, 1935 Pat Moulden, 1950 Rene Mouton, 1934-35 Red Myers, 1933 Edwin Nash, 1934-35 Goober Nelson, 1924-25 Jim Nelson, 1932 Rudolph Neumann, 1940-41 Garland Nunnelly, 1939 Wesley Nunez, 1942 Charles Oliver, 1946-47 James L. Oliver, 1947 Earl Ott, 1926 Emmett Owen, 1939-40 Stanley Owens, 1925 Jimmy Dan Pace, 1949-50 Harold Gene Palmer, 1948 Don Parker, 1950 Lawrence Parkhouse, 1940 Wesley Parma, 1950 Vernon Perdue, 1935-36 Lucas Petkovsek, 1942 Roy Philip, 1926 Bill Phillips, 1936 Glenn Phillips, 1939 Oail (Bum) Phillips, 1941, 46-47 Bill Plake, 1941 S.R. Plake, 1936 Jimmy Plyton, 1942 Preston Premeaux, 1948 Jeff Purdon, 1932-33 Ray Purkerson, 1950 Pat Rachal, 1948 Lehman Rahn, 1934 Leon Rahn, 1935-36 Vernon Ramke, 1946-47 Charles (Bubba) Ray, 1941-42 Stanley Ray, 1935 Arthur Reddell, 1925 Jimmy Reed, 1937 L.D. Reed, 1934-35 Bert Reeder, 1946
Aubrey Reeves, 1940 Howland Reich, 1949-50 Joe Renfrom, 1932 Jasper Rizzo, 1941 O.J. Rivere, 1940 D.L. Richards, 1934 Frankie Rinando, 1936 Robert Roberts, 1926 Walter Robin, 1950 Frank Roccaforte, 1940 Carlos Rojo, 1948 Carlos Romano, 1946-47 Tony Rossi, 1934 Bill Roy, 1937 Robert (Rob) Roy, 1926 Bobby Roop, 1950 Woodrow Roy, 1933-34 Clyde Rush, 1933-34 Lew Russell Jr., 1948-49 Sam Salim, 1947-48-49 Ralph Sanders, 1934 Sandy Sanderson, 1949 David Sapp, 1950 Tommie Saxe, 1925-26 Meryl Self, 1936 Charlie Schmucker, 1932 Jackie Scouten, 1948-49 Larry Shaw, 1940 Bill Sheffield, 1936-37 Dick Sheffield, 1942-46 Otho Shirley, 1924-25 W.W. Simmons, 1947 W.G. Shivers, 1940 Lawrence Smailhall, 1934-35 Eugene Smiley, 1947, 49 Bobby Lee Smith, 1946 Brandt Smith, 1947-48 James Smith, 1934-35 Richard Smith, 1938 Robbie Dee Smith, 1946-47 Wallace Smith, 1932 Gene Sory, 1948 Christy Sparks, 1941 I.D. Sparks, 1942 Melvyn Sparks, 1937, 39 Earl Spell, 1938 Asa Spencer, 1923 Odre Speyrer, 1947 Alvin Stahl, 1925 Durwood Steele, 1934-35 Ray Sterling, 1940 Kenneth Stowe, 1946 W.L. Straughn, 1941 Bill Steussey, 1938 Herman Strauss, 1950 Kelley Strayberry, 1937 Fred Stone, 1939
W.A. Strickland, 1937-38 Voy Strother, 1939 Sterling Swift, 1948 Earl Swinney, 1932 Rudolph Tatum, 1924 Mike Tawell, 1947 Joe Tilley, 1937-38-39 James Travis, 1935 Don Trawick, 1950 Sam Trevino, 1949-50 Tommy Trigge, 1946-47 Sidney Trimble, 1940-41 Richard Tucker, 1948 Don Tucket, 1948 Ed Vallee, 1932 Jake Verde, 1932-33 J.B. Vick, 1948 Vernon Vick, 1947 Jack Viterbo, 1938-39 Hugh Wagner, 1947 John Walker, 1926 Tillie Walker, 1923-24 William Walker, 1926 Robin Walter, 1950 L.R. Weldon, 1949-50 Bobby Wendrock, 1939 Joe Westerman, 1948 Billy Wherry, 1932-33 Bill White, 1939 Morris White, 1932-33 John Whitely, 1940-41 Felix Wiggins Jr., 1948 Perry Wiggins, 1932 Robert Williams, 1936 Charles Williamson, 1946-47 Billy Willingham, 1947 Hugh Wilson, 1932 John D. Wilson, 1939-40-41 L.C. Wilson, 1923-24 Tommy Wilson, 1949-50 Jack Winstel, 1950 Charles Woodridge, 1946 Nolan Woods, 1939 Carl Van Wormer, 1926 Orville Wright, 1942 Virgil Wright, 1941 Irving Wyble, 1934-35 Mortimer Wyble, 1935 Warren Wyble, 1932-33-34 Charles Young, 1940 Harold Young, 1924 Willard Young, 1938-39 Desmond Zoch, 1946-47 Shelton Zorn, 1938
117
La mar Foo tba l l Cardinal Hall of Honor Football
Baseball
Gene (Gabby) Bates (1998) ............................1948-52 Kevin Bell (2002) ...........................................1974-77 Richard Bjerke (2003) ....................................1964-67 Nader Bood (1987) .........................................1958-60 Matt Burnett (1999) ........................................1975-78 Sammy Carpenter (1973)................................1951-54 Rondy Colbert (2002) .....................................1971-74 Dickie Croxton (1991)....................................1964-67 Jake David (1987)...........................................1964-66 Victor Enard (1999) ........................................1975-79 John Evans (2001) ..........................................1986-89 Bob Frederick (1980)......................................1948-52 Johnny Fuller (1973).......................................1964-67 Patrick Gibbs (2004).......................................1968-71 Anthony Guillory (1985) ................................1962-64 Jackie Harris (1997)........................................1981-84 Larry Haynes (2003).......................................1978-79 Dan Hetzel (2002)...........................................1968-70 Smitty Hill (1995)...........................................1948-53 Bobby Jancik (1979).......................................1960-61 Jesse Kibbles (1998) .......................................1975-78 Bill Kilgore (2006) .........................................1964-67 Lindley King (1981) .......................................1960-62 E.A. "Beans" LaBauve (1979)........................1924-25 Otis Lee (1977) ...............................................1932-33 W.S. "Bud" Leonard (1974)............................1948-52 Ed Marcontell (2001)......................................1962-66 Doug Matthews (1985) ...................................1969-72 Roy Mazzagatti (1977) ...................................1948-52 Jimmy McNeil (1993).....................................1948-49 Dudley Meredith (1973).......................................1957 Burton Murchison (1995) ...............................1984-87 O.A. "Bum" Phillips (1977)..................1941, 1946-47 Phillip Primm (1979) ......................................1963-66 Dr. Ray Purkerson (2001) ...............................1950-53 Howard “Boo” Robinson (2003) ....................1976-79 Sam Salim (1977) ...........................................1948-49 Charles Schmucker (1995)...................................1932 Eugene Seale (1991) .......................................1983-85 Tom Smiley (1976) .........................................1965-67 Johnny Ray Smith (2006) ...............................1977-81 Jake Verde (1978) ...........................................1932-33 Spergon Wynn (1976) .....................................1964-67
Julio Alonso (1997).........................................1974-75 David Bernsen (1984).....................................1969-72 Kim Christensen (2004)..................................1979-82 Jerald Clark (1993) ........................................1982-85 Dan Hetzel (2002)...........................................1968-70 Tony Mack (2007) ..........................................1980-82 Alan Marr (1999)............................................1980-81 Joe McCann (1989).........................................1976-79 Kevin Millar (2004)........................................1992-93 Rick Nesloney (1998) .....................................1976-77 Wes Parma (1990)...........................................1951-54 Eddie Rundle (1996).......................................1968-69
Men’s Basketball Luke Adams (2000) ........................................1969-71 Jimmy Anders (1987) .....................................1946-48 James Barrum (1973)......................................1959-62 Elmo Beard (1982) .........................................1927-28 Don Bryson (1981) .........................................1962-65 B.B. Davis (1992) ...........................................1977-81 Earl Dow (1978) .............................................1967-69 Phil Endicott (1989)........................................1967-70 Kenny Haynes (2000) .....................................1966-70 Don Heller (2006)...........................................1962-64 Johnny Johnston (1983)..................................1958-61 Clarence Kea (1988) .......................................1976-80 Wayne Moore (1993) ......................................1966-69 Jim Nicholson (1996) .....................................1967-70 Mike Olliver (1992)........................................1977-81 Kenneth Perkins (2001) ..................................1980-84 Otho Plummer (1975) .....................................1925-26 Tom Sewell (1998)..........................................1981-84 Charles Shoptaw (1991) .................................1947-51 Richard Smith (2002) .....................................1961-64
Women’s Basketball Kara (Audrey) Broussard (2001) ....................1982-84 Carolyn Ford (1996) .......................................1979-82 Barbara Hickey (2006) ...................................1988-92 Regina Myers (2002) ......................................1970-74 Melonie (Floyd) Nelson (2001) ......................1978-81 Carol Sims (1999)...........................................1973-77 Susan Smith (2007).........................................1970-73
Men’s Golf Fred "Butch" Baird (1986)..............................1955-58 John K. Barlow (1990) ...................................1964-67 Ronnie Black (1993).......................................1978-81 Trevor Dodds (1997) ......................................1982-85 Kelly Gibson (2000) .......................................1983-86 Mike Nugent (1973) .......................................1965-68 John Riegger (2007) .......................................1982-85 Jimmy Singletary (2007) ................................1967-70
118
L a m a r Fo otbal l Cardinal Hall of Honor Women’s Golf
Volleyball
Louisa Bergsma (2006)...................................1989-93 Dawn Coe-Jones (1995) .................................1981-83 Clifford Ann Creed (1990)..............................1956-60 Gail (Anderson) Graham (1999).....................1983-86
Liz Blue (1997)...............................................1980-83 Laura Broughton (1998) .................................1975-77 Barbara Comeaux (2000)................................1964-68 Lucy (Wiggins) McCordic (2009) ..................1973-76 Ruby Randolph (2004) ...................................1981-85 Leanne Zeek (2000)........................................1986-89
Men’s Tennis Luis Baraldi (2007).........................................1970-73 Pedro Bueno (1999)........................................1955-59 Don Coleman (1973) ......................................1952-55 Carlos Lopez (2009) .......................................1974-77 James Schmidt (1975).....................................1955-58 Sherwood Stewart (1984) ...............................1966-68 Jaime Subirats (2000) .....................................1965-68
Women’s Tennis Cathy Beene (1993) ........................................1969-73 Linda Rupert (1993) .......................................1970-74
Men’s Track & Field Troy Amboree (1998) .....................................1981-84 Doug Boone (1975) ........................................1965-68 Kevin Bell (2002) ...........................................1974-77 Doug Boone (1975) ........................................1965-68 Randy Clewis (1981) ......................................1967-68 Jackie Colbert (1988)......................................1969-72 Barry Collins (2003).....................1967-71 & 1980-99 Don Delaune (1981) .......................................1967-68 Thomas Eriksson (1995).................................1982-85 Mike Favazza (1981) ......................................1967-68 Efren "Dede" Gipson (1983)...........................1972-74 Jackie Harris (1997)........................................1981-84 Douglas Hinds (1996).....................................1978-82 Junior Holmes (2003) .....................................1976-79 Jesse Kibbles (1998) .......................................1976-80 Jonas Lundrstrom (2009)................................1988-89 Frank Montebello (1996)................................1979-82 Wes Parma (1990)...........................................1951-54 John Richardson (1981)..................................1966-68 Colin Ridgway (1992) ....................................1961-64 Daniel Stagg (2002)........................................1977-78 Ian Stewart (1973) ..........................................1959-62 Waverly Thomas (1981) .................................1966-68
Coach, Administrator, etc. F.S. "Spud" Braden (1973) ................1924 & 1934-39 Barry Collins (2003) .......................................1980-99 Katrinka Crawford (2004) ..............................1981-95 John E. Gray (1973)........................................1923-84 Bobby Gunn (1982) ........................................1962-71 J.B. Higgins, Jr. (1973) ...................................1949-84 Lewis Hilley (1973)........................................1952-62 Dr. Belle Mead Holm (1996) ..........................1964-83 Sonny Jolly (1995)..........................................1972-91 Jack Martin (1974)..........................................1951-76 Pat Park (1997) ...............................................1968-94 John Payton (2003) .........................................1970-82 Dan Rogas (1986) ...........................................1955-91 Rob Roy (1988) ..............................................1926-29 Dr. James W. Shuffield (1983)........................1962-84 Joe Lee Smith (1989) ..........................1963-79, 91-96 Tyrus "Ty" Terrell (1973)................................1956-68 Billy Tubbs (1986) ...............1955-71, 76-80, & 02-11 Al Vincent (1980).........................1933-35 & 1973-84 G. A. Wimberly, Sr. (1978) .............................1926-73 Paul Zeek (1998).............................................1971-06
Big Red Award Al Caldwell (1997) Dave Hofferth (1997) Ed Dittert (1977) Dr. James M. Simmons (2004)
Women’s Track & Field Becky Brooke (2006)......................................1983-87 Midde Hamrin (1995) .....................................1980-83 Cathy Mendoza (2004) ...................................1973-77
Softball Regina Myers (2002) ......................................1970-74
119
La mar Foo tba l l Offensive Team Records Rushing Total Offense Most Yards (Game)........................454 vs. Mexico Poly, 9/10/60 Most Yards (Season) ...............................2,618, 1959 (11 games) Fewest Yards (Game) ................-24 vs. Arkansas State, 11/14/87 Fewest Yards (Season) ...............................663, 2010 (11 games) Most Attempts (Game) ......................75 at Texas State, 10/24/59 Most Attempts (Season).............................611, 1959 (11 games) Fewest Attempts (Game).........9 vs. Sam Houston State, 9/18/10 Fewest Attempts (Season) .........................293, 1989 (10 games)
Most Yards (Game) ............581 vs. Louisiana-Monroe, 10/10/87 Most Yards (Season) ...............................4,080, 1989 (10 games) Fewest Yards (Game).................29 vs. McNeese State, 11/13/76 Fewest Yards (Season)..............................2,202, 1956 (9 games) Most Plays (Game) ..............108 at New Mexico State, 11/14/70 Most Plays (Season) ..................................815, 1970 (10 games) Fewest Plays (Game) ..............44 vs. Lousiana-Monroe, 9/23/61 Fewest Plays (Season) .................................490, 1956 (9 games)
Passing Most Yards (Game) .......................429 at McNeese State, 9/4/10 Most Yards (Season) ...............................2,934, 1989 (10 games) Most Attempts (Game)...................63 at UT Arlington, 11/21/81 Most Attempts (Season).............................431, 1989 (10 games) Most Completions (Game) .........34 at Southeastern La., 9/18/10 Most Completions (Season).......................239, 1979 (11 games) Most TD Passes (Game)..........6 vs. Sam Houston State, 9/19/81 ..........................................................at Louisiana Tech, 11/15/69 Most TD Passes (Season) ............................24, 1979 (11 games) Most Interceptions (Game) ...7 at Louisiana-Lafayette, 10/25/80 Most Interceptions (Season) ........................26, 1984 (11 games) ...........................................................................1969 (10 games) Fewest Interceptions (Season) .......................5, 1988 (11 games) Fewest Yards (Game).................0 at New Mexico State, 11/4/72 ......................................................at Abilene Christian, 10/30/71 Fewest Yards (Season)...............................571, 1951 (10 games) Fewest Attempts (Game)...........3 at Abilene Christian, 10/30/71 Fewest Attempts (Season) .............................95, 1958 (8 games) Fewest Completions (Game).....0 at Abilene Christian, 10/30/71 Fewest Completions (Season) .....................33, 1951 (10 games)
Scoring Most Points (Game) ....................67 vs. Sul Ross State, 11/16/57 Most Points (Season) .................................283, 1987 (11 games) Best Scoring Average (Season).................28.1, 1989 (10 games) Consecutive Games Scored.......................................64, 1953-60 Fewest Points (Season) ................................97, 1976 (11 games)
Miscellaneous Most First Downs (Game) .....33 at New Mexico State, 11/14/70 Most Fumbles (Game) .............11 vs. Abilene Christian, 10/1/60 Most Fumbles Lost (Game).......6 vs. Abilene Christian, 10/1/60 ..................................................vs. Louisiana-Lafayette, 9/18/54 Most Turnovers (Game)...............10 at Rice, 9/22/84 (5 F & 5 I) Fewest Turnovers (Season) ..........................14, 1988 (9 F & 5 I) Fewest Fumbles Lost (Season) ......................8, 1986 (11 games) ...........................................................................1989 (10 games)
Largest Margin of Victory Margin 58 48 43 43 41 41
Score 58-0 60-12 50-7 55-12 54-13 41-0
Opponent Texas College at Mexico Poly vs. Sam Houston State Southwest Missouri at Abilene Christian Sam Houston State
Date 9/3/11 11/28/53 9/19/81 9/24/66 10/14/67 9/23/89
Chris Ford set school records with 73 catches for 918 yards in 1989 Andre Bevil helped the Cardinals establish a new single game passing record of 429 yards in the 2010 season opener at McNeese State
120
L a m a r Fo otbal l Defensive Team Records Rushing Scoring Most Yards Allowed (Game) ....512 by Arkansas State, 11/15/86 Most Yards Allowed (Season).................3,283, 1987 (11 games) Fewest Yards Allowed (Game) .......-25 by Texas College, 9/3/11 Fewest Yards Allowed (Season) ..................806, 1958 (8 games) Most Attempts Against (Game)...........80 by West Texas A&M, 10/14/78 Most Attempts Against (Season) ...............630, 1987 (11 games) Fewest Attempts Against (Game) ...21 by Stephen F. Austin, 11/5/11 Fewest Attempts Against (Season) ..............301, 1958 (8 games)
Passing Most Yards Allowed (Game)....456 by Louisiana Tech, 11/16/88 Most Yards Allowed (Season) ................2,397, 2012 (12 games) Most Attempts Allowed (Game).....70 by Stephen F. Austin, 11/3/12 Most Attempts Allowed (Season) ..............394, 2012 (12 games) Most Completions Allowed (Game).......43 by West Texas A&M, 9/3/88 Most Completions Allowed (Season) ........228, 2012 (12 games) Most TD Passes Allowed (Game)...5 by UT Arlington, 11/22/69 ......................................................vs. Stephen F. Austin, 11/5/11 Most TD Passes Allowed (Season) ..............22, 2011 (11 games) Fewest Yards Allowed (Game)................-7 by Trinity University, 11/4/67 Fewest Yards Allowed (Season) ..................542, 1958 (8 games) Fewest Attempts Allowed (Game)............2 by Abilene Christian, 10/3/59 Fewest Attempts Allowed (Season)...........108, 1955 (10 games) Fewest Completions Allowed (Game).................0, several times Fewest Completions Allowed (Season).......39, 1955 (10 games)
Most Points Allowed (Game).....77 by Louisiana Tech, 11/15/69 Most Points Allowed (Season)...................430, 2011 (11 games) Fewest Points Allowed (Season) ...................52, 1958 (8 games) Shutouts (Season) ............................................3, 1958 (8 games)
Miscellaneous Fewest First Downs Allowed (Game) ...................................0 by ...........................................Texas A&M-Corpus Christi, 9/27/58 Most Fumbles Caused (Game) .......13 at Texas Southern, 9/6/80 Most Fumbles Caused (Season)...................47, 1980 (11 games) ...........................................................................1971 (11 games) Fewest Fumbles Caused (Season) ...............11, 2012 (12 games) Most Fumbles Recovered (Game) ....8 at Texas Southern, 9/6/80 ..........................................................vs. McNeese State, 9/21/68 Fewest Fumbles Recovered (Season) ............3, 2012 (12 games)
Largest Margin of Defeat Margin 68 66 62 59 59
Score 71-3 66-0 69-7 69-10 66-7
Opponent at Stephen F. Austin at Sam Houston State at Arkansas State at Stephen F. Austin at Trinity University
Date 9/25/10 10/29/11 10/31/70 11/5/11 10/25/52
Interceptions Most Interceptions (Game) .............6 at Louisiana Tech, 9/24/83 ...........................................................vs. UT Arlington, 10/31/64 .........................................................vs. Sul Ross State, 11/16/57 Most Interceptions (Season) ........................29, 1971 (11 games) Fewest Interceptions (Season) .......................5, 1985 (11 games) Consecutive Games with Interception ......................15, 1963-65
Total Offense Most Yards Allowed (Game)....675 by Louisiana Tech, 11/16/68 Most Yards Allowed (Season).................5,042, 1987 (11 games) Fewest Yards Allowed (Game) .........-6 by Texas College, 9/3/11 Fewest Yards Allowed (Season) ...............1,348, 1958 (8 games) Most Plays Allowed (Game) ..109 by Stephen F. Austin, 11/3/12 Most Plays Allowed (Season) ....................888, 1987 (11 games) Fewest Plays Allowed (Game)........37 by Louisiana-Lafayette, 9/28/57 Fewest Plays Allowed (Season)...................427, 1958 (8 games)
Arthur Moore defending at Rice in 1987
121
La mar Foo tba l l Rushing Most Yards in a Game 259 by Burton Murchison at Rice, 9/28/85 Most Yards in a Season 1,547 by Burton Murchison, 1985 Most Yards in a Career 3,598 by Burton Murchison, 1984-87 Most Carries in a Game 33 by Floyd Dorsey vs. Sam Houston State, 9/18/82 Most Carries in a Season 265 by Burton Murchison, 1985 Most Carries in a Career 665 by Burton Murchison, 1984-87 Most Yards by a Freshman 607 by Sammy Carpenter, 1951 Most Yards by a Sophomore 1,547 by Burton Murchison, 1985 Most Yards by a Junior 830 by Burton Murchison, 1986 Most Yards by a Senior 890 by Tommie Smiley, 1967 Longest Run From Scrimmage 85 yards by Eugene Washington vs. Trinity, 11/6/65
Total Offense Most Yards in a Game 426 by Andre Bevil at McNeese State, 9/4/10 (-3 rushing, 429 passing) Most Yards in a Season 2,995 by John Evans, 1989 (94 rushing, 2,901 passing) Most Yards in a Career 6,379 by John Evans, 1986-89 (32 rushing, 6,347 passing) Most Plays in a Game 66 by Fred Hessen at UT Arlington, 11/21/81 (5 rushing, 61 passing) Most Plays in a Season 504 by John Evans, 1989 (90 rushing, 414 passing) Most Plays in a Career 1,263 by John Evans, 1986-89 (265 rushing, 998 passing) Most Yards by a Freshman 1,429 by Ray Campbell, 1980 (-62 rushing, 1,491 passing) Most Yards by a Sophomore 1,643 by Tommy Tomlin, 1969 (80 rushing, 1,563 passing) Most Yards by a Junior 2,120 by Fred Hessen, 1981 (12 rushing, 2,108 passing) Most Yards by a Senior 2,995 by John Evans, 1989 (94 rushing, 2,901 passing)
Individual Records Passing Most Yards in a Game 429 by Andre Bevil at McNeese State, 9/4/10 Most Yards in a Season 2,901 by John Evans, 1989 Most Yards in a Career 6,347 by John Evans, 1986-89 Most Attempts in a Game 61 by Fred Hessen at UT Arlington, 11/21/81 Most Attempts in a Season 414 by John Evans, 1989 Most Attempts in a Career 998 by John Evans, 1986-89 Most Completions in a Game 34 by Andre Bevil at Southeastern Louisiana, 9/18/10 Most Completions in a Season 233 by Larry Haynes, 1979 Most Completions in a Career 533 by John Evans, 1986-89 Best Completion Percentage in a Game .858 (12-of-14) by Tommy Tomlin vs. West Texas A&M, 9/19/70 Best Completion Percentage in a Season .585 (113-of-193) by Ryan Mossakowski, 2012 Best Completion Percentage in a Career .555 (325-of-586) by Larry Haynes, 1978-79 Most TD Passes in a Game 6 by Tommy Tomlin at Louisiana Tech, 11/15/69 Most TD Passes in a Season 21 by Larry Haynes, 1979 Most Touchdown Passes in a Career 40 by John Evans, 1986-89 Most Consecutive Passes Without an Interception 192 by John Evans, 1987 (22) and 1988 (170) Most Interceptions in a Game 6 by Brent Watson at McNeese State, 11/17/84 Most Interceptions in a Season 23 by Tommy Tomlin, 1969 Most Interceptions in a Career 37 by Ray Campbell, 1980-83 Most Yards by a Freshman 1,491 by Ray Campbell, 1980 Most Yards by a Sophomore 1,563 by Tommy Tomlin, 1969 Most Yards by a Junior 2,108 by Fred Hessen, 1981 Most Yards by a Senior 2,901 by John Evans, 1989 Longest Pass Play 87 yards from George Parks to Larry Ward vs. Howard Payne, 10/26/57
Floyd Dorsey
Sammy Carpenter
All-Purpose Yards Most Total Yards in a Game 290 by Sammy Carpenter at Sul Ross State, 11/15/52 (210 rushing, 80 kickoff returns) Most Total Yards in a Season 1,587 by Burton Murchison, 1985 (1,547 rushing, 40 receiving) Most Yards in a Career 4,203 by Burton Murchison, 1984-87 (3,598 rushing, 510 receiving, 95 kickoff returns)
122
Burton Murchison
Larry Haynes
L a m a r Fo otbal l Individual Records Receiving Field Goals Most Catches in a Game 14 by J.J. Hayes vs. McNeese State, 11/19/11 Most Catches in a Season 73 by Chris Ford, 1989 Most Catches in a Career 149 by Ronnie Gebauer, 1967-70 Most Yards in a Game 212 by J.J. Hayes vs. Northwestern State, 10/8/11 Most Yards in a Season 951 by J.J. Hayes, 2011 Most Yards in a Career 2,098 by Ronnie Gebauer, 1967-70 Most TD Passes Caught in a Game 3 by Jordan Edwards at Stephen F. Austin, 11/3/12; by Kevin Johnson vs. McMurry, 10/13/12; by Kevin Johnson vs. Langston, 9/22/12; by J.J. Hayes at Southeastern Louisiana, 9/18/10; by Jesse Cavil vs. Sam Houston State, 9/19/81; by Howard Robinson at UT Arlington, 11/17/79; by Pat Gibbs at Louisiana Tech, 11/15/69 Most TD Passes Caught in a Season 12 by Howard Robinson, 1979 Most TD Passes Caught in a Career 18 by Howard Robinson, 1976-79 Most Catches by a Freshman 39 by Pat Gibbs, 1968 Most Catches by a Sophomore 56 by Ronnie Gebauer, 1968 Most Catches by a Junior 61 by Herbert Harris, 1981 Most Catches by a Senior 73 by Chris Ford, 1989
Scoring Points in a Game 24 by Kevin Johnson vs. McMurry, 10/13/12; by DePauldrick Garrett vs. Texas College, 9/3/11 Points in a Season 78 by Kevin Johnson, 2012; by Sammy Carpenter, 1952 Points in a Career 198 by Sammy Carpenter, 1951-54 Touchdowns in a Game 4 by Kevin Johnson vs. McMurry, 10/13/12; by DePauldrick Garrett vs. Texas College, 9/3/11 Touchdowns in a Season 13 by Kevin Johnson, 2012; by Sammy Carpenter, 1952 Touchdowns in a Career 33 by Sammy Carpenter, 1951-54
Kickoff Returns Most Returns in a Game 7 by Herbert Harris at Louisiana Tech, 10/16/82 Most Returns in a Season 28 by Octavious Logan, 2010; Dwayne Barnes, 1986 Most Returns in a Career 66 by Ranzy Levias, 1984-87 Most Return Yards in a Game 179 by Kevin Johnson at Stephen F. Austin, 11/3/12 Most Return Yards in a Season 661 by Octavious Logan, 2010 Most Return Yards in a Career 1,354 by Ranzy Levias, 1984-87 Most TD Returns in a Career 2 by Kevin Johnson, 2012- ; by Harold LaFitte, 1962-65 Longest Kickoff Return 98 yards by Kurt Phoenix at Western Kentucky, 9/15/79
Most Made in a Game 3 by Justin Stout vs. Oklahoma Panhandle State, 11/20/10; by Frank Van Renselaer vs. McNeese State, 11/18/89; by Mike Marlow at Arkansas State, 11/7/81; by Jabo Leonard vs. Southern Illinois, 11/22/75 and at West Texas A&M, 11/2/74 Most Made in a Season 11 by Mike Marlow, 1981; by Jabo Leonard, 1974 Most Made in a Career 29 by Jabo Leonard, 1972-75 Longest Field Goal 57 yards by Mike Andrie vs. Arkansas State, 11/14/87
Extra Points Most Made in a Game 8 by Justin Stout vs. Texas College, 9/3/11; by Walter Smith at Mexico Poly, 12/2/61; Most Made in a Season 35 by Justin Stout, 2011 Most Made in a Career 84 by Justin Stout, 2010Best Percentage in a Season 1.000 by Paul Stockman (27-of-27), 1988; by Mike Andrie (31-of-31), 1987 and (21-of-21), 1986; by Mike Marlow (18-of-18), 1981; by Jabo Leonard (16-of16), 1973 and (16-of-16), 1974 and (11-of-11), 1975 Consecutive Makes 53 by Mike Andrie, 1985-87
Punt Returns Most Returns in a Game 8 by Johnny Ray Smith vs. Baylor, 9/13/80 Most Returns in a Season 31 by Rondy Colbert, 1973 Most Returns in a Career 71 by Rondy Colbert, 1971-74 Most Return Yards in a Game 118 by Rondy Colbert vs. Louisiana-Lafayette, 10/20/73 Most Return Yards in a Season 344 by Johnny Fuller, 1967 Most Return Yards in a Career 626 by Johnny Fuller, 1964-67 Highest Return Average in a Season 38.5 by J.E. Whitmore, 1956 (4 returns) Highest Return Average in a Career 15.7 by Johnny Fuller, 1964-67 Most TD Returns in a Season 2 by Rondy Colbert, 1973 Most TD Returns in a Career 2 by Johnny Ray Smith, 1977-80; by Don Gordon, 1975-78; by Rondy Colbert, 1971-74; by Johnny Fuller, 1964-67 Longest Punt Return 90 yards by Marcus Jackson vs. Oklahoma Panhandle State, 11/20/10; by Raymond Meyer vs. Texas A&I, 1954
Interceptions Most in a Game 3 by Donald Rawls at Louisiana Tech, 9/24/83; by Pat Gibbs vs. Arkansas State, 11/27/71 Most in a Season 7 by Jake David, 1965; by David Webb, 1961 Most in a Career 14 by Bennie Lansford, 1967-70 Longest Interception Return 96 yards by Tyrus McGlothen vs. Southeastern Louisiana, 9/29/12
123
La mar Foo tba l l Individual Rushing Records Top Single-Game Performances Raymond Meyer Bob Nance J.E. Whitmore Ronnie Fontenot Ronnie Fontenot John Kent Ralph Stone Eugene Washington Harold LaFitte Tommy Smiley Darrell Johnson Tommy Smiley Kenny Montgomery Glen Hill Doug Matthews Doug Matthews Doug Matthews Greg Chambers Ronnie Melancon Anthony Pendland Anthony Pendland Kevin Bell Mike Ellis Ben Booker Ben Booker Ben Booker Floyd Dorsey George Landry Burton Murchison Burton Murchison Burton Murchison Burton Murchison Troy Barrett Kenny Franklin Octavious Logan Mike Venson DePauldrick Garrett
Att. Yds. Avg. TD 96 607 6.3 9 172 1,005 5.8 13 101 671 6.6 8 75 420 5.6 3 77 534 6.9 4 92 475 5.2 2 118 638 5.4 6 68 402 5.9 3 104 551 5.3 6 73 457 6.3 78 425 5.4 101 380 3.8 95 411 4.3 94 407 4.3 3 126 542 4.3 5 95 456 4.8 5 174 890 5.1 6 107 291 2.7 0 126 500 4.0 2 136 581 4.3 5 194 689 3.6 11 182 881 4.8 8 78 278 3.6 1 113 486 4.3 1 94 334 3.6 0 125 393 3.1 5 121 515 4.3 3 100 374 3.7 1 113 396 3.4 0 87 377 4.3 5 130 569 4.4 1 138 433 3.1 4 156 554 3.6 7 91 408 4.5 2 265 1,547 5.8 8 129 830 4.6 9 130 813 6.3 6 120 598 5.0 2 107 522 4.9 8 52 229 4.4 0 104 332 3.2 2 138 585 4.2 2
Name Burton Murchison Burton Murchison Sammy Carpenter Burton Murchison Burton Murchison Tommy Smiley Burton Murchison George Landry Tommy Smiley Ben Booker Sammy Carpenter Kenny Montgomery Burton Murchison Richard Prejean Kenny Montgomery Doug Matthews
Opponent Att. Yds. Rice, 1985 31 259 Prairie View, 1985 22 222 Sul Ross State, 1952 28 210 UTA, 1985 27 202 La. Tech, 1985 31 199 McNeese St., 1967 25 187 La-Monroe, 1987 16 154 Nicholls, 1983 29 152 ACU, 1967 20 149 Arkansas St., 1980 16 143 Sul Ross State, 1953 23 143 Quantico Marines, 1967 16 142 McNeese St., 1985 31 140 Mexico Poly, 1963 17 137 La. Tech, 1967 18 136 NMSU, 1972 23 135
Career Leaders 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14.
Name Burton Murchison, 1984-87 Sammy Carpenter, 1951-54 Doug Matthews, 1969-72 Tommy Smiley, 1965-67 Ben Booker, 1978-81 Kenny Montgomery, 1965-68 J.E. Whitmore, 1955-58 George Landry, 1982-85 Charles Dinhoble, 1957-60 Raymond Meyer, 1954-56 Anthony Pendland, 1973-76 Glen Hill, 1969-72 Ronnie Fontenot, 1959-61 Harold LaFitte, 1962-65
Att. 665 444 569 369 391 366 281 369 234 240 372 426 189 264
Yards 3,598 2,703 2,323 1,781 1,599 1,468 1,386 1,351 1,328 1,314 1,275 1,174 1,061 1,057
Single-Season Leaders 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12.
Name Burton Murchison, 1985 Sammy Carpenter, 1952 Tommy Smiley, 1967 Doug Matthews, 1972 Burton Murchison, 1986 Burton Murchison, 1988 Kenny Montgomery, 1967 Doug Matthews, 1971 Sammy Carpenter, 1953 Bob Nance, 1957 J.E. Whitemore, 1957 Sammy Carpenter, 1951
Att. 265 172 174 182 129 130 168 194 101 118 127 96
Yards 1,547 1,005 890 881 830 813 766 689 671 638 633 607
Sammy Carpenter led the Cardinals in rushing for four straight seasons
Chronological List of 100-Yard Rushing Games Year Player 1952 Sammy Carpenter 1953 Sammy Carpenter Sammy Carpenter 1954 Sammy Carpenter 1957 J.E. Whitmore 1958 J.E. Whitmore 1960 Ronnie Fontenot Dudley Rench Jimmy Davis 1963 Richard Prejean Eugene Washington Dan Yezak 1965 Eugene Washington 1966 Darrell Johnson 1967 Tommy Smiley Tommy Smiley Kevin Montgomery Kevin Montgomery Tommy Smiley Tommy Smiley 1968 Doug Carter
124
Opponent Yards at Sul Ross State 210 Sul Ross State 143 at Sam Houston State 128 at Texas State 102 Texas A&M-Kingsville 115 at Northwestern State 101 South Dakota 132 at Northwestern State 109 Mexico Poly 107 at Mexico Poly 137 at Mexico Poly 112 at Mexico Poly 101 Trinity 109 UT Arlington 129 at McNeese State 187 at Abilene Christian 149 Quantico Marines 142 Louisiana Tech 136 Louisiana Tech 100 at New Mexico State 102 UT Arlington 107
1969 Glen Hill Johnny Lee Year Player 1970 Doug Matthews Doug Matthews 1971 Doug Matthews Doug Matthews Doug Matthews Glen Hill 1972 Doug Matthews Doug Matthews 1974 Ronnie Melancon 1977 Kevin Bell 1979 Floyd Dorsey 1980 Ben Booker Percy Bruce 1981 Ben Booker Ben Booker 1982 Floyd Dorsey George Landry Floyd Dorsey 1983 George Landry
Louisiana-Lafayette 119 at Abilene Christian 115 Opponent Yards at New Mexico State 129 at Louisiana-Lafayette 108 Central Missouri 107 Trinity 105 Louisiana-Lafayette 102 at Abilene Christian 100 at New Mexico State 135 at UTEP 101 McNeese State 110 at McNeese State 126 at Baylor 113 Arkansas State 143 Louisiana-Monroe 105 McNeese State 125 Stephen F. Austin 102 at Stephen F. Austin 126 Louisiana-Monroe 109 Sam Houston State 108 at Nicholls 152
1984 Year 1985
1986 1987 1989 2011 2012
Bruce Miller George Landry Burton Murchison Dennis Haskin Player Burton Murchison Burton Murchison Burton Murchison Burton Murchison Burton Murchison Burton Murchison Burton Murchison Burton Murchison Burton Murchison Troy Barrett Burton Murchison Burton Murchison Burton Murchison Danny Faust DePauldrick Garrett DePauldrick Garrett DePauldrick Garrett
at Louisiana-Lafayette 110 Texas Southern 102 UT Arlington 114 Texas Southern 112 Opponent Yards at Rice 259 Prairie View A&M 222 at UT Arlington 202 at Louisiana Tech 199 McNeese State 140 Texas State 118 Louisiana-Monroe 109 at North Texas 102 at Stephen F. Austin 130 Central State (Okla.) 119 Louisiana-Monroe 154 at UTEP 126 Stephen F. Austin 115 at West Texas A&M 130 Texas College 105 McMurry 104 at McNeese State 112
L a m a r Fo otbal l 100-Yard Rushing Games Burton Murchison (13)
Opponent Att. Yds. Avg. UT Arlington, 9/29/84 19 114 6.0 Prairie View, 9/14/85 22 222 10.1 Texas State, 9/21/85 22 118 5.4 Rice, 9/28/85 31 259 8.4 Louisiana-Monroe, 10/12/85 28 109 3.9 UT Arlington, 10/19/85 27 202 7.5 Louisiana Tech, 11/2/85 31 199 6.4 North Texas, 11/9/85 26 102 3.9 McNeese State, 11/23/85 31 140 4.5 Stephen F. Austin, 9/27/86 22 130 5.9 Stephen F. Austin, 9/26/87 16 115 7.2 Louisiana-Monroe, 10/10/87 16 154 9.6 UTEP, 10/17/87 22 126 5.7
Doug Matthews (7)
Opponent Louisiana-Lafayette, 10/24/70 New Mexico State, 11/14/70 Central Missouri, 10/2/71 Louisiana-Lafayette, 10/23/71 Trinity, 11/6/71 UTEP, 9/16/72 New Mexico State, 11/4/72
Att. 21 27 19 21 20 18 23
Sammy Carpenter (4) Opponent Sul Ross State, 11/15/52 Sam Houston State, ‘53 Sul Ross State, ‘53 Texas State, ‘54
Tommy Smiley (4) Opponent New Mexico State, 9/16/67 Abilene Christian, 10/14/67 McNeese State, 10/21/67 Louisiana Tech, 11/11/67
Ben Booker (3)
Opponent Arkansas State, 11/8/80 Stephen F. Austin, 10/3/81 McNeese State, 10/31/81
Floyd Dorsey (3)
Opponent Baylor, 9/8/79 Stephen F. Austin, 9/11/82 Sam Houston State, 9/18/82
Yds. Avg. 108 5.1 129 4.8 107 5.6 102 4.9 105 5.3 101 5.6 135 5.9
Att. 28 20 23 12
Yds. Avg. 210 7.5 128 6.4 143 6.2 102 8.5
Att. 20 20 25 18
Yds. Avg. 102 5.1 149 7.5 187 7.5 100 5.6
Opponent Att. Yds. Avg. Louisiana-Monroe, 10/30/82 28 109 3.9 Nicholls, 9/3/83 29 152 5.2 Texas Southern, 10/1/83 12 102 8.5
Att. 16 19 22
Yds. Avg. 143 8.9 102 5.4 125 5.7
Att. 11 29 33
Yds. Avg. 113 10.3 126 4.3 108 3.3
Opponent Att. Yds. Avg. Louisiana-Lafayette, 10/25/69 22 119 5.4 Abilene Christian, 10/30/71 27 100 3.7
Kenny Montgomery (2) Opponent Quantico Marines, 10/7/67 Louisiana Tech, 11/11/67
Att. Yds. Avg. 16 142 8.9 18 136 7.6
Eugene Washington (2) Opponent Mexico Poly, 12/7/63 Trinity, 11/5/65
Att. Yds. Avg. 9 112 12.4 9 109 12.1
J.E. Whitmore (2)
Opponent A&M-Kingsville, 11/19/57 Louisiana-Monroe, ‘58
Att. Yds. Avg. 13 115 8.8 17 101 5.9
Att. 20 10 23
Yds. Avg. 105 5.2 104 10.4 112 4.9
Opponent West Texas A&M, 9/16/89
Ronnie Fontenot (1) Dennis Haskin (1) Opponent Texas Southern, 9/1/84
Darrell Johnson (1) Opponent UT Arlington, 11/19/66
Johnny Lee (1)
Opponent Abilene Christian, 10/18/69
Att. Yds. Avg. 10 130 13.0 Att. Yds. Avg. 7 132 18.9 Att. Yds. Avg. 23 112 4.9 Att. Yds. Avg. 12 129 10.8 Att. Yds. Avg. 21 115 5.5
Ronnie Melancon (1) Opponent McNeese State, 11/16/74
Att. Yds. Avg. 23 110 4.8
Bruce Miller (1)
Opponent Att. Yds. Avg. Louisiana-Lafayette, 10/22/83 20 110 5.5
Troy Barrett (1) Opponent Central State, 11/8/86
Att. Yds. Avg. 11 119 10.8
Richard Prejean (1) Opponent Mexico Poly, 12/7/63
Kevin Bell (1)
Opponent McNeese State, 11/12/77
Att. Yds. Avg. 15 126 8.4
Dudley Rench (1)
Opponent Louisiana-Monroe, 9/24/60
Percy Bruce (1)
Opponent Att. Yds. Avg. Louisiana-Monroe, 10/18/80 25 105 4.2
Dan Yezak (1)
Opponent Mexico Poly, 12/7/63
Doug Carter (1)
Att. Yds. Avg. 17 137 8.1 Att. Yds. Avg. 21 109 5.2 Att. Yds. Avg. 6 101 16.8
Att. Yds. Avg. 12 107 8.9
Jimmy Davis (1) Opponent Mexico Poly, 9/10/60
Att. Yds. Avg. 8 107 13.4
Consecutive 100-Yard Games Burton Murchison Burton Murchison Burton Murchison Floyd Dorsey Tommy Smiley
Danny Faust (1)
Opponent South Dakota, 11/24/60
Glen Hill (2)
Opponent UT Arlington, 11/23/68
DePauldrick Garrett (3)
Opponent Texas College, 9/3/11 McMurry, 10/13/12 McNeese State, 11/17/12
George Landry (3)
5 2 2 2 2
1985 Season 1985 Season 1987 Season 1982 Season 1967 Season
Multiple 100-Yard Games Dec. 7, 1963 Mexico Poly Richard Prejean Eugene Washington Dan Yezak
17-137 9-112 6-101
Nov. 11, 1967 Louisiana Tech Kenny Montgomery 18-136 Tommy Smiley 18-100
125
La mar Foo tba l l Individual Passing Records Yards Passing Single Game
Yearly Leaders Year 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 2010 2011 2012
Name Bill Lierman Bill Lierman Eugene Sharp Jerry Boone George Toal Bobby Flores Bobby Flores David Silvas Chris Frederick Chris Frederick Larry Haynes Larry Haynes Ray Campbell Fred Hessen Fred Hessen Ray Campbell Brent Watson Brent Watson John Evans Shad Smith John Evans John Evans Andre Bevil Andre Bevil Ryan Mossakowski
A 44 86 38 38 74 104 71 71 86 81 158 189 105 120 147 202 232 146 256 172 103 60 192 134 114 105 59 184 402 296 365 115 116 129 144 157 281 282 414 288 233 193
C 14 38 16 19 28 46 32 28 34 38 70 81 49 62 74 102 115 74 121 84 39 25 82 49 49 45 20 92 233 157 180 46 52 55 65 77 155 154 228 157 127 113
I 4 11 4 4 9 4 7 8 3 7 4 10 5 6 10 9 8 6 23 10 10 4 11 7 8 13 4 11 18 19 16 15 9 15 13 7 12 3 17 14 10 8
Pct. .318 .418 .421 .500 .378 .443 .450 .394 .395 .469 .443 .429 .466 .517 .503 .506 .498 .452 .473 .488 .379 .417 .427 .366 .430 .429 .339 .500 .580 .530 .498 .400 .448 .426 .451 .490 .552 .546 .551 .545 .545 .585
Yds. 278 703 350 365 445 642 701 407 569 613 1,214 1,112 592 893 1,002 1,549 1,533 850 1,563 1,072 475 370 890 574 615 464 238 1,261 2,641 1,491 2,108 736 710 733 967 956 1,806 1,525 2,901 2,013 1,719 1,194
TD 1 2 1 3 5 5 9 5 4 5 11 7 5 8 10 16 15 4 10 6 3 2 4 2 1 0 1 8 21 7 14 4 4 5 5 5 11 9 17 14 14 13
Name Andre Bevil Andre Bevil Shad Smith John Evans Larry Haynes John Evans Fred Hessen Andre Bevil John Evans John Evans Ray Campbell Tommy Tomlin Shad Smith Tommy Tomlin John Evans Larry Haynes Doug Prewitt John Evans John Evans John Evans Shad Smith
Completions Single Game
Opponent Yds. McNeese State, 2010 429 SE Louisiana, 2010 417 La.-Monroe, 1987 412 UTEP, 1989 407 UTA, 1979 403 Angelo State, 1989 393 UTA, 1981 367 NW State, 2011 360 McNeese State, 1989 353 McNeese State, 1987 341 Houston, 1983 326 La. Tech, 1969 308 Texas State, 1988 304 So. Illinois, 1970 296 La. Tech, 1986 289 NW State, 1979 296 South Dakota, 2010 286 Miss. Coll., 1988 285 West Texas A&M, 1989 283 La.-Lafayette, 1989 281 Northern Ill., 1987 281
Single-Season 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15.
Name John Evans, 1989 Larry Haynes, 1979 Fred Hessen, 1981 Andre Bevil, 2010 Shad Smith, 1987 Andre Bevil, 2011 Tommy Tomlin, 1969 Phillip Primm, 1966 Randy McCollum, 1967 John Evans, 1988 Ray Campbell, 1980 Larry Haynes, 1978 Windell Hebert, 1961 Ryan Mossakowski, 2012 Windell Hebert, 1962
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 12. 12. 13.
Name John Evans, 1986-89 Phillip Primm, 1963-66 Larry Haynes, 1978-79 Shad Smith, 1985-88 Andre Bevil, 2010-11 Windell Hebert, 1959-62 Fred Hessen, 1981-82 Ray Campbell, 1980-83 Tommy Tomlin, 1969-70 Bobby Flores, 1973-76 Brent Watson, 1984-85 Randy McCollum, 1966-67 Charles Starke, 1956-59
Yards 2,901 2,641 2,108 2,013 1,806 1,719 1,563 1,549 1,533 1,525 1,491 1,261 1,214 1,194 1,112
Career Yards 6,347 4,036 3,902 3,833 3,732 2,962 2,844 2,808 2,635 2,259 1,700 1,620 1,376
Name Andre Bevil John Evans John Evans Larry Haynes John Evans Shad Smith John Evans Shad Smith Shad Smith Fred Hessen John Evans
Opponent Comp. SE Louisiana, 2010 34 Angelo State, 1989 33 Miss. College, 1988 31 UT Arlington, 1979 31 McNeese State, 1989 30 Stephen F. Austin, 1987 29 Arkansas State, 1989 27 Louisiana-Monroe, 1987 27 Northern Illinois, 1987 27 UT Arlington, 1981 27 UTEP, 1989 26
Single Season Name 1. Larry Haynes, 1979 2. John Evans, 1989 3. Fred Hessen, 1981 4. Andre Bevil, 2010 Ray Campbell, 1980 6. Shad Smith, 1987 7. John Evans, 1988 8. Andre Bevil, 2011 9. Tommy Tomlin, 1969 10. Randy McCollum, 1967 11. Ryan Mossakowski, 2012 12. Phillip Primm, 1966 13. Larry Haynes, 1978 14. Tommy Tomlin, 1970 15. Bobby Flores, 1973
Career Name 1. John Evans, 1986-89 2. Larry Haynes, 1978-79 3. Shad Smith, 1985-88 4. Phillip Primm, 1963-66 5. Andre Bevil, 2010-11 6. Ray Campbell, 1980-83 7. Fred Hessen, 1981-82 8. Tommy Tomlin, 1969-70 9. Windell Hebert, 1959-62 10. Bobby Flores, 1973-76 11. Randy McCollum, 1966-67 12. Brent Watson, 1984-85 13. Ryan Mossakowski, 2012-
Andre Bevil Fred Hessen threw for 2,108 yards in 1981, the third best single season total in school history
126
Comp. 233 228 180 157 157 155 154 127 121 115 113 102 92 84 82
Comp. 533 325 308 287 284 248 226 205 192 189 126 120 113
L a m a r Fo otbal l Individual Passing Records Pass Attempts Single Game Name Fred Hessen John Evans Larry Haynes Andre Bevil John Evans Tommy Tomlin Shad Smith John Evans John Evans Tommy Tomlin John Evans Shad Smith
Opponent Attempts UT Arlington, 1981 61 Angelo State, 1989 59 UT Arlington, 1979 58 SE Louisiana, 2010 55 McNeese State, 1989 50 Southern Illinois, 1970 49 Stephen F. Austin, 1987 48 Alcorn State, 1989 47 UTEP, 1989 46 Louisiana Tech, 1969 46 Stephen F.  Austin, 1989 44 Texas State, 1988 44
Single-Season 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15.
Name John Evans, 1989 Larry Haynes, 1979 Fred Hessen, 1981 Andre Bevil, 2010 John Evans, 1988 Shad Smith, 1987 Tommy Tomlin, 1969 Andre Bevil, 2011 Randy McCollum, 1967 Phillip Primm, 1966 Ryan Mossakowski, 2012 Bobby Flores, 1973 Windell Hebert, 1962 Larry Haynes, 1978 Tommy Tomlin, 1970
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13.
Name John Evans, 1985-89 Shad Smith, 1985-88 Larry Haynes, 1978-79 Phillip Primm, 1963-66 Andre Bevil, 2010-11 Ray Campbell, 1980-83 Fred Hessen, 1981-82 Bobby Flores, 1973-76 Windell Hebert, 1959-62 Tommy Tomlin, 1969-70 Brent Watson, 1984-85 Randy McCollum, 1966-67 Charles Starke, 1956-59
Attempts 414 402 365 288 282 281 256 233 232 202 193 192 189 184 172
Career
Bobby Flores
Passing Touchdowns Single Game
Name Opponent TD Tommy Tomlin Louisiana Tech, 1969 6 Andre Bevil SE Louisiana, 2011 4 Andre Bevil SE Louisiana, 2010 4 John Evans Angelo State, 1989 4 Larry Haynes UT Arlington, 1979 4 Ryan Mossakowski Nicholls, 2012 3 Ryan Mossakowski Stephen F. Austin, 2012 3 Caleb Berry McMurry, 2012 3 Ryan Mossakowski Langston, 2012 3 Andre Bevil Nicholls, 2011 3 Andre Bevil McNeese State, 2010 3 Andre Bevil Webber International, 2010 3 Doug Prewitt South Dakota, 2010 3 John Evans UTEP, 1989 3 John Evans McNeese State, 1987 3 Shad Smith Stephen F. Austin, 1987 3 Ray Campbell Houston, 1983 3 Larry Haynes Western Kentucky, 1979 3 Larry Haynes Northwestern State, 1979 3 Tommy Tomlin Southeastern Louisiana, 1979 3
Single Season
1. 2. 3. 4. 5. 8. 9. 10. 12. 14.
Attempts 998 601 586 575 521 512 480 472 438 428 273 256 229
Name Larry Haynes, 1979 John Evans, 1989 Phillip Primm, 1966 Randy McCollum, 1967 Andre Bevil, 2011 Andre Bevil, 2010 Fred Hessen, 1981 Ryan Mossakowski, 2012 Shad Smith, 1987 Tommy Tomlin, 1969 Phillip Primm, 1965 John Evans, 1988 George Parks, 1957 Larry Haynes, 1978 Phillip Primm, 1964
Career
Name 1. John Evans, 1985-89 2. Phillip Primm, 1963-66 3. Andre Bevil, 2010-11 Shad Smith, 1985-88 5. Larry Haynes, 1978-79 6. Windell Hebert, 1959-62 7. Fred Hessen, 1981-82 8. Randy McCollum, 1966-67 9. Tommy Tomlin, 1969-70 10. Charles Starke, 1956-59 11. Ryan Mossakowski, 2012Ray Campbell, 1980-83 13. Bobby Flores, 1973-76
John Evans
TD 21 17 16 15 14 14 14 13 11 10 10 9 9 8 8 TD 40 39 28 28 26 23 18 17 16 15 13 13 11
Shad Smith
Phillip Primm finished his four-year Lamar career ranked second in yards passing (4,036) and touchdown passes (39)
Ray Campbell
Phillip Primm
127
La mar Foo tba l l Individual Receiving Records Yearly Leaders Receiving Yards Bob Nance 9 228 Bill Kilgore 44 687 Ronnie Gebauer 56 831 Ronnie Gebauer 48 652 Patrick Gibbs 34 637 Joe Bowser 23 354 Joe Bowser 32 593 Joe Bowser 38 545 Larry Spears 16 288 Larry Spears 25 380 Howard Robinson 19 315 Howard Robinson 9 205 Howard Robinson 27 451 Howard Robinson 59 840 Alfred Mask 34 579 25.3 13.6 14.5 11.4 15.8 12.5 14.3 14.1 13.1 16.1 15.6 14.8 13.6 18.7 15.4 18.5 14.3 18.0 15.2 16.6 22.8 16.7 14.2 17.0 14.9 15.4 18.0 23.7 17.9 16.9 15.2 10.5 12.6 14.3 17.9 470
Yards Receiving Single Game
Yearly Leaders Receptions TD 3 2 2 3 1 4 2 1 2 1 4 2 2 6 2 6 7 4 2 7 3 6 3 2 1 2 0 4 12 4 7 4 1 4 4 3 2 1 4 6 8 1 Glenn Green 12 196 Johnny Fuller 34 517 Bill Kilgore 44 687 Ronnie Gebauer 56 831 Ronnie Gebauer 48 652 Ronnie Gebauer 39 540 Joe Bowser 23 354 Joe Bowser 32 593 Joe Bowser 38 545 Larry Spears 16 288 Larry Spears 25 380 Larry Spacek 22 280 Howard Robinson 9 205 Howard Robinson 27 451 Howard Robinson 59 840 Alfred Mask 34 579 Sam Choice 34 368 16.3 13.6 14.5 11.4 15.8 12.5 14.3 14.1 13.1 16.1 15.2 15.6 14.8 13.6 13.8 15.4 18.5 14.3 18.0 15.2 12.7 22.8 16.7 14.2 17.0 10.8 14.9 15.4 18.0 23.7 17.9 16.9 15.2 10.5 12.6 14.3 17.9 470
TD 3 2 2 3 1 4 1 1 2 1 4 2 2 6 2 6 7 7 4 2 1 3 6 3 2 1 0 0 4 12 4 3 7 4 1 4 4 3 2 1 4 6 8 1
Name J.J. Hayes Jordan Edwards Herbert Harris J.J. Hayes Herbert Harris Howard Robinson Chris Ford J.J. Hayes Bill Kilgore J.J. Hayes Chris Ford Kevin Simon Ronnie Gebauer Ronnie Gebauer Marcus Jackson Marcus Jackson Josh Powdrill Marcus Jackson Ronnie Gebauer Chris Ford Marcus Jackson Ranzy Levias Chris Lafferty
Opponent Yds. Northwestern State, 2011 212 Stephen F. Austin, 2012 208 Louisiana Tech, 1981 192 McNeese State, 2011 189 Louisiana Tech, 1982 182 UT Arlington, 1979 170 McNeese State, 1989 158 Ok. Panhandle State, 2010 150 UT Arlington, 1965 150 Georgia State, 2010 138 Angelo State, 1989 133 Louisiana-Monroe, 1987 132 Arkansas State, 1969 132 UT Arlington, 1968 129 Sam Houston State, 2010 126 SE Louisiana, 2011 123 McNeese State, 2010 123 McNeese State, 2010 123 Southern Illinois, 1968 123 Louisiana-Lafayette, 1989 123 Texas State, 2011 119 Stephen F. Austin, 1987 118 Louisiana-Lafayette, 1989 115
Single Season 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15.
Name J.J. Hayes, 2011 Chris Ford, 1989 Herbert Harris, 1981 Howard Robinson, 1979 Ronnie Gebauer, 1968 J.J. Hayes, 2010 Rodney Clay, 1984 Marcus Jackson, 2010 Bill Kilgore, 1967 Ranzy Levias, 1987 Chris Lafferty, 1989 Ronnie Gebauer, 1969 Rodney Clay, 1985 Patrick Gibbs, 1970 Patrick Gibbs, 1969
Rec. Yards 53 951 73 918 61 911 59 840 56 831 52 745 31 736 41 727 44 687 45 682 55 671 48 652 36 644 34 637 42 622
Career Name Rec. Yards Avg. 1. Robbie Gebauer, 1967-70 149 2,098 14.1 2. Howard Robinson, 1976-79 114 1,811 15.9 3. Bill Kilgore, 1964-67 119 1,769 14.9 4. J.J. Hayes, 2010-11 105 1,696 16.2 5. Patrick Gibbs, 1967-70 115 1,667 14.5 6. Herbert Harris, 1979-82 112 1,624 14.5 7. Joe Bowser, 1971-73 93 1,492 16.0 8. Rodney Clay, 1982-85 69 1,395 20.2 9. Derek Anderson, 1985-88 96 1,361 14.2 10. Johnny Fuller, 1964-67 89 1,301 14.6 11. Ranzy Levias, 1984-87 89 1,280 14.4 12. Chris Ford, 1986-89 105 1,251 11.9 13. Chris Lafferty, 1986-89 98 1,242 12.7 14. Marcus Jackson, 2010-11 65 1,159 17.8 15. Alfred Mask, 1977-80 77 936 12.2
Herbert Harris has two of the top five single game receiving performances in LU history
128
L a m a r Fo otbal l Individual Receiving Records Receptions Single Game Name J.J. Hayes Herbert Harris Chris Ford Chris Ford Herbert Harris Howard Robinson Ronnie Gebauer J.J. Hayes Chris Ford Bill Kilgore Ranzy Levias Willie Walker Patrick Gibbs Barry Ford J.J. Hayes J.J. Hayes Kevin Simon Ronnie Gebauer Ronnie Gebauer
Opponent McNeese State, 2011 Louisiana Tech, 1981 McNeese State, 1989 Angelo State, 1989 Louisiana Tech, 1982 UT Arlington, 1979 Arkansas State, 1969 Northwestern State, 2011 Louisiana-Lafayette, 1989 UT Arlington, 1965 Stephen F. Austin, 1987 Texas Tech, 1988 Louisiana Tech, 1968 Nicholls, 2012 McNeese State, 2010 Sam Houston State, 2010 Louisiana-Monroe, 1987 UT Arlington, 1968 Southern Illinois, 1968
No. 14 13 12 11 11 11 11 10 10 10 10 10 10 9 9 9 9 9 9
Single Season 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15.
Name Chris Ford, 1989 Herbert Harris, 1981 Howard Robinson, 1979 Ronnie Gebauer, 1968 Chris Lafferty, 1989 J.J. Hayes, 2011 J.J. Hayes, 2010 Barry Ford, 2012 Ronnie Gebauer, 1969 Ranzy Levias, 1987 Bill Kilgore, 1967 Johnny Fuller, 1967 Patrick Gibbs, 1969 Marcus Jackson, 2010 Patrick Gibbs, 1968 Bill Kilgore, 1965 Ronnie Gebauer, 1970 Willie Walker, 1988
Rec. Yards 73 918 61 911 59 840 56 831 55 671 53 951 52 745 49 470 48 652 45 682 44 687 43 586 42 622 41 727 39 408 39 509 39 540 39 411
Name Robbie Gebauer, 1967-70 Bill Kilgore, 1964-67 Patrick Gibbs, 1967-70 Howard Robinson, 1976-79 Herbert Harris, 1979-82 Chris Ford, 1986-89 J.J. Hayes, 2010-11 Chris Lafferty, 1986-89 Derek Anderson, 1985-88 Joe Bowser, 1971-73 Ben Booker, 1978-81 Johnny Fuller, 1964-67 Ranzy Levias, 1984-87 14. Alfred Mask, 1977-80 15. Barry Ford, 2010-
Name Jordan Edwards Kevin Johnson Kevin Johnson J.J. Hayes Jesse Cavil Howard Robinson Patrick Gibbs Several tied with 2
Rec. Yards 149 2,098 119 1,769 115 1,667 114 1,811 112 1,624 106 1,251 105 1,696 98 1,242 96 1,361 93 1,492 91 565 89 1,301 89 1,280 77 936 73 695
Opponent TD Stephen F. Austin, 2012 3 McMurry, 2012 3 Langston, 2012 3 Southeastern Louisiana, 2010 3 Sam Houston State, 1981 3 UT Arlington, 1979 3 Louisiana Tech, 1969 3
Robbie Gebauer
Single Season 1. 2. 3. 5.
10.
Name Howard Robinson, 1979 Kevin Johnson, 2012 J.J. Hayes, 2011 Marcus Jackson, 2010 Herbert Harris, 1981 Patrick Gibbs, 1970 Patrick Gibbs, 1969 Bill Kilgore, 1967 Johnny Fuller, 1966 Marcus Jackson, 2011 J.J. Hayes, 2010 Tyrone Shavers, 1989 Joe Bowser, 1972 Bill Kilgore, 1966 Frazer Dealy, 1964
TD 12 10 8 8 7 7 7 7 7 6 6 6 6 6 6
Herbert Harris
Career 1. 2. 3. 4. 6. 7. 10. 12.
Career 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12.
TD Receptions Single Game
Name Howard Robinson, 1976-79 Patrick Gibbs, 1967-70 Bill Kilgore, 1964-67 J.J. Hayes, 2010-11 Marcus Jackson, 2010-11 Frazer Dealy, 1963-65 Derek Anderson, 1985-88 Joe Bowser, 1971-73 Johnny Fuller, 1964-67 Tyrone Shavers, 1988-89 Herbert Harris, 1980-82 Kevin Johnson, 2012-
TD 18 16 15 14 14 13 12 12 12 11 11 10
Howard Robinson
Chris Ford
J.J. Hayes set school records for receiving yards in a game (212) and receptions in a game (14).
129
La mar Foo tba l l Individual Total Offense Records Single Game Bill Lierman Sammy Carpenter Sammy Carpenter Doug Matthews Bobby Flores Bobby Flores Bobby Flores Charles Behn Kevin Bell Larry Haynes Larry Haynes Ray Campbell Fred Hessen Fred Hessen George Landry Dennis Haskin Burton Murchison Burton Murchison Shad Smith John Evans John Evans Andre Bevil Andre Bevil Ryan Mossakowski
Pass 70 703 40 125 445 642 701 407 569 613 1,214 1,112 722 893 1,002 1,549 1,533 850 1,563 1,072 475 0 890 574 579 358 0 1,261 2,641 1,491 2,108 736 554 429 44 59 1,806 1,525 2,901 2,013 1,719 1,194
Rush 607 475 671 420 149 -41 54 99 176 142 197 51 114 131 36 211 26 78 80 -116 269 881 -13 49 30 111 515 78 -213 -62 12 -7 0 243 1,547 830 -92 119 94 28 171 23
Total 667 1,178 711 545 594 601 755 506 745 755 1,411 1,163 836 1,024 1,038 1,760 1,559 928 1,643 956 744 881 877 623 609 469 515 1,339 2,428 1,429 2,120 729 554 672 1,591 889 1,714 1,644 2,995 2,041 1,890 1,217
Avg. 74.1 117.8 71.1 77.9 84.9 66.8 75.5 63.3 62.1 75.5 128.2 116.3 92.9 102.4 148.3 176.0 155.9 92.8 192.6 159.3 67.6 80.1 87.7 69.2 76.1 78.2 46.8 121.7 220.7 129.9 192.7 81.0 61.6 74.7 144.6 80.8 190.4 149.5 299.5 204.1 189.0 152.1
TD (P/R) 13 (4/9) 6 (2/4) 9 (1/8) 4 (1/3) 9 (5/4) 12 (5/7) 14 (9/5) 6 (5/1) 6 (4/2) na na na 6 (6/0) 8 (8/0) 11 (10/1) 17 (16/1) 17 (14/3) 6 (4/2) 12 (10/2) 8 (6/2) 6 (3/3) 8 (0/8) 8 (8/0) 5 (2/3) 6 (3/3) 2 (2/0) 3 (0/3) 13 (8/5) 25 (21/4) 8 (7/1) 17 (14/3) 5 (4/1) 7 (0/7) 4 (3/1) 9 (1/8) 9 (0/9) 12 (11/1) 14 (9/5) 22 (17/5) 14 (14/0) 14 (14/0) 13 (13/0)
Name Andre Bevil John Evans John Evans Andre Bevil John Evans Shad Smith Larry Haynes Andre Bevil John Evans Tommy Tomlin Fred Hessen Andre Bevil John Evans John Evans Dennis Haskin John Evans Andre Bevil Ray Campbell Charles Behn John Evans
Total 426 421 405 398 396 393 387 374 356 351 349 347 297 297 293 289 285 283 283 280
Single Season 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15.
Name John Evans, 1989 Larry Haynes, 1979 Fred Hessen, 1981 Andre Bevil, 2010 Andre Bevil, 2011 Phillip Primm, 1966 Shad Smith, 1987 John Evans, 1988 Tommy Tomlin, 1969 Burton Murchison, 1985 Randy McCollum, 1967 Ray Campbell, 1980 Windell Hebert, 1961 Larry Haynes, 1978 Ryan Mossakowski, 2012
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14.
Name John Evans, 1986-89 Phillip Primm, 1963-66 Andre Bevil, 2010-11 Larry Haynes, 1978-79 Burton Murchison, 1985-88 Shad Smith, 1985-88 Windell Hebert, 1959-62 Sammy Carpenter, 1951-54 Fred Hessen, 1981-82 Tommy Tomlin, 1969-70 Ray Campbell, 1980-83 Doug Matthews, 1969-72 Bobby Flores, 1973-76 Glen Hill, 1969-72
Rushing 94 -213 12 28 171 211 -92 119 80 1,547 26 -62 197 78 23
Passing 2,901 2,641 2,108 2,013 1,719 1,549 1,806 1,525 1,563 44 1,533 1,491 1,214 1,261 1,194
Total 2,995 2,428 2,120 2,041 1,890 1,760 1,714 1,644 1,643 1,591 1,559 1,429 1,411 1,339 1,217
Passing 6,347 4,036 3,732 3,902 145 3,833 2,962 401 2,844 2,635 2,808 24 2,259 832
Total 6,379 4,379 3,931 3,767 3,743 3,493 3,368 3,104 2,849 2,599 2,594 2,347 2,301 2,006
Career
Larry Haynes became the first Cardinal to amass over 2,000 yards of total offense in a single season with 2,428 in 1979
130
Opponent Pass/Rush McNeese State, 2010 429/-3 UTEP, 1989 407/14 Angelo State, 1989 393/12 Southeastern Louisiana, 2010 417/-19 McNeese State, 1989 353/43 Louisiana-Monroe, 1987 412/-19 UT Arlington, 1979 403/-16 Northwestern State, 2011 360/14 McNeese State, 1987 341/15 Louisiana Tech, 1969 308/43 UT Arlington, 1981 367/-18 Southeastern Louisiana, 2011 270/77 Louisiana-Lafayette, 1989 281/16 Texas Tech, 1988 243/54 Texas Southern, 1984 181/112 Texas State 286/3 Sam Houston State, 2010 310/-25 Houston, 1983 326/-43 UT Arlington, 1976 199/84 Mississippi College, 1988 285/-5
Rushing 32 343 199 -135 3,598 -394 406 2,703 5 -36 -214 2,323 42 1,174
L a m a r Fo otbal l Individual All-Purpose Yards Single Season Dudley Rench Bob Nance J.E. Whitmore Ronnie Fontenot Bobby Jancik Bobby Jancik Harold LaFitte Richard Prejean Harold LaFitte Harold LaFitte Johnny Fuller Tommy Smiley Ronnie Gebauer Robert Fontenot Patrick Gibbs Clinton Hill Doug Matthews Joe Bowser Ronnie Melancon Larry Spears Anthony Pendland Kevin Bell Howard Robinson Howard Robinson Sam Choice Herbert Harris Herbert Harris George Landry Rodney Clay Burton Murchison Burton Murchison Ranzy Levias Troy Barrett Chris Ford Octavious Logan J.J. Hayes Kevin Johnson
Rush 607 1,055 671 420 534 243 638 402 551 435 302 307 365 407 331 0 890 0 104 85 293 881 0 486 14 393 515 1 9 -15 0 4 554 2 1,547 830 0 598 0 229 0 15
Rec. 46 67 77 165 28 295 228 52 174 137 357 189 41 119 124 517 0 831 30 637 93 61 545 84 380 56 55 451 840 579 911 525 87 736 40 194 682 115 918 19 951 309
KR 165 289 267 67 176 81 12 13 238 202 187 178 239 149 161 0 97 0 559 0 387 109 0 0 0 0 362 0 217 6 265 566 0 0 0 31 364 0 0 661 0 623
PR 55 26 62 11 93 30 116 67 70 321 92 9 69 31 0 255 0 32 0 0 0 0 0 0 0 0 0 205 66 8 0 0 0 0 0 0 0 0 0 0 0 0
INT 0 0 5 48 5 0 0 23 0 63 31 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Total 873 1,387 1,082 711 836 649 994 557 1,033 1,158 969 685 714 708 616 772 987 863 693 722 773 1,051 545 570 394 449 932 657 1,132 592 1,176 1,095 641 738 1,587 1,055 1,046 713 918 909 951 947
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15.
Name Burton Murchison, 1985 Sammy Carpenter, 1952 Howard Robinson, 1979 Herbert Harris, 1981 Herbert Harris, 1982 Sammy Carpenter, 1953 Bobby Jancik, 1960 Burton Murchison, 1986 Doug Matthews, 1972 Ranzy Levias, 1987 Burton Murchison, 1987 Ronnie Fontenot, 1959 Tommy Smiley, 1967 Bobby Jancik, 1961 J.J. Hayes, 2011
Rush 1,547 1,005 9 0 4 671 435 830 881 0 813 551 890 302 0
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12.
Name Burton Murchison, 1984-87 Sammy Carpenter, 1951-54 Ranzy Levias, 1984-87 Doug Matthews, 1969-72 Herbert Harris, 1979-82 Ben Booker, 1978-81 Ronnie Gebauer, 1967-70 Howard Robinson, 1976-79 J.E. Whitmore, 1955-58 Kenny Montgomery, 1965-68 Harold LaFitte, 1962-65 Bobby Jancik, 1960-61
Rec. 40 67 840 911 525 77 137 194 61 682 224 174 0 357 951
KR 0 289 217 265 566 267 202 31 109 364 0 238 97 187 0
PR 0 26 66 0 0 62 321 0 0 0 0 70 0 92 0
INT 0 0 0 0 0 5 63 0 0 0 0 0 0 31 0
Total 1,587 1,387 1,132 1,176 1,095 1,082 1,158 1,055 1,051 1,046 1,037 1,033 987 969 951
Rec. KR 510 95 355 788 1,280 1,354 137 221 1,624 831 565 144 2,098 0 1,811 217 253 310 177 544 473 582 494 389
PR 0 154 12 0 0 12 236 271 351 13 53 413
INT 0 53 0 0 0 0 0 0 23 0 2 94
Total 4,203 4,005 2,821 2,681 2,459 2,320 2,314 2,308 2,323 2,212 2,167 2,127
FG 0 0 0 29-44 20-31 24-42 28-51 0 0 0 0 0 0
Pts. 198 172 170 149 144 142 141 128 108 98 96 94 92
Career Rush 3,598 2,703 175 2,323 4 1,599 -20 9 1,386 1,468 1,057 737
Individual Scoring Records Single Season 1. 2. 3. 4. 5. 6. 7. 8. 11. 12. 13.
Name Kevin Johnson, 2012 Sammy Carpenter, 1952 Howard Robinson, 1979 Doug Matthews, 1971 Ronnie Fontenot, 1959 Burton Murchison, 1986 Toby Lierman, 1951 Mike Andrie, 1987 Marcus Jackson, 2010 Kenny Franklin, 1989 Sammy Carpenter, 1951 Frank Van Renselaer, 1989 Mike Marlow, 1981 Justin Stout, 2011 Burton Murchison, 1985 Doug Matthews, 1972
TD 13 13 12 11 8 11 10 0 9 9 9 0 0 0 8 8
2-Pt 0 0 0 1-3 1 0 0 0 0 0 0 0 0 0 1-1 1-1
PAT 0 0 0 0 17 0 0 31-31 0 0 0 32-33 18-18 35-37 0 0
Career FG 0 0 0 0 0 0 0 8-12 0 0 0 7-9 11-19 5-8 0 0
Pts. 78 78 72 68 67 66 60 55 54 54 54 53 51 50 50 50
1. 2. 3 4. 5. 6. 7. 8. 9. 10. 11. 12. 13.
Name Sammy Carpenter, 1951-54 Doug Matthews, 1969-72 Burton Murchison, 1984-87 Jabo Leonard, 1972-75 Justin Stout, 2010Mike Andrie, 1984-87 Mike Marlow, 1978-81 Harold LaFitte, 1962-65 Howard Robinson, 1976-79 John Evans, 1986-89 Patrick Gibbs, 1968-71 Ronnie Fontenot, 1959-61 Tommy Smiley, 1965-67
TD 33 28 28 0 0 0 0 21 18 16 15 11 15
2-Pt 0 2-4 1-1 0 0 0 0 0 0 1 0 0 0
PAT 0 0 0 62-64 84-91 70-72 57-64 2 0 0 6 28 2
131
La mar Foo tba l l Individual Punting Records Most Punts in a Game
Yearly Leaders Year 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 2010 2011 2012
Name Bob Frederick Bob Frederick Bill Davis Raymond Meyer Raymond Meyer Raymond Meyer Glenn Green Larry Ward Richard Griffin Glenn Green Larry Ward Bill McNeill Pat Day Larry Ward Pat Day Pat Day John Wiersma Dan Yezak Dan Yezak Bill Kilgore John Wiersma David Perkins John Wiersma Bill Kilgore Danny Hetzel Danny Hetzel Ronnie Baird Bennie Lunsford Tommy Tomlin Ronnie Baird Lynn Bock Mike Drake Lynn Bock Lynn Bock Lynn Bock Ricky Gohlke Chris Frederick David Stone Chris Frederick Chris Frederick Richard Adams Mike Marlow Mike Marlow Mike Marlow Mike Marlow Ricky Fernandez Ricky Fernandez Ricky Fernandez Mike Andrie Ricky Fernandez Bryan Campbell Mike Andrie Bryan Campbell Bryan Campbell Bryan Campbell Kollin Kahler Kollin Kahler Kollin Kahler
132
No. 55 40 25 22 27 35 19 8 3 20 10 16 15 14 59 41 55 48 41 35 16 31 17 61 78 20 18 42 17 11 59 34 29 67 64 47 25 40 22 42 39 73 65 62 70 76 75 57 14 53 43 26 59 62 55 55 64 67
Yds. 2,113 1,363 979 831 1,101 1,353 670 286 110 689 365 567 453 577 2,143 1,438 1,892 1,979 1,585 1,421 665 1,063 635 2,362 2,766 670 764 1,524 556 400 2,241 1,253 1,142 2,672 2,447 1,612 934 1,602 716 1,294 1,447 2,832 2,329 2,535 2,854 3,022 3,004 2,171 495 2,182 1,504 971 2,218 2,474 2,126 2,089 2,710 2,782
Avg. 38.4 34.1 39.1 37.7 40.8 38.6 35.2 35.7 36.6 34.4 36.5 35.4 30.2 44.0 36.4 35.1 34.4 41.2 38.7 40.6 41.6 34.3 37.4 38.8 35.4 33.5 42.4 36.6 32.7 36.4 38.0 36.9 39.4 39.9 38.7 34.3 37.4 40.1 32.5 30.8 37.1 38.8 35.8 40.9 40.8 39.8 40.1 38.1 35.4 41.2 35.0 37.3 37.6 39.9 38.7 38.0 42.3 41.5
Name Kollin Kahler Bryan Campbell Danny Hetzel Dan Yezak Kollin Kahler Kollin Kahler Bryan Campbell Danny Hetzel Kollin Kahler Kollin Kahler Kollin Kahler Bryan Campbell Bryan Campbell Danny Hetzel Danny Hetzel
Opponent Stephen F. Austin, 2010 Sam Houston State, 1989 Louisiana Tech, 1968 Abilene Christian, 1963 Hawai`i, 2012 Sam Houston State, 2011 Louisiana-Monroe, 1988 UT Arlington, 1968 Stephen F. Austin, 2011 South Alabama, 2011 South Alabama, 2010 Alcorn State, 1989 Stephen F. Austin, 1988 McNeese State, 1969 Trinity, 1968
No. 11 10 10 10 9 9 9 9 8 8 8 8 8 8 8
Season 1. 2. 3. 4. 5. 6. 8. 9. 11.
Name Danny Hetzel, 1968 Ricky Fernandez, 1982 Ricky Fernandez, 1983 Mike Marlow, 1978 Mike Marlow, 1981 Kollin Kahler, 2012 Lynn Bock, 1973 Mike Marlow, 1979 Kollin Kahler, 2011 Lynn Bock, 1974 Bryan Campbell, 1989 Mike Marlow, 1980
No. 78 76 75 73 70 67 67 65 64 64 62 62
Career 1. 2. 3. 5. 6. 7. 8. 9. 10. 13. 14.
Name Mike Marlow, 1978-81 Ricky Fernandez, 1982-85 Bryan Campbell, 1986-89 Lynn Bock, 1971-74 Kollin Kahler, 2010Pat Day, 1959-61 Danny Hetzel, 1967-69 Bill Kilgore, 1964-67 Bob Frederick, 1951-52 Chris Frederick, 1975-77 Dan Yezak, 1963-64 John Wiersma, 1962, 65-66 Raymond Meyer, 1954-56
No. 270 261 219 219 186 115 99 96 95 89 89 88 84
Single Game Yardage Name Kollin Kahler Dan Yezak Kollin Kahler Kollin Kahler Bryan Campbell Bryan Campbell Kollin Kahler Danny Hetzel Bryan Campbell Danny Hetzel Kollin Kahler Bryan Campbell Danny Hetzel Kollin Kahler Bryan Campbell
Opponent Yds. Stephen F. Austin, 2010 419 (11) Abilene Christian, 1963 402 (10) Sam Houston State, 2011 397 (9) Hawai`i, 2012 373 (9) Stephen F. Austin, 1988 363 (8) Louisiana-Monroe, 1988 358 (9) Stephen F. Austin, 2011 352 (8) Louisiana Tech, 1968 345 (10) Stephen F. Austin, 1989 337 (8) UT Arlington, 1968 322 (9) South Alabama, 2010 317 (8) Sam Houston State, 1989 317 (10) New Mexico State, 1968 310 (6) Langston, 2012 307 (7) Alcorn State, 1989 304 (8)
Season Yardage 1. 2. 3. 4. 5. 6. 7. 8. 9. 10.
Name Ricky Fernandez, 1983 Ricky Fernandez, 1982 Mike Marlow, 1981 Mike Marlow, 1978 Kollin Kahler, 2012 Danny Hetzel, 1968 Kollin Kahler, 2011 Lynn Bock, 1973 Mike Marlow, 1980 Bryan Campbell, 1988
Yds. 3,022 (75) 3,004 (76) 2,854 (70) 2,832 (73) 2,782 (67) 2,766 (78) 2,710 (64) 2,672 (67) 2,535 (62) 2,474 (62)
Season Average
11.
Name Larry Ward, 1959 Ronnie Baird, 1969 Kollin Kahler, 2011 John Wiersma, 1965 Kollin Kahler, 2012 Dan Yezak, 1963 Ricky Fernandez, 1985 Mike Marlow, 1980 Raymond Meyer, 1955 Mike Marlow, 1981 Bill Kilgore, 1965
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15.
Name Kollin Kahler, 2010Dan Yezak, 1963-64 Ricky Fernandez, 1982-85 Bill Kilgore, 1964-67 Raymond Meyer, 1954-56 Mike Marlow, 1978-81 Lynn Bock, 1971-74 John Wiersma, 1964-66 Larry Ward, 1957-59 Bryan Campbell, 1986-89 Kollin Kahler, 2010Mike Andrie, 1984-87 Bob Frederick, 1951-52 Mike Drake, 1971-72 Danny Hetzel, 1967-69
1. 2. 3. 4. 5. 6. 8. 9.
Avg. 44.0 (14-577) 42.4 (19-764) 42.3 (64-2,710) 41.6 (16-665) 41.5 (67-2,782) 41.2 (48-1,979) 41.2 (53-2,182) 40.9 (62-2,535) 40.8 (27-1,101) 40.8 (70-2,854) 40.6 (35-1,421)
Career Average Avg. 40.76 (186-7,581) 40.04 (89-3,564) 39.76 (261-10,379) 39.41 (96-3,783) 39.11 (84-3,285) 38.89 (270-10,500) 38.82 (219-8,502) 38.75 (40-1,550) 38.13 (32-1,220) 38.00 (219-8,322) 37.98 (55-2,089) 36.65 (40-1,466) 36.59 (95-3,476) 35.95 (39-1,402) 34.95 (99-3,460)
Longest Punts Name Lynn Bock Lynn Bock Kollin Kahler Ricky Fernandez Dan Yezak Ricky Fernandez Raymond Meyer Lynn Bock Bennie Lansford Mike Marlow Dan Yezak Dan Yezak Kollin Kahler Pat Day
Opponent Yds. West Texas State, 1972 86 Louisiana-Lafayette, 1973 80 Southeastern Louisiana, 2011 72 UT Arlington, 1982 72 San Diego Marines, 1964 70 Louisiana Tech, 1984 68 Stephen F. Austin, 1955 68 West Texas A&M, 1974 67 Southern Illinois, 1970 67 Baylor, 1980 66 Trinity, 1963 66 Sul Ross State, 1963 66 Northwestern State, 2011 65 Mexico Poly, 1960 65
L a m a r Fo otbal l Individual Punt Return Records Yearly Leaders Year Name Ret. 1951 Toby Lierman 15 1952 L.C. Choate 5 Sammy Carpenter 3 1953 Sammy Carpenter 4 1954 Raymond Meyer 5 Jerry Boone 4 1955 Raymond Meyer 12 Jerry Boone 9 J.E. Whitmore 7 1956 J.E. Whitmore 4 Raymond Meyer 4 1957 J.E. Whitmore 7 Dudley Rench 5 1958 J.E. Whitmore 12 Dudley Rench 4 1959 Ronnie Fontenot 12 1960 Bobby Jancik 21 1961 Bobby Jancik 8 1962 Ronnie Wright 8 1963 Mike McManus 5 1964 Burnie Alderman 5 Harold LaFitte 3 1965 Burnie Alderman 18 1966 Johnny Fuller 19 1967 Johnny Fuller 20 Ronnie Gebauer 15 1968 Charles Crawford 7 Ronnie Gebauer 7 1969 Mark Ludwig 10 1970 Clinton Hill 3 1971 Rondy Colbert 14 1972 Rondy Colbert 14 Steve Wilke 10 1973 Rondy Colbert 31 1974 Rondy Colbert 12 1975 Don Cunningham 10 1976 Don Cunningham 9 Don Gordon 7 1977 Don Gordon 16 Johnny Ray Smith 6 1978 Johnny Ray Smith 19 Howard Robinson 16 Don Gordon 8 1979 Johnny Ray Smith 13 Howard Robinson 10 1980 Johnny Ray Smith 21 1981 Joe Cormier 22 1982 Mitchell Bennett 20 1983 Dennis Haskin 16 Mitchell Bennett 6 1984 Billy Bell 25 1985 Billy Bell 11 1986 Keith McFadden 6 1987 Chris Lafferty 25 1988 Chris Lafferty 18 1989 Ronald Davis 18 2010 Josh Powdrill 10 Marcus Jackson 5 2011 Kye Hildreth 2 2012 Mike Venson 14
Yds. 111 37 26 62 114 32 93 65 57 154 34 73 49 67 163 70 321 92 125 113 28 31 153 255 344 155 44 32 36 53 182 56 132 305 42 44 94 60 111 60 110 205 80 126 66 144 66 103 58 58 158 85 30 191 104 170 95 122 40 97
Avg. TD 7.4 0 7.4 0 8.7 0 15.5 0 22.8 1 8.0 0 7.8 0 7.2 0 8.1 0 38.5 1 8.5 0 10.4 0 9.8 0 5.6 0 40.8 1 5.8 0 15.3 0 11.5 0 15.6 0 22.6 1 5.6 0 10.3 0 8.3 0 13.4 1 17.2 1 10.3 0 6.3 0 4.6 0 3.6 0 17.7 0 13.0 0 4.0 0 13.2 0 9.8 2 3.5 0 4.4 0 10.4 0 8.6 0 6.9 1 10.0 1 5.8 0 12.8 0 10.0 1 9.7 1 6.6 0 6.9 0 3.0 0 5.2 0 3.6 0 9.7 1 6.3 0 7.7 0 5.0 0 7.6 0 5.8 0 9.4 0 9.5 0 24.4 1 20.0 0 6.9 0
Most Returns - Game Name Johnny Ray Smith Rondy Colbert
Opponent No. Baylor, 1980 8 Louisiana-Lafayette, 1973 7
Most Returns - Season Name 1. Rondy Colbert, 1973 2. Chris Lafferty, 1987 Billy Bell, 1984 4. Joe Cormier, 1981 5. Johnny Ray Smith, 1980 6. Mitchell Bennett, 1982 Johnny Fuller, 1967 8. Johnny Ray Smith, 1978 Johnny Fuller, 1966 10. Ronald Davis, 1989 Chris Lafferty, 1988 Burnie Alderman, 1965
No. 31 25 25 22 21 20 20 19 19 18 18 18
Most Returns - Career 1. 2. 3. 4. 5. 6. 7. 8. 9. 10.
Name Rondy Colbert, 1971-74 Johnny Ray Smith, 1977-80 Chris Lafferty, 1987-89 Johnny Fuller, 1964-67 Billy Bell, 1983-85 J.E. Whitmore, 1955-58 Bobby Jancik, 1960-61 Don Cunningham, 1974-77 Mitchell Bennett, 1982-83 Joe Cormier, 1981 Don Gordon, 1975-78
No. 71 59 44 40 36 30 29 28 26 22 22
Single Game Yardage Name Opponent Rondy Colbert Louisiana-Lafayette, 1973 Marcus Jackson Ok. Panhandle State, 2010
Yds. 118 (7) 111 (2)
Season Yardage 1. 2. 3. 4. 5. 6. 7. 8. 9. 10.
Name Johnny Fuller, 1967 Bobby Jancik, 1960 Rondy Colbert, 1973 Johnny Fuller, 1966 Howard Robinson, 1978 Chris Lafferty, 1987 Rondy Colbert, 1971 Ronald Davis, 1989 Dudley Rench, 1958 Ronnie Gebauer, 1967
Yds. 344 (20) 321 (21) 305 (31) 255 (19) 205 (16) 191 (25) 182 (14) 170 (18) 163 (4) 155 (15)
Career Yardage 1. 2. 3. 4. 5. 6. 7. 8. 9. 10.
Name Johnny Fuller, 1964-67 Rondy Colbert, 1971-74 Johnny Ray Smith, 1977-80 Bobby Jancik, 1960-61 J.E. Whitmore, 1955-58 Chris Lafferty, 1987-89 Don Gordon, 1975-78 Billy Bell, 1983-85 Raymond Meyer, 1954-56 Mitchell Bennett, 1982-83
Yds. 626 (40) 585 (71) 440 (59) 413 (29) 351 (30) 296 (44) 259 (22) 243 (36) 241 (21) 161 (26)
Season Average 1. 2. 3. 4. 5. 6. 7. 8. 9. 10.
Minimum 4 returns Name Dudley Rench, 1958 J.E. Whitmore, 1956 Marcus Jackson, 2010 Raymond Meyer, 1954 Mike McManus, 1963 Johnny Fuller, 1967 Sammy Carpenter, 1953 Bobby Jancik, 1960 Johnny Fuller, 1966 Steve Wilke, 1972
Avg. 40.8 (4-136) 38.5 (4-154) 24.4 (5-122) 22.8 (5-114) 22.6 (5-113) 17.2 (20-344) 15.5 (4-62) 15.3 (21-321) 13.4 (19-255) 13.2 (10-132)
1. 2. 3. 4. 5. 6. 7. 8. 9. 10.
Minimum 10 returns Name Johnny Fuller, 1967 Bobby Jancik, 1960 Johnny Fuller, 1966 Steve Wilke, 1972 Rondy Colbert, 1971 Howard Robinson, 1978 Ronnie Gebauer, 1967 Rondy Colbert, 1973 Johnny Ray Smith, 1979 Josh Powdrill, 2010
Avg. 17.2 (20-344) 15.3 (21-321) 13.4 (19-255) 13.2 (10-132) 13.0 (14-182) 12.8 (16-205) 10.3 (15-155) 9.8 (31-305) 9.7 (13-126) 9.5 (10-95)
Career Average 1. 2. 3. 4. 5. 6. 7. 8. 9. 10.
Minimum 20 returns Name Johnny Fuller, 1964-67 Bobby Jancik, 1960-61 Don Gordon, 1975-78 J.E. Whitmore, 1955-58 Raymond Meyer, 1954-56 Rondy Colbert, 1971-74 Johnny Ray Smith, 1977-80 Billy Bell, 1983-85 Chris Lafferty, 1987-89 Mitchell Bennett, 1982-83
Avg. 15.65 (40-626) 14.24 (29-413) 11.77 (22-259) 11.70 (30-351) 11.48 (21-241) 8.24 (71-585) 7.46 (59-440) 6.75 (36-243) 6.73 (44-296) 6.19 (26-161)
Season Touchdowns Name 1. Rondy Colbert, 1973 2. Eight players tied with
TD 2 1
Career Touchdowns Name 1. Johnny Fuller, 1964-67 Rondy Colbert, 1971-74 Johnny Ray Smith, 1977-80
TD 2 2 2
Longest Returns Name Marcus Jackson Raymond Meyer David McGaughty Kurt Phoenix Dudley Rench Johnny Ray Smith J.E. Whitmore Mike McManus Bobby Jancik Rondy Colbert
Opponent Yds. Ok. Panhandle State, 2010 90 Texas A&M-Kingsville, 1954 90 Mexico Poly, 1960 83 UT Arlington, 1978 82 Sam Houston State, 1958 82 Louisiana-Monroe, 1979 80 Texas A&M-Kingsville, 1956 80 Sul Ross State, 1963 76 Louisiana-Monroe, 1960 75 Louisiana-Lafayette, 1973 73
133
La mar Foo tba l l Junior College Results 1923 (2-4-1) Coach: Pat Quinn South Park High W Stephen F. Austin W Port Arthur High T Louisiana-Lafayette L Texas A&M Freshmen L LSU Freshmen L Louisiana College L 1924 (7-3-0) Coach: Dunlap Johnson Orange High W Sour Lake High W DeQuincy (La.) High W Rusk Jr. College W Stephen F. Austin W Texas Freshmen L Louisiana-Lafayette L Rice Freshmen L Louisiana College W Port Arthur Independent W 1925 (1-5-2) Coach: Lilburn Dimmitt Louisiana-Lafayette L Beaumont High W Northwestern State L Texas A&M Freshmen L Rice Freshmen T Texas Freshmen L Beaumont High L Stephen F. Austin T 1926 (2-4-0) Coach: Joe Vincent Victoria JC W Centenary Freshmen L Sam Houston State W Louisiana-Lafayette L Rice Freshmen L Schreiner Institute L
(Discontinued: 1927-31)
134
n
1923-1950
25-0 10-0 0-0 19-16 25-0 13-0 20-13
28-0 14-0 47-0 23-0 19-7 9-7 20-8 7-6 13-7 24-0
14-0 6-0 19-6 12-0 2-2 7-0 19-10 0-0
24-0 13-7 9-0 19-0 29-0 64-0
Coach John Gray’s 1932 team finished the season with an 8-1 record
1932 (8-1) Coach: John Gray Lon Morris JC W Blinn College W Sam Houston Freshmen W Centenary Freshmen W East Texas Baptist W Texas Freshmen W Louisiana-Lafayette W SMU Freshmen L Decatur Baptist JC W
20-6 39-0 38-13 12-0 14-12 25-7 6-0 6-0 23-6
1933 (6-4-2) Coach: John Gray East Texas Baptist L Lon Morris JC W Louisiana-Lafayette W Texas Freshmen T Rice Freshmen L Sam Houston Freshmen W Blinn College W Texas A&M Freshmen T Victoria JC W LSU Freshmen L Schreiner Institute W Amarillo JC L
7-6 13-0 8-7 0-0 7-0 41-0 71-0 0-0 40-7 20-0 20-14 27-14
1934 (8-1-1) Coach: John Gray Lon Morris JC W Texas Freshmen W Texas Freshmen W Loyola (La.) Freshmen T Texas A&M Freshmen W St. Mary’s University W Westmoreland JC W Victoria JC W Schreiner Institute W Amarillo JC L
26-6 7-0 16-0 19-19 13-6 32-0 54-7 19-0 7-6 27-14
1935 (4-3-1) Coach: John Gray Lon Morris JC T Rice Freshmen L Mexico Poly W Texas A&M-Kingsville L Sam Houston State W Victoria JC W Westmoreland JC W Schreiner Institute L
0-0 24-0 32-0 26-0 16-0 7-6 38-6 20-0
1936 (3-4-0) Coach: John Gray Stephen F. Austin L Centenary Freshmen L Loyola (La.) Freshmen W Texas A&M-Kingsville L Victoria JC W Schreiner Institute W Kilgore College L
13-6 6-0 6-0 26-0 7-0 7-6 10-7
L a m a r Fo otbal l 1937 (5-4) Coach: John Gray Texas Freshmen W Texas A&M-Kingsville L Southeastern La. L Stephen F. Austin W Sam Houston State L Centenary Freshmen W Louisiana-Lafayette W Schreiner Institute L Mexico Poly W
3-0 26-0 20-12 10-6 16-7 32-6 18-12 14-6 27-13
1938 (2-6-1) Coach: John Gray Arlington JC L Brownsville JC W Texas Lutheran W St. Edward’s University L Sam Houston State L Southeastern La. L Centenary Freshmen L Stephen F. Austin T Schreiner Institute L
33-7 40-6 33-6 14-0 18-0 20-7 12-7 13-13 9-0
1939 (2-7-0) Coach: John Gray Louisiana-Lafayette L Sam Houston State L Baylor Freshmen L Centenary Freshmen W Kilgore College L Texas Lutheran W Schreiner Institute L Arlington JC L Lon Morris JC L
6-0 20-6 34-0 7-0 20-0 18-0 7-0 7-6 28-6
1940 (2-4-1) Coach: R. M. Hodgkiss Kilgore JC L Decatur Baptist JC W Lon Morris JC T Rice Freshmen L Schreiner Institute L Tarleton State JC L McNeese State JC W
27-0 12-6 0-0 6-0 19-0 14-9 34-0
1941 (4-4-0) Coach: R. M. Hodgkiss Sam Houston State L Schreiner Institute W Kilgore College L Decatur Baptist JC W Rice Freshmen L Arlington JC L Clifton JC W Louisiana-Lafayette Freshmen W
51-6 6-0 34-6 12-0 20-0 21-13 59-6 27-0
1942 (2-6-1) Coach: Ted Dawson Sam Houston State L Arlington JC T Kilgore College L Schreiner Institute W Paris JC L Ellington AFB W NE Louisiana JC L Southwestern University L Southeastern La. L
20-0 0-0 28-6 14-0 20-0 25-0 19-13 13-0 34-7
(Discontinued 1943-45) 1946 (8-2-0) Coach: Ted Jefferies Decatur Baptist JC W Hardin College W San Angelo JC L Hill JC W Paris JC W Tarleton State JC W Arlington JC W Kilgore College L Schreiner Institute W McNeese State JC W
83-0 13-0 13-7 40-0 6-0 19-7 26-0 10-6 20-0 21-7
1947 (4-6-0) Coach: A. C. Forwald Little Rock JC W Del Mar JC W San Angelo JC L Arlington JC L Paris JC W Tarleton State JC W Tyler JC L Kilgore College L Schreiner Institute L McNeese State JC L
12-0 19-6 26-0 14-0 28-14 14-0 7-6 10-6 7-0 21-7
1948 (8-4-0) Coach: Stan Lambert Brownsville JC W Del Mar JC W San Angelo JC L Arlington JC L Paris JC L Tarleton State JC W Mexico Poly W Kilgore College L Schreiner Institute W McNeese State JC W Tyler JC W Hinds, Miss. JC W +- JC State Playoffs *-Spindletop Bowl
1949 (10-2) Coach: Stan Lambert Wharton JC W Schreiner Institute W San Angelo JC W Arlington JC W Paris JC W Tarleton State JC W Mexico Poly W Kilgore College W McNeese State JC W Tyler JC L Pearl River, Miss. JC L Georgia Military W +- Memorial Bowl *-Spindletop Bowl (SWJC Co-Champions)
9/16 9/23 9/30 10/6 10/14 10/21 10/28 11/3 11/11 11/18
1950 (5-4-1) Coach: Stan Lambert SE Oklahoma State T SW Oklahoma State W Corpus Christi Univ. L Northwestern State L Sam Houston State L Louisiana College W Mexico Poly W East Central Okla. W Daniel Baker W Middle Tennessee L
33-13 21-0 42-20 50-6 38-13 7-0 40-0 14-7 33-14 27-13 21-20* 35-14+
7-7 34-7 20-13 26-0 45-0 15-7 19-6 7-6 75-0 28-0
25-7 21-7 19-6 22-0 27-7 26-19 28-0 27-12 18-6 20-6 28-7+ 21-0*
135
La mar Foo tba l l Senior College Results 9/15 9/22 9/29 10/6 10/13 10/20 10/27 11/3 11/10 11/17
1951 (4-6-0) Coach: Stan Lambert North Texas L SW Oklahoma State W at Northwestern State W *Stephen F. Austin W *at Texas A&M-Commerce L *at Sam Houston State L Trinity University L *Texas State L at McNeese State L *Sul Ross State W
9/20 9/27 10/4 10/11 10/18 10/25 11/1 11/8 11/15
1952 (2-7) Coach: Stan Lambert at Louisiana-Lafayette L Northwestern State W *at Stephen F. Austin W *Texas A&M-Commerce L *Sam Houston State L at Trinity University L *at Texas State L McNeese State L *at Sul Ross State L 1953 (3-7) Coach: J.B. Higgins Louisiana-Lafayette L at Northwestern State L Stephen F. Austin W at Texas A&M-CommerceL at Sam Houston State L Abilene Christian L Texas State L at McMurry College L at Sul Ross State W at Mexico Poly W 1954 (3-7) Coach: J.B. Higgins Louisiana-Lafayette W at Northwestern State L McMurry College W *at Stephen F. Austin L *Texas A&M-Commerce L *Sam Houston State W at Abilene Christian L *at Texas State L *Texas A&M-Kingsville L *Sul Ross State L
9/17 9/24 10/1 10/8 10/15 10/22 10/29 11/5 11/12 11/19
136
1955 (4-6) Coach: J.B. Higgins Louisiana-Lafayette W at Northwestern State L A&M-Corpus Christi W *Stephen F. Austin L *at Texas A&M-Commerce L *at Sam Houston State L at McNeese State L *Texas State L *at Texas A&M-Kingsville W *Sul Ross State W
54-6 43-21 32-20 26-14 47-7 33-14 41-20 14-13 13-7 28-27
14-13 35-13 27-6 48-0 31-13 66-7 33-26 42-7 27-19
22-13 12-6 19-13 32-13 43-0 26-21 14-6 32-27 21-0 60-12
26-20 22-13 19-13 20-7 16-14 6-0 33-14 13-12 18-14 27-13
19-6 7-6 29-2 20-8 33-7 46-14 17-2 14-7 20-9 26-13
n
1951-Present
9/15 9/22 10/6 10/13 10/20 10/27 11/3 11/10 11/17
1956 (4-4-1) Coach: J.B. Higgins at Louisiana-Lafayette W Northwestern State T *at Stephen F. Austin L *Texas A&M-Commerce W *Sam Houston State L McNeese State W *at Texas State L *Texas A&M-Kingsville L *at Sul Ross State W
21-14 6-6 26-18 20-7 20-6 18-14 13-6 28-12 34-7
9/14 9/21 9/28 10/5 10/12 10/19 10/26 11/2 11/9 11/16
1957 (8-0-2) Coach: J.B. Higgins at Louisiana College W at Northwestern State W Louisiana-Lafayette W *Stephen F. Austin W *at Texas A&M-Commerce W *at Sam Houston State T *Howard Payne W *Texas State W *at Texas A&M-Kingsville T *Sul Ross State W
35-20 20-10 36-20 27-12 7-6 7-7 18-13 33-20 13-13 67-19
9/27 10/4 10/11 10/18 10/25 11/1 11/8 11/15
1958 (6-2) Coach: J.B. Higgins A&M-Corpus Christi W *at Stephen F. Austin W *Texas A&M-Commerce W *Sam Houston State W *at Howard Payne L *at Texas State L *Texas A&M-Kingsville W *at Sul Ross State W
26-0 35-6 21-0 20-7 24-19 8-7 14-0 46-7
9/12 9/19 9/26 10/3 10/10 10/17 10/24 10/31 11/7 11/14 11/21
1959 (8-3) Coach: J.B. Higgins at South Dakota W Louisiana Tech W at Northwestern State W at Abilene Christian W *Stephen F. Austin W *Sul Ross State W *at Texas State W Howard Payne L *at Texas A&M-Kingsville L *Texas A&M-Commerce L *at Sam Houston State W
41-9 13-6 19-0 8-7 7-6 32-0 28-6 14-12 14-6 14-3 27-14
9/10 9/17 9/24 10/1 10/8 10/15 10/22 10/29 11/5 11/12 11/19 11/24
1960 (8-4) Coach: J.B. Higgins Mexico Poly W at Louisiana Tech L at Northwestern State W Abilene Christian L *at Stephen F. Austin W *at Sul Ross State W *Texas State W *at Howard Payne W *Texas A&M-Kingsville L *Texas A&M-Commerce L *Sam Houston State W South Dakota W
42-6 20-0 21-13 20-7 14-0 20-6 7-0 12-7 40-0 27-0 18-7 41-21
1961 (8-2-1) Coach: J.B. Higgins 9/23 Louisiana-Monroe W 9/30 at Abilene Christian W 10/7 *Stephen F. Austin W 10/14 *Sul Ross State W 10/21 *at Texas State T 10/28 *Howard Payne W 11/4 *at Texas A&M-Kingsville L 11/11 *Texas A&M-Commerce W 11/18 *at Sam Houston State L 12/2 at Mexico Poly W 12/29 Middle Tennessee State W *- Tangerine Bowl
9/15 9/21 9/27 10/6 10/13 10/20 10/27 11/3 11/10 11/17
1962 (7-3) Coach: J.B. Higgins Mexico Poly W at Louisiana-Monroe W Abilene Christian W *at Stephen F. Austin W *at Sul Ross State W *Texas State L *at Howard Payne W *Texas A&M-Kingsville L *at Texas A&M-Commerce W Sam Houston State L
38-34 25-10 34-22 34-0 7-7 33-13 8-7 14-7 9-7 62-22 21-14*
34-6 14-0 13-6 27-12 28-14 20-13 21-10 7-0 28-6 23-7
1963 (5-4) Coach: Vernon Glass 9/28 at Abilene Christian L 25-0 10/5 Trinity University W 20-18 10/12 Stephen F. Austin L 27-6 10/19 Sul Ross State W 15-7 10/26 at Texas State L 13-7 11/2 Howard Payne W 35-0 11/9 at Texas A&M-Kingsville W 16-14 11/17 Texas A&M-Commerce L 10-0 12/7 at Mexico Poly W 33-26 (Lamar was an independent in 1963) 1964 (6-3-1) Coach: Vernon Glass 9/19 East Central Okla. W 9/26 *Abilene Christian W 10/3 *at Trinity University W 10/17 at San Diego Marines L 10/24 *Texas A&M-Kingsville L 10/31 *UT Arlington W 11/7 *New Mexico State W 11/14 *at Arkansas State T 11/21 *at SW Missouri W 12/12 Northern Iowa L *- Pecan Bowl
21-0 14-3 14-7 33-28 13-12 17-7 21-14 7-7 14-7 19-17*
L a m a r Fo otbal l 9/18 9/25 10/2 10/9 10/16 10/23 10/30 11/6 11/13 11/20
1965 (6-4) Coach: Vernon Glass at East Central Okla. W at New Mexico State L Pensacola Navy W *Arkansas State W *at Abilene Christian W at Texas A&M-Kingsville L Louisiana-Lafayette L *Trinity University W West Texas A&M W *at UT Arlington L
9/17 9/24 10/2 10/15 10/22 10/29 11/5 11/12 11/19 11/26
1966 (6-4) Coach: Vernon Glass at Western Michigan L Southwest Missouri W at Louisiana-Lafayette L *Abilene Christian W McNeese State W *at Arkansas State W *at Trinity University L Louisiana Tech W *UT Arlington W at Quantico Marines L
16-14 55-12 16-14 42-16 10-7 17-0 23-14 31-16 27-7 30-26
9/11 9/18 9/25 10/2 10/9 10/16 10/23 10/30 11/6 11/20 11/27
9/16 9/23 9/30 10/7 10/14 10/21 10/28 11/4 11/11 11/18
1967 (7-3) Coach: Vernon Glass at New Mexico State L Louisiana-Lafayette W Southeastern Louisiana W Quantico Marines W *at Abilene Christian W at McNeese State W *Arkansas State W *Trinity Universisty W at Louisiana Tech L *at UT Arlington L
17-6 14-13 34-21 41-6 54-13 24-8 28-23 6-0 41-31 16-10
9/14 9/21 10/5 10/12 10/19 10/26 11/2 11/9 11/16 11/23
1968 (0-10) Coach: Vernon Glass at West Texas A&M L McNeese State L New Mexico State L at Southern Illinois L *Abilene Christian L at Louisiana-Lafayette L *at Arkansas State L *at Trinity University L Louisiana Tech L *UT Arlington L
45-7 10-0 16-14 24-7 38-14 20-14 48-17 24-20 34-7 37-20
9/20 9/27 10/4 10/11 10/18 10/25 11/1 11/8 11/15 11/22
1969 (3-7) Coach: Vernon Glass at McNeese State W at Louisiana-Lafayette L New Mexico State W Southern Illinois W Abilene Christian L at Louisiana-Lafayette L *at Arkansas State L *Trinity University L at Louisiana Tech L *at UT Arlington L
13-7 21-19 9-7 20-16 22-9 24-16 20-0 22-0 77-40 53-16
15-14 21-20 37-0 20-7 28-18 14-6 20-6 21-3 21-14 31-21
9/19 9/26 10/3 10/10 10/17 10/24 10/31 11//7 11/14 11/21
1970 (3-7) Coach: Vernon Glass West Texas A&M W Louisiana Tech W at Southern Illinois L McNeese State L *Abilene Christian L at Louisiana-Lafayette L *at Arkansas State L *at Trinity University L at New Mexico State L *UT Arlington W
33-28 6-0 32-16 17-12 42-27 15-6 69-7 37-31 69-37 24-0
9/9 9/16 9/23 9/30 10/7 10/14 10/21 10/21 11/4 11/11 11/18
1971 (5-6) Coach: Vernon Glass Sam Houston State L at West Texas A&M L *at Louisiana Tech L Central Missouri W at McNeese State L at Mississippi State L Louisiana-Lafayette L *at Abilene Christian W *Trinity University W *at UT Arlington W *Arkansas State W 1972 (8-3) Coach: Vernon Glass Sam Houston State W at UTEP W Southern Illinois W at West Texas A&M L *at McNeese State L *Abilene Christian W *at Louisiana-Lafayette W *at Arkansas State W at New Mexico State W Nicholls W *UT Arlington L
22-19 42-28 7-0 35-12 17-7 31-10 3-0 26-24 24-19 22-10 10-3
9/8 9/15 9/22 9/29 10/6 10/13 10/20 10/27 11/10 11/24
1973 (5-5) Coach: Vernon Glass at New Mexico State L Howard Payne W *at McNeese State L at Drake L West Texas A&M L at UTEP W Louisiana-Lafayette W *Arkansas State W *Louisiana-Tech L *at UT Arlington W
24-7 21-17 20-17 24-10 13-0 31-27 31-0 10-7 17-3 10-3
9/21 9/28 10/5 10/12 10/19 10/26 11/2 11/9 11/16 11/23
1974 (8-2) Coach: Vernon Glass Drake W at North Texas W *at Louisiana-Lafayette W Mississippi State L *at Arkansas State W Southern Miss. W at West Texas A&M W *at Louisiana Tech L *McNeese State W *UT Arlington W
18-6 27-7 38-13 37-21 10-6 10-7 9-7 28-0 17-3 8-0
13-12 14-6 26-7 35-6 38-0 24-7 21-20 30-28 27-15 23-14 24-13
9/6 9/13 9/20 10/4 10/11 10/18 10/25 11/1 11/8 11/22 11/29
1975 (1-10) Coach: Vernon Glass at Houston L West Texas A&M L New Mexico State L *Louisiana Tech L at Louisiana-Monroe L *at Louisiana-Lafayette L *Arkansas State L at Southern Miss. L *at UT Arlington L Southern Illinois W *at McNeese State L
20-3 10-6 17-14 24-10 34-7 21-12 17-0 43-3 37-24 30-10 20-10
9/11 9/18 9/25 10/2 10/9 10/16 10/23 10/30 11/6 11/13 11/20
1976 (2-9) Coach: Bob Frederick Northwestern State W at Louisiana-Monroe L at New Mexico State W at Southern Illinois L *Louisiana-Lafayette L *at Louisiana Tech L Long Beach State L *at Arkansas State L at West Texas A&M L *McNeese State L *UT Arlington L
17-6 16-6 21-17 19-7 34-9 37-7 21-10 31-0 21-6 27-0 34-14
9/10 9/17 9/24 10/1 10/8 10/15 10/22 10/29 11/5 11/12 11/19
1977 (2-9) Coach: Bob Frederick Louisiana-Monroe W *Louisiana-Lafayette L at Long Beach State L at Southern Illinois L *Arkansas State L at Northwestern State L West Texas A&M L at Drake L *Louisiana Tech L *at McNeese State W *at UT Arlington L
21-7 10-6 21-7 9-5 10-6 43-0 27-9 43-21 7-6 35-7 14-7
9/11 9/16 9/23 9/30 10/7 10/14 10/21 11/4 11/11 11/18 11/25
1978 (2-8-1) Coach: Bob Frederick at Northwestern State L Southern Illinois L Stephen F. Austin W *at Louisiana-Lafayette L Louisiana-Monroe T at West Texas A&M L *UT Arlington L *at Louisiana Tech L *McNeese State L *at Arkansas State L Long Beach State W
21-17 22-20 23-16 23-16 17-17 55-16 37-17 40-3 24-23 6-3 36-31
9/8 9/15 9/22 10/6 10/13 10/20 10/27 11/3 11/10 11/17 11/23
1979 (6-3-2) Coach: Larry Kennan at Baylor L at Western Kentucky W *Louisiana Tech W West Texas A&M T *McNeese State L *Louisiana-Lafayette W *at Arkansas State W at Louisiana-Monroe W Northwestern State W *at UT Arlington L at UNLV T
20-7 58-27 19-17 12-12 34-25 21-17 20-10 21-7 28-13 47-37 24-24
137
La mar Foo tba l l 9/6 9/13 9/20 10/4 10/11 10/18 10/25 11/1 11/8 11/15 11/22
1980 (3-8) Coach: Larry Kennan at Texas Southern W Baylor L Drake L at Stephen F. Austin W *at Louisiana Tech L Louisiana-Monroe L *at Louisiana-Lafayette L at Southern Miss. L *Arkansas State W *McNeese State L *UT Arlington L
9/5 9/19 9/26 10/3 10/10 10/17 10/31 11/7 11/14 11/21 11/28
1981 (4-6-1) Coach: Larry Kennan at Baylor W Sam Houston State W Texas State L Stephen F. Austin L at Louisiana-Monroe W *Louisiana Tech L *McNeese State T *at Arkansas State L *Louisiana-Lafayette W *at UT Arlington L at Southern Miss. L
9/4 9/11 9/18 9/25 10/2 10/16 10/23 10/30 11/6 11/13 11/20
1982 (4-7) Coach: Ken Stephens at Texas State L at Stephen F. Austin W Sam Houston State W at Houston L Texas Southern L *at Louisiana Tech W at Louisiana-Lafayette L *Louisiana-Monroe L *Arkansas State L *at McNeese State W *UT Arlington L
9/3 9/10 9/17 9/24 10/1 10/8 10/15 10/22 11/5 11/12 11/19
1983 (2-9) Coach: Ken Stephens at Nicholls L Stephen F. Austin W at Houston L *at Louisiana Tech W Texas Southern L *Louisiana-Monroe L *at UT Arlington L at Louisiana-Lafayette L *at North Texas L *Arkansas State L *McNeese State L
9/1 9/15 9/22 9/29 10/6 10/13 10/20 10/27 11/3 11/10 11/17
1984 (2-9) Coach: Ken Stephens Texas Southern L *North Texas W at Rice L *UT Arlington L *at Louisiana-Monroe L Texas State L at Sam Houston State L *Louisiana Tech L Nicholls W *at Arkansas State L *at McNeese State L
138
41-8 42-7 38-7 45-21 16-7 28-6 38-10 36-10 23-22 35-3 44-27
18-17 50-7 24-7 13-10 17-13 16-7 20-20 16-9 14-12 31-7 45-14
30-0 24-14 27-7 48-3 28-17 40-13 24-0 14-0 20-19 12-3 31-24
21-14 24-23 42-35 18-12 15-14 17-0 21-0 31-6 10-0 24-14 17-7
13-7 10-6 36-19 13-10 34-14 23-0 27-11 22-7 20-16 37-13 34-14
9/7 9/14 9/21 9/28 10/12 10/19 10/26 11/2 11/9 11/16 11/23
1985 (3-8) Coach: Ken Stephens Texas Southern W Prairie View A&M W at Texas State W at Rice L *Louisiana-Monroe L *at UT Arlington L Sam Houston State L *at Louisiana Tech L *at North Texas L *Arkansas State L *McNeese State L
32-20 30-7 24-21 29-28 37-14 37-17 34-22 23-22 20-0 21-0 28-7
9/5 9/12 9/19 9/26 10/3 10/10 10/17 10/24 10/31 11/14 11/21
1986 (2-9) Coach: Ray Alborn at Rice L at Sam Houston State L at Stephen F. Austin L Texas A&M-Kingsville L *at Louisiana-Monroe L Texas State W *North Texas L *Louisiana Tech L Central State (OK) W *at Arkansas State L *at McNeese State L 1987 (3-8) Coach: Ray Alborn at Rice L at Northern Illinois W at Texas Tech L Stephen F. Austin W at Texas A&M-Kingsville L Louisiana-Monroe W at UTEP L Sam Houston State L at Texas State L Arkansas State L McNeese State L
34-30 39-35 43-14 28-26 43-14 48-28 38-14 34-21 27-19 34-20 44-36
9/3 9/10 9/17 10/1 10/8 10/15 10/22 10/29 11/5 11/12 11/19
1988 (3-8) Coach: Ray Alborn West Texas A&M W Texas State L at Stephen F. Austin L at Arizona State L at Sam Houston State L Alcorn State W at Arkansas State W at Louisiana-Monroe L Mississippi College L at Texas Tech L at McNeese State L
42-21 27-26 26-14 24-13 16-14 35-6 21-17 24-3 16-14 59-28 18-17
9/2 9/9 9/16 9/23 9/30 10/7 10/14 11/4 11/11 11/18
1989 (5-5) Coach: Ray Alborn at Angelo State L at UTEP W at West Texas A&M W Sam Houston State W Stephen F. Austin L Arkansas State L at Alcorn State L at Texas State W at Louisiana-Lafayette L McNeese State W
31-28 21-19 49-17 41-0 44-20 41-31 32-16 20-19 42-33 22-17
9/6 9/20 9/27 10/4 10/11 10/18 10/25 11/1 11/8 11/15 11/22
28-14 24-13 38-25 35-10 22-21 17-3 33-13 39-20 47-23 56-7 38-7
9/4 9/11 9/18 9/25 10/2 10/9 10/16 10/30 11/6 11/13 11/20
2010 (5-6) Coach: Ray Woodard at McNeese State L Webber International W at Southeastern Louisiana W at Stephen F. Austin L Sam Houston State L Langston W South Alabama L at North Dakota L at Georgia State L South Dakota W Okla. Panhandle State W
30-27 21-14 29-28 71-3 38-10 14-0 26-0 31-6 23-17 24-20 44-6
9/3 9/10 9/17 10/1 10/8 10/15 10/22 10/29 11/5 11/12 11/19
2011 (4-7) Coach: Ray Woodard Texas College W at South Alabama L Incarnate Word W *at Southestern LouisianaW *Northwestern State L at Texas State L *Central Arkansas L *at Sam Houston State L *Stephen F. Austin L *at Nicholls W *McNeese State L
58-0 30-8 45-35 48-38 37-17 46-21 38-24 66-0 69-10 34-26 45-17
9/1 9/8 9/15 9/22 9/29 10/6 10/13 10/20 10/27 11/3 11/10 11/17
2012 (4-8) Coach: Ray Woodard at Louisiana-Lafayette L Prairie View A&M W at Hawai`i L Langston W *Southeastern Louisiana L *at Northwestern State L McMurry W *at Central Arkansas L *Sam Houston State L *at Stephen F. Austin L *Nicholls W *at McNeese State L
40-0 31-0 54-2 31-0 31-21 30-23 52-21 24-14 56-7 40-26 34-24 35-0
Media Information
La mar Foo tba l l Media Information Lamar Athletics Media Relations Staff Staff (Area Code 409) 880-7489 Football Press Box 880-2248 Main Athletic Number Media Relations Fax 880-2338 JAMES DIXON Office: 880-8329 Cell: E-mail: james.dixon@lamar.edu PAT MURRAY Office: 880-2323 Cell: 651-0521 E-mail: pat.murray@lamar.edu
James Dixon Assistant AD/ Media Relations
Pat Murray Assistant Media Relations Director
MEDIA CREDENTIALS Press credentials will be granted to media covering Lamar football on a regular basis. Media covering single games should submit requests at least 24 hours in advance to Assistant AD/Media Relations James Dixon by calling (409) 880-8329, by emailing james.dixon@lamar.edu or by fax at (409) 8802338. Media credentials may be picked up in the Lamar Media Relations Office (Room 138 of the Montagne Center) one day before the game or at the Gate 2 ticket window of Provost Umphrey Stadium on the day of the game. Press box seating will be granted on a priority basis, with daily newspapers and originating radio and television networks receiving first consideration. We are unable to accommodate children, spouses or other non-working media. MEDIA PARKING There will be a limited number of media parking spaces available in Lot A-2 (see map on this page), with media members covering Lamar on a regular basis being issued assigned parking spots. Visiting media requiring a parking pass need to contact the Lamar Media Relations Office at (409) 880-8329, with passes being issued the week of the game. GAME DAY SERVICES Game programs, fact sheets, and updated statistics will be available in the press box prior to kickoff. Game statistics will be distributed at the end of every quarter. Final box scores and play-by-plays will be available in the press box following the game. Phone lines will be available for transmitting game stories on a first-come, first-served basis. A media meal and beverages will be provided for working media.
140
Clay Trainum Assistant Media Relations Director
CLAY TRAINUM Office: 880-7845 Cell: 651-5588 E-mail: clay.trainum@lamar.edu
POST-GAME PRESS CONFERENCES The post-game press conference will be held in the team meeting room of the Dauphin Athletic Complex. It will begin following the customary 10-minute cooling off period. The Cardinals’ locker room will be CLOSED to the media. Requested players and coach Ray Woodard will be brought to the media room. The visiting coach will be brought to the media room upon request. COVERING PRACTICE Head coach Ray Woodard will conduct a weekly press conference on Monday afternoons at 2 p.m. from the team meeting room in the Dauphin Athletic Complex. Players will also be brought to the Monday press conference and may be interviewed following Coach Woodard. Media are invited to watch Tuesday practice until 3:45 when it will then become a closed practice. Friday’s 3:30 practice is open, and players may be interviewed prior to or following the short walkthrough. Any other interviews may be scheduled through the Lamar Media Relations Office. Players will not be taken out of practice to interview under any circumstance. GAME-DAY INTERVIEWS Coach Ray Woodard, assisistant coaches and Lamar players will not be available for pre-game interviews. BROADCAST BOOTHS Provost Umphrey Stadium has three broadcast booths with one being designated for Lamar’s flagship station, KLVI 560 AM. Another booth is reserved for the station with broadcast rights of the visiting team and the third will be used for televised games. Any outof-town broadcast station should make arrangements through the Media Relations Department at (409) 880-8329.
MAILING/SHIPPING ADDRESSES Mailing: Lamar University Athletic Department Athletics Media Relations Office P.O. Box 10066 Beaumont, TX 77710 Shipping/Overnight: Lamar University Athletic Department Athletics Media Relations Office Montagne Center Room 138 211 Redbird Lane Beaumont, TX 77710
NEWSPAPERS Beaumont Enterprise: P.O. Box 3071, Beaumont, TX 77704; (409) 838-2806; Mike Tobias, Sports Editor; Avi Zaleon, Football Beat Writer. Port Arthur News: P.O. Box 789, Port Arthur, TX 77640; (409) 984-1218; Bob West, Sports Editor; Tom Halliburton, Football Beat Writer. The Examiner: 795 Willow, Beaumont, TX 77701; (409) 832-1400; Chad Cooper, Sports Editor. Houston Chronicle: 801 Texas Avenue, Houston, TX 77002; (713) 220-7891; Joseph Duarte, Colleges. Associated Press: 4851 LBJ Freeway, Suite 300, Dallas, TX 75244; (800) 442-7189; Jamie Aron, Sports Editor. University Press (campus): P.O. Box 10055, Beaumont, TX 77710; (409) 880-8101 TELEVISION KBTV-TV 4 (FOX): 300 Parkdale Mall, Beaumont, TX 77706; (409) 840-4444; James Ware, Sports Director. KFDM-TV 6 (CBS): 2955 IH-10 East, Beaumont, TX 77702; (409) 895-4673; Mike Friedman, Sports Director; Andrew Chernoff, Weekends. KBMT-TV 12 (ABC): 525 IH-10 South, mont, TX 77701; (409) 838-1212; Dave Sports Director; Ashly Elam, Weekends.
BeauHofferth,
RADIO KLVI (560 AM): P.O. Box 5488, Beaumont, TX 77702; (409) 896-5555; Jim Love, Program Director; Harold Mann, News/Sports Director.
L a m a r Fo otbal l Media Information Ray Woodard Coach’s Show
Mike Friedman
The “Ray Woodard Coach’s Show” will air 12 times begining in September and running through the end of the season on KFDM-TV 6 (CBS). KFDM sports anchor Mike Friedman will serve as host for the 11 p.m. Sunday shows. Coach Woodard will break down the previous week’s game and give a preview of the upcoming opponent. There will also be game highlights and an inside look into the Lamar football program.
KLVI-560 AM Lamar’s Flagship Station
Play-by-Play Announcer Harold Mann interviews Lamar head coach Ray Woodard at the 2010 Southland Conference football media day.
KLVI-560 AM will once again serve as the flagship station of Lamar football with Harold Mann providing the play-by-play and former Lamar linebacker Bo Brown serving as analyst and host of the halftime show. This will be the 18th season of Lamar football broadcasting by KLVI, with the station broadcasting the Cardinals from 1976Bo Brown 89. In addition to broadcasting Lamar football games, KLVI will broadcast a weekly coach’s show with Coach Ray Woodard from Cafe del Rio. The show is scheduled
to air on Mondays at 7 p.m. during the season.
Montagne Center
Gat e1
Provost Umphrey Stadium Press Box
Dauphin Athletic Complex
Media Parking Lot A-2
e2 Gat
MLK Parkway Media Will Call will be Gate 2
141
La mar Foo tba l l Lamar Campus Map
LAMAR UNIVERSITY Physical Plant N f te o stitu y ar In g Lam chnolo Te
2
ca ava E. L
3
.L
4
1
.K in 5
10
7
6
M
9
g
Pk w
14
y
11 12
8
13 15
24
16
17
23
21
19
18
26
25
22
20
27
28 29
35
30
31
32 33
36
39
40
41
34
42
38
37
Alab
46 47
ama 44
r ristophe Rolfe Ch
Univers
45
43
ity
E.
i ni a Virg
ia irgin E. V
rgia 48 Geo
Iowa
49
51 50
55
52
Jim
Way gan Gilli
54 53 56
142
1. Mamie McFaddin Ward 2. Dishman Art Museum 3. Art 4. University Theatre/KVLU 5. Music (Rothwell Recital Hall) 6. Health & Human Performance Complex A&B 7. Hayes Biology 8. Science Auditorium 9. Theater Arts 10. Social & Behavioral Sciences 11. Geology 12. Archer Building 13. Galloway Business 14. Montagne Center 15. Provost Umphrey Stadium and W.S. “Bud� Leonard Field Athletic Complex 16. Chemistry 17. Ty Terrell Track 18. Sheila Umphrey Recreational Sports Center and McDonald Gym 19. Setzer Student Center 20. Carl Parker 21. Setzer Center Bookstore 22. Lucas Engineering 23. Wimberly (Admissions) 24. Visitors Parking 25. Plummer (Administration) 26. Communication Building 27. Post Office/Police 28. Family & Consumer Sciences 29. Mary & John Gray Library 30. Engineering Research Center 31. Cherry Engineering 32. Newman Catholic Center 33. Church of Christ Student Center 34. Honors Program 35. Latter Day Saints Student Center 36. Health Center 37. Monroe Hall (Cardinal Village III) 38. Wesley Foundation Methodist Center 39. Baptist Student Center 40. Dining Hall 41. Texas Success Initiative/Developmental Studies (former ROTC Bldg.) 42. Maes 43. Gentry Hall (Cardinal Village I) 44. Morris Hall (Cardinal Village II) 45. Education 46. Hydraulics Lab 47. Speech and Hearing 48. Combs Hall (Cardinal Village V) 49. Campbell Hall (Cardinal Village IV) 50 . John Gray Center University Advancement 51. Brooks-Shivers Hall 52. Golf Driving Range 53. Vincent-Beck Stadium 54. Early Childhood Development Ctr. 55. Human Resources 56. Soccer Complex
2 0 1 3 S ch e d u l e Date Aug. 31 Sept. 7 Sept. 14 Sept. 21 Sept. 28 Oct. 12 Oct. 19 Oct. 26 Nov. 2 Nov. 9 Nov. 16 Nov. 23
Opponent Oklahoma Panhandle State at Louisiana Tech at Oklahoma State (FSN) Bacone College at Grambling State at Sam Houston State* Central Arkansas*$ (CSN Houston) at Southeastern La.* (ESPN3) Nicholls* at Northwestern State* (SLCTV) Stephen F. Austin* McNeese State*
* - Southland Conference Game $ - Homecoming All Times Central and Subject to Change
Location Beaumont, Texas Ruston, La. Stillwater, Okla. Beaumont, Texas Grambling, La. Huntsville, Texas Beaumont, Texas Hammond, La. Beaumont, Texas Natchitoches, La. Beaumont, Texas Beaumont, Texas
Time 7 p.m. 6 p.m. 6:30 p.m. 7 p.m. 6 p.m. 2 p.m. 6 p.m. 7 p.m. 6 p.m. 3 p.m. 6 p.m. 6 p.m.
|
https://issuu.com/lamarcards/docs/2013_football_media_guide_layout_1
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
I'm trying to comppile python 2.5 as a static library using VS2005 SP1. I realized you only have Debug, PG and Release configurations. Of course, like you provide the sources, I could modify it manually... but I think will be much better to provide the Debug_Static and Release_Static configurations for noob user like me :P Also, you are using this code in the pyconfig.h: /* For an MSVC DLL, we can nominate the .lib files used by extensions */ #ifdef MS_COREDLL # ifndef Py_BUILD_CORE /* not building the core - must be an ext */ # if defined(_MSC_VER) /* So MSVC users need not specify the .lib file in their Makefile (other compilers are generally taken care of by distutils.) */ # ifdef _DEBUG # pragma comment(lib,"python25_d.lib") # else # pragma comment(lib,"python25.lib") # endif /* _DEBUG */ # endif /* _MSC_VER */ # endif /* Py_BUILD_CORE */ #endif /* MS_COREDLL */ This does not allow the user to rename the output library ( for example, to pytoncore_static_debug.lib ). It would be very desireable to allow the user to change the python library output name... and use these names as defaults: python25_md.lib -> python 2.5, multithread debug C CRT python25_mdd.libl -> python 2.5, multithread debug DLL C CRT python25_static_debug.lib -> python 2.5, multithread debug static library C CRT python25_static.lib -> python 2.5, multithread static library C CRT On the other hand, I see the python 3.0rc1 solution has been saved using VS2008. I think that's bad, because VS2005 users won't be able to open the solution. Ideally, you should provide a python solution for each Visual Studio: PCBuild_VC6 PCBuild_VC2002 PCBuild_VC2003 PCBuild_VC2005 PCBuild_VC2008 or provide just the VC6 solution that can be easily converted by all the modern Visual Studio versions. thanks.
|
https://mail.python.org/pipermail/python-ideas/2008-October/002220.html
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
So the solution to this is to posit that outside the universe there dwells a pure realm of math, where the real squares and triangles et cetera exist, and to say that our own world is just a shadowy reflection of that pure greatness.
And this philosophy has all kinds of consequences, some of them markedly non-beneficial, but that's another subject. The reason I bring all that up is that's Java.
Anybody who comes to Ruby from Java will sooner or later encounter confusion about the assigning of instance variables to classes. You would think those instance variables would then become available to instances of the class, as class variables; in fact, from the point of view of an instance of a given class, an instance variable assigned to a class just disappears into a cloud of mystery.
The solution is that an instance variable assigned to a class isn't actually assigned to a class at all; it's assigned to a Class. Ruby's object model is very closely based on Smalltalk's, where classes themselves are objects in the system, available for real-time modification by the programmer. This means that if you assign an instance variable to a class, it's available to methods within the class itself, but of course not to instances of the class, because in Ruby, a class isn't an abstract Platonic definition that sits outside the world itself. It's right there in the world with everything else, and an instance of it is just something which implements the definition it provides.
See the thread on the ruby-talk mailing list about instance variables and ActiveRecord::Base for a more detailed discussion (and a nice examination of the Rails source code).
You could say this about almost any early-bound language. C++, C#, VB.Net, etc. are the same way.
Smalltalk was the first OOP language I programmed in years ago (briefly). We used class and instance variables. I remember asking a C++ programmer the question, "What's the equivalent of a class variable in C++?" The answer is a static variable with class scope. The same goes for class methods (as opposed to instance methods). The thing that's a bit weird is in Smalltalk a class variable's value exists for eternity, for as long as the class exists in the image, or until somebody changes it. That's a foreign concept to most programmers, because to them programs have a lifetime. You run them. They run for a while (or indefinitely if they're designed that way), and then they stop. All variable values are gone.
Another difference, from my experience, is that class methods have a sense of "self" (ie. a "this"), whereas static methods in C++, Java, etc. do not. In C++, for example, you can't take a "this" and cast to a base class's version of the "overloaded" method you're in (a method of the same name as the base class's method), when in a static method. You have to use scoping syntax. I haven't tried it, but it looks to me like in Smalltalk you could do this (no casting, but using the "super" keyword).
Yeah, it's actually intrinsic to early binding.
I don't know exactly what you mean. The big frustration in my life right now is that my Seaside/Smalltalk learning got waylaid by other stuff going on in my life. I don't think there's such a thing as a static method in Smalltalk, in the Java sense, is there?
Smalltalk doesn't have static methods. Static methods are weird, they don't belong to anything, they are really just scoped free floating functions.
Smalltalk is simple. Everything is an object. The term "object" means an instance of a class. All objects have instance methods, and instance variables. All objects have a superclass, and can refer to them via the keyword #self. All classes are a running instance of some other class somewhere in the system. Since classes are also themselves objects, then it follows that they can have instance variables and methods.
Classes also have what are called class variables, this is like what'd you think of as static, ie both the class and its instances can see these. These are mainly used to declare constants I think.
When you declare a class...
Object subclass #Customer
another class is created for you automatically that parallels that using your classes name plus the word class.
#'Customer class'
Your #Customer class is actually the sole instance of that hidden meta class #'Customer class'.
#Customer superclass is #Object, #'Customer class' superclass is #'Object class'. These are called meta classes. The meta class is a subclass of the meta class of the class you were subclassing.
So when you edit the class side, you're actually editing the hidden meta class definition that defines your class, which is its sole instance.
Therefore, class methods are actually just ordinary methods, unlike static methods. Class methods have access to #self, which refers to the class itself, and class methods are inheritable and overridable, unlike static methods. Since constructors are just class methods, this means you can inherit and override and extend constructors, without being forced to redeclare them in all subclasses like you would in Java or C#.
Since classes are just ordinary objects, you can put them into variables and pass them around, and call methods on them, like any ordinary object.
Consider an array of classes...
class := {Customer. DateTime. String} atRandom.
instance := class new.
The variable instance could have one of three possible instances in it. #new is not a static method, or a freaky special nameless method like in Java and C#, it's just an ordinary instance method that all three of those classes inherit from some superclass they have in common.
I haven't tried it, but it looks to me like in Smalltalk you could do this (no casting, but using the "super" keyword).
Correction: Actually, I have done this. I didn't realize it (probably because it's so easy), but it's difficult to get too much done without doing this.
You see a lot of this in Smalltalk class methods:
SomeClass>>createInstance
^super new initialize.
which passes a "new" message to the base class, and sends an initialization message to the resulting object instance.
@Giles:
Re: static methods
As Ramon said there's no such thing as static methods in Smalltalk. I was just talking about what's analogous to a class method in Smalltalk, in C++, Java, C#, etc., which is a static method. For example, if you have, as a class method:
SomeClass>>getInstance
^super new
you can call it like (say, from within a Workspace):
instance := SomeClass getInstance
Like you were saying with Ruby class variables, I didn't have to say "SomeClass new" beforehand. The class object just exists, and I can call a method on it at any time.
This is roughly equivalent to, in C++:
SomeClass.h:
class SomeClass {
static SomeClass *GetInstance();
};
SomeClass.cpp:
#include "SomeClass.h"
static SomeClass *SomeClass::GetInstance()
{
return new SomeClass;
}
and is called like:
void main(void)
{
SomeClass *ptr = SomeClass::GetInstance();
}
Obviously with such a simple example, I could've just had a constructor instead, but this is how class factories and singletons (from patterns) are often done in C++, Java, C#, etc.
The reason it's roughly analogous is that static methods are available all the time (while the program is running). You don't need an object instance to call them. As I and Ramon said, the idioms are inconsistent in languages like C++, et al. For static methods you have to use scoping syntax, as I illustrate above, to call them. For instance methods, you call "ptr->SomeMethod()". Instance methods have an implicit "this" pointer/reference, so you can refer to variables and methods inside the object, like "someVariable" and "someMethod()" without saying "this->someVariable" and "this->someMethod()" all the time ("this" is analogous to "self" in Smalltalk).
Static methods don't have an implicit "this" pointer, so you have no access within the method to any of the objects that belong to the same class it belongs to. It only has access to static member variables, or global variables. This is rather like Smalltalk class objects as well. They only have access to their own class variables, and class variables/methods of other classes. They have no access to instance variables/methods, unless an object instance is given to them.
Classes in C++, et al. exist only as "object templates" within the compiler's symbol table. When they're instantiated into objects, it's like they're "stamped" into the executable image, as well as the memory, using the "template". There's no access to the classes themselves in C++.
Within Java and .Net it is possible to get access to some metadata for classes. It's even possible to dynamically construct classes, and generate object instances from them, but it's pretty complicated. It's not nearly as easy as it is in Smalltalk, and I assume, Ruby.
@mark -- you should learn Ruby, it's a great language. if you've used Smalltalk you can pick up Ruby in no time, too, it's almost just a Unix dialect of Smalltalk.
Re: You should learn Ruby
I took a look at it briefly last summer. It came highly recommended from an old friend of mine. He had been working with Ruby for about 3 years (not Rails, though). He swore by it. I found a couple of Ruby demos/tutorials which were impressive. The syntax reminded me a bit of Smalltalk. I had heard from this same friend that the modern Smalltalk was called "Squeak" and was open source. So after puttering with Ruby for a bit I took a look at Squeak and was blown away by some of the things it could do. I've been just kind of stuck here ever since (pleasantly :) ), but the idea of returning to Ruby for the purposes of actually making some money (the first duty of a programmer is to eat) has crossed my mind. We'll see.
|
http://gilesbowkett.blogspot.com/2007/03/java-is-platos-republic.html?showComment=1175158020000
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
Thank you very much for this, because I didn't know anything about that. I'll try to put in practise, althoug if you could send me a completed example to know how is working would be great. Thanks again. Jp Calderone wrote: > On Mon, 03 Oct 2005 16:13:22 +0100, Alberto Trujillo > <alberto.trujillo at ucd.ie> wrote: > >> Hi: >> I'm trying to understand how works LivePage, but everything is very >> confuse and I'm listening that a lot of changes are happening in >> LivePage. >> Could anybody give me a little idea, tutorial, o explanation about >> LivePage, and how can I use LivePage in the templates, I mean with >> out using Stan. >> >> Thanks in advance. >> > > There's pretty much just one requirement. You need to invoke the > "liveglue" renderer: > > <html namespace junk> > <head><nevow:invisible nevow:</head> > ... > </html> > > Sprinkle with Javascript to taste. The current client-side API is > "server.handle('name', ...)" (no return value). The API under > development will most likely turn out as "server.callRemote('name', > ...')" with a Deferred as the return value. > > Jp > > _______________________________________________ > Twisted-web mailing list > Twisted-web at twistedmatrix.com >
|
http://twistedmatrix.com/pipermail/twisted-web/2005-October/001957.html
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
iPcWasdMove Struct Reference
This is a property class for wasd movement. More...
#include <propclass/wasdmove.h>
Inheritance diagram for iPcWasdMove:
Detailed Description
This is a property class for wasd movement.
This property class supports the following properties:
Definition at line 31 of file wasdmove.h.
The documentation for this struct was generated from the following file:
- propclass/wasdmove.h
Generated for CEL: Crystal Entity Layer 2.1 by doxygen 1.6.1
|
http://crystalspace3d.org/cel/docs/online/api/structiPcWasdMove.html
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
/* * Copyright (C) SystemTime_h #define SystemTime_h namespace WebCore { // Return the current system time in seconds, using the classic POSIX epoch of January 1, 1970. // Like time(0) from <time.h>, except with a wider range of values and higher precision. double currentTime(); // Return the number of seconds since a user event has been generated float userIdleTime(); } #endif
|
http://opensource.apple.com//source/WebCore/WebCore-5525.28.4/platform/SystemTime.h
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
= `/bin/date`;
You can open up a pipe to a program:
open (SORT, " | /usr/bin/sort | /usr/bin/uniq");You can invoke an external program and wait for it to return with system():
system "/usr/bin/sort < foo.in";or you can invoke an external program and never return with exec():
exec "/usr/bin/sort < foo.in";All of these constructions can be risky if they involve user input that may contain shell metacharacters. For system() and exec(), there's a somewhat obscure syntactical feature that allows you to call external programs directly rather than going through a shell. If you pass the arguments to the external program, not in one long string, but as separate members in a list, then Perl will not go through the shell and shell metacharacters will have no unwanted side effects. For example:
system "/usr/bin/sort","foo.in";You can take advantage of this feature to open up a pipe without going through a shell. By calling open on the magic character sequence
|-, you fork a copy of Perl and open a pipe to the copy. The child copy can then exec another program using the argument list variant of exec().
my $result = open (SORT,"|-"); die "Couldn't open pipe to subprocess" unless defined($result); exec "/usr/bin/sort",$uservariable or die "Couldn't exec sort" if $result == 0; for my $line (@lines) { print SORT $line,"\n"; } close SORT;The initial call to open() tries to fork a copy of Perl. If the call fails it returns an undefined value and the script immediately dies (you might want to do something more sophisticated, such as sending an HTML error message to the user). Otherwise, the result will return zero to the child process, and the child's process ID to the parent. The child process checks the result value, and immediately attempts to exec the sort program. If something fails at this point, the child quits.
The parent process can then print to the SORT filehandle in the normal way.
To read from a pipe without opening up a shell, you can do something
similar with the sequence
-|:
$result = open(GREP,"-|"); die "Couldn't open pipe to subprocess" unless defined($result); exec "/usr/bin/grep",'-i',$userpattern,$filename or die "Couldn't exec grep" if $result == 0; while (<GREP>) { print "match: $_"; } close GREP;These are the forms of open() you should use whenever you would otherwise perform a piped open to a command.
An even more obscure feature allows you to call an external program and lie to it about its name. This is useful for calling programs that behave differently depending on the name by which they were invoked.
The syntax is
system $real_name "fake_name","argument1","argument2"For example:
$shell = "/bin/sh"This invokes the shell using the name "-sh", forcing it to behave interactively. Note that the real name of the program must be stored in a variable, and that there's no comma between the variable holding the real name and the start of the argument list.
system $shell "-sh","-norc"
There's also a more compact syntax for this construction:
system { "/bin/sh" } "-sh","-norc"
You turn on taint checks in version 4 of Perl by using a special version of the interpreter named "taintperl":
#!/usr/local/bin/taintperlIn version 5 of perl, pass the -T flag to the interpreter:
#!/usr/local/bin/perl -TSee below for how to "untaint" a variable.
See Gunther Birznieks' CGI/Perl Taint Mode FAQ for a full discussion of taint mode.
$ENV{'PATH'} = '/bin:/usr/bin:/usr/local/bin';Adjust this as necessary for the list of directories you want searched. It's not a good idea to include the current directory (".") in the path.
$mail_address=~/(\S+)\@([\w.-]+)/ or die "invalid address"; $untainted_address = "$1\@$2";This pattern match accepts e-mail addresses of the form "who@where" where "where" looks like a domain name, and "who" consists of one or more non-whitespace characters. Note that this regular expression will not remove shell meta-characters from the e-mail address. This is because it is perfectly valid for e-mail addresses to contain such characters, as in:
fred&barney@bedrock.comJust because you have untainted a variable doesn't mean that it is now safe to pass it to a shell. E-mail addresses are the perfect examples of this. The taint checks are there in order to force you to recognize when a variable is potentially dangerous. Use the techniques described in Q44 to avoid passing dangerous variables to the shell.
$foo=~/$user_variable/is unsafe?
foreach (@files) {Now, however, Perl will ignore any changes you make to the user variable, making this sort of loop fail:
m/$user_pattern/o;
}
foreach $user_pattern (@user_patterns) { foreach (@files) { print if m/$user_pattern/o; } }To get around this problem Perl programmers often use this sort of trick:
foreach $user_pattern (@user_patterns) { eval "foreach (\@files) { print if m/$user_pattern/o; }"; }The problem here is that the eval() statement involves a user-supplied variable. Unless this variable is checked carefully, the eval() statement can be tricked into executing arbitrary Perl code. (For example of what can happen, consider what the eval statement does if the user passes in this pattern:
"/; system 'rm *'; /"
The taint checks described above will catch this potential problem. Your alternatives include using the unoptimized form of the pattern matching operation, or carefully untainting user-supplied patterns. In Perl5, a useful trick is to use the escape sequence \Q \E to quote metacharacters so that they won't be interpreted:
print if m/\Q$user_pattern\E/o;
You can make a script run with the privileges of its owner by setting its "s" bit:
chmod u+s foo.plYou can make it run with the privileges of its owner's group by setting the s bit in the group field:
chmod g+s foo.plHowever, many Unix systems contain a hole that allows suid scripts to be subverted. This hole affects only scripts, not compiled programs. On such systems, an attempt to execute a Perl script with the suid bits set will result in a nasty error message from Perl itself.
You have two options on such systems:
#include <unistd.h> void main () { execl("/usr/local/bin/perl","foo.pl","/local/web/cgi-bin/foo.pl",NULL); }After compiling this program, make it suid. It will run under its owner's permission, launching a Perl interpreter and executing the statements in the file "foo.pl".
Another option is to run the server itself as a user that has sufficient privileges to do whatever the scripts need to do. If you're using the $
|
https://www.w3.org/Security/Faq/wwwsf4.html
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
import java.lang.annotation.ElementType; 22 import java.lang.annotation.Retention; 23 import java.lang.annotation.RetentionPolicy; 24 import java.lang.annotation.Target; 25 26 /** 27 * An annotation that can be attached to a class in order to set the orchestra 28 * conversation-name that this bean lives in. 29 * <p> 30 * When a bean declaration (in whatever dependency-injection framework is being 31 * used) specifies that this object is in a conversation scope, and no specific 32 * conversation name is defined, then the class being instantiated is checked 33 * for this annotation. 34 * <p> 35 * This is the annotation equivalent of the spring configuration attribute 36 * <code>orchestra:conversationName</code>. 37 * <p> 38 * Note that this annotation does not support setting of the bean scope at 39 * the same time, as that is something that the dependency framework being 40 * used should provide its own annotations for. 41 */ 42 @Target(value = {ElementType.TYPE}) 43 @Retention(value = RetentionPolicy.RUNTIME) 44 public @interface ConversationName 45 { 46 String value() default ""; 47 }
|
http://myfaces.apache.org/orchestra/myfaces-orchestra-core/xref/org/apache/myfaces/orchestra/conversation/annotations/ConversationName.html
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
Opened 8 years ago
Closed 8 years ago
#10009 closed (fixed)
Wrong variable name in example (page "Working with forms")
Description
In the "Working with forms" () page the third example from the bottom has a wrong variable in one place. The relevant code in the example is:
{% if forloop.first %} {% for hidden in form.hidden_fields %} {{ field }} {% endfor %} {% endif %}
Instead of {{ field }} it should read {{ hidden }} (unless I am much mistaken).
Thanks for all your hard work!
Change History (2)
comment:1 Changed 8 years ago by SmileyChris
-.
Yep, either this fix, or I'd be more inclined to change the first line to {% for field in form.hidden_fields %}
I'll let the committer decide
|
https://code.djangoproject.com/ticket/10009
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
#include <sys/varargs.h> void va_start(va_list pvar, name);
(type *) va_arg(va_list pvar, type);
void va_copy(va_list dest, va_list src);
void va_end(va_list pvar);
Solaris DDI specific (Solaris DDI).
Pointer to variable argument list.
Identifier of rightmost parameter in the function definition.
Pointer to variable argument list.
Type name of the next argument to be returned.
Destination variable argument list.
Source variable argument list.
Pointer to variable argument list.
This set of macros allows portable procedures that accept variable argument lists to be written. Routines that have variable argument lists but do not use the varargs macros are inherently non-portable, as different machines use different argument-passing conventions. Routines that accept a variable argument list can use these macros to traverse the list.
va_list is the type defined for the variable used to traverse the list of arguments.
va_start() is called to initialize pvar to the beginning of the variable argument list. va_start() must be invoked before any access to the unnamed arguments..
va_arg() expands to an expression that has the type and value of the next argument in the call. The parameter pvar must be initialized by va_start(). Each invocation of va_arg() modifies pvar so that the values of successive arguments are returned in turn. The parameter type is the type name of the next argument to be returned. The type name must be specified in such a way that the type of pointer to an object that has the specified type can be obtained by postfixing a * to type. If there is no actual next argument, or iftype() It then must be passed to va_end() before being reused as a parameter to va_start() or as the dest parameter of a subsequent call to va_copy(). The behavior is undefined if any of these restrictions are not met.
The va_end() macro is used to clean up. It invalidates pvar for use (unless va_start() is invoked again).
Multiple traversals, each bracketed by a call to va_start() and va_end(), are possible.
The following example uses these routines to create a variable length command. This might be useful for a device that provides for a variable-length command set. ncmdbytes is the number of bytes in the command. The new command is written to cmdp.
static void xx_write_cmd(uchar_t *cmdp, int ncmdbytes, ...) { va_list ap; int i; /* * Write variable-length command to destination */ va_start(ap, ncmdbytes); for (i = 0; i < ncmdbytes; i++) { *cmdp++ = va_arg(ap, uchar_t); } va_end(ap); }
vcmn_err(9F), vsprintf(9F)
It is up to the calling routine to specify in some manner how many arguments there are, since it is not always possible to determine the number of arguments from the stack frame.
Specifying a second argument of char or short to va_arg makes your code non-portable, because arguments seen by the called function are not char or short. C converts char and short arguments to int before passing them to a function.
|
http://docs.oracle.com/cd/E36784_01/html/E36886/va-end-9f.html
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
Docker is a lightweight virtualization technology for Linux that promises to revolutionize the deployment and management of distributed applications. Rather than requiring a complete operating system, like a traditional virtual machine, Docker is built on top of Linux containers, a feature of the Linux kernel, that allows light-weight Docker containers to share a common kernel while isolating applications and their dependencies.
There’s a very good Docker SlideShare presentation here that explains the philosophy behind Docker using the analogy of standardized shipping containers. Interesting that the standard shipping container has done more to create our global economy than all the free-trade treaties and international agreements put together.
A Docker image is built from a script, called a ‘Dockerfile’. Each Dockerfile starts by declaring a parent image. This is very cool, because it means that you can build up your infrastructure from a layer of images, starting with general, platform images and then layering successively more application specific images on top. I’m going to demonstrate this by first building an image that provides a Mono development environment, and then creating a simple ‘Hello World’ console application image that runs on top of it.
Because the Dockerfiles are simple text files, you can keep them under source control and version your environment and dependencies alongside the actual source code of your software. This is a game changer for the deployment and management of distributed systems. Imagine developing an upgrade to your software that includes new versions of its dependencies, including pieces that we’ve traditionally considered the realm of the environment, and not something that you would normally put in your source repository, like the Mono version that the software runs on for example. You can script all these changes in your Dockerfile, test the new container on your local machine, then simply move the image to test and then production. The possibilities for vastly simplified deployment workflows are obvious.
Docker brings concerns that were previously the responsibility of an organization’s operations department and makes them a first class part of the software development lifecycle. Now your infrastructure can be maintained as source code, built as part of your CI cycle and continuously deployed, just like the software that runs inside it.
Docker also provides docker index, an online repository of docker images. Anyone can create an image and add it to the index and there are already images for almost any piece of infrastructure you can imagine. Say you want to use RabbitMQ, all you have to do is grab a handy RabbitMQ images such as and run it like this:
docker run -d -p 5672:5672 -p 55672:55672 tutum/rabbitmq
The –p flag maps ports between the image and the host.
Let’s look at an example. I’m going to show you how to create a docker image for the Mono development environment and have it built and hosted on the docker index. Then I’m going to build a local docker image for a simple ‘hello world’ console application that I can run on my Ubuntu box.
First we need to create a Docker file for our Mono environment. I’m going to use the Mono debian packages from directhex. These are maintained by the official Debian/Ubuntu Mono team and are the recommended way of installing the latest Mono versions on Ubuntu.
Here’s the Dockerfile:
#DOCKER-VERSION 0.9.1
#
#VERSION 0.1
#
# monoxide mono-devel package on Ubuntu 13.10
FROM ubuntu:13.10
MAINTAINER Mike Hadlow <mike@suteki.co.uk>
RUN sudo DEBIAN_FRONTEND=noninteractive apt-get install -y -q software-properties-common
RUN sudo add-apt-repository ppa:directhex/monoxide -y
RUN sudo apt-get update
RUN sudo DEBIAN_FRONTEND=noninteractive apt-get install -y -q mono-devel
Notice the first line (after the comments) that reads, ‘FROM ubuntu:13.10’. This specifies the parent image for this Dockerfile. This is the official docker Ubuntu image from the index. When I build this Dockerfile, that image will be automatically downloaded and used as the starting point for my image.
But I don’t want to build this image locally. Docker provide a build server linked to the docker index. All you have to do is create a public GitHub repository containing your dockerfile, then link the repository to your profile on docker index. You can read the documentation for the details.
The GitHub repository for my Mono image is at. Notice how the Docker file is in the root of the repository. That’s the default location, but you can have multiple files in sub-directories if you want to support many images from a single repository.
Now any time I push a change of my Dockerfile to GitHub, the docker build system will automatically build the image and update the docker index. You can see image listed here:
I can now grab my image and run it interactively like this:
$ sudo docker pull mikehadlow/ubuntu-monoxide-mono-devel
Pulling repository mikehadlow/ubuntu-monoxide-mono-devel
f259e029fcdd: Download complete
511136ea3c5a: Download complete
1c7f181e78b9: Download complete
9f676bd305a4: Download complete
ce647670fde1: Download complete
d6c54574173f: Download complete
6bcad8583de3: Download complete
e82d34a742ff: Download complete
$ sudo docker run -i mikehadlow/ubuntu-monoxide-mono-devel /bin/bash
mono --version
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-1~pre1)
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
exit
Next let’s create a new local Dockerfile that compiles a simple ‘hello world’ program, and then runs it when we run the image. You can follow along with these steps. All you need is a Ubuntu machine with Docker installed.
First here’s our ‘hello world’, save this code in a file named hello.cs:
using System;
namespace Mike.MonoTest
{
public class Program
{
public static void Main()
{
Console.WriteLine("Hello World");
}
}
}
Next we’ll create our Dockerfile. Copy this code into a file called ‘Dockerfile’:
#DOCKER-VERSION 0.9.1
FROM mikehadlow/ubuntu-monoxide-mono-devel
ADD . /src
RUN mcs /src/hello.cs
CMD ["mono", "/src/hello.exe"]
Once again, notice the ‘FROM’ line. This time we’re telling Docker to start with our mono image. The next line ‘ADD . /src’, tells Docker to copy the contents of the current directory (the one containing our Dockerfile) into a root directory named ‘src’ in the container. Now our hello.cs file is at /src/hello.cs in the container, so we can compile it with the mono C# compiler, mcs, which is the line ‘RUN mcs /src/hello.cs’. Now we will have the executable, hello.exe, in the src directory. The line ‘CMD [“mono”, “/src/hello.exe”]’ tells Docker what we want to happen when the container is run: just execute our hello.exe program.
As an aside, this exercise highlights some questions around what best practice should be with Docker. We could have done this in several different ways. Should we build our software independently of the Docker build in some CI environment, or does it make sense to do it this way, with the Docker build as a step in our CI process? Do we want to rebuild our container for every commit to our software, or do we want the running container to pull the latest from our build output? Initially I’m quite attracted to the idea of building the image as part of the CI but I expect that we’ll have to wait a while for best practice to evolve.
Anyway, for now let’s manually build our image:
$ sudo docker build -t hello .
Uploading context 1.684 MB
Uploading context
Step 0 : FROM mikehadlow/ubuntu-monoxide-mono-devel
---> f259e029fcdd
Step 1 : ADD . /src
---> 6075dee41003
Step 2 : RUN mcs /src/hello.cs
---> Running in 60a3582ab6a3
---> 0e102c1e4f26
Step 3 : CMD ["mono", "/src/hello.exe"]
---> Running in 3f75e540219a
---> 1150949428b2
Successfully built 1150949428b2
Removing intermediate container 88d2d28f12ab
Removing intermediate container 60a3582ab6a3
Removing intermediate container 3f75e540219a
You can see Docker executing each build step in turn and storing the intermediate result until the final image is created. Because we used the tag (-t) option and named our image ‘hello’, we can see it when we list all the docker images:
$ sudo docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
hello latest 1150949428b2 10 seconds ago 396.4 MB
mikehadlow/ubuntu-monoxide-mono-devel latest f259e029fcdd 24 hours ago 394.7 MB
ubuntu 13.10 9f676bd305a4 8 weeks ago 178 MB
ubuntu saucy 9f676bd305a4 8 weeks ago 178 MB
...
Now let’s run our image. The first time we do this Docker will create a container and run it. Each subsequent run will reuse that container:
$ sudo docker run hello
Hello World
And that’s it.
Imagine that instead of our little hello.exe, this image contained our web application, or maybe a service in some distributed software. In order to deploy it, we’d simply ask Docker to run it on any server we like; development, test, production, or on many servers in a web farm. This is an incredibly powerful way of doing consistent repeatable deployments.
To reiterate, I think Docker is a game changer for large server side software. It’s one of the most exciting developments to have emerged this year and definitely worth your time to check out.
2 comments:
Two ways you can approach new builds and VM instances.
1. Build an image for mono (sans C# build and docker RUN statement), then build an image for running the build / running (with the option of building separate images for building and running applications)
2. Use the -v and -volumes-from options executing a "docker run" command
These two options seem to becoming common in certain NodeJS applications I've been going through.
that seems amazing, kind of like a layer below chef, puppet and vagrant? So could you run an mvc4 app if you could get it to run under mono?
|
http://mikehadlow.blogspot.com/2014/04/a-docker-hello-world-with-mono.html
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
/* Timing variables for measuring compiler performance. Copyright (C) 2000, 2003, 2004, 2005 Free Software Foundation, Inc. Contributed by Alex Samuel <sam_TIMEVAR_H #define GCC_TIMEVAR_H /* Timing variables are used to measure elapsed time in various portions of the compiler. Each measures elapsed user, system, and wall-clock time, as appropriate to and supported by the host system. Timing variables are defined using the DEFTIMEVAR macro in timevar.def. Each has an enumeral identifier, used when referring to the timing variable in code, and a character string name. Timing variables can be used in two ways: - On the timing stack, using timevar_push and timevar_pop. Timing variables may be pushed onto the stack; elapsed time is attributed to the topmost timing variable on the stack. When another variable is pushed on, the previous topmost variable is `paused' until the pushed variable is popped back off. - As a standalone timer, using timevar_start and timevar_stop. All time elapsed between the two calls is attributed to the variable. */ /* This structure stores the various varieties of time that can be measured. Times are stored in seconds. The time may be an absolute time or a time difference; in the former case, the time base is undefined, except that the difference between two times produces a valid time difference. */ struct timevar_time_def { /* User time in this process. */ double user; /* System time (if applicable for this host platform) in this process. */ double sys; /* Wall clock time. */ double wall; /* Garbage collector memory. */ unsigned ggc_mem; }; /* An enumeration of timing variable identifiers. Constructed from the contents of timevar.def. */ #define DEFTIMEVAR(identifier__, name__) \ identifier__, typedef enum { #include "timevar.def" TIMEVAR_LAST } timevar_id_t; #undef DEFTIMEVAR /* Execute the sequence: timevar_pop (TV), return (E); */ #define POP_TIMEVAR_AND_RETURN(TV, E) do { timevar_pop (TV); return (E); }while(0) #define timevar_pop(TV) do { if (timevar_enable) timevar_pop_1 (TV); }while(0) #define timevar_push(TV) do { if (timevar_enable) timevar_push_1 (TV); }while(0) extern void timevar_init (void); extern void timevar_push_1 (timevar_id_t); extern void timevar_pop_1 (timevar_id_t); extern void timevar_start (timevar_id_t); extern void timevar_stop (timevar_id_t); extern void timevar_print (FILE *); /* Provided for backward compatibility. */ extern void print_time (const char *, long); extern bool timevar_enable; extern size_t timevar_ggc_mem_total; #endif /* ! GCC_TIMEVAR_H */
|
http://opensource.apple.com/source/libstdcxx/libstdcxx-39/libstdcxx/gcc/timevar.h
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
Introduction
Enhanced Exception Handling is one of key features that is most prominently available in .Net both 2003 version and Whidbey versions of C#.
This paper discusses the implementation of Custom Exception Handling using the existing features of C# .Net.
The Concept
The whole idea of having customized Exception Handling is centered around the fact that there needs to be a generic approach of catching and throwing Exceptions.
For implementing custom Exception Handling we need to derive the class CustomException from the system base class ApplicationException. In general, for customizing Exception Handling the following components are necessary:
Implementation
The following are the steps that are required to implement custom exception for creation of the above mentioned components:
Step 1:
Define a project called Enumerators that would contain the definitions of all the Enumerators as the following:
using System;namespace CustomException{/// <summary>/// Severity level of Exception/// </summary>public enum SeverityLevel {Fatal,Critical,Information}/// <summary>/// Log level of Exception/// </summary>public enum LogLevel {Debug,Event}}
Step 2:
Add another project named CustomException. Add a reference of the Enumerators project. To the project add the following class deriving from ApplicationException:
using System;namespace CustomException{/// <summary>/// Summary description for CustomException/// </summary>public class CustomException : ApplicationException{// private members // defines the severity level of the Exceptionprivate SeverityLevel severityLevelOfException ;// defines the logLevel of the Exceptionprivate LogLevel logLevelOfException ;// System Exception that is thrown private Exception innerException ;// Custom Message private string customMessage ;/// <summary>/// Public accessor of customMessage/// </summary>public string CustomMessage{get {return this.customMessage; }set {this.customMessage = value; }}/// <summary>/// Standard default Constructor/// </summary>public CustomException( ){ }/// <summary>/// Constructor with parameters /// </summary>/// <param name="severityLevel"></param>/// <param name="logLevel"></param>/// <param name="exception"></param>/// <param name="customMessage"></param> public CustomException( SeverityLevel severityLevel , LogLevel logLevel, Exception exception, string customMessage){this.severityLevelOfException = severityLevel ; this.logLevelOfException = logLevel ; this.innerException = exception ;this.customMessage = customMessage ;}}}
One advantage of creating a custom Exception class is that the Constructor can be enabled to writing to a Log on instantiation of the CustomException Object using TraceListeners. The entry to the log would be based on the logLevel. This would force - write an entry each time the custom Exception is thrown.
Thus we have a customException which could be thrown in the catch - handlers of system - defined exceptions.
Step 3:
For implementing the CustomMessage component , create an Exception.resx File that would host the error string and the corresponding message string as key-value pair.
Ex. "Test", "Testing Error"
Step 4:
Add to project a CustomMessage.cs class File. This File would look in the following way:
using System.Threading;using System.Resources;using System.Reflection;namespace CustomException{/// <summary>/// Summary description for CustomMessage./// </summary>public class CustomMessage{public CustomMessage(){}public string GetString(string key) {// Create a resource manager to retrieve resources.ResourceManager rm = new ResourceManager("Exceptions", Assembly.GetExecutingAssembly());// Get the culture of the currently executing thread.// The value of ci will determine the culture of// the resources that the resource manager retrieves.CultureInfo ci = Thread.CurrentThread.CurrentCulture;// Retrieve the value of the string resource and return it String str = rm.GetString(key, ci);return str ; }}}
The GetString() of the CustomMessage class is used to retrieve the value string corresponding to the key passed as parameter from the Exceptions resource File.
Usage
a) Add to existing Solution a Test Windows Applications Project.
b) Add the References to both the CustomException and the Enumerators projects.
c) Write a function which would throw a system exception , encapsulated in a try-catch block as follows :
private void Updater(){try {int i = 0; int j = 8 ;int k= j/i;}catch(Exception ex){ SeverityLevel severityLevel = SeverityLevel.Critical;LogLevel logLevel = LogLevel.Debug; CustomMessage customMessage = new CustomMessage();throw new CustomException.CustomException( severityLevel,logLevel,ex.InnerException,customMessage.GetString("Test"));}}
d) In the Catch Block , re-throw the Exception as a CustomException
e) On a button_click event handler add the following code :
private void buttonTest_Click(object sender, System.EventArgs e){try{this.Updater();}catch(CustomException.CustomException ce){MessageBox.Show(ce.CustomMessage);}}
Conclusion
The above is one of the several methods of implementing Custom Exceptions in C#. Another method would be using Application Blocks. Yet another method would be specifically defining all the Application Exceptions as separate classes and using them.
©2016
C# Corner. All contents are copyright of their authors.
|
http://www.c-sharpcorner.com/article/custom-exception-handling-in-C-Sharp/
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
This will validate the current .html or .css file in Sublime Text 2. W3C's JSON CSS support is experimental so it isn't verbose, it will just tell you if you have errors. Not terribly helpful, but not sure how to augment that.
validate.py
import os
import sublime
import sublime_plugin
class ValidateCommand(sublime_plugin.TextCommand):
'''
This plugin is dependent on /User/w3c-validator.py, which you can get from here:
'''
def run(self, edit):
if len(self.view.file_name()) > 0 and self.view.file_name().endswith((".html", ".css")):
folder_name, file_name = os.path.split(self.view.file_name())
self.view.window().run_command('exec', {
'cmd': 'python', sublime.packages_path() + "/User/w3c-validator.py", file_name],
'working_dir': folder_name
})
sublime.status_message(("Validating %s...") % file_name)
def is_enabled(self):
return self.view.file_name() and len(self.view.file_name()) > 0
Mine is mapped to alt+shift+v in User Key Bindings:
{ "keys": "alt+shift+v"], "command": "validate" }
Wahey!
Been looking into creating something like this for a while!
How who I go about putting "the curl command must be in the shell's PATH" on windows 7?
I use a Mac, so I can't walk you through it, but basically you install curl for windows, then add the curl command to the shell's path.
Do the .py files need to be directly in /User or in a subdir inside of /User?
I got curl all set up but I can't seem to get this to work....and believe me, I'd really love to
Just directly in /User, but I can confirm it's broken currently... it seems to be failing to connect to the W3C service. I'll poke around and see if I can fix it or see what's going on.
So while I'm running this, all I'm getting is errors...'retrying', 'retrying', 'failed'...is this still working? I've downloaded the two py files into User, and i'm running OSX, so curl is there--which I've confirmed by running curl http:// command to load one of my web pages...
Not getting how to install it
I am on my Mac. I put the two files into Sublime Text 2/Packages/User, and bind the keys:
{ "keys": "ctrl+alt+v"], "command": "validate" }
]
but nothing happens when I pressed them. Is there anything I could do to troubleshoot this? I do not even know the problem happens in the function itself or the key binding...
Open up the console (control + `). If it was the plugin, it will give an error.
If it was the keybinding, it will say something like "command" = noop.
Not working for me either. The Console isn't giving me error messages, strange.
Windows 7, CURL installed, latest Sublime DEV
All I have is this error[Error 2] The system cannot find the file specified[Finished]
Can anyone help?tia
Ok, took me a while to figure out the instructions, but I hope this clears it up for people. You will need to do 3 things.
I hope that helps. I had to read the instructions a couple times before I figured it out.
This needed some work to get going on Windows and python 2.7.3.Firstly as mentioned above python and the validator and curl need to be on the path.I got the basic (without ssl etc) from here : w3c script then had to be modified to change the deprecated commands.getstatusoutput, also found for me at least that the urllib.quote wasn't needed on the filename, my version of curl liked regular '\' s not %2C etc. (Not tried it on spaces though but it looks like its all quoted anyway)So this worked for me: w3c-validator.py
#!/usr/bin/env python
'''
w3c-validator - Validate HTML and CSS files using the WC3 validators
License: MIT
'''
import os
import sys
import time
import json
import subprocess
import urllib
html_validator_url = ''
css_validator_url = ''
verbose_option = False
def message(msg):
print >> sys.stderr, msg
def verbose(msg):
if verbose_option:
message(msg)
def validate(filename):
'''
Validate file and return JSON result as dictionary.
'filename' can be a file name or an HTTP URL.
Return '' if the validator does not return valid JSON.
Raise OSError if curl command returns an error status.
'''
quoted_filename = filename #urllib.quote(filename)
if filename.startswith('http://'):
# Submit URI with GET.
if filename.endswith('.css'):
cmd = ('curl -sG -d uri=%s -d output=json -d warning=0 %s'
% (quoted_filename, css_validator_url))
else:
cmd = ('curl -sG -d uri=%s -d output=json %s'
% (quoted_filename, html_validator_url))
else:
# Upload file as multipart/form-data with POST.
if filename.endswith('.css'):
cmd = ('curl -sF "file=@%s;type=text/css" -F output=json -F warning=0 %s'
% (quoted_filename, css_validator_url))
else:
cmd = ('curl -sF "uploaded_file=@%s;type=text/html" -F output=json %s'
% (quoted_filename, html_validator_url))
verbose(cmd)
try :
output = subprocess.check_output(cmd)
except subprocess.CalledProcessError, e:
raise OSError (e.returncode, 'failed: %s' % cmd)
#status,output = commands.getstatusoutput(cmd)
# if status != 0:
# raise OSError (status, 'failed: %s' % cmd)
verbose(output)
try:
result = json.loads(output)
except ValueError:
result = ''
time.sleep(2) # Be nice and don't hog the free validator service.
return result
if __name__ == '__main__':
if len(sys.argv) >= 2 and sys.argv[1] == '--verbose':
verbose_option = True
args = sys.argv[2:]
else:
args = sys.argv[1:]
if len(args) == 0:
message('usage: %s --verbose] FILE|URL...' % os.path.basename(sys.argv[0]))
exit(1)
errors = 0
warnings = 0
for f in args:
message('validating: %s ...' % f)
retrys = 0
while retrys < 2:
result = validate(f)
if result:
break
retrys += 1
message('retrying: %s ...' % f)
else:
message('failed: %s' % f)
errors += 1
continue
if f.endswith('.css'):
errorcount = result'cssvalidation']'result']'errorcount']
warningcount = result'cssvalidation']'result']'warningcount']
errors += errorcount
warnings += warningcount
if errorcount > 0:
message('errors: %d' % errorcount)
if warningcount > 0:
message('warnings: %d' % warningcount)
else:
for msg in result'messages']:
if 'lastLine' in msg:
message('%(type)s: line %(lastLine)d: %(message)s' % msg)
else:
message('%(type)s: %(message)s' % msg)
if msg'type'] == 'error':
errors += 1
else:
warnings += 1
if errors:
exit(1)
But I thought it better to install the validator as a build system so created a new build system from the Tools menu and defined it as follows:
{
"cmd": "python.exe", "c:\\Tools\\w3c-validator.py", "$file"],
"file_regex": "^validating: (.+)\\.\\.\\.",
"line_regex": "^error: line ([0-9]+):"
}
c:\Tools is the path to my copy of the python script, replace it with your loaction. This embedded path could probably be removed by defining PYTHONPATH in the environment but its getting late now and I've had enough.
Anyway F4 and ShiftF4 now move forward and back through the reported errors from the w3c validator (providing the network connection is working), which is rather nice.
Thanks to ian's post above this I managed to get it working in Sublime Text 2. I have simplified the process by zipping up the files you'll need... this is what I did (windows only):
-hope this helps!!
|
https://forum.sublimetext.com/t/validate-html-css/1805/3
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
v0.6.0 (Jan 25, 2012)---------------------- - More Docstrings - Added docstrings to FutureSend - Added docstring for File#expanded_path - Bumped version for next release so it won't be forgotten. - Pass args as explicit array to Block#call: - use partial blocks where appropriate - backported support for partial blocks to bootstrap compiler - small naming fixes - uncomment assertion - Fix typo in KVO docstring - Added KVO Mixin - Objective-C style Key-Value Observing - Removed explicit typecheck in Array#remove_at:. It's bad.. - added Enumerable#to_hash: - Fixed bug in FancyEnumerable#find: - fixed Hash testcase to not rely on order of values in Array returned by Object#slots - some fixes to Object docstrings - fix bootstrap failing error. dammit. - added fancy syntax highlighting to doc/features.md - fixed Set#[] - small positional fix - fixed FutureSend#when_done: and also added FutureSend#with_value: as an alias for #when_done: - Don't crash the vm when dealing with a parse/lex error. Closes #66 - cleanup - added File##write:with: and File##read:with: - Added Fancy code highlighting to README file - Quit ifancy when entering 'quit' or 'exit'. Closes #67 - added System##abort - added Fancy MessageSink class. - added auto-load for files with fancy shebang line - added support for Module#included: hook. - added Hash#to_object - renamed Block#object to Block#to_object for consistency reasons - Moved installation logic for ruby dependencies in .fancypack files into RubyDependency class. And make sure to also install Ruby dependencies when running fancy install --deps - Allow return as message selector and transform it at compile time into raise_returning it. This means that the following 2 lines of code are identical: (1,2,3) each: |x| { x println; return x } # and the new version: (1,2,3) each: |x| { x println; x return } # or short, using partial blocks: (1,2,3) each: @{ println; return } - moves FancyEnumerable and FancyEnumerator into Fancy namespace instead of prefixing their names - added Object#tap: - fixed typo in Module#[] and added tests for it - added some methods to Module - added Array#to_hash - added Object#copy_slots_from: - added Block#to_hash_deep - added Hash#fetch:else: - added String#relative_path: - Added Set#[] - Added Tuple##with_values: - Moved Array#each_with_index: into FancyEnumerable. - added System##abort: - added alias for Method#executable - docstring fixes to String class - added docstrings for aliased String methods - reformatted docstring - String#uppercase & String#lowercase - added Symbol#to_sym - cleanup - added more aliases to Date - Added Number#upto:in_steps_of:do: and Number#downto:in_steps_of:do:. Also moved Number specific tests into tests/number.fy - added ruby alias for Array#flatten - fixed docstring formatting for FDoc class and handle @{ partial block syntax correctly - Reraise any exceptions thrown within a let binding's block. - added another testcase for Block#to_a - Return self for easy chaining - Added Block#to_a for dynamically creating Arrays from Blocks, similar to Block#object and Block#to_hash - Small fix to web server example and some Socket class changes. - File improvements. - Merge branch 'master' of github.com:bakkdoor/fancy - check for eof? in Console#readln: - added Hash#at:else: - allow '. as symbol name - Merge branch 'master' of github.com:bakkdoor/fancy - Added Number#cubed. - added mission lib/stringio.fy file - always call blocks with html object - changed partial blocks to send any messages in the block that don't have an explicit receiver to the first argument. this is nice for dsls while not changing the value of self unexpectedly - added Enumerable#skip: as alias for Enumerable#drop: - added Block#[] as alias for Block#call: - small improvements to HTML class - added html generator library - added lib/parser/ext/.rbx/ to .gitignore - Remove travis ci build status image since travis fails to run my tests correctly at the moment, even though they are passing. - improved performance for Block#object and Block#to_hash - use set to prevent failure in case the slots aren't returned in the exact same order - fix bootstrap failure - Let Object#slots return an Array instead of a Set. - A bunch of optimizations for string interpolations and stuff. - small improvement to Block#to_hash - Some improvements to DynamicSlotObject and added Block#to_hash - Added support for installing dependencies from a .fancypack file. Looks in the current directory. Run via: $ fancy install --deps - added Block#object - added TCPSocket#read: - Added support for creating Arrays with a predefined size and a block to call for each element in that Array. Also added some more TCPSocket method wrappers. - fix test - explicitly wait for future completion - Fix string interpolation for multi-line strings. Also added Regexp#m and Regexp#x methods. - Get rid of old test - Moved Method class doctstring. - More docstrings to methods and classes in lib/rbx/ dir. - fixed docstring for Fancy::Package::Uninstaller - added docstring for Array#unshift: - removed old spec file - added String#substitute:with: - Small fixes to html generator example - Added Fixnum#random - Small test with travis config. - Added unary ruby methods to File class, ARGV#main?: and some more. - small fix to highlighting of message selectors in fancy-mode.el - added << and >> ruby aliases for Bignum and Fixnum classes (for left and right shifting) - removed duplicate select: method from Array (already in FancyEnumerable) - Updated AUTHORS file - Catch errors when passing weird characters to RbReadline. - Added tab-completion to infancy. Use RbReadline explicitly over c-readline as we need support for Readline#line_buffer which only RbReadline provides. Try to eval the current receiver when auto-completing method names, if possible. - Correctly highlight dynamic variables. - bumped version in lib/version.fy - oops... - added Object#with_output_to:do:
|
https://groups.google.com/forum/?_escaped_fragment_=topic/fancy-lang/2TOOByhKk7c
|
CC-MAIN-2016-36
|
en
|
refinedweb
|
This ‘renderable’ sets can be added to the partition. Sets can be added and removed from a partition by using the -addSet or -removeSet flags. Note:If a set is already selected, and the partition command is executed, the set will be added to the created partition.
Derived from mel command maya.cmds.partition
Example:
import pymel.core as pm # To create a partition calls p1 which contains set1 and set2 ... pm.partition( 'set1', 'set2', n='p1' ) # To create an empty render partition ... pm.partition( render=True ) # To add/remove sets from partition p1 ... pm.partition( 'set3', add='p1' ) pm.partition( 'set1', rm='p1' ) # To get a list of all sets in a partition ... pm.partition( 'p1', q=True ) # To check if the partition is a render partition pm.partition( 'p1', q=True, re=True )
|
http://www.luma-pictures.com/tools/pymel/docs/1.0/generated/functions/pymel.core.general/pymel.core.general.partition.html#pymel.core.general.partition
|
crawl-003
|
en
|
refinedweb
|
This command parents (moves) objects under a new group, removes objects from an existing group, or adds/removes parents. If the -w flag is specified all the selected or specified objects are parented to the world (unparented first). If the -rm flag is specified then all the selected or specified instances are removed. If there are more than two objects specified all the objects are parented to the last object specified. If the -add flag is specified, the objects are not reparented but also become children of the last object specified. If there is only a single object specified then the selected objects are parented to that object. If an object is parented under a different group and there is an object in that group with the same name then this command will rename the parented object.
Derived from mel command maya.cmds.parent
Example:
import pymel.core as pm # Create some objects pm.circle( name='circle1' ) # Result: [nt.Transform(u'circle1'), nt.MakeNurbCircle(u'makeNurbCircle1')] # pm.move( 5, 0, 0 ) pm.group( n='group1' ) # Result: nt.Transform(u'group1') # pm.move( -5, 0, 0 ) pm.group( em=True, n='group2' ) # Result: nt.Transform(u'group2') # # Move the circle under group2. # Note that the circle remains where it is. pm.parent( 'circle1', 'group2' ) # Result: [u'circle1'] # # Let's try that again with the -relative flag. This time # the circle will move. pm.undo() pm.parent( 'circle1', 'group2', relative=True ) # Result: [u'circle1'] # # Create an instance of the circle using the parent command. # This makes circle1 a child of group1 and group2. pm.undo() pm.parent( 'circle1', 'group2', add=True ) # Result: [u'group2|circle1'] # # Remove group1 as a parent of the circle pm.parent( 'group1|circle1', removeObject=True ) # Move the circle to the top of the hierarchy pm.parent( 'group2|circle1', world=True ) # Result: [u'circle1'] # # Remove an instance of a shape from a parent pm.parent('nurbsSphere3|nurbsSphereShape1',shape=True,rm=True)
|
http://www.luma-pictures.com/tools/pymel/docs/1.0/generated/functions/pymel.core.general/pymel.core.general.parent.html#pymel.core.general.parent
|
crawl-003
|
en
|
refinedweb
|
Hello,
I am using vectors for my Sprite class. I was wondering how to implement sorting so that I could order my sprites using ZOrder attribute that I have given it?
Thanks,Mariusz
Overload the < operator on that class. Then you can use STL's regular sort algorithm.
_________________________________________________"God speed, my lonely angel."Bitcoin | Bitcoin Ponzi Scheme
Mariuz:overload with this:
bool operator<(const CSprite &a, const CSprite &b)
{
return a.m_ZOrder < b.m_ZOrder;
}
and sort with this:
vector<CSprite> sprites;
sort(sprites.begin(), sprites.end());
it might be squirly because m_ZOrder is protected.
-----I was about to post a very similar question, but more about the nature of overloading:
this is my code that does not compile:
for some reason it doesn't like that I'm using a function (get_laugh()) to compare the two objects, and I get the errors:
main.cpp: In function `bool operator<(const time_stamp_object&, const time_stamp_object&)':
main.cpp:108: error: passing `const time_stamp_object' as `this' argument of `int time_stamp_object::get_length()' discards qualifiers
main.cpp:108: error: passing `const time_stamp_object' as `this' argument of `int time_stamp_object::get_length()' discards qualifiers
what am I doing wrong?
--Royalty Free Music • Web Design • A Past Life
Mark: get_length needs to be declared const, otherwise the compiler is unsure if get_length will modify the object, therefore possibly violating the const in operator<'s parameters.
Thanks for your quick response. Well it has been ages since I have worked with operators. It apears that I have to put this outside my CSprite class, which then like you said my m_ZOrder would not be accessible, unless I make it public. Is there another way to make this operator part of my class?
Right now If I make < part of CSprite I get:error C2804: binary 'operator <' has too many parameters
Thanks,Mariusz
Because it should only be one parameter, and you'd dothis->m_ZOrder < other_thing.m_ZOrder
I'm not sure if it'll still complain about protected, though. If it does you'll need to create a function that returns m_ZOrder, or just move m_ZOrder to public.
EDIT:
bool operator<(const CSprite &b)
{
return this->m_ZOrder < b.m_ZOrder;
}
William: I tried adding const in front of the function but didn't work ... ??
Thats right now I remember. Thanks a lot
You don't need to overload anything if you don't want to. You can just write something like:
struct sprite_sorter {
bool operator()(const CSprite &a, const CSprite &b) {
return a.m_ZOrder < b.m_ZOrder;
}
};
/* And then */
std::sort(sprites.begin(), sprites.end(), sprite_sorter);
--- Bob [ Webpage | Allegro FAQ | Coding Tricks ]"Oh, you want to do actual work. In that case, avoid the GameCube at all costs!" - Me
Thats cool, but I have just implemented William's suggestion and it seems that everything is working just fine. Anyhow, I really appreciate your input, it helps me to refresh my rusty C/C++ stuff.
All the best,Mariusz
-----------------------------------------------------------------------------------Few minutes later...... Wow, now I am confused. The sorting works just fine when I use QuickWatch everything is sorted as it should, but my Render function draws somehow different.
I have BG with zOrder of 1000 (background with size of full screen).I have two sprites zOrder 1 and 1005
My Render function looks like this:
I would expect fro one sprite to be hidden behind my Background according to its ZOrder.
Any suggestions?
(oops wrong thread)
Mark: Hmm, learn something new everyday. You need to put it after the () of the function."const int some_function" apparently means that the result is constant, while"int some_function() const" means that the function will not modify *this.
ah, thanks. I'd give a cookie if I could.
struct sprite_sorter { bool operator()(const CSprite &a, const CSprite &b) { return a.m_ZOrder < b.m_ZOrder; }};
/* And then */std::sort(sprites.begin(), sprites.end(), sprite_sorter);
Why bother with the struct?
#include <algorithm>
static bool comp(const CSprite &a, const CSprite &b) {
return a.m_ZOrder < b.m_ZOrder;
}
std::sort(sprites.begin(), sprites.end(), comp);
[edit]
Right now If I make < part of CSprite I get:error C2804: binary 'operator <' has too many parameters
Make the operator < take only one argument and compare whether *this < the parameter.
How is my posting? - Order Hero - SF Bike Rentals - Mouse Mash - Got Tod? - Taco Roco[The Musings of a Lost Programmer] todo Thing Library 1.0 Punchcard Metrics
I would probably go with overloaded operator< if maximum speed is necessary. I'm not sure if functors can get inlined.
// should be inside class definition
bool operator<(const CSprite &a) const
{
return m_ZOrder < a.m_ZOrder;
}
//Somewhere in code
std::sort(sprites.begin(), sprites.end());
If I was Mark I'd use this kind of code:
If all this code is in headers those functions should get inlined.
_________
#include <algorithm>
inline bool comp(const CSprite &a, const CSprite &b) {
return a.m_ZOrder < b.m_ZOrder;
}
std::sort(sprites.begin(), sprites.end(), comp);
Any speed boost you're getting from using operator < is imagined.
What HoHo said. The overloaded operator should be a member func. That's why the compiler complains about the "this" argument.
---Me make music: Triofobie---"We need Tobias and his awesome trombone, too." - Johan Halmén
What HoHo said. The overloaded operator should be a member func. That's why the compiler complains about the "this" argument.
No, thats wrong. A standard conforming compiler accepts both ways, one takes 2 parameters and the other only takes 1.
Hi,
I have a question in regards to STL list sorting.
This is a snap of my code that I use:
Problem I am having is that Alien sprite is hidden behind Background and unless I add sprites in order Background, player, alien I have alien sprite hidden.
It appears that the sort function is not working for me. Any suggestions would be appreciated.
This is a guess, but I think you are sorting pointers, instead of objects (it's a vector of pointers to CSprite, instead of an vector of CSprite). Try adding some logging to the operator< member function to see if it is actually called.
You could create a custom compare function that compares pointers to CSprite and use that as an argument to the sort algorithm. See Bob's message above.
Well, I am not exactly sure where to place Bobs code. Is the structure a part of Sprite Class, or a shared function?
Where do I call sort from, so far I get an error telling me that sort is not a member of std namespace.
error C2039: 'sort' : is not a member of 'std'error C2275: 'sprite_sorter' : illegal use of this type as an expression f:\Dev\App\Galaxy\Game.cpp(9) : see declaration of 'sprite_sorter'error C3861: 'sort': identifier not found, even with argument-dependent lookupGalaxy.cpp
Thanks,M.
You probably forgot to #include <algorithm>.
I have made a small example:
Thank you, I will check this as soon I have a chance.
M.
|
http://www.allegro.cc/forums/thread/569405/571547#target
|
crawl-003
|
en
|
refinedweb
|
/************************************************************************** * * * * **************************************************************************/ // November 2005: Removed processKeyEvent to get rid of bogus "beep" when shift key is pressed. // (this also lets illegal characters into the input box). *
Use the function getFunction() if you want to * use an ExpressionInput as a way of inputting a function. * */ public class ExpressionInput extends TextField implements InputObject, Value { /** * The Expression associate with this input box. * Class EI is a private nested class. */ protected EI expr; /** * A parser for parsing the user's input * expression. If this is null, * a default parser will be used and * only constant expressions will * be allowed. */ protected Parser parser; //protected boolean hasChanged; protected String previousContents; /** * True if an error should be thrown * when checkInput() is called, * but the content of the box is not * a legal expression. Otherwise, the * expression will become a constant * expression with value Double.NaN. */. */ public ExpressionInput(String initialValue, Parser p) { super(30); expr = new EI(); if (initialValue == null) initialValue = ""; super.setText(initialValue); setBackground(Color.white); //enableEvents(KeyEvent.KEY_EVENT_MASK); setParser(p); // (Sets previousContents to null,. */ public void setParser(Parser p) { parser = (p == null)? new Parser() : p; //hasChanged = true; // force re-compute when checkInput() is next called. previousContents = null; } /** * Get the Expression associated with this ExpressionInput. * */. */ public Function getFunction(Variable[] v) { return new SimpleFunction(expr,v); } /** * Return the current value of the expression associated with * this ExpressionInput. */ public double getVal() { return expr.getVal(); } /** * If the parameter c is non-null, then its compute method will be called whenever * the user presses the return key while typing in this text-input box. */ public void setOnUserAction(Controller c) { onUserAction = c; enableEvents(AWTEvent.ACTION_EVENT_MASK); } /** * Return the Controller, if any, that is notified when the user * presses return in this text-input box. */ public Controller getOnUserAction() { return onUserAction; } /** * Method required by InputObject interface; in this class, it simply calls * setOnUserAction(c). This is meant to be called by JCMPanel.gatherInputs(). */. */ public void setOnTextChange(Controller c) { onTextChange = c; enableEvents(AWTEvent.TEXT_EVENT_MASK); if (c != null) throwErrors = false; } /** * Return the Controller, if any, that is notified whenever the text * in this input box changes */. */ public void setThrowErrors(boolean throwErrors) { this.throwErrors = throwErrors; } /** * Return the value of the throwErrors property, which determines whether errors * can be thrown when checkInput() is called. */ public boolean getThrowErrors() { return throwErrors; } /** * Get error message from previous call to checkInput(). * Returns null if and only if there was no error. */. */ public void checkInput() { boolean hasChanged = previousContents == null || !previousContents.equals(getText()); if (!hasChanged) return; expr.serialNumber++; String contents = getText(); try { expr.exp = parser.parse(contents); errorMessage = null; previousContents = getText(); }. */ public void setText(String str) { super.setText(str); //hasChanged = true; previousContents = null; } /** * Override processKeyEvent to only allow characters * that are legal in expressions. This is not meant to be called directly. */ public void processActionEvent(ActionEvent evt) { if (onUserAction != null) onUserAction.compute(); super.processActionEvent(evt); } /** * Overridden to call onUserAction.compute() if onUserAction is non-null. * This is not meant to be called directly. */. */ protected class EI implements Expression { /** * The actual expression, or null if the * expression is undefined. If this is a * derivative of another EI, this will be * recomputed as necessary when the expression is used * in some way. */ ExpressionProgram exp; /** * This is null for the original expression input by the * user. If this EI was formed by taking the derivative * of anotehr EI, that EI is stored here. */ EI derivativeOf; /** * Which Variable is this a derivative with respect to? * If derivativeOf is null, so is wrt. */. */ int serialNumber; EI() { serialNumber = -1; // Forces exp to be computed the first time it is needed. } public double getVal() { checkForChanges(); if (exp == null) return Double.NaN; return exp.getVal(); } public double getValueWithCases(Cases c) { checkForChanges(); if (exp == null) return Double.NaN; return exp.getValueWithCases(c); } public String toString() { checkForChanges(); if (exp == null) return "(undefined)"; return exp.toString(); } public Expression derivative(Variable wrt) { EI deriv = new EI(); deriv.derivativeOf = this; deriv.wrt = wrt; return deriv; }
|
http://math.hws.edu/javamath/jcm1-source/edu/hws/jcm/awt/ExpressionInput.java
|
crawl-003
|
en
|
refinedweb
|
This module provides various datastructures.
Sentinel object which can be used instead of None. This is useful if you have optional parameters to which a user can pass None e.g. in datastructures.
Iterates over the items of the given mapping.
If a key has multiple values a (key, value) item is yielded for each:
>>> for key, value in iter_multi_items({1: [2, 3]}): ... print key, value 1 2 1 3 >>> for key, value in iter_multi_items(MultiDict({1: [2, 3]})): ... print key, value 1 2 1 3
An object whose attributes are looked up in a mapping residing in an internal stack.
If an attribute is accessed, the value of the first mapping, which contains the appropriate attribute, is returned.
New in version 0.6.
The top-most object.
Pushes the given mapping on the stack.
Pops the given mapping from the stack.
If the stack is empty a RuntimeError is raised.
A MultiDict is a dictionary customized to deal with multiple values for the same key.
Internally the values for each key are stored as a list, but the standard dict methods will only return the first value of those lists. If you want to gain access to every value associated with a key, you have to use the list methods, specific to a MultiDict.
Adds the value for the given key.
Returns the list of values for the given key. If there are none an empty list is returned.
Sets the values associated with the given key to the given values.
Like setdefault() but sets multiple values and returns the list associated with the key.
Returns a list of (key, values) pairs, where values is the list of values associated with the key.
Returns a list of all values.
Like lists() but returns an iterator.
Like listvalues() but returns an iterator.
Returns the list of values associated with the given key, if the key does not exist in the MultiDict an empty list is returned.
Like popitem() but returns all associated values.
A dict which remembers insertion order.
Big-O times for every operation are equal to the ones dict has however this comes at the cost of higher memory usage.
This dictionary is only equal to another dictionary of this type if the items on both dictionaries were inserted in the same order.
Pops the last or first item from the dict depending on last.
Moves the item with the given key to the end of the dictionary if last is True otherwise to the beginning.
Raises KeyError if no item with the given key exists.
New in version 0.4.
dict subclass for counting hashable objects. Elements are stored as keys with the values being their respective counts.
This object supports several operations returning a new Counter object from the common elements of c1 and c2, in any case the new counter will not contain negative counts.
Furthermore it is possible to multiply the counter with an int as scalar.
Accessing a non-existing element will always result in an element count of 0, accordingly get() uses 0 and setdefault() uses 1 as default value.
Returns a list of all items sorted from the most common to the least.
>>> from brownie.datastructures import Counter >>> Counter('Hello, World!').most_common(2) [('l', 3), ('o', 2)]
Iterator over the elements in the counter, repeating as many times as counted.
>>> from brownie.datastructures import Counter >>> sorted(Counter('abcabc').elements()) ['a', 'a', 'b', 'b', 'c', 'c']
Updates the counter from the given countable and kwargs.
A dict whose items can only be created or deleted not changed.
If you attempt to change an item a KeyError is raised.
New in version 0.5.
New in version 0.5: ImmutableDict is now hashable, given the content is.
New in version 0.5: ImmutableMultiDict is now hashable, given the content is.
An immutable OrderedDict.
New in version 0.2.
New in version 0.5: ImmutableOrderedDict is now hashable, given the content is.
An immutable OrderedMultiDict.
An immutable dict which combines the given dicts into one.
You can use this class to combine dicts of any type, however different interfaces as provided by e.g. MultiDict or Counter are not supported, the same goes for additional keyword arguments.
New in version 0.2.
New in version 0.5: CombinedDict is now hashable, given the content is.
An ImmutableMultiDict which combines the given dicts into one.
New in version 0.2.
Implements a lazy list which computes items based on the given iterable.
This allows you to create list-like objects of unlimited size. However although most operations don’t exhaust the internal iterator completely some of them do, so if the given iterable is of unlimited size making such an operation will eventually cause a MemoryError.
Cost in terms of laziness of supported operators, this does not include supported operators without any cost:
New in version 0.5: It is now possible to pickle LazyLists, however this will exhaust the list.
Returns a wrapper for a given callable which takes the return value of the wrapped callable and converts it into a LazyList.
Inserts the given object at the given index.
This method exhausts the internal iterator up until the given index.
Removes and returns the item at the given index, if no index is given the last item is used.
This method exhausts the internal iterator up until the given index.
Looks for the given object in the list and removes the first occurrence.
If the item is not found a ValueError is raised.
This method exhausts the internal iterator up until the first occurrence of the given object or entirely if it is not found.
Reverses the list.
This method exhausts the internal iterator.
Sorts the list using the given cmp or key function and reverses it if reverse is True.
This method exhausts the internal iterator.
Counts the occurrences of the given object in the list.
This method exhausts the internal iterator.
Returns first index of the object in list
This method exhausts the internal iterator up until the given object.
A sequence combining other sequences.
New in version 0.5.
Returns the sequence and the ‘sequence local’ index:
>>> foo = [1, 2, 3] >>> bar = [4, 5, 6] >>> cs = CombinedSequence([foo, bar]) >>> cs[3] 4 >>> cs.at_index(3) ([4, 5, 6], 0)
A list combining other lists.
New in version 0.5.
Returns the number of occurrences of the given item.
Returns the index of the first occurence of the given item between start and stop.
Appends the given item to the end of the list.
Extends the list by appending from the given iterable.
Inserts the given item before the item at the given index.
Removes and returns the item at the given index.
An IndexError is raised if the index is out of range.
Removes the first occurence of the given item from the list.
Reverses the list in-place:
>>> a = [1, 2, 3] >>> b = [4, 5, 6] >>> l = CombinedList([a, b]) >>> l.reverse() >>> a [6, 5, 4]
Sorts the list in-place, see list.sort().
Returns a tuple subclass named typename with a limited number of possible items who are accessible under their field name respectively.
Due to the implementation typename as well as all field_names have to be valid python identifiers also the names used in field_names may not repeat themselves.
You can solve the latter issue for field_names by passing rename=True, any given name which is either a keyword or a repetition is then replaced with _n where n is an integer increasing with every rename starting by 1.
namedtuple() creates the code for the subclass and executes it internally you can view that code by passing verbose==True, which will print the code.
Unlike tuple a named tuple provides several methods as helpers:
Returns a SomeNamedTuple populated with the items from the given iterable.
Returns a dict mapping the field names to their values.
Returns a SomeNamedTuple values replaced with the given ones:
>>> t = SomeNamedTuple(1, 2) >>> t._replace(bar=3) SomeNamedTuple(foo=1, bar=3)
Note
namedtuple() is compatible with collections.namedtuple().
New in version 0.5.
A set which remembers insertion order.
New in version 0.2.
Returns the last element if last is True, the first otherwise.
Bases: Queue.Queue
Thread-safe implementation of an ordered set queue, which coalesces duplicate items into a single item if the older occurrence has not yet been read and maintains the order of items in the queue.
Ordered set queues are useful when implementing data structures like event buses or event queues where duplicate events need to be coalesced into a single event. An example use case is the inotify API in the Linux kernel which shares the same behaviour.
Queued items must be immutable and hashable so that they can be used as dictionary keys or added to sets. Items must have only read-only properties and must implement the __hash__(), __eq__(), and __ne__() methods to be hashable.
An example item class implementation follows:
class QueuedItem(object): def __init__(self, a, b): self._a = a self._b = b @property def a(self): return self._a @property def b(self): return self._b def _key(self): return (self._a, self._b) def __eq__(self, item): return self._key() == item._key() def __ne__(self, item): return self._key() != item._key() def __hash__(self): return hash(self._key())
Note
This ordered set queue leverages locking already present in the queue.Queue class redefining only internal primitives. The order of items is maintained because the internal queue is not replaced. An internal set is used merely to check for the existence of an item in the queue.
New in version 0.3.
Return True if the queue is empty, False otherwise (not reliable!).
Return True if the queue is full, False otherwise (not reliable!).
Remove and return an item from the queue.
If optional args ‘block’ is true and ‘timeout’ is None (the default), block if necessary until an item is available. If ‘timeout’ is a positive number, it blocks at most ‘timeout’ seconds and raises the Empty exception if no item was available within that time. Otherwise (‘block’ is false), return an item if one is immediately available, else raise the Empty exception (‘timeout’ is ignored in that case).
Remove and return an item from the queue without blocking.
Only get an item if one is immediately available. Otherwise raise the Empty exception. an item into the queue.
If optional args ‘block’ is true and ‘timeout’ is None (the default), block if necessary until a free slot is available. If ‘timeout’ is a positive an item into the queue without blocking.
Only enqueue the item if a free slot is immediately available. Otherwise raise the Full exception.
Return the approximate size of the queue (not reliable!)..
|
http://packages.python.org/Brownie/api/datastructures.html#brownie.datastructures.OrderedDict
|
crawl-003
|
en
|
refinedweb
|
#include <glib.h>
#include <string.h>
#include "memwatch.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "ObitTypes.h"
#include "ObitErr.h"
Go to the source code of this file.
This class is the virtual base class of most Obit classes. Class hierarchies are generally noted in the names of modules, i.e. Obit is the base class from which (almost) all others are derived. Obit class derivation is by means of nested include files; each class has an include file for the data members and for the class function pointers. These include files include the corresponding includes of their parent class. The functional members are defined in ObitClassDef.h and the data members in ObitDef.h to allow recursive definition of derived classes.
|
http://www.cv.nrao.edu/~bcotton/Obit/ObitDoxygen/html/Obit_8h.html
|
crawl-003
|
en
|
refinedweb
|
}}
The first step is to create a MoDisco project.
The second step is to create a query set. This query set will store boolean queries indicating if an object conforms to a facet.
Right-click on the MoDisco project and select New > Other....
Select Facet Model and press the Next button
Choose a name for your model facet set (My.facetSet in the example) and press Finish.
Open the "My.facetSet" file and open the Properties View.
Set the name of the facet set and make sure that the facet set name is the same as the containing file name ("My" in the example). The nsURI and prefix must also be filled.
Load the resources containing the meta-model extended by the facet set. To load a meta-model resource you must use the Load Meta-model Resource action.
In this example, we choose to use the Java meta-model.
Fill the Extended Package field with the ePackage containing the virtually extended meta-model.
Right click on the FacetSet element and choose New Child > Facet to create a facet.
Set the facet name and the class that the facet will extend.
To specify how to know if an object conforms to a facet, we have to provide a boolean query. To provide this query we have to load the model containing its description.
Right-click in the editor and choose Load MoDisco Resource:
The query has to be referred to using the MoDisco protocol ("modisco:/query/<querySetName>"). In the example, we use the "My" query set.
Once the query set resource is referenced, we just have to select the query describing the facet. In the example this query is named "isAbstract".
At this step, if we save the model, the error marker should disappear from the file's icon, indicating that the facet set model is now valid.
If the facet has specific attributes or references which can be calculated, we can declare them. In this example, we will declare an attribute indicating the number of abstract methods contained in the abstract class. To create a new facet attribute right-click on the facet element and select the New Child > FacetAttribute. facet set is now ready to be used.
If a facet set model is valid, it is registered in the facet set catalog. To consult the facet set catalog, we can use the "Facet Set" view.
To open this view select Windows > Show view > Other ... in the menu bar and choose Facet Sets in the list.
The "Facet Sets" view presents the available facet sets and their facets. For each facet set the location of its description model is pointed out.
Here is an example of using the MoDisco facet API. For more information please refer to the JavaDoc.
import org.eclipse.emf.ecore.EObject; import org.eclipse.gmt.modisco.infra.query.core.exception.ModelQueryException; import org.eclipse.gmt.modisco.infra.facet.Facet; import org.eclipse.gmt.modisco.infra.facet.FacetSet; import org.eclipse.gmt.modisco.infra.facet.core.FacetSetCatalog; import org.eclipse.gmt.modisco.infra.facet.core.exception.ModiscoFacetException;
public class Example {
public Integer getNbAbstractMethod(EObject eObject) throws ModelQueryException, ModiscoFacetException { FacetSet facetSet = FacetSetCatalog.getSingleton().getFacetSet("My"); FacetContext context = new FacetContext(); context.addFacetSet(facetSet); Facet facet = facetSet.getFacet("AbstractClassDeclaration"); if (context.isInstance(eObject, facet)) { Object object = context.get(eObject, facet .getEStructuralFeature("nbAbstractMethod")); if (object instanceof Integer) { Integer nbAbstractMethod = (Integer) object; return nbAbstractMethod; } } return null; } }
To package a facet set in a plug-in, an extension must be added in the plugin.xml file (contained by the facet set's project). The extension point to use is: org.eclipse.gmt.modisco.infra.facet.registration. Here is an example of a facet set declaration:
<plugin> <extension point="org.eclipse.gmt.modisco.infra.facet.registration"> <facetset file="_example_jdkAndEclipseFacets.facetSet"> </facetset> </extension> </plugin>
Thanks to this extension declaration, the MoDisco project is ready to be exported as a plug-in.
The facet meta-model extends the ecore meta-model and uses the query meta-model.
A FacetSet is a kind of EPackage. A FacetSet contains facets through the eClassifier reference. A facet is a kind of EClass.
For a facet instance, the eSuperType reference must be set to specify which class the facet virtually extends.
The facet class has one specific reference: conditionQuery. The conditionQuery reference points to the ModelQuery class. The model queries pointed to by the conditionQuery reference must return a Boolean. Those queries are used to specify how to decide whether an instance conforms to a facet. If the conditionQuery is empty then all the instances of the class referred to by the facet instance through the eSuperType reference conform to this facet.
A facet contains facetAttributes and facetReferences through the eStructuralFeature reference. The FacetAttribute and FacetReference classes have a common super class: FacetStructuralFeature. The FacetStructuralFeature has one reference named valueQuery pointing to the ModelQuery class. The valueQuery is used to compute the facet structural feature value. The facetAttribute and facetReference must have the same type as the query they refer to.
Category:MoDisco
This document is maintained in a collaborative wiki. If you wish to update or modify this document please visit
|
http://help.eclipse.org/indigo/topic/org.eclipse.gmt.modisco.infra.doc/doc/MoDisco/Components/FacetManager/Documentation/0.9/0.9.html
|
crawl-003
|
en
|
refinedweb
|
ProceduralMaterial class.
This class exposes all properties from a Procedural Material, allowing you to modify or animate them.
In order to get a Procedural Material used by an object, use the Renderer.material as a ProceduralMaterial.
After modifying one or more procedural properties, call RebuildTextures to update the Procedural Material to show the changes.
var floatRangeProperty : String = "Saturation";var cycleTime : float = 10;function Update () { var substance : ProceduralMaterial = renderer.sharedMaterial as ProceduralMaterial; if (substance) { // Make the property go up and down over time var lerp = Mathf.PingPong (Time.time * 2 / cycleTime, 1); substance.SetProceduralFloat (floatRangeProperty, lerp); substance.RebuildTextures (); }}
using UnityEngine;using System.Collections;public class example : MonoBehaviour { public string floatRangeProperty = "Saturation"; public float cycleTime = 10; void Update() { ProceduralMaterial substance = renderer.sharedMaterial as ProceduralMaterial; if (substance) { float lerp = Mathf.PingPong(Time.time * 2 / cycleTime, 1); substance.SetProceduralFloat(floatRangeProperty, lerp); substance.RebuildTextures(); } }}
import UnityEngineimport System.Collectionsclass example(MonoBehaviour): public floatRangeProperty as string = 'Saturation' public cycleTime as single = 10 def Update(): substance as ProceduralMaterial = renderer.sharedMaterial if substance: lerp as single = Mathf.PingPong(((Time.time * 2) / cycleTime), 1) substance.SetProceduralFloat(floatRangeProperty, lerp) substance.RebuildTextures()
Set & get the Procedural cache budget.
Set & get the update rate in millisecond of the animated substance
Checks if the Procedural Material is currently in the process of rebuilding the textures.
Should the Procedural Material be generated at load time?
Default constructor. This should not be used.
Get an array of descriptions of all the properties this Procedural Material has.
Checks if the Procedural Material has a property of a given name.
Get a named Procedural boolean property.
Set a named Procedural boolean property.
Get a named Procedural float property.
Set a named Procedural float property.
Get a named Procedural vector property.
Set a named Procedural vector property.
Get a named Procedural color property.
Set a named Procedural color property.
Get a named Procedural enum property.
Set a named Procedural enum property.
Get a named Procedural texture property.
Set a named Procedural texture property.
Checks if a named Procedural property is cached for efficient runtime tweaking.
Specifies if a named Procedural property should be cached for efficient runtime tweaking.
Clear the Procedural cache.
Triggers an asyncronous rebuild of all dirty textures.
Triggers an immediate (synchronous) rebuild of all dirty textures.
Checks if the Procedural Materials are supported on the current platform.
Used to specify the Substance engine CPU usage.
Remove the current pending rebuilds of the Procedural Material.
The shader used by the material.
The main material's color.
The main material's texture.
The texture offset of the main texture.
The texture scale of the main texture.
How many passes are in this material (Read Only).
Render queue of this material
The name of the object.
Should the object be hidden, saved with the scene or modifiable by the user?
Create a temporary material from a shader source string.
Set a named color value.
Get a named color value.
Set a named vector value.
Get a named vector value.
Set a named texture.
Get a named texture.
Sets the placement offset of texture propertyName.
Gets the placement offset of texture propertyName.
Sets the placement scale of texture propertyName.
Gets the placement scale of texture propertyName.
Set a named matrix for the shader.
Get a named matrix value from the shader.
Set a named float value.
Get a named float value.
Checks if material's shader has a property of a given name.
Get the value of material's shader tag.
Interpolate properties between two materials.
Activate the given pass for rendering.
Copy properties from other material into this material..
|
http://unity3d.com/support/documentation/ScriptReference/ProceduralMaterial.html
|
crawl-003
|
en
|
refinedweb
|
The div() function is defined in <cstdlib> header file.
Mathematically,
quot * y + rem = x
div_t div(int x, int y); ldiv_t div(long x, long y); lldiv_t div(long long x, long long y);
It takes a two arguments x and y, and returns the integral quotient and remainder of the division of x by y.
The quotient quot is the result of the expression x/y. The remainder rem is the result of the expression x%y.
The div() function returns a structure of type
div_t,
ldiv_t or
lldiv_t. Each of these structure consists of two members:
quot and
rem. They are defined as follows:
div_t: struct div_t { int quot; int rem; }; ldiv_t: struct ldiv_t { long quot; long rem; }; lldiv_t: struct lldiv_t { long long quot; long long rem; };
#include <iostream> #include <cstdlib> using namespace std; int main() { div_t result1 = div(51, 6); cout << "Quotient of 51/6 = " << result1.quot << endl; cout << "Remainder of 51/6 = " << result1.rem << endl; ldiv_t result2 = div(19237012L,251L); cout << "Quotient of 19237012L/251L = " << result2.quot << endl; cout << "Remainder of 19237012L/251L = " << result2.rem << endl; return 0; }
When you run the program, the output will be:
Quotient of 51/6 = 8 Remainder of 51/6 = 3 Quotient of 19237012L/251L = 76641 Remainder of 19237012L/251L = 121
|
https://cdn.programiz.com/cpp-programming/library-function/cstdlib/div
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
publicly available and you should always check out the official developer site for the product documentation.
Following up on these previous 2 posts;
and, purely in the vein of ‘just for fun’, I kind of wanted to try out that idea that I’d floated of using a particular plane identified by the ‘Scene Understanding SDK’ to ‘anchor’ an object in space over time.
Or…in human terms I want the device to be able to;
“Put this hologram on the left hand, front edge of the largest table in the room and store its position for me until I move it”
So, looking at the screenshot below what I’ve done here is to run up my app code, let it place the full-sized model of the office in the middle of the table as below with its position and orientation coming from the plane that the Scene Understanding SDK has handed to me;
and then I’ve moved the model over here to the front, left-hand edge of the desk as below;
and then when I run the application again it remembers this position (approximately, I never said it was as good as spatial anchors!) and puts the model back at the same position, orientation and scale;
and the app is doing this by simply relying on the Scene Understanding SDK’s ability to find ‘the largest platform in the room’ and to come up with the same position for it each time the app runs such that all I need to do is store the relative transform of my model across invocations of the app.
Was that hard to do? No, not based on what I already had at the end of the last post and I amended the scene that I used in that post in just a few ways.
Firstly, I moved my LargePlatformPositioningBehaviour and from being present on my office model to its parent so that this parent becomes the object that the code attempts to place ‘in the centre of the largest platform’ when the application first runs up.
Secondly, I added a new LocalPositionMemoryBehaviour to the office model itself as below;
and then I made sure that I was handling the ‘manipulation ended’ event from the toolkit such that I could intervene and get hold of any modifications that had been made to the local scale, position or rotation of the office model relative to its parent;
and I wired this through to a method on my new LocalPositionMemoryBehaviour which is implemented below so as to store the local position, rotation and scale values into a simple Player Preference dictionary whenever it changes & to attempt to restore those values when the application starts;
using System.Linq; using UnityEngine; public class LocalPositionMemoryBehaviour : MonoBehaviour { void Start() { if (PlayerPrefs.HasKey(this.gameObject.name)) { var value = PlayerPrefs.GetString(this.gameObject.name); Debug.Log($"MT: Read SRT to string of {value}"); this.StringToLocalSRT(value); } } public void OnManipulationEnded() { // Store away our local position, rotation and scale in settings type storage. var srtToString = this.LocalSRTToString(); Debug.Log($"MT: Written out SRT to string of {srtToString}"); PlayerPrefs.SetString(this.gameObject.name, srtToString); PlayerPrefs.Save(); } string LocalSRTToString() { var t = this.gameObject.transform.localPosition; var s = this.gameObject.transform.localScale; var r = this.gameObject.transform.localRotation; return ($"{Vector3ToString(s)} {QuaternionToString(r)} {Vector3ToString(t)}"); } void StringToLocalSRT(string value) { var pieces = value.Split(' ').Select(s => float.Parse(s)).ToArray(); this.gameObject.transform.localScale = Vector3FromStrings(pieces, 0); this.gameObject.transform.localRotation = QuaternionFromStrings(pieces, 3); this.gameObject.transform.localPosition = Vector3FromStrings(pieces, 7); } static Quaternion QuaternionFromStrings(float[] pieces, int v) => new Quaternion(pieces[v], pieces[v+1], pieces[v+2], pieces[v+3]); static Vector3 Vector3FromStrings(float[] pieces, int v) => new Vector3(pieces[v], pieces[v+1], pieces[v+2]); static string Vector3ToString(Vector3 v) => $"{v.x} {v.y} {v.z}"; static string QuaternionToString(Quaternion q) => $"{q.x} {q.y} {q.z} {q.w}"; }
and so we have the office model remembering its position relative to its parent and we have the Scene Understanding SDK helping us to put that parent back on the ‘largest platform in the room’ and so the office model then remembers its position relative to that platform and stays on the edge of the table.
As I said in the previous post, it would be interesting to now pick up the table and move it within the room or even to another room (so long as it remained the largest platform in that room) and to see if the behaviour worked and the office model stayed on the table. I suspect it would but there’s no way I’m moving that table 😉
The code is where it was previously. Naturally, I’m not suggesting that this is for anything other than ‘fun’ but I was quite impressed with the stability that I got in my one simple test and, of course, you have multiple flavours of spatial anchor that can help you with these scenarios too.
|
https://mtaulty.com/2019/10/25/more-scene-understanding-put-this-on-the-big-table/
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
So far, layout has been an unstructured process, with each tag just directly modifying state like the current x and y position. That's an appropriate way to lay out text, but gets cumbersome as we add more and more layout features. Plus, it’s patently unsuited for handling things like borders and margins. This chapter describes a better way to do layout.
The way layout works now, every time we lay out an element, we first modify the state (in
layout_open), then lay out each child, and then modify the state again (in
layout_close). The actual measurements of each element (like their height and width) don’t exist as data; you can only glimpse them by watching the pattern of state modifications.
Well, that works for simple layouts, but it’s pretty hard to draw a border without knowing how wide and tall to draw the border.
So web browsers actually structure layout differently. In a browser, the job of layout is to produce a tree, called the box tree, so that each element has an associated box and each box is annotated with a size and a position. When you lay out text, you do so relative to the box the element is contained in.
Our
layout function doesn't do this yet, so let’s fix it.
Let’s start by defining a data structure to store an area where text can be laid out. I'm going to call this a
Block:
Now I'm going to rearrange the
layout functions into a class called
InlineLayout, which will sort of combine the three
layout functions and the
State class together:
class InlineLayout: def __init__(self, block): self.parent = block self.x = block.x self.y = block.y self.bold = False self.italic = False self.terminal_space = True self.dl = []
Here, the
parent field will point to a
block data structure from above, which will define the area where text will be placed.
The
layout function will become a method in this class:
class InlineLayout: # ... def layout(self, node): if isinstance(node, ElementNode): self.open(node) for child in node.children: self.layout(child) self.close(node) else: self.text(node)
The
open,
close, and
text methods will be the similarly-named functions from the previous lab. Just make sure to replace all references to the parts of
state with references to
self.Be careful with this. Python in particular will not warn you if you assign to an undeclared variable, because it has no notion of variable declaration as separate from assignment!
As we’re doing this, we need to update the hard-coded constants that used to define the page boundaries with references to
parent. So instead of…
… we now now want to reset
self.x not to 13 but to the left edge of the block that we are doing layout inside of; and likewise the right hand edge is no longer 787 but instead
self.parent.x + self.parent.w:
if self.x + w > self.parent.x + self.parent.w: self.x = self.parent.x self.y += font.metrics('linespace') * 1.2
You should be able to use
InlineLayout in
show by creating a
Block representing the page and then laying out to it:
Layout uses its block parent as an input, to define where text should go, but that block is also an output, since we only discover how tall a block of text is during inline layout. So at the end of
layout, let’s set the
h field on the
InlineLayout to define its height:
font = self.font() last_line = font.metrics('linespace') * 1.2 self.h = (self.y + last_line) - self.parent.y
Here the height is computed by taking the bottom of the laid out text (using
self.y for its top and adding its height) and subtracting the place where we started laying out text. Note that I'm calling a new helper function
self.font to compute the current font, setting the weight and slant properly.
We can make use of this height in
show to stop users from scrolling past the bottom of the page. First, store the height in the
maxh variable:
Then, when the user scrolls down, we won't let them scroll past the bottom of the page:
Here, the
13 accounts for the 13 pixels of padding we have at the beginning of the page and the
600 is the height of the screen.
InlineLayout is good for laying out lines of text, but what about paragraphs of text, with succeeding paragraphs stacked vertically atop each other? The current code treats paragraphs as just part of the general left-to-right line-oriented layout method, which does’t make much sense. Instead it makes sense to treat paragraphs as separate
InlineLayout contexts that later get vertically stacked.
To do that, I'm going to rename
Block to
BlockLayout, and it’ll be a separate layout mode, which is intended for things like paragraphs and headings. Block layouts will have multiple children, so we'll add fields for children and parents.
class BlockLayout: def __init__(self, parent, node): self.parent = parent self.children = [] self.node = node self.x = 13 self.y = 13 self.w = 774
For now, I’m hard-coding the
x,
y, and
w values in the constructor from the parent, but that’ll eventually change.
We'll have a
layout function for
BlockLayoutto lay out blocks vertically one after another. You might write it like this:
class BlockLayout def layout(self): y = self.y for child in node.children: layout = BlockLayout(self, child) self.children.append(layout) layout.layout(y) y += layout.h
This isn't too far off conceptually, but there are a bunch of flaws:
hfield, so we can’t use it yet;
layoutfunction, which doesn't expect that input;
BlockLayoutand never calling
InlineLayout;
TextNodehas no
childrenfield, but this
layoutmethod will eventually reach a
TextNodeand crash.
Let's fix these one by one. First, the height height. At the end of
BlockLayout.layout we know the current
y position, and it is after every child node's layout, so we just use that to change the value of
self.h:
Second, the
y argument. Let's add a
y parameter to
layout function and use that to set
self.y:
That also lets us remove the hard-coded assignment to
self.y in
__init__, and while we’re at it, let’s change
self.x and
self.w to not be hard-coded:
Since we’re now looking for data in the parent, let’s add a new type of node to be the root node:
Third and fourth, we need to call
InlineLayout to handle
TextNodes, plus the
ElementNodes that are supposed to be inline, like
<b> and
<i>. The idea is that instead using
BlockLayout to lay out each child node, we'll look to see what that node contains. If it contains a
TextNode, or if contains a
<b> or
<i> element, it will be laid out with
InlineLayout instead:
def is_inline(node): if isinstance(node, TextNode): return true else: return node.tag in ["b", "i"] def layout(self, y): self.y = y if any(is_inline(child) for child in node.children): layout = InlineLayout(self) self.children.append(layout) layout.layout(node) y += layout.height() else: # ...
Let's try it out. We'll need to tweak
show:
page = Page() layout = BlockLayout(page) layout.layout(nodes) maxh = layout.h display_list = layout.display_list()
Here I'm calling
layout.display_list() instead of directly accessing
layout.dl, because display lists will be computed differently for
InlineLayout and
BlockLayout. On an
InlineLayout that function should just return the
dl field, and on a
BlockLayout it should concatenate all its childrens' display lists:I'm trying to avoid fancy Python features where possible, but if your language supports iterators it makes a lot of sense to return an iterator from
display_list instead of a list. That will also avoid a lot of copying.
def display_list(self): dl = [] for child in self.children: dl.extend(child.display_list()) return dl
If you run this, you'll find that everything is laid out in one giant paragraph, despite all our work putting each paragraph in its own
ElementNode. That's because most elements have an all-whitespace
TextNode; that causes those elements to be laid out with
InlineLayout. A small tweak to
is_inline will mostly fix it:
We'll also need to skip these empty
TextNode objects when we create layouts for each child of a block:
You should see now see paragraphs vertically stacked, and headings should now automatically take up their own lines, as should list items, code snippets, and every other element of that sort.
One thing we lost with this big layout refactor, though, is the blank line between paragraphs. Let's add it back.
Let's add support for margins, borders, and padding, which are the main ways you change the position of block layout elements. Here's how those work. In effect, every block element has four rectangles associated with it: the margin rectangle, the border rectangle, the padding rectangle, and the content rectangle:
The margin, border, and padding, gives the width of the gap between each of these rectangles. Margin, border, and padding can be different on each side of the block). That makes for a lot of variables:
class BlockLayout: def __init__(self, parent, node): # .... self.mt = self.mr = self.mb = self.ml = 0 self.bt = self.br = self.bb = self.bl = 0 self.pt = self.pr = self.pb = self.pl = 0
The naming convention here is that the first letter stands for margin, border, or padding, while the second letter stands for top, right, bottom, or left. Let’s stick with the convention that the
x and
y fields on a layout object represent the top right of the border rectangle, so that the top margin goes above
self.y, and likewise for the left margin, but the top and left borders and padding are below and to the right of
self.y and
self.x. Similarly,
self.w and
self.h should give the width and height of the border rectangle. We can add helper functions to get some other useful sizes:
def content_left(self): return self.x + self.bl + self.pl def content_top(self): return self.y + self.bt + self.pt def content_width(self): return self.w - self.bl - self.br - self.pl - self.pr
We'll now need to take a look at every place we use these variables and add the appropriate padding, margin, or border:
BlockLayoutconstructor, instead of using
parent.xfor
self.x, we'll use
parent.content_left().
BlockLayoutconstructor, instead of using
parent.wfor
self.w, we'll use
parent.content_width().
BlockLayout.layout, we'll want to add top and left margins to
self.xand
self.y, and subtract left and right margins from
self.w.
BlockLayout.layout, we'll need to add the vertical padding and border to the
yvariable after laying out all of the children.
InlineLayoutconstructor, instead of using
block.xand
block.y, we'll use
block.content_left()and
block.content_top().
InlineLayout.text, we'll use
block.content_left()and
block.content_top().
We'll also want to modify
BlockLayout.layout to insert vertical margins between the children that it lays out:
Note that
InlineLayout does not have margin fields, but that's OK because every
InlineLayout is safely hidden inside a
BlockLayout.
Right now, all of these changes are useless since all of the fields are set to 0. Let's add code to the top of
BlockLayout.layout to set those fields:
if node.tag == "p": self.mb = 16 elif node.tag == "ul": self.mt = self.mb = 16 self.pl = 20 elif node.tag == "li": self.mb = 8
You should now see blanks between paragraphs, and list items (like in a table of contents) should be indented.
One more stop: let’s actually draw the borders. That means drawing lines (one per border) or, more precisely, rectangles (since the borders have width). That's going to mean extending the display list to draw both rectangles and text. Let's create some data structures for that.
class DrawText: def __init__(self, x, y, text, font): self.x = x self.y = y self.text = text self.font = font def draw(self, scrolly, canvas): canvas.create_text( self.x, self.y - scrolly, text=self.text, font=self.font, anchor='nw', ) class DrawRect: def __init__(self, x1, y1, x2, y2): self.x1 = x1 self.y1 = y1 self.x2 = x2 self.y2 = y2 def draw(self, scrolly, canvas): canvas.create_rectangle( self.x1, self.y1 - scrolly, self.x2, self.y2 - scrolly, width=0, fill="black", )
Here I've passed
width=0 to
create_rectangle, because otherwise
create_rectangle would draw a one-pixel black border.
Now
InlineLayout.layout will create
DrawText objects, while
BlockLayout.display_list will create
DrawRect objects for the borders.
def display_list(self): dl = [] # ... _ol, _ot = self.x, self.y _or, _ob = _ol + self.w, _ot + self.h _il, _it = _ol + self.bl, _ot + self.bt _ir, _ib = _or - self.br, _ob - self.bb if self.bl: dl.append(DrawRect(_ol, _ot, _il, _ob)) if self.br: dl.append(DrawRect(_ir, _ot, _or, _ob)) if self.bt: dl.append(DrawRect(_ol, _ot, _or, _it)) if self.bb: dl.append(DrawRect(_ol, _ib, _or, _ob)) return dl
Here I define the variables
_ol,
_il,
_ot,
_it,
_or,
_ir,
_ob, and
_ib for the outer and inner left, top, right, and bottom coordinates. The underscore is because otherwise
or would conflict with a keyword.
Finally, when we use the display list, we'll now just call
draw on each command in the display list:
This setup also makes it fairly easy to change the appearance of elements. For example, a few lines will indent code blocks 8 pixels, surround them with a one pixel border, and then add another 8 pixels between the border and the code itself:
elif node.tag == "pre": self.mr = self.ml = 8 self.bt = self.br = self.bb = self.bl = 1 self.pt = self.pr = self.pb = self.pl = 8
In this chapter, we did a pretty dramatic rewrite of the layout portion of our browser. We've split layout into two different layout modes for block and inline content, and we've extended the styling capabilities of our browser by adding margins, border, and padding.
Pageobject by instead assigning padding to the
<body>element
<li>tags. You can make them little squares, located to the left of the list item itself.
<pre>tags) should have light-gray background color, while headings (
<h2>tags) should have light-gray bottom borders, or some other colors you like better. Make sure background colors are located behind the text, not in front of it!
|
https://browser.engineering/layout.html
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
Apr 02, 2019 06:03 PM|ddesaraju|LINK
, I understood that Dependency injection is a way to code so that we can reuse most of the aspects and inject the dependencies in rutime. Can anyone give me a real time example to understand this concept. I have gone trough some search online but I do not have a clear idea. How can I achieve this in CSharp and Angular 7. Please explain with a real time example. Implementation is much helpful.
Contributor
3460 Points
Apr 03, 2019 02:55 AM|Ackerly Xu|LINK
Hi ddesaraju ,
Dependency injection relates to how an object is created and set to another object's property or constructor.
For example,
public class A{ public string Apro1 {get;set;} public B Bprop {get;set;} } public class B { public string name{get;set;} }
Here classA has a property of type B, which means classA depends on classB.
When injection container createA , if it finds it depends on classB, it will also create class B and set classA's Bprop property to the newly created class B.
Of cause, injection framework has many some ways to connect to the class you want to register into its container.
First, you should register a class to the injection container. Container is what injection framework use to maintain all the object you have registered.
Use an easy injection dependency framework unity as an example.
If I have interface IA IB.
public interface IA{} public interface IB{}
Then I have two class A which implements IA , B which implements IB.
public class A:IA { [Dependency] public IB B {get;set;} } public class B:IB { }
Unity use configuration file to register class. To be simple, I omit namespace.
<containers> <container name="default"> <register type="IA" mapTo="A" > <register type="IB" mapTo="B"> </container > </containers>
In runtime, Unity will read this configuration file and know when an object is of tye IA , it should initialize class A.
When an object is of type IB , it should initialize classB.
Please pay attention to the attribute [Dependency] in classA.
Then classA and classB all registered into unity and unity could initialize them according to requirement.
It tells unity to inject an object of type IB in its container to classA's B property. Because classB is registered in the container, then the container gets it and inject into classA's B property.
Angular's injection system is similar.
When you write a service.
@Injectable({ providedIn: 'root', }) export class HeroService { constructor() { } }
It will be registered in root injector of angular, because it is provided in root.
And then you could directly use it in your component , just need to define it in the constructor of the compoent.You don't need to worry about the initialize of heroService.
export class HeroListComponent { heroes: Hero[]; constructor(heroService: HeroService) { this.heroes = heroService.getHeroes(); } }
However as you see HeroService is class name which is different from c# (usually c# is interface).
For more information about angular's injection system,please refer to for complete guide.
Best regards,
Ackerly Xu
Contributor
3971 Points
Apr 03, 2019 04:15 AM|DA924|LINK
, I understood that Dependency injection is a way to code so that we can reuse most of the aspects and inject the dependencies in rutime
Kind of, but what it really is about is below.
2 replies
Last post Apr 03, 2019 04:15 AM by DA924
|
https://forums.asp.net/p/2154371/6257112.aspx?Re+Need+help+with+Dependency+injection
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
Compressing Data for Machine Learning
Ideally, in machine learning you can get the best results when your features don’t completely correlate with each other and each one has some predictive power with respect to the response you’re modeling. In reality, your features often do correlate with each other, displaying a high degree of redundancy in the information available to the dataset.
Having redundant data means that the same information is spread across multiple features. If it’s exactly the same information, it represents a perfect collinearity. If, instead, it’s not exactly the same information but varies in some way, you have collinearity between two variables or multicollinearity between more than two variables.
Redundant data is a problem that statistical theory created solutions to address long ago (because statistical computations can suffer a lot from multicollinearity). You might consider the topic under a statistical point of view, illustrating using the concepts of variance, covariance, and correlation. You can imagine each feature as bearing different informative components, mixed in different proportions:
- Unique variance: The redundancy is unique to a particular feature, and when correlated or associated with the response, it can add a direct contribution in the prediction of the response itself.
- Shared variance: The redundancy is common with other features because of a causality relationship between them. In this case, if the shared information is relevant to the response, the learning algorithm will have a difficult time choosing which feature to pick up. And when a feature is picked up for its shared variance, it also brings along its specific random noise.
- Random noise component: Information due to measurement problems or randomness that isn’t helpful in mapping the response but that sometimes, by mere chance (yes, luck or misfortune is part of being random), can appear related to the response itself.
Unique variance, shared variance, and random noise fuse together and can’t be separated easily. Using feature selection, you reduce the impact of noise by selecting the minimum set of features that work best with your machine learning algorithm. Another possible approach is based on the idea that you can fuse that redundant information together using a weighted average, thus creating a new feature whose main component is the shared variance of multiple features, and its noise is an average of previous noise and unique variance.
For instance, if A, B, and C share the same variance, by employing compression you can obtain a component (so it is called a new feature) made up of the weighted summation of the three features such as 0.5*A+0.3*B+0.2*C. You decide the weights on the basis of a particular technique called singular value decomposition (SVD).
SVD has various applications, not just in compressing data but also in finding latent factors (hidden features in our data) and in recommender systems, which are systems for discovering what someone might like in terms of products or films based on previous selections. For compression purposes, you might consider a technique called principal components analysis (PCA), which uses parts of the SVD outputs.
PCA works simply and straightforwardly: It takes as an input a dataset and returns a new, reconstructed dataset of the same shape. In this new dataset, all the features, called components, are uncorrelated, and the most informative components appear at the beginning of the dataset.
PCA also offers a report of how each component equates to the initial dataset. By summing the informative value of the new components, you may find that a few components express 90 percent or even 95 percent of the original information. Taking just those few components is equivalent to using the original data, thus achieving a compression of your data by removing redundancies and reducing the number of features.
As an example, the following example refers to the Boston dataset and uses Python’s Scikit implementation of PCA. R has many equivalent functions, the most popular being princomp, which you can learn about by using the help(princomp) command to obtain more information and some examples of its usage. Here is the Python code snippet for testing the effectiveness of a PCA:
from sklearn.datasets import load_boston
from sklearn.decomposition import PCA
from sklearn.preprocessing import scale
import numpy as np
from sklearn.datasets import load_boston
from sklearn.decomposition import PCA
from sklearn.preprocessing import scale
import numpy as np
boston = load_boston()
X, y = boston.data, boston.target
pca = PCA().fit(X)
After calculating the PCA, the example proceeds to print the informative power of this new reconstructed dataset:
print (' '.join(['%5i'%(k+1) for k in range(13)]))
print (' '.join(['-----']*13))
print (' '.join(["%0.3f" % (variance) for variance
in pca.explained_variance_ratio_]))
print (' '.join(["%0.3f" % (variance) for variance
in np.cumsum(pca.explained_variance_ratio_)]))
1 2 3 4 5 6 7 8 9 ...
----- ----- ----- ----- ----- ----- ----- ----- ----- ...
0.806 0.163 0.021 0.007 0.001 0.001 0.000 0.000 0.000 ...
0.806 0.969 0.990 0.997 0.998 0.999 1.000 1.000 1.000 ...
In the printed report, the thirteen components account for a cumulative dataset that exceeds 85 percent of the original when taking into account six components out of 13 and 95 percent with nine components. Using a reconstructed dataset with fewer components than the number of the original features often proves beneficial to the machine learning processes by reducing memory usage and computation time and by containing the variance of the estimates, thus assuring the stability of the results.
|
https://www.dummies.com/programming/big-data/data-science/compressing-data-machine-learning/
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
In this article, we’re going to set up dependency injection in a new ASP .NET Web API project, using Ninject as our IoC container.
For starters, do the following:
- Create a new Web API project.
- Install the Ninject.Web.WebApi NuGet package.
- Install the Ninject.Web.WebApi.WebHost NuGet package.
Since I need an injectable service to demonstrate this with, I’m also going to install my very own .NET Settings Framework via the Dandago.Settings NuGet package.
When you installed Ninject.Web.WebApi.WebHost, it added a NinjectWebCommon.cs class under the App_Start folder:
Ignore the boilerplate crap and look for the RegisterServices() method. There, you can set up your dependencies. In my case, it looks like this (needs namespace Dandago.Settings):
/// <summary> /// Load your modules or register your services here! /// </summary> /// <param name="kernel">The kernel.</param> private static void RegisterServices(IKernel kernel) { kernel.Bind<IConfigKeyReader>().To<AppSettingReader>(); kernel.Bind<IConfigKeyProvider>().To<ConfigKeyProvider>(); }
Great! Now, let’s test it. Find ValuesController and at the following code at the beginning:
private int x; public ValuesController(IConfigKeyProvider configKeyProvider) { this.x = configKeyProvider.Get<int>("x", 5); }
Run it, and we should hit the breakpoint when going to /api/values:
It’s working, and that’s all you need.
In case it wasn’t that smooth, however, here are a couple of things that might have gone wrong.
If you’re getting the above error complaining about not having a parameterless public constructor, then you probably forgot to install the Ninject.Web.WebApi.WebHost package.
If on the other hand you went ahead and installed Ninject.Web.WebApi.WebHost first, that brings in an older version of the Ninject.Web.WebApi package, causing the above
ActivationException. The solution is to upgrade Ninject.Web.WebApi.
2 thoughts on “ASP .NET Web API Dependency Injection with Ninject”
I really appreciate this extremely useful example, however I am new to Web Api 2 and I noticed that there was no formal registering of the dependency resolver that I could see. Not in the WebApiConfig.cs or in the Global.asax like I am used to?
I don’t know how you’re used to doing it, but I think it’s all in NinjectWebCommon. There are two assembly directives that refer to Start() and Stop() methods within the same file, taking care of setup and teardown. I don’t know how this relates to dependency resolvers though.
|
http://gigi.nullneuron.net/gigilabs/asp-net-web-api-dependency-injection-with-ninject/?replytocom=12301
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
google.appengine.ext.ndb package
Summary
NDB – A new datastore API for the Google App Engine Python runtime.
Contents
- google.appengine.ext.ndb.Return
alias of StopIteration
- class google.appengine.ext.ndb.
- class google.appengine.ext.ndb).
- class google.appengine.ext.ndb.
- class google.appengine.ext.ndb.GeoPt(lat, lon=None)source
Bases: object
A geographical point, specified by floating-point latitude and longitude coordinates. Often used to integrate with mapping sites like Google Maps. May also be used as ICBM coordinates.
This is the georss:point element. In XML output, the coordinates are provided as the lat and lon attributes. See:
Serializes to.Rollbacksource
Bases: google.appengine.api.datastore_errors.Error
May be raised by transaction functions when they want to roll back instead of committing. Note that any exception raised by a transaction function will cause a rollback. This is purely for convenience. See datastore.RunInTransaction for details.
- class google.appengine.ext.ndb.Indexsource
Bases: google.appengine.ext.ndb.model._NotEqualMixin
Immutable object representing an index.
- ancestor
Whether this is an ancestor index, a bool.
- kind
The kind being indexed, a string.
- properties
A list of PropertyIndex objects giving the properties being indexed.
- class.Model(*args, **kwds)source
Bases: google.appengine.ext.ndb.model._NotEqualMixin
A class describing Cloud Datastore entities.
Model instances are usually called entities. All model classes inheriting from Model automatically have MetaModel as their metaclass, so that the properties are fixed up properly after the class once the class is defined.
Because of this, you cannot use the same Property object to describe multiple properties – you must create separate Property objects for each property. E.g. this does not work:
wrong_prop = StringProperty() class Wrong(Model): wrong1 = wrong_prop wrong2 = wrong_prop
The kind is normally equal to the class name (exclusive of the module name or any other parent scope). To override the kind, define a class method named _get_kind(), as follows:
class MyModel(Model): @classmethod def _get_kind(cls): return 'AnotherKind'
- classmethod allocate_ids(size=None, max=None, parent=None, **ctx_options)source
Allocates a range of key IDs for this model class.Parameters
size – Number of IDs to allocate. Either size or max can be specified, not both.
max – Maximum ID to allocate. Either size or max can be specified, not both.
parent – Parent key for which the IDs will be allocated.
**ctx_options – Context options.
A tuple with (start, end) for the allocated range, inclusive.
- classmethod get_by_id(*args, **kwds)source
Returns an instance of Model class by ID.
This is really just a shorthand for Key(cls, id, …).get().Parameters
id – A string or integer key ID.
parent – Optional parent key of the model to get.
namespace – Optional namespace.
app – Optional app ID.
**ctx_options – Context options.
A model instance or None if not found.
- classmethod get_or_insert(*args, **kwds)source
Transactionally retrieves an existing entity or creates a new one.
- Positional Args:
name: Key name to retrieve or create.
namespace – Optional namespace.
app – Optional app ID.
parent – Parent entity key, if any.
context_options – ContextOptions object (not keyword args!) or None.
**kwds – Keyword arguments to pass to the constructor of the model class if an instance for the specified key name does not already exist. If an instance with the supplied key_name and parent already exists, these arguments will be discarded.
Existing instance of Model class with the specified key name and parent or a new one that has just been created.
- key
Special property to store the Model key.
- populate(**kwds)source
Populate an instance from keyword arguments.
Each keyword argument will be used to set a corresponding property. Keywords must refer to valid property name. This is similar to passing keyword arguments to the Model constructor, except that no provisions for key, id or parent are made.
- class google.appengine.ext.ndb.Expando(*args, **kwds)source
Bases: google.appengine.ext.ndb.model.Model
Model subclass to support dynamic Property names and types.
See the module docstring for details.
- google.appengine.ext.ndb.transaction(*args, **kwds)source
Run a callback in a transaction.Parameters
callback – A function or tasklet to be called.
**ctx_options – Transaction options.
- Useful options include:
retries=N: Retry up to N times (i.e. try up to N+1 times) propagation=<flag>: Determines how an existing transaction should be
propagated, where <flag> can be one of the following: TransactionOptions.NESTED: Start a nested transaction (this is the
default; but actual nested transactions are not yet implemented, so effectively you can only use this outside an existing transaction).
TransactionOptions.MANDATORY: A transaction must already be in progress. TransactionOptions.ALLOWED: If a transaction is in progress, join it. TransactionOptions.INDEPENDENT: Always start a new parallel transaction.
- xg=True: On the High Replication Datastore, enable cross-group
transactions, i.e. allow writing to up to 5 entity groups.
- read_only=True: Indicates a transaction will not do any writes, which
potentially allows for more throughput.
WARNING: Using anything other than NESTED for the propagation flag can have strange consequences. When using ALLOWED or MANDATORY, if an exception is raised, the transaction is likely not safe to commit. When using INDEPENDENT it is not generally safe to return values read to the caller (as they were not read in the caller’s transaction).Returns
Whatever callback() returns.Raises
Whatever callback() raises; datastore_errors.TransactionFailedError
if the transaction failed.
- class google.appengine.ext.ndb.LocalStructuredProperty(*args, **kwds)source
Bases: google.appengine.ext.ndb.model._StructuredGetForDictMixin, google.appengine.ext.ndb.model.BlobProperty
Substructure that is serialized to an opaque blob.
This looks like StructuredProperty on the Python side, but is written like a BlobProperty in Cloud Datastore. It is not indexed and you cannot query for subproperties. On the other hand, the on-disk representation is more efficient and can be made even more efficient by passing compressed=True, which compresses the blob data using gzip.
- class google.appengine.ext.ndb.TimeProperty(*args, **kwds)source
Bases: google.appengine.ext.ndb.model.DateTimeProperty
A Property whose value is a time object.
- class google.appengine.ext.ndb.UserProperty(*args, **kwds)source
Bases: google.appengine.ext.ndb.model.Property
A Property whose value is a User object.
Note: this exists for backwards compatibility with existing Cloud Datastore schemas only; we do not recommend storing User objects directly in Cloud Datastore, but instead recommend storing the user.user_id() value.
- exception google.appengine.ext.ndb.InvalidPropertyErrorsource
Bases: google.appengine.api.datastore_errors.Error
Raised when a property is not applicable to a given use.
For example, a property must exist and be indexed to be used in a query’s projection or group by clause.
- exception.ComputedProperty(func, name=None, indexed=None, repeated=None, verbose_name=None)source
Bases: google.appengine.ext.ndb.model.GenericProperty
A Property whose value is determined by a user-supplied function.
Computed properties cannot be set directly, but are instead generated by a function when required. They are useful to provide fields in Cloud Datastore that can be used for filtering or sorting without having to manually set the value in code - for example, sorting on the length of a BlobProperty, or using an equality filter to check if another field is not empty.
ComputedProperty can be declared as a regular property, passing a function as the first argument, or it can be used as a decorator for the function that does the calculation.
Example:>>> class DatastoreFile(Model): ... name = StringProperty() ... name_lower = ComputedProperty(lambda self: self.name.lower()) ... ... data = BlobProperty() ... ... @ComputedProperty ... def size(self): ... return len(self.data) ... ... def _compute_hash(self): ... return hashlib.sha1(self.data).hexdigest() ... hash = ComputedProperty(_compute_hash, name='sha1')
- class google.appengine.ext.ndb.KeyProperty(*args, **kwds)source
Bases: google.appengine.ext.ndb.model.Property
A Property whose value is a Key object.
Optional keyword argument: kind=<kind>, to require that keys assigned to this property always have the indicated kind. May be a string or a Model subclass.
-’, have names starting with an underscore, because StructuredProperty uses the non-underscore attribute namespace to refer to nested Property names; this is essential for specifying queries on subproperties (see the module docstring).
The Property class and its predefined subclasses allow easy subclassing using composable (or stackable) validation and conversion APIs. These require some terminology definitions:
A ‘user value’ is a value such as would be set and accessed by the application code using standard attributes on the entity.
A ‘base value’ is a value such as would be serialized to and deserialized from Cloud Datastore.
The values stored in ent._values[name] and accessed by _store_value() and _retrieve_value() can be either user values or base values. To retrieve user values, use _get_user_value(). To retrieve base values, use _get_base_value(). In particular, _get_value() calls _get_user_value(), and _serialize() effectively calls _get_base_value().
To store a user value, just call _store_value(). To store a base value, wrap the value in a _BaseValue() and then call _store_value().
A Property subclass that wants to implement a specific transformation between user values and serialiazble values should implement two methods, _to_base_type() and _from_base_type(). These should NOT call their super() method; super calls are taken care of by _call_to_base_type() and _call_from_base_type(). This is what is meant by composable (or stackable) APIs.
The API supports ‘stacking’ classes with ever more sophisticated user<–>base conversions: the user–>base conversion goes from more sophisticated to less sophisticated, while the base–>user conversion goes from less sophisticated to more sophisticated. For example, see the relationship between BlobProperty, TextProperty and StringProperty.
In addition to _to_base_type() and _from_base_type(), the _validate() method is also a composable API.
The validation API distinguishes between ‘lax’ and ‘strict’.
Example/boilerplate:
- def _validate(self, value to (strict) user value.’ if not isinstance(value, <base type>):
return <user type>(value)
Things that _validate(), _to_base_type() and _from_base_type() do not need to handle:
None: They will not be called with None (and if they return None, this means that the value does not need conversion).
Repeated values: The infrastructure (_get_user_value() and _get_base_value()) takes care of calling _from_base_type() or _to_base_type() for each list item in a repeated value.
Wrapping values in _BaseValue(): The wrapping and unwrapping is taken care of by the infrastructure that calls.
Returning the original value: if any of these return None, the original value is kept. (Returning a differen value not equal to None will substitute the different value.)
- IN(value)source
Comparison operator for the ‘in’ comparison operator.
The Python ‘in’ operator cannot be overloaded in the way we want to, so we define a method. For example:
Employee.query(Employee.rank.IN([4, 5, 6]))
Note that the method is called ._IN() but may normally be invoked as .IN(); ._IN() is provided for the case you have a StructuredProperty with a model that has a Property named IN.
- class google.appengine.ext.ndb.DateTimeProperty(*args, **kwds)source
Bases: google.appengine.ext.ndb.model.Property).
- class google.appengine.ext.ndb.GenericProperty(*args, **kwds)source
Bases: google.appengine.ext.ndb.model.Property
A Property whose value can be (almost) any basic type.
This is mainly used for Expando and for orphans (values present in Cloud Datastore but not represented in the Model subclass) but can also be used explicitly for properties with dynamically-typed values.
This supports compressed=True, which is only effective for str values (not for unicode), and implies indexed=False.
- exceptionOptionssource
Bases: google.appengine.ext.ndb.context.ContextOptions, google.appengine.datastore.datastore_query.QueryOptions
Support both context options and query options (esp. use_cache).
- class.
|
https://cloud.google.com/appengine/docs/standard/python/refdocs/google.appengine.ext.ndb?hl=en-AU
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Hi, Committed as obvious. Kazu Hirata 2006-12-02 Kazu Hirata <kazu@codesourcery.com> * builtins.c, cfgloop.h, cgraph.h, config/arm/arm.c, config/i386/i386.c, config/i386/i386.h, config/mips/mips.h, config/rs6000/cell.md, config/rs6000/rs6000.c, config/sh/sh.c, config/sh/sh4-300.md, config/spu/spu-builtins.def, config/spu/spu-c.c, config/spu/spu-modes.def, config/spu/spu.c, config/spu/spu.md, config/spu/spu_internals.h, config/spu/vmx2spu.h, fold-const.c, fwprop.c, predict.c, tree-data-ref.h, tree-flow.h, tree-ssa-loop-manip.c, tree-ssa-loop-niter.c, tree-ssa-pre.c, tree-vect-analyze.c, tree-vect-transform.c, tree-vectorizer.c, tree-vrp.c: Fix comment typos. Follow spelling conventions. Index: builtins.c =================================================================== --- builtins.c (revision 119436) +++ builtins.c (working copy) @@ -554,7 +554,7 @@ expand_builtin_return_addr (enum built_i override us. Therefore frame pointer elimination is OK, and using the soft frame pointer is OK. - For a non-zero count, or a zero count with __builtin_frame_address, + For a nonzero count, or a zero count with __builtin_frame_address, we require a stable offset from the current frame pointer to the previous one, so we must use the hard frame pointer, and we must disable frame pointer elimination. */ @@ -11495,7 +11495,7 @@ init_target_chars (void) /* Helper function for do_mpfr_arg*(). Ensure M is a normal number and no overflow/underflow occurred. INEXACT is true if M was not - exacly calculated. TYPE is the tree type for the result. This + exactly calculated. TYPE is the tree type for the result. This function assumes that you cleared the MPFR flags and then calculated M to see if anything subsequently set a flag prior to entering this function. Return NULL_TREE if any checks fail. */ Index: cfgloop.h =================================================================== --- cfgloop.h (revision 119436) +++ cfgloop.h (working copy) @@ -143,7 +143,7 @@ struct loop struct nb_iter_bound *bounds; /* If not NULL, loop has just single exit edge stored here (edges to the - EXIT_BLOCK_PTR do not count. Do not use direcly, this field should + EXIT_BLOCK_PTR do not count. Do not use directly; this field should only be accessed via single_exit/set_single_exit functions. */ edge single_exit_; Index: cgraph.h =================================================================== --- cgraph.h (revision 119436) +++ cgraph.h (working copy) @@ -51,7 +51,7 @@ enum availability struct cgraph_local_info GTY(()) { - /* Estiimated stack frame consumption by the function. */ + /* Estimated stack frame consumption by the function. */ HOST_WIDE_INT estimated_self_stack_size; /* Size of the function before inlining. */ Index: config/arm/arm.c =================================================================== --- config/arm/arm.c (revision 119436) +++ config/arm/arm.c (working copy) @@ -394,7 +394,7 @@ rtx arm_compare_op0, arm_compare_op1; /* The processor for which instructions should be scheduled. */ enum processor_type arm_tune = arm_none; -/* The default processor used if not overriden by commandline. */ +/* The default processor used if not overridden by commandline. */ static enum processor_type arm_default_cpu = arm_none; /* Which floating point model to use. */ Index: config/i386/i386.c =================================================================== --- config/i386/i386.c (revision 119436) +++ config/i386/i386.c (working copy) @@ -530,7 +530,7 @@ struct processor_costs athlon_cost = { COSTS_N_INSNS (2), /* cost of FCHS instruction. */ COSTS_N_INSNS (35), /* cost of FSQRT instruction. */ /* For some reason, Athlon deals better with REP prefix (relative to loops) - comopared to K8. Alignment becomes important after 8 bytes for mempcy and + compared to K8. Alignment becomes important after 8 bytes for mempcy and 128 bytes for memset. */ {{libcall, {{2048, rep_prefix_4_byte}, {-1, libcall}}}, DUMMY_STRINGOP_ALGS}, @@ -13171,7 +13171,7 @@ expand_movmem_epilogue (rtx destmem, rtx /* When there are stringops, we can cheaply increase dest and src pointers. Otherwise we save code size by maintaining offset (zero is readily - available from preceeding rep operation) and using x86 addressing modes. + available from preceding rep operation) and using x86 addressing modes. */ if (TARGET_SINGLE_STRINGOP) { @@ -13621,7 +13621,7 @@ ix86_expand_movmem (rtx dst, rtx src, rt); @@ -13783,7 +13783,7 @@ ix86_expand_movmem (rtx dst, rtx src, rt dst = change_address (dst, BLKmode, destreg); } - /* Epologue to copy the remaining bytes. */ + /* Epilogue to copy the remaining bytes. */ if (label) { if (size_needed < desired_align - align) @@ -13909,7 +13909,7 @@ ix86_expand_setmem (rtx dst, rtx count_e); Index: config/i386/i386.h =================================================================== --- config/i386/i386.h (revision 119436) +++ config/i386/i386.h (working copy) @@ -1494,7 +1494,7 @@ typedef struct ix86_args { int warn_mmx; /* True when we want to warn about MMX ABI. */ int maybe_vaarg; /* true for calls to possibly vardic fncts. */ int float_in_x87; /* 1 if floating point arguments should - be passed in 80387 registere. */ + be passed in 80387 registers. */ int float_in_sse; /* 1 if in 32-bit mode SFmode (2 for DFmode) should be passed in SSE registers. Otherwise 0. */ } CUMULATIVE_ARGS; Index: config/mips/mips.h =================================================================== --- config/mips/mips.h (revision 119436) +++ config/mips/mips.h (working copy) @@ -576,7 +576,7 @@ extern const struct mips_rtx_cost_data * been generated up to this point. */ #define ISA_HAS_BRANCHLIKELY (!ISA_MIPS1) -/* ISA has a three-operand multiplcation instruction (usually spelt "mul"). */ +/* ISA has a three-operand multiplication instruction (usually spelt "mul"). */ #define ISA_HAS_MUL3 ((TARGET_MIPS3900 \ || TARGET_MIPS5400 \ || TARGET_MIPS5500 \ Index: config/rs6000/cell.md =================================================================== --- config/rs6000/cell.md (revision 119436) +++ config/rs6000/cell.md (working copy) @@ -21,10 +21,10 @@ ;; Sources: BE BOOK4 (/sfs/enc/doc/PPU_BookIV_DD3.0_latest.pdf) -;; BE Architechture *DD3.0 and DD3.1* +;; BE Architecture *DD3.0 and DD3.1* ;; This file simulate PPU processor unit backend of pipeline, maualP24. ;; manual P27, stall and flush points -;; IU, XU, VSU, dipatcher decodes and dispatch 2 insns per cycle in program +;; IU, XU, VSU, dispatcher decodes and dispatch 2 insns per cycle in program ;; order, the grouped adress are aligned by 8 ;; This file only simulate one thread situation ;; XU executes all fixed point insns(3 units, a simple alu, a complex unit, @@ -43,7 +43,7 @@ ;;VMX(perm,vsu_ls, fp_ls) X ;; X are illegal combination. -;; Dual issue exceptons: +;; Dual issue exceptions: ;;(1) nop-pipelined FXU instr in slot 0 ;;(2) non-pipelined FPU inst in slot 0 ;; CSI instr(contex-synchronizing insn) @@ -51,7 +51,7 @@ ;; BRU unit: bru(none register stall), bru_cr(cr register stall) ;; VSU unit: vus(vmx simple), vup(vmx permute), vuc(vmx complex), -;; vuf(vmx float), fpu(floats). fpu_div is hypthetical, it is for +;; vuf(vmx float), fpu(floats). fpu_div is hypothetical, it is for ;; nonpipelined simulation ;; micr insns will stall at least 7 cycles to get the first instr from ROM, ;; micro instructions are not dual issued. @@ -378,7 +378,7 @@ (define_bypass 3 "cell-vecfloat" "cell-v ; this is not correct, ;; this is a stall in general and not dependent on result (define_bypass 13 "cell-vecstore" "cell-fpstore") -; this is not correct, this can never be true, not depent on result +; this is not correct, this can never be true, not dependent on result (define_bypass 7 "cell-fp" "cell-fpload") ;; vsu1 should avoid writing to the same target register as vsu2 insn ;; within 12 cycles. @@ -396,6 +396,6 @@ (define_bypass 10 "cell-mtjmpr" "cell-br ;;Things are not simulated: ;; update instruction, update address gpr are not simulated -;; vrefp, vrsqrtefp have latency(14), currently simluated as 12 cycle float +;; vrefp, vrsqrtefp have latency(14), currently simulated as 12 cycle float ;; insns Index: config/rs6000/rs6000.c =================================================================== --- config/rs6000/rs6000.c (revision 119436) +++ config/rs6000/rs6000.c (working copy) @@ -17557,7 +17557,7 @@ rs6000_sched_reorder2 (FILE *dump, int s cycle and we attempt to locate another load in the ready list to issue with it. - - If the pedulum is -2, then two stores have already been + - If the pendulum is -2, then two stores have already been issued in this cycle, so we increase the priority of the first load in the ready list to increase it's likelihood of being chosen first in the next cycle. Index: config/sh/sh.c =================================================================== --- config/sh/sh.c (revision 119436) +++ config/sh/sh.c (working copy) @@ -1416,7 +1416,7 @@ prepare_cbranch_operands (rtx *operands, compare r0. Hence, if operands[1] has to be loaded from somewhere else into a register, that register might as well be r0, and we allow the constant. If it is already in a register, this is likely to be - allocatated to a different hard register, thus we load the constant into + allocated to a different hard register, thus we load the constant into a register unless it is zero. */ if (!REG_P (operands[2]) && (GET_CODE (operands[2]) != CONST_INT @@ -1468,7 +1468,7 @@ expand_cbranchsi4 (rtx *operands, enum r operation should be EQ or NE. - If items are searched in an ordered tree from the root, we can expect the highpart to be unequal about half of the time; operation should be - an unequality comparison, operands non-constant, and overall probability + an inequality comparison, operands non-constant, and overall probability about 50%. Likewise for quicksort. - Range checks will be often made against constants. Even if we assume for simplicity an even distribution of the non-constant operand over a @@ -2413,7 +2413,7 @@ sh_rtx_costs (rtx x, int code, int outer && CONST_OK_FOR_K08 (INTVAL (x))) *total = 1; /* prepare_cmp_insn will force costly constants int registers before - the cbrach[sd]i4 pattterns can see them, so preserve potentially + the cbrach[sd]i4 patterns can see them, so preserve potentially interesting ones not covered by I08 above. */ else if (outer_code == COMPARE && ((unsigned HOST_WIDE_INT) INTVAL (x) @@ -2440,7 +2440,7 @@ sh_rtx_costs (rtx x, int code, int outer if (TARGET_SHMEDIA) *total = COSTS_N_INSNS (4); /* prepare_cmp_insn will force costly constants int registers before - the cbrachdi4 patttern can see them, so preserve potentially + the cbrachdi4 pattern can see them, so preserve potentially interesting ones. */ else if (outer_code == COMPARE && GET_MODE (x) == DImode) *total = 1; Index: config/sh/sh4-300.md =================================================================== --- config/sh/sh4-300.md (revision 119436) +++ config/sh/sh4-300.md (working copy) @@ -189,7 +189,7 @@ (define_insn_reservation "sh4_300_ocbwb" ;; In most cases, the insn that loads the address of the call should have ;; a non-zero latency (mov rn,rm doesn't make sense since we could use rn ;; for the address then). Thus, a preceding insn that can be paired with -;; a call should be elegible for the delay slot. +;; a call should be eligible for the delay slot. ;; ;; calls introduce a longisch delay that is likely to flush the pipelines ;; of the caller's instructions. Ordinary functions tend to end with a Index: config/spu/spu-builtins.def =================================================================== --- config/spu/spu-builtins.def (revision 119436) +++ config/spu/spu-builtins.def (working copy) @@ -1,4 +1,4 @@ -/* Definitions of builtin fuctions for the Synergistic Processing Unit (SPU). */ +/* Definitions of builtin functions for the Synergistic Processing Unit (SPU). */ /* Copyright (C) 2006 Free Software Foundation, Inc. This file is free software; you can redistribute it and/or modify it under @@ -24,8 +24,8 @@ #define _A3(a,b,c) {a, b, c, SPU_BTI_END_OF_PARAMS} #define _A4(a,b,c,d) {a, b, c, d, SPU_BTI_END_OF_PARAMS} -/* definitions to support si intrinisic functions: (These and other builtin - * definitions must preceed definitions of the overloaded generic intrinsics */ +/* definitions to support si intrinsic functions: (These and other builtin + * definitions must precede definitions of the overloaded generic intrinsics */ DEF_BUILTIN (SI_LQD, CODE_FOR_spu_lqd, "si_lqd", B_INSN, _A3(SPU_BTI_QUADWORD, SPU_BTI_QUADWORD, SPU_BTI_S10_4)) DEF_BUILTIN (SI_LQX, CODE_FOR_spu_lqx, "si_lqx", B_INSN, _A3(SPU_BTI_QUADWORD, SPU_BTI_QUADWORD, SPU_BTI_QUADWORD)) @@ -701,10 +701,10 @@ DEF_BUILTIN (SPU_PROMOTE_7, CODE_ DEF_BUILTIN (SPU_PROMOTE_8, CODE_FOR_spu_promote, "spu_promote_8", B_INTERNAL, _A3(SPU_BTI_V4SF, SPU_BTI_FLOAT, SPU_BTI_INTSI)) DEF_BUILTIN (SPU_PROMOTE_9, CODE_FOR_spu_promote, "spu_promote_9", B_INTERNAL, _A3(SPU_BTI_V2DF, SPU_BTI_DOUBLE, SPU_BTI_INTSI)) -/* We need something that is not B_INTERNAL as a sentinal. */ +/* We need something that is not B_INTERNAL as a sentinel. */ -/* These are for the convenience of imlpemnting fma() in the standard - libraries. */ +/* These are for the convenience of implementing fma() in the standard + libraries. */ DEF_BUILTIN (SCALAR_FMA, CODE_FOR_fma_sf, "fmas", B_INSN, _A4(SPU_BTI_FLOAT, SPU_BTI_FLOAT, SPU_BTI_FLOAT, SPU_BTI_FLOAT)) DEF_BUILTIN (SCALAR_DFMA, CODE_FOR_fma_df, "dfmas", B_INSN, _A4(SPU_BTI_DOUBLE, SPU_BTI_DOUBLE, SPU_BTI_DOUBLE, SPU_BTI_DOUBLE)) Index: config/spu/spu-c.c =================================================================== --- config/spu/spu-c.c (revision 119436) +++ config/spu/spu-c.c (working copy) @@ -72,7 +72,7 @@ spu_resolve_overloaded_builtin (tree fnd struct spu_builtin_description *desc; tree match = NULL_TREE; - /* The vector types are not available if the backend is not initalized */ + /* The vector types are not available if the backend is not initialized. */ gcc_assert (!flag_preprocess_only); desc = &spu_builtins[fcode]; Index: config/spu/spu-modes.def =================================================================== --- config/spu/spu-modes.def (revision 119436) +++ config/spu/spu-modes.def (working copy) @@ -25,8 +25,8 @@ VECTOR_MODES (INT, 16); /* V16QI V VECTOR_MODES (FLOAT, 8); /* V4HF V2SF */ VECTOR_MODES (FLOAT, 16); /* V8HF V4SF V2DF */ -/* A special mode for the intr regsister so we can treat it differently - for conditional moves. */ +/* A special mode for the intr register so we can treat it differently + for conditional moves. */ RANDOM_MODE (INTR); /* cse_insn needs an INT_MODE larger than WORD_MODE, otherwise some Index: config/spu/spu.c =================================================================== --- config/spu/spu.c (revision 119436) +++ config/spu/spu.c (working copy) @@ -322,7 +322,7 @@ valid_subreg (rtx op) } /* When insv and ext[sz]v ar passed a TI SUBREG, we want to strip it off - and ajust the start offset. */ + and adjust the start offset. */ static rtx adjust_operand (rtx op, HOST_WIDE_INT * start) { @@ -1651,8 +1651,8 @@ int spu_hint_dist = (8 * 4); /* An array of these is used to propagate hints to predecessor blocks. */ struct spu_bb_info { - rtx prop_jump; /* propogated from another block */ - basic_block bb; /* the orignal block. */ + rtx prop_jump; /* propagated from another block */ + basic_block bb; /* the original block. */ }; /* The special $hbr register is used to prevent the insn scheduler from @@ -2455,7 +2455,7 @@ spu_legitimate_address (enum machine_mod } /* When the address is reg + const_int, force the const_int into a - regiser. */ + register. */ rtx spu_legitimize_address (rtx x, rtx oldx ATTRIBUTE_UNUSED, enum machine_mode mode) @@ -2697,7 +2697,7 @@ spu_pass_by_reference (CUMULATIVE_ARGS * } va_list[1]; - wheare __args points to the arg that will be returned by the next + where __args points to the arg that will be returned by the next va_arg(), and __skip points to the previous stack frame such that when __args == __skip we should advance __args by 32 bytes. */ static tree @@ -2913,8 +2913,8 @@ spu_conditional_register_usage (void) aligned. Taking into account that CSE might replace this reg with another one that has not been marked aligned. So this is really only true for frame, stack and virtual registers, - which we know are always aligned and should not be adversly effected - by CSE. */ + which we know are always aligned and should not be adversely effected + by CSE. */ static int regno_aligned_for_load (int regno) { @@ -2981,7 +2981,7 @@ store_with_one_insn_p (rtx mem) if (GET_CODE (addr) == SYMBOL_REF) { /* We use the associated declaration to make sure the access is - refering to the whole object. + referring to the whole object. We check both MEM_EXPR and and SYMBOL_REF_DECL. I'm not sure if it is necessary. Will there be cases where one exists, and the other does not? Will there be cases where both exist, but @@ -3426,8 +3426,8 @@ mem_is_padded_component_ref (rtx x) if (GET_MODE (x) != TYPE_MODE (TREE_TYPE (t))) return 0; /* If there are no following fields then the field alignment assures - the structure is padded to the alignement which means this field is - padded too. */ + the structure is padded to the alignment which means this field is + padded too. */ if (TREE_CHAIN (t) == 0) return 1; /* If the following field is also aligned then this field will be Index: config/spu/spu.md =================================================================== --- config/spu/spu.md (revision 119436) +++ config/spu/spu.md (working copy) @@ -1178,8 +1178,8 @@ (define_insn "mpyu_si" [(set_attr "type" "fp7")]) ;; This isn't always profitable to use. Consider r = a * b + c * d. -;; It's faster to do the multplies in parallel then add them. If we -;; merge a multply and add it prevents the multplies from happening in +;; It's faster to do the multiplies in parallel then add them. If we +;; merge a multiply and add it prevents the multiplies from happening in ;; parallel. (define_insn "mpya_si" [(set (match_operand:SI 0 "spu_reg_operand" "=r") Index: config/spu/spu_internals.h =================================================================== --- config/spu/spu_internals.h (revision 119436) +++ config/spu/spu_internals.h (working copy) @@ -256,7 +256,7 @@ #define __align_hint(ptr,base,offset) __builtin_spu_align_hint(ptr,base,offset) -/* generic spu_* intrinisics */ +/* generic spu_* intrinsics */ #define spu_splats(scalar) __builtin_spu_splats(scalar) #define spu_convtf(ra,imm) __builtin_spu_convtf(ra,imm) Index: config/spu/vmx2spu.h =================================================================== --- config/spu/vmx2spu.h (revision 119436) +++ config/spu/vmx2spu.h (working copy) @@ -2155,7 +2155,7 @@ static inline vec_int4 vec_subs(vec_int4 } -/* vec_sum4s (vector sum across partial (1/4) staturated) +/* vec_sum4s (vector sum across partial (1/4) saturated) * ========= */ static inline vec_uint4 vec_sum4s(vec_uchar16 a, vec_uint4 b) @@ -2187,7 +2187,7 @@ static inline vec_int4 vec_sum4s(vec_sho } -/* vec_sum2s (vector sum across partial (1/2) staturated) +/* vec_sum2s (vector sum across partial (1/2) saturated) * ========= */ static inline vec_int4 vec_sum2s(vec_int4 a, vec_int4 b) @@ -2223,7 +2223,7 @@ static inline vec_int4 vec_sum2s(vec_int } -/* vec_sums (vector sum staturated) +/* vec_sums (vector sum saturated) * ======== */ static inline vec_int4 vec_sums(vec_int4 a, vec_int4 b) @@ -2909,7 +2909,7 @@ static inline int vec_all_ne(vec_float4 } -/* vec_all_nge (all elements not greater than or eqaul) +/* vec_all_nge (all elements not greater than or equal) * =========== */ static inline int vec_all_nge(vec_float4 a, vec_float4 b) @@ -3385,7 +3385,7 @@ static inline int vec_any_ne(vec_float4 } -/* vec_any_nge (any elements not greater than or eqaul) +/* vec_any_nge (any elements not greater than or equal) * =========== */ static inline int vec_any_nge(vec_float4 a, vec_float4 b) Index: fold-const.c =================================================================== --- fold-const.c (revision 119436) +++ fold-const.c (working copy) @@ -7818,7 +7818,7 @@ maybe_canonicalize_comparison_1 (enum tr || TREE_OVERFLOW (cst0)) return NULL_TREE; - /* See if we can reduce the mangitude of the constant in + /* See if we can reduce the magnitude of the constant in arg0 by changing the comparison code. */ if (code0 == INTEGER_CST) { @@ -7899,7 +7899,7 @@ maybe_canonicalize_comparison (enum tree return t; /* Try canonicalization by simplifying arg1 using the swapped - comparsion. */ + comparison. */ code = swap_tree_comparison (code); return maybe_canonicalize_comparison_1 (code, type, arg1, arg0); } Index: fwprop.c =================================================================== --- fwprop.c (revision 119436) +++ fwprop.c (working copy) @@ -389,7 +389,7 @@ propagate_rtx_1 (rtx *px, rtx old, rtx n } /* Replace all occurrences of OLD in X with NEW and try to simplify the - resulting expression (in mode MODE). Return a new expresion if it is + resulting expression (in mode MODE). Return a new expression if it is a constant, otherwise X. Simplifications where occurrences of NEW collapse to a constant are always Index: predict.c =================================================================== --- predict.c (revision 119436) +++ predict.c (working copy) @@ -1601,7 +1601,7 @@ estimate_loops_at_level (struct loop *fi } } -/* Propates frequencies through structure of loops. */ +/* Propagates frequencies through structure of loops. */ static void estimate_loops (void) Index: tree-data-ref.h =================================================================== --- tree-data-ref.h (revision 119436) +++ tree-data-ref.h (working copy) @@ -119,7 +119,7 @@ struct data_reference a[j].b[5][j] = 0; Here the offset expression (j * C_j + C) will not contain variables after - subsitution of j=3 (3*C_j + C). + substitution of j=3 (3*C_j + C). Misalignment can be calculated only if all the variables can be substituted with constants, otherwise, we record maximum possible alignment Index: tree-flow.h =================================================================== --- tree-flow.h (revision 119436) +++ tree-flow.h (working copy) @@ -39,8 +39,8 @@ struct basic_block_def; typedef struct basic_block_def *basic_block; #endif -/* Gimple dataflow datastructure. All publically available fields shall have - gimple_ accessor defined in tree-flow-inline.h, all publically modifiable +/* Gimple dataflow datastructure. All publicly available fields shall have + gimple_ accessor defined in tree-flow-inline.h, all publicly modifiable fields should have gimple_set accessor. */ struct gimple_df GTY(()) { /* Array of all variables referenced in the function. */ Index: tree-ssa-loop-manip.c =================================================================== --- tree-ssa-loop-manip.c (revision 119436) +++ tree-ssa-loop-manip.c (working copy) @@ -627,7 +627,7 @@ can_unroll_loop_p (struct loop *loop, un || niter->cmp == ERROR_MARK /* Scalar evolutions analysis might have copy propagated the abnormal ssa names into these expressions, hence - emiting the computations based on them during loop + emitting the computations based on them during loop unrolling might create overlapping life ranges for them, and failures in out-of-ssa. */ || contains_abnormal_ssa_name_p (niter->may_be_zero) Index: tree-ssa-loop-niter.c =================================================================== --- tree-ssa-loop-niter.c (revision 119436) +++ tree-ssa-loop-niter.c (working copy) @@ -1831,7 +1831,7 @@ idx_infer_loop_bounds (tree base, tree * unsigned char). To make things simpler, we require both bounds to fit into type, although - there are cases where this would not be strightly necessary. */ + there are cases where this would not be strictly necessary. */ if (!int_fits_type_p (high, type) || !int_fits_type_p (low, type)) return true; @@ -2086,7 +2086,7 @@ n_of_executions_at_most (tree stmt, -- if NITER_BOUND->is_exit is true, then everything before NITER_BOUND->stmt is executed at most NITER_BOUND->bound + 1 - times, and everyting after it at most NITER_BOUND->bound times. + times, and everything after it at most NITER_BOUND->bound times. -- If NITER_BOUND->is_exit is false, then if we can prove that when STMT is executed, then NITER_BOUND->stmt is executed as well in the same Index: tree-ssa-pre.c =================================================================== --- tree-ssa-pre.c (revision 119436) +++ tree-ssa-pre.c (working copy) @@ -1668,7 +1668,7 @@ compute_antic_aux (basic_block block, bo (since the maximal set often has 300+ members, even when you have a small number of blocks). Basically, we defer the computation of ANTIC for this block - until we have processed it's successor, which will inveitably + until we have processed it's successor, which will inevitably have a *much* smaller set of values to phi translate once clean has been run on it. The cost of doing this is that we technically perform more Index: tree-vect-analyze.c =================================================================== --- tree-vect-analyze.c (revision 119436) +++ tree-vect-analyze.c (working copy) @@ -1428,7 +1428,7 @@ vect_enhance_data_refs_alignment (loop_v { /* For interleaved access we peel only if number of iterations in the prolog loop ({VF - misalignment}), is a multiple of the - number of the interelaved accesses. */ + number of the interleaved accesses. */ int elem_size, mis_in_elements; int vf = LOOP_VINFO_VECT_FACTOR (loop_vinfo); @@ -2228,7 +2228,8 @@ vect_mark_stmts_to_be_vectorized (loop_v is not used inside the loop), it will be vectorized, and therefore the corresponding DEF_STMTs need to marked as relevant. We distinguish between two kinds of relevant stmts - those that are - used by a reduction conputation, and those that are (also) used by a regular computation. This allows us later on to identify stmts + used by a reduction computation, and those that are (also) used by + a regular computation. This allows us later on to identify stmts that are used solely by a reduction, and therefore the order of the results that they produce does not have to be kept. */ Index: tree-vect-transform.c =================================================================== --- tree-vect-transform.c (revision 119436) +++ tree-vect-transform.c (working copy) @@ -368,7 +368,7 @@ vect_create_data_ref_ptr (tree stmt, /* Function bump_vector_ptr Increment a pointer (to a vector type) by vector-size. Connect the new - increment stmt to the exising def-use update-chain of the pointer. + increment stmt to the existing def-use update-chain of the pointer. The pointer def-use update-chain before this function: DATAREF_PTR = phi (p_0, p_2) @@ -658,7 +658,7 @@ vect_get_vec_def_for_operand (tree op, t stmts operating on wider types we need to create 'VF/nunits' "copies" of the vector stmt (each computing a vector of 'nunits' results, and together computing 'VF' results in each iteration). This function is called when - vectorizing such a stmt (e.g. vectorizing S2 in the illusration below, in + vectorizing such a stmt (e.g. vectorizing S2 in the illustration below, in which VF=16 and nuniti=4, so the number of copies required is 4): scalar stmt: vectorized into: STMT_VINFO_RELATED_STMT @@ -2495,13 +2495,13 @@ vect_strided_store_supported (tree vecty /* Function vect_permute_store_chain. - Given a chain of interleaved strores in DR_CHAIN of LENGTH that must be + Given a chain of interleaved stores in DR_CHAIN of LENGTH that must be a power of 2, generate interleave_high/low stmts to reorder the data correctly for the stores. Return the final references for stores @@ -2529,7 +2529,7 @@ vect_strided_store_supported (tree vecty and of interleave_low: 2 6 3 7 - The permutaion is done in log LENGTH stages. In each stage interleave_high + The permutation is done in log LENGTH stages. In each stage interleave_high and interleave_low stmts are created for each pair of vectors in DR_CHAIN, where the first argument is taken from the first half of DR_CHAIN and the second argument from it's second half. @@ -2758,7 +2758,7 @@ vectorizable_store (tree stmt, block_stm And they are put in STMT_VINFO_VEC_STMT of the corresponding scalar stmts (the order of the data-refs in the output of vect_permute_store_chain corresponds to the order of scalar stmts in the interleaving chain - see - the documentaion of vect_permute_store_chain()). + the documentation of vect_permute_store_chain()). In case of both multiple types and interleaving, above vector stores and permutation stmts are created for every copy. The result vector stmts are @@ -3050,7 +3050,7 @@ vect_strided_load_supported (tree vectyp correctly. Return the final references for loads @@ -3078,7 +3078,7 @@ vect_strided_load_supported (tree vectyp and of extract_odd: 1 3 5 7 - The permutaion is done in log LENGTH stages. In each stage extract_even and + The permutation is done in log LENGTH stages. In each stage extract_even and extract_odd stmts are created for each pair of vectors in DR_CHAIN in their order. In our example, @@ -3443,7 +3443,7 @@ vectorizable_load (tree stmt, block_stmt And they are put in STMT_VINFO_VEC_STMT of the corresponding scalar stmts (the order of the data-refs in the output of vect_permute_load_chain corresponds to the order of scalar stmts in the interleaving chain - see - the documentaion of vect_permute_load_chain()). + the documentation of vect_permute_load_chain()). The generation of permutation stmts and recording them in STMT_VINFO_VEC_STMT is done in vect_transform_strided_load(). @@ -4332,7 +4332,7 @@ vect_gen_niters_for_prolog_loop (loop_ve if (DR_GROUP_FIRST_DR (stmt_info)) { - /* For interleaved access element size must be multipled by the size of + /* For interleaved access element size must be multiplied by the size of the interleaved group. */ group_size = DR_GROUP_SIZE (vinfo_for_stmt ( DR_GROUP_FIRST_DR (stmt_info))); Index: tree-vectorizer.c =================================================================== --- tree-vectorizer.c (revision 119436) +++ tree-vectorizer.c (working copy) @@ -1762,7 +1762,7 @@ vect_is_simple_use (tree operand, loop_v vector form (i.e., when operating on arguments of type VECTYPE). The two kinds of widening operations we currently support are - NOP and WIDEN_MULT. This function checks if these oprations + NOP and WIDEN_MULT. This function checks if these operations are supported by the target platform either directly (via vector tree-codes), or via target builtins. @@ -1796,9 +1796,9 @@ supportable_widening_operation (enum tre vect1: [res1,res2,res3,res4], vect2: [res5,res6,res7,res8]. However, in the special case that the result of the widening operation is - used in a reduction copmutation only, the order doesn't matter (because + used in a reduction computation only, the order doesn't matter (because when vectorizing a reduction we change the order of the computation). - Some targets can take advatage of this and generate more efficient code. + Some targets can take advantage of this and generate more efficient code. For example, targets like Altivec, that support widen_mult using a sequence of {mult_even,mult_odd} generate the following vectors: vect1: [res1,res3,res5,res7], vect2: [res2,res4,res6,res8]. */ Index: tree-vrp.c =================================================================== --- tree-vrp.c (revision 119436) +++ tree-vrp.c (working copy) @@ -2902,7 +2902,7 @@ register_edge_assert_for (tree name, edg /* In the case of NAME == 1 or NAME != 0, for TRUTH_AND_EXPR defining statement of NAME we can assert both operands of the TRUTH_AND_EXPR - have non-zero value. */ + have nonzero value. */ if (((comp_code == EQ_EXPR && integer_onep (val)) || (comp_code == NE_EXPR && integer_zerop (val)))) {
|
https://gcc.gnu.org/ml/gcc-patches/2006-12/msg00081.html
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
12858/how-to-solve-error-no-objects-passed-to-create-error
I'm trying to deploy a card to a working blockchain on cloud following this:
but I get the following error:
./create/create_composer-rest-server.sh --paid --business-network-card /Users/sm/jsblock/tutorial-network/PeerAdmin@fabric-network.card
Configured to setup a paid storage on ibm-cs
Preparing yaml file for create composer-rest-server
sed: 1: "s/%COMPOSER_CARD%//User ...": bad flag in substitute command: 'U'
Creating composer-rest-server pod
Running: kubectl create -f /Users/sm/jsblock/ibm-container-service/cs-offerings/scripts/../kube-configs/composer-rest-server.yaml
error: no objects passed to create
Composer rest server created successfully
How to solve it?
It seems like a problem with the ./create_all.sh command and its not completing the execution.
Try to re-create the scripts:
./delete_all.sh
./create_all.sh
This should work.
It seems like you are missing header ...READ MORE
When you pass multiple arguments, you need ...READ MORE
This error might have occurred because your ...READ MORE
OCI is open container initiative.. The error ...READ MORE
Summary: Both should provide similar reliability of ...READ MORE
This will solve your problem
import org.apache.commons.codec.binary.Hex;
Transaction txn ...READ MORE
IBM Bluemix Blockchain service Hyperledger Fabric v0.6 will ...READ MORE
It seems like there is no required ...READ MORE
I migrated the project to a different ...READ MORE
OR
Already have an account? Sign in.
|
https://www.edureka.co/community/12858/how-to-solve-error-no-objects-passed-to-create-error?show=12860
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
This chapter describes additional functionality that you can use in your Java application. Some of these features have not been implemented in the sample application, while some features are enhancements you can use in your code to improve performance.
This chapter includes the following sections:
Calling Stored Procedures
Dynamic SQL, or generating SQL statements on the fly, is a constant need in a production environment. Very often, and especially in the matter of updates to be performed on a database, the final query is not known until run time.
For scenarios where many similar queries with differing update values must be run on the database, you can use the
OraclePreparedStatement object, which extends the
Statement object. This is done by substituting the literal update values with bind variables. You can also use stored PL/SQL functions on the database by calling stored procedures through the
OracleCallableStatement object.
This section discusses the following topics:
Using OraclePreparedStatement
Using OracleCallableStatement
To run static SQL queries on the database, you use the
Statement object. However, to run multiple similar queries or perform multiple updates that affect many columns in the database, it is not feasible to hard-code each query in your application.
You can use
OraclePreparedStatement when you run the same SQL statement multiple times. Consider a query like the following:
SELECT * FROM Employees WHERE ID=xyz;
Every time the value of
xyz in this query changes, the SQL statement needs to be compiled again.
If you use
OraclePreparedStatement functionality, the SQL statement you want to run is precompiled and stored in a
PreparedStatement object, and you can run it as many times as required without compiling it every time it is run. If the data in the statement changes, you can use bind variables as placeholders for the data and then provide literal values at run time.
Consider the following example of using
OraclePreparedStatement:
Example 6-1 Creating a PreparedStatement
OraclePreparedStatement pstmt = conn.prepareStatement("UPDATE Employees SET salary = ? WHERE ID = ?"); pstmt.setBigDecimal(1, 153833.00) pstmt.setInt(2, 110592)
The advantages of using the
OraclePreparedStatement interface include:
You can batch updates by using the same
PreparedStatement object
You can improve performance because the SQL statement that is run many times is compiled only the first time it is run.
You can use bind variables to make the code simpler and reusable.
You can access stored procedures on databases using the
OracleCallableStatement interface. This interface extends the
OraclePreparedStatement interface. The
OracleCallableStatement interface consists of standard JDBC escape syntax to call stored procedures. You may use this with or without a result parameter. However, if you do use a result parameter, it must be registered as an
OUT parameter. Other parameters that you use with this interface can be either
IN,
OUT, or both.
These parameters are set by using accessor methods inherited from the
OraclePreparedStatement interface.
IN parameters are set by using the
set
XXX methods and
OUT parameters are retrieved by using the
get
XXX methods,
XXX being the Java data type of the parameter.
A
CallableStatement can also return multiple
ResultSet objects.
As an example, you can create an
OracleCallableStatement to call the stored procedure called
foo, as follows:
Example 6-2 Creating a CallableStatement
OracleCallableStatement cs = (OracleCallableStatement) conn.prepareCall("{call foo(?)}");
You can pass the string
bar to this procedure in one of the following two ways:
cs.setString(1,"bar"); // JDBC standard // or... cs.setStringAtName(X, "value"); // Oracle extension
Bind variables are variable substitutes for literals in a SQL statement. They are used in conjunction with
OraclePreparedStatement and
OracleCallableStatement to specify parameter values that are used to build the SQL statement. Using bind variables has remarkable performance advantages in a production environment.
For PL/SQL blocks or stored procedure calls, you can use the following qualifiers to differentiate between input and output variables:
IN,
OUT, and
IN OUT. Input variable values are set by using
set
XXX methods and
OUT variable values can be retrieved by using
get
XXX methods, where
XXX is the Java data type of the values. This depends on the SQL data types of the columns that you are accessing in the database.
Oracle Java Database Connectivity (JDBC) drivers support the processing of PL/SQL stored procedures and anonymous blocks. They support Oracle PL/SQL block syntax and most of JDBC escape syntax. The following PL/SQL calls would work with any Oracle JDBC driver:
Example 6-3 Calling Stored Procedures
// JDBC syntaxCall:
Example 6-4 Creating a Stored Function
create or replace function foo (val1 char) return char as begin return val1 || 'suffix'; end;
You can call this stored function in a Java program as follows:
Example 6-5 Calling a Stored Function in Java
OracleDataSource ods = new OracleDataSource(); ods.setURL("jdbc:oracle:thin:@<hoststring>"); ods.setUser("hr"); ods.setPassword("hr"); Connection conn = ods.getConnection(); CallableStatement cs = conn.prepareCall ("begin ? := foo(?); end;"); cs.registerOutParameter(1,Types.CHAR); cs.setString(2, "aa"); cs.executeUpdate(); String result = cs.getString(1);
The following sections describe how you can use stored procedures in the sample application in this guide:
Creating a PL/SQL Stored Procedure in JDeveloper
Creating a Method to Use the Stored Procedure
Allowing Users to Choose the Stored Procedure
Calling the Stored Procedure from the Application
JDeveloper allows you to create stored procedures in the database through the Database Navigator. In these steps, you create a stored procedure that can be used as an alternative way of inserting an employee record in the sample application.
Select the DatabaseNavigatorName tab to view the Database Navigator.
Expand the database connection node (by default called Connection1) to see the objects in the
HR database.
Right-click Procedures, and select New Procedure.
In the Create PL/SQL Procedure dialog, enter
insert_employee as the object name. Click OK.
The skeleton code for the procedure is displayed in the Source Editor.
After the procedure name, enter the following lines of code:
PROCEDURE "INSERT_EMPLOYEE" (p_first_name employees.first_name%type, p_last_name employees.last_name%type, p_email employees.email%type, p_phone_number employees.phone_number%type, p_job_id employees.job_id%type, p_salary employees.salary%type )
After the
BEGIN statement, replace the line that reads
NULL with the following:
INSERT INTO Employees VALUES (EMPLOYEES_SEQ.nextval, p_first_name , p_last_name , p_email , p_phone_number, SYSDATE, p_job_id, p_salary,.30,100,80);
You can see that the statement uses the same hard-coded values that are used for the last three columns in the
addEmployee method in the
DataHandler.java class.
Add the procedure name in the
END statement:
END insert_employee;
Save the file, and check whether there are any compilation errors.
The complete code for the stored procedure is shown in Example 6-6.
Example 6-6 Creating a PL/SQL Stored Procedure to Insert Employee Data
PROCEDURE "INSERT_EMPLOYEE" (p_first_name employees.first_name%type, p_last_name employees.last_name%type, p_email employees.email%type, p_phone_number employees.phone_number%type, p_job_id employees.job_id%type, p_salary employees.salary%type ) AS BEGIN INSERT INTO Employees VALUES (EMPLOYEES_SEQ.nextval, p_first_name , p_last_name , p_email , p_phone_number, SYSDATE, p_job_id, p_salary,.30,100,80); END insert_employee;
In these steps, you add a method to the
DataHandler.java class that can be used as an alternative to the
addEmployee method. The new method you add here makes use of the
insert_employee stored procedure.
Select the Application tab to display the Application Navigator.
If the
DataHandler.java file is not already open in the Java Source Editor, double-click it to open it.
Import the
CallableStatement interface as follows:
import java.sql.CallableStatement;
After the
addEmployee method, add the declaration for the
addEmployeeSP method.
public String addEmployeeSP(String first_name, String last_name, String email, String phone_number, String job_id, int salary) throws SQLException { }
The method signature is the same as that for
addEmployee.
Inside the method, add a
try block, and inside that, connect to the database.
try { getDBConnection(); }
In addition, inside the
try block, create the SQL string:
sqlString = "begin hr.insert_employee(?,?,?,?,?,?); end;";
The question marks (
?) in the statement are bind variables, acting as placeholders for the values of
last_name, and so on expected by the stored procedure.
Create the
CallableStatement:
CallableStatement callstmt = conn.prepareCall(sqlString);
Set the
IN parameters:
callstmt.setString(1, first_name); callstmt.setString(2, last_name); callstmt.setString(3, email); callstmt.setString(4, phone_number); callstmt.setString(5, job_id); callstmt.setInt(6, salary);
Add a trace message, and run the callable statement.
System.out.println("\nInserting with stored procedure: " + sqlString); callstmt.execute();
Add a return message:
return "success";
After the
try block, add a
catch block to trap any errors. Call the
logException created in Example 5-5.
catch ( SQLException ex ) { System.out.println("Possible source of error: Make sure you have created the stored procedure"); logException( ex ); return "failure"; }
Save
DataHandler.java.
The complete method is shown in Example 6-7.
Note:If you have not added the
logException()method (see Example 5-5), JDeveloper will indicate an error by showing a red curly line under
logException(ex). This method must be present in the
DataHandler.javaclass before you proceed with compiling the file.
Example 6-7 Using PL/SQL Stored Procedures in Java
public String addEmployeeSP(String first_name, String last_name, String email, String phone_number, String job_id, int salary) throws SQLException { try { getDBConnection(); sqlString = "begin hr.insert_employee(?,?,?,?,?,?); end;"; CallableStatement callstmt = conn.prepareCall(sqlString); callstmt.setString(1, first_name); callstmt.setString(2, last_name); callstmt.setString(3, email); callstmt.setString(4, phone_number); callstmt.setString(5, job_id); callstmt.setInt(6, salary); System.out.println("\nInserting with stored procedure: " + sqlString); callstmt.execute(); return "success"; } catch ( SQLException ex ) { System.out.println("Possible source of error: Make sure you have created the stored procedure"); logException( ex ); return "failure"; } }
The steps in this section add a radio button group to the
insert.jsp page, which allows a user to choose between inserting an employee record using the stored procedure, or by using a SQL query in Java code.
Open
insert.jsp in the Visual Editor, if it is not already open.
Create a new line after the Insert Employee Record heading. With the cursor on this new line, drag UseBean from the JSP page of the Component Palette to add a
jsp:useBean tag to the page. Enter
empsbean as the ID, browse to select
hr.DataHandler as the Class, and set the Scope to
session. With the UseBean still selected on the page, set the style of this line to
None instead of Heading 3.
Drag a Radio Button component from the HTML Forms page of the Component Palette onto the page inside the form above the table. In the Insert Radio Button dialog, enter
useSP as the Name,
false as the Value, and select Checked. Click OK.
In the Visual Editor, position the cursor to the right of the button, and enter text to describe the purpose of the button, for example, 'Use only JDBC to insert a new record'.
Press Enter at the end of the current line to create a new line.
Drag a second Radio Button below the first one. In the Insert Radio Button dialog, use
useSP as the Name,
true as the Value, and ensure that the Checked checkbox is not selected.
In the Visual Editor, position the cursor directly to the right of the button, and enter text to describe the purpose of the button, for example, 'Use stored procedure called via JDBC to insert a record'.
Save the page.
Figure 6-1 shows
insert.jsp with the radio button that provides the option to use a stored procedure.
Figure 6-1 Adding a Link to Provide the Stored Procedure Option
The steps in this section modify the
insert_action.jsp file, which processes the form on the
insert.jsp page, to use the radio button selection and select the appropriate method for inserting a new employee record.
Open
insert_action.jsp in the Visual Editor, if it is not already open.
Double-click the scriptlet to invoke the Scriptlet Properties dialog box and add a new variable after the salary variable, as follows:
String useSPFlag = request.getParameter("useSP");
Below that, still in the Scriptlet Properties dialog box, replace the existing
empsbean.addEmployee line with the following lines of code to select the
addEmployeeSP method or the pure JDBC
addEmployee method to insert the record.
if ( useSPFlag.equalsIgnoreCase("true")) empsbean.addEmployeeSP(first_name, last_name, email, phone_number, job_id, salary.intValue()); // otherwise use pure JDBC insert else empsbean.addEmployee(first_name, last_name, email, phone_number, job_id, salary.intValue());
Save
insert_action.jsp.
You can now run the application and use the radio buttons on the insert page to choose how you want to insert the new employee record. In a browser, the page will appear as shown in Figure 6-2.
Figure 6-2 Using Stored Procedures to Enter Records
Oracle JDBC drivers support cursor variables with the
REF
CURSOR types, which are not a part of the JDBC standard.
REF
CURSOR types are supported as JDBC result sets.. A
REF CURSOR essentially encapsulates the results of a query.
Oracle does not return ResultSets. To access data returned by a query, you use
CURSORS and
REF CURSORS.
CURSORS contain query results and metadata. A
REF CURSOR (or
CURSOR variable) data type contains a reference to a cursor. It can be passed between the RDBMS and the client, or between PL/SQL and Java in the database. It can also be returned from a query or a stored procedure.
Note:
REF CURSORinstances are not scrollable.
This section contains the following subsections:
Oracle REF CURSOR Type Category
Accessing REF CURSOR Data
Using REF CURSOR in the Sample Application
To create a cursor variable, begin by identifying a type that belongs to the
REF
CURSOR category. For example:
dept_cv DeptCursorTyp ...
Then, create the cursor variable by declaring it to be of the type
DeptCursorTyp:
REF
CURSOR, then, is a category of data types, rather than a particular data type. Stored procedures can return cursor variables of the
REF
CURSOR category. This output is equivalent to a database cursor or a JDBC result set.
In Java,
a
REF CURSOR is materialized as a
ResultSet object and can be accessed as follows:
Example 6-9 Accessing REF Cursor Data in Java application programming interface (API), and returns the
REF CURSOR into a
ResultSet object.
In the following sections, you enhance the sample application to display a dynamically-generated list of job IDs and job titles in the Job field when they are inserting a new employee record.
Creating a Package in the Database
Creating a Database Function
Calling the REF CURSOR from a Method
Displaying a Dynamically Generated List
To do this, you create a database function,
GET_JOBS, that uses a
REF CURSOR to retrieve a result set of jobs from the
Jobs table. A new Java method,
getJobs, calls this database function to retrieve the result set.
The following steps create a new package in the database to hold a
REF CURSOR declaration.
Select the DatabaseNavigatorName tab to view it in the Navigator.
Expand the Connection1 node to view the list of database objects. Scroll down to Packages. Right-click Packages and select New Package.
In the Create PL/SQL Package dialog, enter
JOBSPKG as the name. Click OK. The package definition is displayed in the Source Editor.
Position the cursor at the end of the first line and press Enter to create a new line. In the new line, declare a
REF CURSOR as follows:
TYPE ref_cursor IS REF CURSOR;
Save the package.
The code for the package is shown in Example 6-10:
These steps create a database function
GET_JOBS that uses a
REF CURSOR to retrieve a result set of jobs from the
Jobs table.
In the Database Navigator, again expand the necessary nodes to view the objects in the
HR database. Right-click Functions and select New Function from the shortcut menu.
In the Create PL/SQL Function dialog, enter
GET_JOBS as the name. Click OK. The definition for the
GET_JOBS function displays in the Source Editor
In the first line of the function definition, substitute
JobsPkg.ref_cursor as the return value, in place of
VARCHAR2.
After the
AS keyword, enter the following:
jobs_cursor JobsPkg.ref_cursor;
In the
BEGIN block enter the following code to replace the current content:
OPEN jobs_cursor FOR SELECT job_id, job_title FROM jobs; RETURN jobs_cursor;
Save the function
The code for the function is shown in Example 6-11.
These steps create a Java method,
getJobs, in the
DataHandler class that calls the
GET_JOBS function to retrieve the result set.
Double-click
DataHandler.java to open it in the Source Editor if it is not already open.
Enter the method declaration.
public ResultSet getJobs() throws SQLException { }
Within the method body, connect to the database.
getDBConnection();
Following the connection, declare a new variable,
jobquery:
String jobquery = "begin ? := get_jobs; end;";
Create a CallableStatement using the
prepareCall method:
CallableStatement callStmt = conn.prepareCall(jobquery);
Register the type of the
OUT parameter, using an Oracle-specific type.
callStmt.registerOutParameter(1, OracleTypes.CURSOR);
When you specify that you want to use an Oracle-specific type, JDeveloper displays a message asking you to use Alt+Enter to import
oracle.jdbc.OracleTypes. Press Alt+Enter, and then select OracleTypes (
oracle.jdbc) from the list that appears.
Run the statement and return the result set.
callStmt.execute(); rset = (ResultSet)callStmt.getObject(1);
Enclose the code entered so far in a
try block.
Add a catch block to catch any exceptions, and call your logException method as well.
catch ( SQLException ex ) { logException( ex ); }
After the close of the
catch block, return the result set.
return rset;
Make the file to check for syntax errors.
The code for the
getJobs method is as follows:
public ResultSet getJobs() throws SQLException { try { getDBConnection(); String jobquery = "begin ? := get_jobs; end;"; CallableStatement callStmt = conn.prepareCall(jobquery); callStmt.registerOutParameter(1, OracleTypes.CURSOR); callStmt.execute(); rset = (ResultSet)callStmt.getObject(1); } catch ( SQLException ex ) { logException( ex ); } return rset; }
To create the drop down list displaying the list of job IDs and job titles in the Insert page, you hard-coded the job IDs and job titles. In the following steps, you replace this with a dynamically-generated list provided by the
REF CURSOR created in the previous section.
Double-click
insert.jsp in the Application Navigator to open it in the Visual Editor, if it is not already open.
Drag a Page Directive onto the page to the right of the
useBean tag. In the Insert Page Directive dialog box, enter
java as the Language, and in the Import field, browse to select java.sql.ResultSet. Click OK.
Drag a scriptlet onto the page next to the Page Directive. In the Insert Scriptlet dialog box, add the following code to execute the
getJobs method and return a result set containing a list of jobs.
ResultSet rset = empsbean.getJobs();
Select the ListBox component in the page, and click Scriptlet in the JSP Component Palette. (You need not drag and drop the scriptlet onto the page in this case.) The Insert Scriptlet dialog box appears.
Enter the following code into the Insert Scriptlet dialog box. Click OK.
while (rset.next ()) { out.println("<option value=" + rset.getString("job_id") + ">" + rset.getString("job_title") + "</option> " ); }
Remove the hard-coded values as follows.
With the ListBox component still selected, in the Structure window scroll to Job field. Examine the list of hard-coded options below the select keyword. Delete each of the options, ensuring that you retain the scriptlet.
Figure 6-3 Structure View of Dropdown ListBox Options
Save the page.
Now run the application, click to insert a new employee and use the list to display a list of available jobs. Figure 6-4 shows the dynamic jobs list in the browser.
Figure 6-4 Dynamically Generated List in Browser
|
https://docs.oracle.com/cd/E11882_01/appdev.112/e12137/addfunc.htm
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
firebase::
auth:: EmailAuthProvider
#include <credential.h>
Use email and password to authenticate.
Summary
Allows developers to use the email and password credentials as they could other auth providers. For example, this can be used to change passwords, log in, etc.
Public static functions
GetCredential
Credential GetCredential( const char *email, const char *password )
Generate a credential from the given email and password.
|
https://firebase.google.com/docs/reference/cpp/class/firebase/auth/email-auth-provider?authuser=2
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
Cloud Library (PCL) with ROS. This library offers a convenient set of classes for working with point clouds taking computational time into account. A concise overview of using PCL in ROS is available here.
The RealSense D435 camera uses active IR stereo to construct a depth stream at a resolution of up to 1280×720 at 90 FPS. The point cloud is simply a projection of the stereo reconstruction in 3D space. A simple visualisation of the depth stream published on the
/camera/aligned_depth_to_infra1/image_raw ROS topic is shown in the Rqt figure below. Each pixel in this grayscale image represents the distance from the camera to the surface of the object.
Depth stream image from the RealSense D435 displayed in Rqt
Data type conversion
Using PCL within ROS requires working with different data types. The PCL library defines a more convenient generic data type pcl::Pointcloud which allows one to work with the individual points as objects rather than the entire raw data. ROS directly supports this data type and such messages can be passed within the ROS system and visualized in Rviz as sensor_msgs/PointCloud2.
In ROS, the Intel realsense2 nodelet outputs an RGBD point cloud on the ROS topic
/camera/depth_registered/points. This is a ROS sensor_msgs/PointCloud2 message type which contains a header, the 2D structure of the point cloud, the actual point cloud data (x,y,z,r,g,b,depth) and other characteristics.
PCL does not directly support ROS message types. ROS however provides the pcl::fromROSMsg and pcl::toROSMsg functions for converting between these two point cloud datatypes. The snippet of code below shows a ROS callback function that converts a ROS point cloud message into a PCL datatype and then publishes the output on a previously defined ROS topic:
void cameraCallback(const sensor_msgs::PointCloud2ConstPtr& cloud){ pcl::fromROSMsg(*cloud, *pcl_cloud); pub.publish(pcl_cloud); }
Visualisation in RViz
A point cloud that is represented using either the sensor_msgs/PointCloud2 or pcl::Pointcloud data type can be visualised directly within Rviz. Using RViz to visualize point clouds requires publishing to a topic that uses either of these message types. Simply open a terminal and type
rviz , then select the appropriate topic containing PointCloud2 messages to visualise the point cloud. An example of this is shown in Integrating the RealSense D435 with ROS.
Visualisation in PCL
PCLVisualizer is the native visualiser provided by PCL. It can display point cloud data, normals, drawn shapes and multiple viewpoints, and is very useful for debugging purposes. A C++ class interface is provided for this purpose.
The snippet of code below shows how to create a visualization object and then use it to display a point cloud.
To initialise and open a 3D viewer use:
boost::shared_ptr createViewer(){ boost::shared_ptr viewer (new pcl::visualization::PCLVisualizer ("3D Viewer")); viewer->setBackgroundColor (0, 0, 0); viewer->addCoordinateSystem (1.0); viewer->initCameraParameters (); return (viewer); }
To update the viewer with a point cloud use:
void updateViewer (boost::shared_ptr viewer, pcl::PointCloud::ConstPtr cloud) { pcl::visualization::PointCloudColorHandlerRGBField rgb(cloud); viewer->removePointCloud(); viewer->addPointCloud (cloud, rgb); viewer->spinOnce(); }
Using the methods defined above, a point cloud can be viewed using PCLVisualizer in just two lines of code:
vis = createViewer(); vis.updateViewer(*pcl_cloud);
An example of a point cloud visualised using PCLVisualizer is shown below. The coordinate system is also shown where the forward, right and down directions are represented with blue, red and green arrows respectively.
A point cloud displayed in PCLVisualizer
A zoomed out version of the same pointcloud is shown below.
A zoomed out version of the same point cloud displayed in PCLVisualizer
The coordinate frame in PCLVisualizer is the same as the one shown in Intel’s realsense-viewer tool which is part of the camera’s SDK.
A point cloud displayed using Intel’s realsense-viewer tool
Selecting a visualisation method
The choice of visualiser for point clouds depends on the application and whether or not ROS is running.
Visualising without ROS
Realsense-viewer is a plug-and-play visualiser which is useful for seeing the effect of adjusting camera parameters, checking for firmware updates or quickly testing whether the camera works.
PCLVisualizer is ideal for debugging purposes, while developing point cloud based algorithms, in a fairly light-weight fashion.
Visualising with ROS
Visualising point clouds in ROS requires publishing sensor_msgs/PointCloud or sensor_msgs/PointCloud2 messages.
Rqt does not support 3D point cloud visualization, but it great for quickly visualising an RGBD image.
Rviz is a heavy-weight visualiser that also supports other message types (point clouds can be visualized alongside other sensor data published within ROS).
Assembling point clouds
A common robotics application is to build a map representation from point clouds. Assuming you have a way of estimating the camera pose (transforms between consecutive point clouds as the robot moves along), you will need to assemble multiple point clouds to build a map (and display in RViz).
The laser_assembler package provides nodes that accumulate point clouds (using the provided tf data) which can later be fetched via the laser_assembler/AssembleScans2 ROS service.
Point clouds are a rich representation of our 3D world. ROS and PCL provide a nice set of tools for getting started with building applications that use this data.
|
https://idorobotics.com/2019/04/04/working-with-3d-point-clouds-in-ros/
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
Creating components is a great way to remove redundancy in Ember.js apps. For example, you might have a custom button that is used over and over in many different views but is defined only once. This is great, but what if you want to reuse an entire nested page layout instead? It’s easy to do with yields and some Ember magic.
The first step is to create a new component for the page.
Your
.js file should look something like the code below, and you should have a property for each dynamic section.
import Ember from 'ember'; export default Ember.Component.extend({ title: {isTitle: true}, formGroups: {isFormGroups: true}, error: {isError: true}, footer: {isFooter: true}, pageFooter: {isPageFooter: true} });
Your
.hbs file should look something like this:
{{title-bar}} <div class="page-wrapper"> <div class="content"> <div class="custom-header horizontal-box"> <div class="large-title"> {{yield title}} </div> </div> <form> <div class="vertical-box horizontal-box"> <div class="custom-body"> <div class="custom-form"> {{yield formGroups}} {{yield error}} </div> </div> </div> <div class="form-footer"> {{yield footer}} </div> </form> </div> {{yield pageFooter}} </div>
Using this page layout is easy. Inside your view’s
.hbs template file, just add the following code:
{{#page-layout as |section|}} {{#if section.isTitle}} "Add New Comment" {{else if section.isFormGroups}} <div class="form-group"> <label for="comment-name">Name</label> {{input value=model.name <label for="comment-body">Comment</label> {{textarea value=model.body id="comment-name" class="form-control" autofocus="autofocus"}} </div> {{else if section.isError}} {{#if hasSwearWords}} {{validation-error error="Comments must not contain swear words."}} {{/if}} {{else if section.isFooter}} <button {{action "submit"}}>Submit</button> {{/if}} {{/paged-dialog}}
You can use this page layout in many different view templates. The benefit here is that the page layout guarantees the exact same HTML structure, and any tweaks will be applied to all views.
The page layout is intentionally pretty dumb–it only cares about the nested structure of the elements. It leaves the view templates in charge of all business logic and data management.
Hope this approach is helpful for you.
By commenting below, you agree to the terms and conditions outlined in our (linked) Privacy Policy6 Comments
Nice! I was thinking about how to do “multiple named yields” in the layout components for some time now. This is kinda hacky (with the {{#if}}s) but it solves the problem. Thanks for this, I’m gonna try it right away :)
I’d recommend taking a look at the ember-block-slots addon, which solves this issue with less boilerplate, a clean syntax, and support for yielding back different values per targeted block
Hey Steven,
That’s pretty sweet – thanks for linking to it.
Jeff
BTW, you can use the `hash` helper, so you don’t have to implement any `title: {isTitle: true}` stuff in your `component.js`.
Example:
“`js
{{yield (hash isTitle=true)}}
“`
Hey Ivan,
Thanks for checking out my post. Also, thanks for the suggestion – that’s pretty sweet!
Jeff
Minor thing you could also yield `contextual` components or “sub-components” to remove the need for the `if`s.
|
https://spin.atomicobject.com/2016/05/03/reusable-page-layouts-ember/
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
In this tutorial we will learn how to obtain the dimensions (height and width) of an image read with OpenCV, using Python.
Introduction
In this tutorial we will learn how to obtain the dimensions (height and width) of an image read with OpenCV, using Python.
This tutorial was tested with version 4.0.0 of OpenCV and version 3.7.2 of Python.
The code
We will start the code by importing the cv2 module, so we have access to the OpenCV functionalities.
import cv2
Followed by that we will read an image with the imread function of the cv2 module. As input, we simply need to pass the path to the image.
image = cv2.imread('C:/Users/N/Desktop/testImg.png')
We are going to be reading the following test image:
As can be seen in figure 2, the image has a width of 701 pixels and a height of 568 pixels.
Note that when we read an image with the imread function, we get a ndarray representing our image. Thus, we can use the shape attribute to obtain the dimensions of the ndarray.
This attribute is a tuple that contains, by this order, the height, the width and the number of channels of the image. We will access this attribute print it.
print(image.shape)
The final code can be seen below.
import cv2 image = cv2.imread('C:/Users/N/Desktop/testImg.png') print(image.shape)
Testing the code
To test the code, simply run it in a tool of your choice. In my case I’m using IDLE.
You should get an output similar to figure 3. As can be seen, I’ve obtained a tuple which indicates that my image has a height of 568 pixels and a width of 701 pixels, like expected. Additionally, it is possible to see that the image I’ve used has 3 channels.
|
https://techtutorialsx.com/2019/11/23/python-opencv-getting-image-dimensions/?shared=email&msg=fail
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
Qt WebEngine Platform Notes
Building Qt WebEngine from Source
Static builds are not supported.
The requirements for building Qt 5 modules from source are listed separately for each supported platform::
Windows
On Windows, the following additional tools are required:
- Visual Studio 2017 version 15.8 or later
- Windows 10 SDK++ and
linux-clang..11 can be built with Qt 5.9.x, Qt 5.10.x, and Qt 5 and macOS. Sandboxing is currently not supported on Windows due to a limitation in how the sandbox is set up and how it interacts with the host process provided by the Qt WebEngine libraries.
On macOS, there are no special requirements for enabling sandbox support.
On Linux, the kernel has to support the anonymous namespaces feature (kernel version >= 3.8) and seccomp-bpf feature (kernel version >= 3.5). Setuid sandboxes are not supported and are thus disabled.
To explicitly disable sandboxing, the
QTWEBENGINE_DISABLE_SANDBOX environment variable can be set to 1 or alternatively the
--no-sandbox command line argument can be passed to the user application executable...
|
https://doc-snapshots.qt.io/qt5-dev/qtwebengine-platform-notes.html
|
CC-MAIN-2019-51
|
en
|
refinedweb
|
package findCpu; class whatIsCpu { int numberOfCores; int numberOfThreads; String name; double freq; String cache; int uniqueID; public whatIsCpu(String name, int numberOfCores, int numberOfThreads, double freq, String cache, int uniqueID) { this.name = name; this.numberOfCores = numberOfCores; this.numberOfThreads = numberOfThreads; this.freq = freq; this.cache = cache; this.uniqueID = uniqueID; System.out.println("Info:\nCores: " + numberOfCores + "\nThreads: " + numberOfThreads + "\nFrequency: " + freq + "\nCache: " + cache); if(uniqueID == 91826) { System.out.println(" "); System.out.println("CPU DETECTED!"); System.out.println("CPU = 'i5 6600k'!"); System.out.println(" "); } if(uniqueID == 471235) { System.out.println(" "); System.out.println("CPU DETECTED!"); System.out.println("CPU = 'Xeon E5-2697V4'!"); System.out.println(" "); } if(uniqueID != 471235 || uniqueID != 91826) { System.out.println("CPU not found. Are you sure you specified correctly?"); System.out.println(" "); } } } public class FindingCpu { public static void main(String[] args) { new whatIsCpu("i5 6600k", 4, 4, 3.50, "6 MB SmartCache", 91826); new whatIsCpu("Xeon E5-2697V4", 18, 36, 3.60, "45 MB SmartCache", 471235); } }
When I run it, it outputs the 'CPU DETECTED' bit and also says 'CPU not found' even though I told it to only output 'CPU not found' if the uniqueID is not (!=) 471235 or 91826, the unique IDs of the only cpus I put in there. there's obviously a flaw in my code but I can't find where, and it'd be great if I could know for future reference and ease. I've moved the if(uniqueID != 471235, etc) to the top of the constructor, below the this.<whatever>, I've also put it inside of ones brackets and all that does is say it once instead of twice. Anyone help? Thanks
|
http://www.dreamincode.net/forums/topic/409000-cant-find-a-problem-with-my-code-need-help/
|
CC-MAIN-2018-09
|
en
|
refinedweb
|
adding printf increases the size of data segment
This is what I had earlier
#include <stdio.h> int main() { return 0; }
And I got this
rohit:~/workspace/C $ size const text data bss dec hex filename 1122 276 4 1317 525 const
After making the below change, the data section size increases by 4.
int main() { printf("Hello World!!"); return 0; } rohit:~/workspace/C $ size const text data bss dec hex filename 1112 280 8 1400 578 const
What's the reason for this behaviour. I am using Ubuntu on x86. gcc is the compiler.
1 answer
- answered 2017-10-11 10:21 Zeta
TL;DR: Every used string uses the memory for itself, as well as
sizeof(char*)additional memory for a pointer to its first character.
You're probably on a 32bit architecture, or at least compile your program for that one. Four bytes are exactly one pointer on that architecture, so let us have a look at the assembler (
gcc -S):
.file "main.c" .section .rodata .LC0: .string "Hello World!!"
There's a
.rodataentry, namely
"Hello World!""as a
.string. That's a
const char *, which takes four bytes on a 32bit x86 arch. If we remove that string, the
.rodatasection stays empty. The string is gone, therefore we can get rid of the pointer. Note that the pointer itself is not read-only. That's why you end up with an entry in
datato begin with.
You can check this easily with
gcc -Os main.c. The following programs should have the same
sizeoutput (and result in almost the same assembler code):
#include <stdio.h> int main() { printf("hello world!"); return 0; }
#include <stdio.h> int main() { const char * mystring = "hello world!"; printf(mystring); return 0; }
After all, we need the pointer for
printf(
$.LC0):
movq $.LC0, -8(%rbp) movq -8(%rbp), %rax movq %rax, %rdi movl $0, %eax call printf
|
http://codegur.com/46685737/adding-printf-increases-the-size-of-data-segment
|
CC-MAIN-2018-09
|
en
|
refinedweb
|
#include <stdio.h> int main(void) { int my_array[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; int test, count; test=sizeof my_array / sizeof my_array[0]; printf("Size of my array is: %d\n", test); for (count=test; count>=0; count--) { printf(" %d% ", my_array[count]); */ }; }
2) Also printing in descending order works with '9' but not with 'test'.
3) What would be the simplest/easiest way to order (not just print) the array in descending order.
At the moment the only way i can think of is to create another array of size 'test' and read/write each value of my_array in reverse order.
Thanks in advance.
Edit: I figured out the size of array part, still stuck on sorting.
This post has been edited by bestbat: 21 February 2007 - 08:51 PM
|
http://www.dreamincode.net/forums/topic/24259-c-language-sorting-array-into-descending-order/
|
CC-MAIN-2018-09
|
en
|
refinedweb
|
Cross-compiling to ARM with QtCreator 5.x on Windows
I have been using QtCreator 5.x to develop MS-Windows applications, but now need to develop desktop applications on Raspberry Pi2 and BeagleBone Black. I understand that I need ARM libraries and a cross-compiling tool chain.
In researching how to do this I have encountered lots of articles written about failure or articles that relate to old and deprecated versions and utilities. No success stories apart from using Linux as the development host platform.
I have managed to get QtCreataor 3.2.1 (Qt 5.3.2) running and developing on the Raspberry Pi-2 (Raspbian/Jessie) but it is too slow for any real work.
Is it possible to use QtCreator on Windows to develop, compile, deploy and debug desktop applications on Embedded Linux ARM devices? I am currently running Windows 7 64-bit.
Any tips or suggestions on how to do this are welcome.
Thanks.
Yes, it is. The best approach I could find was to compile Qt using the msys2 environment in association with the right cross compiler for the target platform. You should use the configure script not the bat file. After compiling, just add this new build manually to Qt Creator and it's done.
Here's an example of a configuration I have for an ARM Linux:
./configure -platform win32-g++ -xplatform linux-arm-gnueabi-g++ -prefix C:/Qt/5.5/arm -no-icu -plugin-sql-sqlite -nomake examples -no-compile-examples -nomake tests -openssl -release -v -qreal float -skip qtwebkit -qt-zlib -skip translations -eglfs -shared -force-debug-info -opengl
Some libraries might be missing on the host machine. In that case, you should copy them from the target system to your computer and add their paths to the command line above. For example:
-L C:/sysroot/usr/lib -L C:/sysroot/usr/local/lib
@Leonardo Thank you for your reply Leonardo. Sorry, but I'm afraid that a lot of it went over my head.
If I understand correctly, the only way is to compile QtCreator from source on the host (Windows 7) system?
Since my Pi-2 had Qt 5.3.2 working, I downloaded "qt-opensource-windows-x86-android-5.3.2.exe" from Qt. I thought that since this Qt/Windows install already had support for ARM-7, it would only require a cross-compiler installing and configuring, such as Yagarto or GCC ARM. Is this completely naive of me?
If I attempt your approach, then what compiler do you think I should I use on the host? Visual Studio Express? MIN GW?
Thank you.
Qt and QtCreator are different. QtCreator is the IDE. Qt is the set of tools and libraries, the framework. Qt has components that should run on the host machine (qmake, moc, etc) and components that should run on the target machine (libraries mostly).
You can see on the configuration line above that we have two parameters: -platform and -xplaform. The former specifies the host machine, and the latter the target machine. You can't use the android build for raspberry. Both are ARM, but that's all. Other than that, they have few things in common.
So you already have QtCreator for Windows. It's the same whatever system you're targeting. You only need to compile Qt. First of all, you need a cross compiler. I have no experience with Raspberry Pi, but I would say this one should do it:
Add it to your PATH. For the host you can use either mingw or visual studio. It's up to you. After that try to compile Qt using the msys2 environment.
./configure -platform win32-g++ -xplatform linux-arm-gnueabihf-g++ -device linux-rasp-pi2-g++ ...
-device should account for board specific settings. Qt has no mkspec for "linux-arm-gnueabihf-g++". Just duplicate the "linux-arm-gnueabi-g++" one and add the "hf" everywhere.
Indeed there are very few resources out there about Qt and cross compiling for Windows. It took me quite some time to understand it. Maybe you should get more familiar with the usual Qt compilation process first and only then try cross compiling.
@Leonardo When you explained that I cannot use Qt ARM for Raspberry Pi a light was turned on at the end of the tunnel. Of course it isn't and I see that now.
I have done some background reading and now believe that I have a better understanding, although there are still some gaps.
So, I need Qt creator on the development host (Windows). This can be downloaded.
I still don't quit understand where the MSYS2 comes in. I understand that this is a "Linux" type environment that runs on top of Windows. I understand that this will provide the minimum directory structure for compiling Qt.
Assuming I compile the Qt development libraries, does this remain in MSYS2 or is it moved into the C:\Qt directory?
Are you saying that I have to cross-compile Qt for the Raspberry Pi-2?
I just don't understand what Qt I need to compile where.
Sorry to be a pain. I promise to share this information once I get there.
Hi. I recommend the msys2 environment because the "configure.bat" that is used on Windows doesn't know how to compile to any target other than Windows. Therefore we need to use the "configure" shell script, that's used on Linux. msys2 was the best tool capable of running it that I could find for this purpose. It's also integrated with the mingw-w64 compiler, so you just need to get a cross compiler and you have all you need.
You need to cross-compile Qt's source code. See here:
No success. I have managed to overcome a number of issues, but I am stuck with the current problem and I am not sure if my overall approach is correct?
I started with a virgin install of Windows 7 (service pack 1) 64-bit, with all updates performed. This is hosted on a 4GHz Intel i7 system with 16GB RAM and 1TB 7200RPM hard drive.
Qt Creator
Qt Creator 5.5.1 was downloaded, installed and a trivial project completed to test the install. It is running 32-bit because I opted for the MINGW version.
qt-opensource-windows-x86-mingw492-5.5.1.exe
MSYS2
MSYS2 was downloaded and installed. I chose 64-bit since I am using Windows 7 64-bit. installation/
msys2-x86_64-20150916.exe
Raspberry Pi Toolchain
Just as you recommended I downloaded and installed the toolchain for Raspberry Pi.
raspberry-gcc-4.9.2.exe
I made sure that the PATH environment variable was set and checked that “arm-linux-gnueabihf-g++” was executable within MSYS2.
Qt 5.5.1
Then I downloaded the Qt 5.5.1 source. Since I was using Windows 7 I downloaded the ZIP version and used 7Zip to extract the files. These were extracted to C:\qtsource being a name consisting of simple ASCII characters.
qt-everywhere-opensource-src-5.5.1.zip
I then navigated to C:\qtsource\qtbase\mkspecs and copied the \linux-arm-gnueabi-g++ directory to \linux-arm-gnueabihf-g++. I then edited the qmake.conf file to add “hf” (hard float) to all the named files. On checking with the Raspberry Pi toolchain I noticed that the executables within C:\SysGCC\Raspberry\bin used the name format “arm-linux-gnueabihf-” so I renamed the named files to this name format. Eg:
QMAKE_CC = arm-linux-gnueabihf-gcc
Configure
So now time to configure and make. I launched a MSYS2 Shell and copied a modified version of your example ./configure command line in. At first I encountered an (e=2) file not found error. After a lot of scratching around I realised that the g++ was not being found. In the Raspberry Pi toolchain bin directory I copied arm-linux-gnueabihf-g++.exe to g++.exe and tried again.
This time there was credible activity, but terminated with:
You're almost there! It's just that the last step is wrong. You should not have copied arm-linux-gnueabihf-g++.exe to g++.exe . As I said before, some tools are build for Windows and the libraries are build for Linux. Therefore, we need two compilers. If g++ is missing, it means that you're missing MinGW-w64 in your msys2 environment. First of all, check whether you have a shortcut named "MinGW-w64 Win64 Shell" in your start menu. If you do, that's the one you should be using. If you don't, you should install the package:
pacman -S mingw-w64-x86_64-gcc
Ah!
So the Raspberry Pi toolchain is used by QtCreator to build my projects for deployment on the Raspberry Pi device, whereas MinGW is used to build the Qt library for use within QtCreator on Windows?
In which case don't I need the MinGW-32 compiler environment, since I am using QtCreator MinGW 32-bit?
I deleted the g++.exe as you suggested and installed the MinGW-64 package into MSYS2. There was encouraging extivity but again it failed with:
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: project.o: Relocations in generic ELF (EM: 40)
project.o: error adding symbols: File in wrong format
collect2.exe: error: ld returned 1 exit status
make: *** [../bin/qmake.exe] Error 1
I don't get what you said about the compilers, but forget it for now.
It seems like you have a dirty source tree. That's why you get that error. Delete your "qtsource" directory and extract the zip file again.
Thank you.
So, I deleted the existing C:\qtsource and unpacked a new one. I then duplicated the \linux-arm-gnueabi-g++ directory to \linux-arm-gnueabihf-g++. Then I edited the qmake.conf to add "hf" to the file names.
I then removed MSYS2 and reinstalled. I used the command you suggested to install MinGW64. I also used the command pacman -S diffutils as I had been getting the error "cmp: Command not found".
I then run the configure statement:
./configure -platform win32-g++ -xplatform linux-arm-gnueabihf-g++ -device linux-rasp-pi2-g++
There was a lot of activity this time ending in the following error:
Running configuration tests...
Failed to process makespec for platform 'devices/linux-rasp-pi2-g++'
Project ERROR: CROSS_COMPILE needs to be set via -device-option CROSS_COMPILE=<p ath>
Could not read qmake configuration file C:/qtsource/qtbase/mkspecs/devices/linux -rasp-pi2-g++/qmake.conf.
Error processing project file: C:\msys64\tmp\empty-file
It's getting better. I've never used the "-device" parameter before, actually. Try something like this:
./configure -platform win32-g++ -device linux-rasp-pi-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf-
By the way, you can build it outside the source tree, so you don't need to delete it every time. Create a folder like C:\qtbuild and call the configure script from it.
/c/qtbuild> ../qtsource/configure -platform.....
Thanks for the tip building outside the source tree.
Things seem to be going backwards now. I have this tchar.h: No such file or directory error back. I am using a clean C:\qtsource and C:\qtbuild. I have been struggling with this for about an hour.
I checked and there is a device definition for "linux-rasp-pi2-g++" in C:\qtsource\qtbase\mkspecs\devices.
The configure statement is this:
../qtsource/configure -platform win32-g++ -xplatform linux-arm-gnueabihf
This is the resulting error:
C:/qtsource/qtbase/mkspecs/win32-g++/qplatformdefs.h:47:19: fatal error: tchar.h: No such file or directory
#include <tchar.h>
^
compilation terminated.
make: *** [makefiledeps.o] Error 1
Oh, I'm sorry. My mistake. You need the whole toolchain. The command line I've posted before was only for gcc. Here:
pacman -S mingw-w64-x86_64-toolchain
By the way, now you should remove the -xplatform parameter, as you're using CROSS_COMPILE.
Don't forget to clear your qtbuild folder, just to be sure.
Hi Leonardo. Sorry, I am still getting the same error:
I am using this configure statement with -xcompile omitted:
../qtsource/configure -platform win32
I installed "all" packages using the pacman command that you suggested. I also deleted and create a new C:\qtbuild directory.
Edit #1
I did some digging around and can confirm that tchar.h is located in:
C:\msys64\mingw64\x86_64-w64-mingw32\include
Edit #2
After reading more Qt documentation (why don't they date their documentation?), I suspect that this latest error is arising from not having and specifying a SYSROOT. I could be wrong of course. Am I required to have a Raspberry Pi image available on the Windows 7 platform to provide this sysroot? It seems to be a step taken in the instructions for cross-compiling Qt for RaspberryPi2 from Ubuntu.
I also struggle with is the role of the two toolchains here. There is the MinGW64 hosted within MSYS2. There is also the Win64 toolchain for Raspberry Pi downloaded from SysProgs.
Hi JaffaMicroBrain.
I have the same problem.
I try to croos compile from windows and it seems that the file tchar.h is missing.
I've followed this tuto
but still having the same problem.
Have you found any solutions to this ?
Regards,
- MikePelton
After quite some hours of "fun" I managed to get the (excellent) set of instructions at:
to work on Windows 10. The trick was to start with a completely clean version of Raspbian, and then to install QT 5.5:
sudo apt-get install qt5-default
Note that I didn't also install Qt Creator on the PI.
If you then follow the instructions to the letter, all will be well.
I found the UpdateSysroot step painful as my network was having a bad day - rather than synching /opt it will be faster to synch just /opt/vc.
The make step has taken about 6 hours.
I had originally started out with more dev stuff installed on the PI and ran into issues with missing header files as you guys have done, but this way worked. Hope it works for you too! Regards, Mike
@MikePelton I am struggling to get the cross-compiling working for the past three days. while syncing my PI with the windows PC, I have seen all the paths in the above link you have mentioned, but i could not find the /opt. Could you please suggest me, where can be the problem. I have followed exactly the same steps as in except that my debian jessie was old.
|
https://forum.qt.io/topic/61094/cross-compiling-to-arm-with-qtcreator-5-x-on-windows
|
CC-MAIN-2018-09
|
en
|
refinedweb
|
QSystemTrayIcon issue on Ubuntu 16.04
I'm using Qt 5.7.1 on Ubuntu 16.04. Basically I have an app which opens a widget when a click on tray icon is performed.
However when I click on the tray an ugly empty menu is displayed and the signal is not emitted at all.
This works on OSX 10.12.2, Windows 10 and Fedora 21, Gnome 3.14
Can someone help me suggesting a workaround? It seems a Qt bug...
The code is the following:
main.cpp
#include <QApplication> #include "mytray.h" int main(int argc, char *argv[]) { QApplication a(argc, argv); myTray w; return a.exec(); }
mytray.h
#pragma once #include <QSystemTrayIcon> class myTray : public QSystemTrayIcon { Q_OBJECT public: explicit myTray(QObject *parent=0); private slots: void showPopup(QSystemTrayIcon::ActivationReason); };
mytray.cpp
#include "mytray.h" #include <QMessageBox> myTray::myTray(QObject *parent) :QSystemTrayIcon(parent) { connect(this ,&QSystemTrayIcon::activated, this, &myTray::showPopup); //TODO: use an available icon setIcon(QPixmap(":/icon")); show(); } void myTray::showPopup(QSystemTrayIcon::ActivationReason) { QMessageBox::information(nullptr, "Hello", "Hello"); }
- SGaist Lifetime Qt Champion
Hi,
Before calling it a Qt bug, you should test your application by building it with Ubuntu's provided Qt. They might have done customisation for their window manager.
- mrjj Qt Champions 2016
Just out of curiosity, is this on unity desktop ?
- mrjj Qt Champions 2016
@cOld
Ok, they often have to add stuff to Qt to make it work in unity due to its
special nature.
So only way forward is to check as
@SGaist suggest with the Qt included in the distro.
|
https://forum.qt.io/topic/75334/qsystemtrayicon-issue-on-ubuntu-16-04
|
CC-MAIN-2018-09
|
en
|
refinedweb
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.