This page shows a few examples of how to use paginate.js.
This table has the class "paginated
". You can navigate through its 200 rows using
the buttons below it. The table's header and footer stay in place when navigating, as they are enclosed in
<thead>
and <tfoot>
tags.
| Number | Square root | Cube root |
|---|---|---|
| one | one | one |
| two | one point four one four | one point two six |
| three | one point seven three two | one point four four two |
| four | two | one point five eight seven |
| five | two point two three six | one point seven one |
| six | two point four four nine | one point eight one seven |
| seven | two point six four six | one point nine one three |
| eight | two point eight two eight | two |
| nine | three | two point zero eight |
| ten | three point one six two | two point one five four |
| eleven | three point three one seven | two point two two four |
| twelve | three point four six four | two point two eight nine |
| thirteen | three point six zero six | two point three five one |
| fourteen | three point seven four two | two point four one |
| fifteen | three point eight seven three | two point four six six |
| sixteen | four | two point five two |
| seventeen | four point one two three | two point five seven one |
| eighteen | four point two four three | two point six two one |
| nineteen | four point three five nine | two point six six eight |
| twenty | four point four seven two | two point seven one four |
| twenty-one | four point five eight three | two point seven five nine |
| twenty-two | four point six nine | two point eight zero two |
| twenty-three | four point seven nine six | two point eight four four |
| twenty-four | four point eight nine nine | two point eight eight four |
| twenty-five | five | two point nine two four |
| twenty-six | five point zero nine nine | two point nine six two |
| twenty-seven | five point one nine six | three |
| twenty-eight | five point two nine two | three point zero three seven |
| twenty-nine | five point three eight five | three point zero seven two |
| thirty | five point four seven seven | three point one zero seven |
| thirty-one | five point five six eight | three point one four one |
| thirty-two | five point six five seven | three point one seven five |
| thirty-three | five point seven four five | three point two zero eight |
| thirty-four | five point eight three one | three point two four |
| thirty-five | five point nine one six | three point two seven one |
| thirty-six | six | three point three zero two |
| thirty-seven | six point zero eight three | three point three three two |
| thirty-eight | six point one six four | three point three six two |
| thirty-nine | six point two four five | three point three nine one |
| fourty | six point three two five | three point four two |
| fourty-one | six point four zero three | three point four four eight |
| fourty-two | six point four eight one | three point four seven six |
| fourty-three | six point five five seven | three point five zero three |
| fourty-four | six point six three three | three point five three |
| fourty-five | six point seven zero eight | three point five five seven |
| fourty-six | six point seven eight two | three point five eight three |
| fourty-seven | six point eight five six | three point six zero nine |
| fourty-eight | six point nine two eight | three point six three four |
| fourty-nine | seven | three point six five nine |
| fifty | seven point zero seven one | three point six eight four |
| fifty-one | seven point one four one | three point seven zero eight |
| fifty-two | seven point two one one | three point seven three three |
| fifty-three | seven point two eight | three point seven five six |
| fifty-four | seven point three four eight | three point seven eight |
| fifty-five | seven point four one six | three point eight zero three |
| fifty-six | seven point four eight three | three point eight two six |
| fifty-seven | seven point five five | three point eight four nine |
| fifty-eight | seven point six one six | three point eight seven one |
| fifty-nine | seven point six eight one | three point eight nine three |
| sixty | seven point seven four six | three point nine one five |
| sixty-one | seven point eight one | three point nine three six |
| sixty-two | seven point eight seven four | three point nine five eight |
| sixty-three | seven point nine three seven | three point nine seven nine |
| sixty-four | eight | four |
| sixty-five | eight point zero six two | four point zero two one |
| sixty-six | eight point one two four | four point zero four one |
| sixty-seven | eight point one eight five | four point zero six two |
| sixty-eight | eight point two four six | four point zero eight two |
| sixty-nine | eight point three zero seven | four point one zero two |
| seventy | eight point three six seven | four point one two one |
| seventy-one | eight point four two six | four point one four one |
| seventy-two | eight point four eight five | four point one six |
| seventy-three | eight point five four four | four point one seven nine |
| seventy-four | eight point six zero two | four point one nine eight |
| seventy-five | eight point six six | four point two one seven |
| seventy-six | eight point seven one eight | four point two three six |
| seventy-seven | eight point seven seven five | four point two five four |
| seventy-eight | eight point eight three two | four point two seven three |
| seventy-nine | eight point eight eight eight | four point two nine one |
| eighty | eight point nine four four | four point three zero nine |
| eighty-one | nine | four point three two seven |
| eighty-two | nine point zero five five | four point three four four |
| eighty-three | nine point one one | four point three six two |
| eighty-four | nine point one six five | four point three eight |
| eighty-five | nine point two two | four point three nine seven |
| eighty-six | nine point two seven four | four point four one four |
| eighty-seven | nine point three two seven | four point four three one |
| eighty-eight | nine point three eight one | four point four four eight |
| eighty-nine | nine point four three four | four point four six five |
| ninety | nine point four eight seven | four point four eight one |
| ninety-one | nine point five three nine | four point four nine eight |
| ninety-two | nine point five nine two | four point five one four |
| ninety-three | nine point six four four | four point five three one |
| ninety-four | nine point six nine five | four point five four seven |
| ninety-five | nine point seven four seven | four point five six three |
| ninety-six | nine point seven nine eight | four point five seven nine |
| ninety-seven | nine point eight four nine | four point five nine five |
| ninety-eight | nine point eight nine nine | four point six one |
| ninety-nine | nine point nine five | four point six two six |
| one hundred | ten | four point six four two |
| one hundred and one | ten point zero five | four point six five seven |
| one hundred and two | ten point one | four point six seven two |
| one hundred and three | ten point one four nine | four point six eight eight |
| one hundred and four | ten point one nine eight | four point seven zero three |
| one hundred and five | ten point two four seven | four point seven one eight |
| one hundred and six | ten point two nine six | four point seven three three |
| one hundred and seven | ten point three four four | four point seven four seven |
| one hundred and eight | ten point three nine two | four point seven six two |
| one hundred and nine | ten point four four | four point seven seven seven |
| one hundred and ten | ten point four eight eight | four point seven nine one |
| one hundred and eleven | ten point five three six | four point eight zero six |
| one hundred and twelve | ten point five eight three | four point eight two |
| one hundred and thirteen | ten point six three | four point eight three five |
| one hundred and fourteen | ten point six seven seven | four point eight four nine |
| one hundred and fifteen | ten point seven two four | four point eight six three |
| one hundred and sixteen | ten point seven seven | four point eight seven seven |
| one hundred and seventeen | ten point eight one seven | four point eight nine one |
| one hundred and eighteen | ten point eight six three | four point nine zero five |
| one hundred and nineteen | ten point nine zero nine | four point nine one nine |
| one hundred and twenty | ten point nine five four | four point nine three two |
| one hundred and twenty-one | eleven | four point nine four six |
| one hundred and twenty-two | eleven point zero four five | four point nine six |
| one hundred and twenty-three | eleven point zero nine one | four point nine seven three |
| one hundred and twenty-four | eleven point one three six | four point nine eight seven |
| one hundred and twenty-five | eleven point one eight | five |
| one hundred and twenty-six | eleven point two two five | five point zero one three |
| one hundred and twenty-seven | eleven point two six nine | five point zero two seven |
| one hundred and twenty-eight | eleven point three one four | five point zero four |
| one hundred and twenty-nine | eleven point three five eight | five point zero five three |
| one hundred and thirty | eleven point four zero two | five point zero six six |
| one hundred and thirty-one | eleven point four four six | five point zero seven nine |
| one hundred and thirty-two | eleven point four eight nine | five point zero nine two |
| one hundred and thirty-three | eleven point five three three | five point one zero four |
| one hundred and thirty-four | eleven point five seven six | five point one one seven |
| one hundred and thirty-five | eleven point six one nine | five point one three |
| one hundred and thirty-six | eleven point six six two | five point one four three |
| one hundred and thirty-seven | eleven point seven zero five | five point one five five |
| one hundred and thirty-eight | eleven point seven four seven | five point one six eight |
| one hundred and thirty-nine | eleven point seven nine | five point one eight |
| one hundred and fourty | eleven point eight three two | five point one nine two |
| one hundred and fourty-one | eleven point eight seven four | five point two zero five |
| one hundred and fourty-two | eleven point nine one six | five point two one seven |
| one hundred and fourty-three | eleven point nine five eight | five point two two nine |
| one hundred and fourty-four | twelve | five point two four one |
| one hundred and fourty-five | twelve point zero four two | five point two five four |
| one hundred and fourty-six | twelve point zero eight three | five point two six six |
| one hundred and fourty-seven | twelve point one two four | five point two seven eight |
| one hundred and fourty-eight | twelve point one six six | five point two nine |
| one hundred and fourty-nine | twelve point two zero seven | five point three zero one |
| one hundred and fifty | twelve point two four seven | five point three one three |
| one hundred and fifty-one | twelve point two eight eight | five point three two five |
| one hundred and fifty-two | twelve point three two nine | five point three three seven |
| one hundred and fifty-three | twelve point three six nine | five point three four eight |
| one hundred and fifty-four | twelve point four one | five point three six |
| one hundred and fifty-five | twelve point four five | five point three seven two |
| one hundred and fifty-six | twelve point four nine | five point three eight three |
| one hundred and fifty-seven | twelve point five three | five point three nine five |
| one hundred and fifty-eight | twelve point five seven | five point four zero six |
| one hundred and fifty-nine | twelve point six one | five point four one eight |
| one hundred and sixty | twelve point six four nine | five point four two nine |
| one hundred and sixty-one | twelve point six eight nine | five point four four |
| one hundred and sixty-two | twelve point seven two eight | five point four five one |
| one hundred and sixty-three | twelve point seven six seven | five point four six three |
| one hundred and sixty-four | twelve point eight zero six | five point four seven four |
| one hundred and sixty-five | twelve point eight four five | five point four eight five |
| one hundred and sixty-six | twelve point eight eight four | five point four nine six |
| one hundred and sixty-seven | twelve point nine two three | five point five zero seven |
| one hundred and sixty-eight | twelve point nine six one | five point five one eight |
| one hundred and sixty-nine | thirteen | five point five two nine |
| one hundred and seventy | thirteen point zero three eight | five point five four |
| one hundred and seventy-one | thirteen point zero seven seven | five point five five |
| one hundred and seventy-two | thirteen point one one five | five point five six one |
| one hundred and seventy-three | thirteen point one five three | five point five seven two |
| one hundred and seventy-four | thirteen point one nine one | five point five eight three |
| one hundred and seventy-five | thirteen point two two nine | five point five nine three |
| one hundred and seventy-six | thirteen point two six six | five point six zero four |
| one hundred and seventy-seven | thirteen point three zero four | five point six one five |
| one hundred and seventy-eight | thirteen point three four two | five point six two five |
| one hundred and seventy-nine | thirteen point three seven nine | five point six three six |
| one hundred and eighty | thirteen point four one six | five point six four six |
| one hundred and eighty-one | thirteen point four five four | five point six five seven |
| one hundred and eighty-two | thirteen point four nine one | five point six six seven |
| one hundred and eighty-three | thirteen point five two eight | five point six seven seven |
| one hundred and eighty-four | thirteen point five six five | five point six eight eight |
| one hundred and eighty-five | thirteen point six zero one | five point six nine eight |
| one hundred and eighty-six | thirteen point six three eight | five point seven zero eight |
| one hundred and eighty-seven | thirteen point six seven five | five point seven one eight |
| one hundred and eighty-eight | thirteen point seven one one | five point seven two nine |
| one hundred and eighty-nine | thirteen point seven four eight | five point seven three nine |
| one hundred and ninety | thirteen point seven eight four | five point seven four nine |
| one hundred and ninety-one | thirteen point eight two | five point seven five nine |
| one hundred and ninety-two | thirteen point eight five six | five point seven six nine |
| one hundred and ninety-three | thirteen point eight nine two | five point seven seven nine |
| one hundred and ninety-four | thirteen point nine two eight | five point seven eight nine |
| one hundred and ninety-five | thirteen point nine six four | five point seven nine nine |
| one hundred and ninety-six | fourteen | five point eight zero nine |
| one hundred and ninety-seven | fourteen point zero three six | five point eight one nine |
| one hundred and ninety-eight | fourteen point zero seven one | five point eight two eight |
| one hundred and ninety-nine | fourteen point one zero seven | five point eight three eight |
| two hundred | fourteen point one four two | five point eight four eight |
| Total | one thousand eight hundred and ninety-two point five | eight hundred and seventy-nine point nine |
This table has the class "paginated
" and a data-paginate
attribute with the value
"{"navigationAbove" : true, "perPage" : 10}
" (a JSON object with escaped quotes), overwriting the default
for the rows per page, and the position of the navigation.
| Number | Square | Cube |
|---|---|---|
| one | one | one |
| two | four | eight |
| three | nine | twenty-seven |
| four | sixteen | sixty-four |
| five | twenty-five | one hundred and twenty-five |
| six | thirty-six | two hundred and sixteen |
| seven | fourty-nine | three hundred and fourty-three |
| eight | sixty-four | five hundred and twelve |
| nine | eighty-one | seven hundred and twenty-nine |
| ten | one hundred | one thousand |
| eleven | one hundred and twenty-one | one thousand three hundred and thirty-one |
| twelve | one hundred and fourty-four | one thousand seven hundred and twenty-eight |
| thirteen | one hundred and sixty-nine | two thousand one hundred and ninety-seven |
| fourteen | one hundred and ninety-six | two thousand seven hundred and fourty-four |
| fifteen | two hundred and twenty-five | three thousand three hundred and seventy-five |
| sixteen | two hundred and fifty-six | four thousand ninety-six |
| seventeen | two hundred and eighty-nine | four thousand nine hundred and thirteen |
| eighteen | three hundred and twenty-four | five thousand eight hundred and thirty-two |
| nineteen | three hundred and sixty-one | six thousand eight hundred and fifty-nine |
| twenty | four hundred | eight thousand |
| twenty-one | four hundred and fourty-one | nine thousand two hundred and sixty-one |
| twenty-two | four hundred and eighty-four | ten thousand six hundred and fourty-eight |
| twenty-three | five hundred and twenty-nine | twelve thousand one hundred and sixty-seven |
| twenty-four | five hundred and seventy-six | thirteen thousand eight hundred and twenty-four |
| twenty-five | six hundred and twenty-five | fifteen thousand six hundred and twenty-five |
This table is not paginated on load, but only after the button is pressed. The button has the onclick
event "paginate(document.querySelector('#t'), {perPage : 5})
":
| Number | Power of two |
|---|---|
| zero | one |
| one | two |
| two | four |
| three | eight |
| four | sixteen |
| five | thirty-two |
| six | sixty-four |
| seven | one hundred and twenty-eight |
| eight | two hundred and fifty-six |
| nine | five hundred and twelve |
| ten | one thousand twenty-four |
| eleven | two thousand fourty-eight |
| twelve | four thousand ninety-six |
| thirteen | eight thousand one hundred and ninety-two |
| fourteen | sixteen thousand three hundred and eighty-four |
| fifteen | thirty-two thousand seven hundred and sixty-eight |
| sixteen | sixty-five thousand five hundred and thirty-six |
| seventeen | one hundred and thirty-one thousand seventy-two |
| eighteen | two hundred and sixty-two thousand one hundred and fourty-four |
| nineteen | five hundred and twenty-four thousand two hundred and eighty-eight |


