How async should have been Your sync and async code can be identical, but still, can work differently. It is a matter of right abstractions. In this article, I will show how one can write sync code to run async programs in Python.
Develop, Preview, Test The rise of deploy previews and serverless testing infrastructure is revolutionizing the way we test web projects.
Model facts, not your problem domain When requirements change, an append-only data model of immutable facts is more useful than a mutable data model that models the problem domain.
Towards a New Leveraged ETF Part 3 · Sturm Mabie In the final installment of this three part series, we are going to use our results from the previous two posts to construct a fully automated variable leverage ETF. In part one, we derived the optimal leverage ratio for maximizing returns and in part two...
Steven Gerhardt-King - Asking a stranger to watch your stuff at Starbucks doesn't make any sense “Hey can you watch my stuff for a second?” – A person at Starbucks before they go to the bathroom For game theory reasons, asking one stranger at Starbucks to watch your laptop while you run off to the bathroom is a bad idea. Here’s what doing so presumes...
The Many Quirks of Qsort In 1973, the author of the C programming language Dennis Ritchie was such a fan of the quicksort algorithm that he decided to name the language’s sort function after it. In this post, …
And so it begins | Regressionist Today I am taking my first step toward building a quant hedge fund completely from scratch. I have no partners or intellectual property, and only enough savings to support my family for five years at our current burn rate. I know it will very likely not w...
Compressing Synapse database | Levans' workshop Anyone running a federating instance of the Matrix homeserver Synapse will likely have seen this: synapse is database-hungry. It tends to take a lot of space. In this post, I'm documenting how I shrunk my homeserver database from 100GB to a little under 8...
ECDSA: Handle with Care The elliptic curve digital signature algorithm (ECDSA) is a common digital signature scheme that we see in many of our code reviews. It has some desirable properties, but can also be very fragile. …
Framework for unit testing generators Framework for unit testing generators. GitHub Gist: instantly share code, notes, and snippets.
Learning about distributed systems: where to start? This is definitely not a "learn distributed systems in 21 days" post. I recommend a principled, from the foundations-up, studying of distrib...
How to make a good impression as a new grad engineer Any advice on how to make a good first impression to my manager and my team? I start Monday 😀
Mission Vimpossible I tried to use vim for the first time today. I’ve opened it a few times to read files, so the cursor navigation was familiar and after I think for a moment I can remember how to exit, but today was the first time I actively wanted to use it to modify a fi...
JuneteenthConf: Call for Speakers / Call for Papers (CfP) @ Sessionize.com Sessionize is the smart way to manage Call for Papers, Speakers and Agenda for your conference.
Introducing "Web Live Preview" | ASP.NET Blog If you work on any type of app that has a user interface (UI) you probably have experienced that inner-loop development cycle of making a change, compile and run the app, see the change wasn’t what you wanted, stop debugging, then re-run the cycle again.
How and why GraphQL will influence the SourceHut alpha sourcehut is a network of useful open source tools for software project maintainers and collaborators, including git repos, bug tracking, continuous integration, and mailing lists.
 Of course there’s some content and a facebook sharing button for every post.
Blazor RenderTree Explained Blazor is a new single page application (SPA) framework from Microsoft that relies on the .NET framework in favor of JavaScript. As part of its component development model, Blazor uses a DOM abstraction called a RenderTree. In this article we’ll learn abo...
Collations and case sensitivity - EF Core How to configure collations and case-sensitivity in the database and on queries
Collations and Case Sensitivity | Npgsql Documentation PostgreSQL is a case-sensitive database by default, but provides various possibilities for performing case-insensitive operations and working with collations. Unfortunately, full collation support is recent and somewhat incomplete, so you may need to care...
MIT, guided by open access principles, ends Elsevier negotiations Institute ends negotiations for a new journals contract in the absence of a proposal aligning with the MIT Framework for Publisher Contracts.
dotnet/pinvoke A library containing all P/Invoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS. - dotnet/pinvoke
Removing "Annoying" Windows 10 Features is a DMCA Violation, Microsoft Says * TorrentFreak Microsoft has hit Ninjutsu with a DMCA notice. The company argues that tweaking and disabling of Windows 10 features violates its license.
Cloudinary and React Hooks with Domitrius Clark (Live Stream) Domitrius Clark from Cloudinary joins to talk about using Cloudinary with React Hooks! Interested in exclusive content and discounts? Sign up for the newsletter! https://www.jamesqquick.com Live streams on Twitch - https://twitch.tv/jamesqquick Follow m...
HuffPost is now a part of Verizon Media HuffPost is part of Verizon Media. Click 'I agree' to allow Verizon Media and our partners to use cookies and similar technologies to access your device and use your data (including location) to understand your interests, and provide and measure personali...
Foxtana Pro - Redirect Cortana – Get this Extension for 🦊 Firefox (en-US) Download Foxtana Pro - Redirect Cortana for Firefox. Force Windows 10 and Cortana to use Firefox and your favorite search engine instead of Bing! This is the official port of Chrometana Pro for Firefox.
The Deficit Myth: Modern Monetary Theory and How to Build a Better Economy Hardcover – 9 Jun. 2020: Amazon.co.uk: Kelton, Stephanie:<PHONE_NUMBER>528: Books Buy The Deficit Myth: Modern Monetary Theory and How to Build a Better Economy Hardcover – 9 Jun. 2020 by Kelton, Stephanie (ISBN:<PHONE_NUMBER>528) from Amazon's Book Store. Everyday low prices and free delivery on eligible orders.
Home - The Amos Bursary We are the Amos Bursary and we exist to ensure talented men of Afro-Caribbean descent have the opportunity to excel in education and beyond Students Join the Amos Bursary Mentors Become a Mentor Business Partners Become a Business Partner News “,”nextArro...
Activists rally to save Internet Archive as lawsuit threatens site - Decrypt The non-profit Internet Archive removed lending restrictions on over a million books during the COVID-19 crisis. Now it's being sued by publishers.
 We all were.
