--- layout: post status: publish published: true title: Erlang First Post author: display_name: Geoff Lane login: admin email<EMAIL_ADDRESS>url: http://www.zorched.net author_login: admin author_email<EMAIL_ADDRESS>author_url: http://www.zorched.net date: '2008-05-27 20:13:44 -0400' date_gmt: '2008-05-28 02:13:44 -0400' categories: - Erlang tags: - functional programming comments: - id: 11749 author: Grant Rettke author_email<EMAIL_ADDRESS>author_url: http://www.wisdomandwonder.com/ date: '2008-05-28 08:43:45 -0400' date_gmt: '2008-05-28 14:43:45 -0400' content: Erlang is purely functional, how do you do imperative coding, for example FFI to C? - id: 11752 author: Geoff Lane author_email<EMAIL_ADDRESS>author_url: http://www.zorched.net date: '2008-05-28 09:06:07 -0400' date_gmt: '2008-05-28 15:06:07 -0400' content: "Grant,\r\nYou're getting beyond my knowledge real fast... but I'll give it a shot. :)\r\nElang has a couple of notions. Ports and Drivers. \r\n\r\nPorts are basically external processes that you interact with very much like other Erlang processes. It has a few special methods that allow you to send bytes to them for example. This can be anything from a manually loaded library to an executable that you run from within Erlang by supplying the command.\r\n\r\nFFI (Foreign Function Interface) is handled by what they call Linked In Drivers. My novice understanding is that Erlang provides some C API that you have to use to integrate existing code. That C code then becomes a shared library that can be loaded into the Erlang runtime and executed.\r\n\r\nErlang does not have an imperative style to \"bridge\" to imperative languages to my knowledge." - id: 18332 author: Pankaj author_email<EMAIL_ADDRESS>author_url: '' date: '2013-02-08 00:03:30 -0500' date_gmt: '2013-02-08 06:03:30 -0500' content: "Hi Geoff,\r\n\r\nI'm a Software Engineer having 4 years of exp in Java.\r\nI like your posts on Erlang. I am also interested in learning Erlang. I wanted to know What is the future perspective of Erlang as far as jobs are concerned.\r\n\r\nThanks\r\nPankaj" ---
Some linguists and philosophers posit the idea that you can not have a thought for which you do not have language.
"The limits of my language mean the limits of my world." -- Ludwig Wittgenstein
I've started looking at Erlang a bit. Erlang is a functional programming language that is very unlike the imperative languages which I, and many others, are most familiar. Learning a new programming language and especially a fundamentally new programming paradigm really changes the way you think about solving problems. If the linguists are to be believed, it fundamentally allows you to have no thoughts and ideas. This is what makes it so valuable for software developers to look at new languages. I thought I would share some tidbits.
{% highlight erlang %} Eshell V5.6.2 (abort with ^G) 1> X = "foo". "foo" 2> X = "bar". ** exception error: no match of right hand side value "bar" {% endhighlight %}
At first this sounds like a huge limitation to my imperative mind. In many imperative it probably would be. In Erlang it ends up not being much of an issue. In many ways it's one of the things that forces you do more idiomatic, functional Erlang.
Thinking of side effects and how they can be reduced or removed from imperative programs can make those programs easier to understand and test.
To compute a Factorial, you can use 2 function signatures. The first *fac(0)* is called whenever the function is called with the integer value of zero. If the value is not zero, then that pattern is not matched and the next version is tried. In that case *fac(N)* where N is any value other than 0 is evaluated. {% highlight erlang %} fac(0) -> 1; fac(N) -> N * fac(N-1). {% endhighlight %}
In a slightly more complex example, you can actually pass a keyed Tuple. The key, in Erlang speak, is an atom, very similar to a Ruby symbol. Those atoms are used as part of the pattern matching to determine which function to execute. {% highlight erlang %} area({square, Side}) -> Side * Side; area({circle, Radius}) -> 3.14 * Radius * Radius. {% endhighlight %}
{% highlight erlang %} area({circle, 10}). area({triangle, 2, 2, 2.82}). %% error, no match {% endhighlight %}
Thinking about abstractions beyond types or classes in your Object Oriented programs could open you to some interesting new solutions
Erlang makes concurrent programming and spawning lots of processes to do work a very natural part of the language. Part of the language then is how to deal with the problems that arise when you run into issues talking to a remote process. The language has exception handling, it can be set up to receive a response, only wait for a timeout, etc.
The biggest thing that Erlang does is not try to hide the fact that you are communicating to a remote process (whether that process is in the same node, a different node, or a different machine). It gives you the programmer the tools to decide what conditions you need to handle based on how your program is built and deployed. All those scenarios are easy, but it's still explicit that you are talking to a different process.
{% highlight erlang %} ping(N, PongPid) -> PongPid ! {ping, self()}, receive pong -> io:format("ping received ~B~n", [N]) after 1000 -> io:format("I don't think we're gonna get a response~n") end, ping(N - 1, PongPid). pong() -> receive finished -> io:format("pong finished~n", []); {ping, PingPid} -> io:format("pong received~n", []), PingPid ! pong, pong() end. {% endhighlight %}
Think about how you can make your distribution explicit and not hidden from callers who could make bad assumptions.
I'm finding Erlang and really trying to think in a functional programming language very interesting right now, so I'll probably post some more about it. I think it will allow me to talk more intelligently to Grant at least.