WDYT Course XML file
This is a test for the 2013FA term.
FORM CODE:
Session ID:
session_startd_dt:
session_end_dt:


Apollo Expeditions to the Moon
CHAPTER 7.4
REPROGRAMMING IN FLIGHT
The next Apollo 14 problem occurred just prior to the final descent for landing
at Fra Mauro. An abort command was received by the lunar module's guidance
computer. Had the abort command been initiated, it would have separated the ascent
stage from the descent stage and terminated the landing. The descent had to be delayed;
and, as Al Shepard and Ed Mitchell orbited the Moon, the ground valiantly tried to
determine the cause of the problem. It was isolated to one set of contacts of the abort
switch on the instrument panel. Recycling the switch or tapping on the instrument
panel removed the signal from the computer. A computer program was developed
and verified within two hours by the Operations Team and inserted manually into the
computer, allowing the computer to disregard the abort command. The unexpected
came again within minutes. As the crew started the descent to the Moon, the altitude
and velocity lights of the computer display indicated that the landing radar data were
not valid. This information provided essential updates to the computer. Flight Controller
Dick Thorson made a call to recycle the landing radar circuit breaker. The
crew complied. The lights were extinguished and the necessary computer entry update
was made at an altitude of about 21,000 feet. Apollo 14 and Al Shepard's and Ed
Mitchell's climb almost to the top of Cone Crater are now history.
There were occasions when the problems that came up did not require an
instant decision but rather resulted in long hours in conference in Mission Control.
For example, on Apollo 15, the flight of Endeavour and Falcon, as the spacecraft
traveled from the Earth to the Moon, the service propulsion system developed a
problem. This is the system that is required to place the spacecraft in orbit around
the Moon and on its trajectory back to Earth. Needless to say, this was a critical system.
A light had illuminated showing that the engine was firing while it obviously was
off. This had to be caused by a short in the ignition circuitry. Had this circuit been
armed while the short was present, the service propulsion engine would have fired. The
Operations Team, working with Don Arabian, a legend in his own time, and Gary
Johnson, an excellent young electrical engineer, isolated the short to one of two
systems. A test firing was initiated by the crew to verify that the short existed on the
ground side of one of two sets of valves. Procedures were then developed by the ground,
working with the flight crew, and the mission continued.


