Jose Mourinho's comments praising 'powerful' Tottenham under Daniel Levy
Jose Mourinho spoke in glowing terms of the rise of Tottenham Hotspur, even when the Portuguese was in charge at Manchester United.
The 56-year-old has been confirmed as the new manager of Spurs on Wednesday morning after Mauricio Pochettino was sacked on Tuesday evening.
The former Chelsea, Real Madrid and Inter Milan boss brings a wealth of top level experience to north London, and also a lot of respect for the club he is joining.
When in charge at Old Trafford, Mourinho was asked about the difficulties of signing players, and cited Spurs as a team you could no longer bully into selling their best players.
‘Is Manchester United by its history, by its dimension, bigger than Tottenham? With all respect, Tottenham is an amazing club. I think everybody would say yes,’ Mourinho said in 2017.
‘Can you buy Tottenham’s best players? No, because they don’t sell. Of course, they are so powerful that they can say no.
Advertisement Advertisement
‘A few years ago, who was Tottenham’s best player? Michael Carrick. And a few years later, who was the best player? Berbatov. Can we go there now and bring Harry Kane? Dele Alli, [Christian] Eriksen, Son [Heung-min]? Can we go there and bring those players here? No.
‘So who is more powerful now? Them or us? Football’s changed. It’s more difficult to buy players of a high, high, high level. The clubs are more powerful. The clubs don’t want to sell, and to sell is to go to absolutely incredible levels.
‘Before, the smaller clubs were almost begging the big clubs: “Get my best players. I need to sell. Please, you are powerful. Buy my best player.” At this moment, they don’t want to sell. They don’t want to sell.’


---
layout: post
title: "My Week in Review"
date: 2015-08-30 10:50:00 +0000
categories:
tags:
image: https://s3.amazonaws.com/audreywatters/2015-08-30-grief.jpg
imagecredits: https://www.flickr.com/photos/mwschaff/8739307295
---
Travel
- Nope. (Kin did briefly travel to San Francisco.)
- Upcoming week: Hermosa Beach
Hack Education
Essays Elsewhere
Speaking
Known Notes and Fragments
Other Projects
- Therapy!
- I started working on Kin’s Knight Foundation grant prototype (See the “Adopta” stories above).
Family and Friends
- I went to visit the kid over the weekend (last weekend).
- My friend José is here visiting this weekend.
- I’ve had this wretched bronchial cough for over a bad month, and this week has been exhausting (physically and emotionally) – I am finally (I think) on the mend.


Trees
Indices
Help
[
hide private
]
[
frames
] |
no frames
]
[
Module Hierarchy
|
Class Hierarchy
]
Class Hierarchy
Address.AddressContainer
:
The Address entity itself.
Address.AddressQueries
:
Manager for Address entity related SQL queries.
Appointment.AppointmentContainer
:
The Appointment entity itself.
Appointment.AppointmentQueries
:
Manager for Appointment entity related SQL queries.
Doctor.DoctorContainer
:
The Doctor entity itself.
Doctor.DoctorQueries
:
Manager for Doctor entity related SQL queries.
EmployeeAppointment.EmployeeAppointmentContainer
:
The EmployeeAppointment entity itself.
EmployeeAppointment.EmployeeAppointmentQueries
:
Manager for EmployeeAppointment entity related SQL queries.
Employee.EmployeeContainer
:
The Employee entity itself.
Employee.EmployeeQueries
:
Manager for Employee entity related SQL queries.
IsMentioned.IsMentionedContainer
:
The IsMentioned entity itself.
IsMentioned.IsMentionedQueries
:
Manager for IsMentioned entity related SQL queries.
Medic.MedicContainer
:
The Medic entity itself.
Medic.MedicQueries
:
Manager for Medic entity related SQL queries.
Service.Service
:
Service / Model for classical SQL queries in PostgreSQL.
Specialty.SpecialtyContainer
:
The Specialty entity itself.
Specialty.SpecialtyQueries
:
Manager for Specialty entity related SQL queries.
Token.TokenQueries
:
Manager for Toekn entity related SQL queries.
object
:
The most base type
exceptions.BaseException
:
Common base class for all exceptions
exceptions.Exception
:
Common base class for all non-exit exceptions.
Authentication.SecretSessionError
:
Exception for no secret.
Authentication.TokenSessionError
:
Exception for no token.
flask.views.View
:
Alternative way to use view functions.
flask.views.MethodView
:
Like a regular class-based view but that dispatches requests to particular methods.
flask_restful.Resource
:
Represents an abstract RESTful resource.
Address.Address
:
Flask_restful Resource for Address entity, for routes with a parameter.
Address.AddressList
:
Flask_restful Resource for Address entity, for routes with no parameter.
Appointment.Appointment
:
Flask_restful Resource for Appointment entity, for routes with a parameter.
Appointment.AppointmentList
:
Flask_restful Resource for Appointment entity, for routes with no parameter.
Doctor.Doctor
:
Flask_restful Resource for Doctor entity, for routes with a parameter.
Doctor.DoctorList
:
Flask_restful Resource for Doctor entity, for routes with no parameter.
Employee.Employee
:
Flask_restful Resource for Employee entity, for routes with a parameter.
EmployeeAppointment.EmployeeAppointmentList
:
Flask_restful Resource for EmployeeAppointment entity, for routes with no parameter.
Employee.EmployeeList
:
Flask_restful Resource for Employee entity, for routes with no parameter.
IsMentioned.IsMentioned
:
Flask_restful Resource for IsMentioned entity, for routes with a parameter.
IsMentioned.IsMentionedList
Medic.Medic
:
Flask_restful Resource for Medic entity, for routes with a parameter.
Medic.MedicList
:
Flask_restful Resource for Medic entity, for routes with no parameter.
Specialty.Specialty
:
Flask_restful Resource for Specialty entity, for routes with a parameter.
Specialty.SpecialtyList
Token.Token
:
Flask_restful Resource for Token entity.
Trees
Indices
Help
Generated by Epydoc 3.0.1 on Thu Apr 20 19:04:41 2017
http://epydoc.sourceforge.net