Microsoft Regional Director (Trifecta) The photo up the top of this blog post was taken 259 days ago, 15 and a half thousand kilometres away in Budapest and with 1.3 billion records less in Have I Been Pwned. It was also taken in an environment that unbeknownst to all of us at the
Viewing AutoMapper Execution Plans with ReadableExpressions Waaaaaay back in (I think) v6, AutoMapper surfaced its mapping execution plans so you can look at them to see what happens when it maps one object to another...
Reddit Welcomes Michael Seibel to Board of Directors Today, we’re thrilled to announce that Michael Seibel will be joining Reddit’s Board of Directors. Seibel is Partner at Y Combinator and CEO of the YC startup accelerator program, which first helped launch Reddit in 2005. He’s also the cofounder of Justin...
How to implement Automapper in ASP.NET Core 3.1 | Pro Code Guide Automapper is a popular small library used in ASP.NET Core to map objects of dissimilar types without the need to write boring code to map each data member.
ASP.NET AJAX Control Toolkit v20.1.0 - Now Available As part of our ongoing commitment to the project, we’ve released an update (ASP.NET AJAX Control Toolkit v20.1.0) to address the following issues
PINETAB – 10.1″ Linux tablet with detached backlit keyboard – PINE Store Estimate dispatch in late July, 2020
await false & await true – TooSlowException Awaitables are the types on which await can be called. It happens due to “duck typing” – the only thing which makes type “awaitable” is an existence of the GetAwaiter() method that returns type implementing INotifyCompletion interface. That’s it.
How Do I Think About Async Code?! | Visual Studio Blog What's asynchronous code? When and why should you use it? Check out this intro to async code and how you can apply it to future programs!
Development With A Dot - ASP.NET Core OData Part 2 IntroductionThis is the second post on my series on using OData with ASP.NET Core 3. You can find the first here.QueryingWe’ve seen how we can expose an object model to OData. In the first post I …
Azure CLI - Interactive Mode - Azure Greg If you are using the Azure Portal to do some tasks it may be time to take a look at using the Azure CLI (Command Line Interface) as this can be a good way to learn to start automating some tasks. Handily the Azure CLI has an interactive mode. “You can use...
.NET Core June 2020 Updates – 2.1.19 and 3.1.5 | .NET Blog Today, we are releasing the .NET Core June 2020 Update. These updates contain security and reliability fixes. See the individual release notes for details on updated packages. Security CVE-2020-1108: .NET Core Denial of Service Vulnerability To comprehen...
Web API Versioning in ASP.NET Core 3.1 | Pro Code Guide Web API versioning in ASP.NET Core is a feature which allows to maintain multiple versions of API so that clients can work with the required version of API.
Police have been spying on black reporters and activists for years. I know because I’m one of them. I learned during a police surveillance trial that the Memphis Police Department spied on me and three other journalists.
Blazor vs React for Web Developers A comparison of Blazor and React when it comes to modern web development—a review of the pros and cons. Does Blazor stack up?
JUNETEENTH WORLD WIDE CELEBRATION Juneteenth is the oldest nationally celebrated commemoration of the ending of slavery in the United States. Dating back to 1865, it was on June 19th that the Union soldiers, led by Major ...
The Thrilling Tale of How Robert Smalls Seized a Confederate Ship and Sailed it to Freedom He risked his life to liberate his family and became a legend in the process
Writing a full-text search engine using Bloom filters - Stavros' Stuff Search engines and Bloom filters: A match made in heaven?
microsoft/terminal The new Windows Terminal and the original Windows console host, all in the same place! - microsoft/terminal
Why Tacit Knowledge is More Important Than Deliberate Practice What tacit knowledge is, and why it is the most interesting topic in the study of expertise today.
.NET Virtual User Group - Building Island Tracker – Xamarin, Functions, Table Storage, and More Seattle Mobile .NET User Group (https://www.meetup.com/SeattleMobileDevelopers) is kicking off our .NET Virtual User Group series with a talk from James Montemagno on how he built and developed his latest app Island Tracker for Animal Crossinng.
We are implementing a one-year moratorium on police use of Rekognition We’re implementing a one-year moratorium on police use of Amazon’s facial recognition technology. We will continue to allow organizations like Thorn, the International Center for Missing and Exploited Children, and Marinus Analytics to use Amazon Rekognit...
Inslee announces new investigation into death of Manuel Ellis | Governor Jay Inslee “I have become convinced that the Pierce County Sheriff should not complete the investigation of the death of Manuel Ellis and the county prosecutor should not review the investigation and make charging decisions.


To learn more about this course visit my site
02Geek
Mastering JavaScript Design Patterns
Change Me with JavaScript
This is a cyber chat.
References:
Wikipedia


This review is supplied by the DVD Future website! www.dvdfuture.com
Gods and Monsters Directed by Bill Condon Starring Ian McKellan, Brendan Fraser, Lynn Redgrave
`To a New World of gods and monsters!' – from James Whale's classic film, Bride of Frankenstein.
Some films are just so amazing that they have to be seen more than once. Gods and Monsters is one of those films.
This film is about the last few weeks of director James Whale's life (Frankenstein, Bride of Frankenstein, Showboat). It delves very deeply into his personal life and his past, showing his day to day routine after a stroke has destroyed a portion of his brain and is causing him to hallucinate. Of course, it's the revelations that occur during this process which make the movie so good.
The story is fictional, but based on real-life accounts of Whale's life. As far as anyone knows, Brendan Fraser's character is fictional, though Lynn Redgrave's character, Hanna, is based on Whale's real-life maid and caretaker, and of course several supporting characters are based in reality.
The film starts out by showing Whale as a dirty old man, interested only in getting young guests out of their clothes and into his pool in a state of nakedness. It immediately becomes apparent that this is not going to be an ordinary Point A to B to Z story as most Hollywood movies are. In this case, this is a very good thing.
The story weaves its web around you, slowly introducing those characters who are important, and through a series of flashbacks, hallucinations and monologues explains Whale's childhood and young adult years. This all helps to bring McKellan's character even more to life, and to bring sympathy to an otherwise misogynistic man. All the meanwhile, subplots are evolving and coming to a head in a brilliant climax which will remain unrevealed here.
Ian McKellan, Lynn Redgrave and Brendan Fraser all give great performances here. McKellan and Redgrave both have received Oscar nods for their work in this film (we'll see if they win on Sunday…), and both deserve to take home the Golden Boy.  I don't see it this way at all, since Fraser's character is completely believable. No, he's not an Oxford-educated snob, he's a regular joe, and he plays it that way. He also shows with a few simple gestures that there's a lot more going on under the surface. As the movie progresses, Fraser's character literally `bubbles' with interesting revelations, and this helps to keep the movie flowing. An absolutely stunning performance, and proof that there's more to this guy than Encino Man or George of the Jungle (though both are films which I enjoyed immensely, they hardly stretch his acting muscles). Unfortunately, Fraser still spends a lot of time in this movie with his clothes off…maybe in the Mummy he'll get to wear a shirt.
Needless to say, Bill Condon has impressed me with this film. I'm even more impressed when I consider that Condon's previous work is the little-seen horror flick sequel Candyman: Farewell to the Flesh. It's obvious that Condon sees a little bit of himself in James Whale, and allows that to reflect into his vision. The difference is, that whereas Whale is best remembered for his films which he didn't really care for, Condon will easily be remembered for brilliant works of art if this is to be his quality of film from now on. Of course, with him being such a close friend of Clive Barker, there is a very real possibility that he could end up back in the horror genre before long. With the right script, though, this could be a great thing for horror.
Until next time, go see a movie!
Ken Pierce Contributing Editor, www.dvdfuture.com
-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
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


|
Binding of Isaac - Afterbirth+ Lua Reference/Guide
|
Public Member Functions | |
| Font (void) | |
| boolean | Load (string FilePath) |
| Unload () | |
| boolean | IsLoaded () |
| DrawString (string String, float PositionX, float PositionY, KColor RenderColor, unsigned int BoxWidth, boolean Center) | |
| DrawStringScaled (string String, float PositionX, float PositionY, float ScaleX, float ScaleY, KColor RenderColor, unsigned int BoxWidth, boolean Center) | |
| Converts UTF8 to UTF16, then draws. More... | |
| DrawStringUTF8 (string String, float PositionX, float PositionY, KColor RenderColor, unsigned int BoxWidth, boolean Center) | |
| Unicode. More... | |
| DrawStringScaledUTF8 (string String, float PositionX, float PositionY, float ScaleX, float ScaleY, KColor RenderColor, unsigned int BoxWidth, boolean Center) | |
| Unicode. More... | |
| unsigned int | GetCharacterWidth (char Character) |
| unsigned int | GetBaselineHeight () |
| unsigned int | GetLineHeight () |
| unsigned int | GetStringWidth (string String) |
| unsigned int | GetStringWidthUTF8 (string String) |
| Unicode. More... | |
| SetMissingCharacter (u16 MissingCharacter) | |
| Font::Font | ( | void | ) |
| Font::DrawString | ( | string | String, |
| float | PositionX, | ||
| float | PositionY, | ||
| KColor | RenderColor, | ||
| unsigned int | BoxWidth, | ||
| boolean | Center | ||
| ) |
Draws a string of text to the screen
Notes: The BoxWidth and Center parameters can be used for aligning the text: If BoxWidth is zero, the text will be left aligned and the center parameter will be ignored If BoxWidth is NOT zero, and the Center parameter is FALSE, then the text will be right aligned inside the BoxWidth size If BoxWidth is NOT zero, and the center parameter is TRUE, then the text will be centered inside the BoxWidth size
| Font::DrawStringScaled | ( | string | String, |
| float | PositionX, | ||
| float | PositionY, | ||
| float | ScaleX, | ||
| float | ScaleY, | ||
| KColor | RenderColor, | ||
| unsigned int | BoxWidth, | ||
| boolean | Center | ||
| ) |
Converts UTF8 to UTF16, then draws.
| Font::DrawStringScaledUTF8 | ( | string | String, |
| float | PositionX, | ||
| float | PositionY, | ||
| float | ScaleX, | ||
| float | ScaleY, | ||
| KColor | RenderColor, | ||
| unsigned int | BoxWidth, | ||
| boolean | Center | ||
| ) |
Unicode.
| Font::DrawStringUTF8 | ( | string | String, |
| float | PositionX, | ||
| float | PositionY, | ||
| KColor | RenderColor, | ||
| unsigned int | BoxWidth, | ||
| boolean | Center | ||
| ) |
Unicode.
| unsigned int Font::GetBaselineHeight | ( | ) |
Get the number of pixels from the absolute top of the line to the base of the characters
| unsigned int Font::GetCharacterWidth | ( | char | Character | ) |
Returns the width of a specific character
| unsigned int Font::GetLineHeight | ( | ) |
Converts UTF8 to UTF16 and returns string width
Get the distance in pixels between each line of text
| unsigned int Font::GetStringWidth | ( | string | String | ) |
Unicode
Returns the width of a string
| unsigned int Font::GetStringWidthUTF8 | ( | string | String | ) |
Unicode.
| boolean Font::IsLoaded | ( | ) |
Returns whether we've loaded a font or not
| boolean Font::Load | ( | string | FilePath | ) |
Loads a font
| Font::SetMissingCharacter | ( | u16 | MissingCharacter | ) |
Converts UTF8 to UTF16, then draws
Sets the missing character to be used by the font (the character used when missing characters are encountered)
| Font::Unload | ( | ) |
Unloads all our data from memory


Back to templates
Dashboard
Page Heading
Page Subheading
Stuff
Some stuff about this stuff
| Name | Age | Sex | Location |
|---|---|---|---|
| Jake Fleming | 27 | M | Chicago, IL |
| Jake Fleming | 27 | M | Chicago, IL |
| Jake Fleming | 27 | M | Chicago, IL |
Stuff
Some stuff about this stuff
| Name | Age | Sex | Location |
|---|---|---|---|
| Jake Fleming | 27 | M | Chicago, IL |
| Jake Fleming | 27 | M | Chicago, IL |
Stuff
Some stuff about this stuff
| Name | Age | Sex | Location |
|---|---|---|---|
| Jake Fleming | 27 | M | Chicago, IL |
Stuff
Some stuff about this stuff
Nothing is here


--- layout: post title: Accessing Gmail from multiple pop clients tags: - Web - Work Practices status: publish type: post published: true meta: {} --- Gmail: Help Center - How should I use POP on mobile or multiple devices?
If you're accessing your Gmail using POP from multiple clients, Gmail's recent mode makes sure that all messages are made available to each clientUpdate Nov/2007: Gmail now supports imap, which would be a better choice than POP for most purposes. Use imap in preference to POP if you can and ignore the information in this post In Gmail default POP setup once a POP client has downloaded a message is no longer available to other clients :-(. I currently use my laptop, smartphone and occasionally an iMac for POP access to Gmail. I recently found this very brief documentation on using Gmail recent mode, which is claimed to fix this issue The documentation is not clear so my initial, experimental, set-up will be as follows: 1) Set my main laptop mail client to be in recent mode (Evolution), this has made it download 800 email again. I assume that is the only the first time 2) I will leave my smarphone in default mode so it only gets new email 3) I will probably make Mac mail start in recent mode as well. UpdatedAugust 2007: I 've made all my email clients use the<EMAIL_ADDRESS>format and it works well. Top tip. Delete all the gmail pop email from your client before you make the change as it all gets marked for download again and you end up with loads of duplicates.
Powered by ScribeFire.


Apache Sandesha2/C Documentation
Getting Started
Installation Guide
Manual
Sandesha2/C Manual
Additional References
Apache Axis2/C
AXIOM Tutorial
Coding Conventions in Axis2/C


Reset View Enter VR blockages geometry outlines slice(cell centered) slice(node centered) slice(geom) boundary particles << < Pause > >>


Abstract
We introduce LifeQA, a benchmark dataset for video question answering that focuses on day-to-day real-life situations. Current video question answering datasets consist of movies and TV shows. However, it is well-known that these visual domains are not representative of our day-to-day lives. Movies and TV shows, for example, benefit from professional camera movements, clean editing, crisp audio recordings, and scripted dialog between professional actors. While these domains provide a large amount of data for training models, their properties make them unsuitable for testing real-life question answering systems. Our dataset, by contrast, consists of video clips that represent only real-life scenarios. We collect 275 such video clips and over 2.3k multiple-choice questions. In this paper, we analyze the challenging but realistic aspects of LifeQA, and we apply several state-of-the-art video question answering models to provide benchmarks for future research.