Let us Play Fizz Buzz Game!
HTML
CSS
Enter a Number:
Click the buttons to download
foundation framework
and
atom text editor
that will help you code faster...
Foundation 6.0
Atom
Enter a number!
HTML
Selectors


Pipeline is a Swift framework for working with FCPXML files easily.
About
Pipeline extends the XMLDocument and XMLElement classes in the Foundation framework. It adds properties and methods that simplify the creation and management of FCPXML document structure.
Pipeline also includes supplemental classes and a CMTime extension to help in the processing of FCPXML data. For example, you can easily convert a timing value that looks like 59983924/30000s
in the XML to 00:33:19,464
for display in an app.
Pipeline currently works with FCPXML v1.6 through v1.8 files.
Key Features
- Access an FCPXML document’s resources, events, clips, and projects through simple object properties.
- Create and modify resources, events, clips, and projects with included properties and methods.
- Easily manipulate timing values.
- Output FCPXML files with proper text formatting.
- Validate FCPXML documents with the DTD.
Documentation
The latest framework documentation is viewable at reuelk.github.io/pipeline and is also included in the project’s docs
folder as HTML files.
Adding the Framework to a Project
To add the framework to your Xcode project:
- Clone or download the repository.
- Open the
Pipeline.xcodeproj
file in Xcode. - Build the project by pressing Command-B.
- Right-click on the
Pipeline.framework
framework in theProducts
folder in the Navigator pane. SelectShow in Finder
. - Drag the selected folder into your Xcode project’s Navigator pane.
- Xcode will prompt you to set some options for adding the folder. Generally,
Copy items if needed
,Create groups
and your application target should be selected. - Select your project in the Navigator pane and go to
Build Phases
. AboveTarget Dependencies
, click the + icon and selectNew Copy Files Phase
- Under
Copy Files
, selectFrameworks
as the destination. - Click on the plus sign below and add the Pipeline framework.
- Add
import Pipeline
to the top of all Swift files that need to use the framework.
Usage Examples
Open an FCPXML File
Subsequent examples use the fcpxmlDoc
object declared here.
// Change the path below to your FCPXML file's path
let fileURL = URL(fileURLWithPath: "/Users/[username]/Documents/sample.fcpxml") // Create a new URL object that points to the FCPXML file's path.
do {
try fileURL.checkResourceIsReachable()
} catch {
print("The file cannot be found at the given path.")
return
}
let fcpxmlDoc: XMLDocument // Declare the fcpxmlDoc constant as an XMLDocument object
do {
fcpxmlDoc = try XMLDocument(contentsOfFCPXML: fileURL) // Load the FCPXML file using the fileURL object
} catch {
print("Error loading FCPXML file.")
return
}
List the Names of All Events
let eventNames = fcpxmlDoc.fcpxEventNames // Get the event names in the FCPXML document
dump(eventNames) // Neatly display all of the event names
Create and Add a New Event
let newEvent = XMLElement().fcpxEvent(name: "My New Event") // Create a new empty event
fcpxmlDoc.add(event: newEvent) // Add the new event to the FCPXML document
dump(fcpxmlDoc.fcpxEventNames) // Neatly display all of the event names
Get Clips That Match a Resource ID and Delete Them
let firstEvent = fcpxmlDoc.fcpxEvents[0] // Get the first event in the FCPXML document
let matchingClips = try! firstEvent.eventClips(forResourceID: "r1") // Get any clips that match resource ID "r1".
// The eventClips(forResourceID:) method throws an error if the XMLElement that calls it is not an event. Since we know that firstEvent is an event, it is safe to use "try!" to override the error handling.
try! firstEvent.removeFromEvent(items: matchingClips) // Remove the clips that reference resource "r1".
guard let resource = fcpxmlDoc.resource(matchingID: "r1") else { // Get the "r1" resource
return
}
fcpxmlDoc.remove(resourceAtIndex: resource.index) // Remove the "r1" resource from the FCPXML document
Display the Duration of a Clip
let firstEvent = fcpxmlDoc.fcpxEvents[0] // Get the first event in the FCPXML document
guard let eventClips = firstEvent.eventClips else { // Get the event clips while guarding against a potential nil value
return
}
if eventClips.count > 0 { // Make sure there's at least one clip in the event
let firstClip = eventClips[0] // Get the first clip in the event
let duration = firstClip.fcpxDuration // Get the duration of the clip
let timeDisplay = duration?.timeAsCounter().counterString // Convert the duration, which is a CMTime value, to a String formatted as HH:MM:SS,MMM
print(timeDisplay)
}
Save the FCPXML File
do {
// Change the path below to your new FCPXML file's path
try fcpxmlDoc.fcpxmlString.write(toFile: "/Users/[username]/Documents/sample-output.fcpxml", atomically: false, encoding: String.Encoding.utf8)
print("Wrote FCPXML file.")
} catch {
print("Error writing to file.")
}
Authors
Reuel Kim


{% extends "base.html" %} {% block content %}
Set up your streaming system to receive Streamlabs alerts. Simply download Streamlabs OBS. It's very easy to set up!
If you prefer other programs, here is a guide for OBS Studio and Xsplit can be found here: Adding widgets to OBS/Xsplit