Top Albums
Top 50 Owned Albums
- The Glitch Mob - Drink the Sea
- Daughter - Music From Before the Storm
- Cigarettes After Sex - Cry
- Lorn - Remnant
- Death Grips - The Money Store
- Daughter - If You Leave
- Caravan Palace - Chronologic
- Cults - Offering
- Autumn in June - MAGENTA
- Florence and the Machine - Ceremonials
- Cigarettes After Sex - Cigarettes After Sex
- Chvrches - Love is Dead
- Alt-J - This Is All Yours
- Cults - Cults
- Lana Del Rey - Born to Die
- Milky Chance - Sadnecessary
- The White Stripes - De Stijl
- Linkin Park - A Thousand Suns
- Death Grips - Bottomless Pit
- Nero - Welcome Reality
- Odesza - A Moment Apart
- Rudimental - Home
- Purity Ring - Shrines
- Rufus - Bloom
- Stromae - Racine Carree
- Tame Impala - Currents
- Tender - Fear of Falling Asleep
- Crystal Castles - Crystal Castles
- Electric Youth - Innerworld
- Kids These Days - Traphouse Rock
- Mystery Skulls - Forever
- Allan Kingdom - Northern Lights
- Childish Gambino - Because the Internet
- Frank Ocean - Channel ORANGE
- Pendulum - Immersion
- Crystal Castles - Crystal Castles II
- The White Stripes - Get Behind Me Satan
- Delta Heavy - Paradise Lost
- Hozier - Hozier
- Kendrick Lamar - Section.80
- Donnie Trumpet & Chance the Rapper - Surf
- Justice - Audio, Video, Disco
- Kings Dead - Jerusalem
- Morcheeba - Big Calm
- Kanye West - 808's and Heartbreaks
- The Lumineers - Cleaopatra
- Pearl Jam - Ten
- Lupe Fiasco - Lasers
- Stone Sour - Hydrograd
- Deadmau5 - For Lack of a Better Name
Top 100 Owned Albums (ordered by artist name)
- Ab Soul - Control System
- Aesop Rock - The Impossible Kid
- Air - Air
- Allan Kingdom - Northern Lights
- Alt-J - An Awesome Wave
- Alt-J - This is All Yours
- Asher Roth - Pabst & Jazz
- Autumn in June - MAGENTA
- Avenged Sevenfold - City of Evil
- Avenged Sevenfold - Waking the Fallen
- Caravan Palace - Chronologic
- Caravan Palace - <|º_º|>
- Carole King - Tapestry
- Chance the Rapper - Acid Rap
- Childish Gambino - Because the Internet
- Chvrches - Love is Dead
- Chvrches - The Bones of What You Believe
- Cigarettes After Sex - Cigarettes After Sex
- Cigarettes After Sex - Cry
- Crystal Castles - Crystal Castles
- Crystal Castles - Crystal Castles II
- Cults - Cults
- Cults - Offering
- Daft Punk - Random Access Memories
- Daughter - If You Leave
- Daughter - Music From Before the Storm
- Deadmau5 - For Lack of a Better Name
- Death Grips - Bottomless Pit
- Death Grips - The Money Store
- Delta Heavy - Paradise Lost
- Donnie Trumpet & Chance the Rapper - Surf
- Electric Youth - Innerworld
- Ellie Goulding - Bright Lights
- Florence and the Machine - Ceremonials
- Florence and the Machine - Lungs
- Florence and the Machine - How Big, How Blue, How Beautiful
- Frank Ocean - Channel ORANGE
- Hybrid Minds - Mountains
- Hozier - Hozier
- I Monster - Neveroddoreven
- Jamie's Elsewhere - Rebel Revive
- Jamie's Elsewhere - They Said a Storm Was Coming
- Jungle - For Ever
- Justice - Audio, Video, Disco
- Justice - (Cross)
- Kanye West - 808's and Heartbreaks
- Kanye West - My Beautiful Dark Twisted Fantasy
- Kanye West - Graduation
- Kavinksy - OutRun
- Kendrick Lamar - good kid. mA.A.d citty
- Kendrick Lamar - Section.80
- Kaskade - Fire & Ice
- Kid Cudi - Man on the Moon
- Kid Cudi - Man on the Moon II
- Kids These Days - Traphouse Rock
- Kinetics & One Love - Fading Back to Normal
- Kings Dead - Jerusalem
- Kings Dead - Utopia
- Korn - Issues
- Lana Del Rey - Born to Die
- Lana Del Rey - Lust for Life
- Linkin Park - A Thousand Suns
- Linkin Park - Meteora
- Lorn - Remnant
- Lupe Fiasco - Lasers
- Macklemore & Ryan Lewis - The Heist
- Metronoomy - Summer 08
- Milky Chance - Sadnecessary
- Morcheeba - Big Calm
- Motley Crue - Too Fast for Love
- Mystery Skulls - Forever
- Nero - Welcome Reality
- Nirvana - In Utero
- Nirvana - Nevermind
- Noisia - Outer Edges
- Odesza - A Moment Apart
- Odesza - Summer's Gone
- Papa Roach - Metamorphosis
- Pearl Jam - Ten
- Pendulum - Immersion
- Pendulum - In Silico
- Purity Ring - Shrines
- Pusha T - My Name Is My Name
- Rage Against the Machine - Know Your Enemy
- Rammstein - Liebe Ist Fur Alle Da
- Rudimental - Home
- Rufus - Bloom
- Schoolboy Q - Oxymoron
- Slipknot - Slipknot
- Stone Sour - Hydrograd
- Stromae - Racine Carree
- System of a Down - Toxicity
- Tame Impala - Currents
- Tender - Fear of Falling Asleep
- The Glitch Mob - Drink the Sea
- The Lumineers - Cleaopatra
- The White Stripes - De Stijl
- The White Stripes - Get Behind Me Satan
- WZRD - WZRD
- XYLO - America EP


Birmingham is rated among the third tier on the Globalization and World Cities Index.
The region has a major international airport, mainline rail and motorway connections to north, south, east and west.
The West Midlands boasts 6 of the UK's top 50 universities
Home to Worcestershire Sauce and Jaguar Land Rover. Birthplace of the industrial revolution and William Shakespeare
The West Midlands recorded 92 foreign direct investment (FDI) projects in 2015 - the largest number recorded in a decade.
The figure represented an increase of 46 per cent on 2014 when the region attracted 63 projects, according to new research. Source: regions report from EY 2016


4.1 As stated in paragraph 1, this organisational body shall be known as GILD.
4.2 GILD will comprise of both subscribing members, contributing members as well as officers and all shall collectively be referred to as “members”.
4.3 Successful member applicants must subscribe to the values and mission of GILD as set out in Part A, together with the Mission & Value Statement.
4.4 All members will be subject to the regulations of the GILD CHARTER and by subscribing to GILD will be deemed to accept these regulations and codes of conduct together with any and all respective policies duly proposed and adopted by GILD.
4.5 Any amendments to this Charter and any of its annexures must be conducted and approved at an AGM and must meet the approval of an unanimous resolution (80%) of all members, both present and through proxy.
5.1 All applications for membership, as set out in paragraph 4.2 herein, shall be made in the prescribed manner and form set out in Form A and / or Form B to this Charter.
5.2 The application, in keeping with Form A / Form B, shall comprise of a covering letter together with annexures that set out:
5.2.1 The applicant’s acceptance of the GILD CHARTER;
5.2.2 The applicant’s acceptance and liability for annual membership fees;
5.2.3 The applicant’s acceptance and liability to attend Annual General Meetings (AGM), and where possible, to attend Extraordinary General Meetings (EGM);
5.2.4 A list, together with clear copies, of all academic and professional qualifications, together with a list of published works and / or ongoing projects (if applicable);
5.2.5 An updated curriculum vitae (CV) of the applicant; and
5.2.6 Proof of identity and residence.
5.3 Subscribing members shall be members who will have access to the online database of information housed and maintained by GILD, who have been duly accepted as subscribing members, whose membership fees are up to date and who, where applicable, have been assigned to a specific team within GILD;
5.4 Contributing members shall be members who contributed to the online database of information housed and maintained by GILD, who have been duly accepted as contributing members and whose membership fees (if applicable) are up to date;
5.5 Officers, who are members in terms of paragraph 4.2, shall collectively form the Executive Committee (EXCO) of GILD and shall comprise of the following:
5.5.1 Chairperson;
5.5.2 Deputy-Chairperson;
5.5.3 Executive Director;
5.5.4 Secretary;
5.5.5 Financial Director / Treasurer (function can be undertaken by Executive Director);
5.5.6 Co-ordinators;
5.5.7 Team Leaders / Members (shall be a representative member of each GILD Team approved and formed).
5.6 GILD, from the outset, has the right to incorporate into a more formal structure such as a Trust or a Company, at which point the founding officers shall be the founding trustees or directors, as the case may be.
5.7 Members undertake to attend all AGMs, having received proper notice, unless their absence is within reason and deemed acceptable by the GILD EXCO.
5.8 The GILD EXCO reserves the right to conduct or to allow participation in AGMs through digital or electronic mediums such as FaceTime, Zoom, Skype, GoToMeeting, etc., and will communicate same to members.
5.9 Members shall collectively also, through the measure of the AGM or EGM, be responsible for the following:
5.9.1 Approving of and making necessary recommendations to GILD’s current and / or prospective policies;
5.9.2 Approve the annual report of the Chairperson;
5.9.3 Approve the annual financial statements;
5.9.4 Approve the appointment of auditors;
5.9.5 Approve the annual budgets;
5.9.6 Approve implementation and appointment of GILD Teams;
5.9.7 Approve and determine annual membership fees and membership applications received;
5.10 The operation, formation and function of GILD EXCO is set out in more detail below.
6.1 A member of GILD shall cease to be a member when:
6.1.1 A formal request for termination of membership, in writing, has been received by the registered member;
6.1.2 The member no longer subscribes to the identity, mission and values of GILD as set out herein;
6.1.3 The member fails to attend two consecutive AGM’s without adequate reasons as determined by EXCO;
6.1.4 The member defaults on annual membership fees without adequate reasons as determined by EXCO;
6.1.5 EXCO, in protecting the integrity, reputation and professional standards of GILD, deems it necessary to terminate such membership.
6.2 When membership of a member is terminated, the member has no right and title to the use of the name GILD in any further projects, networking or publications.
6.3 When membership has been terminated, the ex-member can make a new application for membership, but will have to do so anew and in terms of the compliance and procedural requests set out in Form A.
7.1 COMPOSITION
7.1.1 The composition of the GILD EXCO is set out in paragraph 5.5 above.
7.1.2 With regards to paragraph 5.5.6 and 5.5.7 above, a co-ordinator and team leader, respectively, shall be non-voting members of EXCO.
7.1.3 The positions of Chair, Deputy Chair, Secretary and Financial Director (if applicable) shall be positions held for a term of one (1) year and there shall be no limit on the amount of terms that such person may occupy the respective position for, provided no lawful reason exists for the removal of them from such position.
7.1.4 The position of Executive Director shall be for a minimum period of three (3) years and shall be subject to the provisions of paragraph 7.3 below.
7.2 FUNCTION
7.2.1 The function of EXCO shall be to:
<IP_ADDRESS> derive, amend, supervise and implement required and necessary programmes and policies in order to fulfil the function of GILD holistically;
<IP_ADDRESS> carry out and execute all duties and responsibilities attributable to the respective office held and in keeping with GILD’s vision and value statement contained in this Charter;
<IP_ADDRESS> appoint all personnel as and when necessary for the effective operation of GILD’s objectives and conducting of business in the ordinary sense;
<IP_ADDRESS> receive and approve reports of the Executive Director and of the GILD Teams;
<IP_ADDRESS> preparation and submission of annual reports to members and interested third parties;
<IP_ADDRESS> preparation and implementation of annual budgets;
<IP_ADDRESS> overseeing of proper accounting and financial management
<IP_ADDRESS> preparation and facilitation of AGM and EMG as required;
<IP_ADDRESS> appointment and construction of GILD Teams as shall be necessary in keeping with the mission and values of GILD in order to fulfil the practical function and operations of GILD generally;
<IP_ADDRESS> attending to all disciplinary action against its members.
7.3 EXECUTIVE DIRECTOR
7.3.1 Whereas nominations and appointments for officers can be made generally by members, the nomination and appointment of the Executive Director shall be made solely by Christian Relief International (CRI) or its appointed agent.
7.3.2 Christian Relief International (CRI) is a founding member of GILD and this right of appointment shall exist indefinitely. Any amendment to the appointment process or procedure of the Executive Director must first obtain the written consent and approval of CRI.
7.3.3 The appointment of the Executive Director can be either on a full-time or part-time basis and such person appointed shall be responsible for:
<IP_ADDRESS> coordinating the work of EXCON;
<IP_ADDRESS> coordinating of and oversight of the work of the various coordinators and GILD Team leaders;
<IP_ADDRESS> marketing, fundraising, networking and liaising with various interested parties;
<IP_ADDRESS> general administration function and oversight of operations of GILD.
7.4 GENERAL
7.4.1 EXCON meetings can be conducted in person or electronically and shall be called when convenient and expedient to do so.
7.4.2 EXCON shall make all attempts and undertake all endeavours to consult with its members appropriately, and were convenient to do so, in the fulfilment of its main function, but shall not be required to do so in the day-to-day business function and ordinary daily activities of GILD.
7.4.3 EXCON will conduct all matters with the highest degree of professional conduct taking into consideration all applicable laws and regulations.
Text
Text
Visit website: magnacarta.sastarlabs.io
The Oxford Centre for Religion and Public Life is a research and training centre which exists to equip public intellectuals, analysts and professionals to recognize and value the contributions of religion to public life.
Visit website: ocrpl.org