Introduction
Welcome to the myTRS API! You can use our API to create registrants, and grab information about users and registrants on your myTRS event.
We have language bindings in Shell. You can view code examples in the dark area to the right.
Authentication
myTRS uses API keys to allow access to your data on the API. You can register a new myTRS API key by contact us at<EMAIL_ADDRESS>To authorize, use this code:
# With shell via GET access_token
curl https://app.my-trs.com/api/v1/registrations/1.json?access_token=<mytrs-api-key>
# With shell via HTTP Header
curl -IH "Authorization: Token token=<mytrs-api-key>" "api_endpoint_here"
Make sure to replace
<mytrs-api-key>
with your API key.
Registrations
Get All Registrations
curl "https://app.my-trs.com/api/v1/registrations.json"
-H "Authorization: Token token=<mytrs-api-key>"
The above command returns JSON structured like this:
[
{
"id":99302,
"registrant_type":null,
"checked_in_at":null,
"created_at":"03:45 PM on Tue, Feb 24th, 15",
"site_id": 3,
"client_id": 5,
"background_check_result": "Eligible",
"user":{
"id":35727,
"first_name":"Sarah",
"last_name":"Gret",
"custom_status": "Checked",
<EMAIL_ADDRESS>"address":{
"line1":"7929 Spooner Street",
"line2":"",
"city":"Indianapolis",
"state":"IN",
"zip_code":"46268",
"country":"US",
"phone":"317-444-9999",
"company_name":null
}
},
"custom_fields":[
{
"id": 5,
"name":"T-Shirt Size",
"value":"Small, Medium, Large, XLarge, XXLarge, XXXLarge"
}
],
"registration_items":[
{
"id":"t10016",
"name":"06:00 PM on Thu, Apr 16th, 15 to 07:30 PM on Thu, Apr 16th, 15 - Volunteer Training - ",
"registerable_type": "TimeSlot",
"checked_out": true,
"location": "Speedway",
"starts_at": "2018-04-01T16:02:13+03:00", # ISO 8601 string
"ends_at": "2018-08-01T16:02:13+03:00",
"activity_name": "Train the Trainer"
},
{
"id":"t9651",
"name":"Apr 25th, 2015 from 07:00 AM to 07:15 AM - Speedway Training ",
"registerable_type": "Activity",
"checked_out": false,
"location": nil, # nil unless registerable_type is `TimeSlot`
"starts_at": nil, # nil unless registerable_type is `TimeSlot`
"ends_at": nil, # nil unless registerable_type is `TimeSlot`
"activity_name": "Training Sessions v2"
}
]
}
]
...
curl "https://app.my-trs.com/api/v1/registrations.xml"
-H "Authorization: Token token=<mytrs-api-key>"
The above command returns XML structured like this:
<registrations type="array">
<registration>
<id type="integer">9950131231</id>
<registrant-type nil="true"/>
<checked-in-at nil="true"/>
<created-at type="dateTime">2015-02-24T15:45:45Z</created-at>
<user>
<id type="integer">35727</id>
<first-name>Sarah</first-name>
<last-name>Gret</last-name>
<EMAIL_ADDRESS><address>
<line1>7929 N. Spooner Street</line1>
<line2></line2>
<city>Indianapolis</city>
<state>IN</state>
<zip-code>46268</zip-code>
<country>US</country>
<phone>317-888-1144</phone>
<company-name nil="true"/>
</address>
</user>
<custom-fields type="array">
<custom-field>
<name>T-Shirt Size</name>
<value>Small, Medium, Large, XLarge, XXLarge, XXXLarge</value>
</custom-field>
</custom-fields>
<registration-items type="array">
<registration-item>
<id>t10016</id>
<name>06:00 PM on Thu, Apr 16th, 15 to 07:30 PM on Thu, Apr 16th, 15 - Volunteer Training - </name>
</registration-item>
<registration-item>
<id>t9651</id>
<name>Apr 25th, 2015 from 07:00 AM to 07:15 AM - Speedway Training - </name>
</registration-item>
</registration-items>
</registration>
...
HTTP REQUEST
This resource supports JSON and XML responses.
JSON GET https://app.my-trs.com/api/v1/registrations.json
XML GET https://app.my-trs.com/api/v1/registrations.xml
QUERY PARAMETERS
| Parameters | Type | Description | Example |
|---|---|---|---|
| site_id | optional | Filter results by a specific site | site_id=183 |
| optional | Filter results by a specific email address on the registration |<EMAIL_ADDRESS>|
|
| starts_at | optional | Filter results by a date range. If you use this, you also have to use ‘ends_at’ | starts_at=2015-02-1T12:00:00+00:00 |
| ends_at | optional | Filter results by a date range. If you use this, you also have to use 'starts_at’ | ends_at=2015-02-25T16:00:00+00:00 |
| updated_at_gteq | optional | Filter registrations by when they were last updated (start date). If you use this, you also have to use 'updated_at_lteq’ | updated_at_gteq=2015-02-1T12:00:00+00:00 |
| updated_at_lteq | optional | Filter registrations by when they were last updated (end date). If you use this, you also have to use 'updated_at_gteq’ | updated_at_lteq=2015-03-1T12:00:00+00:00 |
Get a Specific Registration
curl "https://app.my-trs.com/api/v1/registrations/1.json"
-H "Authorization: Token token=<mytrs-api-key>"
The above command returns JSON structured like this:
{
"id":1,
"registrant_type":"Current TRS Clients",
"checked_in_at": null,
"site_id": 3,
"client_id": 5,
"background_check_result": "Eligible",
"user":{
"id":22,
"first_name":"Homer",
"last_name":"Simpson",
"custom_status": "Checked",
<EMAIL_ADDRESS>"address":{
"line1":"742 Evergreen Terrace",
"line2":"Bldg B",
"city":"Springfield",
"state":"TX",
"zip_code":"22111",
"country":"US",
"phone":null,
"company_name":null
}
},
"custom_fields":[
{
"id": 581,
"name":"Organization/Company",
"value":"The Simpsons"
},
{
"id": 582,
"name":"TRS Client History",
"value":"1 Year"
},
{
"id": 588,
"name":"Registration Challenges",
"value":"n/a"
}
],
"registration_items":[
{
"id":"t10016",
"name":"06:00 PM on Thu, Apr 16th, 15 to 07:30 PM on Thu, Apr 16th, 15 - Volunteer Training - ",
"registerable_type": "TimeSlot",
"checked_out": true,
"location": "Speedway",
"starts_at": "2018-04-01T16:02:13+03:00", # ISO 8601 string
"ends_at": "2018-08-01T16:02:13+03:00",
"activity_name": "Train the Trainer"
},
{
"id":"t9651",
"name":"Apr 25th, 2015 from 07:00 AM to 07:15 AM - Speedway Training ",
"registerable_type": "Activity",
"checked_out": false,
"location": nil, # nil unless registerable_type is `TimeSlot`
"starts_at": nil, # nil unless registerable_type is `TimeSlot`
"ends_at": nil, # nil unless registerable_type is `TimeSlot`
"activity_name": "Training Sessions v2"
}
]
}
Custom fields are dynamically configured by the client and change depending on their site’s configuration.
The
background_check_result
field is only available for sites configured with Verified Volunteers Integration (https://www.verifiedvolunteers.com/)
HTTP Request
GET https://app.my-trs.com/api/v1/registrations/1.json
Query Parameters
| Parameter | Description |
|---|---|
| id | The ID of the registration to retrieve |
Find the Latest Registration Belonging to the Same User
Assuming you have two sites configured on your myTRS account, and the registrant you’re requesting has signed up for both. This action will return the newest registration regardless of which registration ID is provided. The response will also include the “requested_id” parameter if the registration returned is not the same one as the registration requested.
curl "https://app.my-trs.com/api/v1/registrations/1.json/latest"
-H "Authorization: Token token=<mytrs-api-key>"
The above command returns JSON structured like this:
{
"requested_id": 1,
"id": 2,
"registrant_type":"Current TRS Clients",
"checked_in_at": null,
"user":{
"id":522,
"first_name":"Homer",
"last_name":"Simpson",
"custom_status": "Checked",
<EMAIL_ADDRESS>"address":{
"line1":"742 Evergreen Terrace",
"line2":"Bldg B",
"city":"Springfield",
"state":"TX",
"zip_code":"22111",
"country":"US",
"phone":null,
"company_name":null
}
},
"custom_fields":[
{
"id": 581,
"name":"Organization/Company",
"value":"The Simpsons"
},
{
"id": 582,
"name":"TRS Client History",
"value":"1 Year"
},
{
"id": 588,
"name":"Registration Challenges",
"value":"n/a"
}
],
"registration_items":[
{
"id":"t10016",
"name":"06:00 PM on Thu, Apr 16th, 15 to 07:30 PM on Thu, Apr 16th, 15 - Volunteer Training - ",
"registerable_type": "TimeSlot",
"checked_out": true,
"location": "Speedway",
"starts_at": "2018-04-01T16:02:13+03:00", # ISO 8601 string
"ends_at": "2018-08-01T16:02:13+03:00",
"activity_name": "Train the Trainer"
},
{
"id":"t9651",
"name":"Apr 25th, 2015 from 07:00 AM to 07:15 AM - Speedway Training ",
"registerable_type": "Activity",
"checked_out": false,
"location": nil, # nil unless registerable_type is `TimeSlot`
"starts_at": nil, # nil unless registerable_type is `TimeSlot`
"ends_at": nil, # nil unless registerable_type is `TimeSlot`
"activity_name": "Training Sessions v2"
}
]
}
HTTP Request
GET https://app.my-trs.com/api/v1/registrations/1.json/latest
URL Parameters
| Parameter | Description |
|---|---|
| ID | The ID of the registration to retrieve |
Update Registrant’s Check-In Time
This will update the checked_in_at field with the current datetime. Once the checked_in_at has been set for a registration, it cannot be changed. Consecutive requests will be ignored and return a 409 Conflict response code.
curl "https://app.my-trs.com/api/v1/registrations/1.json/check_in"
-H "Authorization: Token token=<mytrs-api-key>"
The above command returns JSON structured like this:
{
"id":1,
"registrant_type":"Current TRS Clients",
"checked_in_at": "2014-10-01T13:55:54.000Z",
"user":{
...
HTTP Request
PUT https://app.my-trs.com/api/v1/registrations/1.json/check_in
URL Parameters
| Parameter | Description |
|---|---|
| ID | The ID of the registration to check in |
Create a User & Registration Combo
This endpoint allows you to create a combination of a user and registration. “Users” on myTRS are individuals that can sign up to multiple events under the same client. The benefits of being a user allow pre-population of address information when registering for an event. A “Registration” represents a single user sign up on a specific site. The registration includes activities and time slots that the user signed up for.
A site_id is required to ensure that both a user and registration can be created. The authenticated URL provided back allows you to redirect the user in a “logged in” state and send them directly to select their activities.
Custom Fields
myTRS clients can build custom fields as part of their site. They’re often used to collect extra information from registrants on sign up.
If your myTRS site includes custom fields, you can pre-fill these values for registrants by passing in a “custom_fields” object where the key represents the exact field name, and the value is the field value you want to enter for this registrant.
Authenticated URLs
The “authenticated_url” parameter above provides a one-time use address that will log your newly created registrant in and allow them to select activities. If your token has expired, you can request a new one by re-POSTING to the above endpoint with an existing email address.
curl -X POST -H "Content-Type: application/json" "https://app.my-trs.com/api/v1/registrations?access_token=<mytrs-api-key>" -d '{
"create_user": "true",
"registration": {
"site_id": 1,
"registrant_type_name": "Attendees"
},
"user": {
"email"<EMAIL_ADDRESS>"first_name": "Peter",
"last_name": "Griffin"
},
"address": {
"line1": "123 Spooner Street",
"city" : "Boston",
"state": "MA",
"country": "US",
"zip_code": "02314"
},
"custom_fields": {
"T-Shirt Size": "Medium",
"Hat Size": "X-Large"
},
"return_authenticated_url": "true"
}'
The above command returns JSON structured like this:
{
"user": {
"client_id": 1,
"id": 34572,
"email"<EMAIL_ADDRESS>"created_at": "2015-02-18T14:56:34.000Z",
"updated_at": "2015-02-18T14:56:34.000Z",
"first_name": "Peter",
"last_name": "Griffin",
"invitation_token": null,
"invitation_created_at": null,
"invitation_sent_at": null,
"invitation_accepted_at": null,
"invitation_limit": null,
"invited_by_id": null,
"invited_by_type": null,
"invitations_count": 0,
"group_leader": false
},
"authenticated_url": "https://test.my-trs.com/select_activities?auth_token=xszL4DjnrjfiFyeQAshn"
}
HTTP Request
POST https://app.my-trs.com/api/v1/registrations?access_token=<mytrs-api-key>
URL Parameters
| Parameter | Description | Required? |
|---|---|---|
| create_user | Whether to create a user or not | Yes (must pass in true) |
| registration -> site_id | The TRS site ID to create this registration for | Yes |
| user -> email | User’s email address | Yes |
| user -> first_name | User’s first name | Yes |
| user -> last_name | User’s last name | Yes |
| address -> line1 | User’s street address 1 | site-dependent |
| address -> line2 | User’s street address 2 | site-dependent |
| address -> city | User’s address city | site-dependent |
| address -> state | User’s address state code (ex: NY) | site-dependent |
| address -> country | User’s address country code (ex: US) | site-dependent |
| address -> zip_code | User’s address 5 digit zip code | site-dependent |
| custom_fields | A key/value collection of custom fields and values for this registrant | No |
Sites
Get All Sites for the Current Client
curl "https://app.my-trs.com/api/v1/sites.json"
-H "Authorization: Token token=<mytrs-api-key>"
The above command returns JSON structured like this:
[
{
"id":5,
"subdomain": "mytrswebinars",
"client_id":1,
"site_groups":[
{
"id": "5",
"name": "Group A"
},
{
"id": "7",
"name": "Group B"
}
]
},
{
"id":8,
"subdomain": "mytrs",
"client_id":1,
"site_groups": [
{
"id": "5",
"name": "Group A"
},
{
"id": "7",
"name": "Group B"
}
]
}
]
HTTP REQUEST
This resource supports returning all sites and associated site groups belonging to the current client. The current client is determined based on your API token.
JSON GET https://app.my-trs.com/api/v1/sites.json
QUERY PARAMETERS
n/a
Errors
The Kittn API uses the following error codes:
| Error Code | Meaning |
|---|---|
| 400 | Bad Request – Your request sucks |
| 401 | Unauthorized – Your API key is wrong |
| 403 | Forbidden – The kitten requested is hidden for administrators only |
| 404 | Not Found – The specified kitten could not be found |
| 405 | Method Not Allowed – You tried to access a kitten with an invalid method |
| 406 | Not Acceptable – You requested a format that isn’t json |
| 410 | Gone – The kitten requested has been removed from our servers |
| 418 | I’m a teapot |
| 429 | Too Many Requests – You’re requesting too many kittens! Slow down! |
| 500 | Internal Server Error – We had a problem with our server. Try again later. |
| 503 | Service Unavailable – We’re temporarially offline for maintanance. Please try again later. |


ON THE RESTAURANT VERSUS KITCHEN: What a dope analogy.
Are you a customer, ordering off a menu, expecting to get what you think you paid for? Or are you in the kitchen, experimenting and creating with your own two hands? For the last 6 weeks (or however long since I was accepted in DBC) I've been wishing and hoping that it'll be early enough for me to have influence and have a voice but expecting it to be already somewhat rigid and set in stone. I love the small startup feel in that you get hired to be a part of the evolution, not to be a cog in the wheel. Am I nervous? Sorta kinda maybe...but in the best way possible. I know that I will definitely sit into that consumer seat from time to time but I am genuinely eager to be in a melting pot with a bunch of other crazies who decided to take a leap and change things up in their lives.
ON FEAR: Of course I have fears.
I suffer from the imposter syndrome. I don't know if it's because I'm a woman or because I care too much about what other people think about me or maybe it's just a normal insecurity that anyone might have. Regardless, I've been focusing on personal growth a lot in the past several years and specifically, on killing this feeling that I might not know what I'm doing or talking about. A learning environment like DBC will really test how much progress I've made in this area. After all, I really am an imposter! I have no idea how to program and a lot of my peers already scoff at the idea that any bootcamp can teach someone how to program in a handful of months (or less). I will be tested technically and intellectually, and if I really want to learn, I better just admit that I'm an imposter up front so that I can fill in the gaps in my knowledge and stop being an imposter. Then, say one years from now, when I'm no longer an imposter, that I stop asking myself if I'm still one.
One of the biggest reasons why I left my last job is the same reason why I chose to join Dev Bootcamp over the many other competing learn-to-be-a-programmer-bootcamps: culture. It is incredibly important to me; it means everything to me. The work I do must be meaningful but it is more important that the relationships I have with the people I work with be meaningful. I am really excited to be a part of a community that values the same things as me, and realize my dreams of becoming a software developer at the same time.


a70
|
||||||
|
|
|
674
22 1000
Here are some of the attributes of a well-performing host-based system:
Of course, all installations are unique; you may have different criteria for what is important.
Terminal-Based ChecklistAs with client/server computing, it is important with terminal or host-based computing to look at the efficiency of the entire system. Any single component can drag down the system performance. Look at each component as an individual contributor to the entire system. By minimizing resources used in the application code, the effect of the reduction is multiplied by the number of users simultaneously using this code. Here is another checklist of items that may indicate whether you have a well-tuned system:
Later chapters examine how to determine whether some of these things are problems and how to fix them if they are. Batch ComputingBatch computing refers to large jobs that take a significant amount of time and that typically arent accessed in an interactive manner. Response times can be minutes or even hours. Depending on the application, there may be large amounts or very small amounts of data returned. Usually, batch jobs consist of two phases: the batch loading and the batch processing. In both phases, processing time should be optimized. What determines a well-tuned batch-processing system? The system should be optimized for load time as well as for batch processing. If the system is dedicated to batch processing, OLTP queries may see significant increases in response times. The system should load and process data in the required time periods. The system should be CPU bound. The system should be able to transfer large amounts of data effectively over the network or through removable storage as specified by the application. If large amounts of data are to be moved across the network, you should ec1 ensure that the network does not become a bottleneck. If necessary, install faster network hardware or segment the network to have a dedicated connection between the batch system and the loading system. If this is not possible, schedule the activity at a time when it least affects other users on the network. You may also be able to break the data into pieces for transfer or employ alternative methods such as tape. Because the job in batch-processing systems is to move large amounts of data in, process that data, and move the results out, backup and recovery may not be important considerations. But remember that if all the input data is saved, you can always rerun the job to achieve the same results. A well-tuned system can effectively handle these bursts of activity. A major difference between an OLTP system and a batch system is thatusuallythe OLTP system has a constant workload; the batch system has bursts of activity. Batch-Processing ChecklistBatch-processing systems are different from OLTP systems in that they must be able to handle the loading of large volumes of data and process large amounts of data in bursts. Typically, there are only certain time windows in which this processing can take place. Concern for response time is replaced by concern for processing times that can take minutes or hours to complete. In a batch-processing system, the checklist for a well-tuned system is much shorter:
This book examines how to determine whether some of these things are problems and how to fix them if they are. ExceptionsI always find it interesting to look at some of the cases that are exceptions to the typical way most systems operate. The following sections describe some of the systems that handle things a little differently.
|
| 6fc |
|


The lexical analyzer for SassScript. It takes a raw string and converts it to individual tokens that are easier to parse.
A struct containing information about an individual token.
`type`: [`Symbol`] : The type of token.
`value`: [`Object`] : The Ruby object corresponding to the value of the token.
`line`: [`Fixnum`] : The line of the source file on which the token appears.
`offset`: [`Fixnum`] : The number of bytes into the line the SassScript token appeared.
A hash from operator strings to the corresponding token types. @private
A list of operator strings ordered with longer names first so that `>` and `<` don’t clobber `>=` and `<=`. @private
A hash of regular expressions that are used for tokenizing. @private
@param str [String, StringScanner] The source text to lex @param line [Fixnum] The line on which the SassScript appears.
Used for error reporting
@param offset [Fixnum] The number of characters in on which the SassScript appears.
Used for error reporting
# File lib/sass/script/lexer.rb, line 72 72: def initialize(str, line, offset, filename) 73: @scanner = str.is_a?(StringScanner) ? str : StringScanner.new(str) 74: @line = line 75: @offset = offset 76: @filename = filename 77: @prev = nil 78: end
@return [Boolean] Whether or not there’s more source text to lex.
# File lib/sass/script/lexer.rb, line 98 98: def done? 99: whitespace unless after_interpolation? 100: @scanner.eos? && @tok.nil? 101: end
# File lib/sass/script/lexer.rb, line 189 189: def after_interpolation? 190: @prev && @prev.type == :end_interpolation 191: end
# File lib/sass/script/lexer.rb, line 139 139: def begin_interpolation 140: @scanner.scan 141: end
# File lib/sass/script/lexer.rb, line 160 160: def bool 161: return unless s = @scanner.scan(REGULAR_EXPRESSIONS[:bool]) 162: [:bool, Script::Bool.new(s == 'true')] 163: end
# File lib/sass/script/lexer.rb, line 150 150: def color 151: return unless @scanner.scan(REGULAR_EXPRESSIONS[:color]) 152: value = if @scanner[4] 153: color =<EMAIL_ADDRESS>154: else 155: (1..3).map {|i| @scanner[i]}.map {|num| num.ljust(2, num).to_i(16)} 156: end 157: [:color, Script::Color.new(value)] 158: end
# File lib/sass/script/lexer.rb, line 181 181: def current_position 182: @offset + @scanner.pos + 1 183: end
# File lib/sass/script/lexer.rb, line 129 129: def ident 130: return unless s = @scanner.scan(REGULAR_EXPRESSIONS[:ident]) 131: [:ident, s.gsub(/\\(.)/, '\1')] 132: end
# File lib/sass/script/lexer.rb, line 185 185: def last_match_position 186: current_position - @scanner.matched_size 187: end
# File lib/sass/script/lexer.rb, line 143 143: def number 144: return unless @scanner.scan(REGULAR_EXPRESSIONS[:number]) 145: value = @scanner[2] ? @scanner[2].to_f : @scanner[3].to_i 146: value = -value if @scanner[1] 147: [:number, Script::Number.new(value, Array(@scanner[4]))] 148: end
# File lib/sass/script/lexer.rb, line 165 165: def op 166: prev_chr =<EMAIL_ADDRESS>- 1].chr 167: return unless op = @scanner.scan(REGULAR_EXPRESSIONS[:op]) 168: if @prev && op == '-' && prev_chr !~ /\s/ && 169: [:bool, :ident<EMAIL_ADDRESS>170: warn(DEPRECATION WARNING:On line #{@line}, character #{last_match_position}#{" of '#{@filename}'" if @filename}- will be allowed as part of variable names in version 3.0.Please add whitespace to separate it from the previous token.) 171: end 172: 173: [OPERATORS[op]] 174: end
# File lib/sass/script/lexer.rb, line 105 105: def read_token 106: return if done? 107: 108: value = token 109: unless value 110: raise SyntaxError.new("Syntax error in<EMAIL_ADDRESS>at character #{current_position}.") 111: end 112: Token.new(value.first, value.last, @line, last_match_position) 113: end
# File lib/sass/script/lexer.rb, line 134 134: def string(start_char = '"') 135: return unless @scanner.scan(/#{start_char}#{REGULAR_EXPRESSIONS[:string_end]}/) 136: [:string, Script::String.new(@scanner[1].gsub(/\\([^0-9a-f])/, '\1').gsub(/\\([0-9a-f]{1,4})/, "\\\\\\1"))] 137: end
# File lib/sass/script/lexer.rb, line 119 119: def token 120: return string('') if after_interpolation? 121: variable || string || number || color || bool || op || ident 122: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.


Lian Group is a team of professionals building long-term infrastructure for institutional participation in the technology ecosystem.
We invest, build markets, connect community, manage deals and innovate to make the vision reality.
Bypassing traditional structures
We offer direct private equity investment opportunities on a deal by deal basis to family offices, private bank, UHNWI and managed on their behalf as a general partner.
We have built a team of talented, dedicated professionals to provide our investors with attractive solutions that leverage deep expertise and experience, global industry relationships and local knowledge.
Our in-depth sector expertise puts us in a unique position to identify, value and provide opportunities in niche sectors.
Securing Commercial Real Estate Deals
We expose our partners to bespoke, exclusive, high-yielding investment opportunities, designed with a short-term horizon to drive income and capital returns.
We focus on our partner's requirements aligning our real estate activity with family offices to foster multi-generational wealth preservation.
Our securitization vehicle is unique: It allows highly liquid real estate investments in a competitive tax framework.
Bridging the gap between investors and entrepreneurs
We invest in sustainable and mature technologies sourced from top tier investment bank for the purpose of accelerating the growth of the financial ecosystem.
Our model does not rely on a portfolio diversification strategy, we invest in fewer deals solely within our areas of expertise in order to fully unlock intrinsic value of each investment.
By making investment decisions based on individual deals, we are free from artificial size, time or structural constraints, allowing us greater flexibility.
We finance the development of Blockchain labs in top tier university and build out a hub for developers. We recruit and train top tier talents.
We create and facilitate the discussion and interest in blockchain projects through organising conferences and meet ups in the community.
We assist companies to build uses cases to improve their efficiency. Opening up and sharing the technology by developing a licensing business model.


RT @newrelic: Introducing X-Ray Sessions for our #Ruby customers. Learn more as we x-ray the x-rays: http://bit.ly/19PSqPq
10/15/2013, 1:03:10 PM
Favs: 0
Retweets: 0
link--- layout: tweet ---
RT @newrelic: Introducing X-Ray Sessions for our #Ruby customers. Learn more as we x-ray the x-rays: http://bit.ly/19PSqPq
10/15/2013, 1:03:10 PM
Favs: 0
Retweets: 0
link


This is a short braindump, while I was near the code. I'm not sure if I forget everything after six months.
We choose Yii as the framework. We looked at Symfony, but we didn't liked it very much: The documenation was kind of verbose, yet leaving questions. The somehow useful - but then again too intruding split between frontend and backend, and mostly the too nested directory structure turned us off. We like yaml, but there were too many things, we didn't understand. We looked at microframeworks briefly, also later in the process, but gluephp looked a little too bare.
So Yii. What we basically wanted was a request abstraction, some reasonable routing, maybe an auth component, form validation with CSRF protection built-in and some active record cake over the database.
Yii comes with all that. It also does not force one into the frontend/backend decision, even though we have an "AdminController" which serves as our backend interface. Basically a Yii app starts in a short 40 line long "index.html" which mainly loads some configuration. We have a few of configurations now, a sqlite3 and mysql development version and a production version. Now this is the only sensitive part of the app, so it's excluded from VC. DB connection, routing, filters, logging, language are defined there. "index.html" finally "runs" the application, which means it finds a route, calls the appropriate controller, if allowed, and continues to the template. Simple.
Yii has built-in support for auth, but we don't use it - at least not fully, we do take advantage of WebUser and UserIDentity components, even tough the remain pretty default. We only have one explicit user, which is admin. So all we do is check before each request, if the user has the role "admin". In "Controller", the base class of all our specific controllers, there is a simple function "filterAdminOnly", which will raise 404, if the view is protected and the user isn't admin. 403 Forbidden would be more appropriate, but this way, we can mask the existence of any "admin" interface.
We have a manageable set of controllers: Admin, Api, Job, List, Site, Stats, Ukey.
Admin takes care of the task for our admin user: Creating jobs, Publish user-generated offers. That's basically it
Api is not yet there as I write this, but it will be a full-blown RO-API which will enable us to script againts the database. I'm thinking of some standalone statistics scripts, which generate some data, metadata or aggregated information about the kind of content the site offers. This is the part I like most. We have an early incarnation of this via /docs/embed.html, basically our "homepage" view "job/index" accepts a parameter, "v", indicating the kind of interface, which is expected by the client: browser, embed or json. Data and parameters stay the same, json just looks much nicer. A short script for a command line jobboard client was fun to write, even though the fun only lasted a few hours or less. Api should be focussed on the machine-machine stuff.
Job controller is takes draft, makes listings, makes queries, views jobs or downloads attachments.
List is stats, as far as we get without queueing and cron. Just list some stuff, cities, companies, for the moment.
Site just provides us with a login view and a sitemap for google, which get generated on each request - if has a special route, directly to /sitemap.xml as it is custom.
Stats is our non-evil asnyc tracking. Viewing the stats is horrendously slow, since we tackle all the almost 100K rows in our tracking table, but we will introduce something if it gets unbearable (namely a key-value cache in the DB)
Now Ukey is the last to the party. If manages the heavily stripped down admin for the employer, without logins and password but with UUIDs, which aren't built in PHP we learned, so we offer them as part of our "helpers/Util" agglutination.
We use jquery, but not the one shipped with Yii, but our own. And for that we need to explicitly disable the asset, which happens in layouts/v2/main.php.
Oh yes, layouts: We missed template inheritance in the beginning. Yii comes with a layout, which has a drop-in point where the rendered view gets placed. Just that one. But fortunately, it provides a renderPartial function, which mitigates the missing TI. The layout we use is actually under v2 because we had a quite large version jump in the early life of the portal, were we just completely redesigned the view. This was v2. Now this still lives on in /css and /images as well. It not nice, and it will be changed, when the time comes, so maybe never.
Now how do we deal with the models? ... TBC


Toggle navigation
Menu
Learner
Home
Profile
Logout
Username
Contributor
Learner
Overview
Account Settings
Tasks
Help
Contributed Topics :
header
owner
Latest from followed Teachers:
header
owner


I've been messing around with all sorts of variations of Pi and rfm and have had intermittent connection issues, i.e. loss of packets etc.
Anyway, recently I noticed when I was stripping down one of the systems because of some long drop outs of data, that the rfm was actually sitting on the Pi connector at an angle. The reason for this was that the wire from the rfm module which is particularly thick, was forcing the module to sit at an angle when the Pi case was on.
So basically, putting the system into a Pi case was forcing the rfm module to sit at an angle due to the aerial wire.
It occurred to me that if the shop changed their build procedures and connected the aerial wire from the underside of the board, instead of the top side, this wouldn't be an issue.
Since I've moved the system and made sure that the rfm is seated correctly I haven't had any issues at all.
Trystan, Glyn, this would be an easy change and may possibly be the cause of some of the issues that have been seen recently with regard to comm drop outs. As you can imagine, it's easy to put everything together, make sure it's working, then put the Pi into a case and not realise that the rfm is not sitting squarely.
Simon
Re: aerial position on rfm modules and pi case physical interference
What do you mean by 'not sitting square'? Does your RFM module look like this?
Re: aerial position on rfm modules and pi case physical interference
I believe Simon is referring to the emonBase, and how the RFM69Pi module is at an angle on the Pi's GPIO connector.
On my emonBase, I've sanded down the solder on the bottom of the RFM69Pi module where the antenna wire attaches and put some electrical tape on it, just so it won't make contact with any of the other GPIO pins.
I've also bent the wire and put it completely inside the Pi case, because for my application, the emonTXes are directly next to it.
[That's how I read it too, emonBase, ie Raspberry Pi + RFM__Pi, NOT emonPi - RW]
Re: aerial position on rfm modules and pi case physical interference
It's a very valid point. This photo is of a spare module, and you can see how close it is to the Pi's GPIO pins (is it touching?)
On my working system, I used a dremel to grind the protruding wire down on the RFM69Pi to give some clearance, but I'm aware that others have snipped the GPIO pin.
Paul
Re: aerial position on rfm modules and pi case physical interference
I used a dremel to grind the protruding wire down on the RFM69Pi to give some clearance
Cutters like these work well too.
Re: aerial position on rfm modules and pi case physical interference
Interesting! I hadn't even thought of the protrusion of the aerial wire below the board catching on the pi header.
My issue is with the case forcing the rfm module to sit at an angle due to the low clearance between the case and the thick aerial wire.
I'm not home right now but will put things back together and take a photo to show what I mean. And this is for an emonbase not emonpi.
Simon
Re: aerial position on rfm modules and pi case physical interference
So finally managed to take a photo.
This is an rfm69 on a pi B. The case is pretty opaque, so I've only included a photo with the top off. I have an rfm12 as well but this doesn't have the same issue. The difference between them is that the 12 has a multi core aerial wire while the 69 has a solid core wire which is pretty chunky, so doesn't give and therefore forces the module down at the aerial end.
Anyway here's the photo after I've taken the case lid off.
Re: aerial position on rfm modules and pi case physical interference
I see what you mean, I had the same problem until I drilled a small hole in the case top and pulled the aerial wire up through it.
It improved my signal strength too!
Paul
Re: aerial position on rfm modules and pi case physical interference
Hi Paul, sadly my case was so opaque I didn't notice until I took the system down.
I think this should be one of the list of standard things to check if folks are having comms dropout when using an emonbase.
1 make sure that there is enough power to the system, especially if you are using a USB HDD.
2 check that the rfm module is seated correctly even when the case lid has been put on. A remedy for a stiff wire forcing the module down on one side is a hole in the case for the aerial. Also make sure the aerial wire on the underside of the board isn't making contact with the hat connector.
3......


Source code for structure
from ase.io import gen
import pandas as pd
import numpy as np
from ase.geometry.analysis import Analysis
[docs]def getslab(struct):
"""
Input:
struct: structre from which we will trim unbound species (.gen file)
Output:
baseslab: structure with unbound species trimmed
"""
adjmat = Analysis(struct).adjacency_matrix[0]
numnodes = adjmat.shape[0]
g = Graph(numnodes)
for i in range(numnodes):
for j in range(numnodes):
if adjmat[i,j]:
g.addEdge(i,j)
cc = g.connectedComponents()
maingraph = np.array([i for i in cc if 0 in i][0])
return struct[[atom.index for atom in struct if atom.index in maingraph]]
# Python program to print connected
# components in an undirected graph
# https://www.geeksforgeeks.org/connected-components-in-an-undirected-graph/
[docs]def getslabs(data, directory, useInputs = False):
"""
Utility for getting and writing slab files from readData (utils.py) function
data is the df from readData function or any df with (struct, in) and (struct, out) columns
"""
if useInputs:
slabSource = data['struct']['in']
else:
slabSource = data['struct']['out']
dataDir = directory
slabs = {}
# # to generate slabs
for key, value in slabSource.iteritems():
slabs[key] = getslab(value)
for key, value in slabs.items():
gen.write_gen(dataDir + "slab{}.gen".format(key), value)
# to read slabs
for key in data.index:
slabs[key] = gen.read_gen(dataDir + "slab{}.gen".format(key))
if useInputs:
data.loc[:, ('struct', 'inslab')] = pd.Series(slabs)
else:
data.loc[:, ('struct', 'outslab')] = pd.Series(slabs)
class Graph:
# init function to declare class variables
def __init__(self, V):
self.V = V
self.adj = [[] for i in range(V)]
def DFSUtil(self, temp, v, visited):
# Mark the current vertex as visited
visited[v] = True
# Store the vertex to list
temp.append(v)
# Repeat for all vertices adjacent
# to this vertex v
for i in self.adj[v]:
if visited[i] == False:
# Update the list
temp = self.DFSUtil(temp, i, visited)
return temp
# method to add an undirected edge
def addEdge(self, v, w):
self.adj[v].append(w)
self.adj[w].append(v)
# Method to retrieve connected components
# in an undirected graph
def connectedComponents(self):
visited = []
cc = []
for i in range(self.V):
visited.append(False)
for v in range(self.V):
if visited[v] == False:
temp = []
cc.append(self.DFSUtil(temp, v, visited))
return cc
# This code is contributed by Abhishek Valsan


Instructions
- Slide Mouse or press left arrow,right arrow to control the paddle.
- Press P to pause the game , press P again to resume.
- Each brick needs three hit to be completely destroyed.
- Click on Easy,Medium,Hard button to set ball speed.
- Click Start button to play.


Rules:
Ping pong will count up to your number from 1 with the following exceptions;
Created by:TAYO CARL__BeachBoulevard.github.io


#set( $pageTitle = "FBConnect Test" )
#parse( "include/top.htm" )
#set( $fbAppID = $FB.FBAppID )
#set( $fbConnected = $FB.isConnected() )
#if( ! $fbConnected )
#set( $fbPerms = "publish_stream,create_event,rsvp_event,sms,offline_access,email,read_stream,user_birthday,friends_birthday,user_likes,friends_likes,user_location,friends_location,user_notes,friends_notes,user_online_presence,friends_online_presence,user_photos,friends_photos,user_relationships,friends_relationships,user_status,friends_status,read_friendlists,read_requests" )
#set( $fbPerms = "email,user_birthday,user_likes,user_activities,user_status,user_photos,friends_birthday,friends_likes,friends_activities,friends_status,publish_actions" )
#else
logout
FBSR Cookie: $FB.parseFBSRCookie()
Access Token: $FB.AccessToken
#end


group10 package¶
Subpackages¶
Submodules¶
group10.EA module¶
-
class
group10.EA.
EA
(min_function, bounds, p_size)¶ Bases:
object
Differential Evolution algorithm to obtain the solution that allows us to obtain the minimum value of a function
-
best
()¶ Get the best genome of the population
- Returns:
(component.Genome): the best genome
-
run
(iteration)¶ Resolve the min_function with iteration times
- Args:
iteration (int): Number of generation
-
group10.component module¶
-
class
group10.component.
Genome
(solution, min_function, bounds)¶ Bases:
object
Class to represent a genome
-
property
bounds
¶ Get the limits of the solution
- Returns:
[(float, float),]: Bounds of solution
-
property
fitness
¶ Get the fitness value of how good is the genome as solution of the problem
- Returns:
int: Quantification of how good the solution is
-
property
solution
¶ solution value
- Returns:
numpy.array: solution
-
property
-
class
group10.component.
Population
(min_function, bounds, p_size, random=False)¶ Bases:
object
Class to represent a population of genome
-
append
(genome)¶ Add new genome at the end of the list
- Args:
genome (component.Genome): New genome
-
property
best_index
¶ Get the best genome index
- Returns:
Int: Index of best genome
-
property
size
¶
-
sort
(descend=False)¶ Sort the genomes depending on fitness
- Args:
descend (bool, optional): Descend or ascend sort
-
property
worst_index
¶ Get a worst genome index
- Returns:
int: Index of the worst genome
-


Magister Mirien:
You are in danger of getting hurt! You have done well up to now, but are headed for disaster.
May I suggest that you return after some more education. When you are ready I'll let you go on to the next trial.


Hello there, I am an amateur programmer and you somehow happened to stumble upon my website! This GitHub pages site hosts PanelStudio stuff, an online logo generator I made and a ForgeGradle patch.
Check out my Maven repo, GitHub or browse the contents of this webpage!
An extensible and customizable GUI API/library to create ClickGUIs, HUDEditors and TabGUIs designed for use in Minecraft utility mods.
Create your very own lukflug-like logo and stop messaging me about this!
Patch for ForgeGradle 2.1-SNAPSHOT, 2.2-SNAPSHOT and 2.3-SNAPSHOT that accomodates the recent Forge Maven repository entrypoint change.


- main(String[]) - Static method in class org.jfree.chart.demo.BarChartDemo1
-
Starting point for the demonstration application.
- main(String[]) - Static method in class org.jfree.chart.demo.PieChartDemo1
-
Starting point for the demonstration application.
- main(String[]) - Static method in class org.jfree.chart.demo.TimeSeriesChartDemo1
-
Starting point for the demonstration application.
- main(String[]) - Static method in class org.jfree.chart.JFreeChart
-
Prints information about JFreeChart to standard output.
- MAJOR - Static variable in class org.jfree.chart.axis.TickType
-
Major tick.
- makeTickLabel(double, boolean) - Method in class org.jfree.chart.axis.LogarithmicAxis
-
Converts the given value to a tick label string.
- makeTickLabel(double) - Method in class org.jfree.chart.axis.LogarithmicAxis
-
Converts the given value to a tick label string.
- mapDatasetToAxes(int, List) - Method in class org.jfree.chart.plot.PolarPlot
-
Maps the specified dataset to the axes in the list.
- mapDatasetToAxis(int, int) - Method in class org.jfree.chart.plot.PolarPlot
-
Maps a dataset to a particular axis.
- mapDatasetToDomainAxes(int, List) - Method in class org.jfree.chart.plot.CategoryPlot
-
Maps the specified dataset to the axes in the list.
- mapDatasetToDomainAxes(int, List) - Method in class org.jfree.chart.plot.XYPlot
-
Maps the specified dataset to the axes in the list.
- mapDatasetToDomainAxis(int, int) - Method in class org.jfree.chart.plot.CategoryPlot
-
Maps a dataset to a particular domain axis.
- mapDatasetToDomainAxis(int, int) - Method in class org.jfree.chart.plot.XYPlot
-
Maps a dataset to a particular domain axis.
- mapDatasetToRangeAxes(int, List) - Method in class org.jfree.chart.plot.CategoryPlot
-
Maps the specified dataset to the axes in the list.
- mapDatasetToRangeAxes(int, List) - Method in class org.jfree.chart.plot.XYPlot
-
Maps the specified dataset to the axes in the list.
- mapDatasetToRangeAxis(int, int) - Method in class org.jfree.chart.plot.CategoryPlot
-
Maps a dataset to a particular range axis.
- mapDatasetToRangeAxis(int, int) - Method in class org.jfree.chart.plot.XYPlot
-
Maps a dataset to a particular range axis.
- mapDatasetToScale(int, int) - Method in class org.jfree.chart.plot.dial.DialPlot
-
Maps a dataset to a particular scale.
- mapKeyToGroup(Comparable, Comparable) - Method in class org.jfree.data.KeyToGroupMap
-
Maps a key to a group.
- mapToLastCycle - Variable in class org.jfree.chart.axis.CyclicNumberAxis.CycleBoundTick
-
Map to last cycle.
- Marker - Class in org.jfree.chart.plot
-
The base class for markers that can be added to plots to highlight a value
or range of values.
- Marker() - Constructor for class org.jfree.chart.plot.Marker
-
Creates a new marker with default attributes.
- Marker(Paint) - Constructor for class org.jfree.chart.plot.Marker
-
Constructs a new marker.
- Marker(Paint, Stroke, Paint, Stroke, float) - Constructor for class org.jfree.chart.plot.Marker
-
Constructs a new marker.
- MarkerAxisBand - Class in org.jfree.chart.axis
-
A band that can be added to a number axis to display regions.
- MarkerAxisBand(NumberAxis, double, double, double, double, Font) - Constructor for class org.jfree.chart.axis.MarkerAxisBand
-
Constructs a new axis band.
- markerChanged(MarkerChangeEvent) - Method in interface org.jfree.chart.event.MarkerChangeListener
-
Receives notification of a marker change event.
- markerChanged(MarkerChangeEvent) - Method in class org.jfree.chart.plot.Plot
-
Receives notification of a change to a marker that is assigned to the
plot.
- MarkerChangeEvent - Class in org.jfree.chart.event
-
- MarkerChangeEvent(Marker) - Constructor for class org.jfree.chart.event.MarkerChangeEvent
-
Creates a new MarkerChangeEvent
instance.
- MarkerChangeListener - Interface in org.jfree.chart.event
-
The interface that must be supported by classes that wish to receive
notification of changes to a
Marker
.
- MatrixSeries - Class in org.jfree.data.xy
-
Represents a dense matrix M[i,j] where each Mij item of the matrix has a
value (default is 0).
- MatrixSeries(String, int, int) - Constructor for class org.jfree.data.xy.MatrixSeries
-
Constructs a new matrix series.
- MatrixSeriesCollection - Class in org.jfree.data.xy
-
Represents a collection of
MatrixSeries
that can be used as a
dataset.
- MatrixSeriesCollection() - Constructor for class org.jfree.data.xy.MatrixSeriesCollection
-
Constructs an empty dataset.
- MatrixSeriesCollection(MatrixSeries) - Constructor for class org.jfree.data.xy.MatrixSeriesCollection
-
Constructs a dataset and populates it with a single matrix series.
- MAX_INTERIOR_GAP - Static variable in class org.jfree.chart.plot.PiePlot
-
The maximum interior gap (currently 40%).
- MAX_INTERIOR_GAP - Static variable in class org.jfree.chart.plot.SpiderWebPlot
-
The maximum interior gap (currently 40%).
- MAXIMUM_TICK_COUNT - Static variable in class org.jfree.chart.axis.ValueAxis
-
The maximum tick count.
- MAXIMUM_YEAR - Static variable in class org.jfree.data.time.Year
-
The maximum year value.
- maxZ - Variable in class org.jfree.chart.plot.ColorPalette
-
Deprecated.
The max z-axis value.
- MeanAndStandardDeviation - Class in org.jfree.data.statistics
-
A simple data structure that holds a mean value and a standard deviation
value.
- MeanAndStandardDeviation(double, double) - Constructor for class org.jfree.data.statistics.MeanAndStandardDeviation
-
Creates a new mean and standard deviation record.
- MeanAndStandardDeviation(Number, Number) - Constructor for class org.jfree.data.statistics.MeanAndStandardDeviation
-
Creates a new mean and standard deviation record.
- MeterInterval - Class in org.jfree.chart.plot
-
An interval to be highlighted on a
MeterPlot
.
- MeterInterval(String, Range) - Constructor for class org.jfree.chart.plot.MeterInterval
-
Creates a new interval.
- MeterInterval(String, Range, Paint, Stroke, Paint) - Constructor for class org.jfree.chart.plot.MeterInterval
-
Creates a new interval.
- MeterNeedle - Class in org.jfree.chart.needle
-
The base class used to represent the needle on a
CompassPlot
.
- MeterNeedle() - Constructor for class org.jfree.chart.needle.MeterNeedle
-
Creates a new needle.
- MeterNeedle(Paint, Paint, Paint) - Constructor for class org.jfree.chart.needle.MeterNeedle
-
Creates a new needle.
- MeterPlot - Class in org.jfree.chart.plot
-
A plot that displays a single value in the form of a needle on a dial.
- MeterPlot() - Constructor for class org.jfree.chart.plot.MeterPlot
-
Creates a new plot with a default range of 0
to
100
and no value to display.
- MeterPlot(ValueDataset) - Constructor for class org.jfree.chart.plot.MeterPlot
-
Creates a new plot that displays the value from the supplied dataset.
- MIDDLE - Static variable in class org.jfree.chart.axis.AxisLabelLocation
-
Axis label at the middle.
- MIDDLE - Static variable in class org.jfree.chart.axis.CategoryAnchor
-
Middle of period.
- MIDDLE - Static variable in class org.jfree.chart.axis.DateTickMarkPosition
-
Middle of period.
- MIDDLE - Static variable in class org.jfree.data.time.DynamicTimeSeriesCollection
-
Useful constant for controlling the x-value returned for a time period.
- MIDDLE - Static variable in class org.jfree.data.time.TimePeriodAnchor
-
Middle of period.
- MiddlePinNeedle - Class in org.jfree.chart.needle
-
A needle that is drawn as a pin shape.
- MiddlePinNeedle() - Constructor for class org.jfree.chart.needle.MiddlePinNeedle
-
- MILLISECOND - Static variable in class org.jfree.chart.axis.DateTickUnit
-
- MILLISECOND - Static variable in class org.jfree.chart.axis.DateTickUnitType
-
Millisecond.
- millisecond - Variable in class org.jfree.chart.axis.SegmentedTimeline.Segment
-
A reference point within the segment.
- Millisecond - Class in org.jfree.data.time
-
Represents a millisecond.
- Millisecond() - Constructor for class org.jfree.data.time.Millisecond
-
Constructs a millisecond based on the current system time.
- Millisecond(int, Second) - Constructor for class org.jfree.data.time.Millisecond
-
Constructs a millisecond.
- Millisecond(int, int, int, int, int, int, int) - Constructor for class org.jfree.data.time.Millisecond
-
Creates a new millisecond.
- Millisecond(Date) - Constructor for class org.jfree.data.time.Millisecond
-
Constructs a new millisecond using the default time zone.
- Millisecond(Date, TimeZone) - Constructor for class org.jfree.data.time.Millisecond
-
- Millisecond(Date, TimeZone, Locale) - Constructor for class org.jfree.data.time.Millisecond
-
Creates a millisecond.
- MINIMUM_HEIGHT_TO_DRAW - Static variable in class org.jfree.chart.plot.Plot
-
The minimum height at which the plot should be drawn.
- MINIMUM_WIDTH_TO_DRAW - Static variable in class org.jfree.chart.plot.Plot
-
The minimum width at which the plot should be drawn.
- MINIMUM_YEAR - Static variable in class org.jfree.data.time.Year
-
The minimum year value.
- MinMaxCategoryRenderer - Class in org.jfree.chart.renderer.category
-
Renderer for drawing min max plot.
- MinMaxCategoryRenderer() - Constructor for class org.jfree.chart.renderer.category.MinMaxCategoryRenderer
-
Default constructor.
- MINOR - Static variable in class org.jfree.chart.axis.TickType
-
Minor tick.
- MINUTE - Static variable in class org.jfree.chart.axis.DateTickUnit
-
- MINUTE - Static variable in class org.jfree.chart.axis.DateTickUnitType
-
Minute.
- Minute - Class in org.jfree.data.time
-
Represents a minute.
- Minute() - Constructor for class org.jfree.data.time.Minute
-
Constructs a new Minute, based on the system date/time.
- Minute(int, Hour) - Constructor for class org.jfree.data.time.Minute
-
Constructs a new Minute.
- Minute(Date) - Constructor for class org.jfree.data.time.Minute
-
Constructs a new instance, based on the supplied date/time and
the default time zone.
- Minute(Date, TimeZone) - Constructor for class org.jfree.data.time.Minute
-
- Minute(Date, TimeZone, Locale) - Constructor for class org.jfree.data.time.Minute
-
Constructs a new Minute, based on the supplied date/time and timezone.
- Minute(int, int, int, int, int) - Constructor for class org.jfree.data.time.Minute
-
Creates a new minute.
- MINUTE_SEGMENT_SIZE - Static variable in class org.jfree.chart.axis.SegmentedTimeline
-
Defines a one-minute segment size in ms.
- minZ - Variable in class org.jfree.chart.plot.ColorPalette
-
Deprecated.
The min z-axis value.
- ModuloAxis - Class in org.jfree.chart.axis
-
An axis that displays numerical values within a fixed range using a modulo
calculation.
- ModuloAxis(String, Range) - Constructor for class org.jfree.chart.axis.ModuloAxis
-
Creates a new axis.
- MONTH - Static variable in class org.jfree.chart.axis.DateTickUnit
-
- MONTH - Static variable in class org.jfree.chart.axis.DateTickUnitType
-
Month.
- Month - Class in org.jfree.data.time
-
Represents a single month.
- Month() - Constructor for class org.jfree.data.time.Month
-
Constructs a new Month, based on the current system time.
- Month(int, int) - Constructor for class org.jfree.data.time.Month
-
Constructs a new month instance.
- Month(int, Year) - Constructor for class org.jfree.data.time.Month
-
Constructs a new month instance.
- Month(Date) - Constructor for class org.jfree.data.time.Month
-
Constructs a new Month
instance, based on a date/time and
the default time zone.
- Month(Date, TimeZone) - Constructor for class org.jfree.data.time.Month
-
- Month(Date, TimeZone, Locale) - Constructor for class org.jfree.data.time.Month
-
Creates a new Month
instance, based on the specified time,
zone and locale.
- MonthDateFormat - Class in org.jfree.chart.axis
-
A formatter that formats dates to show the initial letter(s) of the month
name and, as an option, the year for the first or last month of each year.
- MonthDateFormat() - Constructor for class org.jfree.chart.axis.MonthDateFormat
-
Creates a new instance for the default time zone.
- MonthDateFormat(TimeZone) - Constructor for class org.jfree.chart.axis.MonthDateFormat
-
Creates a new instance for the specified time zone.
- MonthDateFormat(Locale) - Constructor for class org.jfree.chart.axis.MonthDateFormat
-
Creates a new instance for the specified time zone.
- MonthDateFormat(TimeZone, int) - Constructor for class org.jfree.chart.axis.MonthDateFormat
-
Creates a new instance for the specified time zone.
- MonthDateFormat(Locale, int) - Constructor for class org.jfree.chart.axis.MonthDateFormat
-
Creates a new instance for the specified time zone.
- MonthDateFormat(TimeZone, Locale, int, boolean, boolean) - Constructor for class org.jfree.chart.axis.MonthDateFormat
-
Creates a new formatter.
- MonthDateFormat(TimeZone, Locale, int, boolean[], DateFormat) - Constructor for class org.jfree.chart.axis.MonthDateFormat
-
Creates a new formatter.
- mouseClicked(MouseEvent) - Method in class org.jfree.chart.ChartPanel
-
Receives notification of mouse clicks on the panel.
- mouseDragged(MouseEvent) - Method in class org.jfree.chart.ChartPanel
-
Handles a 'mouse dragged' event.
- mouseEntered(MouseEvent) - Method in class org.jfree.chart.ChartPanel
-
Handles a 'mouse entered' event.
- mouseExited(MouseEvent) - Method in class org.jfree.chart.ChartPanel
-
Handles a 'mouse exited' event.
- mouseMoved(MouseEvent) - Method in class org.jfree.chart.ChartPanel
-
Implementation of the MouseMotionListener's method.
- mousePressed(MouseEvent) - Method in class org.jfree.chart.ChartPanel
-
Handles a 'mouse pressed' event.
- mouseReleased(MouseEvent) - Method in class org.jfree.chart.ChartPanel
-
Handles a 'mouse released' event.
- moveCursor(double, RectangleEdge) - Method in class org.jfree.chart.axis.AxisState
-
Moves the cursor outwards by the specified number of units.
- moveIndexToEnd() - Method in class org.jfree.chart.axis.SegmentedTimeline.Segment
-
Moves the index of this segment to the end of the segment.
- moveIndexToStart() - Method in class org.jfree.chart.axis.SegmentedTimeline.Segment
-
Moves the index of this segment to the beginning if the segment.
- moveTo(GeneralPath, double, double) - Static method in class org.jfree.chart.renderer.xy.AbstractXYItemRenderer
-
Utility method delegating to Path2D.Float.moveTo(double, double)
taking double as
parameters.
- MovingAverage - Class in org.jfree.data.time
-
A utility class for calculating moving averages of time series data.
- MovingAverage() - Constructor for class org.jfree.data.time.MovingAverage
-
- MultiplePiePlot - Class in org.jfree.chart.plot
-
- MultiplePiePlot() - Constructor for class org.jfree.chart.plot.MultiplePiePlot
-
Creates a new plot with no data.
- MultiplePiePlot(CategoryDataset) - Constructor for class org.jfree.chart.plot.MultiplePiePlot
-
Creates a new plot.
- MultipleXYSeriesLabelGenerator - Class in org.jfree.chart.labels
-
A series label generator for plots that use data from
an
XYDataset
.
- MultipleXYSeriesLabelGenerator() - Constructor for class org.jfree.chart.labels.MultipleXYSeriesLabelGenerator
-
Creates an item label generator using default number formatters.
- MultipleXYSeriesLabelGenerator(String) - Constructor for class org.jfree.chart.labels.MultipleXYSeriesLabelGenerator
-
Creates a new series label generator.
- MultiValueCategoryDataset - Interface in org.jfree.data.statistics
-
A category dataset that defines multiple values for each item.


Kristen Bell uses her Frozen character to diffuse conflict between her daughters
by Nick Fitzgerald
Whenever her daughters are acting up, all Kristen has to do is get her kids to think of how the sisters in Frozen would handle conflict
Kristen Bell has revealed a handy trick on how she breaks up arguments between her daughters Delta, 4, and Lincoln, 6.
The actress, who voices Princess Anna in both Frozen and Frozen 2, told People she gets her kids to think about sisters Anna and Elsa when they are arguing.
Lucky for Bell, both Delta and Lincoln are big big fans of Frozen, and, because Bell is directly involved in the films she has leverage.
Speaking to People, the 39-year-old actress said:
“I will go like, ‘Well, Elsa would have never said that to Anna,'"
"Literally! I’ll go, ‘What do you think Anna and Elsa would do about wanting to share this toy?'.
“That’s the power of story, right?” said Bell.
Surprisingly, her daughters favourite character is not Anna. Instead, it's Elsa, voiced by Idina Menzel.
According to Bell, her kids were not overly swayed by Frozen when they first watched it. Eventually though, the pair became hooked like the masses.
“When they first saw 'Frozen' they liked it, but didn’t love it. And I find that so funny because I think it’s in your DNA to reject your parents.
"So they like it very much and they do sometimes dress as the characters, but I think that’s also because it’s culturally sort of a phenomenon. Like their friends dress as the characters. But it’s funny now more recently they’ve gotten more into it," concluded Bell.


Master index
Index for tefame\analisis\fft
Matlab files in this directory:
DFT
FDESPL1M
NLFIT
PSD
respfrec
Generated by
m2html
© 2005


Localizing the HTC Vive Tracker
Project to develop a software package to derive a 6 DoF pose of the HTC Vive Tracker.
Using a CNN to Predict the Presence of Lung Cancer
Exploring the parameters of convolutional neural networks to create an accurate image classifier.
Object Recognition with Baxter
Implementation of the Bag of Words method for object recognition.
Estimating Odometry Using Optical Flow
Using optical flow and an extended Kalman filter to generate more accurate odometry of a Jackal robot.
Baxter Pick and Place
Worked with a team to program a Baxter robot to play the Shell Game using the Robot Operating System.
Shape Stream
Shape Stream is a cross-platform mobile game for Android and iOS created in Java. The game was released in April 2016 and has over 400 total downloads.


There are many different ways of creating a quiz using JavaScript. As always with programming the first step should be to identify the problems you need to solve. Fundamentally they are as follows:
We’ll tackle each problem one by one. This is a good way to tackle programming questions, as you can search for sample code that solves each problem.
In this part we’ll look at how to create a way for users to input information (answers to questions).
There are two basic ways to take inputs from users:
A prompt window is a window which pops up on the user’s computer. They are more commonly referred to as ‘pop up windows’.
A prompt window specifically asks for something, however - such as a password, or name. This information is then normally used by the script to do something (take them to another page, or generate a greeting, for example).
If you want to create a prompt window you use something in JavaScript called the prompt method.
This is normally combined with creating a variable to store whatever the user enters in the prompt window.
Here, for example, is some typical JavaScript which does just that:
var userChoice = prompt('What is your name?');
The code above has two parts: to the left of the equals operator, the first part - var userChoice =
- creates a variable called userChoice.
The second part, to the right of the equals operator, generates a prompt window for the user to enter something.
The equals operator assigns the value entered in the prompt window to the variable, so it can be used elsewhere in the script.
To create the prompt window the script uses the prompt method. The prompt method has one parameter: the message that the window contains: 'What is your name?'
When the script runs on the HTML page, a popup window will appear prompting the user to enter some text or numbers. Whatever they enter will be stored in that variable (userChoice
).
You could do all sorts of things with that variable: test it against correct answers or a correct password, use it in calculations, use it to generate greetings (such as ‘Hello Paul!’), and so on.
This tutorial, from the online book JavaScript and jQuery, uses a prompt window. The tutorials on Codecademy tend to use prompt windows as well.
The problem with the prompt window, however, is that it’s not the most pleasant way to conduct a quiz. Popup alerts are normally associated with computer problems and annoying adverts.
For that reason, although I’ve explained what the prompt method is (because you will most likely come across tutorials which use it) we are not going to use the prompt method. We need to find a better way.
Unlike a prompt window, a form sits within the webpage itself. It is also written in HTML, not JavaScript (the JavaScript then interacts with the form in the same way that it can interact with other HTML elements).
Dive Into HTML5 has a chapter on forms which provides a useful introduction to coding forms in HTML. Take some time to go through that…
OK, done? Here are some key points to remember:
<form>
tag.<form>
and </form>
tags you will need a way for the user to input information, and a way for them to submit it.<input>
tag. type=
attribute. <input type="text">
, for example, specifies a text field.name=
attribute. There are many more ways for people to input information, including:
<input type="checkbox">
<input type="email">
<input type="radio">
<input type="range">
You can find a list in the ‘Attribute values’ table on this page
The chapter on forms from *Dive Into HTML5 explains how these different types work on browsers and mobile phones. For example, the “date” type creates a small calendar; “time” creates buttons for you to increase and decrease times (“number” can do the same). Specifying “email” or “url” determines the keyboard that iPhone brings up to help you type. You can even create a colour picker. Also see this overview on HTML5 Rocks*
The name
attribute is like a variable: it basically assigns whatever is entered in that field to that variable. So <input name="age">
will take whatever is inputted in that field and put it in the variable age
.
Buttons to submit the information are created with the same <input>
tag but the type="submit"
attribute and value. For example, <input type="submit">
.
You can also label the button with the value=
attribute. For example <input type="submit" value="Submit">
puts ‘Submit’ on the button, while <input type="submit" value="Search">
puts ‘Search’ on the button.
The HTML for a simple form which asks a question, provides a box to answer, and a button to submit, would look like this:
<form>

What is the capital of Wales?

<input type="text" name="question1">
<input type="submit" value="Submit">
</form>
If your answer was numerical you could change the type as follows:
<form>

What is 2+2?

<input type="number" name="question1">
<input type="submit" value="Submit">
</form>
And if you wanted a multiple choice question you could use the “radio” type like so. Note that you also need to label the boxes with some text:
<form>

Which of the follow is spelt correctly?

<input type="radio" name="question1" value="They cocked their hats">They cocked their hats

<input type="radio" name="question1" value="They cocked they're hats">They cocked they're hats

<input type="radio" name="question1" value="They cocked there hats">They cocked there hats

<input type="submit" value="Submit">
</form>
You need to add some text after the HTML for the radio box so people know what they’re ticking. The “value” attribute is invisible to the user and indeed could be abbreviated in the above example to “their” in the first answer, and so on, as the value is only what you’re recording.
In the next part of this tutorial we’ll look at how to test a user’s answers and change the webpage in response to those.


NavController
For examples on the basic usage of NavController, check out the Navigation section of the Component docs.
NavController is the base class for navigation controller components like
Nav
and Tab
. You use navigation controllers
to navigate to pages in your app. At a basic level, a
navigation controller is an array of pages representing a particular history
(of a Tab for example). This array can be manipulated to navigate throughout
an app by pushing and popping pages or inserting and removing them at
arbitrary locations in history.
The current page is the last one in the array, or the top of the stack if we think of it that way. Pushing a new page onto the top of the navigation stack causes the new page to be animated in, while popping the current page will navigate to the previous page in the stack.
Unless you are using a directive like NavPush, or need a specific NavController, most times you will inject and use a reference to the nearest NavController to manipulate the navigation stack.
Injecting NavController
Injecting NavController will always get you an instance of the nearest NavController, regardless of whether it is a Tab or a Nav.Behind the scenes, when Ionic instantiates a new NavController, it creates an injector with NavController bound to that instance (usually either a Nav or Tab) and adds the injector to its own providers. For more information on providers and dependency injection, see Providers and DI.
// class NavController
this.providers = Injector.resolve([
provide(NavController, {useValue: this})
]);
Instead, you can inject NavController and know that it is the correct navigation controller for most situations (for more advanced situations, see Menu and Tab).
class MyComponent {
constructor(nav: NavController) {
this.nav = nav;
}
}
Page creation
For more information on the@Page
decorator see the @Page API
reference.
Pages are created when they are added to the navigation stack. For methods like push(), the NavController takes any component class that is decorated with @Page as its first argument. The NavController then compiles that component, adds it to the DOM in a similar fashion to Angular's DynamicComponentLoader, and animates it into view.
By default, pages are cached and left in the DOM if they are navigated away
from but still in the navigation stack (the exiting page on a push()
for
example). They are destroyed when removed from the navigation stack (on
pop() or setRoot()).
Lifecycle events
Lifecycle events are fired during various stages of navigation. They can be defined in any@Page
decorated component class.
@Page({
template: 'Hello World'
})
class HelloWorld {
onPageLoaded() {
console.log("I'm alive!");
}
}
onPageLoaded
- Runs when the page has loaded. This event only happens once per page being created and added to the DOM. If a page leaves but is cached, then this event will not fire again on a subsequent viewing. TheonPageLoaded
event is good place to put your setup code for the page.onPageWillEnter
- Runs when the page is about to enter and become the active page.onPageDidEnter
- Runs when the page has fully entered and is now the active page. This event will fire, whether it was the first load or a cached page.onPageWillLeave
- Runs when the page is about to leave and no longer be the active page.onPageDidLeave
- Runs when the page has finished leaving and is no longer the active page.onPageWillUnload
- Runs when the page is about to be destroyed and have its elements removed.onPageDidUnload
- Runs after the page has been destroyed and its elements have been removed.
NavController class
exported from ionic/ionic
defined in ionic/components/nav/nav-controller.ts (line 10)
## Members
push(componentType, params, opts)
TODO
| Param | Type | Details |
|---|---|---|
| componentType |
TODO
|
TODO |
| params |
TODO
|
TODO |
| opts |
TODO
|
TODO |
- Returns:
Promise
TODO
pop(opts)
TODO
| Param | Type | Details |
|---|---|---|
| opts |
TODO
|
TODO |
- Returns:
Promise
TODO
popToRoot(opts)
Pop to the root view.
| Param | Type | Details |
|---|---|---|
| opts |
extra animation options |
insert(componentType, index)
Inserts a view into the nav stack at the specified index.
| Param | Type | Details |
|---|---|---|
| componentType |
TODO
|
TODO |
| index |
TODO
|
TODO |
- Returns:
Promise
TODO
remove(index)
Removes a view from the nav stack at the specified index.
| Param | Type | Details |
|---|---|---|
| index |
TODO
|
TODO |
- Returns:
Promise
TODO
setViews(components, opts)
Set the view stack to reflect the given component classes.
| Param | Type | Details |
|---|---|---|
| components |
TODO
|
TODO |
| opts |
TODO
|
TODO |
- Returns:
Promise
TODO
setRoot(componentType, params, opts)
TODO
| Param | Type | Details |
|---|---|---|
| componentType |
TODO
|
TODO |
| params |
TODO
|
TODO |
| opts |
TODO
|
TODO |
- Returns:
Promise
TODO
transition(enteringView, leavingView, opts, callback)
TODO
| Param | Type | Details |
|---|---|---|
| enteringView |
TODO
|
TODO |
| leavingView |
TODO
|
TODO |
| opts |
TODO
|
TODO |
| callback |
Function
|
TODO |
- Returns:
any
TODO
loadPage()
isSwipeBackEnabled(val)
TODO
| Param | Type | Details |
|---|---|---|
| val |
TODO
|
TODO |
- Returns:
TODO
TODO
canSwipeBack()
If it’s possible to use swipe back or not. If it’s not possible
to go back, or swipe back is not enable then this will return false.
If it is possible to go back, and swipe back is enabled, then this
will return true.
- Returns:
boolean
canGoBack()
Returns true
if there’s a valid previous view that we can pop back to.
Otherwise returns false.
- Returns:
boolean
navbarViewContainer(nbContainer)
TODO
| Param | Type | Details |
|---|---|---|
| nbContainer |
TODO
|
TODO |
- Returns:
TODO
TODO
anchorElementRef()
TODO
- Returns:
TODO
TODO
getActive()
TODO
- Returns:
TODO
TODO
getByIndex(index)
TODO
| Param | Type | Details |
|---|---|---|
| index |
TODO
|
TODO |
- Returns:
TODO
TODO
getPrevious(view)
TODO
| Param | Type | Details |
|---|---|---|
| view |
TODO
|
TODO |
- Returns:
TODO
TODO
getStagedEnteringView()
TODO
- Returns:
TODO
TODO
getStagedLeavingView()
TODO
- Returns:
TODO
TODO
first()
First view in this nav controller’s stack. This would
not return an view which is about to be destroyed.
- Returns:
TODO
TODO
last()
Last view in this nav controller’s stack. This would
not return an view which is about to be destroyed.
- Returns:
TODO
TODO
indexOf(view)
TODO
| Param | Type | Details |
|---|---|---|
| view |
TODO
|
TODO |
- Returns:
TODO
TODO
length()
Number of sibling views in the nav controller. This does
not include views which are about to be destroyed.
- Returns:
TODO
TODO
instances()
TODO
- Returns:
TODO
TODO
isActive(view)
TODO
| Param | Type | Details |
|---|---|---|
| view |
TODO
|
TODO |
- Returns:
TODO
TODO
isStagedEntering(view)
TODO
| Param | Type | Details |
|---|---|---|
| view |
TODO
|
TODO |
- Returns:
TODO
TODO
registerRouter(router)
TODO
| Param | Type | Details |
|---|---|---|
| router |
TODO
|
TODO |


|
Paul
Rosenberg
(Eminem) |
|
Em,
it's Paul...
  You're gonna get yourself on trouble.