{% extends "base.html" %} {% block main_content %} {% if form.errors %}
There was a problem. Please try again.
Old Password: {{ form.old_password }}
Password: {{ form.new_password1 }}
Password (again): {{ form.new_password2 }}


Review and Edit your talk.
Welcome to Edit mode. Here your can modify the description of your talk.
1. validate your password
Use the password that was provided in the email.
2. Edit your talk description
Edit by double clicking each cell.
You can style with Markdown.
Any update is reviewed by us prior to being published.
{{ $item.title }}
{{ $item.subtitle }}
{{ $item.resume }}
{{ with $item.description }}{{ . }}{{ end }}
{{ $item.speaker_1_name }}
{{ $item.speaker_1_function }}
{{ $item.speaker_2_name }}
{{ $item.speaker_2_function }}
About speakers
About speaker
{{ end }}please upload a photo on Dropbox
{{ $item.speaker_1_name }}
Function: {{ $item.speaker_1_function }}
{{ with $item.speaker_1_bio }}{{.}}{{ end }}
twitter: {{ with $item.speaker_1_twitter }}{{.}}{{ end }}
please upload a photo on Dropbox
{{ $item.speaker_2_name }}
{{ $item.speaker_2_function }}
{{ with $item.speaker_2_bio }}{{.}}{{ end }}
twitter: {{ with $item.speaker_2_twitter }}{{.}}{{ end }}


Ph.D. Candidate
University of North Texas
My name is Shengjun Zhang (张圣军 in Chinese) or just call me Daniel. I am a Ph.D. candidate at University of North Texas, advised by professor Colleen Bailey since 2019 summer and affiliated with Optimization, Signal, Control, and Algorithms Research (OSCAR Lab) . Before joining OSCAR Lab, since 2018 I had been fortunate to work with professor Tao Yang before he left UNT for one year and a half.
Before coming to UNT, I received a Master's degree in Electrical Engineering at New York University in 2017, where I worked with professor Farshad Khorrami on a project about controlling an unmanned ground vehicle platform.I received a Bachelor's degree with honor in Automation of Honors Program at China Agricultural University in 2014, where I worked with professor Jianhan Lin and professor Li Li on a project about controlling a biomedical device.
In 2018 summer, I was also fortunate to visit professor Ye Yuan's group at Huazhong University of Science and Technology, working on accelerating distributed optimization of multi-agent systems.
My research focuses on providing fundamental understandings of distributed optimization from a point of view of control theory, which discovers why and how distributed training algorithms work and why they are doing what they are doing mathematically. Inspired by the theoretical insights, I seek to design distributed training algorithms that can be able to be seamlessly scaled to a large number of computing nodes.
I am interested in statistical learning, sparse PCA, machine learning, control theory, robotics, reinforcement learning, distributed optimization.
Huazhong University of Science and Technology
Summer 2018
Visiting Scholar
University of North Texas
Jan. 2018 -- Present
Ph.D. student in Electrical Engineering
CGPA: 4.0/4.0
New York University
Jan. 2015 -- Jan. 2017
M.S. in Electrical Engineering
CGPA: 3.5/4.0
China Agricultural University
Aug. 2010 -- July. 2014
B.Eng. in Automation of Honors Program
CGPA: 3.6/4.0, ranking: top 10%
| Year | Honor | Description |
|---|---|---|
| 2020 | Third Place Graduate Student Poster Competition | IEEE North Tech SAS |
| 2019 | IEEE Outstanding Graduate Student | IEEE local event |
| 2012 | Second Prize Physics Experiment Competition of Colleges | Beijing, China |
| Year | Scholorship | Description |
|---|---|---|
| 2020 | College of Engeering Dean Tuition Scholarship | For academic and reasearch excellence |
| 2020 | Toulouse Graduate School Scholarship | For academic and reasearch excellence |
| 2019 | College of Engeering Dean Tuition Scholarship | For academic and reasearch excellence |
| 2019 | Toulouse Graduate School Scholarship | For academic and reasearch excellence |
| 2018 | College of Engeering Dean Tuition Scholarship | For academic and reasearch excellence |
| 2018 | Toulouse Graduate School Scholarship | For academic and reasearch excellence |
| Year | Course | Instructor |
|---|---|---|
| Fall 2020 | EENG 5940 Optimization Theory | |
| Spring 2019 | EENG 2620 Signals and Systems | |
| Fall 2018 | EENG 2620 Signals and Systems | |
| Fall 2018 | EENG 5940 Advanced Topics in Electrical Engineering: Power System & Optimization | |


Description
The List Box Sample demonstrates adding and retrieving data from a listbox. You can add items, retrieve select items, or retrieve all the items to the second listbox. In addition, you can select or deselect all listbox items and test for exception handling.
Concept
Sample program demonstrates a listbox and accelerators.
Task
Select food items in the left listbox. Selecting the Read menu item places the selected items in the right listbox.
Supported
Supported
Supported


Nvidia Driver for Ubuntu 16
08 February 2018
My company laptop comes like a present to me. It has 16GB of RAM and couple of SSDs on it. It's running Windows 10 Home Edition but I don't have issue with that since I'm going to use Linux. I'm originally CentOS but we will use Ubuntu going forward to make it a smooth Linux transition for non-seasoned Linux users.
The only issue I encountered with this laptop while installing Ubuntu is the graphics driver. The laptop has multiple graphics card (Intel and Nvidia) and the Nvidia driver is not supported on Ubuntu being proprietary.
Run this script
I got this one from the internet but forgot to document the website. Credit belongs to the original author.
#!/bin/sh
if lspci | grep VGA | grep -q NVIDIA; then
echo 'Installing NVIDIA driver'
echo $sudoPW | sudo -S sudo add-apt-repository -ys ppa:graphics-drivers/ppa > /dev/null 2>&1
echo $sudoPW | sudo -S sudo apt update > /dev/null 2>&1
echo $sudoPW | sudo -S sudo apt-fast install -y nvidia-378 > /dev/null 2>&1
cat <<EOT >> /etc/modprobe.d/blacklist-nouveau.conf
blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off
EOT
echo $sudoPW | sudo -S sh -c "echo 'options nouveau modeset=0' >> /etc/modprobe.d/nouveau-kms.conf"
echo 'Updating initramfs'
sudo update-initramfs -u
fi
Reboot your machine making sure safe boot is off
Safe boot is a BIOS feature and it comes on different flavours. Just look for Safe boot and make sure it's disabled.


I am someone who specializing in front and back end development websites. Have done numerous projects involving some platform like website, desktop and mobile.
Serving as the person in charge of free medical treatment activity.
As plantation coordinator.


--- layout: null section-type: ltdh20 title: LTDH20 --- ## Le Tour du Hack 2020 The fourth annual #LTDH20 will take place in Edinburgh on the 20th & 21st of March 2020. Find our sponsorship pack on #LTDH20's website here!


--- layout: portfolio ---
A Google Maps application with user authentication and utilising data from an external API. This was the second project of the immersive course - an Express application with a Mongo database using the Mongoose ORM.
The app can be used here: NightMapper