From the home page select the Open project option.
You can open a project saved offline or online.
The app will then verify whether the project with the same UUID exists in the database.
On successful verification the settings will be auto imported and you will be redericted to the editor.
When a project is currently open, you can save the project by clicking the save icon from the toolbar.
You can either save a project online or offline.
From the home page select the Open project option.
You can import a project saved offline or online.
The app will extract the project file and ask you for the new settings.


PLANET SICK-BOY: http://www.sick-boy.com "We Put the SIN in Cinema"
It's been 27 years since The Exorcist forever changed the nation's perception of pea soup. The film, which was nominated for 10 Oscars, including Best Picture, Best Director and three acting roles (it won for sound and screenplay), allegedly caused some people to flee theatres in a horrified panic. But since its theatrical release in 1973, The Exorcist has only been seen via badly edited TV versions and fading, crusty old copies of the videotape. The fact that the film spawned two lousy sequels (one from The General's John Boorman, and one from The Exorcist's author and screenwriter William Peter Blatty) didn't help either.
Thanks to the wonders of modern technology, The Exorcist has been restored with a cleaned-up picture, completely overhauled sound and about a dozen additional minutes that didn't appear in the original version (although some were on a recently released DVD). But one lingering question remains – will viewers today be as affected by the film as they were back in 1973?
The answer is probably not. The screening I attended was plagued with mocking laughter and people leaving out of sheer boredom. I should mention that the screening was sponsored by a local `modern rock' station, and most of the crowd was made up of young men and women that have been weaned on a steady diet of slasher flicks that prominently feature a grisly murder before the opening credits roll.
 In fact, that's the alluring part of The Exorcist. Director William Friedkin (Rules of Engagement) paces the film so slowly, the ending almost becomes a reward in patience.
Just take the opening scene, where Friedkin takes a brief, five-page epilogue from the book and audaciously transforms it into a 12-minute segment that has little to do with the rest of the film. In it, we are introduced to Father Merrin (Max von Sydow, Snow Falling on Cedars) an elderly priest on an archaeological dig in Northern Iraq. He finds a creepy idol (not unlike the one Greg had in The Brady Bunch's multi-episode Hawaiian vacation) and begins to shake uncontrollably while reaching for both the drink and his nitroglycerine pills.
Meanwhile, movie star Chris MacNeil (Ellen Burstyn, Requiem For a Dream) and her 12-year-old daughter Regan (Linda Blair) are temporarily living in Georgetown while Chris shoots a film. They rent a lovely home (complete with a staff of three), but their lives are interrupted by a demonic spirit that decides to take up residence in young Regan. Thinking there is something physically wrong with her daughter, Chris drags Regan to a bunch of clueless doctors that run a lot of pointless tests before sending her off to a shrink. It's really funny to watch the doctors whip out cigarettes while they give cheesy explanations for Regan's odd behavior (Ritalin is their treatment).
Looking for alternatives to medications and asylums, Chris turns to Father Damien Karras (Jason Miller, Rudy), a Jesuit priest and psychiatrist struggling with his faith after the death of his mother. Damian's freaky nightmare montage of his dead mother emerging from the subway entrance is one of the best ever.
Friedkin takes his time developing the characters, which makes the ending that much more emotional for the viewer. It's over 30 minutes before anything makes you jump, 45 before anything remotely supernatural occurs, and an hour has passed before the real hijinks start. The spooky events are spaced far apart and grow more disturbing as the film progresses. You begin to dread each time Chris runs up the stairs and into Regan's room.
Purportedly based on true events, The Exorcist was adapted from Blatty's best-selling 1971 novel. The film's acting, especially from Blair and first-timer Miller, are fantastic. At that year's Academy Awards, the 14-year-old Blair lost to 10-year-old Tatum O'Neal (Paper Moon). The redone sound is marvelous. You can even hear the aquarium in Regan's room, which is kind of exciting because you can barely tell she has an aquarium in the tape at your local video store.
2:15 – R for adult language and violence
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


Mrs. Aditi Singh Gaur
0
loading...
Home
Contact
Menu
Open
Close
Together_Forever
We both live in our fantasy world,
where there is love always between us.
LOVE
Mrs. Gaur
Published
- Always the cutest
My Life
My Life
My Life
My Life
My Life
She is LOVE
Go_Back_home
VIEW
Close


Plugin browser
Main site
View demo
Add to package
Remove from package
Are we missing a great plugin?
Please
send us a line
so we can fix it :-).
<head>
</head>
<body>
</body>


Type Library Revision Current Public Release (2013.2076) Keywords sqlite3, database, sqlite Sample code /CoronaSDK/SampleCode/Storage/SQLite See also Database Access in Corona with SQLite (tutorial) Official luasqlite Documentation
Corona includes support for SQLite databases on all platforms. This is based on the built-in sqlite support on the iPhone, and a compiled version of SQLite on Android (this increases the size of Android binaries by 300K).
SQLite is available in all versions of Android, iPhone, and iPad, as well as in the Corona Simulator.
For a tutorial on how to use SQLite in Corona, please see the Database Access in Corona with SQLite tutorial.
The Lua API is provided by luasqlite 3 v0.7. The documentation for luasqlite3 can be viewed at luasqlite.luaforge.net/lsqlite3.html. This documentation also includes test and sample code.
Also see SQLite Language Reference.
When providing a file path to open(), make sure to use system.pathForFile(). Providing just a plain file name such as "my.db" will not work consistently across the simulator and devices, especially on Android (see system.ResourceDirectory).
sqlite3.open( path )
Opens the SQLite file. Note that the path should be the full path to the database, not just the file name to avoid errors.
sqlite3.version()
Returns the version of SQLite in use.
file:exec( SQL_Command )
Executes a SQL command in the database. Typically used to create tables, insert, update, append or retrieve data from a database.
file:nrows( SQL_Command )
Returns successive rows from the SQL statement.
file:close()
Close the database.
local sqlite3 = require "sqlite3"
local db = sqlite3.open_memory()
db:exec[[
CREATE TABLE test (id INTEGER PRIMARY KEY, content);
INSERT INTO test VALUES (NULL, 'Hello World');
INSERT INTO test VALUES (NULL, 'Hello Lua');
INSERT INTO test VALUES (NULL, 'Hello Sqlite3')
]]
print( "version " .. sqlite3.version() )
for row in db:nrows("SELECT * FROM test") do
local t = display.newText(row.content, 20, 30 * row.id, null, 16)
t:setTextColor(255,0,255)
end
This example demonstrates how to open a file-based database and to check if the table exists before creating it. It also closes the database upon application exit.
--Include sqlite
require "sqlite3"
--Open data.db. If the file doesn't exist it will be created
local path = system.pathForFile("data.db", system.DocumentsDirectory)
db = sqlite3.open( path )
--Handle the applicationExit event to close the db
local function onSystemEvent( event )
if( event.type == "applicationExit" ) then
db:close()
end
end
--Setup the table if it doesn't exist
local tablesetup = [[CREATE TABLE IF NOT EXISTS test (id INTEGER PRIMARY KEY, content, content2);]]
print(tablesetup)
db:exec( tablesetup )
--Add rows with a auto index in 'id'. You don't need to specify a set of values because we're populating all of them
local testvalue = {}
testvalue[1] = 'Hello'
testvalue[2] = 'World'
testvalue[3] = 'Lua'
local tablefill =[[INSERT INTO test VALUES (NULL, ']]..testvalue[1]..[[',']]..testvalue[2]..[['); ]]
local tablefill2 =[[INSERT INTO test VALUES (NULL, ']]..testvalue[2]..[[',']]..testvalue[1]..[['); ]]
local tablefill3 =[[INSERT INTO test VALUES (NULL, ']]..testvalue[1]..[[',']]..testvalue[3]..[['); ]]
db:exec( tablefill )
db:exec( tablefill2 )
db:exec( tablefill3 )
--print the sqlite version to the terminal
print( "version " .. sqlite3.version() )
--print all the table contents
for row in db:nrows("SELECT * FROM test") do
local text = row.content.." "..row.content2
local t = display.newText(text, 20, 30 * row.id, null, 16)
t:setTextColor(255,0,255)
end
--setup the system listener to catch applicationExit
Runtime:addEventListener( "system", onSystemEvent )


Corona Virus Impact Estimator
Name of location:
Average age:
Average daily income in USD:
Average daily income population:
Population:
Time to elapse/Period:
Reported cases:
Total hospital beds:
Select a period type:
Days
Weeks
Months
Estimated values will be shown here.


Plugin Development: Packaging & Distribution
This page documents how to add new commands to Vagrant, invokable. This page documents how to organize the file structure of your plugin and distribute it so that it is installable using standard installation methods. Prior to reading this, you should be familiar with the plugin development basics.
Warning: Advanced Topic! Developing plugins is an advanced topic that only experienced Vagrant users who are reasonably comfortable with Ruby should approach.
Example Plugin
The best way to describe packaging and distribution is to look at how another plugin does it. The best example plugin available for this is vagrant-aws.
By using Bundler and Rake, building a new vagrant-aws package is easy. By simply calling rake package
, a gem
file is dropped into the directory. By calling rake release
, the gem is built and it is uploaded to the central RubyGems repository so that it can be installed using vagrant plugin install
.
Your plugin can and should be this easy, too, since you basically get this for free by using Bundler.
Setting Up Your Project
To setup your project, run bundle gem vagrant-my-plugin
. This will create a vagrant-my-plugin
directory that has the initial layout to be a RubyGem.
You should modify the vagrant-my-plugin.gemspec
file to add any dependencies and change any metadata. View the vagrant-aws.gemspec for a good example.
Do not depend on Vagrant for your gem. Vagrant is no longer distributed as a gem, and you can assume that it will always be available when your plugin is installed.
Next, create a Rakefile
that has at the very least, the following contents:
require 'rubygems'
require 'bundler/setup'
Bundler::GemHelper.install_tasks
If you run rake -T
now, which lists all the available rake tasks, you should see that you have the package
and release
tasks. You can now develop your plugin and build it!
You can view the vagrant-aws Rakefile for a more comprehensive example that includes testing.
Testing Your Plugin
You have a couple options for testing your plugin. First, you can run rake package
, then vagrant plugin install
the resulting file to test it. The downside of this is that there is a pretty slow feedback loop every time you want to test the plugin.
Alternatively, you can depend on Vagrant from your Gemfile for development purposes only. Then you can use bundle exec vagrant
and a Vagrantfile in your own directory to test it. This has a fast feedback loop, but requires that Vagrant has all the dependencies it needs installed on your system.
vagrant-aws uses the second option. You can see the dependency in the Gemfile. The Vagrantfile is gitignored so that sensitive and volatile test information can be put into it. The important bit is that the Vagrantfile must have a Vagrant.require_plugin
call so that it is loaded, since Vagrant doesn't automatically know about plugins not installed using vagrant plugin
.
For example, a vagrant-aws development Vagrantfile might look like this:
Vagrant.require_plugin "vagrant-aws"
Vagrant.configure("2") do |config|
config.vm.box = "test"
end
Then you can run bundle exec vagrant up
to test it. Note the "bundle exec" is required so that Bundler uses the proper Vagrant installation.


--- layout: post title: Handy Technology Answer Key date: 2014-03-10 02:26:21.000000000 -05:00 type: post published: true status: publish categories: feed tags: robots meta: _publicize_pending: '1' _edit_last: '8005175' author: login: dvollrath email<EMAIL_ADDRESS>display_name: dvollrath first_name: '' last_name: '' ---
As always, xkcd gets things right:


--- layout: null title: CHD ACM permalink: / ---
Talk is cheap, let's code!
no zuo no die, why you try?
just enjoy it!
coding changes the world!


IT COULD HAPPEN TO YOU A film review by Steve Rhodes Copyright 1995 Steve Rhodes
RATING (0 TO ****): *** 1/2
IT COULD HAPPEN TO YOU was originally titled "Cop Gives Waitress $2M Tip" which was a better title, but except for the current blah, generic title, I have nothing but good things to say about this wonderful, romantic, and life affirming movie.
There is a great narrator who appears early and late in the show, and who shows up some in-between as a speechless observer. His name is Angel (Isaac Hayes), and he tells us in the beginning that the movie "is mostly true." Although it is true, it is told as a fairy tale and, moreover, a wonderful romance.
The basic plot setup is that a cop (Nicolas Cage), gives a waitress (Bridget Fonda) a tip of half of his lottery ticket. The ticket turns out to be worth $4,000,000. The waitress is the classic bad luck type who has just that day declared bankruptcy.
The cop has had a long childless marriage to his childhood girlfriend (Rosie Perez). Their marriage is one where he muses that "I'm not sure why we ever got married, but we no longer have anything to say to each other." Perez is not happy with him either because he is not making "any serious money". Her girlfriend advises her to dump him and marry an electrician. Early in the show, he wins the lottery, and then all of the twists and turns begin. Some are predictable, but many are not.
There is an instant romance and visible chemistry between Cage and Fonda that is a joy to behold. You see this in the first 5 minutes of the movie. It makes you feel good to be alive. Their acting is terrific. Several times, I thought they were going to burst into song. It is that kind of movie. Great mood music in it too.
Small things like the setting in Queens were well done. How about a show set in a poor ethnic neighborhood where the kids are nice, play stickball and no one mentions the word drugs? Amazing that.
The movie starts wonderfully, ends great, and has perfect pacing throughout.
IT COULD HAPPEN TO YOU is rated PG and has nothing to offend anyone of any age. I can not see someone younger than say 9 being interested in it.  It runs 1:41. I rate it *** 1/2 and highly recommend it.
**** = One of the top few films of this or any year. A must see film. *** = Excellent show. Look for it. ** = Average movie. Kind of enjoyable. * = Poor show.  Totally unbearable.
REVIEWED WRITTEN ON: August 23, 1994
Opinions expressed are mine and not meant to reflect my employer's.
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


Symbol Index for "Acquired Permanent Property"
Symbol Index for diagram
"Acquired Permanent Property"
Acquired Permanent Property (Class)
Acquired Temporary Property (Class)
Inherent Temporary Property (Class)
Lifelong Property (Class)
onset (Association)
SPr/Persistence (Generalization Node)
Subject Property (Class)
Timepoint (Class)
Transient Property (Class)


STRAWBERRY AND CHOCOLATE A film review by Ben Hoffman Copyright 1995 Ben Hoffman
This is a beautiful film from Cuba, based on a short story by Senel Paz, "The Wolf, the Forest, and The New Man." What makes it so wonderful is that it is a story of tolerance. Some people like Strawberry and others like Chocolate. Whatever turns you on.
There is David, (Vladimir Cruz) a political science student, quiet, loyal to Cuba. Then there is Diego (Jorge Perugorria) who is just the opposite; very outgoing, friendly and, unlike the straight David, he is gay.
Nevertheless, the two become very good friends but when David confides in his friend Miguel (Francisco Gatorno), another student, that he is friends with a gay man, Miguel wants David to find signs of subversion so that Diego will be imprisoned.
Lastly, there is Diego's neighbor, Nancy (Mirta Ibarra), who is busy finding a man for herself.
One of the funniest scenes is after David loses his virginity to Nancy, he has a perpetual grin. He tells Diego, "There is nothing like doing it with a woman." Diego's response cracked me up!
The film, a beauty, is a collaboration between the Cuban Institute of Art and Film Industry, the Mexican National Film Office, Tabasco Films, Telemadrid and S.G.A.E. and was filmed in Cuba, Mexico and Spain. Maybe this is an indication that the Cuban government is becoming more tolerant of homosexuals.
Directed by Tomas Gutierrez Alea and Juan Carlos Tabio.
The film has won awards at the Berlin Film Festival and the Latin American Film Festival in Havana.
4 bytes 4 Bytes = Absolutely must see. 3 Bytes = Too good to be missed. 2 Bytes = So so. 1 Byte = Save your money.
Ben Hoffman
.
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


FATHER'S DAY SPECIAL
THE GENERAL'S DAUGHTER Directed by Simon West Screenplay by Christopher Bertolini and William Goldman from Nelson DeMille's novel With John Travolta, Madeleine Stowe R 115 min
Just in time for Father's Day, "The General's Daughter" swaggered onto the big screen last weekend with a heartwarming story about a dysfunctional father-daughter relationship in the military. If you can't say anything nice, my mother taught me, don't say anything at all, so I'll keep this short.
There's a cast of good actors doing their best with lines like "She could change a tire, and bake a hell of a key lime pie." That line falls to James Cromwell, in his heavy mode here (see "L.A. Confidential") as the General in a sober scene as he recalls his beloved murdered daughter. The daughter is well played by Leslie Stephanson while she lasts -- we even get to see the tire-changing scene. John Travolta is the Army cop investigating her murder, and he does a better job than the writers have any right to expect with their dialogue. Madeleine Stowe as his co-investigator and once-and-possibly-future love interest is beautiful as always, but shows few signs of acting. Most of the rest of the characters are colonels -- Clarence Williams III (of the original "Mod Squad"), John Beasley, Timothy Hutton, and James Woods (whose cagey scenes with Travolta are the best in this whole sorry affair.) One of these colonels is in the movie for no discernible purpose other than to be a surprise bad guy, and you won't have much trouble guessing which.
Early on there's one of those .007 plot-irrelevant action scenes which explodes and disappears without a trace. Then it's on to the sex-and-titillation stuff, which involves your usual stars-looking-at-porn-with-distaste, and then a particularly vicious and gratuitous rape scene where the girl is stripped and spread-eagled to tent pegs, calculated to shock and horrify but still grab the attention with a nicely backlit breast. It's the worst kind of sleazy cinematic pandering.
The whole thing is shot and paced like a bad John Grisham TV movie. There's heavy-handed exposition, tortuous plot twists and connections, and material just plain too ridiculous to turn on the projector for.  In this movie, our minds never get that lucky.
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


SctpDrv
History
The SCTP stack upon which SctpDrv is based was originally released for FreeBSD, OpenBSD and NetBSD as a set of patches in April 2002. In November 2006 it was merged to FreeBSD -CURRENT (CVS HEAD). The authoritative location for the code is in the sctpCVS repository; changes are taken from there and committed to FreeBSD SVN, as well as for other platforms including OS X, NetBSD, OpenBSD and Windows.
The Windows port of the FreeBSD SCTP stack was originally developed by co-research between CO-CONV, Corp. and WIDE Project. The first release was made in March 2008, and was made available on the CO-CONV site here. In December 2008 another release was created which added the SCTP API. It can be found here. At that time the Windows SCTP code was held in a repository at http://trac.sctp.jp but unfortunately due to time constraints the sctp.jp site was discontinued in ealy-mid 2009. In late 2009 I decided to take a snapshot of code I had obtained while sctp.jp was still active and re-host it on bluestop.org. In the following months I attempted to take it from beta into a production-ready state.
All of the SCTP API documentation and a lot of the other documentation has been adapted from the FreeBSD manual pages which can be viewed online at http://www.freebsd.org/cgi/man.cgi
Installing
To use SctpDrv you must be running Windows XP, Windows Vista or Windows 7 (it should also work on Windows Server 2003 and Windows Server 2008, but is untested).
Download the latest version from http://www.bluestop.org/SctpDrv/releases/ and double-click the MSI file.
If the installation finds a copy of Vista or newer and the Windows Firewall is running, a new rule will be added to allow SCTP traffic to pass inbound through the firewall. If Windows XP is running or a 3rd-party firewall is installed, no firewall configuration will be done and you must allow protocol 132 to pass through the firewall in order for remote communications to work.
Once installed, you can verifiy the installation by runnning the echo_client.exe and echo_server.exe progams in C:\Program Files\SctpDrv\bin . These verify that loopback SCTP communication is working.
Tuning
You can modify stack parameters at runtime by using netsh; this provides a similar interface to sysctl on BSD and Linux. For example, to change the UDP tunneling port to 10000:
netsh sctp set sysctl udp_tunneling_port 10000
To see the current values, use netsh sctp show sysctl, to see descriptions of the sysctl nodes, use netsh sysctl show sysctl_desc and to see information about active associations, run netsh sysctl show association. For more information, just type netsh sctp.
Note that in order to use the sctp netsh interface you must have Administrator privileges - i.e. you need to run the commands in an elevated command prompt.
Status
The following SCTP API functions have been implemented:
sctp_peeloff, sctp_sendmsgx,
sctp_sendx, sctp_sendmsg,
sctp_send, sctp_recvmsg,
sctp_opt_info, sctp_getpaddrs,
sctp_getladdrs, sctp_getassocid,
sctp_getaddrlen, sctp_freepaddrs,
sctp_freeladdrs, sctp_connectx
and sctp_bindx .
Information about the features supported by the SCTP stack can be found here.
Developing SCTP applications using SctpDrv
SctpDrv is provided as a
kernel driver which contains the SCTP stack. A Winsock provider
dll is registered with Windows and gets called
whenever an application wants to send data over SCTP. This way,
the functionality is provided transparently to applications: IPPROTO_SCTP
is just another protocol available in the socket
(WSASocket
)
function call. The SCTP specific functions such as sctp_send
are provided by linking to sctpsp.lib
.
For information about using SctpDrv as a developer as opposed to
an end-user, please see this page.
Time: 13:16:10 GMT, June 29, 2010
Windows is a registered trademark of Microsoft Corporation in the United States and other countries.


@import actors._
@(emailsInfo: List[EmailInfo], link: String)
Hi Knolders,
Hope you enjoyed the following Knolx session:
@emailsInfo.head.topic by @emailsInfo.head.presenter held on @emailsInfo.head.date
Please submit your valuable feedback here: Click Here
The scale on which the rating will be calculated
- 1 -> Poor
- 2 -> Average
- 3 -> Good
- 4 -> Very Good
- 5 -> Excellent
Important Note
- It is mandatory for everyone to respond to the feedback form. If you have not attended the session, kindly fill "Did not attend" option with relevant reason.
- You would be banned from the Knolx for a month if you are not responding to the feedback form for both sessions. You would neither be allowed to attend or present the session.
- If you are banned you will also not be eligible for Knolx weightage of appraisal year (2017-18).
- Your feedback is valuable, so think through and provide relevant feedback, as it is anonymous to the presenters. Do mention the comments if there are any improvement areas for the presenter.
Kindly submit your feedback before feedback form expires.
Thanks,
Admin


Combinatorics of continued fractions
31 Aug 2017Hello, the first post of this new academic year is by Pablo Rotondo who gave a talk at the seminar a few months ago. As there is more to say about the subject, this post will probably have a follow-up later.
In this post we discuss continued fraction expansions, and their statistics.
Introduction
Continued fractions are rather ubiquitous, they pop up in various contexts such as: the Euclidean Algorithm, Pell’s equation (see here and here) and Diophantine approximation, the approximation of reals by rationals.
Relation to the Euclidean algorithm and definitions.
Let us briefly see their relation to the Euclidean algorithm as an introduction.
The Euclidean algorithm allows us to calculate the greatest common divisor ($\gcd$) of a pair of positive integers $(x,y)$, by performing successive divisions. Supposing $x\geq y$, the algorithm proceeds by applying $(x,y)\mapsto (y,x\bmod y)$ until the smallest entry $y$ is $0$ and the result is then $x$. Its correctness is seen from the fact that $x\bmod y = x - y \, \lfloor x/y\rfloor$, and therefore $\gcd(x,y)=\gcd(y,x\bmod y)$.
Let us get to the continued fractions. Given a pair of positive integers $(x,y)$ with $x\geq y$ we may write
and then continue the procedure with $\cfrac{x\bmod y}{y}$ provided that $x\bmod y \neq 0$. This is exactly the Euclidean algorithm, and observe that the quotients $\lfloor x/y\rfloor$ that we discard in the algorithm here appear as coefficients.
Thus the Euclidean produces a continued fraction expansion
where the positive integers $m_1,\ldots,m_k$ are the successive quotients in the algorithm.
More generally, we call any such expansion a continued fraction expansion and even given infinitely many coefficients $m_1,\ldots,m_k,\ldots$ we define
whose convergence we do not prove here, but you can find a proof in Kinchin’s book (see the reference at the end of the post).
Rational numbers have exactly two expansions:
while irrational numbers $\alpha\in (0,1)$ have a unique (infinite) expansion, which can be found applying the same Euclidean algorithm (!) to the pair $(1/\alpha,1)$.
Some remarkable examples (for a proof see this arXiv note or this)
the last one being made up from the concatenation of the trios $1,2n,1$ for $n=1,2,\ldots$.
Notations
Given an irrational number $\alpha \in (0,1)$ with continued fraction expansion
the coefficients $m_1,m_2,\ldots \geq 1$ are called partial quotients or digits, while the partial expansions
with , are known as convergents. By convention we define $p_0=0$ and $q_0=1$ for every irrational $\alpha\in (0,1)$. The denominators $(q_k(\alpha))_{k\in \mathbb{N}}$ of the convergents are known as the continuants of $\alpha$.
Of course, all of these definition can be extended to rational numbers by considering only the meaningful part ($k\leq$ length of the expansion). See here for a particularly interesting application to a game of guessing a rational number!
Number of steps in the Euclidean algorithm.
The depth of the continued fraction expansion of a rational number $x/y$ is exactly the number of steps $\ell:=\ell(x,y)$ performed by the Euclidean algorithm on $(x,y)$. To bound $\ell$, we remark that the denominators satisfy the following recurrence relation
This is proved by induction, along with the analogous (up to the initial condition) recurrence relation for the numerators $p_k$. It is evident from the recurrence relation that $q_k$ is strictly increasing, furthermore
so that $q_k \geq 2^{\frac{k-1}{2}}$.
Picking $k=\ell(x,y)$, the previous inequality reads $y\geq 2^{\frac{\ell-1}{2}}$ so that
Classical Continued Fraction Statistics
We have just seen that convergents $q_k(\alpha)$ grow at least exponentially
we briefly mention that much more precise results are known when we allow $\alpha$ to be almost any irrational in $(0,1)$.
Theorem [Lévy] For almost every $\alpha\in (0,1)$ (w.r.t the Lebesgue -uniform- measure) we have
This result is proved by using Ergodic Theory. Continued fractions are naturally associated to the so called Euclidean Dynamical System arising from the Gauss map
where ${x}:=x-\lfloor x\rfloor$ is the fractional part of $x$.
Interestingly, it is also true that the frequency of $m_j=k$ tends to $\log_2\left(1+\frac{1}{k(k+2)}\right)$ almost surely as we take more and more quotients. For more on this read the notes here or in Khinchin’s book.
Best approximations
Convergents are particularly important due to the fact that they provide the ``best’’ approximations to numbers in the following sense
Definition [Best approximations of the second kind] Let $\alpha \in (0,1)$ be a real number. Then the fraction $\tfrac{p}{q}$ with $q>0$ is said to be a best approximation of the second kind for $\alpha$ if and only if
for any other fraction $\tfrac{p^\prime}{q^\prime}$ with $0< q \prime \leq q$.
Remark that so that this ``objective function’’ can be thought of as the error of approximating $\alpha$ by $p/q$, relative to the size of the denominator $q$. We are ready to state the relation with continued fractions
Theorem [See Khinchin 97] Best approximations of the second kind are necessarily convergents, and conversely, every convergent is a best approximation of the second kind, with exception of the trivial case of
Concretely, this means that if we may choose from the set of fractions whose denominators are at most $n$, the best approximation is given by $\frac{p_k(\alpha)}{q_k(\alpha)}$ with $k:= k(\alpha,n)$ is the only index $k$ for which $q_k(\alpha)\leq n < q_{k+1}(\alpha)$.
We remark that it is the continuants under the condition $q_k(\alpha)\leq n < q_{k+1}(\alpha)$ and $n\to \infty$ that will eventually interest us, rather than the classical fixed depth $k\to \infty$.
References.
- Aleksandr Ya. Khinchin. Continued Fractions. New York: Dover Publications, 1997.
- M. Einsiedler and T. Ward. Ergodic Theory: with a view towards Number Theory. Graduate Texts in Mathematics. Springer, 2010.
- N. P. Fogg , V. Berthé, S. Ferenczi , C. Mauduit and Anne Siegel: Substitutions in Dynamics, Arithmetics, and Combinatorics Lecture Notes in Mathematics, Vol. 1794.


Enumeration members
DATE_EQUALS
DATE_EQUALS: = "dateEquals"
DATE_GREATER_THAN
DATE_GREATER_THAN: = "dateGreaterThan"
DATE_GREATER_THAN_EQUALS
DATE_GREATER_THAN_EQUALS: = "dateGreaterThanEquals"
DATE_LOWER_THAN
DATE_LOWER_THAN: = "dateLowerThan"
DATE_LOWER_THAN_EQUALS
DATE_LOWER_THAN_EQUALS: = "dateLowerThanEquals"
DATE_NOT_EQUALS
DATE_NOT_EQUALS: = "dateNotEquals"
NUMBER_EQUALS
NUMBER_EQUALS: = "numberEquals"
NUMBER_GREATER_THAN
NUMBER_GREATER_THAN: = "numberGreaterThan"
NUMBER_GREATER_THAN_EQUALS
NUMBER_GREATER_THAN_EQUALS: = "numberGreaterThanEquals"
NUMBER_LOWER_THAN
NUMBER_LOWER_THAN: = "numberLowerThan"
NUMBER_LOWER_THAN_EQUALS
NUMBER_LOWER_THAN_EQUALS: = "numberLowerThanEquals"
NUMBER_NOT_EQUALS
NUMBER_NOT_EQUALS: = "numberNotEquals"
STRING_EQUALS
STRING_EQUALS: = "stringEquals"
STRING_NOT_EQUALS
STRING_NOT_EQUALS: = "stringNotEquals"


This is one of my freelance work - a magazine ad for WHM Tractors published on Power Farming Vol.127 in 2017.
It is an 226mm by 330mm foldout page with 5mm bleed. The main colours used in the AD are red and blue, which is in accordance with the company logo. Overall, I aim to design an AD which looks professional and presents a positive image of the company.
I was challenged to design a 12-page digital booklet using only colour and form. I chose a few simple shapes - circles, curves and lines, together with lots of negative spaces, and a light colour palette, to present this harmonious concept.
This price list was designed for a local pet grooming shop. It is a re-design of their previous menu.
I re-designed the visual hierarchy, so the new version delivers information more efficiently to the customers. The main colour I chose is yellow/orange contrasting a dark background, which conveys a professional yet warm feeling. The fonts I used are Creative Block and Sweetness, which looks lively and adorable, just like the shop name 'peppy puppy'.
I designed this photobook for a food artist. All the photos are selected from her Instagram and placed into different shapes and layouts.
This is a A5 booklet with 5mm bleed, printed on 300gsm pearl shimmer paper with a hardcover. I use lay-flat binding technique, which allows the pages to lay a flat 180 degrees from end to end.


rotten > Library > Death > Maladies > AIDS / HIV
AIDS / HIV
- Robbin Crosby, RATT guitarist.
- Keith Haring, artist.
- John Holmes, pornstar.
- Robert Mapplethorpe, photographer.
- Anthony Perkins, actor, Psycho.
- Ray Sharkey, actor and intravenous drug user.
- Eazy-E, rapper, member of NWA.
- Robert Reed, played dad on the Brady Bunch.
- Isaac Asimov, Science Fiction author, acquired virus during blood transfusion.
Deaths
| 2 Oct 1985 |
Actor Rock Hudson dies of AIDS. |
| 2 Aug 1986 |
Roy Cohn, the right hand man of Joseph McCarthy, dies of AIDS. |
| 4 Feb 1987 |
Pianist Liberace dies of AIDS. |
| 13 Mar 1988 |
Pornstar John Holmes dead from AIDS. |
| 24 Nov 1991 |
Freddy Mercury, the lead singer of Queen, dies of AIDS in London. |
| 6 Jan 1993 |
Ballet dancer Rudolf Nureyev dies of AIDS, Paris. |
| 6 Feb 1993 |
Tennis player Arthur Ashe dies of AIDS, New York City. |
Pornopolis |
Rotten |
Faces of Death |
Famous Nudes
|


The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
| GroupId | ArtifactId | Version | Type | License |
|---|---|---|---|---|
| au.gov.amsa.risky | ais | 0.5.25 | jar | The Apache License, Version 2.0 |
| com.github.davidmoten | guava-mini | 0.1.1 | jar | The Apache Software License, Version 2.0 |
| org.apache.hadoop | hadoop-client | 2.7.3 | jar | Apache License, Version 2.0 |
| org.apache.parquet | parquet-avro | 1.10.0 | jar | The Apache Software License, Version 2.0 |
| org.apache.parquet | parquet-hadoop | 1.10.0 | jar | The Apache Software License, Version 2.0 |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
| GroupId | ArtifactId | Version | Type | License |
|---|---|---|---|---|
| junit | junit | 4.12 | jar | Eclipse Public License 1.0 |
| org.easymock | easymock | 3.3 | jar | Apache 2 |
| org.openjdk.jmh | jmh-core | 1.10.2 | jar | GNU General Public License (GPL), version 2, with the Classpath exception |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
The following is a list of runtime dependencies for this project. These dependencies are required to run the application:
| GroupId | ArtifactId | Version | Type | License |
|---|---|---|---|---|
| javax.servlet.jsp | jsp-api | 2.1 | jar | - |
| org.slf4j | jcl-over-slf4j | 1.7.5 | jar | MIT License |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
| GroupId | ArtifactId | Version | Type | License |
|---|---|---|---|---|
| cglib | cglib-nodep | 3.1 | jar | ASF 2.0 |
| net.sf.jopt-simple | jopt-simple | 4.6 | jar | The MIT License |
| org.hamcrest | hamcrest-core | 1.3 | jar | New BSD License |
| org.objenesis | objenesis | 2.1 | jar | Apache 2 |
Unamed: JNA
(MIT-style) netCDF C library license: NetCDF-Java Library, udunits
GNU LESSER GENERAL PUBLIC LICENSE: c3p0:JDBC DataSources/Resource Pools
The Apache License, Version 2.0: ais, ais-parquet, formats, risky-util
Apache 2.0: Quartz Enterprise Job Scheduler
The BSD License: xmlenc Library
Eclipse Public License 1.0: JUnit
MIT License: JCL 1.1.1 implemented over SLF4J, SLF4J API Module, SLF4J LOG4J-12 Binding
GPL2 w/ CPE: JAXB API bundle for GlassFish V3, jersey-client, jersey-core
New BSD License: Hamcrest Core
Apache 2: EasyMock, Joda-Time, Objenesis
Similar to Apache License but with the acknowledgment clause removed: JDOM
BSD: ParaNamer Core
GNU General Public Library: Streaming API for XML
Unknown: "Java Concurrency in Practice" book annotations, commons-beanutils, jsp-api, servlet-api, zookeeper
New BSD license: Protocol Buffer Java API
The BSD 3-Clause License: leveldbjni-all
The MIT License: JOpt Simple
Apache License, Version 2.0: Apache Commons Codec, Apache Commons Collections, Apache Commons Lang, Apache Hadoop Annotations, Apache Hadoop Auth, Apache Hadoop Client, Apache Hadoop Common, Apache Hadoop HDFS, Netty/All-in-One, The Netty Project, fastutil, hadoop-mapreduce-client-app, hadoop-mapreduce-client-common, hadoop-mapreduce-client-core, hadoop-mapreduce-client-jobclient, hadoop-mapreduce-client-shuffle, hadoop-yarn-api, hadoop-yarn-client, hadoop-yarn-common, hadoop-yarn-server-common
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0: Streaming API for XML
Common Development and Distribution License (CDDL) v1.0: JavaBeans Activation Framework (JAF)
GNU General Public License (GPL), version 2, with the Classpath exception: JMH Core
Apache Software License - Version 2.0: Jetty Utilities
GNU Lesser General Public License (LGPL), Version 2.1: JAX-RS provider for JSON content type, Xml Compatibility extensions for Jackson
CDDL 1.1: JAXB API bundle for GlassFish V3, jersey-client, jersey-core
Apache License: HttpClient, HttpCore
ASF 2.0: Code Generation Library
Public Domain: XZ for Java
Eclipse Public License - Version 1.0: Jetty Utilities
Sleepycat License: Berkeley DB Java Edition
The Apache Software License, Version 2.0: Apache Avro, Apache Commons Compress, Apache Directory API ASN.1 API, Apache Directory LDAP API Utilities, Apache Log4j, Apache Parquet Avro, Apache Parquet Column, Apache Parquet Common, Apache Parquet Encodings, Apache Parquet Format, Apache Parquet Hadoop, Apache Parquet Jackson, ApacheDS I18n, ApacheDS Protocol Kerberos Codec, Commons BeanUtils Core, Commons CLI, Commons Configuration, Commons IO, Commons Lang, Commons Logging, Commons Math, Commons Net, Commons Pool, Curator Client, Curator Framework, Curator Recipes, Data Mapper for Jackson, Digester, Ehcache Core, FindBugs-jsr305, Gson, Guava: Google Core Libraries for Java, JAX-RS provider for JSON content type, Jackson, XML Commons External Components XML APIs, Xerces2 Java Parser, Xml Compatibility extensions for Jackson, grumpy-core, guava-mini, htrace-core, rxjava, rxjava-extras, rxjava-slf4j, rxjava-string, snappy-java


@{view('partials/header')}
Home
Orders List
Order History
Active Orders
Order No
No of items
Order Date
Sold By
Status
Total
View
Past Orders
Order No
No of items
Order Date
Delivery Type
Status
Total
Action


Preparation time
less than 30 mins
Cooking time
less than 10 mins
Serves
Serves 2
Cook this tasty monkfish recipe in less than half and hour.
Season the monkfish fillets with salt and ground white pepper, then slice into six equal-sized pieces.
Heat a wok until smoking and add the groundnut oil. Add the fish, pressing down lightly on the pieces of fish as they cook. Cook for 3-4 minutes on one side, then reduce the heat to medium.
Turn the fish over and sprinkle over the garlic, ginger and chilli. Cook for a further 3-4 minutes (depending on the size of the fillet), or until the flesh has turned opaque and flakes easily when poked with a pair of chopsticks or a fork.
Season with the soy sauce and sesame oil and spoon the sauce over the fish. Add the spring onion strips and chopped coriander and cook for 1-2 minutes, or until the herbs have wilted slightly.
To serve, transfer the fish to a serving plate and garnish with the wilted herbs. Spoon over the cooking juices from the pan and serve immediately with steamed rice or dressed wholewheat noodles and steamed asparagus and broccoli.


Authentication
Basic Authentication
The MongoDB C driver supports challenge response authentication (sometimes known as MONGODB-CR through the use of MongoDB connection URIs. Simply provide the username and password as you would with an HTTP URL as well as the database to authenticate against via authSource.
mongoc_client_t *client = mongoc_client_new ("mongodb://user:password@localhost/?authSource=mydb");
For more information on connection string URIs, see Connection String URI.
GSSAPI (Kerberos) Authentication
GSSAPI (Kerberos) authentication is available in the Enterprise Edition of MongoDB, version 2.4 and newer. To authenticate using GSSAPI you must first install the MongoDB C driver with SASL support.  GSSAPI authenticates against the $external virtual database so you do not have to specify a database in the URI:
mongoc_client_t *client;
client = mongoc_client_new ("mongodb://mongodbuser%40EXAMPLE.COM@example.com/?authMechanism=GSSAPI");
The kerberos principal must be url encoded.
The default service name used by MongoDB and the MongoDB C driver is mongodb. You can specify a custom service name with the gssapiServiceName option:
mongoc_client_t *client;
client = mongoc_client_new ("mongodb://mongodbuser%40EXAMPLE.COM@example.com/?authMechanism=GSSAPI&gssapiServiceName=myservicename");
Kerberos support is only provided in environments supported by the cyrus-sasl kerberos implementation. This currently limits support to UNIX-like environments.
If you see an error such as Invalid net address, you might be behind a NAT (Network Address Translation) firewall. In this case, you might need to create a ticket that uses forwardable and addressless Kerberos tickets. This can be done by passing -f -A to kinit.
$ kinit -f -A<EMAIL_ADDRESS>SASL Plain Authentication
MongoDB Enterprise Edition versions 2.5.0 and newer support the SASL PLAIN authentication mechanism, initially intended for delegating authentication to an LDAP server. Using the SASL PLAIN mechanism is very similar to MONGODB-CR. These examples use the $external virtual database for LDAP support:
SASL PLAIN is a clear-text authentication mechanism. We strongly recommend that you connect to MongoDB using SSL with certificate validation when using the PLAIN mechanism:
mongoc_client_t *client;
client = mongoc_client_new ("mongodb://user:password@example.com/?authMechanism=PLAIN&authSource=$external");
You must build MongoDB C driver with SASL support to use SASL PLAIN authentication.
X.509 Certificate Authentication
The MONGODB-X509 mechanism authenticates a username derived from the distinguished subject name of the X.509 certificate presented by the driver during SSL negotiation. This authentication method requires the use of SSL connections with certificate validation and is available in MongoDB 2.5.1 and newer:
mongoc_client_t *client;
mongoc_ssl_opt_t ssl_opts = { 0 };
ssl_opts.pem_file = "mycert.pem";
ssl_opts.pem_pwd = "mycertpassword";
ssl_opts.ca_file = "myca.pem";
ssl_opts.ca_dir = "trust_dir";
ssl_opts.weak_cert_validation = false;
client = mongoc_client_new ("mongodb://x509_derived_username@localhost/?authMechanism=MONGODB-X509");
mongoc_client_set_ssl_opts (client, &ssl_opts);
MONGODB-X509 authenticates against the $external database, so specifying a database is not required.
You must build MongoDB C driver with SSL support for X.509 authentication support.


THE LAST DAYS (M). (The Shoah Foundation/Palace) Documentary Director: James Moll Running time: 95 minutes.
Established by Steven Spielberg in 1994, the non-profit Survivors of the Shoah Visual History Foundation aims to record and document the stories of Holocaust survivors as part of a lasting record for future generations. Spielberg and director James Moll have already produced a couple of award winning tv documentaries. This remarkable and haunting Oscar winning documentary is the first feature film from the Foundation, and depicts the unique Hungarian experience.
In 1945, even when it became obvious that the war was lost, Hitler began a massive campaign to eradicate the Hungarian Jews. He directed enormous resources away from the Russian Front and assigned them the task of moving the Jewish population from the ghettos to the death camps, where they were systematically executed. Culled from intensive research and an exhaustive series of interviews, this moving, powerful and ultimately inspirational documentary tells the story of those horrific last days of the war through the eyes of five survivors.
The five survivors have gone on to lead fulfilling lives, devoted to humanitarian causes, and their inspirational stories deserve to be heard. Tom Lantos is now a US congressman; Renee Firestone is a teacher who educates school children on the Holocaust; artist Alice Lok Cahana uses art as a way of capturing her experiences; while businessman Bill Basch and Irene Zisblatt continue to share their experiences. Although they come from different backgrounds, they share stories of horror, sacrifice and extraordinary courage in intimate and painfully personal terms for the camera.
Moll eschews traditional narration here, intercutting between the various stories to dramatically reveal the full impact of their horrific experiences. Moll deliberately pushes a number of emotional buttons throughout the film, arousing audience sympathy for his subjects. He is aided by a highly emotive background score from Oscar winning composer Hans Zimmer.
As with the Oscar winning 1995 documentary Anne Frank Remembered, director Moll has taken some of the survivors back to the ruins of the camps to put their reminiscences into perspective. Some of them visibly break down on camera. It may be uncomfortable viewing for some, but it certainly makes for great drama. In one scene, a survivor actually confronts the Nazi doctor who performed experiments on her sister in the camps. But the most haunting and indelible images come from the previously unseen footage of the painfully thin and desiccated survivors of Dachau, taken by the US soldiers who liberated the notorious camp in 1945.
This intelligently constructed documentary tries to capture the grim extent of the unimaginable horror of these camps, but it is also a wonderfully uplifting testament to the resilience of the human spirit. The Last Days is one of the most powerful and memorable documentaries to hit our screens for some time.
**** greg king http://www.netau.com.au/gregking
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