茅于轼老师的关于中国大饥荒的文章“Lessons from China’s Great Famine”发表在了 THE CATO JOURNAL上(http://www.cato.org/cato-journal/fall-2014)。文章的链接http://object.cato.org/sites/cato.org/files/serials/files/cato-journal/2014/9/cj34n3-2.pdf
While the Great Famine (1959–61) is one of many famines throughoutChina’s history, this does not undermine its significance inChina’s modern history. Unlike other tragic famines in the past, the Great Famine was caused by avoidable human mistakes—not by inevitable natural disasters.
There has been a great deal of scholarship in the West on the Great Famine, where it is known as the “Great Leap Forward.” Several excellent books, such as Jasper Becker's Hungry Ghosts (1997), Frank Diköter’s Mao’s Great Famine (2010), and Ralph Thaxton's Catastrophe and Contention in Rural China (2008), have explored the catastrophe from many angles, including the political decisions made byBeijingand local governments. Yet there had been comparatively little work coming fromChina. Now, thanks to the work of Chinese reporters, scholars, and especially Yang Jisheng’s in-depth workTombstone(2012), we have a more complete picture of this dark time inChina’s recent past.
_________________
Cato Journal, Vol. 34, No. 3 (Fall 2014). Copyright © Cato Institute. All rights reserved.
Mao Yushi is Co-Founder and former Chairman of the Unirule Institute of Economics inBeijing, and the 2012 recipient of the Milton Friedman Prize for Advancing Liberty. This article is adapted from comments the author made in response to a speech given by Yang Jisheng at Unirule’s Biweekly Academic Seminar on September 27, 2013. The author thanks Ma Junjie for translating his comments, Zhang Lin for assistance in calculating casualties from the Great Famine, and Jude Blanchette and Jim Dorn for editorial assistance.
Personal Reflections
I was in my early 30s when the Great Famine took place. Labeled as a “rightest,” I was persecuted from 1959 to 1963 along with thousands of others. At that time, many rightists were removed from their posts and sent to the countryside for re-education. During the Great Famine, many did not survive as they succumbed to hunger and disease. I was reduced to the lowest human form by the end of the Great Famine, constantly stalked by the nightmare that I could never shake: hunger. As a survivor with first-hand experience, I know that scores died during the Great Famine. As an economist and a concerned citizen, I felt an obligation to find out exactly how many people died during this catastrophe.
Calculating the True Number of Deaths
The causes of the Great Famine may be open to questions and debate, but the number of the deceased during this period must not be overshadowed by the necessity to be attuned to political sensitivities. It is the duty of survivors like me to determine the exact number of the deceased during the famine so that they can be remembered and a lesson for the nation can be learned.
As shown in Figure 1, the vertical axis represents population and the horizontal axis the period from 1950 to 1970. According to the government’s statistical yearbook, the population ofChinagrew continuously until the end of 1958. However, between 1959 and 1961, the population plummeted. In 1962, the population resumed its growth. The solid black line represents the actual population during this period in millions. According to the trend line of the previous years, using the method of quadratic regression, the population would have been 711.18 million by 1962, as shown by the dashed line after 1959. Compared with the real population of 658.59 million in 1961, the difference is 52 million individuals. What does 52 million mean in this context? It represents those who would have been born as well as those who would not have experienced abnormal deaths.
FIGURE 1
THE IMPACT OF THE GREATFAMINEONCHINA’S POPULATION
Two factors contributed to this loss of 52 million individuals. The first is those females whom did not give birth, while the other factor is death by starvation. If we subtract the would-be newborns, we will have the number of deceased from hunger, or the victims of the Great Famine. But we also need to ask: How many infants would have been born during this period? Taking into account the average mortality and fertility rates of the period, I concluded that 16 million babies should have been born between 1959 and 1961. The math behind this is relatively simple: 52 million minus 16 million gives us 36 million. We now have the number of unnatural deaths: 36 million. During the Great Famine, 16 million babies were not born who otherwise would have been, and 36 million individuals starved to death. The only problem with this calculation is the accuracy of the population statistics from the government. I have doubts about government statistics, which may affect the accuracy of this estimate.
What does 36 million mean? If we take a look at the casualties from WWII, we see that approximately 30 to 40 million died, including casualties in the European and Pacific theatres. This comparison shows the stunning fact that the Great Famine killed as many as the Second World War.
Considering the accuracy of this figure, I am sure it invites disagreement. Four hundred thousand Japanese died in MainlandChinaafter the Lugouqiao Incident (also known as the Marco Polo Bridge Incident). This number is accurate as the names of those who perished during the invasion are listed at the Yasukuni Shrine inTokyo. But one must ask: How many Chinese people died? We don’t know for sure. Some say 29 million, which means that for each Japanese casualty in the war, 60 to 70 Chinese lost their lives. I find this figure hard to treat as true. According to my estimate, the number of Chinese casualties during the Second World War is less than 10 million.
This is just to show that we should have our own judgment about statistics. Thirty-six million is my own judgment of what happened in the past, and others may doubt the veracity of that figure. Yet there are no sources other than the government statistics bureau for such information, which is also one of the many impediments for our research.
There are 30 provincial capitals inChina, and the 36 million deaths from the Great Famine are equal to a Nanjing Massacre in every capital five times over. The numbers are so large they become senseless, but what I see in these statistics are lives just like yours and mine. They deceased long ago, but they leave us an obligation to speak on their behalf and to always speak the truth. We can’t allow people to cover the truth by saying they died not because of the Great Famine but due to their malnutrition or health problems. It’s ruthless and inhuman to deny these facts.
Li Shengming of theChineseAcademyof Social Sciences published an article entitled How Did the Lie of the Death of 30 Million Come into Being? (2013) in theChinaSocial Sciences Journal. I was stunned and infuriated by his claim that the high number of casualties in the Great Famine was wrong and those who died had nobody but themselves to blame. It’s beyond comprehension how people could even make such a claim.
This 36 million accounted for 5.5 percent of the total population of 660 million. There were 700 people in the small village where I stayed during this period, and roughly 80 to 90 died from hunger or related diseases. The casualties accounted for 10 percent of the population of that small village inShandong. As Yang Jisheng (2012: 394) rightly points out, the death rate varied from province to province, withAnhui,Henan,Sichuan,Gansu, andShandongbeing the most seriously affected. It’s not how wealthy the province was or how developed agriculture was in a certain province that accounted for the variance in death rates. In certain provinces, relatively few people died even though agriculture was less developed. But many died from hunger in provinces likeHenanandSichuanwhere agriculture was rather developed.
I concluded before that the nationwide death rate of the Great Famine was 5.5 percent. I have extended that calculation to the average death rate for the three decades of Mao Zedong’s rule, which was 1.1 percent. This means 11 people out of 1,000 died of diseases, earthquakes, and other reasons during Mao’s rule. The average death rate in the three decades after the reform and opening up was 0.66 percent, a decrease of almost 50 percent. In addition, another 10 million people died for various reasons in political movements. Roughly estimated, about 3 to 4 million people died during the Cultural Revolution (1966–76). I’ve done extensive work to estimate the unnatural deaths during Mao’s rule. But still I am not confident in my judgment, which is mostly based on common sense and information from the mass media. During the three decades under Mao’s rule, 230 million died. Death due to political reasons amounted to 45 million to 50 million. For every four normal deaths, there was one abnormal death. After the reform and opening up in 1978, death due to political reasons decreased to about 200 to 300 thousand, which is a huge improvement. I think the most remarkable achievement of the reform is that deaths for political reasons have been greatly reduced, while during Mao’s Zedong’s rule one could only count on fate to die or survive.
According toChinastatistical Yearbook(1984:397),Chinaexported 4.15 million tons of food during the Great Famine, an amount that could feed 20 million people for a year with each person consuming some200 kgof food annually. This means most of the deaths during the famine could have been avoided if there were no food exports and the food was reasonably distributed. As a matter of fact, food was sufficient in the international market during this period, but Mao Zedong was too complacent and arrogant to decide to export food and instead acted as if “New China” was doing a good job of feeding its people. But what was the reality?
Holding Mao Zedong Responsible
Mao Zedong, along with some other people, should be held responsible for the death of so many people during peacetime. I am not accusing him of killing people intentionally. The Lushan Plenum was supposed to set the right track by correcting the problem of radicalness. But it took a shift as Mao targeted Peng Dehuai, which was purely Mao’s responsibility. As Yang has written (2012: 389), 20 million people would not have perished if the Lushan Plenum were not held. What’s more, the famine was reported to Chairman Mao continuously between 1959 and 1960, but he chose to ignore the disastrous news. Later, Mao sent PRC President Liu Shaoqi and Premier Zhou Enlai to deal with the famine, but to no avail. I doubt if Mao ever felt a sense of guilt, as he later persecuted Liu Shaoqi and other formally close comrades. I think it is purely deluded and ill-informed to still uphold his flag inChina. The Chinese people are a great people and they can’t be blinded by Mao’s mistakes.
Institutional Reasons for the Great Famine and Devastation
Yang (2012: 486) describes the institutional reasons for the great number of deaths during the Great Famine, which were caused by a system characterized by monopolies and food stamps. Starvation did not occur in urban areas on a scale even close to that of in the countryside. The reason was simple: the urban population was guaranteed food stamps, which enabled them to obtain15 kgof food per month. No matter exactly how much food one could obtain, starvation sounded like a farfetched idea as one still had access to food anyway. People in rural areas, however, were not provided with food stamps. They grew their own crops, and after handing over a considerable proportion of the food they grew to the government, the remainder was at their own disposal to either consumer or sell on the market. If the government decided to collect more from the farmers, they were left with nothing to eat.
To take a step back, what is more reliable, food stamps or currency? If one loses one’s food stamps, he cannot expect to gain additional stamps from his fellow citizens, as there are none to give. During the time of the famine, food stamps equaled life. Without food stamps, one did not eat. We should remember this lesson when we hear of new government programs to “help” us. For example, the current program to construct the Baozhang fang (保障房), or secure housing, might be treated with more skepticism after reviewing the history of similar projects. Perhaps a more realistic outcome is for the stock of affordable housing to shrink once the government project gets under way.
During the Great Famine, I was 30 years old and working at the Railway Research Institute. Our basketball court had been transformed into a field to grow wheat. The authorities asked the people not to waste our energy in order to save food. Not only was our basketball court turned into a field, but other research institutes experienced similar transformations.
Lester Brown, the American environmentalist and founder of Worldwatch, in his book Who Will Feed China? warned that the expanding number of golf courses inChinais endangering the food supply (Brown 1995: 60). That claim is way below professional standards and judgments. Yet golf courses can only be developed if there is sufficient land. I can only speak for myself in saying that I have doubts about the professionalism and ethical standards of someone like Lester Brown. It is a shame that he is popular inChina.
Conclusion
The Chinese government has been trying one way or another to ban talks and discussion on the Great Famine. This leads to a bigger concern of mine. How can a society be sustained when it is built on lies? Famine sounds like a far-fetched topic of the modern world, but the Great Famine along with the great toll is real. The lessons we learned are not in vain, and they should remain so even if my generation passes away. The current regime of China, be it under the rule of Jiang Zemin, Hu Jintao, Xi Jinping, or even Deng Xiaoping, should not hold itself accountable for the Great Famine. Deng Xiaoping may still be involved one way or another, but this regime under President Xi Jinping should not associate itself with the one in the past. Therefore, it does not make any sense to cover the truth and stand by the guilt of Mao’s rule as the legitimacy of the current regime is not dependent on Mao’s rule but on the success of the reform and opening up.
I hope the Chinese people will not forget the Great Famine, and I believe the lessons learned from it will throw light upon the future.
References
Becker, J. (1998)HungaryGhosts.New York: Free Press.
Brown, L. (1996) Who Will FeedChina? Wake-Up Call for a Small Planet.New York: W. W. Norton.
Diköter, F. (2010) Mao’s Great Famine: The History of China's Most Devastating Catastrophe, 1958–1962.New York:Walker.
Li, S. M. (2013) “How Did the Lie of the Death of 30 Million Come into Being?”ChinaSocial Sciences Journal. In Chinese at
http://paper.people.com.cn/rmlt/html/2013-12/31/content_1370945.htm.
Mao, Y. (2011) “Method for Calculating Deaths in the Great Famine.” ChinaReview (26 May). Available at www.china-review.com/sbao.asp?id=4333&aid=27900 (in Chinese).
Thaxton, R. (2008) Catastrophe and Contention in RuralChina.Cambridge:CambridgeUniversityPress.
Yang, J. (2012)Tombstone: The Great Chinese Famine, 1958–1962.New York: Farrar, Straus and Giroux.


CIAO ALORRA!
CHOOSE A PIE
*
Cheese
Pepperoni
Vegan Pie
Gluten free
SAUCE
*
Extra Red Sauce
Garlic Cream
FIRST TOPPING
*
Artichoke
Anchovy
Mushroom
Red Pepper
Canadian Bacon
SIZE
we do sell just the toppings
Small
Medium
Large
Extra Large
CLICK HERE
Your pizza price is $


EpiScanpy – Epigenomics single cell analysis in python¶
EpiScanpy is a toolkit to analyse single-cell open chromatin (scATAC-seq) and single-cell DNA methylation (for example scBS-seq) data. EpiScanpy is the epigenomic extension of the very popular scRNA-seq analysis tool Scanpy (Genome Biology, 2018) [Wolf18]. For more information, read scanpy documentation.
Releases |
|
|---|---|
Build status via Conda |
|
Python vesions |
|
Operating System |
|
Document status |
|
Github status |
Report issues and access the code on GitHub.
Version 0.2.0 August 7, 2020¶
This release deal with the compatibility problems with the latest version of scanpy. Additionally, it contains new features to build quick custom count matrices (bld_mtx_fly), to convert snap into h5ad files (snap2anndata) or build gene activity matrices (geneactivity).
Version 0.1.8 November 5, 2019¶
Release new processing function & quality controls.
Version 0.1.7 November 5, 2019¶
Release for SCOG epiScanpy Hackathon in Saarbrucken.
This version is not fully compatible with previous version.


You can learn hijaiyah anywhere you want by listening to the audio
can be used by children and adults who want to learn hijaiyah letters
for the future this application will provide mentors to learn directly with the mentor, so that there are difficulties in learning can be asked directly
We are a team of college students working on this project like it's our full time job. Any amount would help support and continue development on this project and is greatly appreciated.


MAGIC
Section: File Formats (5)Index Return to Main Contents
BSD mandoc
NAME
magic - file command's magic pattern fileDESCRIPTION
This manual page documents the format of the magic file as used by the file(1) command, version 5.04. The file(1) command identifies the type of a file using, among other tests, a test for whether the file contains certain ``magic patterns'' The file /usr/share/misc/magic specifies what patterns are to be tested for, what message or MIME type to print if a particular pattern is found, and additional information to extract from the file.Each line of the file specifies a test to be performed. A test compares the data starting at a particular offset in the file with a byte value, a string or a numeric value. If the test succeeds, a message is printed. The line consists of the following fields:
- offset
- A number specifying the offset, in bytes, into the file of the data which is to be tested.
- type
-
The type of the data to be tested.
The possible values are:
- byte
- A one-byte value.
- short
- A two-byte value in this machine's native byte order.
- long
- A four-byte value in this machine's native byte order.
- quad
- An eight-byte value in this machine's native byte order.
- float
- A 32-bit single precision IEEE floating point number in this machine's native byte order.
- double
- A 64-bit double precision IEEE floating point number in this machine's native byte order.
- string
- A string of bytes. The string type specification can be optionally followed by /[Bbc]*. The ``B'' flag compacts whitespace in the target, which must contain at least one whitespace character. If the magic has n consecutive blanks, the target needs at least n consecutive blanks to match. The ``b'' flag treats every blank in the target as an optional blank. Finally the ``c'' flag, specifies case insensitive matching: lowercase characters in the magic match both lower and upper case characters in the target, whereas upper case characters in the magic only match uppercase characters in the target.
- pstring
- A Pascal-style string where the first byte is interpreted as the unsigned length. The string is not NUL terminated.
- date
- A four-byte value interpreted as a UNIX date.
- qdate
- A eight-byte value interpreted as a UNIX date.
- ldate
- A four-byte value interpreted as a UNIX-style date, but interpreted as local time rather than UTC.
- qldate
- An eight-byte value interpreted as a UNIX-style date, but interpreted as local time rather than UTC.
- beid3
- A 32-bit ID3 length in big-endian byte order.
- beshort
- A two-byte value in big-endian byte order.
- belong
- A four-byte value in big-endian byte order.
- bequad
- An eight-byte value in big-endian byte order.
- befloat
- A 32-bit single precision IEEE floating point number in big-endian byte order.
- bedouble
- A 64-bit double precision IEEE floating point number in big-endian byte order.
- bedate
- A four-byte value in big-endian byte order, interpreted as a Unix date.
- beqdate
- An eight-byte value in big-endian byte order, interpreted as a Unix date.
- beldate
- A four-byte value in big-endian byte order, interpreted as a UNIX-style date, but interpreted as local time rather than UTC.
- beqldate
- An eight-byte value in big-endian byte order, interpreted as a UNIX-style date, but interpreted as local time rather than UTC.
- bestring16
- A two-byte unicode (UCS16) string in big-endian byte order.
- leid3
- A 32-bit ID3 length in little-endian byte order.
- leshort
- A two-byte value in little-endian byte order.
- lelong
- A four-byte value in little-endian byte order.
- lequad
- An eight-byte value in little-endian byte order.
- lefloat
- A 32-bit single precision IEEE floating point number in little-endian byte order.
- ledouble
- A 64-bit double precision IEEE floating point number in little-endian byte order.
- ledate
- A four-byte value in little-endian byte order, interpreted as a UNIX date.
- leqdate
- An eight-byte value in little-endian byte order, interpreted as a UNIX date.
- leldate
- A four-byte value in little-endian byte order, interpreted as a UNIX-style date, but interpreted as local time rather than UTC.
- leqldate
- An eight-byte value in little-endian byte order, interpreted as a UNIX-style date, but interpreted as local time rather than UTC.
- lestring16
- A two-byte unicode (UCS16) string in little-endian byte order.
- melong
- A four-byte value in middle-endian (PDP-11) byte order.
- medate
- A four-byte value in middle-endian (PDP-11) byte order, interpreted as a UNIX date.
- meldate
- A four-byte value in middle-endian (PDP-11) byte order, interpreted as a UNIX-style date, but interpreted as local time rather than UTC.
- indirect
- Starting at the given offset, consult the magic database again.
- regex
- A regular expression match in extended POSIX regular expression syntax (like egrep). Regular expressions can take exponential time to process, and their performance is hard to predict, so their use is discouraged. When used in production environments, their performance should be carefully checked. The type specification can be optionally followed by /[c][s] The ``c'' flag makes the match case insensitive, while the ``s'' flag update the offset to the start offset of the match, rather than the end. The regular expression is tested against line N + 1 onwards, where N is the given offset. Line endings are assumed to be in the machine's native format. ^ and $ match the beginning and end of individual lines, respectively, not beginning and end of file.
- search
- A literal string search starting at the given offset. The same modifier flags can be used as for string patterns. The modifier flags (if any) must be followed by /number the range, that is, the number of positions at which the match will be attempted, starting from the start offset. This is suitable for searching larger binary expressions with variable offsets, using \ escapes for special characters. The offset works as for regex.
- default
- This is intended to be used with the test x (which is always true) and a message that is to be used if there are no other matches.
Each top-level magic pattern (see below for an explanation of levels) is classified as text or binary according to the types used. Types ``regex'' and ``search'' are classified as text tests, unless non-printable characters are used in the pattern. All other tests are classified as binary. A top-level pattern is considered to be a test text when all its patterns are text patterns; otherwise, it is considered to be a binary pattern. When matching a file, binary patterns are tried first; if no match is found, and the file looks like text, then its encoding is determined and the text patterns are tried.
The numeric types may optionally be followed by Am] and a numeric value, to specify that the value is to be AND'ed with the numeric value before any comparisons are done. Prepending a u to the type indicates that ordered comparisons should be unsigned.
- test
-
The value to be compared with the value from the file.
If the type is
numeric, this value
is specified in C form; if it is a string, it is specified as a C string
with the usual escapes permitted (e.g. \n for new-line).
Numeric values may be preceded by a character indicating the operation to be performed. It may be = to specify that the value from the file must equal the specified value, Lt] to specify that the value from the file must be less than the specified value, Gt] to specify that the value from the file must be greater than the specified value, Am] to specify that the value from the file must have set all of the bits that are set in the specified value, ^ to specify that the value from the file must have clear any of the bits that are set in the specified value, or ~ the value specified after is negated before tested. x to specify that any value will match. If the character is omitted, it is assumed to be = Operators Am] ^ and ~ don't work with floats and doubles. The operator ! specifies that the line matches if the test does not succeed.
Numeric values are specified in C form; e.g. 13 is decimal, 013 is octal, and 0x13 is hexadecimal.
For string values, the string from the file must match the specified string. The operators = Lt] and Gt] (but not Am] can be applied to strings. The length used for matching is that of the string argument in the magic file. This means that a line can match any non-empty string (usually used to then print the string), with Gt]\0 (because all non-empty strings are greater than the empty string).
The special test x always evaluates to true. message The message to be printed if the comparison succeeds. If the string contains a printf(3) format specification, the value from the file (with any specified masking performed) is printed using the message as the format string. If the string begins with ``\b'' the message printed is the remainder of the string with no whitespace added before it: multiple matches are normally separated by a single space.
An APPLE 4+4 character APPLE creator and type can be specified as:
!:apple CREATYPE
A MIME type is given on a separate line, which must be the next non-blank or comment line after the magic line that identifies the file type, and has the following format:
!:mime MIMETYPE
i.e. the literal string ``!:mime'' followed by the MIME type.
An optional strength can be supplied on a separate line which refers to the current magic description using the following format:
!:strength OP VALUE
The operand OP can be: + - * or / and VALUE is a constant between 0 and 255. This constant is applied using the specified operand to the currently computed default magic strength.
Some file formats contain additional information which is to be printed along with the file type or need additional tests to determine the true file type. These additional tests are introduced by one or more Gt] characters preceding the offset. The number of Gt] on the line indicates the level of the test; a line with no Gt] at the beginning is considered to be at level 0. Tests are arranged in a tree-like hierarchy: If a the test on a line at level n succeeds, all following tests at level n+1 are performed, and the messages printed if the tests succeed, until a line with level n (or less) appears. For more complex files, one can use empty messages to get just the "if/then" effect, in the following way:
0 string MZ Gt]0x18 leshort Lt]0x40 MS-DOS executable Gt]0x18 leshort Gt]0x3f extended PC executable (e.g., MS Windows)
Offsets do not need to be constant, but can also be read from the file being examined. If the first character following the last Gt] is a ( then the string after the parenthesis is interpreted as an indirect offset. That means that the number after the parenthesis is used as an offset in the file. The value at that offset is read, and is used again as an offset in the file. Indirect offsets are of the form: (( x [.[bislBISL]][+-][ y ]) The value of x is used as an offset in the file. A byte, id3 length, short or long is read at that offset depending on the [bislBISLm] type specifier. The capitalized types interpret the number as a big endian value, whereas the small letter versions interpret the number as a little endian value; the m type interprets the number as a middle endian (PDP-11) value. To that number the value of y is added and the result is used as an offset in the file. The default type if one is not specified is long.
That way variable length structures can be examined:
# MS Windows executables are also valid MS-DOS executables 0 string MZ Gt]0x18 leshort Lt]0x40 MZ executable (MS-DOS) # skip the whole block below if it is not an extended executable Gt]0x18 leshort Gt]0x3f Gt]Gt](0x3c.l) string PE\0\0 PE executable (MS-Windows) Gt]Gt](0x3c.l) string LX\0\0 LX executable (OS/2)
This strategy of examining has a drawback: You must make sure that you eventually print something, or users may get empty output (like, when there is neither PE\0\0 nor LE\0\0 in the above example)
If this indirect offset cannot be used directly, simple calculations are possible: appending [+-*/%Am]|^]number inside parentheses allows one to modify the value read from the file before it is used as an offset:
# MS Windows executables are also valid MS-DOS executables 0 string MZ # sometimes, the value at 0x18 is less that 0x40 but there's still an # extended executable, simply appended to the file Gt]0x18 leshort Lt]0x40 Gt]Gt](4.s*512) leshort 0x014c COFF executable (MS-DOS, DJGPP) Gt]Gt](4.s*512) leshort !0x014c MZ executable (MS-DOS)
Sometimes you do not know the exact offset as this depends on the length or position (when indirection was used before) of preceding fields. You can specify an offset relative to the end of the last up-level field using `Am]' as a prefix to the offset:
0 string MZ Gt]0x18 leshort Gt]0x3f Gt]Gt](0x3c.l) string PE\0\0 PE executable (MS-Windows) # immediately following the PE signature is the CPU type Gt]Gt]Gt]Am]0 leshort 0x14c for Intel 80386 Gt]Gt]Gt]Am]0 leshort 0x184 for DEC Alpha
Indirect and relative offsets can be combined:
0 string MZ Gt]0x18 leshort Lt]0x40 Gt]Gt](4.s*512) leshort !0x014c MZ executable (MS-DOS) # if it's not COFF, go back 512 bytes and add the offset taken # from byte 2/3, which is yet another way of finding the start # of the extended executable Gt]Gt]Gt]Am](2.s-514) string LE LE executable (MS Windows VxD driver)
Or the other way around:
0 string MZ Gt]0x18 leshort Gt]0x3f Gt]Gt](0x3c.l) string LE\0\0 LE executable (MS-Windows) # at offset 0x80 (-4, since relative offsets start at the end # of the up-level match) inside the LE header, we find the absolute # offset to the code area, where we look for a specific signature Gt]Gt]Gt](Am]0x7c.l+0x26) string UPX \b, UPX compressed
Or even both!
0 string MZ Gt]0x18 leshort Gt]0x3f Gt]Gt](0x3c.l) string LE\0\0 LE executable (MS-Windows) # at offset 0x58 inside the LE header, we find the relative offset # to a data area where we look for a specific signature Gt]Gt]Gt]Am](Am]0x54.l-3) string UNACE \b, ACE self-extracting archive
Finally, if you have to deal with offset/length pairs in your file, even the second value in a parenthesized expression can be taken from the file itself, using another set of parentheses. Note that this additional indirect offset is always relative to the start of the main indirect offset.
0 string MZ Gt]0x18 leshort Gt]0x3f Gt]Gt](0x3c.l) string PE\0\0 PE executable (MS-Windows) # search for the PE section called ".idata"... Gt]Gt]Gt]Am]0xf4 search/0x140 .idata # ...and go to the end of it, calculated from start+length; # these are located 14 and 10 bytes after the section name Gt]Gt]Gt]Gt](Am]0xe.l+(-4)) string PK\3\4 \b, ZIP self-extracting archive
SEE ALSO
file(1) - the command that reads this file.BUGS
The formats long belong lelong melong short beshort leshort date bedate medate ledate beldate leldate and meldate are system-dependent; perhaps they should be specified as a number of bytes (2B, 4B, etc), since the files being recognized typically come from a system on which the lengths are invariant.
Index
This document was created by man2html, using the manual pages.
Time: 05:34:00 GMT, December 24, 2015


When writing the model of a multiple-substance medium, a fundamental issue concerns how to consider the mass fractions of the fluid. If there are nS substances, there are also nS mass fractions; however, one of them is redundant, as sum(X) = 1. Therefore there are basically two options, concerning the number of independent mass fractions nXi:
The medium implementer can declare the value reducedX as final. In this way only one implementation must be given. For instance, Modelica.Media.IdealGases models declare final reducedX = false, so that the implementation can always assume nXi = nX. The same is true for Air.MoistAir, which declares final reducedX = true, and always assumes nXi = nX - 1 = 1.
It is also possible to leave reducedX modifiable. In this case, the BaseProperties model and all additional functions should check for the actual value of reducedX, and provide the corresponding implementation.
If fixedX is left modifiable, then the implementation should also handle the case fixedX = true properly.
Fluid connectors should always use composition vectors of size Xi, such as in the Modelica_Fluid library:
connector FluidPort replaceable package Medium = Modelica.Media.Interfaces.PartialMedium; Medium.AbsolutePressure p; flow Medium.MassFlowRate m_flow; Medium.SpecificEnthalpy h; flow Medium.EnthalpyFlowRate H_flow; Medium.MassFraction Xi [Medium.nXi]; flow Medium.MassFlowRate mX_flow[Medium.nXi]; end FluidPort;
For further details, refer to the implementation of MixtureGasNasa model and MoistAir model.


|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV LETTER NEXT LETTER | FRAMES NO FRAMES |
Label
object is a component for placing text in a
container.UnionMember
object.
Label
class.LabelView
is a styled chunk of text
that represents a view mapped over an element in the
text model.LanguageCallback
to the handle
method of a CallbackHandler
to retrieve the Locale
used for localizing text.LanguageCallback
.
largeModel
.
ResultSet
object.
ComponentOrienation
.
ComponentOrienation
.
UndoableEdit
in
edits
, or null
if edits
is empty.
elem
.
elem
, starting from the
specified index, and returns an index to it.
viewPosition
that we've painted, so we know how
much of the backing store image is valid.
getTreeCellEditorComponent
.
doLayout()
.
doLayout()
.
doLayout()
.
GlyphVector
object, performing full
layout of the text if possible.
Container
s.CertStore
algorithm.LDAPCertStoreParameters
with the
specified parameter values.
LDAPCertStoreParameters
with the
specified server name and a default port of 389.
LDAPCertStoreParameters
with the
default parameter values (server name "localhost", port 389).
Query.leq(javax.management.ValueExp, javax.management.ValueExp)
query.
leadSelectionPath
.
TextHitInfo
on the leading edge of the
character at the specified charIndex
.
Component
to the left of the other
Component
.
getAlignmentX
.
JOIN
providing a left outer join between two
tables.
BLOB
value
designated by this Blob
object.
CLOB
value
designated by this Clob
object.
BitSet
: the index of
the highest set bit in the BitSet
plus one.
-1
if it is unknown.
-1L
to indicate that the stream has unknown
length.
SerialBlob
object's array of bytes.
SerialClob
object's array of characters.
DynFixed
object.
DynFixed
object to the given argument.
TypeCode
object.
Line
interface represents a mono or multi-channel
audio feed.Line.Info
object contains information about a line.Line2D
represents a line segment in (x, y)
coordinate space.Line2D
from the
specified coordinates.
Line2D
from the
specified Point2D
objects.
Line2D
from the
specified Point2D
objects.
ComponentOrientation
property.
ComponentOrienation
.
ComponentOrienation
.
LineBreakMeasurer
class allows styled text to be
broken into lines (or segments) that fit within a particular visual
advance.LineBreakMeasurer
for the specified text.
LineBreakMeasurer
for the specified text.
LineEvent
class encapsulates information that a line
sends its listeners whenever the line opens, closes, starts, or stops.LineListener
interface can register to
receive events when a line's status changes.LineMetrics
class allows access to the
metrics needed to layout characters along a line
and to layout of a set of lines.LineUnavailableException
is an exception indicating that a
line cannot be opened because it is unavailable.LineUnavailableException
that has
null
as its error detail message.
LineUnavailableException
that has
the specified detail message.
LinkageError
indicate that a class has
some dependency on another class; however, the latter class has
incompatibly changed after the compilation of the former class.LinkageError
with no detail message.
LinkageError
with the specified detail
message.
Integer.MAX_VALUE
.
Integer.MAX_VALUE
, initially containing the elements of the
given collection,
added in traversal order of the collection's iterator.
System.out
.
List
component presents the user with a
scrolling list of text items.List
class.count
argument.
ListResourceBundle
is an abstract subclass of
ResourceBundle
that manages resources for a locale
in a convenient and easy to use list.firstIndex
and lastIndex
inclusive
(firstIndex is less than or equal to
lastIndex
).
LoadStoreParameter
.
SynthStyle
s that will be used by
this SynthLookAndFeel
.
Synthesizer
all instruments contained
in the specified Soundbank
.
childValue
.
loadClass(String,String)
method
RMIClassLoader.loadClass(URL,String)
,
RMIClassLoader.loadClass(String,String)
, and
RMIClassLoader.loadClass(String,String,ClassLoader)
.
ClassLoaderRepository
if
the class is not found in this MLet's URLs.
Util.loadClass(java.lang.String, java.lang.String, java.lang.ClassLoader)
.
Soundbank
.
keys
into retMap
.
libname
argument.
Proxy
)
that implements a set of interfaces with the given names
from a codebase URL path.
RMIClassLoader.loadProxyClass(String,String[],ClassLoader)
.
Locale
object represents a specific geographical, political,
or cultural region.Locale
to be used for localization, or
null
if none has been set.
Locale
to be used to localize compression type
names and quality descriptions, or null
to use a
default Locale
.
Locale
to be used for localization, or
null
if none has been set.
LocalObject
instance.
getComponentAt(int, int)
.
LocateRegistry
is used to obtain a reference to a bootstrap
remote object registry on a particular host (including the local host), or
to create a remote object registry that accepts calls on a specific port.getLocation()
.
(x, y)
.
JList
coordinates to the closest index
of the cell at that location.
JList
coordinates to the closest index
of the cell at that location.
JList
coordinates to the closest index
of the cell at that location.
locationToIndex
method on each UI handled by this object.
Locator
.Locator2
interface.interrupted
.
interrupted
.
interrupted
.
interrupted
.
double
value.
double
value.
double
value.
double
value.
ObjectName
for LoggingMXBean
.
Subject
(phase 1).
LoginContext
class describes the basic methods used
to authenticate Subjects and provides a way to develop an
application independent of the underlying authentication technology.LoginContext
object with a name.
LoginContext
object with a name
and a Subject
object.
LoginContext
object with a name
and a CallbackHandler
object.
LoginContext
object with a name,
a Subject
to be authenticated, and a
CallbackHandler
object.
LoginContext
object with a name,
a Subject
to be authenticated,
a CallbackHandler
object, and a login
Configuration
.
LoginModule
describes the interface
implemented by authentication technology providers.Subject
.
Subject
.
Long
class wraps a value of the primitive type
long
in an object.Long
object that
represents the specified long
argument.
Long
object that
represents the long
value indicated by the
String
parameter.
getDisplayName()
indicating
a long name, such as "Pacific Standard Time."
SimpleType
instance describing values whose
Java class name is java.lang.Long
.
String
description for the action, could be used for context-sensitive help.
double
value corresponding to a given
bit representation.
LongHolder
object with its
value
field initialized to 0
.
LongHolder
object with its
value
field initialized to the given
long
.
Byte
as a
long
.
Double
as a
long
(by casting to type long
).
Float
as a long
(by casting to type long
).
Integer
as a
long
.
Long
as a
long
value.
long
.
Short
as a
long
.
long
.
LONGVARBINARY
.
LONGVARCHAR
.
name
.
name
in this registry.
LookupOp
object given the lookup
table and a RenderingHints
object, which might
be null
.
int
array of components for
one pixel.
DocFlavor
.
flavor
.
LSException
if the
processing is stopped.LSParserFilter
s provide applications the ability to examine
nodes as they are being constructed while parsing.LSResourceResolver
provides a way for applications to
redirect references to external resources.LSSerializer
provides an API for serializing (writing) a
DOM document out into XML.LSSerializerFilter
s provide applications the ability to
examine nodes as they are being serialized and decide what nodes should
be serialized or not.Query.lt(javax.management.ValueExp, javax.management.ValueExp)
query.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV LETTER NEXT LETTER | FRAMES NO FRAMES |
Copyright © 2004, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.


Appointments
| Appointment ID | Doctor Name | Appointment Date | Appointment Time | Appointment Day | Action |
|---|---|---|---|---|---|
| {{appointment.appointment_id.id}} | {{appointment.appointment_id.create_by.user.first_name}} {{appointment.appointment_id.create_by.user.last_name}} | {{appointment.appointment_id.appointment_date|date:"M d, Y"}} | {{appointment.appointment_id.appointment_start_time}}-{{appointment.appointment_id.appointment_end_time}} | {{appointment.appointment_id.appointment_day}} |


{% extends "club/base.html" %} {% load staticfiles %} {% block title %}Home{% endblock %} {% block body_block %}
Check rankings, upload/replay/analyze games, and more.
Learn about the club »
ouchess.blogspot.com


Home
Market Overview
All Trades
Home
Market Overview
My Trades
logout
Signed in as
{{nav.user}}
There was a problem logging in. Please try again.
Username:
Password:
Login
Sign Up


{{ candidate.description }}
We'are unable to detected metamask 🦊 or you wallet provider💳 ,Start your metamask or check your connection 😥


Catherine Zeta-Jones pays tribute to Kirk Douglas as he turns 103
The actress and wife of Michael Douglas took to Instagram to celebrate the landmark birthday.
Catherine Zeta-Jones has paid tribute to her father-in-law Kirk Douglas on his 103rd birthday.
The actress and wife of Michael Douglas posted a picture of the two of them together on Instagram along with which she wrote: “This guy on my knee, is 103!!!!!
“Happy Birthday Pappy!!! I love you with all my heart.”
Screen icon Douglas was born on December 9 1916.
Across a career that has spanned seven decades and includes three Oscar nominations, as well as an honorary Academy Award in 1996, Douglas is best known for roles in Spartacus (1960) and 20,000 Leagues Under The Sea (1954).
He has also starred in a number of Westerns, including Along The Great Divide (1951) and Lonely Are The Brave (1962), as well as early Stanley Kubrick film Paths Of Glory in 1957.
The most recent film he appeared in was 2004’s Illusion, about an ailing movie director, and in 2008 he featured in TV movie Empire State Building Murders.
Douglas has been married to Anne Buydens, his second wife, for 65 years and has seven grandchildren – Cameron Douglas from Michael’s marriage to Diandra Luker, Carys Zeta Douglas and Dylan Michael Douglas from Michael’s marriage to Zeta-Jones, and Tyler, Kelsey, Ryan and Jason Douglas by his son Peter.


Produce a survival plot of a Kaplan-Meier estimator using ggplot2.
survPlot_gg(s, CI = "def", pltcens = TRUE, survcl = "gg.def",
censcl = "red", lty = 1, ltci = 2, shape = 3, bw = FALSE,
xlab = "Time", ylab = "Survival", main = "")
Arguments
- s
- Survival model object, generated by methods like Kaplan-Meier.
- CI
- Type of confidence interval for the survival object.
- pltcens
- Should the plot include the censored values?
- survcl
- Color for observations with outcomes of "survived".
- censcl
- Color for observations with outcomes of "censored".
- lty
- The number of survival curves to be generated from the model.
- ltci
- The number of lines to be generated for confidence intervals.
- shape
- The shapes of points plotted, passed to
geom_point
- bw
- Boolean for desired background color in plots (black/white).
- xlab
- A label for the x-axis, defaults to "Time".
- ylab
- A label for the y-axis, defaults to "Survival".
- main
- A main label for the survival plot, no default.
Examples
library(survival)
time <- c(5,6,8,3,22)
age <- c(46,35,30,30,36)
drug <- c(0,1,1,1,0)
censor <- c(1,0,1,1,1)
survdat <- as.data.frame(cbind(time, age, drug, censor))
s <- survfit(Surv(survdat$time, survdat$censor) ~ 1, conf.type="none")
survPlot_gg(s)
#> Error in eval(expr, envir, enclos): could not find function "survPlot_gg"


 I’m excited to have the opportunity to contribute to this project – it’s new technology with exciting possibilities, building a community of diverse people (developers, content experts, lookie-loos). We discussed ways to deal with the various administrative issues they’re running into (having people administer the system without accidentally breaking it).
During the conversation, I contemplated the Game Browser application I’d created to learn about Metaweb and Freebase (now open for public read access! go take a look!). Don’t be bowled over by the irony, that you’re looking at the root of a site named “perlgoddess” and the application is written in Freebase. It’s not the sexiest implementation of an mjt application but you could use it to springboard all kinds of data browsers.
The backend data for the board games is a little weak (because most of it was added manually by me), so I have some notions to fix that:
- Use the wonderful XML API offered by boardgamegeek to populate lots of useful information in freebase. I asked for permission and they haven’t gotten back to me so I think I’ll take the middle road of making the importer and importing into the sandbox and then point that out to them so they can ask me to remove it if necessary.
-
Poke around in freebase to find places where there are board games that haven’t been tagged correctly, there seem to be lots of them. I’ll probably write a tool that accepts a ruleset and then optionally adds properties onto types. </ul> I was also tempted greatly by the notion of creating a couple of tools to make it easier to administer freebase itself, having heard about some of the challenges there:
- User history, including things like ‘number of entries created’, ‘number of entries updated’, ‘posts to discussion boards’, ‘replies to discussion boards’ and other such things. The Metaweb team would love to be able to identify and encourage subject matter experts and this would help find them.
-
Recent posts – they have a browser for recent discussion posts, but it would be cool to make one that remembers your preferences and filters by domain so you don’t have to see all of them. It’d be a fun MJT tool to create, so maybe I’ll get to that.
skud created a Metaweb perl module, and WWW::Metaweb was created by Hayden Stansby. They take a slightly different approach to the interface, and I’m excited to have the opportunity to work with each of them. I’m hoping the friendly competition helps us as a community figure out the best API possible.
All that having been said, I’m *this close* to having finished the new bloggy interface for the TPF website. I need to push through and get that done so we can finish up the infrastructure changes for that. Once I do that I can play with the shiny toys above.</p>
GEEK STUFF
freebase games metaweb perl perl foundation


|
| Local Properties | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
| Name | Type | Description |
|---|---|---|
| autoLogon | xsd:boolean |
Flag to determine whether or not the machine automatically logs on as
Administrator. See also the password property.
If the AutoLogon flag is set, password must not be
blank or the guest customization will fail.
|
| autoLogonCount | xsd:int |
If the AutoLogon flag is set, then the AutoLogonCount property specifies the
number of times the machine should automatically log on as Administrator.
Generally it should be 1, but if your setup requires a number of reboots, you
may want to increase it. This number may be determined by the list of commands
executed by the GuiRunOnce command.
|
| password* | CustomizationPassword |
The new administrator password for the machine. To specify that the password
should be set to blank (that is, no password), set the password value to NULL.
Because of encryption, "" is NOT a valid value.
If password is set to blank and autoLogon is set, the guest customization will fail.
If the XML file is generated by the VirtualCenter Customization Wizard, then the
password is encrypted. Otherwise, the client should set the plainText attribute
to true, so that the customization process does not attempt to decrypt the
string.
|
| timeZone | xsd:int |
The time zone index for the virtual machine. Numbers correspond to time zones
listed at Microsoft Time Zone Index Values.
|
| Properties inherited from DynamicData | ||
| None |
| Top of page | Local Properties | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |


Curriculum Vitae
Xizhi Li
Room A411, |
Email<EMAIL_ADDRESS>|
Research Interests
The long-term goal is human-level AI. Interested in using intermediate technologies as well as hypothetical frameworks to bridge the gap between the biological mind and man-made systems. Also interested in applied AI such as multi-agent system, semantic web and virtual environment simulation. Relevant researches include 3D computer game engine, new programming methodologies, human computer interface and networked virtual environment. |
Education
7/2005 - current |
Shenzhen Tech-Innovation International (STI) |
7/2001 - 7/2005 |
Zhejiang University (ZJU) |
1982 - 2001 |
Harbin Institute of Technology (HIT) |
Research and Engineering Experience
2/2004 - present |
Neural Parallel Language (NPL) : Proposed and implemented a neural network based programming paradigm where both the coding and compiling process are carried out in a distributed manner and environment with rich HCI enabled interface. See also [2] [3]. |
|
ParaEngine : Designed and implemented a modern 3D computer game engine -- ParaEngine. Its framework is based on a modified version of the Simulation Theory on human brain. The analogy of human cognition to simulation system has been applied to the proposed game engine to construct distributed Internet games. See also [1] [4] . |
|
Parallel World Game : Architect and chief developer. This Internet 3D Role Playing Game is built on top of the ParaEngine and Neural Parallel Language. |
7/2004 - 8/2004 |
MicroWindows Program Development and Embedded Device Simulation Platform : Independent developer. Developed the software development and debugging environment for the Wearable DVD hardware platform with emulated GUI and remote controller. Project accomplished at Shenzhen Tech-Innovation International. |
12/2003 - 2/2004 |
Microprocessor and Peripherals for Motion Control System: System designer and chief developer. This is a verilog implementation optimized for FPGA with reduced MIPS instruction set and specialized I/O controls. It is part of the One-chip Motion Control System in corporation with the International Rectifier Corp. and the High Density Servo Control System at Harbin Institute of Technology. See also [7]. |
2/2003 - 1/2004 |
Web Agent Framework: Project leader and chief developer. It aims to create visible human relationships on the network using agent technologies. See also [6]. |
|
Multi-Agent System and Its Applications : Performed general research at Artificial Intelligence Institute of Zhejiang University under the supervision of Prof. Qinming He. See also [5] |
9/2003 - 1/2004 |
Funding Interface for HDIS: Project leader, architect and chief developer in a team of twenty members. Developed a finance management system for the Home Design and Improvement System (HDIS) using secure client/server architecture. |
9/2002 - 9/2003 |
Three personal software projects at University Clubs of Microsoft Research Asia. (1) Plane Plot : A 2.5-D pipeline modeling tool. (2) Directory Robot : A software agent that builds a customizable website from users' disk files and folders. (3) Web Agent Framework : Further research was performed on this multi-agent system application. See above. |
7/2002 - 9/2002 |
Survey of the Civic Water Pipeline System in Harbin : Technical leader in the Summer Practitioner Team. Developed a water pipeline modeling tool. |
Publications
- Xizhi Li. Synthesizing Real-time Human Animation by Learning and Simulation. (to be submitted)
-
Xizhi Li. DHCI: an HCI Framework in Distributed Environment. 11th International Conference on Human-Computer Interaction (accepted for presentation)
-
Xizhi Li. Using Neural Parallel Language in Distributed Game World Composing. In the Proceedings of IEEE Distributed Framework of Multimedia Applications 2005.
-
Xizhi Li. ParaEngine: A Game Engine Framework for Distributed Internet Games. (submitted)
-
Xizhi Li. An HCI Template for Distributed Applications. International Conference on Computational Intelligence 2004.
-
Xizhi Li, Qinming He. WAF: an Interface Web Agent Framework. International Conference on Information Technology 2004.
-
Xizhi Li, Tiecai Li. ECOMIPS: An Economic MIPS CPU Design on FPGA. In the Proceedings of IEEE International Workshop on System On Chips 2004.
- Xizhi Li and Hao Lin. A Proposal of Evaluation Framework for Higher Education. 12th International Conference on Artificial Intelligence in Education, AIED, 2005.
-
Xizhi Li. How Much Is Shaded. Journal of Intermediate Physics. Vol.6. 2001. (In Chinese)
-
Xizhi Li. Four Methods to the Wheel Velocity Calculation. New City Delivery. Dec. 2000. (In Chinese)
-
Xizhi Li and Qinming He.Frame Rate Control in Distributed Game Engine. 4th International Conference on Entertainment Computing, 2005.
-
Xizhi Li. A Cross-Platform Simulation Framework for Embedded Devices. Sept. 2004 (32 pages)
-
Xizhi Li. ParaEngine Reference Book. Aug. 2004. (700 pages)
-
Xizhi Li. ECOMIPS: Design Book and User Manual of 32bits MIPS CPU IP Core. Dec. 2003 (96 pages)
Technical Skills
- Advanced programming : Proficient in Object-Oriented Methodology, Visual C++, MFC, C# and .NET; rich experience in DirectX, OpenGL and UML; extensive knowledge in Java.
- Web design tools and web server technology : ASP, ASP.NET, web service and XML.
- Software : SQL server, Microsoft Access and their programming interface; Matlab; 3dsmax.
- Hardware: Hardware Description Language (HDL), Electronic Design Automation (EDA) tools, FPGA and embedded system design.
Honors and Awards
|
From Zhejiang University : |
2001,2002,2003,2004 |
Student Scholarships. |
2004 |
Special Contribution Award in the Shakespeare Festival. |
2004 |
Second Class Prize Winner in the ChuKechen College 's English Writing Competition. |
2002 |
Two silver medals in Men's Long Jump and Triple Jump in Zhejiang University Games. |
2002 |
Outstanding Volunteer Work Honors. |
2002 |
Outstanding Student Award. |
2002 |
Special Contribution Award from the ChuKechen College . The only recipient of the year. |
|
Before college: |
1999,2000,2001 |
Student scholarships in high school. |
1999,2000 |
First Class Prize Winner in National English Contest. |
1999,2000 |
Provincial Second Class Prize Winner in National Physics Contest |
Extracurricular Activities
2004 |
Built the official website for 2004 Shakespeare Festival in Zhejiang University . |
2003 |
Gave several public presentations on Web Agent Framework in the Microsoft School Club at Zhejiang University . |
2003 |
Participated in the Zhejiang University Math Modeling Competition. |
2002, 2003 |
Participated in the ACM Competitions in Zhejiang University . |
2001 |
Hosted English Saloon in ChuKeChen College , Zhejiang University. |
2001,2002 |
Participated in Men's Long Jump and Triple Jump in Zhejiang University Games. |


What should we consider doing a empathy machine?. First at all, lets define empathy as the capability of understand or feel someonelse’s feelings. Some sort of machine with this functionality would be extraodinary desirable, since the main goal of every mean of communication is to send and receive messages through emiters and receptors, what could be more effective than communicate messages connected with feelings?, a new level of effective messages. For sure, everybody will work better together if we feel in the same way about several topics. I am talking about less verbal communication, less doubt about coexistence, more effectiveness, more tolerance and why not, world peace!.
Suppose we’ve already had the empathy machine. What do we want to share with other human being? We cannot simply divide the emotions that we feel in specific moments, it is too much more complicated than that. Every life event is composed by different emotions which raise or fall down according with several internal and external factors. Anyway, if we decided to communicate emotions and feelings the normal way to do it would be communicating more than one, in that order of ideas we would be communicating states (all the feelings presented in one life event).
That said, let’s use the most popular expression to make the exchange: “You just need to put yourself in someone else’s shoes”. Every time you use my shoe you will be able to access the life events i’ve chosen (maybe i dont want to share all my lifetime with someone else).
In this quick sketch there are some life events which worth it.

Just thing how difficult is to explain those life events to someone else, but how valuable would be if you do it correctly.
So what about if i wanna record some memorable moments, but we are not talking about photos, audio, videos of any of that. Let’s record how you felt. You put the shoe and it connects to you somehow in an Sfi mode (many things started that way). You choose your memory hole/slot and to start recording you kick the other foot slightly. You will stop recording in the same way.
 On the other hand, the receptor is able to put the show and control the playback of the feelings.  It is up to him/her. Anyway, some experiences could be insufferable for some people and that’s why you can loose the tie in case of pain threshold.


[1]
Simple, display is great in daytime, accurate; Acquiring satellites takes longer than I had hoped
[2]
Price, accuracy & portability; Needs a better owners manual


Strictly Come Dancing 2019: Week 8 recap including Karim Zeroual’s tears and Emma Barton’s heartbreaking story
by https://www.facebook.com/thesunshowbiz/IT was an emotional night for Strictly Come Dancing fans last night.
Emma Barton had fans in tears as she opened up about losing her grandmother at the start of the year, while Karim Zeroual broke down after making a mistake during his routine. Honestly, not a dry eye in the room.
- Nicola Agius12 hours agoNovember 9, 2019AGAINST ALL ODDS It looks like Mike Bushell will be heading home tomorrow. According to the bookies, he's least favourite to win the show, meaning he's tipped for the next elimination. Mind you, stranger things have happened…
- Rebecca Calderwood12 hours agoNovember 9, 2019'SMALL MISTAKE' Fans aren't happy with the judges after they “under marked” Karim for making a “small mistake.” The star, who was awarded 30 points, wiped away tears as he told host Claudia Winkleman: “I don't care about how long I am here but I do care about making mistakes, for Amy's sake.”
- Rebecca Calderwood12 hours agoNovember 9, 2019GLITZ AND GLAMOUR Tess has clearly taken inspiration from the glitter ball trophy with her outfit tonight.
- Rebecca Calderwood13 hours agoNovember 9, 2019WILL'S STILL WATCHING It's good to see Will Bayley supporting his former co-stars. The table tennis champ was forced to drop out of the competition last week following a leg injury. He wrote on Twitter: “Really missing everything about @bbcstrictly tonight. Hope everyone has a brilliant show! Smash it!”
- Rebecca Calderwood13 hours agoNovember 9, 2019'CRACKING PERFORMANCE' Lorraine Kelly took to Twitter to congratulate pal Michelle.
Load more entries…


This is selectible (and editable) text via the grabSelected function I put on the window
This selectible text only works with my 'grabSelection' function if not used in firefox


This post is the first of a three-part series about the underlying infrastructure for Creative Commons (CC) Catalog and the efforts to increase the volume and variety of creative works.
The purpose of CC Catalog is to facilitate the discovery of openly licensed content, that proliferates the web. However, this is a challenging task and it requires a combination of techniques. The initial efforts to catalog the Commons began in 2016. The goal was to identify approximately 1% of the estimated 1.4 billion works by harnessing open repositories and open APIs to build a front door to the Commons. Since then, there has been an emphasis on including more content and discovering new platforms. While CC Catalog still leverages open data to achieve the above, we needed to develop the appropriate infrastructure to also routinely update the existing data.
The development of this infrastructure began in 2018 with the first Common Crawl data pipeline. Apache Spark was used to streamline the processing of petabytes of web crawl data to identify all domains that link to a Creative Commons license. The first test of this strategy was successful and it was instrumental in increasing the number of images and added 13 new platforms for the updates to CC Search beta. It also provided incremental updates to the catalog on a monthly basis. Even though Common Crawl corpus is an invaluable source, it requires us to develop a custom parser for each platform that we integrate. This has its merits, but presents a few challenges.
After this, open APIs were explored and its purpose was not to replace the Common Crawl methodology but to augment it and hopefully increase the volume of data. This approach began with two platforms: 1) Flickr, since it has millions of CC license content and 2) Thingiverse. At the end of 2018, the exploratory efforts paid off and the catalog grew from 10 million images to over 260 million and the Flickr API was instrumental in achieving this. In early 2019, three new API providers were included: 1) Met Museum, 2) Cleveland Museum, and 3) Brooklyn Museum. This led to the development of our API ETL data pipeline that is managed by Apache Airflow.
Currently, we have over 305 million images from 25 providers, and we are still working to improve the data infrastructure and solidify our efforts for building a vibrant, usable Commons.
The above data is made available to CC Search via CC Catalog API. However, all providers in the catalog are not immediately available in CC Search. Various preprocessing efforts are performed in the back-end by the CC Catalog API to determine which content is deemed ready for publishing. Also, platforms are subject to additional reviews and may be suppressed until that process has completed. Currently, CC Search has 19 of the above providers comprising over 300 million images.
The goal for 2019 is to increase the catalog to:
- 325 million images
- 30 providers
- add new content types
The next post will discuss the details of the Common Crawl data pipeline and how instrumental this corpus is for identifying potential providers and understanding how people are using the various CC license.


Welcome to BusMall. Please select an image then after 25 clicks, please scroll below to see your results of the products you like.
Welcome to BusMall. Please select an image then after 25 clicks, please scroll below to see your results of the products you like.


Cybellin:
The purity of the crystal is still at level 1! Have you decided not to carry out my request?
"How can I raise the purity of the crystal?"
Continue
Quit


{% extends "template.html" %} {% block title %}Balances{% end %} {% block content %}
Chancecoin needs to be updated. Please go to Chancecoin.com and update.
{% elif bitcoin_updated==False %}Bitcoind is not finished synchronizing. Bitcoind has finished processing {{ block_count_bitcoin }} Bitcoin blocks.
{% elif db_updated==False %}Chancecoin is not finished synchronizing. Chancecoin has finished processing {{ block_count_db }} out of {{ block_count_bitcoin }} Bitcoin blocks.
{% else %}Chancecoin is up to speed. Chancecoin has finished processing {{ block_count_db }} out of {{ block_count_bitcoin }} Bitcoin blocks.
{% end %} {% if info!=None %}{% raw info %}
{% end %} {% if error!=None %}{% raw error %}
{% end %}| Address | BTC burned | CHA balance | Market share |
|---|---|---|---|
| {{ balance[0] }} | {{ balance[2] }} | {{ balance[1] }} | {{ '{:,.2f}'.format(float(balance[3])) }}% |


Runaway Bride 1 and 1/2 Stars (Out of 4) Reviewed by Mac VerStandig<EMAIL_ADDRESS>http://www.moviereviews.org July 20, 1999 USA Release Date - July 30, 1999
Runaway Bride has the same characters, lead cast, director, and genre as the 1990 hit, Pretty Woman. Yet it simply isn't as good as its antecedent, because the plot can only work one time before becoming over used, or perhaps because the R rated sexual humor from Runaway Bride's nine year predecessor is largely absent this time in favor of a family friendly PG rating.
Julia Roberts plays Maggie Carpenter, a woman who has three times used her walk down the aisle as a warm up to the sprint that soon followed as she escaped the wedding vows. A very flirtatious and beautiful woman, she seems to have no qualms about going from man to man. Her father even quips "She may not be the longest running joke in town, but she sure is the fastest." Roberts' portrayal of Vivian Ward in Pretty Woman was very similar if not identical.
In Pretty Woman, Vivian began to reform when a very conservative man, Edward Lewis (Richard Gere) entered her life. Nearly a decade later, Gere does it again when he enters Maggie's life as a New York City newspaper reporter, Ike Graham. Continuing with the long list of similarities, Runaway Bride includes a scene where Gere has to negotiate to buy Roberts' time and attention, and another where he takes her dress shopping- perhaps the two most memorable and acclaim scenes from Pretty Woman.
Runaway Bride is a visually astounding film. The panoply of scenery is never better highlighted than the opening sequence where images of a horse trotting through a field in the marvelous country side are quickly cut to images of New York City. The many scenes out of city are beautifully framed with lovely background and pastel colors. The city scenes are more edgy and harsh visually, providing a nice juxtaposition of the opposite lifestyles that collide.
The only sexual jokes you'll find in Runaway Bride come from Maggie's grandmother, and are watered down references to "the one eyed monster" and its duties on the wedding night. The biggest laughs come from hair dye and a cheesy FedEx joke about on-time delivery. You can't help but miss the numerous references to condoms, drugs, and prostitution that the jokes in Pretty Woman provided, creating far bigger laughs than anything you'll find here.
Runaway Bride holds itself to a higher standard by choosing to display numerous similarities to Pretty Woman, and never being the slightest bit shy about it. Because of that, it ends up committing a suicide of sorts; having attempted to shoot for the stars and not being willing to settle for the sky instead. At one point in the film, Ike explains his profession by saying "We push, we stretch, we go out on a limb." Runaway Bride does just that, it pushes, it stretches, and it goes out on a limb. But I think the limb just snapped.
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


| nuxeo-directory-suggestion |
|
[[oneDirectorySuggestion]] |
| nuxeo-directory-suggestion (multiple) |
|
[[multipleDirectorySuggestion]] |
| nuxeo-user-suggestion |
|
[[userSuggestion]] |
| nuxeo-user-suggestion (multiple) |
|
[[multipleUserSuggestion]] |
| nuxeo-document-suggestion |
|
[[documentSuggestion]] |
| nuxeo-document-suggestion (multiple) |
|
[[multipleDocumentSuggestion]] |
| nuxeo-date-picker |
|
[[dateValue]] |
| nuxeo-select |
|
[[optionSelected]] |
| nuxeo-file |
|
[[upload.upload-batch]] |
| nuxeo-tag |
Home |
|
| nuxeo-tags |
|
|
| nuxeo-user-tag |
|
|
| nuxeo-group-tag |
|
|
| nuxeo-operation-button |
|
[[operationResponse.uid]] |


Woman rescues koala from bushfire in New South Wales – video
by ReutersA woman rescued a badly burnt and wailing koala from an Australian bushfire. The marsupial was spotted crossing a road among the flames near Long Flat in New South Wales. The local woman, who told Australia's Nine News her name was Toni, rushed to the koala's aid, wrapping the animal in her shirt and a blanket and pouring water over it. She took the injured animal to the nearby Port Macquarie koala hospital. The country's koala populations have been a major victim of the bushfires, with more than 350 of the animals feared killed


"x" "1" "TORNERO-VELEZ,R ROSS,MK GRANVILLE,C LASKEY,J JONES,JP DEMARINI,DM ANDEVANS,MV, METABOLISM AND MUTAGENICITY OF SOURCE WATER CONTAMINANTS1,3-DICHLOROPROPANE AND 2,2-DICHLOROPROPANE, DRUG METABOL. DISPOS __ . 32(1):123-131, 2004"


Learn what makes a website.
In this course, we will be using a variety of toools that will help us as we progress in our coding knowledge. Some of these are tools you will be familiar with, and some might be new to you. This section is to give you a little bit of information about some of the main tools we will be using and what they do.
Slack is a messaging tool that will allow you to ask and answer questions along the way. Instructors will be in Slack along with your fellow class mates from all three sections of this course. It will be a great resource for you to ask for help from your peers if you get stuck.
You will receive access to Slack before the class begins via an email invite. If you have not yet received your Slack invite before reading this, please email<EMAIL_ADDRESS>for help.
Slack is pretty intuitive, but if you feel like you want some additional info before jumping in, check out this article on how to use Slack.
If you are using another browser, now is the time to learn the power of Chrome!
Chrome is the best browser for developers because it comes with a bunch of cool developer tools that will help us build better web applications. Don’t worry about learning about those right now. We will dive deeper later.
GitHub is a great tool for saving your code online, keeping track of versions, and collaborating with others. Don’t worry too much about GitHub just yet. We’ll get more into it later.


Restore {{currentNode.name}} to under {{target.name}}?
{{error.data.Message}}
{{currentNode.name}} was moved underneath {{target.name}}


Matthias Heisterkamp
Breaking things and fixing them professionally ...
About me
let mhstrkmp = {
firstname: "Matthias",
lastname: "Heisterkamp",
hasChildren: true,
profession: "craftsman",
feelings: "🤷♂",
fuel: "☕ coffee",
interests: ["👨💻 web development", "🧗♂ bouldering", "🏄♂ surfing", "⛵ sailing", "🐝 beekeeping"]
};
function newProfession(profession) {
let result;
if (profession === "Web Developer") {
mhstrkmp.profession = profession;
mhstrkmp.feelings = "🚀";
result = "Ceep calm and do epic shit!";
} else {
result = "🤖 Does not compute ...";
}
return result;
}
newProfession("Web Developer");
I usually don't like to be treated as an object ...
Please reach out for further information or just to say hello.


Located on the Narva River which marks Estonia's border with Russia.
Position 59°23.01' N, 28°12.38' E.
Due to its position, it is assumed that Clearance can be carried out here.
Narva town yacht harbour is situated 14 km up river from the entrance. There are no official charts for Narva River, but it is safe if you keep to the middle and to the outside of the bends. The depth varies between 3.4 and 8.7 m. The frontier between Estonia and Russia is along the river, so it is wise to avoid approaching too closely to the eastern shore.
There is good, all-round shelter here.
Last updated December 2015.


Akan naming system originated from Ghana.Frequently in Ghana children are given their first names
as a"day name"
which corresponds to the day in the week they were born.
This app will help help you get the
akan name once you fill in
your date of birth,month and year.


string
string
Assignable angular expression to data-bind to.
string
string
Property name of the form under which the control is published.
expression
expression
The value to which the expression should be set when selected.
expression
expression
The value to which the expression should be set when not selected.
string
string
Angular expression to be executed when input changes due to user interaction with the input element.
boolean
boolean
Use of attribute indicates use of ripple ink effects.
string
string
Publish the button label used by screen-readers for accessibility. Defaults to the switch's text.


The Bootstrap 3 grid is fluid only. This example shows how to use a custom container to create a fixed width layout.
More Example
Responsive grid sizes to control the grid layout on tiny, small and large displays.
3 responsive grid sizes to control the grid layout on tiny, small and large displays.
New panels, list groups, glyphicons and justified navigation.
The optimized CSS is in a single file. Glyphicons are now separate.
Everything has changed, so you can't just replace the 2.x with the 3.0 files. The folks at Bootply, the Bootstrap Playground have created a migration guide to help.


# (c) 2020, Cantab Research Ltd.
"""
Data models and message types used by the library.
"""
import json
import ssl
from dataclasses import asdict, dataclass, field, fields
from enum import Enum
from typing import Any, Dict, List, Optional
from speechmatics.config import CONFIG_PATH, read_config_from_home
from speechmatics.constants import (
BATCH_SELF_SERVICE_URL,
RT_SELF_SERVICE_URL,
)
[docs]@dataclass
class FetchData:
"""Batch: Optional configuration for fetching file for transcription."""
url: str
"""URL to fetch"""
auth_headers: str = None
"""
A list of additional headers to be added to the input fetch request
when using http or https. This is intended to support authentication or
authorization, for example by supplying an OAuth2 bearer token
"""
[docs]@dataclass
class NotificationConfig:
"""Batch: Optional configuration for callback notification."""
url: str
"""URL for notification. The `id` and `status` query parameters will be added."""
contents: str = None
"""
Specifies a list of items to be attached to the notification message.
When multiple items are requested, they are included as named file
attachments.
"""
method: str = "post"
"""The HTTP(S) method to be used. Only `post` and `put` are supported."""
auth_headers: str = None
"""
A list of additional headers to be added to the notification request
when using http or https. This is intended to support authentication or
authorization, for example by supplying an OAuth2 bearer token
"""
[docs]@dataclass
class SRTOverrides:
"""Batch: Optional configuration for SRT output."""
max_line_length: int = 37
"""Maximum count of characters per subtitle line including white space"""
max_lines: int = 2
"""Sets maximum count of lines in a subtitle section"""
[docs]@dataclass
class _TranscriptionConfig: # pylint: disable=too-many-instance-attributes
"""Base model for defining transcription parameters."""
def __init__(self, language=None, **kwargs):
"""
Ignores values which are not dataclass members when initalising.
This allows **kwargs to contain fields which are not in the model,
which is useful for reusing code to build RT and batch configs.
See cli.get_transcription_config() for an example.
"""
super().__init__()
# the language attribute is a special case, as it's a positional parameter
if language is not None:
self.language = language
# pylint: disable=consider-using-set-comprehension
names = set([f.name for f in fields(self)])
for key, value in kwargs.items():
if key in names:
setattr(self, key, value)
[docs] def asdict(self) -> Dict[Any, Any]:
"""Returns model as a dict while excluding None values recursively."""
return asdict(
self, dict_factory=lambda x: {k: v for (k, v) in x if v is not None}
)
language: str = "en"
"""ISO 639-1 language code. eg. `en`"""
operating_point: str = None
"""Specifies which acoustic model to use."""
output_locale: str = None
"""RFC-5646 language code for transcript output. eg. `en-AU`"""
diarization: str = None
"""Indicates type of diarization to use, if any."""
additional_vocab: dict = None
"""Additional vocabulary that is not part of the standard language."""
punctuation_overrides: dict = None
"""Permitted puctuation marks for advanced punctuation."""
domain: str = None
"""Optionally request a language pack optimized for a specific domain,
e.g. 'finance'"""
enable_entities: bool = None
"""Indicates if inverse text normalization entity output is enabled."""
[docs]@dataclass
class RTSpeakerDiarizationConfig:
"""Real-time mode: Speaker diarization config."""
max_speakers: int = None
"""This enforces the maximum number of speakers allowed in a single audio stream."""
[docs]@dataclass
class TranslationConfig:
"""Translation config."""
target_languages: List[str] = None
"""Target languages for which translation should be produced."""
def asdict(self):
return asdict(self)
[docs]@dataclass
class RTTranslationConfig(TranslationConfig):
"""Real-time mode: Translation config."""
enable_partials: bool = False
"""Indicates if partial translation, where sentences are produced
immediately, is enabled."""
[docs]@dataclass
class BatchSpeakerDiarizationConfig:
"""Batch mode: Speaker diarization config."""
speaker_sensitivity: float = None
"""The sensitivity of the speaker detection.
This is a number between 0 and 1, where 0 means least sensitive and 1 means
most sensitive."""
[docs]@dataclass
class BatchTranslationConfig(TranslationConfig):
"""Batch mode: Translation config."""
[docs]@dataclass
class BatchLanguageIdentificationConfig:
"""Batch mode: Language identification config."""
expected_languages: List[str] = None
"""Expected languages for language identification"""
[docs]@dataclass(init=False)
class TranscriptionConfig(_TranscriptionConfig):
# pylint: disable=too-many-instance-attributes
"""
Real-time: Defines transcription parameters.
The `.as_config()` method removes translation_config and returns it wrapped into a Speechmatics json config.
"""
max_delay: float = None
"""Maximum acceptable delay."""
max_delay_mode: str = None
"""Determines whether the threshold specified in max_delay can be exceeded
if a potential entity is detected. Flexible means if a potential entity
is detected, then the max_delay can be overriden until the end of that
entity. Fixed means that max_delay specified ignores any potential
entity that would not be completed within that threshold."""
speaker_diarization_config: RTSpeakerDiarizationConfig = None
"""Configuration for speaker diarization."""
speaker_change_sensitivity: float = None
"""Sensitivity level for speaker change."""
enable_partials: bool = None
"""Indicates if partials for both transcripts and translation, where words are produced
immediately, is enabled."""
enable_transcription_partials: bool = None
"""Indicates if partial transcripts, where words are produced
immediately, is enabled."""
enable_translation_partials: bool = None
"""Indicates if partial translation, where words are produced
immediately, is enabled."""
translation_config: TranslationConfig = None
"""Optional configuration for translation."""
def as_config(self):
dictionary = self.asdict()
dictionary.pop("translation_config", None)
dictionary.pop("enable_translation_partials", None)
enable_transcription_partials = dictionary.pop(
"enable_transcription_partials", False
)
# set enable_partials to True if either one is True
if dictionary.get("enable_partials") is True or enable_transcription_partials:
dictionary["enable_partials"] = True
return dictionary
[docs]@dataclass(init=False)
class BatchTranscriptionConfig(_TranscriptionConfig):
"""Batch: Defines transcription parameters for batch requests.
The `.as_config()` method will return it wrapped into a Speechmatics json config."""
fetch_data: FetchData = None
"""Optional configuration for fetching file for transcription."""
notification_config: NotificationConfig = None
"""Optional configuration for callback notification."""
language_identification_config: BatchLanguageIdentificationConfig = None
"""Optional configuration for language identification."""
translation_config: TranslationConfig = None
"""Optional configuration for translation."""
srt_overrides: SRTOverrides = None
"""Optional configuration for SRT output."""
speaker_diarization_config: BatchSpeakerDiarizationConfig = None
"""The sensitivity of the speaker detection."""
channel_diarization_labels: List[str] = None
"""Add your own speaker or channel labels to the transcript"""
def as_config(self):
dictionary = self.asdict()
fetch_data = dictionary.pop("fetch_data", None)
notification_config = dictionary.pop("notification_config", None)
language_identification_config = dictionary.pop(
"language_identification_config", None
)
translation_config = dictionary.pop("translation_config", None)
srt_overrides = dictionary.pop("srt_overrides", None)
config = {"type": "transcription", "transcription_config": dictionary}
if fetch_data:
config["fetch_data"] = fetch_data
if notification_config:
if isinstance(notification_config, dict):
notification_config = [notification_config]
config["notification_config"] = notification_config
if language_identification_config:
config["language_identification_config"] = language_identification_config
if translation_config:
config["translation_config"] = translation_config
if srt_overrides:
config["output_config"] = {"srt_overrides": srt_overrides}
return json.dumps(config)
[docs]@dataclass
class AudioSettings:
"""Real-time: Defines audio parameters."""
encoding: str = None
"""Encoding format when raw audio is used. Allowed values are
`pcm_f32le`, `pcm_s16le` and `mulaw`."""
sample_rate: int = 44100
"""Sampling rate in hertz."""
chunk_size: int = 1024 * 4
"""Chunk size."""
def asdict(self):
if not self.encoding:
return {"type": "file"}
return {
"type": "raw",
"encoding": self.encoding,
"sample_rate": self.sample_rate,
}
[docs]class UsageMode(str, Enum):
Batch = "batch"
RealTime = "rt"
[docs]@dataclass
class ConnectionSettings:
"""Defines connection parameters."""
url: str
"""Websocket server endpoint."""
message_buffer_size: int = 512
"""Message buffer size in bytes."""
ssl_context: ssl.SSLContext = field(default_factory=ssl.create_default_context)
"""SSL context."""
semaphore_timeout_seconds: float = 120
"""Semaphore timeout in seconds."""
ping_timeout_seconds: float = 60
"""Ping-pong timeout in seconds."""
auth_token: str = None
"""auth token to authenticate a customer."""
generate_temp_token: Optional[bool] = False
"""Automatically generate a temporary token for authentication.
Non-enterprise customers must set this to True. Enterprise customers should set this to False."""
@classmethod
def create(cls, mode: UsageMode, auth_token: Optional[str] = None):
stored_config = read_config_from_home()
if stored_config and "url" in stored_config:
url = stored_config["url"]
else:
url = RT_SELF_SERVICE_URL if mode == UsageMode.RealTime else BATCH_SELF_SERVICE_URL
if auth_token is not None:
return ConnectionSettings(
url=url,
auth_token=auth_token,
generate_temp_token=True,
)
else:
if stored_config and stored_config.get("auth_token"):
url = stored_config.get("url", RT_SELF_SERVICE_URL)
return ConnectionSettings(
url,
auth_token=stored_config["auth_token"],
generate_temp_token=stored_config.get("generate_temp_token", True),
)
else:
raise ValueError(f"No acces token provided or set in {CONFIG_PATH}")
[docs]@dataclass
class RTConnectionSettings(ConnectionSettings):
url = f"{RT_SELF_SERVICE_URL}/en"
[docs]@dataclass
class BatchConnectionSettings(ConnectionSettings):
url = BATCH_SELF_SERVICE_URL
[docs]class ClientMessageType(str, Enum):
# pylint: disable=invalid-name
"""Real-time: Defines various messages sent from client to server."""
StartRecognition = "StartRecognition"
"""Initiates a recognition job based on configuration set previously."""
AddAudio = "AddAudio"
"""Adds more audio data to the recognition job. The server confirms
receipt by sending an :py:attr:`ServerMessageType.AudioAdded` message."""
EndOfStream = "EndOfStream"
"""Indicates that the client has no more audio to send."""
SetRecognitionConfig = "SetRecognitionConfig"
"""Allows the client to re-configure the recognition session."""
[docs]class ServerMessageType(str, Enum):
# pylint: disable=invalid-name
"""Real-time: Defines various message types sent from server to client."""
RecognitionStarted = "RecognitionStarted"
"""Server response to :py:attr:`ClientMessageType.StartRecognition`,
acknowledging that a recognition session has started."""
AudioAdded = "AudioAdded"
"""Server response to :py:attr:`ClientMessageType.AddAudio`, indicating
that audio has been added successfully."""
AddPartialTranscript = "AddPartialTranscript"
"""Indicates a partial transcript, which is an incomplete transcript that
is immediately produced and may change as more context becomes available.
"""
AddTranscript = "AddTranscript"
"""Indicates the final transcript of a part of the audio."""
AddPartialTranslation = "AddPartialTranslation"
"""Indicates a partial translation, which is an incomplete translation that
is immediately produced and may change as more context becomes available.
"""
AddTranslation = "AddTranslation"
"""Indicates the final translation of a part of the audio."""
EndOfTranscript = "EndOfTranscript"
"""Server response to :py:attr:`ClientMessageType.EndOfStream`,
after the server has finished sending all :py:attr:`AddTranscript`
messages."""
Info = "Info"
"""Indicates a generic info message."""
Warning = "Warning"
"""Indicates a generic warning message."""
Error = "Error"
"""Indicates n generic error message."""


Further analysis of Memorial Hall, and of the archival sources that describe the process of building it, suggests that the past may not be the central subject of the hall but only a medium. What message, then, does the building convey, and why are the fallen soldiers of such importance to the alumni who built it? Part of the answer, it seems, is that Memorial Hall is an educational tool, an attempt by the Harvard community of the 1870s to influence the future by shaping our memory of their times. The commemoration of those students and graduates who died for the Union during the Civil War is one aspect of this alumni message to the future, but it may not be the central idea.
EXPOLORE NOW


Feeds
{{list.length}}
Step1
Email address
We'll never share your email with anyone else.
Step2
Address
We'll never share your address with anyone else.
Step3
Step4
Thank you! You have completed all the steps.


--- layout: page title: About header-img: "img/about-bg.png" ---
I am a son, brother, friend, and now, Software Engineer.  I aim to inspire others to open their minds, to travel, to think beyond any limits, to take chances, and to create.
Every idea I encounter begins with one simple question: "why?" When we begin to question everything around us and everything within us, we start to understand that the complexity of our society is merely built upon the questions we ask. When we ask these questions daily, we begin to disrupt our own habits, challenge ourselves, grow, and learn like never before. Never stop questioning...

Having these experiences as well as my many travels has expanded the scope of my perspectives and has allowed me to remain humble and appreciative of the simple things in life: music, nature, love, laughing, dancing... while keeping one eye fixed on changing the future of the world we live in.
If you ever want to grab coffee or chat about business, the cosmos, life, technology, or whatever crazy topic you can think of, feel free to send me a message via LinkedIn or email me at bermnicolas@gmail.com.


Enamel Pins
High-Detail
Feugiat ultrices sed nibh. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Lorem nulla sed gravida non magna.
Click below to see a short video about us.
We have proudly designed over 500 unique pins & coins.
Lapel Pins & Coins has helped me design a wonderful pin. Their artists are incredibly talented - as I just had a rough idea of what I wanted. I'll be back soon!
~ Eleanor M.
Not sure what material or style to go with?
Use our guide below or ask one of our experts today.
Feugiat ultrices sed nibh. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Lorem nulla sed gravida non magna.
Feugiat ultrices sed nibh. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Lorem nulla sed gravida non magna.