POS tags
| Open class words | Closed class words | Other |
|---|---|---|
| ADJ | ADP | PUNCT |
| ADV | AUX | SYM |
| INTJ | CCONJ | X |
| NOUN | DET | |
| PROPN | NUM | |
| VERB | PART | |
| PRON | ||
| SCONJ |
ADJ
: adjective
Definition
Adjectives are words that typically modify nouns and specify their properties or attributes. In Italian, adjectives can be used predicatively (as in La casa è gialla “The house is yellow”) and attributively (as in La casa gialla è a destra “The yellow house is on the right side”).
Adjectives in Italian normally agree in number and gender with the noun they modify (both in attributive and predicative position), e.g. la casa gialla (feminine singular), le case gialle (feminine plural).
The class of adjectives in Italian UD also includes ordinal numbers and participial adjectives, both behaving as adjectives morphologically and syntactically.
To conform to the UD guidelines, possessive adjectives are handled as determiners DET.
Corresponding language-specific part-of-speech tags
A: Adjective
NO: Ordinal Number
Examples
- grande “big”
- vecchio “old”
- verde “green”
- Un caro amico_ “a dear friend”
- Un libro interessante “An interesting book”
- Il cancello è aperto “The gate is open”
- È stato illuminante “It has been illuminating”
- primo “first”, secondo “second”, terzo “third”, IV “fourth”, ennesimo “nth”, ultimo “last”
ADP
: adposition
Definition
Adposition is a cover term for prepositions and postpositions. In Italian, there are only prepositions.
Italian prepositions can take the form of fixed multi-word
expressions, such as invece di “instead of”, a causa di “because of”, davanti a “in front of”. The
component words are then still tagged according to their basic use
(i.e. a is ADP
, causa is NOUN, di is ADP
) and their status as a
multi-word expression is accounted for at the level of syntactic annotation.
See fixed for more details on the representation of multi-word expressions.
Italian prepositions are also used for introducing non-finite clausal complements, as in Maria ha deciso di partire “Mary decided to leave” or Maria è andata a congratularsi con loro “Mary went to congratulate them”.
Italian distinguishes between simple and articulated prepositions: note however that to comply with the UD Tokenization guidelines the latter are systematically splitted into the following sequence of part-of-speech tags, ADP
and DET
(e.g. nello “in the” is splitted into in ADP
lo DET
).
Corresponding language-specific part-of-speech tags
E: Preposition
Examples
- in casa “at home”
- a Milano “in Milan”
- durante la notte “during the night”
- davanti al cancello “in front of the gate”
- ha promesso di invitarlo a cena “he promised to invite him to dinner”
ADV
: adverb
Definition
Adverbs are words that typically modify verbs for such categories as time, place, direction or manner. In Italian, they may also modify adjectives (as in palesemente falso “clearly fake”), other adverbs (as in molto bene “very well”), or even nouns / pronouns (as in proprio lui “exactly him”).
Corresponding language-specific part-of-speech tags
B: Adverb
BN: Negation adverb
Examples
- molto
- bene
- esattamente
- domani
- sù, giù
- interrogative adverbs: dove, quando, come, perché
- demonstrative adverbs: qui, là, ora, adesso, poi
- indefinite adverbs: talvolta
- totality adverbs: dovunque, sempre
- negation adverbs: no, mica, non, nemmeno, neanche, neppure
AUX
: auxiliary verb
Definition
Italian auxiliary verbs can be divided into:
- tense auxiliaries, used to form compound tenses represented by avere “to have” and essere “to be”;
- passive auxiliaries, used to form passive verb forms represented by essere “to be” and venire lit. “to come”.
Following the UD guidelines, Italian modal verbs are handled as modal auxiliaries (e.g. potere “can”, dovere “must”).
Corresponding language-specific part-of-speech tags
VA: Auxiliary verb
VM: Modal verb
Examples
- Tense auxiliaries: ha fatto “he has done”, è arrivato “he has arrived”, sarà finito “it will be finished”
- Passive auxiliaries: fu distrutto “it was destroyed”, è stato comprato “it has been bought”
- Modal auxiliaries: dovrebbe fare “he should do”, può avere successo “he can have success”
CCONJ
: coordinating conjunction
Definition
A coordinating conjunction is a word that links words or larger constituents without syntactically subordinating one to the other and expresses a semantic relationship between them.
For subordinating conjunctions see SCONJ.
Examples
- e “and”
- o, oppure, ovvero “or”
- ma “but”
- sia … sia “both … and”
- né … né “neither … nor”
DET
: determiner
Definition
Determiners are words that modify nouns or noun phrases and express the reference of the noun phrase in context. Like adjectives, Italian determiners typically agree with the noun they modify for gender and number, e.g. questo libro “this book” (masculin singular), i libri “the books” (masculin plural), la carta “the paper” (feminine singular).
In Italian, usually a nominal allows for one DET modifier only, with the following exceptions:
- predeterminers (or addeterminers), which are also tagged
DET
. For example: Tutti gli amici “All the friends”. - possessive adjectives, which following the UD guidelines are also tagged as
DET
. For example: Mio padre “my father”, la mia macchina lit. “the my car”, la figlia mia lit. “the daughter my”
Corresponding language-specific part-of-speech tags
RD: Definite article
RI: Indefinite article
DE: Exclamative determiner
DI: Indefinite determiner
DQ: Interrogative determiner
DR: Relative determiner
DD: Demonstrative determiner
T: Predeterminer
AP: Possessive adjective
Examples
- definite articles: il, lo, la, gli “the”
- indefinite articles: un, uno, una “a, an”
- demonstrative determiners: questo “this”, e.g. Ho visto questa macchina ieri. “I saw this car yesterday”
- interrogative determiners: quale “which”, e.g. Quale macchina ti piace? “Which car do you like?”
- relative determiners: quale “which”, e.g. Mi chiedo quale macchina ti piace. “I wonder which car you like”
- indefinite determiners: ogni “any”, tutti “all”, alcuni “some”, nessuno, nessuna “no”, e.g. Non abbiamo nessuna macchina disponibile “We have no car available”
- exclamative determiners: quale in Quale disastro! “What a mess!”
INTJ
: interjection
An interjection is a form, typically brief, which is used most often as an exclamation or part of an exclamation.
As a special case of interjections, we recognize feedback particles such as: sì “yes” and no “no”. Note that uses of sì and no syntactically related to other accompanying expressions in a sentence are recognized as ADV.
Corresponding language-specific part-of-speech tags
I: Interjection
Examples
Marked as interjections:
- vabbè
- oddio
- ah
- ecco
- ciao
- sì, e.g. Sì, perché … “Yes, because …”, Sì, proprio l’Italia “Yes, Italy indeed”
- no, e.g. No, non lo credo “No, I don’t believe it”
Marked as adverbs:
- Elezioni sì, elezioni no “Elections yes, elections no”
- Voteremo sì “We will vote yes”
NOUN
: noun
Definition
Nouns are a part of speech typically denoting a person, place, thing, animal or idea.
The NOUN
tag is intended for common nouns only. See PROPN for
proper nouns and PRON for pronouns.
Corresponding language-specific part-of-speech tags
S: Common noun
Examples
- ragazza “girl”
- gatto “cat”
- albero “tree”
- aria “air”
- bellezza “beauty”
NUM
: numeral
Definition
A numeral is a word, functioning most typically as a determiner, adjective or pronoun, that expresses a number and a relation to the number, such as quantity, sequence, frequency or fraction.
Cardinal numerals are covered by NUM
whether they are used
as determiners or not (as in Windows Seven) and whether they
are expressed as words (four), or digits (4).
There are numerals belonging to other parts of speech in the universal tagging scheme, based mainly on syntactic criteria: e.g. ordinal numerals are tagged as adjectives or pronouns (first, second, third, …). In Italian there are no adverbial numerals like [cs] poprvé “for the first time” nor multiplicative numerals such as [en] (once, twice).
Note that, since Roman numerals (IV) are only used as ordinal numerals in Italian (Enciclopedia Treccani), are tagged ADJ for coherence with other ordinal numerals.
In this case we specify NumType=Ord
as morphological feature.
A similar treatment is reserved to a cardinal with a suffix such as a, o, esimo, esima, or the symbol ° (similar to the English use of the suffix “th”).
Other words functioning as determiners (including quantifiers such as many and few) are tagged DET.
Examples
Tagged as NUM
:
- 0, 1, 2, 2014, 1000000, 3,14159265359
- zero, uno, due, settantasette
Tagged as ADJ:
- XX secolo
- 48esimo
- primo, secondo, ultima
- 20°
Tagged as PRON:
- il terzo ad arrivare “the third to arrive”
References
PART
: particle
The use of PART
is limited to possessive markers, in English names: [en] ‘s.
According to the UD guidelines, particles may also encode grammatical categories such as negation, e.g.
- Negation particle: [en] not; [de] nicht; [tr] mu
In Italian however we tag negation particles, such as non, as a negation adverb. See ADV.
Examples
- Wendy ‘s
- McDonald ‘s
PRON
: pronoun
Definition
Pronouns are words that substitute for nouns or noun phrases, whose meaning is recoverable from the linguistic or extralinguistic context.
Specializations of pronouns correspond to different language specific PoS leading to different values for the PronType feature.
Correspondance between language specific PoS and PronTypes
- PC (clitic pronouns) → PronType=Clit
- PD (demonstrative pronouns) → PronType=Dem
- PE (personal pronouns) → PronType=Prs
- PI (indefinite pronouns) → PronType=Ind
-
PP (possessive pronouns) → PronType=Prs Poss=Yes - PQ (interrogative pronouns) → PronType=Int
- PR (relative pronouns) → PronType=Rel
Note: the PronType=Clit feature is specific for Italian.
Examples
- clitic pronouns: ci, si, vi, la, lo, gli, including reflexive pronouns
- demonstrative pronouns: questo, codesto, coloro, medesimo, quello, ciò as in Questo è strano “This is strange”
- personal pronouns: io, tu, te, lui, lei, egli, esso, noi, loro
- indefinite pronouns: uno, altri, qualcuno, qualcosa, ciascuno
- possessive pronouns: mio, suo, loro
- interrogative pronouns: chi, che, cosa, quanto, quale as in Cosa pensi? “What do you think?”
- relative pronouns: che, cui, quale as in Il film che ho visto. “The movie that I have seen”
- totality pronouns: tutti, tutto
- negative pronouns: nessuno, niente, nulla
PROPN
: proper noun
Definition
A proper noun is a noun that is the name (or part of the name) of a unique entity, be it an individual, a place, or an object.
Acronyms of proper nouns, such as UN and NATO, are also tagged as PROPN
.
Corresponding language-specific part-of-speech tags
SP: Proper noun
Examples
- Maria, Michelangelo
- Londra
- Ansaldo Energia
- Kim Il Sung
- NATO, HBO, U.S.A.
PUNCT
: punctuation
Definition
Punctuation marks are non-alphabetical characters and character groups used to delimit linguistic units in printed text.
Punctuation is not taken to include logograms such as $, %, and §, which are instead tagged as SYM.
Examples
- Period: .
- Comma: ,
- Parentheses: (, )
SCONJ
: subordinating conjunction
Definition
A subordinating conjunction is a conjunction that links constructions by making one of them a constituent of the other. The subordinating conjunction typically marks the incorporated constituent which has the status of a (subordinate) clause.
We recognize these two subclasses as subordinating conjunctions:
- Complementizers, come “like”, che “that”, mentre “while”, se “if”
- Adverbial clause introducers, come “like”, quando “when”, poiché, perché “since”, or prima “before” (when introducing a clause not a nominal)
For coordinating conjunctions see CCONJ.
Examples
- Credo che verrà. “I believe that he will come”
- È successo mentre ero al lavoro. “It happened while I was at work”
- Vado a casa prima che piova. “I go home before it starts raining”
SYM
: symbol
Definition
A symbol is a word-like entity that differs from ordinary words by form, function, or both.
We recognize as symbols:
- currency symbols: $
- mathematical operators: µg / m3
- ’/’ used a separator: 2001 / 923 / CE
- emoticons and emoji: :-)
- URL’s and emails
The following are not symbols:
- Proper nouns with numbers and special characters: 130XE, DC10, DC-10 are tagged PROPN.
- Acronyms for proper nouns: UN, NATO are tagged as PROPN.
- Abbreviated words: Sig. (signore), kg (chilogrammo), km (chilometro), dott (dottore) are tagged NOUN.
- Characters used as bullets in itemized lists (*, •, ‣) are PUNCT.
Examples
- $, %, §, ©
- +, −, ×, ÷, =, <, >
- :), ♥‿♥, 😝
-<EMAIL_ADDRESS>http://universaldependencies.org/
VERB
: verb
Definition
A verb is a member of the syntactic class of words typically denoting events and actions, constituting a minimal predicate in a clause, governing the number and types of dependents which may occur in the clause. In Italian verbs are associated with the following grammatical categories: tense, mood and voice, which can either be expressed inflectionally or using auxilliary verbs or particles.
Note that the VERB
tag covers main verbs (content verbs) and copulas but it does not cover auxiliary verbs, for which the AUX tag is used.
Participles used as adjectives are classified as ADJ.
Corresponding language-specific part-of-speech tags
V: Main verb
Examples
- correre “run”, mangiare “eat”
- corse, mangiò
- correndo, mangiando
- è stata mangiata
X
: other
Definition
The tag X
is used for words that for some reason cannot be assigned
a real part-of-speech category.
Note that the universal guidelines recommend the usage of X
for cases of code-switching where it is not possible (or meaningful) to analyze the intervening language grammatically (and where the dependency relation foreign is
typically used in the syntactic analysis). The PoS tag for Italian in such cases is SW (foreign noun) and is mapped into X
in the conversion.
This usage does not extend to ordinary loan words where it is assigned a normal part-of-speech.
Examples
- tout court
- res nullius
- pro capite


