NOBODY'S FOOL **** OF **** grade is A-
Nobody's Fool is an excellent character piece that starts great and just keeps getting better. It also contains a great Academy Award nominated performance by Paul Newman, as a aged constuction worker witha bum knee and very limited prospects. He lives with his eighth grade teacher (Tandy is her final role) and has been ducked away from responsibility.
I use the word "ducked" because he is finaly trying to make amends for his past failing as a parent. For a man who ducked responsibility he seems to have all the weight on his shoulders, and that is killing his knee. With all his responsibility he finds time to feud with Bruce Willis (over a snowblower and money that Willis might owe him) and flirt with Willis' wife Melanie Griffith, whom flirts right back.
Most of the best scenes are very quiet, carefull wording of sentences or responses to actions. I meantione Newman, because he is grand for this role, but every other actor seems to do a wonderful job, including some I haven't seen for a while. There are wonderful moments between Newman and his grandson and Newman and Walsh (his son). Walsh resents Newman for leaving him when he was young, and Newman (too proud to flat out apologize) tries to start fresh being a grandfather, that does grandfatherly things.
I also liked Pruitt Taylor Vince as Newman's slow constuction partner, and best friend. It is nice to see them onscreen, the way they compliment each other. The understanding that Vince looks at Newman as something of a father figure and Newman humor him as he talks, yet beneath the surface there is an understanding that we gain about the nature of their friendship.
I realize I am talking about Newman and the subtle relationships with him. That is this film, I don'tknow where else I could point without it leading back to Newman. So why let old habits die hard.
Of all the relationships, Newman with Melanie Griffith is the best. They flirt with innuendo after innuendo and talk about where they would go if they were free. There is a great scene where Newman and Griffith talk about Willis' former sercretary. He issues a subtle dare, "When Ruby was here she used to wear a see through top, so you might want to keep up with her." She responds by lifting up her sweater and flashing him. Game, set and match. By the way, Newman's reaction to this is ALONE worth the price of a rental.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Azellaz.com
A Look at the Build Tools and Microservices of a Jekyll and npm Ecommerce JAMstack
bzelip
About me
- 👣 Live in Bolton Hill, walk to work downtown
- 🐩 Married with dog
- 🍺 Lots of Boh and other craft brew
- ⚒ Emerging Technologies Librarian @ UMB (consult and teach about 3D printing and modeling, GitHub, R, and more)
- ⚡ Love playing with web tools and learning JavaScript!
tl;dr
- JAMstack - JavaScript, APIs, Markup
- Netlify - free hosting, free https, static site build environment
- Snipcart - developer friendly shopping cart API
- Stripe - online payment gateway
- GitHub - git workflow and collaboration, issue tracker
- Jekyll - markup templating, flat data files, static site generator
npm
modules and scripts - front end tools for local development
atomic CSS
(I don't write CSS, I 🎨 with it!)
Additional points
- ie 10/11 and
flexbox
- lotsa fun 🎉🎉, thanks flexbugs!
- Zoho mail - one free email @ custom domain
- Vertical oriented logo was an interesting design challenge
- Image optimization workflow - ImageOptim and ImageMagick
- Text editor & git workflow for site content creator 👍
- MVP shipped, now what?


Table of Contents:
php4's release has been much anticipated and OpenBSD has packaged different pre-compilations for direct installation. A direct binary package will most likely cater for the majority of peoples' needs.
This guide will help you install php4 with OpenBSD.
My gratitudes to those who have sent me information on their php4 installation successes which has lead to my being able to get this far.
[package: php4-4.0.3pl1p1-mysql.tgz (available from
ftp sites)]
[package: mysql-3.22.32.tgz, (required by above package)]
[config file: /var/www/conf/php.ini]
If all you wish to do is install php4 and mysql for some custom software you
are deeveloping then just install the packages using the pkg_add package manager.
# pkg_add /[path-to-package-file]/mysql-3.22.32.tgz
# pkg_add /[path-to-package-file]/php4-4.0.3pl1p1-mysql.tgz
[source: ports.tar.gz]
[source: php4-4.0.3pl1.tar.gz (available from php4 or
OpenBSD ftp sites)]
[package: imap-uw-2000b.tgz (required for below configuration)]
[package: c-client-2000c.tgz (required during build time for imap client connection)]
[package: pdflib-3.02.tgz]
The configuration selection I use below includes support for IMAP and mysql. Instructions for installing IMAP and MySQL in Mail Services, and MySQL. The c-client can be package added as listed above, instead of the manual approach described in the Mail Services notes.
After decompressing the ports.tar.gz tree onto your hard-disk. Install and configure imap as described above, along with any other libraries you wish to configure with php to support.
|
# cd /usr |
For those with a fast Internet connection, go ahead and skip the next step and go straight to making your file. For us with slow if infrequent access, follow these steps.
1. Download the current ports collection and php4 files (for my configuration php4-4.0.3pl1 co-incided with the latest version supported by the ports.tar.gz file)
2. Place the file into the /usr/ports/distfiles directory (if the directory does not exist, go ahead and create it.) The directory is where the ports activity downloads files, so it doesn't have to search the Internet if the files are already there.
Change into the php4 directory and use the FLAVOR options to create IMAP support.
|
# cd /usr/ports/www/php4 # env FLAVOR="mysql imap gettext pdflib gd" make
|
|
[ ... screen output of config / make process ... ]
libzlib.la TSRM/libtsrm.la -lz -lcrypto -lssl -lresolv -lm -lresolv Making all in pear
|
|
# env FLAVOR="mysql imap gettext pdflib gd" make install |
|
[ ... screen output of config / make process ... ]
+--------------- | To finish the install, you need to enable the php4 | module using the following command | | /usr/local/sbin/php4-enable +--------------- |
|
# /usr/local/sbin/php4-enable |
|
enabling php4 module... cp /usr/local/lib/libphp4.so /usr/lib/apache/modules/libphp4.so chmod 755 /usr/lib/apache/modules/libphp4.so [activating module `php4' in /var/www/conf/httpd.conf] note: sample configuration files can be found in /usr/local/share/doc/php4 |
|
# cp /usr/ports/www/php4/work/php-4.0.4pl1/php.ini-dist /var/www/conf/php.ini # echo "<?php phpinfo() ?>" > /var/www/htdocs/test.php |
The FLAVORS selection included gettext and a few other options I want. After the make finishes the configuration it generates the necessary files and the 2nd thing we do is install by using make install. This causes the ports tree to create a package and add the package to our system.
After the package installation, the package manager prompts us to execute the php4-enable program.
After php4-enable I am copying the sample initialisation file php.ini-dist into the expected configuration directory (/var/www/conf)
php4 should now be installed with the features that I require.
The installation (/usr/local/sbin/php4-enable) will make the below modifications to the apache configuration file:
|
# Dynamic Shared Object (DSO) Support |
|
LoadModule php4_module /usr/lib/apache/modules/libphp4.so
|
|
# AddType allows you to tweak mime.types without
actually editing it, or to |
You should enable the changes and make additions as shown below:
Edit /var/www/conf/httpd.conf
|
# Dynamic Shared Object (DSO) Support |
|
AddType application/x-httpd-php .phtml |
The install does not configure some of the standard file extensions used for php4 files (at least from what I understand by checking the url's presented by some sites.) We retain the use of php3 as this is common on many php scripts available on the net.
php4 will use the system default "tmp" partition/path if not otherwise specified. In php3 you were required to specify the tmp space to be used for php uploads as in the following. The default file has a commented out section on where to store temporary upload files.
File /var/www/conf/php.ini
| ;upload_tmp_dir = ; temporary directory for HTTP uploaded files |
Set a valid temporary directory location such as /tmp
| upload_tmp_dir = /tmp ; temporary directory for HTTP uploaded files |
Test whether the binaries are built and installed correctly by restarting the httpd server (force it to re-read the configuration file by using.)
| # apachectl restart |
If Apache was not previously running, then you could use the " apachectl start " command to start the server.
The above echo "<?php phpinfo() ?>" > /var/www/htdocs/test.php will let you quickly check whether php is working by calling up the file test.php:
| # lynx localhost/test.php |
|
[ lynx displays the following ...]
PHP Version 4.0.4pl1 System OpenBSD hostname 2.8 GENERIC#399 i386 Build Date Today's Date _______________________________________________________________________________________________________________ [ ... more stuff cut out ... ] |
Of course if you have a browser that supports tables (AOL Navigator, or Microsoft Internet Explorer) then it would a look a lot nicer.
Further test scripts are available, but once the above is working you know you have a 'working' php configuration. The additional scripts can help you with debugging errors or if there are specific components you need to review. Two directories (test, tests) hold a number of different tests for checking the functionality of your php configuration.
Being offline, when things go wrong there is no net connection to check
what I'm doing wrong, so I have found fiddling with compiling the source has
worked for me. After installing all the supporting programs shown above, I can
compile the features I wish by doing the following.
--with-config-file-path=/var/www/conf --with-mysql=/usr/local --prefix=/usr/local \ --sysconfdir=/etc --with-imap=/usr/local --with-ftp --with-gettext \ --enable-force-cgi-redirect=yes --enable-track-vars=yes \ --enable-magic-quotes=yes --enable-debug=no --with-system-regex=yes # make # make install # cp php.ini-dist /var/www/conf/php.ini # echo "<?php phpinfo() ?>" > /var/www/htdocs/test.php |
Note that with php4 a full make; make install will automatically perform
the tasks normally performed in a package installation by php4-enable
The above compile sequences used to work, but the config has changed significantly and we are all better off because of the ports tree and Anil Madhavapeddy and the number of patches required to get php4 working with OpenBSD.
After you restart your machine you may get an error during the restart, and when you attempt to manually start Apache such as the following:
|
# apachectl start |
|
/usr/libexec/ld.so: httpd: libmysqlclient.so.6.0: No such file or directory /usr/sbin/apachectl start: httpd could not be started |
The problem is that the libmysqlclient.so.6.0 file is not in the standard path for the run-time linker ld.so. To ensure that the file is always included when the system is started you can either link the file to the standard location, or add the file location to the default search path.
We can create a symlink of the library file into a standard library path such as /usr/local/lib/
|
# ln -s /usr/local/lib/mysql/libmysqlclient.so.6.0 /usr/local/lib/libmysqlclient.so.6.0 |
We can include the new directory into the list of directories searched by ld.so and this can be done in the configuration rc.conf.local
edit /etc/rc.conf.local and add the following line in Section 3:
|
shlib_dirs="$shlib_dirs /usr/local/lib/mysql" # extra directories for ldconfig |
This will override the existing setting in /etc/rc.conf which is usually:
|
shlib_dirs= # extra directories for ldconfig |
We are using $shlib_dirs in the above example to expand whatever settings exist for shlib_dirs and then include our new directory. Note that you must use quotation marks and use a space between directory paths.
There are some security concerns about adding directories into the standard path for ldconfig so you should study the man pages.
Especial appreciation is given here to Guillermo Ruiz who's e-mail detailing how he was able to configure PHP4 and MySQL saved many hours of 'fiddling' to get the above notes.
Guillermo's notes are linked here and The copyright of the original material remains with Guillermo Ruiz.
More documentation on using the Ports and getting different flavors is available at http://php3.de/manual/zh/install.openbsd.php
Copyright (c) 2000/1/2 Samiuela LV Taufa. All Rights Reserved.
I reserve the right to be totally incorrect even at the best advice of betters.
You are permitted and encouraged to use this guide for fun or for profit as you see fit. If you republish this work in what-ever form, it would be nice (though not enforceable) to be credited.
|
php4 - scripting the web. |
Copyright © 2000/1/2 NoMoa Publishers All rights reserved. Caveat Emptor


Paul Walker’s character ‘returning to Fast and Furious 9’ six years after death
Paul Walker’s character, Brian O’Conner, could be making a surprise return to the Fast and Furious franchise, six years after his death.
The actor passed away back in 2013, aged 40, tragically losing his life in a car crash.
Brothers Cody and Caleb Walker filmed his final scenes in Furious 7, with producers also using CGI to give him a fitting goodbye.
But it has now been claimed Brian will be coming back in the upcoming F9 film – alongside Vin Diesel, Michelle Rodriguez, Tyrese Gibson and Ludacris.
According to LadBible, sources close to the casting department state they are looking for a Paul Walker double.
‘Just got a new casting grid for something and with it some big news that are sure to be controversial,’ Twitter user Daniel Richtman shared with his 78.5k followers.
‘Not sure how I feel about it myself but we’ll see.’
‘They are bringing back Paul Walker’s character, Brian, to FF9,’ he later added.
Advertisement Advertisement
And, despite the news not being confirmed yet, fans are not best pleased.
Flocking to Twitter, one wrote: ‘I’m not a fan of the FF movies but still this is a big no from me.’
‘Completely undermining the ending of Fast 7 and Paul himself. Disgraceful,’ another commented.
While an unimpressed user said: ‘No, Paul’s character Brian had a beautiful sendoff that doesn’t need to be used to gain more money from. It gave us a sense of closure and finality to his and Jordana’s respective characters.’
‘I’m sorry that scene at end of Furious 7 was magical, this will taint it,’ a follower added.
Cody previously opened up about potentially returning as Paul, after he filmed scenes for Furious 7.
And, speaking to Metro.co.uk, he left the door open for a comeback, telling us: ‘You know there’s a lot of things that are said about the franchise, there’s a lot of rumours going around.
‘I think anything is possible and we’ll see what the future has in store.
‘There are a lot of things that are said out there.
‘There’s a rumour that the franchise might go to outer space next, so you never know… Nothing is off the table, never say never.’
Not much is known about the ninth instalment of the film, but Vin (Dom Toretto) teased that the movie will return to its roots.
Advertisement Advertisement
Taking to Instagram recently, he posted a clip of himself and Michelle (Lettie) at a racetrack from the first film.
‘You die-hards will know where we are,’ he said. ‘You day ones will know where we are.’
Metro.co.uk has contacted reps for Universal for a comment.
Fast and Furious 9 will be released in cinemas on 22 May, 2020.
Got a showbiz story?
If you've got a story, video or pictures get in touch with the Metro.co.uk Entertainment team by emailing us<EMAIL_ADDRESS>calling 020 3615 2145 or by visiting our Submit Stuff page - we'd love to hear from you.


Online study permit application's required documents for Canada
Hi there,
I applied online for a study permit from outside Canada (Dhaka, Bangladesh). This blog post is a checklist of preparing documents
for an online study permit application using the GCkey account.
You will need to merge a few documents before uploading them. I am sharing the process I followed to apply for a study permit.
If you have any questions, you can reach out at<EMAIL_ADDRESS>or
you can use this form to contact me.
**Every document needs to be less than 5MB
Required Documents:
Application Form(s)
- 1- Application for study permit outside Canada IMM 1294
-
Fill up the IMM1294 form with your correct and updated information and upload it to this section.
You will need to use Adobe Reader to read and fill up the application form. - 2- Letter of Acceptence
- In this field, you need to upload only your latest and updated Letter of Acceptance received from your DLI (Designated Learning Institution, EG: College, University).
- 3- Passport with validity
-
In this field, upload your latest Passportwhich is at least valid until the course's duration.
You will need to scan the First 2 pages of your passport including the page with your
photo and basic information, and the following page wich has your personal data and emergency contact.
Make sure they are merged to a single pdf file, and pdf size is less than 5MB - 4- Proof of Means of Financial Support
-
In this section, you need to merge the following financial documents into 1 pdf before submitting them.
- Fund explanation document (at max 2 pages). Your fund should be greater than your total tution fee + total cost of living.
- Notarised affidavit of financial support (You can mention your sponsor (EG: Parents) if not self funded)
- Scanned passport copy of the sponsor or if self funnded than applicatens.
- National ID card's scanned copy of the sponsor or if self funnded than applicatens.
- Banalce certificate from Bank
- Government Saving Certificate (if there is any)
- 6 Months bank statement
- 6 Months salary statement of sponsor or if self funded than applicent (for business owner this wont be necessary)
- Attested and notarised validation report of assets. Make sure everything is in English.
- Tax certificate of sponsor or applicent (if appicant is self funded)
- 5- Proof of upfront Medical Exam
- Scan all the pages of your upfront medical exam and merge them into a pdf. Upload that pdf in this section.
- 6- Digital photo
- You need to upload your photo in this field and the photo dimension should be 45 * 55 MM or Passport Sized
- 7- Family Information IMM 5645
-
Fill up the IMM 5645 form with your correct and updated information and upload it to this section.
You will need to use Adobe Reader to read and fill up the application form. - 8- Application for temporary resedence visa made outside Canada IMM 5257
-
Fill up the IMM 5257 form with your correct and updated information and upload it to this section.
You will need to use Adobe Reader to read and fill up the application form. - 9- Client Information
-
In this section, you need to merge the following financial documents into 1 pdf before submitting them.
- Study Plan (2 Pages at max)
- CV with references from employeers or professors
- All academic transscripts and certificates
- IELTS or English proficiency test result card scanned both front and back page
- Birth Certificate
- Police Clearence Certificate
Supporting Documents
×


Video: Check Out The Yummy Pokémon Sword And Shield Zacian And Zamazenta Edition Switch Lite
It's a thing of beauty
by Damien McFerranPokémon Sword and Shield is almost with us, but before that, we have the special Zacian and Zamazenta Edition Switch Lite to get to grips with.
It's not out until November 8th in the west, but we managed to get our hands on a Japanese model early, and Zion has been putting it through its paces.
Let us know if you'll be investing in one of these when it launches – or, like us, you've already imported.


Notebooks
Story: Description of the ≠nerru
Description of the ≠nerru
Title
Description of the ≠nerru
Collection
Summary
A description of the ≠nerru bird (in contemporary times).
Comments
1) See also The ≠nerru and her husband, 2) This story is found in Book VIII-28
Contributors
|han≠kass'o (Klein Jantje) (VIII)
Date
17 June 1879
Categories
Keywords
bird (the ≠nerru) , ≠nerru (bird) , ≠nerru (its appearance) , ≠nerru (a description of) , ≠nerru (its bill or beak is short) , ≠nerru (the males are black) , ≠nerru (the females are white) , ≠nerru (resembles the ostrich) , name (of a bird) , name (the ≠nerru)
Story Pages
8525 A2_1_103_08525 1/2


Saving money on health costs: Extra Help program
By: Jonathan Blum, Acting Principal Deputy Administrator and Director of the Center for Medicare
If you’ve ever found yourself skipping a day of your medication or cutting your pills in half to make your supply last a little longer, there’s help. Medicare has a special program called “Extra Help.” If you have limited income and resources you can sign up to get help paying things like monthly premiums, annual deductibles, and prescription copayments in your Medicare drug plan. Did you know that the Extra Help program is estimated to be worth about $4,000 dollars per person, per year? Even if you’re not sure you’d qualify, it’s worth filling out an application to see.
Estimates show that about 2 million people with Medicare may be eligible for the Extra Help program but don’t even know it. Are you or a family member one of these people?
It’s easy and free to apply for Extra Help. Here's how:
- Apply online
- Call Social Security at 1-800-772-1213
- Apply at your local Social Security office
Don’t wait - apply today to see if you qualify for some extra help with your health costs.
Stay up to date on the latest Medicare news and follow us on Twitter @MedicareGov.
Medicare Open Enrollment: find comfort in convenience
By Jonathan Blum, Acting Principal Deputy Administrator and Director of the Center for Medicare
Like most people, I take comfort in the things I’m familiar with. I choose to shop at the supermarket around the corner because I know exactly where to find the things I’m looking for. Sure, I might be able to save a little more money by shopping at a different store on the other side of town, but I choose to stick with what I’m most comfortable. We all like to get a good deal, but convenience is a big part of the value.
The same is true when it comes to choosing a health plan: convenience matters. So in addition to cost, coverage, and benefits, here are some other things you may want to consider as you compare Medicare options during Open Enrollment:
Doctor and hospital choice
You want to be comfortable with the people you’re working with, especially when it comes to something as private as your health. Will your doctors and hospitals accept your current coverage next year? If you’re thinking about changing plans, make sure you check which doctors and hospitals you’ll be able to use. Where are they located, and what are their hours?
Pharmacy access
Is the pharmacy you use included in your drug plan’s network? Do they prescribe electronically? Can you get refills by mail? Remember that plan networks can change from year to year. If it’s important to you to stay with the same pharmacy, it’s worth checking to make sure they’ll still be in your plan’s network.
Travel
Maybe you travel a lot, or spend part of the year in a different state. If you do, make sure you know whether your coverage will travel with you.
We’re working hard to make sure you have choices in the way you get the Medicare benefits you’ve earned – and we want you to be comfortable. Use the Medicare Plan Finder to look at all of the health and drug plan options in your area. If you still need help comparing, call 1‑800‑MEDICARE (1-800-633-4227).
2013 Medicare update
By: Marilyn Tavenner, Acting CMS Administrator
We’re now past the halfway point for Medicare’s annual Open Enrollment period, which opened on October 15 and closes December 7. As you and your loved ones with Medicare sit down to consider your options for 2013, we’d like to share the latest news about Medicare.
Our Administration is committed to making Medicare stronger for you and future generations. Thanks to the health care law, everyone on Medicare can get preventive services like mammograms and other cancer screenings for free. The health care law also makes prescription drugs more affordable for seniors who hit the donut hole.
These new benefits are making a difference for millions of Americans. 5.6 million seniors and people with disabilities have saved $4.8 billion on prescription drugs since the law was enacted, and during the first nine months of 2012 over 20.7 million people with original Medicare got at least one preventive service at no cost to them.
These and other parts of the law will result in significant savings. We estimate that the health care law will save the average person in traditional Medicare $5,000 through 2022. Earlier this year we projected that the standard premium for Medicare Part B (which covers certain doctors' services, outpatient care, medical supplies, and preventive services) would rise by more than $9.00 a month in 2013. Today we announced that the actual rise will be lower—$5.00—bringing 2013 Part B premiums to $104.90 a month. By law, the premium must cover a percent of Medicare’s expenses; premium increases are in line with projected cost increases. Medicare Part B premiums have gone up slowly over the past five years – an average of less than 2 percent a year, or $8.50 total.
Several other changes in 2013 include:
- Medicare Part A Premium: Part A covers inpatient hospital stays, care in a skilled nursing facility, hospice care, and some home health care. Only about 1 percent of people with Medicare pay a premium for Part A services—you need to have paid Medicare payroll taxes for 40 quarters of employment or be married to someone who did. For those few affected, the 2013 Part A premium is decreasing to $441, down from $451 in 2012.
- Medicare Part A Deductible: This deductible is the cost to people with Medicare for up to 60 days of Medicare-covered inpatient services in the hospitals for each benefit period (a benefit period starts the day a patient is admitted and ends when the patient has been out of the hospital for 60 days in a row.) This will increase to $1,184 in 2013, up from $1156 this year (an increase of 2.4%).
- Medicare Part B Deductible: The deductible will increase to $147 in 2013, from $140. This is still $15 below the deductible in 2011.
- Income-related Adjustments: People with Medicare who report 2011income above $85,000 a year ($170,000 filing jointly) are legally responsible to cover a larger portion of the cost of their coverage. These premium adjustments range from $42.00 to $230.80 a month for Medicare Part B.
As Open Enrollment finishes up and we approach a new year, people with Medicare can be assured they are part of a program that strives to deliver better benefits while curbing costs. And we will continue to do all we can to make Medicare even stronger.
Are you a smoker? Today’s a great day to quit.
Have you tried to quit smoking, but failed in the past? Do you have a loved one who needs a little extra support to quit? If so, today’s 37th annual Great American Smokeout might give you or your loved one the motivation you need to quit the habit for good.
Quitting is hard, but Medicare can help. Check out BeTobaccoFree.gov, a comprehensive website with up-to-date tobacco-related information. Also, watch our short video about Medicare’s smoking cessation counseling sessions, and talk to your doctor about strategies to help you quit. Take the first step toward a healthier life – make a plan to quit today!
Medicare Open Enrollment: More is better
By Jonathan Blum, Acting Principal Deputy Administrator and Director of the Center for Medicare
In this season of Open Enrollment, people with Medicare have the opportunity to choose the Medicare plan that best serves their unique health needs and provides them with the greatest value. In determining the value of a plan choice, you should look not only at premiums and cost-sharing but also at what benefits and quality of care that money will buy. This year, I am proud to say that while costs, by and large, have remained relatively stable, the benefits that people with Medicare will get for their premiums continues to grow.
For those choosing Original Medicare, the benefit package continues to grow stronger and provide greater value. For example, EVERYONE with Medicare has access to a variety of preventive services and screenings, most at no cost to them when furnished by qualified and participating health care professionals. This includes things like diabetes and cancer screenings, and a yearly “wellness” visit. During the first 9 months of this year, over 20 million people with Original Medicare received at least one preventive service at no cost.
Beneficiaries may also explore their options beyond Original Medicare, as virtually all people with Medicare have access to Medicare Advantage Plans in 2013, and many of these plans offer extra benefits beyond the comprehensive package offered by Original Medicare. Medicare Advantage Plans may offer vision, hearing, or dental coverage, or extend coverage while you travel. And most Medicare Advantage Plans also include prescription drug coverage.
Use this time to decide what benefits are most important in helping you meet your unique health care needs. Use the Medicare Plan Finder to look at all of the health and drug plan options in your area for what will provide you with the greatest value. If you still need help comparing, call 1 800 MEDICARE (1-800-633-4227). TTY users should call 1-877-486-2048.
Only you know what extra benefits and services are most important for you. Just know that no matter how you choose to get your Medicare benefits, you’ll be getting more.
Stay up to date on the latest Medicare news and follow us on Twitter @Medicaregov.


1 Chronicles 1:38
And the sons of Seir; Lotan, and Shobal, and Zibeon, and Anah, and Dishon, and Ezar, and Dishan.


alessi presents liter-capacity version of michele de lucchi's 'plissé' electric kettle
by sofia lekka angelopouloufirst presented in 2018, michele de lucchi‘s sculptural plissé kettle for alessi is now offered in a second, more compact version, with a liter capacity, for all four existing colors – red, white, grey, and black. the electric kettle is produced in thermoplastic resin with a shape that draws from the worlds of architecture, design and fashion, resembling a folded piece of fabric.
all lifestyle images by matteo imbriani
offered in a second, more compact version, the new variant of alessi‘s plissé electric kettle is suitable for small families or hotel use. produced in thermoplastic resin and proposed four colors — red, grey, white and matte black — plissé has been designed with a few expedients that simplify its use and highlight its versatility: a safety device cuts off the power supply if there is too little or no water in the kettle, the base of the kettle is thermally insulated, so even once the water has reached boiling point, it can be safely placed on any surface. emphasising its practicality, the kettle is easy to open and close, can be rapidly removed from its hidden base, comes with an internal indicator of the maximum water level, an anti-limescale filter, and switches off automatically.
‘with the skillful and creative use of pleating, fashion designers shape fabrics and create clothes like sculptural works of art,’ notes italian architect and designer, michele de lucchi. ‘“plissé” was formed starting from a folded sheet of paper, then developed and produced by alessi as if it were a beautiful sartorial object. the folds give form to the shape, they structure it, because a form without folds is only a volume without form. the folds transform simple two-dimensional sheets into three-dimensional objects.’
project info:
name: plissé
designer: michele de lucchi
brand: alessi
material: thermoplastic resin
colors: red, white, grey, black


Enter in new members here. Please make sure you have done a search for the ID
number of the new member in the system first to make sure they have not been a
member before, otherwise, the system will give you an error.
ID number: check twice before saving this new member as once the ID number
is saved it cannot be changed.


Profiling Remote Java Application
29 September 2017
jvisualvm
is a tool that provides a visual interface for viewing detailed information about Java technology-based applications while they are running. You can his to view data related to your local applications and those running on remote hosts. You can also capture data about JVM software instances and save the data to your local system.
There are couple of ways to use it, one is using jstatd
and the other is by JMX (Java management Extensions). I tried jstatd first but didn't work. The later worked on my CentOS machine using the visualvm I downloaded from visualvm.github.io.
By using jstatd
Grant jstatd full security permission
Create a file called jstatd.all.policy
. If in production, make sure your server port are locked down to your local IP.
grant codebase "file:/opt/java8/lib/tools.jar" {
permission java.security.AllPermission;
};
Please use the full-path of your JDK's tools.jar. The above policy should avoid you from getting this access denied message
Could not create remote object
access denied ("java.util.PropertyPermission" "java.rmi.server.ignoreSubClasses" "write")
java.security.AccessControlException: access denied ("java.util.PropertyPermission" "java.rmi.server.ignoreSubClasses" "write")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
at java.security.AccessController.checkPermission(AccessController.java:884)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.System.setProperty(System.java:792)
at sun.tools.jstatd.Jstatd.main(Jstatd.java:139)
Run jstatd
jstatd -J-Djava.security.policy=/home/user/jstatd.all.policy -J-Djava.rmi.server.hostname=<IP_ADDRESS> -J-Djava.net.preferIPv4Stack=true -J-Djava.rmi.server.logCalls=true
Replace /home/user/jstatd.all.policy
by your actual file and <IP_ADDRESS> by the remote IP of your target machine.
By using JMX
Add some JVM arguments
-Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.port=1098
-Dcom.sun.management.jmxremote.rmi.port=1098
-Djava.rmi.server.hostname=localhost
If running CentOS, run this to open up port 1098.
sudo firewall-cmd --zone=public --add-port=1098/tcp
Launch SSH with local port forwarding
ssh -v -L 1098:localhost:1098<EMAIL_ADDRESS>Replace user by your login and my.remote.server.com by your own hostname or IP address. Since I'm running SSH in verbose mode, you should see debug messages like below.
debug1: channel 6: free: direct-tcpip: listening port 1098 for localhost port 1098, connect from <IP_ADDRESS> port 8077 to <IP_ADDRESS> port 9001, nchannels 9
debug1: channel 8: free: direct-tcpip: listening port 1098 for localhost port 1098, connect from <IP_ADDRESS> port 8078 to <IP_ADDRESS> port 9001, nchannels 8
debug1: channel 4: free: direct-tcpip: listening port 1098 for localhost port 1098, connect from <IP_ADDRESS> port 8073 to <IP_ADDRESS> port 9001, nchannels 7
Connect VisualVM to Local
Right-click on Local -> Add JMX Connection. On connection type localhost:1098
Alternative to VisualVM
Run jconsole
. On Remote Process, type localhost:1098


Thesis Management System
Please wait...
Logout
Log in
Search thesis by name:
Team JP - Copyright 2013 ©


(PHP 7 >= 7.2.14, PHP 7.3.1 > 7.3 PECL OCI8 >= 2.2.0)
oci_set_call_timeout — Sets a millisecond timeout for database calls
$connection
, int $time_out
) : boolSets a timeout limiting the maxium time a database round-trip using this connection may take.
Each OCI8 operation may make zero or more calls to Oracle's client library. These internal calls may then may make zero or more round-trips to Oracle Database. If any one of those round-trips takes more than time_out milliseconds, then the operation is cancelled and an error is returned to the application.
The time_out value applies to each round-trip individually, not to the sum of all round-trips. Time spent processing in PHP OCI8 before or after the completion of each round-trip is not counted.
When a call is interrupted, Oracle will attempt to clean up the connection for reuse. This operation is allowed to run for another time_out period. Depending on the outcome of the cleanup, the connection may or may not be reusable.
When persistent connections are used, the timeout value will be retained across PHP requests.
The oci_set_call_timeout() function is available when OCI8 uses Oracle 18 (or later) Client libraries.
connection
Oracle 连接标识，由 oci_connect()，oci_pconnect()，或 oci_new_connect() 返回。
time_out
The maximum time in milliseconds that any single round-trip between PHP and Oracle Database may take.
成功时返回 TRUE
， 或者在失败时返回 FALSE
。
Example #1 Setting the timeout
<?php
$conn = oci_connect('hr', 'welcome', 'localhost/XE');
oci_set_call_timeout($conn, 5000);
?>


This is an example of how to use autobind to automatically bind all animera widgets & animations on the page.


User first name. Must be more 2 characters
User last name. Must be more 2 characters
User email address
Must be between 4 and 20 characters
Confirm your password


Anything else than Java
Only modern browsers are supported today
Document Object Model
CSS3 Transition
inspired by Seb Lee-Delisle


Landing Pages
Mobile-responsive custom landing pages for your small
business
eCommerce
Boost your online business with an eCommerce app custom made
for you
Web Apps
Automate simple tasks at your business with our dynamic web
apps
Previous
Next
What we do
We specialize in web design and web development. We build anything
from a simple landing page to a complex eCommerce application with
the latest technologies in the industry.
Follow us on social media


{% extends "base.html" %} {% from "macros.jinja" import window_vars with context %} {% block page %}
Here you can create multiple cashu mints that you can share. Each mint can service many users but all ecash tokens of a mint are only valid inside that mint and not across different mints. To exchange funds between mints, use Lightning payments.
ImportantIf you are the operator of this LNbits instance, make sure to set CASHU_PRIVATE_KEY="randomkey" in your configuration file. Do not create mints before setting the key and do not change the key once set.


@Main("Home") {
Welcome to Castle High School
Announcements
Monday, February 23
Periods 1-7
Tuesday, February 24
Periods 1, 3, 5, 7
Wednesday, February 25
Periods 2, 4, 6
Thursday, February 26
Periods 1, 3, 5, 7
Friday, February 27
Periods 2, 4, PTP, 6
}


Enter the URL of a swagger, JSONiq, or XQuery file to see how its documentation will look like on the website.
Non-external links will not work.


--- layout: none title: Joel Bradbury --- {% for post in site.posts limit:1 %} {% include head.textile %} {% include nav.textile %}


This intent filter has multiple categories and/or actions. So, please select intent parameters.
You can specify extra options passed "as is" to 'am' command, such as start activity options or intent arguments.


Measures of correlation and procedures for exploring correlation
A measure of correlation is a numerical measure of the relationship between 2 variables (X and Y), where the measurements are taken in pairs - one measurement for each variable. By convention, such measures are crafted so that they meet the following requirements:
- They lie between \(-1\) and \(1\);
- If larger values of X tend to group with larger values of Y and vice versa, the measure will be positive. If larger values of X tend to group with smaller values of Y and vice versa, the measure will be negative;
- The stronger the tendency to group large with large and small with small, the closer the measure will be to \(1\); and
- The stronger the tendency to group large with small, the closer the measure will be to \(-1\).
Our process will consist of two phases: First, we will perform an exploratory review of the data to see if possible correlation surfaces. Second, we will calculate various the various correlation measures and see if they indicate correlation.
Exploratory review of the time series and their relationship
Generally, we will first look to graphical representations of the data pairs to see if the two variables pair more or less in one of the ways described above (large with large or large with small). Side-by-side time series can reveal similar patterns over time. In addition, scatterplots of the data pairs can reveal the correlation relationship.
Our first step is to explore the data series. The first thing we can do is to look at a chart of the annual \(CO_2\) data next to the annual temperature data and the monthly \(CO_2\) data next to the monthly temperature data.
First, we look at the annual data. We can see that both of the series show a relatively steady increase over time. The carbon dioxide series is much smoother, though both are increasing in roughly similar fashion on average over time.
Then we can look at the two monthly series. Obviously, monthly series are more jagged than annual. We can see that the monthly carbon dioxide series reveals a seasonal fluctuation that reflects higher concentrations during northern hemisphere winters. Nevertheless, both series still reflect the same general ascending pattern.
Scatterplots of carbon dioxide concentration vs. surface temperature
Scatterplots are different from the time series above. Here we will take each pair of measurements taken at the same time and will plot carbon dioxide concentration against surface temperature. We are looking to see if there is a linear relationship between the two numbers (in other words, we are looking to see if surface temperature increases when carbon dioxide concentration increases.) In both cases, we can see that there is a very strong linear relationship between the two variables.
Various correlation coefficients
Pearson’s correlation coefficient:
\[\rho_{x,y}=\frac{\sigma_{xy}}{\sigma_x \sigma_y}=\frac{E[(X-\mu_x)(Y-\mu_y)]}{\sigma_x \sigma_y}\]
\[r_{xy}=\frac{\sum_{i=1}^n (x_i-\bar{x})(y_i-\bar{y})}{\sqrt{\sum_{i=1}^n (x_i-\bar{x})^2\sum_{i=1}^n (y_i-\bar{y})^2}}\]
Some say that Pearson’s correlation coefficient requires the data to be normal. Others say it is not required but if the data is bivariate normal, “Pearson’s correlation provides a complete description of the association.”\
Spearman’s Rho is Pearson’s r computed on ranks and average ranks:
\[\rho = \frac{\sum_{i=1}^n R(X_i)R(Y_i)-n(\frac{n+1}{2})^2}{(\sum_{i=1}^n R(X_i)^2-n(\frac{n+1}{2})^2)^{\frac{1}{2}} (\sum_{i=1}^n R(Y_i)^2-n(\frac{n+1}{2})^2)^{\frac{1}{2}}} \]
Kendall’s Tau is another measure of rank correlation. We are given a bivariate sample of size \(n\) in the form of \((x_i,y_i)\) for \(i=1,2,\dots,n\). We compare each pair of observations, i.e., \(\binom{n}{2}\) pairs of observations. We determine whether each pair is discordant or concordant, where concordant means that the two numbers in one member of the pair differ in the same direction from the two numbers in the other member of the pair. Discordant is the reverse. If there are no ties, Kendall’s Tau is then:
\[\tau = \frac{N_c-N_d}{n(n-1)/2} \]
where \(N_c\) is the number of concordant pairs and \(N_d\) is the number of discordant pairs. If there are ties, we use:
\[\tau = \frac{N_c-N_d}{N_c+N_d} \]
where we consider only pairs where \(x_i \neq x_j\).
Correlation coefficients CO\(_2\) to Surface Temperature 1959-2017
We can calculate the Pearson, Spearman and Kendall correlation coefficients comparing the Mauna Loa carbon dioxide data to the GISS surface temperature data. All of the coefficients are in excess of 0.69. This is generally considered to be strong correlation.
| Pearson | Spearman | Kendall | |
|---|---|---|---|
| Annual Data | 0.949 | 0.933 | 0.779 |
| Monthly Data | 0.890 | 0.889 | 0.695 |
Can we predict surface temperature increases from anticipated carbon dioxide increases?
#Properties of the regression line (the red trend line above)
summary(lm1)
##
## Call:
## lm(formula = gissann ~ mlann)
##
## Residuals:
## Min 1Q Median 3Q Max
## -0.200323 -0.066929 0.005492 0.071795 0.171007
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) -3.3457158 0.1621733 -20.63 <2e-16 ***
## mlann 0.0103483 0.0004575 22.62 <2e-16 ***
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## Residual standard error: 0.09359 on 57 degrees of freedom
## Multiple R-squared: 0.8998, Adjusted R-squared: 0.898
## F-statistic: 511.6 on 1 and 57 DF, p-value: < 2.2e-16
#Predictions for CO2 concentrations of 425 to 700, increments of 25
new <- data.frame(mlann = seq(425,700,by=25))
predictions <- predict(lm1,newdata=new,interval="prediction")
round(predictions,2)
## fit lwr upr
## 1 1.05 0.85 1.25
## 2 1.31 1.10 1.52
## 3 1.57 1.35 1.79
## 4 1.83 1.60 2.06
## 5 2.09 1.84 2.33
## 6 2.35 2.08 2.61
## 7 2.60 2.33 2.88
## 8 2.86 2.57 3.16
## 9 3.12 2.81 3.43
## 10 3.38 3.05 3.71
## 11 3.64 3.29 3.99
## 12 3.90 3.53 4.27
#plot(c(mlann,seq(425,700,25)),c(gissann,predictions[,1]),
plot(mlann,gissann,
main="CO2 vs. Temp Annual 1959-2017 PLUS predictions",
xlab="CO2 Annual Mauna Loa",ylab="GISS Annual Surface Temp Anomaly",
xlim=c(300,700),ylim=c(-.5,4))
points(seq(425,700,25),predictions[,1],col="blue")
lines(seq(425,700,25),predictions[,2],type="l",col="red")
lines(seq(425,700,25),predictions[,3],type="l",col="red")


|
Petri Net Plans
|
Stores the prototypes of the actions in a map that the ExecutableInstantiator can use to return actions. More...
#include <pnp_action.h>
Public Member Functions | |
| ActionFactory (const std::string &actionName, PnpAction *actionObject) | |
| Stores the new action in the map. | |
Static Public Member Functions | |
| static PnpAction * | forName (const std::string &actionName, const std::string ¶ms="") |
| Clones and initializes an action. |
Stores the prototypes of the actions in a map that the ExecutableInstantiator can use to return actions.
In order to make use of ActionFactory you must declare a static variable for each action you want to generate. Before main() is invoked, when static variables are created those actions will be stored in a map that you can use in your ExecutableInstantiator.
Here is an example. MyAction.cpp:
PetriNetPlans::ActionFactory action_factory_MYNAME("MYNAME", new MyAction());
You can also use the macro ACTION_FACTORY()
"MYNAME" is the name of the action, that is the string by which the action is referred to in the plans.
| PetriNetPlans::ActionFactory::ActionFactory | ( | const std::string & | actionName, |
| PnpAction * | actionObject | ||
| ) |
Stores the new action in the map.
| actionName | is the name of the action. The name is the string by which the action is referred to in the plans. |
| actionObject | is the prototype of an action that will be cloned by forName() |
| static PnpAction* PetriNetPlans::ActionFactory::forName | ( | const std::string & | actionName, |
| const std::string & | params = "" |
||
| ) | [static] |
Clones and initializes an action.
Call this method from your ExecutableInstantiator to clone the prototype of the action stored in the map and initialize it with the param string.
| actionName | is the name of the action you want to obtain |
| params | is the string to pass to PnpAction::init() to the have the action parameters initialized. |


AMAZING PEOPLE ARE MAKING AMAZING DESIGNS IN A FUN ENVIRONMENT
When you work with us, you are a part of a team of collaborators.All aspects of our software development process are intergrated interactive ang agile
Our approach unifies design, development and product management to create exceptional products.
We start each project by understanding your business goals, the user's needs and the product requirements.
Then we help translate them into effective and elegant solutons.
Before we sign a contract or write line of code our team will spend the necessary yoour product vision
the outcome of this scoping session is a proposal or high-level statement of work.
Based on your requirements, we can provide a complete offering or just the oieces you need.
Our design practice offers a full range of services including branding strategy
,interaction and visual design and user experience testing. Throughout your project,
our designers create and implement visual designs and workflows solicit user feedback,
and work with you to make sure what gets built is what is needed.
All engineering are fluent in the latest enterprice,mobile and web development technologies. They collaborate with your team to write, test, and improve code on a daily basis, using proven practices such as test-driven development and pair programming.
planning and development is iteractive.Because we are constantly coding and testing, the products we build are always ready to go live.This iterative process allows for changes as business requirements eveolve.
DELANI STUDIO
2020


The Servlet examples:
- Hello2: The basic Servlet example. Uses RequestDispatcher to forward request.
- ETF(Electronically Traded Fund): Servlet updates client in async way.
- Mood: An example of Filter, Servlet, and LifeCycle Listener. This app responds you a mood(text)
based on the current hour of the day on the server.
- Fileupload: Use Servlet and @MultipartConfig to upload a file to server.


examples.seismic.tti package¶
Submodules¶
examples.seismic.tti.operators module¶
-
examples.seismic.tti.operators.
ForwardOperator
(model, source, receiver, space_order=4, save=False, kernel='centered', **kwargs)[source]¶ Constructor method for the forward modelling operator in an acoustic media
Parameters: - model –
Model
object containing the physical parameters - src – None ot IShot() (not currently supported properly)
- data – IShot() object containing the acquisition geometry and field data
Param: time_order: Time discretization order
Param: spc_order: Space discretization order
- model –
-
examples.seismic.tti.operators.
Gxx_centered_2d
(field, costheta, sintheta, space_order)[source]¶ 2D rotated second order derivative in the direction x. As the Laplacian is rotation invariant, it is computed as the conventional Laplacian minus the second order rotated second order derivative in the direction z Gxx = field.laplace - Gzz :param field: symbolic data whose derivative we are computing :param costheta: cosine of the tilt angle :param sintheta: sine of the tilt angle :param cosphi: cosine of the azymuth angle :param sinphi: sine of the azymuth angle :param space_order: discretization order :return: Sum of the 3D rotated second order derivative in the direction x
-
examples.seismic.tti.operators.
Gxx_shifted
(field, costheta, sintheta, cosphi, sinphi, space_order)[source]¶ 3D rotated second order derivative in the direction x as an average of two non-centered rotated second order derivative in the direction x :param field: symbolic data whose derivative we are computing :param costheta: cosine of the tilt angle :param sintheta: sine of the tilt angle :param cosphi: cosine of the azymuth angle :param sinphi: sine of the azymuth angle :param space_order: discretization order :return: rotated second order derivative wrt x
-
examples.seismic.tti.operators.
Gxx_shifted_2d
(field, costheta, sintheta, space_order)[source]¶ 2D rotated second order derivative in the direction x as an average of two non-centered rotated second order derivative in the direction x :param field: symbolic data whose derivative we are computing :param costheta: cosine of the tilt angle :param sintheta: sine of the tilt angle :param space_order: discretization order :return: rotated second order derivative wrt x
-
examples.seismic.tti.operators.
Gxxyy_centered
(field, costheta, sintheta, cosphi, sinphi, space_order)[source]¶ Sum of the 3D rotated second order derivative in the direction x and y. As the Laplacian is rotation invariant, it is computed as the conventional Laplacian minus the second order rotated second order derivative in the direction z Gxx + Gyy = field.laplace - Gzz :param field: symbolic data whose derivative we are computing :param costheta: cosine of the tilt angle :param sintheta: sine of the tilt angle :param cosphi: cosine of the azymuth angle :param sinphi: sine of the azymuth angle :param space_order: discretization order :return: Sum of the 3D rotated second order derivative in the direction x and y
-
examples.seismic.tti.operators.
Gyy_shifted
(field, cosphi, sinphi, space_order)[source]¶ 3D rotated second order derivative in the direction y as an average of two non-centered rotated second order derivative in the direction y :param field: symbolic data whose derivative we are computing :param cosphi: cosine of the azymuth angle :param sinphi: sine of the azymuth angle :param space_order: discretization order :return: rotated second order derivative wrt y
-
examples.seismic.tti.operators.
Gzz_centered
(field, costheta, sintheta, cosphi, sinphi, space_order)[source]¶ 3D rotated second order derivative in the direction z :param field: symbolic data whose derivative we are computing :param costheta: cosine of the tilt angle :param sintheta: sine of the tilt angle :param cosphi: cosine of the azymuth angle :param sinphi: sine of the azymuth angle :param space_order: discretization order :return: rotated second order derivative wrt z
-
examples.seismic.tti.operators.
Gzz_centered_2d
(field, costheta, sintheta, space_order)[source]¶ 2D rotated second order derivative in the direction z :param field: symbolic data whose derivative we are computing :param costheta: cosine of the tilt angle :param sintheta: sine of the tilt angle :param space_order: discretization order :return: rotated second order derivative wrt z
-
examples.seismic.tti.operators.
Gzz_shifted
(field, costheta, sintheta, cosphi, sinphi, space_order)[source]¶ 3D rotated second order derivative in the direction z as an average of two non-centered rotated second order derivative in the direction z :param field: symbolic data whose derivative we are computing :param costheta: cosine of the tilt angle :param sintheta: sine of the tilt angle :param cosphi: cosine of the azymuth angle :param sinphi: sine of the azymuth angle :param space_order: discretization order :return: rotated second order derivative wrt z
-
examples.seismic.tti.operators.
Gzz_shifted_2d
(field, costheta, sintheta, space_order)[source]¶ 2D rotated second order derivative in the direction z as an average of two non-centered rotated second order derivative in the direction z :param field: symbolic data whose derivative we are computing :param costheta: cosine of the tilt :param sintheta: sine of the tilt :param space_order: discretization order :return: rotated second order derivative wrt z
-
examples.seismic.tti.operators.
kernel_centered_2d
(model, u, v, space_order)[source]¶ TTI finite difference kernel. The equation we solve is:
u.dt2 = (1+2 *epsilon) (Gxx(u)) + sqrt(1+ 2*delta) Gzz(v) v.dt2 = sqrt(1+ 2*delta) (Gxx(u)) + Gzz(v)
where epsilon and delta are the thomsen parameters. This function computes H0 = Gxx(u) + Gyy(u) Hz = Gzz(v)
Parameters: - u – first TTI field
- v – second TTI field
- space_order – discretization order
Returns: u and v component of the rotated Laplacian in 2D
-
examples.seismic.tti.operators.
kernel_centered_3d
(model, u, v, space_order)[source]¶ TTI finite difference kernel. The equation we solve is:
u.dt2 = (1+2 *epsilon) (Gxx(u)+Gyy(u)) + sqrt(1+ 2*delta) Gzz(v) v.dt2 = sqrt(1+ 2*delta) (Gxx(u)+Gyy(u)) + Gzz(v)
where epsilon and delta are the thomsen parameters. This function computes H0 = Gxx(u) + Gyy(u) Hz = Gzz(v)
Parameters: - u – first TTI field
- v – second TTI field
Returns: u and v component of the rotated Laplacian in 2D
-
examples.seismic.tti.operators.
kernel_shifted_2d
(model, u, v, space_order)[source]¶ TTI finite difference kernel. The equation we solve is:
u.dt2 = (1+2 *epsilon) (Gxx(u)) + sqrt(1+ 2*delta) Gzz(v) v.dt2 = sqrt(1+ 2*delta) (Gxx(u)) + Gzz(v)
where epsilon and delta are the thomsen parameters. This function computes H0 = Gxx(u) + Gyy(u) Hz = Gzz(v)
Parameters: - u – first TTI field
- v – second TTI field
- space_order – discretization order
Returns: u and v component of the rotated Laplacian in 2D
-
examples.seismic.tti.operators.
kernel_shifted_3d
(model, u, v, space_order)[source]¶ TTI finite difference kernel. The equation we solve is:
u.dt2 = (1+2 *epsilon) (Gxx(u)+Gyy(u)) + sqrt(1+ 2*delta) Gzz(v) v.dt2 = sqrt(1+ 2*delta) (Gxx(u)+Gyy(u)) + Gzz(v)
where epsilon and delta are the thomsen parameters. This function computes H0 = Gxx(u) + Gyy(u) Hz = Gzz(v)
Parameters: - u – first TTI field
- v – second TTI field
- space_order – discretization order
Returns: u and v component of the rotated Laplacian in 3D
-
examples.seismic.tti.operators.
kernel_staggered_2d
(model, u, v, space_order)[source]¶ TTI finite difference. The equation solved is: vx.dt = - u.dx vz.dt = - v.dx m * v.dt = - sqrt(1 + 2 delta) vx.dx - vz.dz + Fh m * u.dt = - (1 + 2 epsilon) vx.dx - sqrt(1 + 2 delta) vz.dz + Fv
-
examples.seismic.tti.operators.
kernel_staggered_3d
(model, u, v, space_order)[source]¶ TTI finite difference. The equation solved is: vx.dt = - u.dx vy.dt = - u.dx vz.dt = - v.dx m * v.dt = - sqrt(1 + 2 delta) (vx.dx + vy.dy) - vz.dz + Fh m * u.dt = - (1 + 2 epsilon) (vx.dx + vy.dy) - sqrt(1 + 2 delta) vz.dz + Fv
examples.seismic.tti.tti_example module¶
examples.seismic.tti.wavesolver module¶
-
class
examples.seismic.tti.wavesolver.
AnisotropicWaveSolver
(model, source, receiver, space_order=2, **kwargs)[source]¶ Bases:
object
Solver object that provides operators for seismic inversion problems and encapsulates the time and space discretization for a given problem setup.
Parameters: - model – Physical model with domain parameters
- source – Sparse point symbol providing the injected wave
- receiver – Sparse point symbol describing an array of receivers
- time_order – Order of the time-stepping scheme (default: 2)
- space_order – Order of the spatial stencil discretisation (default: 4)
Note: space_order must always be greater than time_order
-
forward
(src=None, rec=None, u=None, v=None, m=None, epsilon=None, delta=None, theta=None, phi=None, save=False, kernel='centered', **kwargs)[source]¶ Forward modelling function that creates the necessary data objects for running a forward modelling operator.
Parameters: - src – Symbol with time series data for the injected source term
- rec – Symbol to store interpolated receiver data (u+v)
- u – (Optional) Symbol to store the computed wavefield first component
- v – (Optional) Symbol to store the computed wavefield second component
- m – (Optional) Symbol for the time-constant square slowness
- epsilon – (Optional) Symbol for the time-constant first Thomsen parameter
- delta – (Optional) Symbol for the time-constant second Thomsen parameter
- theta – (Optional) Symbol for the time-constant Dip angle (radians)
- phi – (Optional) Symbol for the time-constant Azimuth angle (radians)
- save – Option to store the entire (unrolled) wavefield
- kernel – type of discretization, centered or shifted
Returns: Receiver, wavefield and performance summary


Processing...
Please take some photos
Please take a few more photos
Take Photo
fiber_manual_record
Next
send


This is some placeholder test! This is some placeholder test! This is some placeholder test! This is some placeholder test! This is some placeholder test!


1.Taken part in Android Club organized by VIT University. 2.Taken part in inspire internship conducted by ministry of science, central government during 2012. 3.Taken part in Android workshop organized by VIT University.
EXTRA-CIRCULLAR ACIVITIES1.Wined 3rd prize in district level speech competition organized by DMK 2.Taken part in many speech competition and wined prizes. 3.Honored by VIT University for 100% attendance.


Blog title
Blog url
Blog favicon
Blog cover image
Blog logo
Blog page size
Blog summary size
Blog custom css
Authors
OAuth 2.0 Client ID for picasa api
Browser API Key (Developer Key)
Admin scripts
Blog scripts
Post scripts
Comment script


This example shows the client-side events supported by Telerik Grid for ASP.NET MVC.
The grid supports the following events:
-
OnColumnReorder - raised when a colum of the grid is reordered by the user
-
OnColumnResize - raised when a colum of the grid is resized by the user
-
OnDetailViewCollapse - raised when the user collapses a detail row
- OnDetailViewExpand - raised when the user expands a detail row
- OnDelete (cancellable) - raised
when the user deletes a row
-
OnDataBinding (cancellable) - raised when the grid is requesting data
-
OnDataBound - raised when the grid is databound
-
OnEdit - raised when the user edits or inserts a row
- OnError - raised when an error occurs during databinding
-
OnLoad - raised when the component is initialized
-
OnRowDataBound - raised when a row of the grid is databound
-
OnRowSelect - raised when a row is selected by the user
-
OnSave (cancellable) - raised when user saves a row


To be efficient when building circuits, you need to be able to quickly convert between values, like 10kΩ, and colors, like brown-black-orange, for discrete components.
Start resistor quiz| Color | Band 1 | Band 2 | Multiplier |
|---|
To be efficient when building circuits, you need to be able to quickly convert between values, like 10kΩ, and colors, like brown-black-orange, for discrete components.
Start resistor quiz


(obtained and maintained through www.delphigl.com)
(obtained and maintained through www.delphigl.com)
This is the readme for the OpenGL-Headers for Delphi/FreePascal that has been developed by DGL's OpenGL2.0-Portteam. Please read carefully through this file before using the header to avoid common problems and faults. The changelog is included in the source file itself.
OpenGL-Header is for Borland Delphi 4 and above (tested with Delphi 7) and FreePascal.
Containts the translations of glext.h, gl_1_1.h, glu.h and weglext.h.
It also contains some helperfunctions that were inspired by those found in Mike Lischke's OpenGL12.pas.
Before you can use any of the gl-functions contained in the header, you'll have to call InitOpenGL to initialize the functionpointers. In your app it should look something like that :
procedure MyGLInit; begin InitOpenGL; // Don't forget, or first gl-Call will result in an access violation! MyDC := GetDC(...); MyRC := CreateRenderingContext(...); ActivateRenderingContext(MyDC, MyRC); // Necessary, will also read some extension ... end;
After doing the above initialisation, you're ready to use all OpenGL-Functions and extensions your card supports. And also don't forget to release your context properly when exiting :
procedure MyDeInit; begin DeactivateRenderingContext; // Deactivates the current context wglDeleteContext(myRC); ReleaseDC(Handle, myDC); end;
As of OpenGL version 4.4, the header offers an additional way of creating a rendercontext, that allows for setting the desired OpenGL version and (if applicable) wether to create a forward compatible context (see OpenGL man pages on what that means) :
procedure MyGLInit; begin DC := GetDC(...); RC := CreateRenderingContextVersion(DC, [opDoubleBuffered], 4, 2, True, 32, 24, 8, 0, 0, 0); // Creates an OpenGL 4.2 forward-compatible context InitOpenGL; // Don't forget, or first gl-Call will result in an access violation! ... end;Only use this method of creating a rendering context if you're sure what you're doing. Trying to create a versioned rendering context that's not supported by the target OpenGL implementation may fail!
If you have problems, want to ask a question or think you may have encountered a bug in the header, please feel free to use the support-threads in our forums :
English support
German support
Sascha Willems (http://www.delphigl.de)
Steffen Xonna (Lossy eX, http://www.dev-center.de)
Andrey Gruzdev for the Mac OS X patch for XE2 / FPC
Lars Middendorf
Martin Waldegger (Mars)
Nico Michaelis (Delphic) for the Linux version of the header (see here)
Benjamin Rosseaux (BeRo) for expanding the header for use with Free Pascal
And thanks to all who helps us to make the header better
The contents of this file are used with permission, subject to
the Mozilla Public License Version 1.1 (the "License"); you may
not use this file except in compliance with the License. You may
obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.html
Software distributed under the License is distributed on an
"AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.


The utils library contains basic plugin objects which can be extended in order to create a new plugin.
These live in the UtilsPlugins
provider (under the utils
module)
The following plugins are provided:
This plugin should be used by plugins that can't support too many kids:
canHandle
is implemented by this plugin in a way that tests if the current node's number of kids exceeds the limit (by default: 1000).
If the limit is exceeded, canHandle returns false, and as stated in
This plugin should be used (extended actually) when the navigation model could potentially be really large (and flat). Why? for two reasons:


Backand generate REST API to your database's app, that help jump start your app's backend without writing any code.
Backand provides a simple data access layer that just works, no matter what database you're using
To connect your database just sign-up


This document describes how to install the sample AJAX Suggestion application on your local machine. To find detailed information on how this application works please visit: http://www.dynamicajax.com/fr/AJAX_Suggest_Tutorial-271_290_312.html
You can also download the code for this application there.
All code is provided AS-IS. This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may use this code in your own applications, but I would love it if you would provide a link back to http://www.DynamicAJAX.com so that others can find my site and hopefully make use of this code and tutorial.
You should have recieved this file in a ZIP that contains all the necessary files to run the Chat application on you machine. If you do not have any of the files listed below, you can download the tutorial from Dynamic AJAX
Installing the AJAX Suggest application is pretty straight forward. The only piece that requires any effort is setting up the database. If you have
any expirence with using MySQL on the web, this should be extreamly easy. You can either create a new database, or use an existing database for the AJAX Suggest
application. If you are using an existing database for the Suggest application, simply run the suggest.sql script on your database to create the database tables.
Do this either in your favorite MySQL tool, or through the MySQL command prompt with:
source c:\path to suggest\suggest.sql
If you are creating a new database for the chat application, create a new database with:
CREATE DATABASE suggest;
Be sure to grant access to the suggest database. This code requires the old password format for PHP to be able to connect to MySQL.
 TO myLogin IDENTIFIED BY 'myPassword'; USE mysql; UPDATE user SET password = old_password('myPassword') WHERE user = 'myLogin'; FLUSH PRIVILEGES; COMMIT;
Once you have created the database tables all that is left is to set the correct connection information in database.php
function db_connect($server = 'your server', $username = 'your db user name', $password = 'your db password', $database = 'your database name', $link = 'db_link') {
You can now simply place suggest.html, database.php, ajax_search.js and searchSuggest.php into one of your websites directories and browse to suggest.html.
Hopefully this tutorial will give you a good introduction to AJAX technologies. If you have any questions or comments about this application, please write me at<EMAIL_ADDRESS>and visit http://www.DynamicAJAX.com for updates to the tutorial and other great AJAX resources.


- NEGATIVE - Static variable in class org.jfree.data.RangeType
-
Negative range.
- NEW_DATASET - Static variable in class org.jfree.chart.event.ChartChangeEventType
-
NEW_DATASET.
- newFifteenMinuteTimeline() - Static method in class org.jfree.chart.axis.SegmentedTimeline
-
Factory method to create a 15-min, 9:00 AM thought 4:00 PM, Monday
through Friday SegmentedTimeline.
- newInstance(String) - Static method in class org.jfree.chart.encoders.ImageEncoderFactory
-
Used to retrieve an ImageEncoder for a specific image format.
- newInstance(String, float) - Static method in class org.jfree.chart.encoders.ImageEncoderFactory
-
Used to retrieve an ImageEncoder for a specific image format.
- newInstance(String, boolean) - Static method in class org.jfree.chart.encoders.ImageEncoderFactory
-
Used to retrieve an ImageEncoder for a specific image format.
- newInstance(String, float, boolean) - Static method in class org.jfree.chart.encoders.ImageEncoderFactory
-
Used to retrieve an ImageEncoder for a specific image format.
- newMondayThroughFridayTimeline() - Static method in class org.jfree.chart.axis.SegmentedTimeline
-
Factory method to create a Monday through Friday SegmentedTimeline.
- next() - Method in class org.jfree.data.time.Day
-
Returns the day following this one, or null
if some limit
has been reached.
- next() - Method in class org.jfree.data.time.FixedMillisecond
-
Returns the millisecond following this one.
- next() - Method in class org.jfree.data.time.Hour
-
Returns the hour following this one.
- next() - Method in class org.jfree.data.time.Millisecond
-
Returns the millisecond following this one.
- next() - Method in class org.jfree.data.time.Minute
-
Returns the minute following this one.
- next() - Method in class org.jfree.data.time.Month
-
Returns the month following this one.
- next() - Method in class org.jfree.data.time.Quarter
-
Returns the quarter following this one.
- next() - Method in class org.jfree.data.time.RegularTimePeriod
-
Returns the time period following this one, or null
if some
limit has been reached.
- next() - Method in class org.jfree.data.time.Second
-
Returns the second following this one.
- next() - Method in class org.jfree.data.time.Week
-
Returns the week following this one.
- next() - Method in class org.jfree.data.time.Year
-
Returns the year following this one.
- nextStandardDate(Date, DateTickUnit) - Method in class org.jfree.chart.axis.DateAxis
-
Returns the first "standard" date (based on the specified field and
units).
- NO_DST_TIME_ZONE - Static variable in class org.jfree.chart.axis.SegmentedTimeline
-
- NO_LABELS - Static variable in class org.jfree.chart.plot.CompassPlot
-
A constant for the label type.
- NONE - Static variable in class org.jfree.chart.block.BlockBorder
-
An empty border.
- NONE - Static variable in class org.jfree.chart.block.LengthConstraintType
-
NONE.
- NONE - Static variable in class org.jfree.chart.block.RectangleConstraint
-
An instance representing no constraint.
- NONE - Static variable in class org.jfree.chart.plot.ThermometerPlot
-
A constant for the value label position (no label).
- NONE - Static variable in class org.jfree.data.DomainOrder
-
No order.
- NonGridContourDataset - Class in org.jfree.data.contour
-
- NonGridContourDataset() - Constructor for class org.jfree.data.contour.NonGridContourDataset
-
Deprecated.
Default constructor.
- NonGridContourDataset(String, Object[], Object[], Object[]) - Constructor for class org.jfree.data.contour.NonGridContourDataset
-
Deprecated.
Constructor for NonGridContourDataset.
- NonGridContourDataset(String, Object[], Object[], Object[], int, int, int) - Constructor for class org.jfree.data.contour.NonGridContourDataset
-
Deprecated.
Constructor for NonGridContourDataset.
- NORMAL - Static variable in class org.jfree.chart.plot.ThermometerPlot
-
A constant for the 'normal' range.
- NormalDistributionFunction2D - Class in org.jfree.data.function
-
A normal distribution function.
- NormalDistributionFunction2D(double, double) - Constructor for class org.jfree.data.function.NormalDistributionFunction2D
-
Constructs a new normal distribution function.
- NormalizedMatrixSeries - Class in org.jfree.data.xy
-
Represents a dense normalized matrix M[i,j] where each Mij item of the
matrix has a value (default is 0).
- NormalizedMatrixSeries(String, int, int) - Constructor for class org.jfree.data.xy.NormalizedMatrixSeries
-
Constructor for NormalizedMatrixSeries.
- NORTH_LEFT - Static variable in class org.jfree.chart.plot.PolarAxisLocation
-
Axis left of north.
- NORTH_RIGHT - Static variable in class org.jfree.chart.plot.PolarAxisLocation
-
Axis right of north.
- notifyListeners(AnnotationChangeEvent) - Method in class org.jfree.chart.annotations.AbstractAnnotation
-
Notifies all registered listeners that the annotation has changed.
- notifyListeners(AxisChangeEvent) - Method in class org.jfree.chart.axis.Axis
-
Notifies all registered listeners that the axis has changed.
- notifyListeners(ChartChangeEvent) - Method in class org.jfree.chart.JFreeChart
-
- notifyListeners(ChartProgressEvent) - Method in class org.jfree.chart.JFreeChart
-
- notifyListeners(OverlayChangeEvent) - Method in class org.jfree.chart.panel.AbstractOverlay
-
- notifyListeners(DialLayerChangeEvent) - Method in class org.jfree.chart.plot.dial.AbstractDialLayer
-
Notifies all registered listeners that the dial layer has changed.
- notifyListeners(MarkerChangeEvent) - Method in class org.jfree.chart.plot.Marker
-
Notifies all registered listeners that the marker has been modified.
- notifyListeners(PlotChangeEvent) - Method in class org.jfree.chart.plot.Plot
-
Notifies all registered listeners that the plot has been modified.
- notifyListeners(RendererChangeEvent) - Method in class org.jfree.chart.renderer.AbstractRenderer
-
Notifies all registered listeners that the renderer has been modified.
- notifyListeners(TitleChangeEvent) - Method in class org.jfree.chart.title.Title
-
Notifies all registered listeners that the chart title has changed in
some way.
- notifyListeners(DatasetChangeEvent) - Method in class org.jfree.data.general.AbstractDataset
-
Notifies all registered listeners that the dataset has changed.
- notifyListeners(SeriesChangeEvent) - Method in class org.jfree.data.general.Series
-
Sends a change event to all registered listeners.
- NotOutlierException - Exception in org.jfree.chart.renderer
-
- NotOutlierException(String) - Constructor for exception org.jfree.chart.renderer.NotOutlierException
-
Creates a new exception.
- nullNotPermitted(Object, String) - Static method in class org.jfree.chart.util.ParamChecks
-
Throws an IllegalArgumentException
if the supplied
param
is null
.
- NumberAxis - Class in org.jfree.chart.axis
-
An axis for displaying numerical data.
- NumberAxis() - Constructor for class org.jfree.chart.axis.NumberAxis
-
Default constructor.
- NumberAxis(String) - Constructor for class org.jfree.chart.axis.NumberAxis
-
Constructs a number axis, using default values where necessary.
- NumberAxis3D - Class in org.jfree.chart.axis
-
A standard linear value axis with a 3D effect corresponding to the
offset specified by some renderers.
- NumberAxis3D() - Constructor for class org.jfree.chart.axis.NumberAxis3D
-
Default constructor.
- NumberAxis3D(String) - Constructor for class org.jfree.chart.axis.NumberAxis3D
-
Constructs a new axis.
- numberFormatterObj - Variable in class org.jfree.chart.axis.LogarithmicAxis
-
Number formatter for generating numeric strings.
- NumberTick - Class in org.jfree.chart.axis
-
A numerical tick.
- NumberTick(Number, String, TextAnchor, TextAnchor, double) - Constructor for class org.jfree.chart.axis.NumberTick
-
Creates a new tick.
- NumberTick(TickType, double, String, TextAnchor, TextAnchor, double) - Constructor for class org.jfree.chart.axis.NumberTick
-
Creates a new tick.
- NumberTickUnit - Class in org.jfree.chart.axis
-
A numerical tick unit.
- NumberTickUnit(double) - Constructor for class org.jfree.chart.axis.NumberTickUnit
-
Creates a new number tick unit.
- NumberTickUnit(double, NumberFormat) - Constructor for class org.jfree.chart.axis.NumberTickUnit
-
Creates a new number tick unit.
- NumberTickUnit(double, NumberFormat, int) - Constructor for class org.jfree.chart.axis.NumberTickUnit
-
Creates a new number tick unit.
- NumberTickUnitSource - Class in org.jfree.chart.axis
-
A tick unit source implementation that returns NumberTickUnit instances
that are multiples of 1, 2 or 5 times some power of 10.
- NumberTickUnitSource() - Constructor for class org.jfree.chart.axis.NumberTickUnitSource
-
Creates a new instance.
- NumberTickUnitSource(boolean) - Constructor for class org.jfree.chart.axis.NumberTickUnitSource
-
Creates a new instance.
- NumberTickUnitSource(boolean, NumberFormat) - Constructor for class org.jfree.chart.axis.NumberTickUnitSource
-
Creates a new instance.


| File | Statements | Branches | Functions | Lines | |||||
|---|---|---|---|---|---|---|---|---|---|
| components | 100% | 6/6 | 100% | 0/0 | 100% | 3/3 | 100% | 6/6 | |
| components/Tables | 100% | 93/93 | 98.08% | 51/52 | 100% | 31/31 | 100% | 93/93 | |
| pages | 100% | 178/178 | 98.35% | 119/121 | 100% | 49/49 | 100% | 175/175 | |
| pages/Layout | 100% | 12/12 | 100% | 0/0 | 100% | 5/5 | 100% | 12/12 |


Form1 and Form2 can be set from the same data object, but do not have live data binding.
Use liaison for live data binding. Here we simulate binding by having Save update the data and set the value on the other form to its
current value, forcing it to update the form fields.


The Luv coin is an ERC20 token. Luv is quite special since it differs from most tokens,
that gain their value from the service that they are used for, since there is no such service!
Exchanging, buying and selling the Luv tokens is all they are meant to be used for.
That is because Luv is a special kind of token.
Luv is the token of love.
The monetization of love has been a thing since ever...
Now it's time to actually tokenize it, turn it into Luv and sell it!
You will know exactly how much you are luved with a precision of 18 decimal points!
Luv will be minted with your ethereum and be added to the total supply.
Meanwhile, Luv's price will increase based on the new total supply.


Flow2code
Generating Program Code From Raw-pixel Flowchart Diagram
File List:
{% for file in files %} {% if file != ".gitkeep" %}
{% endif %} {% endfor %}


The Message class encapsulates a single email message as described in RFCs 822 and 2822. It acts basically as a value object for setting mail headers and content.
If desired, multi-part email messages may also be created. This is as trivial as creating the message body using the Zend\Mime component, assigning it to the mail message body.
The Message class is simply a value object. It is not capable of sending or storing itself; for those purposes, you will need to use, respectively, a Transport adapter or Storage adapter.
Creating a Message is simple: simply instantiate it.
1 2 3 | use Zend\Mail\Message;
$message = new Message();
|
Once you have your Message instance, you can start adding content or headers. Let’s set who the mail is from, who it’s addressed to, a subject, and some content:
1 2 3 4 |<EMAIL_ADDRESS>"Matthew Weier O'Phinney")
<EMAIL_ADDRESS>->setSubject("Sending an email from Zend\Mail!");
$message->setBody("This is the message body.");
|
You can also add recipients to carbon-copy (“Cc:”) or blind carbon-copy (“Bcc:”).
1 2 |<EMAIL_ADDRESS>->addBcc("enrico.z@zend.com");
|
If you want to specify an alternate address to which replies may be sent, that can be done, too.
1 |<EMAIL_ADDRESS>"Matthew");
|
Interestingly, RFC822 allows for multiple “From:” addresses. When you do this, the first one will be used as the sender, unless you specify a “Sender:” header. The Message class allows for this.
1 2 3 4 5 6 7 8 | /*
* Mail headers created:
* From: Ralph Schindler<EMAIL_ADDRESS>Enrico Zimuel<EMAIL_ADDRESS>* Sender: Matthew Weier O'Phinney<EMAIL_ADDRESS>*/
<EMAIL_ADDRESS>"Ralph Schindler")
<EMAIL_ADDRESS>"Enrico Zimuel")
<EMAIL_ADDRESS>"Matthew Weier O'Phinney");
|
By default, the Message class assumes ASCII encoding for your email. If you wish to use another encoding, you can do so; setting this will ensure all headers and body content are properly encoded using quoted-printable encoding.
1 | $message->setEncoding("UTF-8");
|
If you wish to set other headers, you can do that as well.
1 2 3 4 5 | /*
* Mail headers created:
* X-API-Key: FOO-BAR-BAZ-BAT
*/
$message->getHeaders()->addHeaderLine('X-API-Key', 'FOO-BAR-BAZ-BAT');
|
Sometimes you may want to provide HTML content, or multi-part content. To do that, you’ll first create a MIME message object, and then set it as the body of your mail message object. When you do so, the Message class will automatically set a “MIME-Version” header, as well as an appropriate “Content-Type” header.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | use Zend\Mail\Message;
use Zend\Mime\Message as MimeMessage;
use Zend\Mime\Part as MimePart;
$text = new MimePart($textContent);
$text->type = "text/plain";
$html = new MimePart($htmlMarkup);
$html->type = "text/html";
$image = new MimePart(fopen($pathToImage, 'r'));
$image->type = "image/jpeg";
$body = new MimeMessage();
$body->setParts(array($text, $html, $image));
$message = new Message();
$message->setBody($body);
|
If you want a string representation of your email, you can get that:
1 | echo $message->toString();
|
Finally, you can fully introspect the message – including getting all addresses of recipients and senders, all headers, and the message body.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | // Headers
// Note: this will also grab all headers for which accessors/mutators exist in
// the Message object itself.
foreach ($message->getHeaders() as $header) {
echo $header->toString();
// or grab values: $header->getFieldName(), $header->getFieldValue()
}
// The logic below also works for the methods cc(), bcc(), to(), and replyTo()
foreach ($message->from() as $address) {
printf("%s: %s\n", $address->getEmail(), $address->getName());
}
// Sender
$address = $message->getSender();
printf("%s: %s\n", $address->getEmail(), $address->getName());
// Subject
echo "Subject: ", $message->getSubject(), "\n";
// Encoding
echo "Encoding: ", $message->getEncoding(), "\n";
// Message body:
echo $message->getBody(); // raw body, or MIME object
echo $message->getBodyText(); // body as it will be sent
|
Once your message is shaped to your liking, pass it to a mail transport in order to send it!
1 | $transport->send($message);
|
The Message class has no configuration options, and is instead a value object.
isValid()
Is the message valid?
If we don’t have any From addresses, we’re invalid, according to RFC2822.
Returns bool
setEncoding(string $encoding)
Set the message encoding.

Returns string.
setHeaders(Zend\Mail\Headers $headers)
Compose headers.
Implements a fluent interface.
getHeaders()
Access headers collection.
Lazy-loads a Zend\Mail\Headers instance if none is already attached.
Returns a Zend\Mail\Headers instance.
setFrom(string|AddressDescription|array|Zend\Mail\AddressList|Traversable $emailOrAddressList, string|null $name)
Set (overwrite) From addresses.
Implements a fluent interface.
addFrom(string|Zend\Mail\Address|array|Zend\Mail\AddressList|Traversable $emailOrAddressOrList, string|null $name)
Add a “From” address.
Implements a fluent interface.
from()
Retrieve list of From senders
Returns Zend\Mail\AddressList instance.
setTo(string|AddressDescription|array|Zend\Mail\AddressList|Traversable $emailOrAddressList, null|string $name)
Overwrite the address list in the To recipients.
Implements a fluent interface.
addTo(string|AddressDescription|array|Zend\Mail\AddressList|Traversable $emailOrAddressOrList, null|string $name)
Add one or more addresses to the To recipients.
Appends to the list.
Implements a fluent interface.
to()
Access the address list of the To header.
Lazy-loads a Zend\Mail\AddressList and populates the To header if not previously done.
Returns a Zend\Mail\AddressList instance.
setCc(string|AddressDescription|array|Zend\Mail\AddressList|Traversable $emailOrAddressList, string|null $name)
Set (overwrite) CC addresses.
Implements a fluent interface.
addCc(string|Zend\Mail\Address|array|Zend\Mail\AddressList|Traversable $emailOrAddressOrList, string|null $name)
Add a “Cc” address.
Implements a fluent interface.
cc()
Retrieve list of CC recipients
Lazy-loads a Zend\Mail\AddressList and populates the Cc header if not previously done.
Returns a Zend\Mail\AddressList instance.
setBcc(string|AddressDescription|array|Zend\Mail\AddressList|Traversable $emailOrAddressList, string|null $name)
Set (overwrite) BCC addresses.
Implements a fluent interface.
addBcc(string|Zend\Mail\Address|array|Zend\Mail\AddressList|Traversable $emailOrAddressOrList, string|null $name)
Add a “Bcc” address.
Implements a fluent interface.
bcc()
Retrieve list of BCC recipients.
Lazy-loads a Zend\Mail\AddressList and populates the Bcc header if not previously done.
Returns a Zend\Mail\AddressList instance.
setReplyTo(string|AddressDescription|array|Zend\Mail\AddressList|Traversable $emailOrAddressList, null|string $name)
Overwrite the address list in the Reply-To recipients.
Implements a fluent interface.
addReplyTo(string|AddressDescription|array|Zend\Mail\AddressList|Traversable $emailOrAddressOrList, null|string $name)
Add one or more addresses to the Reply-To recipients.
Implements a fluent interface.
replyTo()
Access the address list of the Reply-To header
Lazy-loads a Zend\Mail\AddressList and populates the Reply-To header if not previously done.
Returns a Zend\Mail\AddressList instance.
setSender(mixed $emailOrAddress, mixed $name)
Set the message envelope Sender header.
Implements a fluent interface.
getSender()
Retrieve the sender address, if any.
Returns null or a Zend\Mail\AddressDescription instance.
setSubject(string $subject)
Set the message subject header value.
Implements a fluent interface.
getSubject()
Get the message subject header value.
Returns null or a string.
setBody(null|string|Zend\Mime\Message|object $body)
Set the message body.
Implements a fluent interface.
getBody()
Return the currently set message body.
Returns null, a string, or an object.
getBodyText()
Get the string-serialized message body text.
Returns null or a string.
toString()
Serialize to string.
Returns string.
Please see the Quick Start section.
The source code of this file is hosted on GitHub. Everyone can update and fix errors in this document with few clicks - no downloads needed.


Before Change
copy_file(package_path + quote(new_latest), package_path + "latest")
else:
for path, _ in paths:
delete_url(package_path + quote(path))
// Will ignore non-empty dirs.
delete_url(package_path)
After Change
registry_parsed = PhysicalKey.from_url(get_package_registry(fix_url(registry) if registry else None))
named_packages = registry_parsed.join("named_packages")
package_path = named_packages.join(name)
paths = list(list_url(package_path))
if not paths:
raise QuiltException("No such package exists in the given directory.")


Double-click to edit.
{{ item.item }}
Find recipes here!
There are no items to remove.
Are you sure you want to remove these item?


Although Intel SGX technology claims to deliver various security promises, which we have gone through in previous sections, it is still vulnerable to certain types of attacks. Recent acadamic researches have discovered several such vulnerabilities and prove that Intel SGX is not as secure as we thought.
In this section, Prof. Taesoo Kim explaines known security concerns, including cache/branch side-channel attacks and memory safety issues, and corresponding defenses with various working demos.
SGX Security Issues (Taesoo Kim)
Slides are available here.
Demos
1. Branch Shadowing
This video shows how the branch shadowing attack can extract RSA private key bits
- Target code: Sliding window exponentiation of mbedTLS
- Attack code: We modified Linux SGX SDK to run our shadow code
- Kernel log: Our attack code prints the output of LBR via dmesg
2. Dark ROP
This video shows how the Dark ROP attack detects memcpy() and copy the entire memory contents of an enclave to the outside.
3. SGX page-table-based attack
This video presents the page-table-based attack, which is also known as the controlled-channel attack. By manipulating the page table and hooking the page fault handler, the attacker is able to observe precise page access patterns.
4. SGX-Shield
This video demonstrates the effectiveness of fine-grained ASLR support of SGX-Shield.
5. T-SGX
This video shows how T-SGX protect an SGX enclave from page-table-based attacks.
6. SGX-Bomb
This video shows how the SGX-Bomb attack locks down a victim machine.
7. SGX-Bleed
This video shows how the SGX-Bleed problem leaks uninitialized SGX memory via structure padding.