{% extends "tutorial.html" %} {% block pagebreadcrumb %}{{ tut.title }}{% endblock %} {% block head %}{% endblock %} {% block onload %}{% endblock %} {% block updated %}October 29, 2013{% endblock %} {% block iscompatible %} var xhr = new XMLHttpRequest(); if ("withCredentials" in xhr) { return true; } else if (typeof XDomainRequest != "undefined") { return true; } return false; {% endblock %} {% block content %}
APIs are the threads that let you stitch together a rich web experience. But this experience has a hard time translating to the browser, where the options for cross-domain requests are limited to techniques like JSON-P (which has limited use due to security concerns) or setting up a custom proxy (which can be a pain to set up and maintain).
Cross-Origin Resource Sharing (CORS) is a W3C spec that allows cross-domain communication from the browser. By building on top of the XMLHttpRequest object, CORS allows developers to work with the same idioms as same-domain requests.
The use-case for CORS is simple. Imagine the site alice.com has some data that the site bob.com wants to access. This type of request traditionally wouldn’t be allowed under the browser’s same origin policy. However, by supporting CORS requests, alice.com can add a few special response headers that allows bob.com to access the data.
As you can see from this example, CORS support requires coordination between both the server and client. Luckily, if you are a client-side developer you are shielded from most of these details. The rest of this article shows how clients can make cross-origin requests, and how servers can configure themselves to support CORS.
This section shows how to make a cross-domain request in JavaScript.
CORS is supported in the following browsers:
Chrome, Firefox, Opera and Safari all use the XMLHttpRequest2 object. Internet Explorer uses the similar XDomainRequest object, which works in much the same way as its XMLHttpRequest counterpart, but adds additional security precautions.
To get started, you will first need to create the appropriate request object. Nicholas Zakas wrote a simple helper method to help sort out the browser differences:
function createCORSRequest(method, url) { var xhr = new XMLHttpRequest(); if ("withCredentials" in xhr) { // Check if the XMLHttpRequest object has a "withCredentials" property. // "withCredentials" only exists on XMLHTTPRequest2 objects. xhr.open(method, url, true); } else if (typeof XDomainRequest != "undefined") { // Otherwise, check if XDomainRequest. // XDomainRequest only exists in IE, and is IE's way of making CORS requests. xhr = new XDomainRequest(); xhr.open(method, url); } else { // Otherwise, CORS is not supported by the browser. xhr = null; } return xhr; } var xhr = createCORSRequest('GET', url); if (!xhr) { throw new Error('CORS not supported'); }
The original XMLHttpRequest object had only one event handler, onreadystatechange
, which handled all responses. Although onreadystatechange
is still available, XMLHttpRequest2 introduces a bunch of new event handlers. Here is a complete list:
| Event Handler | Description |
|---|---|
| onloadstart* | When the request starts. |
| onprogress | While loading and sending data. |
| onabort* | When the request has been aborted. For instance, by invoking the abort() method. |
| onerror | When the request has failed. |
| onload | When the request has successfully completed. |
| ontimeout | When the author specified timeout has passed before the request could complete. |
| onloadend* | When the request has completed (either in success or failure). |
* starred items are not supported by IE's XDomainRequest
source: http://www.w3.org/TR/XMLHttpRequest2/#events
For most cases, you will at the very least want to handle the onload
and onerror
events:
xhr.onload = function() { var responseText = xhr.responseText; console.log(responseText); // process the response. }; xhr.onerror = function() { console.log('There was an error!'); };
Browers don't do a good job of reporting what went wrong when there is an error. For example, Firefox reports a status of 0 and an empty statusText for all errors. Browsers also report an error message to the console log, but this message cannot be accessed from JavaScript. When handling onerror
, you will know that an error occurred, but not much else.
Standard CORS requests do not send or set any cookies by default. In order to include cookies as part of the request, you need to set the XMLHttpRequest’s .withCredentials
property to true:
xhr.withCredentials = true;
In order for this to work, the server must also enable credentials by setting the Access-Control-Allow-Credentials response header to “true”. See the server section for details.
Access-Control-Allow-Credentials: true
The .withCredentials
property will include any cookies from the remote domain in the request, and it will also set any cookies from the remote domain. Note that these cookies still honor same-origin policies, so your JavaScript code can’t access the cookies from document.cookie or the response headers. They can only be controlled by the remote domain.
Now that your CORS request is configured, you are ready to make the request. This is done by calling the send()
method:
xhr.send();
If the request has a body, it can be specified as an argument to send()
.
And thats it! Assuming the server is properly configured to respond to CORS requests, your onload
handler will fire with the response, just like the standard same-domain XHR you are so familiar with.
Here is a full working sample of a CORS request. Run the sample and watch the network requests in the browser's debugger to see the actual request being made.
// Create the XHR object. function createCORSRequest(method, url) { var xhr = new XMLHttpRequest(); if ("withCredentials" in xhr) { // XHR for Chrome/Firefox/Opera/Safari. xhr.open(method, url, true); } else if (typeof XDomainRequest != "undefined") { // XDomainRequest for IE. xhr = new XDomainRequest(); xhr.open(method, url); } else { // CORS not supported. xhr = null; } return xhr; } // Helper method to parse the title tag from the response. function getTitle(text) { return text.match('<title>(.*)?</title>')[1]; } // Make the actual CORS request. function makeCorsRequest() { // This is a sample server that supports CORS. var url = 'http://html5rocks-cors.s3-website-us-east-1.amazonaws.com/index.html'; var xhr = createCORSRequest('GET', url); if (!xhr) { alert('CORS not supported'); return; } // Response handlers. xhr.onload = function() { var text = xhr.responseText; var title = getTitle(text); alert('Response from CORS request to ' + url + ': ' + title); }; xhr.onerror = function() { alert('Woops, there was an error making the request.'); }; xhr.send(); }
Most of the heavy lifting for CORS is handled between the browser and the server. The browser adds some additional headers, and sometimes makes additional requests, during a CORS request on behalf of the client. These additions are hidden from the client (but can be discovered using a packet analyzer such as Wireshark).
Browser manufacturers are responsible for the browser-side implementation. This section explains how a server can configure its headers to support CORS.
Cross-origin requests come in two flavors:
Simple requests are characterized as such because they can already be made from a browser without using CORS. For example, a JSON-P request can issue a cross-domain GET request. Or HTML could be used to do a form POST.
Any request that does not meet the criteria above is a not-so-simple request, and requires a little extra communication between the browser and the server (called a preflight request), which we’ll get into below.
Lets start by examining a simple request from the client. The table below shows the JavaScript code for a simple GET request on the left, along with the actual HTTP request that the browser emits; CORS specific headers are in bold.
JavaScript:
var url = 'http://api.alice.com/cors'; var xhr = createCORSRequest('GET', url); xhr.send();
HTTP Request:
GET /cors HTTP/1.1 Origin: http://api.bob.com Host: api.alice.com Accept-Language: en-US Connection: keep-alive User-Agent: Mozilla/5.0...
The first thing to note is that a valid CORS request *always* contains an Origin header. This Origin header is added by the browser, and can not be controlled by the user. The value of this header is the scheme (e.g. http), domain (e.g. bob.com) and port (included only if it is not a default port, e.g. 81) from which the request originates; for example: http://api.alice.com.
The presence of the Origin header does not necessarily mean that the request is a cross-origin request. While all cross-origin requests will contain an Origin header, some same-origin requests might have one as well. For example, Firefox doesn't include an Origin header on same-origin requests. But Chrome and Safari include an Origin header on same-origin POST/PUT/DELETE requests (same-origin GET requests will not have an Origin header). Here is an example of a same-origin request with an Origin header:
HTTP Request:
POST /cors HTTP/1.1 Origin: http://api.bob.com Host: api.bob.com
The good news is that browsers don't expect CORS response headers on same-origin requests. The response to a same-origin request is sent to user, regardless of whether it has CORS headers or not. However, if your server code returns an error if the Origin doesn't match a list of allowed domains, be sure to include the origin the request comes from.
Here’s a valid server response; the CORS-specific headers are bolded
HTTP Response:
Access-Control-Allow-Origin: http://api.bob.com Access-Control-Allow-Credentials: true Access-Control-Expose-Headers: FooBar Content-Type: text/html; charset=utf-8
All CORS related headers are prefixed with "Access-Control-". Here’s some more details about each header.
Access-Control-Allow-Origin
(required) - This header must be included in all valid CORS responses; omitting the header will cause the CORS request to fail. The value of the header can either echo the Origin request header (as in the example above), or be a '*' to allow requests from any origin. If you’d like any site to be able to access your data, using '*' is fine. But if you’d like finer control over who can access your data, use an actual value in the header.
Access-Control-Allow-Credentials
(optional) - By default, cookies are not included in CORS requests. Use this header to indicate that cookies should be included in CORS requests. The only valid value for this header is true
(all lowercase). If you don't need cookies, don't include this header (rather than setting its value to false
).
The Access-Control-Allow-Credentials header works in conjunction with the withCredentials property on the XMLHttpRequest 2 object. Both these properties must be set to true
in order for the CORS request to succeed. If .withCredentials is true
, but there is no Access-Control-Allow-Credentials
header, the request will fail (and vice versa).
Its recommended that you don’t set this header unless you are sure you want cookies to be included in CORS requests.
Access-Control-Expose-Headers
(optional) - The XMLHttpRequest 2 object has a getResponseHeader() method that returns the value of a particular response header. During a CORS request, the getResponseHeader() method can only access simple response headers. Simple response headers are defined as follows:
If you want clients to be able to access other headers, you have to use the Access-Control-Expose-Headers
header. The value of this header is a comma-delimited list of response headers you want to expose to the client.
So that takes care of a simple GET request, but what if you want to do something more? Maybe you want to support other HTTP verbs like PUT or DELETE, or you want to support JSON using Content-Type: application/json. Then you need to handle what we’re calling a not-so-simple request.
A not-so-simple request looks like a single request to the client, but it actually consists of two requests under the hood. The browser first issues a preflight request, which is like asking the server for permission to make the actual request. Once permissions have been granted, the browser makes the actual request. The browser handles the details of these two requests transparently. The preflight response can also be cached so that it is not issued on every request.
Here’s an example of a not-so-simple request:
JavaScript:
var url = 'http://api.alice.com/cors'; var xhr = createCORSRequest('PUT', url); xhr.setRequestHeader( 'X-Custom-Header', 'value'); xhr.send();
Preflight Request:
OPTIONS /cors HTTP/1.1 Origin: http://api.bob.com Access-Control-Request-Method: PUT Access-Control-Request-Headers: X-Custom-Header Host: api.alice.com Accept-Language: en-US Connection: keep-alive User-Agent: Mozilla/5.0...
Like the simple request, the browser adds the Origin header to every request, including the preflight. The preflight request is made as an HTTP OPTIONS request (so be sure your server is able to respond to this method). It also contains a few additional headers:
Access-Control-Request-Method
- The HTTP method of the actual request. This request header is always included, even if the HTTP method is a simple HTTP method as defined earlier (GET, POST, HEAD).
Access-Control-Request-Headers
- A comma-delimited list of non-simple headers that are included in the request.
The preflight request is a way of asking permissions for the actual request, before making the actual request. The server should inspect the two headers above to verify that both the HTTP method and the requested headers are valid and accepted.
If the HTTP method and headers are valid, the server should respond with the following:
Preflight Request:
OPTIONS /cors HTTP/1.1 Origin: http://api.bob.com Access-Control-Request-Method: PUT Access-Control-Request-Headers: X-Custom-Header Host: api.alice.com Accept-Language: en-US Connection: keep-alive User-Agent: Mozilla/5.0...
Preflight Response:
Access-Control-Allow-Origin: http://api.bob.com Access-Control-Allow-Methods: GET, POST, PUT Access-Control-Allow-Headers: X-Custom-Header Content-Type: text/html; charset=utf-8
Access-Control-Allow-Origin
(required) - Like the simple response, the preflight response must include this header.
Access-Control-Allow-Methods
(required) - Comma-delimited list of the supported HTTP methods. Note that although the preflight request only asks permisions for a single HTTP method, this reponse header can include the list of all supported HTTP methods. This is helpful because the preflight response may be cached, so a single preflight response can contain details about multiple request types.
Access-Control-Allow-Headers
(required if the request has an Access-Control-Request-Headers
header) - Comma-delimited list of the supported request headers. Like the Access-Control-Allow-Methods
header above, this can list all the headers supported by the server (not only the headers requested in the preflight request).
Access-Control-Allow-Credentials
(optional) - Same as simple request.
Access-Control-Max-Age
(optional) - Making a preflight request on *every* request becomes expensive, since the browser is making two requests for every client request. The value of this header allows the preflight response to be cached for a specified number of seconds.
Once the preflight request gives permissions, the browser makes the actual request. The actual request looks like the simple request, and the response should be processed in the same way:
Actual Request:
PUT /cors HTTP/1.1 Origin: http://api.bob.com Host: api.alice.com X-Custom-Header: value Accept-Language: en-US Connection: keep-alive User-Agent: Mozilla/5.0...
Actual Response:
Access-Control-Allow-Origin: http://api.bob.com Content-Type: text/html; charset=utf-8
If the server wants to deny the CORS request, it can just return a generic response (like HTTP 200), without any CORS header. The server may want to deny the request if the HTTP method or headers requested in the preflight are not valid. Since there are no CORS-specific headers in the response, the browser assumes the request is invalid, and doesn’t make the actual request:
Preflight Request:
OPTIONS /cors HTTP/1.1 Origin: http://api.bob.com Access-Control-Request-Method: PUT Access-Control-Request-Headers: X-Custom-Header Host: api.alice.com Accept-Language: en-US Connection: keep-alive User-Agent: Mozilla/5.0...
Preflight Response:
// ERROR - No CORS headers, this is an invalid request! Content-Type: text/html; charset=utf-8
If there is an error in the CORS request, the browser will fire the client's onerror
event handler. It will also print the following error to the console log:
XMLHttpRequest cannot load http://api.alice.com. Origin http://api.bob.com is not allowed by Access-Control-Allow-Origin.
The browser doesn't give you a lot of details on why the error occurred, it only tells you that something went wrong.
While CORS lays the groundwork for making cross-domain requests, the CORS headers are not a substitute for sound security practices. You shouldn't rely on the CORS header for securing resources on your site. Use the CORS headers to give the browser directions on cross-domain access, but use some other security mechanism, such as cookies or OAuth2, if you need additional security restrictions on your content.
JQuery's $.ajax()
method can be used to make both regular XHR and CORS requests. A few notes about JQuery's implementation:
$.support.cors
boolean will be set to true
if the browser supports CORS (This returns false
in IE, see bullet above). This can be a quick way to check for CORS support.Here's sample code for making a CORS request with JQuery. The comments give more details on how certain properties interact with CORS.
$.ajax({ // The 'type' property sets the HTTP method. // A value of 'PUT' or 'DELETE' will trigger a preflight request. type: 'GET', // The URL to make the request to. url: 'http://html5rocks-cors.s3-website-us-east-1.amazonaws.com/index.html', // The 'contentType' property sets the 'Content-Type' header. // The JQuery default for this property is // 'application/x-www-form-urlencoded; charset=UTF-8', which does not trigger // a preflight. If you set this value to anything other than // application/x-www-form-urlencoded, multipart/form-data, or text/plain, // you will trigger a preflight request. contentType: 'text/plain', xhrFields: { // The 'xhrFields' property sets additional fields on the XMLHttpRequest. // This can be used to set the 'withCredentials' property. // Set the value to 'true' if you'd like to pass cookies to the server. // If this is enabled, your server must respond with the header // 'Access-Control-Allow-Credentials: true'. withCredentials: false }, headers: { // Set any custom headers here. // If you set any non-simple headers, your server must include these // headers in the 'Access-Control-Allow-Headers' response header. }, success: function() { // Here's where you handle a successful response. }, error: function() { // Here's where you handle an error response. // Note that if the error was due to a CORS issue, // this function will still fire, but there won't be any additional // information about the error. } });
Chrome extensions support cross-domain requests in a two different ways:
"permissions": [ "http://*.html5rocks.com"]The server doesn't need to include any additional CORS headers or do any more work in order for the request to succeed.
CORS support is still being actively developed in all browsers; here's a list of known issues (as of 10/2/2013):
The flowchart below shows how a server should make the decisions as to which headers to add to a CORS response. Click the image to see a larger version.
In Canvas and WebGL contexts, cross origin images can pose big problems. You can use the crossOrigin attribute on the image element to address much of them. Read Chromium Blog: Using Cross-domain images in WebGL and Mozilla Hacks: Using CORS to load WebGL textures from cross-domain images for the details. Implementation specifics can be found at the MDN page for CORS-enabled Image.
Here are some resources if you'd like to learn more about CORS:


I am a full stack software developer with strong prgramming, analytical, debugging and mathematical skills.
GPA: 3.847
Major: Computer Science
Time: August 2020 - December 2021(Expected Graduate)
Courseworks: Advanced Data Structure, Math/Algorithm System Analysis, Software Tools/Techniques, Theory of Computation, Statistical Methods
GPA: 4.00
Major:Computer Science
Time: January 2019 - June 2020
Courseworks: Object-Oriented Programming, Software Design, Advanced Data Structure and Algorithm, Computer Architecture and Organization, Calculus, Linear Algebra, Statistics
Languages: English, Chinese(Mandarin), Chinese(Cantonese)
Operating System: Windows 10, macOS, Linux, Unix, Ubuntu, Android, iOS
Development Software: Visual Studio Code, Eclipse, Atom, Microsoft Products, Putty, Bootstrap, Github, IntelliJ
Computer Science: Advanced data structure; Design& Analysis of Algorithm; Object-Oriented Programming; Software Tools& Techniques; Software Design
Programming Languages: Object-Oriented Design using C++, Java; Web development using HTML, CSS, JavaScript; Statistical Analysis using R; Terminal Programming using Shell Scripting
Attention to Details, Creativity, Time Management, Teamwork & Cooperation, Patience, Communication, Analysis, Problem Solving, Logical Thinking, Motivation, Responsibility, Willingness to Learn
Let's talk about how awesome programming is!
CONTACT ME


References
http://webcomponents.org/
http://www.polymer-project.org/
http://www.html5rocks.com/en/tutorials/webcomponents/customelements/
http://www.html5rocks.com/en/tutorials/webcomponents/imports/
http://developer.telerik.com/featured/web-components-ready-production/


|
|
|
||||
| {{currentItem.inputWeights[0].weight | trimDoubleFilter}} | {{currentItem.inputWeights[1].weight | trimDoubleFilter}} | {{currentItem.activationValue.value | trimDoubleFilter}} | {{currentItem.outputWeight.weight | trimDoubleFilter}} | ||
| {{OutputLayerActivationValue | trimDoubleFilter}} |


this is mason's blog guys
why are my hands so cold
XKCD tips on psuedo-malicious code
In the comic above we see a parent who has not-so-subtely named her child a command which, when interpreted by most basic SQL database programs, will remove her child's entry from the database. There are different kinds of text that fields in databases are prepared to handle, so one must be careful to ensure that these fields dont interpret their contents as commands or code that should be run. Many simple script-kiddie exploits are passed around in this manner, as simple blurbs of code which, when accidentally ran by whichever program reads them, can be devastating. Make sure to isolate your and specify your data from the programs that run them or you might be next.


CSS toggle test
Select the type of container/bin
Recycling
Waste
Select any recycling types that this container/bin allows
Loading...
Select any waste types that this container/bin allows
Loading...


(Only characters who are level 75 or above may undertake this quest.)


WITNESS LIST
Pensions Committee
March 27, 2017 - 2:00 PM or upon final adjourn./recess
For:
Bratton, Terry (Houston Police Officers Pension System)
Brown, Chris (Self; City of Houston Controller's Office)
Dowe, Kelly (Mayor's Office, City of Houston)
Dowe, T. Kelly (Self; City of Houston)
Elkin, Bill (Houston police Retired Officers Association)
Hughes, Melvin (Self; Hope union 123 houston tx)
Hunt, Ray (Houston Police Officers' Union)
Lawson, John (Self; Hpops)
Lewis, Ronald (Houston)
Lewis, Ronald (Mayor's Office, City of Houston)
Long, David (Houston Municipal Pension System)
Mose, Sherry (Houston Municipal Employees Pension System)
Perales, Erin (Houston Municipal Employees Pension System)
Perales, Erin (Houston Municipal Employees Pension System)
Turner, Sylvester (City of Houston)
Turner, Sylvester (Self; Mayor, City of Houston)
Watts, Marc (Greater Houston Partnership)
Against:
Barry, William (Self; Houston retired firefighters)
Bowen, Scott (Self)
Burke, Cindy (Self)
Buschardt, Karen (Self; Houston Fire Department)
Cruz, Eddie (Self; Houston Fire Department)
Dixon, Jared (Self)
Downs, Garrick (Self)
Dunbar, Steven (Self)
Elliott, David (Self; Texan)
Fitzpatrick, Joseph (Self firefighters)
Fovargue, Ron (Self)
Greenberg, Bruce (Self)
Hershey, Brannon (Self; Houston Retired Firefighters Association)
Hooper, Don (Self)
Hunter, Larry (Self; Houston retired firefighters assoc)
Irwin, Richard (Hrfa)
Jasinski, Stephen (Self)
Keller, David (Self; Houston Firefighters' Relief and Retirement Fund - Board Fund)
King, Bill (Self)
Lummus, Tommy (Self; Houston Fire Depatment)
Marsh, Ralph (Self; Houston Fire Fighters Pension)
Mason, Craig (Self)
McAllister, Christopher (Self)
1
WITNESS LIST
Against:
Moreau, Craig (Self; Firefighters Pension)
Morrison, RD (Self)
Morrison, RD (Self)
Pangarakis, Gary (Self)
Payne, Chester (Self; Houston fire dept)
Pedraza, Fernando (Houston Fire Deptment)
Phillips, William (Self)
Quintero, James (Texas Public Policy Foundation)
Rhem, Jack (Self)
Rice, Joe (Self)
Sandlin, Jacob (Self; Houston Firefighter)
Scar brough, Daphne (Self)
Shaunessy, Mike (HFFrrf)
Simonton, Chris (Self)
Slagle, Lisa (Self)
Slagle, Thomas (Self)
Smith, John (Self; Houston Fire Department)
Smith, Michael (Self; Houston fire dept)
Stansel, Jerry (Self; Houston Fire Department)
Taylor, Andy (FF Pension Fund)
Taylor, Richard (Self; Retired firefighters)
Tolliver, Kirkland (Self; Self Firefighter)
Williams, Steve (Self; Houston Retired Firefighters Assoc.)
Woodard, Leslie (Self)
On:
Anumeha, Anu (Pension review board)
May, Bob (State Pension Review Board)
McGee, Josh (State Pension Review Board)
Simpson, Paul (Self; Harris County Republican Party)
Zook, Christopher (Self; C club of Houston)
Registering, but not testifying:
For:
Allen, Ernet (Self)
Andrews, Vickie (Self)
Bhattacharya, Shyamal (Self; Hope)
Boutte, Michael (Self)
Bowen, Dennis (Self)
Bradley, Dwight (Self)
Carpio, Hector (Self)
Dailey, Dalton (Self)
Davis, Joseph (Self)
Deboest, Lloyd (Hope123)
Dorelus, Jean (Self)
2
WITNESS LIST
For:
Eason, Arthur (Self; Hope)
Gatson, Earnest (Self; Hope)
Gentry, James (Self)
Guillen jr, Anselmo (Self; Hope 123)
Gullette, Roswell (Self)
Haynes, Vernon (Self)
Hill, Gary (Self; HOPE123)
Hughes, Lutricia (Self; Hope Union)
Jackson, Ronald (Self)
Johnson, Nathan (Self)
Jones, Andrew (Self; Hope)
Jones, Charles (Self)
Kelly, Eugene (Self; Hope)
King, Lansanda (Self)
King, Stephanie (Self)
Kivela, Anthony (Self; HPROA)
Leblanc, Timothy (Self; Hope)
Livingston, Curtis (Self)
Martin, Holly (Self)
Mayfield, Robert (Hope123)
McGriff, Tammie (Self)
Melara, Mr. Manuel (Self)
Morrison, Clara (Self)
Nieto, Michael (Self; Houston Fire Department)
Sanchez, Roy (Self; AFSCME/Houston organization of public employees.(HOPE)local 123)
Sanderson, Michael (Self; Hope)
Scruggs, Melanie (Self)
Sidney, Cynthia (Self)
Smith, Ida (Self)
Stamps, Darrell (Self; Hope)
Strambler, Esque (Self; Hope local 123, city workers)
Sturgis III, Gilbert (Self)
Talley, Jere (Self; Houston City employee, Hope local 123)
Thomas, Cherrie (Self; Hope)
Trevino, Jessie (Houston fire dept)
Tucker, Daniel (Self; HOPE)
Vales, Darryl (Self)
Williams, Gregory (Self; Hope Union)
Wilson, Jeffrey (Self; Hope123)
Wofford, Robert (Self; City of houston( hope)
Young, James (Self; Houston organization of public employees)
Against:
Abbott, Anthony (Houston Fire Department)
Abbott, Debbi (Self; City of Houston Fire Dept)
3
WITNESS LIST
Against:
Abbott, Nicholas (Self; City of Houston Fire Dept)
Alaniz, Steven (Self; Houston Fire Department)
Aleman, Gabriel (Self; Houston Fire Dept.)
Amaro, Terry (Self; Local 341. Houston Fire)
Amore, Vincent (Self; Houston Fire Dept.)
Anderson, Roger (Self)
Ardley, Jeff (HFD)
Arnt, Anthony (Self; Houston Retired Firefighters Assoc)
Artze, Scott (Self; Houston fire department)
Bailey, Michael (Houston Fire Department)
Baldy, William (Retired firefighters)
Barnes, Guy (Self; Houston retired)
Barnes, Justin n.


Alright to start this story off coherently Iíll give you some background. I'm 16 and have pretty minimal experience with psychedelics. Iíve dropped acid a few times and mushrooms once, but all of those were weak except for the first acid trip, which I need to put in a trip report someday. I've always wanted to have a shamanic trip, and I was determined that the next time I got a chance I would really prepare for it and be ready.
My friend, lets call him Mike for the sake of anonymity, called me up one day and said he had some Salvia Divinorum, but only enough for him. I asked to come over just so I could see what he was like on it and possibly then order some online for myself. When I got over there he said that actually he did have enough for not only me, but two other people! So all four of us sat around his coffee table and began our preparations. We were in a small basement room with two very thin windows. They let small amounts of moonlight into the room, giving a creepy kind of effect. Mike had scattered soft lights all over the room, and there was a stereo playing some soft trance music. There was an 18' glass water bong set up on a coffee table in the middle of the room. There were three leather chairs and one loveseat set up around the coffee table. I got comfortble in the loveseat while Mike set it all up.
NOTE: all of the following events took place in about 15-25 minutes and felt like hours.
For each of the hits he put one leaf with some 10x extract sprinkled on it. I took 3 huge hits just like it said to do online and leaned back and waited. I started feeling a pressure on the inside of my head pushing me. I sat up to tell Mike but when I did I saw that they were all gone and I was alone in the room. I think this was because they were all under blankets but I dunno. I looked at the room and realized something was different but I didnít know what. I started searching all over, trying to find the difference. I finally realized that the problem was probably the gaping hole in space and time hanging over the coffee table.
I decided I would try to go towards it, but as I did the pressure in my head increased. Finally, about a foot away from it, my head literally exploded and I was pulled apart. I fell backwards into the couch and closed my eyes, but the light from the hole shined through my eyelids.  Everything after this is an inner journey. All I was doing during this was lying on the couch and closing my eyes. I was flying through fields of flowers and wheat, faster then anything that ever could have existed in the real world. There was a sound in the background building up. Suddenly there was a bang and everything turned white.
I looked around and realized I was still on the couch, but thatís all there was. Everywhere I looked was pure white, for as far as I could see. I decided that I was in a matrix-like world. I had watched the Matrix earlier in the day and it influences the entire trip. I tried the neo thing with a small twist 'Drugs, I need drugs!' I was informed later that I said this out loud. Huge amounts of substances rushed by me, one of everything. I saw that stretching down the row of piles, they became wierder and wierder. I realized that the wierd ones were from other worlds parallel to ours. The further away they were, the more different the worlds were. I discovered though, that no matter where I looked there was no salvia.
'Whereís the Salvia!' I yelled.
It all cleared away and a small column of smoke appeared. I somehow knew that there was a being in the smoke that was both male and female at the same time. I decided I would stick to the rules regarding entities while 'traveling.' Even though I donít believe these are real, it is a good deterrent against a bad trip. Eventually the entity spoke to me and asked if I was ready. I responded yes and the couch dropped away. I started falling through millions of alternate universes. At the beginning there were only slight differences from our universe, but after a couple of minutes they were wierd beyond description. In some of them I only stayed a couple of seconds, while in others it felt I lived whole lives. In an odd yellow world I was actually a piece of land for a couple of years, just watching these dog-like things crawl all over me.
I finally fell back into my own world and opened my eyes just as Mike was loading another hit for himself.
 This time it was uncovered and out of the smoke. It explained that it was the gatekeeper and it is responsible for meeting people who are dumped here by salvia. At this point it pulled out a clock and said that I had very little time. I thought about this and realized that time doesnít exist here. As I thought about it I realized I could control the world I was in. I entertained myself for five minutes by creating simple shapes and constructs, but then I began to actually construct a whole world. Somehow the entity resolved into a woman and she said that I had passed the test and was now fully allowed into the salvia world. If I hadn't passed, she explained, I would have been cast out and simply had a bad trip from then on whenever I smoked salvia. She then explained to me a bunch of different things, which I actually wrote down:
Gatekeeper's Revelations: Remembrance
1) The space I'm in is the future, but not like we think. It is called Blankspace.
2) Time is not linear, it's unmeasurable. In between each trot [some sort of measure of time] the entire universe is destroyed and recreated.
3) Blankspace is the construction ground for these new universes.
4) Since everything is empty and waiting to be rebuilt, the walls that seperate universes are completely destroyed on salvia and can be traveled through.
5) As I wait in this space I can see bits and pieces of the new worlds being built.
6) When I fell she was actually showing me time being reattached to the world, so I could live a little bit in each one.
7) There are many different entities that serve different functions throughout this blankspace, eventually Iíll get to meet them all I just have to be careful.
Suddenly the Gatekeeper acted scared and said 'Hide! The lady is coming.' I asked her why I needed to hide and said I wanted to meet her. She told me that the lady is too powerful and Iím not ready yet, I wouldnít be able to handle it. Iím not sure how this worked but I created a room for myself, went in and then destroyed the room. My consciousness just floated through but something wierd happened. When my body was destroyed that also destroyed my sense of myself. While floating I encompassed everything and everyone there was no 'me' to speak of.
I felt some sort of power descending and suddenly I regained my sense of self and a flood of warmth and love flowed over me. I felt, not saw, the Lady descend and begin speaking to the gatekeeper. They had a conversation which basically was the Lady wanted to speak to me but the gatekeeper said no, not yet. I felt that the Lady could have either forced the gatekeeper to reveal me or just found me herself but she didnít want to use force. She said fine and left.
The next thing I knew I was on the couch again, but back in the real world and holding my phone. I was still confused but I managed to call one of my friends and have a very disoriented discussion with her. To conclude, Salvia was AMAZING. I have never experienced anything like this before. I am truly hoping that the next trip will act as a follow-up to this and maybe I can meet more of these entities that I saw off in the distance. I would highly recommend this to anyone and the only advice I can give is to read lots and lots of science fiction!!! I later realized that alot of things from there probably came from my obsessive reading of science fiction books. I recognized the universe being destroyed and recreated as an idea combined from a Stephen King book and a discussion on quantam mechanics I had with my dad.
 In my moment of clarity I realized that while weed is fun, its really just a cheap high with no meaning and I could be spending my time on better things. Anyways GOD BLESS THE LADY S!!!
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


You can buy a gift set containing three mini jars of Nutella for Christmas
These are so adorable
by Nisha MalThis Christmas shoppers can buy a gift set of novelty mini jars of Nutella.
The little pots are oozing with the chocolate hazelnut spread, making them perfect for fans of the sweet treat.
The festive gift set is illustrated with a snowman, Rudolph and a penguin, all of which are wearing red stripy hat and mittens.
Nutella says: "Containing two 15g portions in each jar, the trio will make a fun addition to family breakfasts – whether used as a tasty topping on toast, as a partner to pancakes, or an accompaniment to fresh fruit, Nutella can spread some extra happiness this Christmas."
The chocolate maker is also bringing pack its popular super-sized jars (£4-£7).
Shoppers can personalise the label to include a name or a message for someone special.
You can choose from a 400g jar all the way to a 1kg one.
The mini jar gift set is available to buy in Asda, Sainsburys, Tesco and Debenhams for £3.20.


 For now I'm going to comment the whole thing out. To bring this back, we'd either have to probably add this to DRF (preferred) or just create our own subclass of the html renderer that adds this form to the renderer's context.  There's no block in base.html that wraps around the content, so we have to throw this in the footer. 2. 'view.get_name ==' is not the right way to do this. 3. Django Rest framework lets you add POST forms and PUT forms, but not GET forms on list views, which as we're doing here, and seems like a nice thing to have in a "browsable api". Maybe we should add this to DRF... {% endcomment %} {% comment%} {% if view.get_name == 'Report List' %}
Fill out the form and watch the url for examples of how to query the API.


--- layout: post title: Raspberry and Dark Chocolate Cake date: 2011-08-03 12:24:26.000000000 -04:00 categories: - Gastronomic Explosions - aka Yummy Food/Recipes tags: - cake recipe - Delicious recipe - quick and easy dessert - Raspberry and dark chocolate cake status: publish type: post published: true meta: aktt_notify_twitter: 'no' _edit_last: '1' dsq_thread_id: '1188064951' author: login: cint email<EMAIL_ADDRESS>display_name: Jacinta first_name: Jacinta last_name: '' ---
Well to say the least, this week has been rather full on. With two sick kids, my to do list which has grown to epic proportions, including trying to get my kitchen renovation off to a start amongst other things, had to be put on hold. Enter the fact that I have been without my oven for over three months now (it died without warning), my need for something sweet and home baked had reached crisis level. Enter dad's turbo oven (it's like a bench top convection oven), he has loaned us. Thanks dad!
I had raspberries in the freezer and dark chocolate in the cupboard and my need for cake, straight out of the oven, was necessary for me to survive another day in sickieville! I made the recipe up as I went and two slices in, I can say it was a success. The kids had some too. I don't think they could believe their luck, as I don't often let them have anything with white sugar let alone chocolate (besides birthday cakes). Suffice to say, they loved it! My first piece happened to have a huge chunk of melted chocolate in the middle and mixed with the tart flavour of the raspberries, I think I may have bitten into heaven itself.
Ingredients:
1 cup raspberries (I used frozen)
100 gm quality dark chocolate, coarsely chopped
1/2 cup castor sugar
1 cup plain flour
1 cup milk
1 egg
1 small lemon, juiced
rind of one lemon
3 tbsp oil (I use GM free canola oil)
1/2 tsp baking powder (bi-carb soda)
1 tsp cream of tartar
Method:
First make buttermilk by adding the juice of a lemon to the milk. Stir and set aside. Place raspberries in a bowl and sprinkle with about 2 tablespoons of the castor sugar and set aside.
Crack the egg into a mixing bowl and beat until light and fluffy. Add oil and 1/4 cup of castor sugar and beat until well combined. Stir in lemon rind and buttermilk. Sift flour, baking powder, cream of tartar and remaining sugar. Add to the wet ingredients and stir until just combined. Stir in raspberries and coarsely chopped chocolate.
Pour mixture into a greased cake tin and place in a pre-heated moderate oven for approx. 40 mins or until cooked through. (Using the turbo oven I cooked the cake at 200 degrees celsius for around 55 mins, but this will vary according to your oven). Remove from oven and let cool slightly before cutting. Cut a wedge (or two) and serve with extra berries, dusted with icing sugar or whipped cream if desired.
[caption id="attachment_1084" align="aligncenter" width="600" caption="Raspberry and Dark Chocolate Cake"][/caption]
Enjoy! Jacinta x


{% extends 'base.html'%} {% block styles%} {{ super() }} {% endblock %} {% block content %}
Here, you have only sixty seconds which can count in your life, its upon you to make it come through.
The efficiency of most workers is beyond the control of the management and depends more than has been supposed upon the willingness of men to do their best.
As a man, unless you go out and toil for yourself and your family or you end up leading the poorest future.
The only things that evolve by themselves in an organization are disorder, friction and malperformance.
There can be no economy where there is no efficiency.
Simplicity is the ultimate sophistication.
If you want to understand how a lion hunts, don’t go to the zoo. Go to the jungle.

The difference between the almost right word and the right word is the difference between the lightning bug and the lightning.
Great content is the best sales tool in the world.
The greatest thing in this world is not so much where we stand, as in what direction we are moving.
It's time to start living the life we've imagined.
The most valuable of all talents is that of never using two words when one will do.
All our dreams can come true, if we have the courage to pursue them.
Before you build a better mousetrap, it helps to know if there are any mice out there.
In the middle of difficulty lies opportunity.


|
Average Step Time
lower is better
(σ = {{steptimeMsStddev}} ms)
|
{{steptimeMsAverage}} ms
|
|
Host Idle Time
lower is better
|
{{hostIdleTimePercent}}
|
|
TPU Idle Time
lower is better
|
{{deviceIdleTimePercent}}
|
|
FLOPS Utilization
(higher is better,
why two numbers?
)
|
|
Memory Bandwidth Utilization
higher is better
|
{{memoryBwUtilizationRelativeToHwLimit}}
|
(σ = {{otherTimeMsSdv}} ms)
|
{{otherTimeMsAvg}} ms
|
(σ = {{compileTimeMsSdv}} ms)
|
{{compileTimeMsAvg}} ms
|
(σ = {{outfeedTimeMsSdv}} ms)
|
{{outfeedTimeMsAvg}} ms
|
(σ = {{infeedTimeMsSdv}} ms)
|
{{infeedTimeMsAvg}} ms
|
(σ = {{kernelLaunchTimeMsSdv}} ms)
|
{{kernelLaunchTimeMsAvg}} ms
|
(σ = {{hostComputeTimeMsSdv}} ms)
|
{{hostComputeTimeMsAvg}} ms
|
(σ = {{deviceToDeviceTimeMsSdv}} ms)
|
{{deviceToDeviceTimeMsAvg}} ms
|
(σ = {{deviceComputeTimeMsSdv}} ms)
|
{{deviceComputeTimeMsAvg}} ms
|
|
Device Compute Precisions
(out of Total Device Time)
|


One Spring Night (봄밤) is directed by Pan-suk Ahn and he had produced a popular K-drama Pretty Sister Who Buys Me Food / Something in the Rain (밥 잘 사주는 예쁜 누나) last year. I love One Spring Night for it tells a love story between two adults, which is full of realities.
Lee Jung-In (Han Ji-min) is a librarian who worked for serval years after graduation.  There are three sisters in the family. The eldest sister is a famous TV compere who married with a dentist. Her little sister has just come back from studying abroad in France. Her boyfriend is a bank executive, and his father is the chairman of a consortium and her father’s boss.
Yoo Ji-Ho (Jung Hae-in) is a pharmacist and he occasionally get together with his friends to drink or play basketball after work. In his mid-thirty, he looks solid and mature. Well, he’s also a single father.
These two protagonist did not meet in a romantic way, even a little awkward. Perhaps you’ll think that since they were fall in love with each other, why can’t they be together? However, the love in the world of adults’ is not so easy.
Lee Jung-In has a boyfriend who has been in love for many years and is about to get married. For the side of Yoo Ji-Ho, he has a son left by his ex-girlfriend. The show reminds me a Japanese drama Hirugao: Love Affairs in the Afternoon, which is also full of struggle for love.
What scenario will happen between these two leading roles? This K-drama has been updated to the 9th episode, and I’m strongly recommend you guys to watch this!
《春夜》是安畔锡导演与金恩编剧继《经常请吃饭的漂亮姐姐》的第二次合作，讲述了两个成年人之间充满烟火气息的爱情。
李静仁（韩智敏 饰）是一位图书馆管理员，父亲是学校校长母亲是全职主妇。家中有三个姐妹，长姐是著名电视节目主持人，嫁给了牙科医生；小妹刚从法国留学回来，在家待业中。她的男朋友是银行高管，男友的父亲是财团理事长，她父亲的上司。
刘志浩（丁海寅 饰）是一名药剂师，下班以后偶尔和朋友聚会喝酒或者打打篮球。35岁的他看起来很踏实靠谱，唯一不普通地方是他同时也是一位单亲爸爸。
两个人的相遇算不上是浪漫，甚至有些小尴尬。也许有人说，既然喜欢了就干脆在一起，但是成年人世界的恋爱哪有那么容易。一个有相恋多年即将结婚的男友，一个有前女友留下的儿子，男主角甚至还是女主男朋友的学弟…这部剧不免让我想起了直接大火的日剧《昼颜》。
他们两个之后会有怎么样的剧情呢？目前更新到第九集，强烈推荐大家去看！
- Movie URL: (https://www.themoviedb.org/tv/89604)
Critic: AAA
영화 URL: (https://www.themoviedb.org/tv/89604)
- 별점: AAA
This page is synchronized from the post: ‘【AAA】春夜 봄밤 One Spring Night (2019)’


Kelston Coding Sessions
Kelston Coding Sessions are organised by Kelston Club & Study Centre
and take place over Zoom three times a week. Club members are welcome as are their friends.
If you're interested in taking part, please email<EMAIL_ADDRESS>Not running yet; you're welcome to bring questions and code to the Thursday drop-in The session for beginners is from 5.30pm - 6.30pm on Mondays.
The meeting
URL is https://zoom.us/j/304987852
or the Zoom Meeting ID is 304 987 852
Starting again from 5th Sep 2020 The session for more experienced coders is from 2pm to 4pm on Saturdays.
The meeting URL is https://zoom.us/j/276867511
or the Zoom Meeting ID is 276 867 511
Starting again from 10th Sep 2020 On Thursdays from 5.30pm to 6.30pm there's a drop-in session where the young
coders can ask questions about their code or look for guidance or approaches
to new projects.
The meeting URL is https://zoom.us/j/811387280
or the Zoom Meeting ID is 811 387 280
Beginners
More Experienced
Drop-in


{% extends 'layout.html' %} {% block body %}
We can use video feed from the Meraki security camera. Typically, these shall come from the actual / imitated site i.e. schools, food serving area etc.
We will generate our own database based on the region of interest and features we wish to extract to develop ML models.


Dreams
My Future Dreams
Currently I hope to just graduate and and work as a system Dev over at OfferUp once i'm done. Down the road I would like to work as an SRE(site reliability engineer) for a company or work as a machine learning engineer lofty goals but you gotta shot for the stars I always say!


Termitary House / Tropical Space
Houses · Thanh Khê District, Vietnam
- version="1.0" encoding="UTF-8"? Architects: Tropical Space
- AreaArea of this architecture projectArea: 80.0 m2
- version="1.0" encoding="UTF-8"?YearCompletion year of this architecture project Year: 2014
- version="1.0" encoding="UTF-8"?PhotographsPhotographs: Hiroyuki Oki
- Curated by Fernanda Castro
- about 2 hours
Text description provided by the architects. The Termitary House was built in Da Nang, a central coastal city of Viet Nam. The climate in this area is rather extreme in the way it varies significantly between the sunny season and the rainy one. It is also influenced by a lot of tropical storms every year. Besides, Da Nang is well-known for the remains of Champa baked-brick Towers (during the Ancient Champa Kingdom), constructed during the time from the 4th century to the late 15th century. Of all, “Mỹ Sơn” Holy land is the most well-known.
Inspired by the termites’ special ability to build their nests in the local area, the architect has designed the house with a large sharing space in the center where a cooking counter, a dining table, and an entertaining corner are found. This “lobby” then leads to different functional areas in the house such as the rest room, the living room, and the bedrooms. All are connected artistically and comfortably. The mezzanine is where another bedroom, an altar room, and a small library are found.
The attic is an open relaxing area with curtains of vines. Designed for three people, the house does not need a lot of partitions except the ones for the altar room and the bedrooms. Meanwhile, in the sharing areas in the house, the family members can still see and chat to each other through the walls with holes arranged as randomly but scientifically as in an actual termitary.
The house is mainly built with baked bricks which are also a traditional material in the local area. They are the very material to have been used for the construction of the mysterious ancient Champa towers. The ceilings are casted with original concrete, and the floors are covered with terrazzo in dark colors. All furniture is made with the timber from the roof of the old house, which helps make the total actual cost of the construction a significant saving (about under 22,000 usd)
That the walls are entirely built with baked bricks makes the house cool in the summer; for this kind of bricks can function as a certain factor to keep the humidity for the entire house. The special constructing technique of “double skins” with two layers of one brick wall covering outside and one glass-aluminum frame inside creates a space within a wall, which functions as a buffer layer at both gables.
Besides, the arrangement of the toilets and the storage rooms along the walls not only helps block the strong winds during the stormy season but also leads them towards and through the gaps straight to the roof. This is due to the remarkable difference in pressure. On the roof, architects use a system of girders and upside down floors to create a small garden for plants - an ideal place for the whole family to relax and enjoy the breeze during the hot and muggy summer days.
The special design of the baked-brick walls with a lot of holes, together with the large inter-floor space, allows breeze and light to get to all the corners of the house, even the hardest-to-access areas. The house owners are also able to enjoy the blue sky during the daytime or the moonlight night-time from the living room, the dining table or the kitchen.
At different times during the day, the variety of the light intensity getting through the inter-floor holes makes the brick wall colors change from the light red in the morning, red at noon, dark red in the afternoon and more purple in the late afternoon and early evening. In the evening and at night, the house looks like a giant lantern with lights here and there from the holes. The surrounding brick walls are decorated with some rough bricks to make shadows. This improve the beauty and charm of every single samel-brick regarding its own shape and color.
Both the yard and the garden are covered with coarse gravels with some of the plants (which are rearranged) from the old house in order to retain some familiar features for the owners. Taking the best advantage of ventilation, lighting system and natural air conditioning mechanism has made The Termitary House optimize the positive elements of an effective tropical work. Text by Ly Kha Ngo
Note: This article was published originally in February 03, 2015


This is goeland client side html utility functions examples page
See also the debounce example
Documentation is available in docs directory
Back To the github home of this project
cgHtmlUtils.getEl('aNiceSpan').innerHTML = 'it works !';
and the span with id aNiceSpan contains :
function f1(a,b,c){
console.log('a : ', a , cgHtmlUtils.isNullOrUndefined(a))
console.log('b : ',b, cgHtmlUtils.isNullOrUndefined(b))
console.log('c : ',c , cgHtmlUtils.isNullOrUndefined(c))
}
f1('hello')
will give you at the console :
a : hello falseThe next section was added at runtime with "addDiv", content comes from "get*Param" functions.
try this link to experiment get*Param functions


StringProtocol
public extension StringProtocol
public extension StringProtocol where Index == String.Index
NOTE: These extensions feature some use of Apple’s built-in CommonCrypto utility.
-
NOTE: Because of issues with bundles and resources, and whatnot, this will not be tested with the unit tests.
Declaration
Swift
var localizedVariant: String { get }
Return Value
the localized string (main bundle) for this string, from the default
Localizable.strings
file. -
NOTE: Because of issues with bundles and resources, and whatnot, this will not be tested with the unit tests.
Declaration
Swift
var accessibilityLocalizedVariant: String { get }
Return Value
the localized string (main bundle) for this string, from an
Accessibility.strings
file. -
NOTE: Because of issues with bundles and resources, and whatnot, this will not be tested with the unit tests.
Declaration
Swift
var errorsLocalizedVariant: String { get }
Return Value
the localized string (main bundle) for this string, from an
Errors.strings
file. -
The following computed property comes from this: http://stackoverflow.com/a/27736118/879365
This extension function cleans up a URI string.
Declaration
Swift
var urlEncodedString: String? { get }
Return Value
a string, cleaned for URI.
-
This comes directly from here: https://stackoverflow.com/a/25471164/879365 Evaluate a string for proper email address form.
Declaration
Swift
var isAValidEmailAddress: Bool { get }
Return Value
True, if the email address is in valid form.
-
This calculates an MD5 checksum of the String, and returns it as an uppercase hex String.
Mostly from Matt Eaton’s blog entry.
It has direct access to Apple’s built-in CommonCrypto library as per this SO question
Here are a couple of sites that you can use to validate the results of this operation:
Declaration
Swift
var md5: String { get }
Return Value
an MD5 hash of the String, as an uppercase hex String.
-
This calculates a SHA256 checksum of the String, and returns it as an uppercase hex String.
Mostly from Matt Eaton’s blog entry.
It has direct access to Apple’s built-in CommonCrypto library as per this SO question
Here are a couple of sites that you can use to validate the results of this operation:
Declaration
Swift
var sha256: String { get }
Return Value
a SHA256 hash of the String, as an uppercase hex String.
-
This simply strips out all non-binary characters in the string, leaving only valid binary digits.
Declaration
Swift
var binaryOnly: String { get }
-
This simply strips out all non-octal characters in the string, leaving only valid octal digits.
Declaration
Swift
var octalOnly: String { get }
-
This simply strips out all non-decimal characters in the string, leaving only valid decimal digits.
Declaration
Swift
var decimalOnly: String { get }
-
This simply strips out all non-hex characters in the string, leaving only valid, uppercased (forced) hex digits.
Declaration
Swift
var hexOnly: String { get }
-
A fairly blunt-instrument hex digit pair-to-ASCII character converter. It isn’t particularly intelligent.
For example: “0x30313233” or “30 31 32 33” or “#30-31-32-33-H” or “30The 3132Quick Brown Fox Jumps Over the Lazy Doge33” all turn into “0123”.
Declaration
Swift
var hex2UTF8: String! { get }
Return Value
The String, assumed to be hex numbers (two characters, 0-F, separated by non-hex characters, or not separated); converted to an ASCII string (no spaces). Nil, if the string failed to yeild a UTF8 value. This requires two characters (0-9a-fA-F), side-by-side for each character. They may or may not be separated. Single characters are ignored.
-
This allows us to split a String, if one or more members of a CharacterSet are present.
Declaration
Swift
func setSplit(_ inCharacterset: CharacterSet) -> [Self.SubSequence]
Parameters
inCharacterset
A CharacterSet, containing all of the possible characters for a split. NOTE: If you want to mix high Unicode characters with ASCII characters in the input set, use the
CharacterSet(String.unicodeScalars)
constructor. TheCharacterSet(charactersIn: String)
constructor is buggy.Return Value
An Array of Substrings. The result of the split.
-
This allows us to split a String, if one or more character members of a String are present.
Declaration
Swift
func setSplit(charactersIn inString: String) -> [Self.SubSequence]
Parameters
charactersIn
A String, containing all of the possible characters for a split.
Return Value
An Array of Substrings. The result of the split.
-
This extension lets us uppercase only the first letter of the string (used for weekdays). From here: https://stackoverflow.com/a/28288340/879365
Declaration
Swift
var firstUppercased: String { get }
Return Value
The string, with only the first letter uppercased.
-
The opposite of the above
This extension function takes a URI-encoded String, and decodes it into a regular String.
Declaration
Swift
var urlDecodedString: String? { get }
Return Value
a string, restored from URI encoding.
-
Declaration
Swift
var hexDump8: [String] { get }
Return Value
The String, converted into an Array of uppercase 2-digit hex strings (leading 0s, 1 8-bit character per element). This actually takes the UTF8 value of each character.
-
Declaration
Swift
var hexDump16: [String] { get }
Return Value
The String, converted into an Array of uppercase 4-digit hex strings (leading 0s, 1 16-bit character per element). This actually takes the UTF16 value of each character.
-
Another fairly brute-force simple parser. This computed property will return an Int, extracted from the String, if the String is a Hex number. It will return nil, if the number cannot be extracted. For example, “20” would return 32, “F100” will return 61696, and “3” will return 3. “G” would return nil, but “George” would return 238 (“EE”).
Declaration
Swift
var hex2Int: Int! { get }
-
This “scrubs” a String, returning it as a proper UUID format (either 4 hex characters, or a split 32-hex-character String, in 8-4-4-4-12 format.
Declaration
Swift
var uuidFormat: String? { get }
Return Value
A traditional UUID format (may be XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX, or only 4 hex characters), or nil.
-
This allows us to find the first index of a substring.
Declaration
Swift
func index(of inString: Self, options inOptions: String.CompareOptions = []) -> Index?
Parameters
of
The substring we’re looking for.
options
The String options for the search.
Return Value
The index of the first occurrence. Nil, if does not occur.
-
This allows us to find the last index of a substring.
Declaration
Swift
func endIndex(of inString: Self, options inOptions: String.CompareOptions = []) -> Index?
Parameters
of
The substring we’re looking for.
options
The String options for the search.
Return Value
The index of the last occurrence. Nil, if does not occur.
-
This returns an Array of indexes that map all the occurrences of a given substring.
Declaration
Swift
func indexes(of inString: Self, options inOptions: String.CompareOptions = []) -> [Index]
Parameters
of
The substring we’re looking for.
options
The String options for the search.
Return Value
an Array, containing the indexes of each occurrence. Empty Array, if does not occur.
-
This returns an Array of Index Ranges that map all the occurrences of a given substring.
Declaration
Swift
func ranges(of inString: Self, options inOptions: String.CompareOptions = []) -> [Range<Index>]
Parameters
of
The substring we’re looking for.
options
The String options for the search.
Return Value
an Array, containing the Ranges that map each occurrence. Empty Array, if does not occur.


This program connects to the NASA's Prediction Of Worldwide Energy Resources database and gets the daily average of "All Sky Insolation Incident on a Horizontal Surface" from the last 28 years, it does so in the desired location given by a latitude and a longitude. Furthermore, it calculates the function that best describes the behaviour of the collected data through methods from "polynomialregression.js" using a polinomial regression of nth order.
Learn more in my Git.


First look at Michael Pena in ‘Fantasy Island’ (VIDEO)
by BY SERENA KAURLOS ANGELES, Nov 12 — Sony Pictures has released the first trailer for Blumhouse’s re-imagining of the classic 70s series Fantasy Island.
Michael Pena stars as Mr Roarke, who invites guests to his exclusive island resort to to live out their dreams only to find themselves trapped when their fantasies turn into nightmares.
The film also stars Lucy Hale, Maggie Q, Jimmy O. Yang, Parisa Fitz-Henley, Jimmy O. Yang, Portia Doubleday, Austin Stowell, Charlotte McKinney, Ryan Hansen and Michael Rooker.
The synopsis of the film reads: “In Blumhouse’s new spin on Fantasy Island, the enigmatic Mr Roarke makes the secret dreams of his lucky guests come true at a luxurious but remote tropical resort. But when the fantasies turn into nightmares, the guests have to solve the island’s mystery in order to escape with their lives.”
Fantasy Island is set for US release on February 14, 2020.


Good Quotations by Famous People:
Famous quotes, witty quotes, and funny quotations collected by Gabriel Robins over the
years.
"Moral indignation is jealousy with a halo." - H. G. Wells (1866-1946)
"Glory is fleeting, but obscurity is forever."
- Napoleon Bonaparte (1769-1821)
"The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people so full of doubts." - Bertrand Russell (1872-1970)
"Victory goes to the player who makes the next-to-last mistake."
- Chessmaster Savielly Grigorievitch Tartakower (1887-1956)
"Don't be so humble - you are not that great."
- Golda Meir (1898-1978) to a visiting diplomat
"His ignorance is encyclopedic"
- Abba Eban (1915-2002)
"If a man does his best, what else is there?"
- General George S. Patton (1885-1945)
"Political correctness is tyranny with manners." - Charlton Heston (1924-2008)
"You can avoid reality, but you cannot avoid the consequences of avoiding reality." - Ayn Rand (1905-1982)
"When one person suffers from a delusion it is called insanity; when many people suffer from a delusion it is called religion." - Robert Pirsig (1948-)
"Sex and religion are closer to each other than either might prefer." - Saint Thomas More (1478-1535)
"The greater danger for most of us lies not in setting our aim too high and falling short, but in setting our aim too low, and achieving our mark." - Michelangelo di Lodovico Buonarroti Simoni (1475-1564)
"I can write better than anybody who can write faster,
and I can write faster than anybody who can write better."
- A. J. Liebling (1904-1963)
"People demand freedom of speech to make up
for the freedom of thought which they avoid."
- Soren Aabye Kierkegaard (1813-1855)
"Give me chastity and continence, but not yet."
- Saint Augustine (354-430)
"Not everything that can be counted counts, and not everything that
counts can be counted."
- Albert Einstein (1879-1955)
"Only two things are infinite, the universe and human
stupidity, and I'm not sure about the former."
- Albert Einstein (1879-1955)
"A lie gets halfway around the world before the truth has a chance to
get its pants on."
- Sir Winston Churchill (1874-1965)
"You may not be interested in war, but war is interested in you." - Leon Trotsky (1879-1940)
"I do not feel obliged to believe that the same God who has
endowed us with sense, reason, and intellect has intended us to forgo
their use."
- Galileo Galilei (1564-1642)
"We are all atheists about most of the gods humanity has ever believed in. Some of us just go one god further." - Richard Dawkins (1941-)
"The artist is nothing without the gift, but the gift is nothing
without work."
- Emile Zola (1840-1902)
"This book fills a much-needed gap."
- Moses Hadas (1900-1966) in a review
"The full use of your powers along lines of excellence."
- definition of "happiness" by John F. Kennedy (1917-1963)
"I'm living so far beyond my income that we may
almost be said to be living apart."
- e e cummings (1894-1962)
"Give me a museum and I'll fill it."
- Pablo Picasso (1881-1973)
"Assassins!"
- Arturo Toscanini (1867-1957) to his orchestra
"I'll moider da bum."
- Heavyweight boxer Tony Galento, when asked what he thought of
William Shakespeare
"In theory, there is no difference between theory and practice.
But in practice, there is."
- Yogi Berra
"I find that the harder I work, the more luck I seem to
have." - Thomas Jefferson (1743-1826)
"Each problem that I solved became a rule which served
afterwards to solve other problems." - Rene Descartes
(1596-1650), "Discours de la Methode"
"In the End, we will remember not the words of our enemies,
but the silence of our friends."
- Martin Luther King Jr. (1929-1968)
"Whether you think that you can, or that you can't, you are usually right."
- Henry Ford (1863-1947)
"Do, or do not. There is no 'try'."
- Yoda ('The Empire Strikes Back')
"The only way to get rid of a temptation is to yield to it."
- Oscar Wilde (1854-1900)
"Don't stay in bed, unless you can make money in bed." - George Burns (1896-1996)
"I don't know why we are here, but I'm pretty sure that it is not in order to enjoy ourselves." - Ludwig Wittgenstein (1889-1951)
"There are no facts, only interpretations." - Friedrich Nietzsche (1844-1900)
"Nothing in the world is more dangerous than sincere ignorance and conscientious stupidity." - Martin Luther King Jr. (1929-1968)
"The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense." - Edsgar Dijkstra (1930-2002)
"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
"A mathematician is a device for turning coffee into theorems." - Paul Erdos (1913-1996)
"Problems worthy of attack prove their worth by fighting back." - Paul Erdos (1913-1996)
"Happiness equals reality minus expectations." - Tom Magliozzi (1937-2014)
"Try to learn something about everything and everything about something." - Thomas Henry Huxley (1825-1895)
"Dancing is silent poetry." - Simonides (556-468bc)
"The only difference between me and a madman is that I'm not mad." - Salvador Dali (1904-1989)
"If you can't get rid of the skeleton in your closet, you'd best teach it to dance." - George Bernard Shaw (1856-1950)
"But at my back I always hear Time's winged chariot hurrying near." - Andrew Marvell (1621-1678)
"Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws." - Plato (427-347 B.C.)
"The power of accurate observation is frequently called cynicism by those who don't have it." - George Bernard Shaw (1856-1950)
"Whenever I climb I am followed by a dog called 'Ego'." - Friedrich Nietzsche (1844-1900)
"Everybody pities the weak; jealousy you have to earn." - Arnold Schwarzenegger (1947-)
"Celibacy is the most unusual of all the perversions." - Oscar Wilde (1854-1900)
"If there were no priests, people would be more religious." - Voltaire (1694-1778)
(Against stupidity, the gods themselves contend in vain.,
Friedrich von Schiller (1759-1805))
"We have art to save ourselves from the truth." - Friedrich Nietzsche (1844-1900)
"Never interrupt your enemy when he is making a mistake." - Napoleon Bonaparte (1769-1821)
"I have never killed anyone, but I have read some obituary notices with great satisfaction." - Clarence Darrow (1857-1938)
"I think 'Hail to the Chief' has a nice ring to it." - John F. Kennedy (1917-1963) when asked what is his favorite song
"I have nothing to declare except my genius." - Oscar Wilde (1854-1900) upon arriving at U.S. customs 1882
"Human history becomes more and more a race between education and catastrophe." - H. G. Wells (1866-1946)
"Talent does what it can; genius does what it must." - Edward George Bulwer-Lytton (1803-1873)
"The difference between 'involvement' and 'commitment' is like an eggs-and-ham breakfast: the chicken was 'involved' - the pig was 'committed'." - unknown
"Women might be able to fake orgasms. But men can fake a whole relationship." - Sharon Stone
"If you are going through hell, keep going." - Sir Winston Churchill (1874-1965)
"Life isn't about waiting for the storm to pass; it's about learning to dance in the rain." - Vivian Greene
"He who has a 'why' to live, can bear with almost any 'how'." - Friedrich Nietzsche (1844-1900)
"Many wealthy people are little more than janitors of their possessions." - Frank Lloyd Wright (1868-1959)
"I'm all in favor of keeping dangerous weapons out of the hands of fools. Let's start with typewriters." - Frank Lloyd Wright (1868-1959)
"Some cause happiness wherever they go; others, whenever they go." - Oscar Wilde (1854-1900)
"God is a comedian playing to an audience too afraid to laugh." - Voltaire (1694-1778)
"He is one of those people who would be enormously improved by death." - H. H. Munro (Saki) (1870-1916)
"I am ready to meet my Maker. Whether my Maker is prepared for the great ordeal of meeting me is another matter." - Sir Winston Churchill (1874-1965)
"I shall not waste my days in trying to prolong them." - Ian L. Fleming (1908-1964)
"If you can count your money, you don't have a billion dollars." - J. Paul Getty (1892-1976)
"Facts are the enemy of truth." - Don Quixote - "Man of La Mancha"
"When you do the common things in life in an uncommon way, you will command the attention of the world." - George Washington Carver (1864-1943)
"How wrong it is for a woman to expect the man to build the world she wants, rather than to create it herself." - Anais Nin (1903-1977)
"I have not failed. I've just found 10,000 ways that won't work." - Thomas Alva Edison (1847-1931)
"I begin by taking. I shall find scholars later to demonstrate my perfect right." - Frederick (II) the Great
"Maybe this world is another planet's Hell." - Aldous Huxley (1894-1963)
"Blessed is the man, who having nothing to say, abstains from giving wordy evidence of the fact." - George Eliot (1819-1880)
"Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth." - Sherlock Holmes (by Sir Arthur Conan Doyle, 1859-1930)
"Black holes are where God divided by zero." - Steven Wright
"I've had a wonderful time, but this wasn't it." - Groucho Marx (1895-1977)
"It's kind of fun to do the impossible." - Walt Disney (1901-1966)
"We didn't lose the game; we just ran out of time." - Vince Lombardi
"The optimist proclaims that we live in the best of all possible worlds, and the pessimist fears this is true." - James Branch Cabell
"A friendship founded on business is better than a business founded on friendship." - John D. Rockefeller (1874-1960)
"All are lunatics, but he who can analyze his delusion is called a philosopher." - Ambrose Bierce (1842-1914)
"You can only find truth with logic if you have already found truth without it." - Gilbert Keith Chesterton (1874-1936)
"An inconvenience is only an adventure wrongly considered; an adventure is an inconvenience rightly considered." - Gilbert Keith Chesterton (1874-1936)
"I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." - Umberto Eco
"Be nice to people on your way up because you meet them on your way down." - Jimmy Durante
"The true measure of a man is how he treats someone who can do him absolutely no good." - Samuel Johnson (1709-1784)
"A people that values its privileges above its principles soon loses both." - Dwight D. Eisenhower (1890-1969), Inaugural Address, January 20, 1953
"The significant problems we face cannot be solved at the same level of thinking we were at when we created them." - Albert Einstein (1879-1955)
"Basically, I no longer work for anything but the sensation I have while working."  - Randy Pausch (1960-2008)
"It is far better to grasp the Universe as it really is than to persist in delusion, however satisfying and reassuring." - Carl Sagan (1934-1996)
"All truth passes through three stages. First, it is ridiculed. Second, it is violently opposed. Third, it is accepted as being self-evident." - Arthur Schopenhauer (1788-1860)
"Many a man's reputation would not know his character if they met on the street." - Elbert Hubbard (1856-1915)
"There is more stupidity than hydrogen in the universe, and it has a longer shelf life." - Frank Zappa
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." - Antoine de Saint Exupery
"Life is pleasant. Death is peaceful. It's the transition that's troublesome." - Isaac Asimov
"If you want to make an apple pie from scratch, you must first create the universe." - Carl Sagan (1934-1996)
"It is much more comfortable to be mad and know it, than to be sane and have one's doubts." - G. B. Burgin
"Once is happenstance. Twice is coincidence. Three times is enemy action." - Auric Goldfinger, in "Goldfinger" by Ian L. Fleming (1908-1964)
"To love oneself is the beginning of a lifelong romance" - Oscar Wilde (1854-1900)
"Knowledge speaks, but wisdom listens." - Jimi Hendrix
"A clever man commits no minor blunders." - Goethe (1749-1832)
"Unable to suppress love, the Church wanted at least to disinfect it, and it created marriage." - Charles Baudelaire (1821-1867)
"Argue for your limitations, and sure enough they're yours." - Richard Bach
"A witty saying proves nothing." - Voltaire (1694-1778)
"Sleep is an excellent way of listening to an opera." - James Stephens (1882-1950)
"The nice thing about being a celebrity is that if you bore people they think it's their fault." - Henry Kissinger (1923-)
"Education is a progressive discovery of our own ignorance." - Will Durant
"I have often regretted my speech, never my silence." - Xenocrates (396-314 B.C.)
"It was the experience of mystery -- even if mixed with fear -- that engendered religion." - Albert Einstein (1879-1955)
"If everything seems under control, you're just not going fast enough." - Mario Andretti
"I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all that agnosticism means." - Clarence Darrow, Scopes trial, 1925.
 - Henry Ford (1863-1947)
"I'll sleep when I'm dead." - Warren Zevon (1947-2003)
"There are people in the world so hungry, that God cannot appear to them except in the form of bread." - Mahatma Gandhi (1869-1948)
"When you gaze long into the abyss, the abyss also gazes into you." - Friedrich Nietzsche (1844-1900)
"The instinct of nearly all societies is to lock up anybody who is truly free.  If this fails, they try to poison you. If this fails too, they finish by loading honors on your head." - Jean Cocteau (1889-1963)
"Everyone is a genius at least once a year; a real genius has his original ideas closer together." - Georg Lichtenberg (1742-1799)
"Success usually comes to those who are too busy to be looking for it" - Henry David Thoreau (1817-1862)
"While we are postponing, life speeds by." - Seneca (3BC - 65AD)
"Where are we going, and why am I in this handbasket?" - Bumper Sticker
"God, please save me from your followers!" - Bumper Sticker
"Fill what's empty, empty what's full, and scratch where it itches."  - Mahatma Gandhi (1869-1948)
"Luck is the residue of design." - Branch Rickey - former owner of the Brooklyn Dodger Baseball Team
"Tragedy is when I cut my finger. Comedy is when you walk into an open sewer and die." - Mel Brooks
"Most people would sooner die than think; in fact, they do so."
- Bertrand Russell (1872-1970)
"Wit is educated insolence."
- Aristotle (384-322 B.C.)
"My advice to you is get married: if you find a good wife
you'll be happy; if not, you'll become a philosopher."
- Socrates (470-399 B.C.)
"Advice is what we ask for when we already know the answer but wish we didn't" - Erica Jong (1942-)
"Show me a woman who doesn't feel guilty and I'll show you a man." - Erica Jong (1942-)
"I've learned that people will forget what you said, people will forget what you did, but people will never forget how you made them feel." - Maya Angelou (1928-)
"Egotist: a person more interested in himself than in me."
- Ambrose Bierce (1842-1914)
"A narcissist is someone better looking than you are."
- Gore Vidal
"Wise men make proverbs, but fools repeat them."
- Samuel Palmer (1805-80)
"It has become appallingly obvious that our
technology has exceeded our humanity."
- Albert Einstein (1879-1955)
"The secret of success is to know something nobody else knows."
- Aristotle Onassis (1906-1975)
"Sometimes when reading Goethe I have the paralyzing suspicion
that he is trying to be funny."

- Sir Winston Churchill (1874-1965)
"Any man who is under 30, and is not a liberal, has no
heart; and any man who is over 30, and is not a conservative, has no
brains."
- Sir Winston Churchill (1874-1965)
"The opposite of a correct statement is a false statement. The
opposite of a profound truth may well be another profound truth."
- Niels Bohr (1885-1962)
"We all agree that your theory is crazy, but is it crazy enough?"
- Niels Bohr (1885-1962)
"When I am working on a problem I never think about beauty.
I only think about how to solve the problem. But when I have
finished, if the solution is not beautiful, I know it is wrong."
- Buckminster Fuller (1895-1983)
"In science one tries to tell people, in such a way as to be
understood by everyone, something that no one ever knew before.
But in poetry, it's the exact opposite."
- Paul Dirac (1902-1984)
"I would have made a good Pope." - Richard M. Nixon (1913-1994)
"In any contest between power and patience, bet on patience." - W.B. Prescott
"Anyone who considers arithmetical methods of producing random digits is, of course, in a state of sin." - John von Neumann (1903-1957)
"The mistakes are all waiting to be made."
- chessmaster Savielly Grigorievitch Tartakower (1887-1956)
on the game's opening position
"It is unbecoming for young men to utter maxims."
- Aristotle (384-322 B.C.)
"Grove giveth and Gates taketh away."
- Bob Metcalfe (inventor of Ethernet)
on the trend of hardware speedups not being able to keep up with
software demands
"Reality is merely an illusion, albeit a very persistent one."
- Albert Einstein (1879-1955)
"One of the symptoms of an approaching nervous breakdown is
the belief that one's work is terribly important."
- Bertrand Russell (1872-1970)
"A little inaccuracy sometimes saves a ton of explanation." - H. H. Munro (Saki) (1870-1916)
"There are two ways of constructing a software design; one way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C. A. R. Hoare
"Make everything as simple as possible, but not simpler." - Albert Einstein (1879-1955)
"What do you take me for, an idiot?" - General Charles de Gaulle (1890-1970), when a journalist asked him if he was happy
"I heard someone tried the monkeys-on-typewriters bit trying for the plays of W. Shakespeare, but all they got was the collected works of Francis Bacon." - Bill Hirst
"Three o'clock is always too late or too early for anything you want to do." - Jean-Paul Sartre (1905-1980)
"A doctor can bury his mistakes but an architect can only advise his clients to plant vines." - Frank Lloyd Wright (1868-1959)
"It is dangerous to be sincere unless you are also stupid." - George Bernard Shaw (1856-1950)
"If you haven't got anything nice to say about anybody, come sit next to me." - Alice Roosevelt Longworth (1884-1980)
"A man can't be too careful in the choice of his enemies." - Oscar Wilde (1854-1900)
"Forgive your enemies, but never forget their names." - John F. Kennedy (1917-1963)
"Logic is in the eye of the logician." - Gloria Steinem
"No one can earn a million dollars honestly."
- William Jennings Bryan (1860-1925)
"Everything has been figured out, except how to live." - Jean-Paul Sartre (1905-1980)
"Well-timed silence hath more eloquence than speech."
- Martin Fraquhar Tupper
"Thank you for sending me a copy of your book -
I'll waste no time reading it." - Moses Hadas (1900-1966)
"From the moment I picked your book up until I laid it down I was
convulsed with laughter. Some day I intend reading it."
- Groucho Marx (1895-1977)
"It is better to have a permanent income than to be fascinating."
- Oscar Wilde (1854-1900)
"When ideas fail, words come in very handy." - Goethe (1749-1832)
"In the end, everything is a gag." - Charlie Chaplin (1889-1977)
"The nice thing about egotists is that they
don't talk about other people." - Lucille S. Harper
"You got to be careful if you don't know where you're
going, because you might not get there." - Yogi Berra
"I love Mickey Mouse more than any woman I have ever known."
- Walt Disney (1901-1966)
"He who hesitates is a damned fool." - Mae West (1892-1980)
"Good teaching is one-fourth preparation and three-fourths
theater."

- Charles de Gaulle (1890-1970)
"You can pretend to be serious; you can't pretend to be witty."
- Sacha Guitry (1885-1957)
"Behind every great fortune there is a crime."
- Honore de Balzac (1799-1850)
"If women didn't exist, all the money in the world
would have no meaning." - Aristotle Onassis (1906-1975)
"I am not young enough to know everything."
- Oscar Wilde (1854-1900)
"Bigamy is having one wife too many. Monogamy is the same."  - General George Patton (1885-1945)
"Sometimes a scream is better than a thesis."
- Ralph Waldo Emerson (1803-1882)
"There is no sincerer love than the love of food."
- George Bernard Shaw (1856-1950)
"I don't even butter my bread; I consider that cooking."
- Katherine Cebrian
"I have an existential map; it has 'you are here'
written all over it." - Steven Wright
"Mr. Wagner has beautiful moments but bad quarters of an hour."
- Gioacchino Rossini (1792-1868)
"Manuscript: something submitted in haste
and returned at leisure." - Oliver Herford (1863-1935)
"I have read your book and much like it."
- Moses Hadas (1900-1966)
"The covers of this book are too far apart."
- Ambrose Bierce (1842-1914)
"Everywhere I go I'm asked if I think the university stifles
writers. My opinion is that they don't stifle enough of them."
- Flannery O'Connor (1925-1964)
"Too many pieces of music finish too long after the end."

- Voltaire (1694-1778)
"When choosing between two evils, I always like to try the one I've
never tried before."
- Mae West (1892-1980)
"I don't know anything about music.
In my line you don't have to." - Elvis Presley (1935-1977)
"No Sane man will dance." - Cicero (106-43 B.C.)
"Hell is a half-filled auditorium." - Robert Frost (1874-1963)
"Show me a sane man and I will cure him for you."
- Carl Gustav Jung (1875-1961)
"Vote early and vote often." - Al Capone (1899-1947)
"If I were two-faced, would I be wearing this one?"
- Abraham Lincoln (1809-1865)
"Few things are harder to put up with than a good example."
- Mark Twain (1835-1910)
"Hell is other people." - Jean-Paul Sartre (1905-1980)
"Now I am become death, the destroyer of worlds."
- Robert J. Oppenheimer (1904-1967) (citing from the Bhagavad Gita, after
witnessing the world's first nuclear explosion)
"Happiness is good health and a bad memory."
- Ingrid Bergman (1917-1982)
"Friends may come and go, but enemies accumulate." - Thomas Jones
"You can get more with a kind word and a gun
than you can with a kind word alone." - Al Capone (1899-1947)
"The gods too are fond of a joke." - Aristotle (384-322 B.C.)
"Distrust any enterprise that requires new clothes."
- Henry David Thoreau (1817-1862)
"The difference between pornography and erotica is lighting."
- Gloria Leonard
"It is time I stepped aside for a less experienced and less able man."
- Professor Scott Elledge on his retirement from Cornell
"Every day I get up and look through the Forbes list of the
richest people in America. If I'm not there, I go to work."
- Robert Orben
"The cynics are right nine times out of ten."
- Henry Louis Mencken (1880-1956)
"There are some experiences in life which should not be demanded twice
from any man, and one of them is listening to the Brahms Requiem."
- George Bernard Shaw (1856-1950)
"And I looked, and behold a pale horse: and his name that sat on him was Death, and Hell followed with him." - Revelation 6:8
"Attention to health is life's greatest hindrance."
- Plato (427-347 B.C.)
"Plato was a bore."
- Leo Tolstoy (1828-1910)
"I'm not going to get into the ring with Tolstoy."
- Ernest Hemingway (1899-1961)
"Hemingway was a jerk." - Harold Robbins
"Men are not disturbed by things, but the view they take of things." - Epictetus (55-135 A.D.)
"What about things like bullets?" - Herb Kimmel, Behavioralist, Professor of Psychology, upon hearing the above quote (1981)
"How can I lose to such an idiot?"
- A shout from chessmaster Aaron Nimzovich (1886-1935)
"Not only is there no God, but try finding a plumber on Sunday."
- Woody Allen (1935-)
"I don't feel good."
- The last words of Luther Burbank (1849-1926)
"Nothing is wrong with California that a rise in the
ocean level wouldn't cure." - Ross MacDonald (1915-1983)
"Men have become the tools of their tools."
- Henry David Thoreau (1817-1862)
"I have never let my schooling interfere with my education."
- Mark Twain (1835-1910)
"It is now possible for a flight attendant to get a pilot
pregnant." - Richard J. Ferris, president of United Airlines
"I never miss a chance to have sex or appear on television."
- Gore Vidal
"I don't want to achieve immortality through my work;
I want to achieve immortality through not dying."
- Woody Allen (1935-)
"Men and nations behave wisely once they have exhausted
all the other alternatives." - Abba Eban (1915-2002)
"A consensus means that everyone agrees to say collectively what no one believes individually." - Abba Eban (1915-2002)
"To sit alone with my conscience will be judgment enough for me."
- Charles William Stubbs
"Sanity is a madness put to good uses."
- George Santayana (1863-1952)
"Imitation is the sincerest form of television."
- Fred Allen (1894-1956)
"Always do right- this will gratify some and astonish the rest."
- Mark Twain (1835-1910)
"In America, anybody can be president.
That's one of the risks you take." - Adlai Stevenson (1900-1965)
"Copy from one, it's plagiarism; copy from two, it's research."
- Wilson Mizner (1876-1933)
"Why don't you write books people can read?"
- Nora Joyce to her husband James (1882-1941)
"Some editors are failed writers, but so are most writers."
- T. S. Eliot (1888-1965)
"Criticism is prejudice made plausible."
- Henry Louis Mencken (1880-1956)
"It is better to be quotable than to be honest." - Tom Stoppard
"Being on the tightrope is living; everything else is waiting."
- Karl Wallenda
"Opportunities multiply as they are seized."
- Sun Tzu
"A scholar who cherishes the love of comfort is not fit to be
deemed a scholar."
- Lao-Tzu (570?-490? BC)
"
The best way to predict the future is to invent it."
- Alan Kay
"Never mistake motion for action."
- Ernest Hemingway (1899-1961)
"I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours." - Sir Stephen Henry Roberts (1901-1971)
"Hell is paved with good samaritans." - William M. Holden
"The longer I live the more I see that I am never wrong about
anything, and that all the pains that I have so humbly taken to
verify my notions have only wasted my time."
- George Bernard Shaw (1856-1950)
"Silence is argument carried out by other means."
- Ernesto"Che"Guevara (1928-1967)
"Well done is better than well said."
- Benjamin Franklin (1706-1790)
"The average person thinks he isn't."  - William Congreve (1670-1729)
"A husband is what is left of the lover
after the nerve has been extracted."
- Helen Rowland (1876-1950)
"Learning is what most adults will do for a living in the 21st century."
- Lewis Perelman
"Dogma is the sacrifice of wisdom to consistency." - Lewis Perelman
"Sometimes it is not enough that we do our best; we must do what is required." - Sir Winston Churchill (1874-1965)
"The man who goes alone can start today; but he who travels
with another must wait till that other is ready."
- Henry David Thoreau (1817-1862)
"There is a country in Europe where multiple-choice tests are illegal."
- Sigfried Hulzer
"Ask her to wait a moment - I am almost done."
- Carl Friedrich Gauss (1777-1855), while working,
when informed that his wife is dying
"A pessimist sees the difficulty in every opportunity;
an optimist sees the opportunity in every difficulty."
- Sir Winston Churchill (1874-1965)
"I think there is a world market for maybe five computers."
- Thomas Watson (1874-1956), Chairman of IBM, 1943
"I think it would be a good idea."
- Mahatma Gandhi (1869-1948), when asked what he thought of
Western civilization
"The only thing necessary for the triumph of evil is for good
men to do nothing."- Edmund Burke (1729-1797)
"I'm not a member of any organized political party, I'm a
Democrat!" - Will Rogers (1879-1935)
"If stupidity got us into this mess, then why can't it get us out?"
" - Will Rogers (1879-1935)
"The backbone of surprise is fusing speed with secrecy."
- Von Clausewitz (1780-1831)
"Democracy does not guarantee equality of conditions - it only guarantees equality of opportunity."
- Irving Kristol
"There is no reason anyone would want a computer in their home."
- Ken Olson, president, chairman and founder of Digital
Equipment Corp., 1977
"The concept is interesting and well-formed, but in order to earn better
than a 'C', the idea must be feasible."
- A Yale University management professor in response to student Fred Smith's paper proposing reliable overnight delivery service
(Smith went on to found Federal Express Corp.)

- H. M. Warner (1881-1958), founder of Warner Brothers, in 1927
"We don't like their sound, and guitar music is on the way out."
- Decca Recording Co. rejecting the Beatles, 1962
"Everything that can be invented has been invented."
- Charles H. Duell, Commissioner, U.S. Office of Patents, 1899
"Denial ain't just a river in Egypt."
- Mark Twain (1835-1910)
"A pint of sweat saves a gallon of blood."
- General George S. Patton (1885-1945)
"After I'm dead I'd rather have people ask why I have no monument than
why I have one."
- Cato the Elder (234-149 BC, AKA Marcus Porcius Cato)
"He can compress the most words into the smallest idea of any man I
know."
- Abraham Lincoln (1809-1865)
"Don't let it end like this. Tell them I said something."
- last words of Pancho Villa (1877-1923)
"The right to swing my fist ends where the other man's nose begins."
- Oliver Wendell Holmes (1841-1935)
"The difference between fiction and reality? Fiction has to make sense."
- Tom Clancy
"It's not the size of the dog in the fight, it's the size of the fight in the dog."
- Mark Twain (1835-1910)
"It is better to be feared than loved, if you cannot be both."
- Niccolo Machiavelli (1469-1527), "The Prince"
"Whatever is begun in anger ends in shame."
- Benjamin Franklin (1706-1790)
"The President has kept all of the promises he intended to keep."
- Clinton aide George Stephanopolous speaking on Larry King Live
"We're going to turn this team around 360 degrees."
- Jason Kidd, upon his drafting to the Dallas Mavericks
"Half this game is ninety percent mental."
- Yogi Berra
"There is only one nature - the division into
science and engineering is a human imposition, not a
natural one. Indeed, the division is a human failure; it
reflects our limited capacity to comprehend the whole."
- Bill Wulf
"There's many a bestseller that could have been prevented
by a good teacher." - Flannery O'Connor (1925-1964)
"He has all the virtues I dislike and none of the vices I admire." - Sir Winston Churchill (1874-1965)
"Write drunk; edit sober." - Ernest Hemingway (1899-1961)
"I criticize by creation - not by finding fault." - Cicero (106-43 B.C.)
"Love is friendship set on fire."  - Robin Williams, commenting on the Clinton/Lewinsky affair
"My occupation now, I suppose, is jail inmate." - Unibomber Theodore Kaczynski, when asked in court what his current profession was
"Woman was God's second mistake." - Friedrich Nietzsche (1844-1900)
"This isn't right, this isn't even wrong." - Wolfgang Pauli (1900-1958), upon reading a young physicist's paper
"For centuries, theologians have been explaining the unknowable in terms of the-not-worth-knowing." - Henry Louis Mencken (1880-1956)
"Pray, v.: To ask that the laws of the universe be annulled on behalf of a single petitioner confessedly unworthy." - Ambrose Bierce (1842-1914)
"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." - Henry Louis Mencken (1880-1956)
"Now, now my good man, this is no time for making enemies." - Voltaire (1694-1778) on his deathbed in response to a priest asking that he renounce Satan.
"Fill the unforgiving minute with sixty seconds worth of distance run." - Rudyard Kipling (1865-1936)
"He would make a lovely corpse." - Charles Dickens (1812-1870)
"I've just learned about his illness. Let's hope it's nothing trivial." - Irvin S. Cobb
"I worship the quicksand he walks in." - Art Buchwald
"Wagner's music is better than it sounds." - Mark Twain (1835-1910)
"A poem is never finished, only abandoned." - Paul Valery (1871-1945)
"We are not retreating - we are advancing in another Direction." - General Douglas MacArthur (1880-1964)
"With or without religion, good people can behave well and bad people can do evil; but for good people to do evil, that takes religion." - Steven Weinberg (1933-)
"If you were plowing a field, which would you rather use? Two strong oxen or 1024 chickens?" - Seymour Cray (1925-1996), father of supercomputing
"#3 pencils and quadrille pads." - Seymoure Cray (1925-1996) when asked what CAD tools he used to design the Cray I supercomputer; he also recommended using the back side of the pages so that the grid lines were not so dominant.
"Interesting - I use a Mac to help me design the next Cray." - Seymoure Cray (1925-1996) when he was told that Apple Inc. had recently bought a Cray supercomputer to help them design the next Mac.
"Your Highness, I have no need of this hypothesis."
- Pierre Laplace (1749-1827), to Napoleon on why his works on
celestial mechanics make no mention of God.
"I choose a block of marble and chop off whatever I don't
need." - Francois-Auguste Rodin (1840-1917), when asked how
he managed to make his remarkable statues
"The man who does not read good books has no advantage over
the man who cannot read them."
- Mark Twain (1835-1910)
"The truth is more important than the facts."
- Frank Lloyd Wright (1868-1959)
"Research is what I'm doing when I don't know what I'm doing."
- Wernher Von Braun (1912-1977)
"There are only two tragedies in life:
one is not getting what one wants, and the other is getting it."
- Oscar Wilde (1854-1900)
"There are only two ways to live your life. One is as though nothing is a miracle. The other is as though everything is a miracle." - Albert Einstein (1879-1955)
© The quotations collection on this Web page is copyright ©
1994-2016 by Professor
Gabriel Robins. Permission is hereby granted to anyone to make
copies of this Web page, either in part or in its entirety, for any
purpose whatsoever, including using any part of the collection above
in published works, as long as Gabriel Robins is
credited as the creator of this quotations collection and a Web link
is included to this quotes Web page (i.e., in electronic or Web copies
that use parts of this Web page, please link the
citation/acknowledgement to http://www.cs.virginia.edu/~robins/quotes.html).
For more goodies, please see Gabriel Robins' home
page
Gabe's dance videos
Cool photos
from Gabriel's field trips with the Defense Science Study Group
Gabriel's
Family Album
This Web
site has been rated in the top 5% of all web sites by "Point Survey"
This Web site received the "Hot Site" Award from USA Today
Last modified: April 4, 2016
[Gabriel Robins]