--- layout: post title: "1,000 Rosenbrock functions" permalink: /:title/ tags: [optimization, tensorflow] ---
One thing I've always wanted to do was find the global minimum of 1,000 Rosenbrock functions using BFGS really quickly - and now I can do it easily!
import tensorflow as tf import tensorflow_probability as tfp import time as tm def rosenbrock(x, a, b): x0 = x[..., 0] x1 = x[..., 1] first = tf.math.squared_difference(a, x0) second = b * tf.math.squared_difference(x1, tf.square(x0)) return first + second def optimize(init, a, b): @tf.function def fn(x): return tfp.math.value_and_gradient(lambda x: rosenbrock(x, a, b), x) return tfp.optimizer.bfgs_minimize(fn, init, max_iterations=100) tf.random.set_seed(42) batch_size = 1_000 init = tf.random.normal([batch_size, 2], dtype=tf.float64) a = tf.random.normal([batch_size], mean=5.0, dtype=tf.float64) b = tf.random.normal([batch_size], mean=100.0, dtype=tf.float64) start = tm.time() opt = optimize(init, a, b) end = tm.time() solution = tf.stack([a, tf.square(a)], axis=-1) estimate = opt.position
print(f"{batch_size:,} optimizations took {end - start:.2f} seconds") print(f"iterations: {opt.num_iterations}") print(f"all converged: {tf.reduce_all(opt.converged)}") print(f"any line searches failed: {tf.reduce_all(opt.failed)}") print(f"max abs error: {tf.reduce_max(tf.abs(solution - estimate))}")
1,000 optimizations took 3.66 seconds iterations: 72 all converged: True any line searches failed: False max abs error: 3.966131600918743e-08
Now, obviously this isn't useful in itself - it's just an example of how to use the batching support recently introduced into tensorflow probability.


Film review by Kevin Patterson
Scream 2 ***1/2 (out of four) Directed by Wes Craven. Written by Kevin Williamson. Starring Neve Campbell, Courtney Cox, David Arquette.
Only a year after the initial release of "Scream," the horror send-up from veteran horror director Wes Craven and screenwriter Kevin Williamson that seemed to breathe new life into the slasher genre, the inevitable sequel "Scream 2" has arrived in our theaters. While the tongue-in-cheek, parodic element is still noticeable in this film, it's really a sideshow to a broader commentary on violence and the media and a more conventional horror story. The first film, while often violent and gruesome, was mostly lacking in genuine scares because almost every scene was played for camp value and the discussion of the quirks and cliches of horror movies was nearly constant.
The premise of "Scream 2" is that a series of copycat killings begin when a movie called "Stab," based on a book written by opportunistic reporter Gail Weathers (Courtney Cox) about the events in "Scream," is released and two audience members are killed during the opening screening. I had heard about this scene before I went to see the film and was surprised to find this sequence largely lacking in camp comedy. Its conclusion, in which a bleeding, wounded woman stumbles in front of the screen and dies in front of an audience that cheers on because they think it's a publicity stunt, is more surreal and disturbing than anything else.
The satire in "Scream 2" thus takes on a broad focus and gradually evolves into an exploration of media perceptions in general. Although resident horror film geek Randy (Jamie Kennedy) is back with fresh dialogue about sequels (and, interestingly enough, how they are usually inferior to their predecessors), the characters in this movie are drawing from other entries in the pop culture encyclopedia as well. Everything from "Friends" and "Saved by the Bell" to "Showgirls" and "Terminator 2" is referenced here; horror is only one of many genres available for lampooning, and there aren't any "Wes Carpenter" jokes this time.
More importantly, this film portrays characters willing to go to disturbing lengths for media attention as well as characters whose perceptions have clearly been warped by what they have seen on TV and film. The killings are clearly an imitation of the previous murders from "Scream" (in fact, the culprit even plans to use the influence of horror movies as a courtroom defense), Weathers exploits the situation for her own notoriety, and one man seems willing to save the heroine's life only if it will earn him an interview on the Today Show. Understandably, "Scream 2" does not go so far as to actually blame the movies, but rather shows that those who do imitate horror movies are already sick and twisted.
Couple that with the fact that several of the characters, most notably the lead character Sidney Prescott (Neve Campbell), are fairly well-developed and that there are some genuine moments of spine-chilling suspense, and what we have is a pretty darned good horror movie in its own right. We don't just get the horror of scary masks and graphic gore - we also get the horror of sympathetic characters who seem helpless as their friends are slaughtered (and, in one case, a significant character who was an audience favorite even bites the dust) and whose lives have been reduced to constant fear of a crazed murderer lurking around the corner. While I have not seen any of his other work, it's easy to see why Craven is generally touted as the most sophisticated "slasher film" director, as he clearly cares about something more than just the actual acts of slashing.
Unfortunately, "Scream 2" occasionally reverts to the time-honored horror tradition of throwing logic out the window. For example, several characters seem quite clearly dead and inexplicably turn up alive later - there has been a running gag in both movies about the villain being able to pull off this particular trick, but it also happens with other characters and in an even less believable fashion. There are also a few scenes in which the killer suddenly appears behind the next victim in a situation such that (s)he clearly would have been seen moving in that direction.
As for the question of whether or not "Scream 2" is yet another sequel not as good as its predecessor . . . well, it's hard to say. I gave the first "Scream" 3 1/2 stars as well because it worked pretty consistently as a light-hearted send-up. "Scream 2" bounces all over the place stylistically, but it does a better job delivering the genuine scares and asking the questions about media violence that were only hinted at in the first installment. I'm not sure which is the better movie, but I did leave the theater convinced of one thing: sequels, however much Randy might argue, do not necessarily suck.
- - - - - Visit my Film Reviews page: http://members.aol.com/KTPattersn/reviews.html
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


Lata Mangeshkar taken to Breach Candy hospital after complaining of breathing problems
by JKR StaffLegendary singer Lata Mangeshkar on Monday had to be admitted to Mumbai’s Breach Candy Hospital after she complained of breathing problems. She was admitted to the hospital at around 1.30 AM on Monday.
“She is critical and in ICU,” News18 website quoted a hospital insider as saying. However, Rachana Shah, the niece of Lata Mangeshkar, was quoted as saying, “Lata didi suffered from a viral chest infection so we got her to the hospital. But now, she is on a path of recovery. Thank you for your concern.” –
Mangeshkar, who turned 90 on 28 September, has sung more than 1,000 songs in Hindi alone. The Indian government had conferred the country’s highest civilian honour, the Bharat Ratna, on her in 2001.
On Sunday, the singer had tweeted extending her good wishes to her niece and actress Padmini Kolhapure for her upcoming film Panipat. Her tweet had read, “Namaskar. Meri bhaanji Padmini Kolhapure ek bahut acchi kalakar hai aur ab woh Panipat is film mein Gopika bai ka kirdaar nibha rahi hai. Main Padmini ko aashirwad deti hun aur Ashutosh aur unki team ko shubhkaamanayein deti hun. (My niece is a very good actress and now she is playing the character of Gopika Bai in Panipat. I give my blessings to Padmini and best wishes to Asutosh and his team.)”


Twin Cities Community of Unmanned Flyers
For my final project in MCAD's Web Design Principles class with Erika Hutchings, I conceptualized and designed a community website for Minneapolis-based drone and UAS enthusiasts.
Technologies
- HTML5
- CSS3, SASS
- JavaScript, jQuery
- Gulp
- Bower
- Git / Github


Java Accessibility Guide > Java Accessibility API (JAAPI) Programmer's Guide > Accessibility Enhancements in Java SE 1.4
The features described here were introduced in the Java SE 1.4. These features are also part of subsequent releases of the Java SE.
Interface AccessibleExtendedComponent has a new method, getAccessibleKeyBinding, to return key bindings associated with an object.
Class AccessibleRole contains the following new constants:
This release adds accessibility support for HTML object tags. CTRL-t and SHIFT-CTRL-t navigate to the next and previous component, respectively, associated with an object tag in an HTML document. CTRL-SPACE activates the default action associated with the component.
Assistive technologies needed a way to track HTMLEditorKit keyboard link traversal. The constant AccessibleContext.ACCESSIBLE_HYPERTEXT_OFFSET was added to support this feature.
The javax.accessibility.assistive_technologies property specifies the assistive technologies to load into the JVM.
The javax.accessibility.screen_reader_present property, when set to true, lets the Java platform libraries know that a screen reader is present on the system. Application developers can check this property. If an application is self-voicing and a screen reader is present, developers can turn off the self-voicing.
The following new classes and interfaces have been added to the Java Accessibility API:
Interface AccessibleEditableText provides support for text editing by assistive technologies.
Interface AccessibleExtendedComponent provides the standard mechanism for an assistive technology to determine the extended graphical representation of an object.
Interface AccessibleExtendedTable provides extended information about a user-interface component that presents data in a two-dimensional table format.
Interface AccessibleKeyBinding provides the standard mechanism for an assistive technology to determine the key bindings which exist for an object.
This new feature provides support for easier tab navigation using mnemonics on a JTabbedPane.
This new feature provides support for list navigation using the first letter of list items.
This release provides accessibility support for HTML components in Swing.
The javax.accessibility.screen_magnifier_present property, when set to true, lets the Java platform libraries know that a screen magnifier is present on the system. Application developers can check this property, and if a screen magnifier is present, developers should make sure their applications are compatible with screen magnification.


| < Day Day Up > |
4.4 Log File PathnamesI'll discuss all the details of Squid's log files in Chapter 13. For now the only thing you may need to worry about is where you want Squid to put its log files. The default location is a directory named logs under the installation prefix. For example, if you don't use the —prefix= option with ./configure, the default log file directory is /usr/local/squid/var/logs. You need to make sure that log files are stored on a disk partition with enough space. When Squid receives a write error for a log file, it exits and restarts. The primary reason for this behavior is to grab your attention. Squid wants to make sure you don't miss any important logging information, especially if your system is being abused or attacked. Squid has three main log files: cache.log, access.log, and store.log. The first of these, cache.log, contains informational and debugging messages. When you start Squid the first few times, you should closely watch this file. If Squid refuses to run, the reason is probably at the end of cache.log. Under normal conditions, this log file doesn't become large enough to warrant any special attention. Also note that if you start Squid with the -s option, the important cache.log messages are also sent to your syslog daemon. You can change the location for this log file with the cache_log directive: cache_log /squid/logs/cache.log The access.log file contains a single line for each client request made to Squid. On average, each line is about 150 bytes. In other words, it takes about 150 MB to log one million client requests. Use the cache_access_log directive to change the location of this log file: cache_access_log /squid/logs/access.log If, for some reason, you don't want Squid to log client requests, you can specify the log file pathname as /dev/null. The store.log file is probably not very useful to most cache administrators. It contains a record for each object that enters and leaves the cache. The average record size is typically 175-200 bytes. However, Squid doesn't create an entry in store.log for cache hits, so it contains fewer records than access.log. Use the cache_store_log directive to change the location: cache_store_log /squid/logs/store.log You can easily disable store.log altogether by specifying the location as none: cache_store_log none If you're not careful, Squid's log files increase in size without limit. Some operating systems enforce a 2-GB file size limit, even if you have plenty of free disk space. Exceeding this limit results in a write error, which then causes Squid to exit. To keep log file sizes reasonable, you should create a cron job that regularly renames and archives the log files. Squid has a built-in feature to make this easy. See Section 13.7 for an explanation of log file rotation. |
| < Day Day Up > |


Setting Functions¶
In this section, we will cover the following functions in-depth listed below:
uadmin.DataType¶
type DataType int
DataType is a list of data types used for settings.
DataType has 7 functions:
Boolean() - A data type that has one of two possible values (usually denoted true and false), intended to represent the two truth values of logic and Boolean algebra
DateTime() - Provides functionality for measuring and displaying time
File() - A data type used in order to upload a file in the database
Float() - Used in various programming languages to define a variable with a fractional value
Image() - Used to upload and crop an image in the database
Integer() - Used to represent a whole number that ranges from -2147483647 to<PHONE_NUMBER> for 9 or 10 digits of precision
String() - Used to represent text rather than numbers
See uadmin.Setting for the examples.
Quiz:
uadmin.GetSetting¶
func GetSetting(code string) interface{}
GetSetting return the value of a setting based on its code.
Suppose I have the record “Water Daily Intake for Men” that has the value of 13 and the Data Type is Integer.
Go to the main.go and print the returning value of the GetSetting:
func main(){
// Some codes
// GetSetting reads the Code then returns the value
uadmin.Trail(uadmin.DEBUG, uadmin.GetSetting("Health.WaterDailyIntakeforMen"))
}
Now run your application and check the result in your terminal.
[ DEBUG ] 13
Quiz:
uadmin.Setting¶
type Setting struct {
Model
Name string `uadmin:"required;filter;search"`
DefaultValue string
DataType DataType `uadmin:"required;filter"`
Value string
Help string `uadmin:"search" sql:"type:text;"`
Category SettingCategory `uadmin:"required;filter"`
CategoryID uint
Code string `uadmin:"read_only;search"`
}
Setting model stored system settings.
Data Type has 7 choices:
Boolean - A data type that has one of two possible values (usually denoted true and false), intended to represent the two truth values of logic and Boolean algebra
DateTime - Provides functionality for measuring and displaying time
File - A data type used in order to upload a file in the database
Float - Used in various programming languages to define a variable with a fractional value
Image - Used to upload and crop an image in the database
Integer - Used to represent a whole number that ranges from -2147483647 to<PHONE_NUMBER> for 9 or 10 digits of precision
String - Used to represent text rather than numbers
func (*Setting) ApplyValue¶
func (s *Setting) ApplyValue()
ApplyValue changes uAdmin global variables’ value based in the setting value.
func (*Setting) GetValue¶
func (s *Setting) GetValue() interface{}
GetValue returns an interface representing the value of the setting.
func (*Setting) ParseFormValue¶
func (s *Setting) ParseFormValue(v []string)
ParseFormValue takes the value of a setting from an HTTP request and saves in the instance of setting.
func (*Setting) Save¶
func (s *Setting) Save()
Save overrides save.
Go to Example #4: ParseFormValue function to see how ParseFormValue works.
Save() - Saves the object in the database
There are 2 ways you can do for initialization process using this function: one-by-one and by group.
One-by-one initialization:
func main(){
// Some codes
settingCategory := uadmin.SettingCategory{}
setting := uadmin.Setting{}
setting.Category = settingCategory
setting.CategoryID = 1
setting.Code = "Code"
setting.DataType = uadmin.DataType(0).String(),
setting.DefaultValue = "Default Setting Value"
setting.Help = "Help"
setting.Name = "Setting Name"
setting.Value = "Setting Value"
}
By group initialization:
func main(){
// Some codes
settingCategory := uadmin.SettingCategory{}
setting := uadmin.Setting{
Category: settingCategory,
CategoryID: 1,
Code: "Code",
DataType: uadmin.DataType(0).String(),
DefaultValue: "Default Setting Value",
Help: "Help",
Name: "Setting Name",
Value: "Setting Value",
}
}
In the following examples, we will use “by group” initialization process.
Page:
Quiz:
uadmin.SettingCategory¶
type SettingCategory struct {
Model
Name string
Icon string `uadmin:"image"`
}
SettingCategory is a category for system settings.
There are 2 ways you can do for initialization process using this function: one-by-one and by group.
One-by-one initialization:
func main(){
// Some codes
settingCategory := uadmin.SettingCategory{}
settingCategory.Name = "Setting Category Name"
settingCategory.Icon = "/media/images/icon.png"
}
By group initialization:
func main(){
// Some codes
settingCategory := uadmin.SettingCategory{
Name: "Setting Category Name",
Icon: "/media/images/icon.png",
}
}
In this example, we will use “by group” initialization process.
Go to main.go and apply the following codes below to create a Health setting category:
func main() {
// Some codes
// Setting Category configuration that assigns the name and path
// where the icon is located
settingCategory := uadmin.SettingCategory{
Name: "Health",
Icon: "/media/images/heart.png",
}
// Save the settingCategory in the database
uadmin.Save(&settingCategory)
}
Now run your application. From uAdmin dashboard, click on “SETTING CATEGORIES”.
As a result, the Health record was saved in the database.
Now go to Settings page by clicking on the wrench icon on the top right part to see the result.
Result
Quiz:


↑
↓
←
→
stevecat's long fox game
use arrow keys or touch sides of screen
collect cookies
become the longest fox possible
refresh page to restart
RELEASE THE FOX


The Open Tree of Life
is building a comprehensive tree of all life. By enabling
community contribution of phylogenies (estimates of species or
other group relationships), and combining these phylogenies into a
single tree-of-life we capturing the depth of knowledge about
biodiversity on Earth, encouraging community comment and
refinement and preserving phylogenetic data in a readily reusable
way.
Contact:
Emily Jane McTavish,
Karen Cranston