Trevor Noah unpacks fifth Democratic debate, especially Joe Biden's egregious word choice
by Shannon ConnellanThe Democrats have wrapped up their fifth 2020 presidential candidate debate at Tyler Perry Studios in Atlanta, and Trevor Noah jumped in straight afterwards to highlight the most awkward bits.
But especially Joe Biden's... uh... bad, bad, bad word choice when discussing legislation aiming to end violence against women.
"No man has a right to raise a hand to a woman in anger, other than in self-defense and that's rarely ever occurred. And so we have to just change the culture. Period. And keep punching at it and punching at it and punching at it," Biden said.
"What are you doing? What are you doing, Joe?" said an almost speechless Noah.
"The only way he can recover from that is if he just starts making bad word choices his 'thing'. You know? He just needs to dig deeper, just be like, 'We need to get right to the heart of the drug epidemic, I'm saying get deep in the veins of the drug problem and when we do it it's gonna feel so good.'"


@@jl777c@dukeleto nspv running on Samsung Galaxy S9, sock Android OS, no Rooted OS!
CC @ca333@Mylo
4
5
1
@SHossain
HTML is not as cool on mobile screen, but it can be improved I think
CMaurice13-Aug-19 10:37 PM
yepyep, might even be worth ui just for mobile
SHossain13-Aug-19 10:37 PM
This is great. Can't wait to test this on my phone when I'm back home.
Great job!
grewalsatinder13-Aug-19 10:38 PM
@jl777c@dukeleto I couldn't find a way to block running JS on HTML page. Maybe that SHA256 sum pages serving is solution, or theere can be a C code which strips the <script> </script> tags which are only for Js
Pinned a message.
allbits13-Aug-19 10:42 PM
Success on Android here too!!!! Thanks @CMaurice
CMaurice13-Aug-19 10:43 PM
great, pleasure
allbits13-Aug-19 10:46 PM
Send and receive working fine!
grewalsatinder14-Aug-19 12:49 AM
I will fix the css snd UI for mobile screen. Wait for that update.
dukeleto14-Aug-19 02:49 AM
@jl777cContent-Security-Policy: default-src 'self'; connect-src 'none'; object-src 'none'; frame-src 'none'; child-src 'none' is what I have cooked up, which tells all modern browsers to disable all JS, iframes, plugin objects and background worker processes
whatever prints out the HTML interface needs to put that as an HTTP header
and that should greatly increase the security of the HTML UI, from browser-based attacks from the OS or browser being infected with malware that injects code into pages/etc
@jl777c the security is opt-in, the newer the browser, the more secure. Crazy old browsers don't know about CSP or enforce it, but that is not who we care about anyway
merged. also added the content security. now rewards is displayed for non-KMD
also the txid list now has the headers on each line. is that intentional?
it seems libnspv is running on most everything so far, just the chromebook browser issue and windows is unconfirmed
grewalsatinder14-Aug-19 08:04 AM
let me check
rewards are hiding to show if I use ILN
tx history is now showing the heading for the value, as I removed the table columns and just using single row and using <div> tags to manage the resizing of the screen.
jl777c14-Aug-19 08:12 AM
ok, so this is needed for mobile. i guess it is ok
grewalsatinder14-Aug-19 08:12 AM
yes
jl777c14-Aug-19 08:12 AM
for ILN i see the rewards
how does it look on mobile now?
can you test the new content security header?
you can modify the template to add JS, but it should not allow it
grewalsatinder14-Aug-19 08:16 AM
login, wallet, info, txidinfo renders good
I think I need to fix the logo size
and I see what you were saying about the menu buttons
for some reason those are not taking CSS style on mobile browser, using DuckDuckGo browser on Android.
but on Desktop FireFox, works perfectly fine.
checking other desktop browsers
wow! I see same issue using Safari and Google Chrome for menu buttons
firefox doesn't show issue
has to check why
jl777c14-Aug-19 08:33 AM
@CMaurice can you make a PR to the readme in libnspv so we can have the instructions on how to build for android
for txinfo, we might want to put the vin/vout above the hex outputs, which really dont help most users
antara logo is too big
grewalsatinder14-Aug-19 08:40 AM
yes, coz address form is no more statically set to width
if I do that the resizing messes up the rendering
might get back to it later trying to fix
or may be someone else can help that if possible
pushing fix for txinfo and logo
ca33314-Aug-19 08:41 AM
awesome - we will certainly get a mobile wallet up for libnspv - maybe even add a "nSPV mode" to the atomicDEX wallet.
@alperC@Audo@Daniel CP plz check infos posted above, arrange a blogpost or so and share through SM. This is basically a successful PoC for mobile (actually platform independent) nSPV and a huge step. Mobile Dapps, wallets - even mobile games can easily integrate Komodo and other Smart Chains with libnspv.(edited)
1
jl777c14-Aug-19 08:44 AM
it appears to work on all the systems we tried it on. just windows and chromebook browser config, windows just seems to be nobody tried a build yet
@grewalsatinder i added a total received and total sent (network bytes) fields to the getinfo response. Can you add that to the getinfo page. this way we can see how much bandwidth is being used
Sir Seven14-Aug-19 08:48 AM
@jl777c Actually tried api and curl on WIndows - works well.
Hasn't check browser UI yet.
CMaurice14-Aug-19 08:48 AM
yep, will do. Also want to look into running under tor on Android. Should I expect any problems, exit nodes are just IPs, right?
jl777c14-Aug-19 08:49 AM
i didnt add any special tor support, but didnt disable it, so it is up to tor to be compatible
@Sir Seven good that it functions on windows, but the html is what might have the issues more than the low level code
@grewalsatinder did you verify the anti-JS header works?
not being able to see the entire address in the send field is not good... needs to be fixed
@blackjok3r can you reduce the bandwidth being used for headers? maybe once all nodes go into sync, it can reduce the frequency to when there is a new block detected? outbound bandwidth after several minutes is 1044 bytes, inbound is 240kb and it is just sitting idle
grewalsatinder14-Aug-19 08:55 AM
for me ILN is not showing any HTML tags regarding Rwards.
moved TX-vin/vout on top
is that okay?
jl777c14-Aug-19 08:56 AM
yes, it is more useful this way
@blackjok3r even without any new blocks coming in, inbound data went up to 320kb now. so i think that is one optimization, but likely it is possible to reduce bandwidth usage even more?
@Sir Seven were you able to verify the mempool (Unconfirmed Transactions) display via the update button
smk762 - dracocanis ominator14-Aug-19 09:01 AM
this should fix the button background issue in safari/chrome.
The Komodo Dev Team has created nSPV, a superlight client that's 1000 times faster than existing simple payment verificaiton (SPV) methods. Learn more here.
If there's any info that's missing from here, we can go back and add it in or create a second post
jl777c14-Aug-19 09:07 AM
second post should be about the GUI that is 100% html, without any javascript
2
it is the typical easy to use html GUI, but it has only static html that is generated internally from within the nspv C code
it uses localhost, which makes this nearly as secure as using cli and unlike all the other html wallets, there is no extra layer of code, certainly no node.js
only 2 external libraries, libevent and libsodium, the rest is all in source code in libnspv
alperC14-Aug-19 09:09 AM
we can make an SM series out of it, so if something is missing or you would like to add just tell me
jl777c14-Aug-19 09:10 AM
so far it is working on all OS we have tested it on, even 32 bit raspberry pi


The new Angular version is designed with a mobile-first approach, including mobile-specific features like touch support, low memory and bandwidth usage on mobile devices, performance tuning and material design UI elements etc.
Add to the list yourself.
secondary text


{% extends "base.html" %}
{% block content %}
{% include "includes/home/home-hero.html" %}
{% include "includes/home/about-pycon.html" %}
{% include "includes/home/why-python.html" %}
{% comment %}
{% include "includes/home/action-cards.html" %}
{% endcomment %}
{% include "includes/home/keynote-speakers.html" %}
{% include "includes/home/regular-speakers.html" %}
{% include "includes/home/program-schedule.html" %}
{% include "includes/home/event-details.html" %}
{% include "includes/home/questions-section.html" %}
{% include "includes/home/coc-section.html" %}
{% include "includes/home/footer-block.html" %}
{% endblock content %}


Digital Minimalism
A summary of the popular book by Cal Newport on managing intrusive technology.
About the Book
As a heavy user of computer technology for over a decade, I’ll be the first defend its benefits. My familiarity with the internet is responsible for a significant chunk of my knowledge and much of my critical thinking abilities. Through personalities like Carl Sagan and Michael Shermer, it also played a big part in me developing an intense interest in science and eventually pursuing a career in it.
When something is so useful, you tend to be slow to notice its downsides. In 2016, I started to feel that my technology use was filling large chunks of my time with un-productive habits, preventing me from doing many of the cool things that the internet told me was possible. I often found myself doom scrolling on websites like Facebook, Instagram or reddit at the end of my workday and during weekends. My habit of mindless browsing was taking away time that I could be putting into developing new skills that I wanted to develop. In other words, I was starting to feel like I was losing control over my time.
I found Digital Minimalism when I was searching for methods that would help me stay on task when I was using tech. The book contains very practical advice on how to change habits surrounding technology usage and halped me free up large chunks of my time for pursuits that I find more satisfying.
If you’re the kind of person that finds themselves deep in a reddit thread about annoying habits of co-workers ten minutes after opening up your laptop for responding to an email, this book might help. For me, the most useful feature of the book is how it builds a coherent theory of how humans interact with technology. Newport takes many different negative aspects of unstructured technology use, and brings it together under one theoretical framework and uses this framework to dispense specific advice about how to make things better.
Summary
Humans are Biologically Wired in Certain Ways
The mentions three key things that human brains have evolved to find satisfaction in.
- Real-World Social Interactions: Interacting with people in the real world involves processing a dense, “high-bandwidth” stream of information that engages multiple senses. Newport suggests that as a social species, humans have evolved to find satisfaction in such high-bandwidth social interactions.
- Occasional Solitude: Newport cites scientific studies to build the case that the brain does important types of reflective thinking when you are alone and that this might be very important to develop as a person. He also gives some case studies of famous people who have found value in developing new ideas for their work in solitude.
- Building Physical Things: As a species that evolved to use tools, Newport argues that humans are wired to find satisfaction in seeing physical consequences of our efforts.
Modern Tech Optimizes for Capturing and Holding Human Attention
The book highlights the fact that many technologies such as mobile apps and social media websites are precisely engineered to capture and maintain as much of our attention as possible. Since the users’ attention is the source of revenue for many apps and websites, it is natural for them to optimize themselves for how much attention they can capture.
-
Social Interactions: Social media captures your attention by providing social approval (which the brain craves) but through low bandwidth channels such as “likes” or “upvotes”. The book argues that these signals of social approval keep our brains engaged in the app, leaving us with less time for real social interactions but leave us dissatisified because of their low bandwidth nature.
-
Solitude: Constantly being “plugged-in” into these apps and websites prevents our brains from getting solitude from time to time, depriving it of time to reflect. This could have negative effects such as increasing anxiety and less time for developing creative ideas.
-
Physical Hobbies: Time spent using tech also necessarily means less time for developing hobbies that involve building physical things. Newport argues that activities like programming or building websites don’t quite satisfy our brains in the same way as building a fence or a house.
The Book’s Recommendation
To mitigate these negative affects of technology, the book recommends adopting a philosophy of technology use that guides which technologies to adopt and which to avoid. This requires first getting a good idea of your values and goals in life and only adopting the use of technologies that align with your values and goals.
The book warns that one-off hacks like switching to a smart-phone or blocking time-wasting websites won’t work on their own without an over-arching philosophy.
Digital Minimalism
Cal Newport’s calls his preferred philosophy of technology use Digital Minimalism. Digital minimalism starts with a one month technology detox during which you cut out all non-essential technology from your life. The month is used to evaluate whether any of the tech you used to use actually aligned with your goals and values.
Recommended Values
The book also goes one step further and uses what science knows about human nature to recommend some specific values that may be useful to adopt when dealing with technology.
- Prioritize Real-World Social Interaction: Use technology to increase the amount of time that you spend on face-to-face interactions with people.

- Physical Hobbies: Consider adopting hobbies that involve creating and shaping material with the hands.
Verify Before Trusting
Since the source of income for much of the tech that we use is our attention, it will naturally optimize for capturing and holding our attention for as long as possible even if it is not in our interest. So the book recommends treating all new tech first with suspcion and letting the tech into our lives only after we have determined that it aligns with our goals and values. Periodically evaluating tech that you’ve already let in to make sure that its behaviour has not changed may also be a good idea.
Closing Thoughts
I think that the book gets right the idea that we need a philosophy of technology use so that it does not prevent us from achieving our goals. However, I think that some of the recommended values may be specific to the author. In particular, I find that writing code or making PCBs often scratch my creative itch just fine. In fact, I have an aversion to sports or things that make me feel physically winded or sweaty. I think that the most valuable takeaway from the book is that it’s a good idea to make sure that the technology and tools that you use align with your values and goals. What those values and goals should be is up to you.


Target Practice
Learn to remain steady and shoot under all conditions and from all angles to always hit the mark.{^n}{^y}Requires a ranged weapon.
Staff, Bow, Thrown Weapon
+${value}% Dexterity
2 4 6 8 10 12 14 16 18 20 22 24 26 28
+${value}% Attack Speed
2 4 6 8 10 12 14 16 18 20 22 24 26 28
MaxLevel
10
UltimateLevel
14


Wayne Bennett hits back at claims he has disrespected Great Britain during dismal tour Down Under
EXCLUSIVE: The Lions have lost each of their three games on tour so far - but Bennett has hit back at critics ahead of Saturday's clash against Papua New Guinea
by Julie StottWayne Bennett has taken a pop at the knockers who claim he has ruined the Great Britain badge and should be sacked.
The 69-year-old Lions coach has caused uproar with some of his selections on the current losing tour Down Under.
But he has come back fighting, saying: “They don’t build monuments to critics. Criticism is like water off a duck’s back - I don’t listen to it.
“I am at the coal face and I know what is going on. I know what we have got to fix up and believe we can do that.
“I have never disrespected anyone in my life, it is not in my nature. There is no disrespect from me towards Great Britain.”
The Lions have lost all three tour games, to Tonga and twice to New Zealand, and need to beat Papua New Guinea on Saturday to avoid a total disaster.
But his team selection will once again send his critics into overdrive - with half back Blake Austin again on the wing and emergency call-up Ash Handley not playing.
Bennett, however, says the doubters can moan all they want but nothing will stop him from controversially planning towards England’s World Cup campaign in two years.
He said: “We are working on a plan to get our game right because next year against Australia is vital and then hopefully we can be a real contender at the World Cup.”
And that’s partly why he’s likely to start Gareth Widdop and Jackson Hastings in the halves for the fourth game running, even though they have failed to inspire so far.
He said: “One of the things we have to get our heads around is we have to stabilise our halves and we cannot just keep swapping and changing.
“We are not getting it right at the moment, the decision making or the pressure that comes in games.
“I have got to give Jackson time. If I react and take him out we are not going to get him to the place we need him to go or for us to realise he cannot get there.
“That’s the dilemma we are in and the same with Gareth Widdop. That is what is going on right now.”
Half back George Williams will make his tour bow off the bench but Jake Trueman will not be given a debut.
Bennett said: “I don’t like going back on my word when I said everyone would play but I cannot give Jake an opportunity because we need to fix things up with the right players in.
“It is not the time to be trialling anyone. We need to get a victory and I need to have the best players on the field.”
Leeds winger Handley was expected to play after being called up but Bennett insists he was only ever intended as cover.
Instead Austin, who had a horror start against the Kiwis last week before recovering well, will again play on the wing.
The Kumuls lost narrowly to Fiji last Saturday and expected to give the Lions a battle on Saturday.
But Bennett insists he’s confident, saying: “We are not a basket case, that is the bottom line. If we had taken our opportunities we would have scored more tries.
“If we were miles behind I would be talking in a different vein but that is not where we are.”


Enables: (1) plotting two-dimensional confidence regions, (2) coverage analysis of confidence region simulations and (3) calculating confidence intervals and the associated actual coverage for binomial proportions. Each is given in greater detail next. (1) Plots the two-dimensional confidence region for probability distribution parameters (supported distribution suffixes: cauchy, gamma, invgauss, logis, llogis, lnorm, norm, unif, weibull) corresponding to a user-given complete or right-censored dataset and level of significance. The crplot() algorithm plots more points in areas of greater curvature to ensure a smooth appearance throughout the confidence region boundary. An alternative heuristic plots a specified number of points at roughly uniform intervals along its boundary. Both heuristics build upon the radial profile log-likelihood ratio technique for plotting confidence regions given by Jaeger (2016) <doi:10.1080/00031305.2016.1182946>. (2) Performs confidence region coverage simulations for a random sample drawn from a user- specified parametric population distribution, or for a user-specified dataset and point of interest with coversim(). (3) Calculates confidence interval bounds for a binomial proportion with binomTest(), calculates the actual coverage with binomTestCoverage(), and plots the actual coverage with binomTestCoveragePlot(). Calculates confidence interval bounds for the binomial proportion using an ensemble of constituent confidence intervals with binomTestEnsemble().
| Version: | 1.5.0 |
| Depends: | R (≥ 3.2.0) |
| Imports: | graphics, stats, statmod, STAR, SDMTools, fitdistrplus |
| Suggests: | knitr, rmarkdown |
| Published: | 2018-12-15 |
| Author: | Christopher Weld [aut, cre], Hayeon Park [aut], Lawrence Leemis [aut], Andrew Loh [ctb], Yuan Chang [ctb], Brock Crook [ctb], Xin Zhang [ctb] |
| Maintainer: | Christopher Weld <ceweld at email.wm.edu> |
| License: | GPL (≤ 2) |
| NeedsCompilation: | no |
| Citation: | conf citation info |
| CRAN checks: | conf results |
| Reference manual: | conf.pdf |
| Vignettes: |
coversim crplot crplot_advanced |
| Package source: | conf_1.5.0.tar.gz |
| Windows binaries: | r-devel: conf_1.5.0.zip, r-release: conf_1.5.0.zip, r-oldrel: conf_1.5.0.zip |
| OS X binaries: | r-release: conf_1.5.0.tgz, r-oldrel: conf_1.5.0.tgz |
| Old sources: | conf archive |
Please use the canonical form https://CRAN.R-project.org/package=conf to link to this page.


Awarded Runner up in the
Best Bar None Awards
"We are thrilled to have been nominated and win this award – all the hard work in raising money for various charities and work put into serving the community has paid off and we thank all our customers for your continued support and custom."
East Coasts Best Carvery
Two Carverys for £12.99 every Sunday!
Book Now!
Upcoming events
Valentines Day
11th and 14th February 2017 from 6:30pm
Three Course Meal for Two with a bottle of Wine £37.99 per couple
Mothers Day
26th March 2017
Three Courses for just £14.99
Easter Weekend
Easter Good Friday | 14th April
Easter Sunday | 16th April
Motorhome Stays
Non Members: £15 per night stay Receive a voucher per night to receive £5 back when they spend over £10 on food and/or drinks
Members: £30 membership runs to 1/1 to 31/12. Members pay only £10 per night stay and receive a £5 voucher per night when they spend over £10 on food and/or drinks.
Use the contact form to register your interest in staying on site with your own Motorhome.
Our motorhome facility is a roll on roll off system. The only service we provide is water. We do not allow disposal of waste and only serve food during pub service hours.
Contact Us
About
Ship Inn
In the Picturesque village of Sewerby overlooking the bay between the seaside town of Bridlington and fishing village of Flamborough. The Ship Inn Sewerby is a traditional pub tucked well away off the main road, but can be spotted far more easily from the cliff top. Located next to Sewerby Hall and Gardens.
Serving fine food and award winning ales, beers and wines with a children's play area and large car park. The pub is Family orientated and welcomes dogs on a lead into the pub. Inside there's lots of dark wood, log fires, intimate cubby holes and a friendly atmosphere.
Owners
Passionate and dedicated to his love of food. Charlie Kilburn took the reigns of The Ship Inn back in October 2006, since then he has poured his heart and soul into making The Ship Inn a beautiful country lane pub and restaurant.
Along with Lou and his family he has developed a strong relationship with customers far and wide, making them feel welcomed and comfortable throughout their stay in Sewerby and the surrounding areas.
Opening Times
Bar Opening Times
- Monday - Closed
- Tuesday - 11:30am to 7:00pm
- Wednesday - 11:30am to 7:00pm
- Thursday - 11:30am to 11:00pm
- Friday - 11:30am to 12.00pm
- Saturday - 11:00am to 12:00pm
- Sunday - 11:00am to 7:00pm
Food Serving Times
- Monday - Closed
- Tuesday - 12noon to 2:00pm
- Wednesday - 12noon to 2:00pm
- Thursday - 12noon to 2:00pm
- Friday - 12noon to 2:00pm & 5:30 to 8:30pm
- Saturday - 12noon to 2:00pm & 5:30 to 8:30pm
- Sunday from - 12noon to 4:00pm
Find Us
Address: Cliff Road, Sewerby, Bridlington, East Yorkshire, YO15 1EW
Tel: 01262 672374
Email: info@shipinnsewerby.co.uk


DlDataGrid widget
The new grid is made up of the following pieces:
- DlRecord — an object that keeps data for a single record (grid row)
- DlRecordCache — an object that maintains multiple records
- DlDataGrid — the widget itself
- DlGridCol — defines one column
- DlSelectionModel — object that handles the grid selection
We'll discuss them all but for now only the first 3 are essentials.
DlRecord and DlRecordCache represent the data model and DlDataGrid is the view. The grid displays data from a record cache, but it doesn't necessarily display all records or all columns. It actually displays a subset of the data (and of course, it can happen that this subset is the entire list).
The new grid widget is centered around the idea that each record has an unique ID; the record cache doesn't maintain the order of the records, the grid is solely responsible about this. In other words, we work as much as possible with record ID-s instead of row indexes. This makes it easy to identify records when we communicate with the server irrespective of their actual positions inside the grid (which can be sorted, etc).
Here's one verbose example:
[% INCLUDE show_sample.tt sample = 'test1' %]You can already notice a few features of the new grid:
- You can select multiple rows by shift-click / ctrl-click.
- Once you focused the grid, you can also use the keyboard to navigate and select; this was available in the old grid as well, actually, but some ugly hacks were needed to allow selection of multiple rows.
- You can drag and drop column headers to reorder columns.
- Right clicking on the headers allow you to hide/show columns. Note that they even remember their positions ;-)
- Obviously, clicking the column header sorts the grid.
Paging and virtual scrolling
Speed was perhaps the most important factor that determined me to start a new grid widget from scratch (I think it's the fourth time in my life when I write a grid). So before we move forward, let's compare the speed of the new grid to the speed of the old one.
Currently you can see the old grid in action at this address. Run sample #2. On my machine (Intel Core Duo, 2GHz) and platform (Firefox 3 / Debian Linux) the sample shows up in 3 seconds. Next I'll rewrite that sample for the new grid (in fact I'm anxious to see this too :D).
[% INCLUDE show_sample.tt sample = 'test2' %]It takes like half a second for the new grid. More, the time needed won't increase proportionally with the number of rows, because the grid actually displays only 50 rows. As you scroll outside this area, the grid adds rows into view (you can notice a very slight flickering in Firefox, unfortunately I couldn't find a way around that).
Virtual scrolling can be controlled by two parameters to DlDataGrid constructor:
-
rpp — “records per page”. This defaults to 50. The grid will keep at most this many records in the DOM. If more records are to be displayed, they are displayed as the page is scrolled, if virtualScrolling is true. Otherwise you need to provide a paging mechanism (i.e. "prev page" or "next page" buttons and use the grid's displayPage method).
rpp can also be zero or null, in which case the grid displays all records that are available. This works best for a relatively small number of records (200 records and 10 columns work decently fast in my tests). For anything over 200 records you really need rpp to be a small value (50 is best), otherwise the browser slows down to a crawl.
-
virtualScrolling : true | false — default is true; this boolean specifies if we want the grid to use virtual scrolling.
What's with resetIDS()?
As I mentioned above, the grid does not necessarily display all records from the data cache. You need to explicitly tell the grid the ID-s of the rows that it should display. This is done with resetIDS() which takes an array of ID-s. This array also defines the initial order of the records in the display.
Grid columns
The grid internally creates a DlGridCol object for each column passed in the columns argument. All the properties are passed to the DlGridCol constructor. This object supports the following properties (showing the defaults):
"id" : null "width" : null "style" : null "label" : null "tooltip" : null "iconClass" : null "sortable" : true "resizable" : true "visible" : true
For example, if you want a column to be initially hidden, you need to pass visible: false, as shown in the next sample. Note that it's not currently possible to create columns after the grid was initialized. One can only hide or show them, therefore all columns must be specified from the start.
Selection model
When you construct the grid you can specify a selection model. If you don't, the grid creates its own and it's available in grid._selection (really not a public API), but normally you'll roll your own object. Using it you can find out at any time what records are selected, as an array of record ID-s, or as a hash. The following sample demonstrates it.
[% INCLUDE show_sample.tt sample = 'test3' %]The selection model accepts a multiple argument (boolean) which defaults to true. If you pass false there, the grid won't support multiple row selection.
Data changes
The grid “listens” to data changes in the cache and automatically refreshes the modified records, inserts or removes records, to match with the cache, therefore all you need to do is to modify the data model. The following sample illustrates that.
[% INCLUDE show_sample.tt sample = 'test4' %]One thing to notice is that upon an "onInsert" event the grid adds that row into the display, although it wasn't mentioned in resetIDS(). In general this is what we want.
Under the hood
Now that you know all the basics, it's time for some more advanced tips. For example, what happens if inside some object you have a property which is a Date object? The grid will display it by converting it to string, but it's hardly what you want to happen.
Probably the most important trick that's going to be useful in real applications is to inherit the DlRecord or/and DlRecordCache objects. The following sample shows how we can create a custom DlRecordCache object.
[% INCLUDE show_sample.tt sample = 'test5' %]There are other interesting functions in DlRecordCache which are automatically called by the grid and you can override:
- getRecClass(rec) { return a CSS class name for the given record }
- getCellClass(rec, col) { return a CSS class name for the given record and column }
- getRecords(ids, callback, obj) { see below }
- getInsertPos(rec) { return the position at which this newly inserted record should be displayed }
When your data is huge, getRecords is of particular importance. The default implementation simply calls cache.get(id) for each ID and returns the collected records, but this won't work when you're loading the data “lazily” from the server. In such cases you need to override this method and make it request the data from the server.
I will try to illustrate this in the next sample. Note that it's a “client-side”-only sample, it doesn't load data from the server; it just generates it randomly after a timeout (to emulate the time spent into the client-server round trip). The sample is a bit complicated, but I'll explain things below.
[% INCLUDE show_sample.tt sample = 'test6' %]Now here's what happens. When the grid needs to display data, it calls cache.getRecords(). This method receives a callback; the original idea was that this callback is supposed to be called with an array of full records, only after we retrieve data from server. However in practice this didn't work because of the asynchronous nature of the AJAX calls — the browser being “free” while a call is active, the user can still scroll while the server is retrieving records for the first call. Which means that by the time the records get cached in the client and the callback called, the user might view a totally different set of records. This led to incredibly difficult to debug issues, so I gave up the idea. SO, the right solution is to have the callback called right away; it will be passed an array that contains DlRecord objects, though some of them might be “fake” (i.e. not fully retrieved from server, which is why I'm using the _loading hack). In this case, the grid will display "..." (as actually returned by the DlRecord::get() function) and later — when full data is available — we manually trigger the "onChange" event in the cache for those rows, so that the view gets updated.
As you can see in the code, it has to mess up with some internals of these objects — for instance it sets the recordSet for a created record manually to the cache, and it manually needs to modify the record._data — it would make sense, if we have a single column, to use record.set() in order to modify its value; but in the general case where we have to display a lot of columns, record.set() is not OK because it triggers the onChange event for each column, which is a waste of time since the grid actually re-displays the full row upon onChange.
One other thing to notice here is that the grid instantly displays the value of “known” columns (in this case, the ID), while it waits for the other columns' value to come. This is useful in many cases, i.e. when you want to display data from an SQL join. An example where it's really useful: say you want to display a table of pages; each page contains some specific data (i.e. title, date created, etc) and each one is created by some user (first name, last name, date last seen, etc.; this data comes from a different table in DB). You can cache these separately on the client. Then, if you need to display a table that contains user comments, you also have some specific data (subject, date created, comment etc.) but you also have user's data which might have been already cached. By defining your own cache and record objects you can achieve maximum flexibility needed for your application.
That's all for now
Until a full API reference for the new grid is available, I think I have covered most use cases so that's the end of this article. Enjoy!
— Copyright © Dynarch.com 2009 — All rights reserved —


The candidate looked to accommodate the need to consolidate all of her resources in order to be successful. [G|D]
The teacher attempted to elucidate the concept to her students, but she was intimidated by the huge amount of information that seemed to inundate her lesson plan. [G|D]
The court ruling invalidated any attempts to liquidate the assets, in accordance with the mandate set forth by the government. [G|D]
The archeologists sought to predate and validate the artifacts they had uncovered, unmasking the ancient civilization in a sedate manner. [G|D]


Edit controllers/ to update how to receive and reply to requests.
controllers/
Edit templates/ to update the layout and styling.
templates/
Edit models/ to update how the data is stored.
models/


About Me
Hello everyone! My name is Shibani Chakraborty. I've been making art since I was a kid, and I've recently begun taking it more seriously. My goal for this website is to share some advice that I've learned about over the years and also show you my artwork. I like to show off both my traditional and digital art to show what I can do. Have fun browsing!


nikto
Web server scanner which performs tests against web servers for multiple items.
More information: home page
- Perform a basic Nikto scan against a target host:
perl nikto.pl -h <IP_ADDRESS>
- Specify the port number when performing a basic scan:
perl nikto.pl -h <IP_ADDRESS> -p 443
- Scan ports and protocols with full URL syntax:
perl nikto.pl -h https://<IP_ADDRESS>:443/
- Scan multiple ports in the same scanning session:
perl nikto.pl -h <IP_ADDRESS> -p 80,88,443
- Update to the latest plugins and databases:
perl nikto.pl -update


Guna is the gateway of Malwa and Chambal. Guna is a fast developing city , with factories and other business institutions. The population of Guna is approximately 1666767, in the area of 6484.63 sq.km according to 2001 census survey.
Guna being one of the industrial cities of the state of Madhya Pradesh and populated district has increased number of migrant workers and slum - dwellers. The high population and minimum living conditions has given birth to lot of evils and health related problems.  Disabilities are the hall mark of this district.
PLWHA not only need help in their personal life but also necessary to involve and support the whole family in the programs. Most of the PLWHA used to be the sole bread winner of the family and the prolonged illness has drained out all the family resources. Therefore, the need of the whole family has to be taken in to consideration while designing any care and support program for the PLWHA. CHETANA adopts a holistic approach to address the HIV/AIDS situation.
Travelling allowances to the PLWHA to go to ART centres at Indore , Bhopal and Gwalior which are 300, 250 and 200 kms away from Guna respectively.
Counselling and nutritional support help PLWHA to derive the desired benefit out of the ART .
Free medical consultation and medicines to PLWHA by way of outpatient clinic to treat and prevent opportunistic infections.
Immediate personal counselling is required to help the PLWHA accept their situation and to educate them on methods of positive living.
The project provides counselling to family members to reduce stigma and to integrate the PLWHA back into the family and society.
Awareness, disease management, care and support, behavioral change, positive living are some of the common issues on which the PLWHA, their peers and family members need counselling.
Project carries out extensive awareness programs using different media, especially street plays , leaflets celebration of remarkable days etc.
The project also concentrates on different target groups like Auto rickshaw drivers , truck drivers, sex workers, eunuchs, migrated population and conduct health camps along with Elisa test.
Giving awareness education to the PLWHA about HIV/AIDS, precautions, drug adherence and positive living are the most important in reducing HIV transmission.
We extent our support to the people of various categories. The poverty and difficulties of the parents to educate their physically disabled children, the insecurity and inferiority complex developed by the disabled children and their desire to be educated and to live at their own cost made us to respond to this silent call. As a result we have 'CHIRAG' program educating children among whom there are physically disabled and children affected and infected with HIV. While the education support would increase the level of awareness and reduce stigma in the family, it would, in the long run, prepare the next generation for a better life.
Self-employment of the individual mainly through capacity building is one of the main objectives of the project. The project personal as well as the PLWHA regularly attend various programs, which broaden their horizons and empower them.
The project is supporting children of PLWHA who are unable to send their children to school for want of resources for all their educational needs. While the education support would increase the level of awareness and reduce stigma in the family, it would, in the long run, prepare the next generation for a better life.
The education programme of the project would extend to equip the children for job by providing job oriented training after secondary/ higher secondary school level.
SATHI promotes dignified living and dedicated service of the autorickshaw drivers and recognition and due respect to them from the society. Sathi means friend. We envisage that every auto driver must be friend and guide to the travelers who approach them. They will be guide to the strangers who visit the city. Their families will gather together once a month which promotes the development of the family members, their entertainment and cultural gathering. They will be also encouraged to savings.
The project adopts a very transparent method of evaluation. A detailed time- bound action plan along with the budget is prepared before the beginning of the Financial Year: Regular monitoring of the various programs under the project is done by way of weekly, monthly reviews within the project team and quarterly reviews and annual evaluation with the help of an external facilitator: Representatives of benefactors, beneficiaries, government agencies and managing committee of the project also actively participate in the annual evaluation.
The project encourages and help PLWHA who regain their health as a result of medication and nutrition to engage in small Income Generating Activity (IGA) in order to promote a sense of dignity and self- worth among them.
The project adopts the following methodology for providing services to the needy i.e. identification, registration, counselling, family visit , need assessment, time bound support, monitoring, and collaboration with like minded people/organisations.
In order to ensure peer support, the project from PLWHA into small groups on the basis of proximity of residence. The family members of the PLWHA will also be involved in these groups so that support can be ensured in case of need. This Mutual Support Groups (MSG) will provide peer counselling and also carry out need assessment.
The state and central government has taken various measures to detect and to prevent treatment to those who suffer from tuberculosis. Chetana having its aim of achieving total health and dignified living of all people with basic education and professional training is in tie up with the local government and Catholic Health Association of India to promote health and to eradicate tuberculosis.
The living conditions, locality and family practices influences the children and the play vital role in their life and carrier. Considering this reality we planned to provide residential education in our boarding to the children of the commercial sex workers. It takes a long time and effort to change the practices of the commercial workers, but what we can do is to provide better education and exposure to better possibilities where by the children can dream higher and find a carrier which is mostly expected and appreciated by the society. These children can also become instruments of change in the family and society. They are means for us to reach to the parents with other options of life and means of safety in their life.
Strenght does not come from winning, your struggles develop your strenghts. When you go through hardships and decide not to surrender that is strength
- Mahathma Gandi


Hong Kong democracy camp heads for stunning polls win
by AFPIn Summary
- Counting was still underway following record turnout in Sunday's polls, but partial results indicated that candidates favouring greater democracy were on course to seize a shock majority of the normally establishment-dominated 18 district councils.
- With just more than half of the 452 races officially tabulated early Monday, 201 pro-democracy candidates had won their races, against just 28 pro-Beijing establishment candidates and 12 independents.
- The vote is the closest Hong Kongers get to direct representation.
Hong Kong,
Hong Kong's pro-democracy camp was cruising towards a crushing victory in community-level elections on Monday, sending the Beijing-backed government a clear message of public support for the demands of a protest movement that has gripped the territory for months.
Counting was still underway following record turnout in Sunday's polls, but partial results indicated that candidates favouring greater democracy were on course to seize a shock majority of the normally establishment-dominated 18 district councils.
The stunning result was a humiliating rebuke to Beijing and dashed any lingering hopes of Hong Kong leader Carrie Lam that the increasingly aggressive tactics deployed by radical protesters would encourage a silent majority to turn out in support of her administration.
Change-seeking politicians seized on the result as proof that citizens want more say in running the city.
"No matter how strong Carrie Lam is I hope she can comply with the wishes of the people, fulfil the five demands (and) give the youngsters a chance," political activist Jimmy Sham told reporters after winning a district council seat.
Related Stories
-
Hong Kongers flock to polls
-
Hong Kong campus stalemate persists
-
Fiery stand-off at Hong Kong varsity
-
Hong Kong leads anti-China rallies
Advertisement
DEMANDS
The protest movement has made five key demands, including direct popular elections and a probe into alleged police brutality. Lam has dismissed the idea of government concessions as "wishful thinking".
Hong Kong has endured months of mass rallies and violent clashes, initially touched off by anger over a bill backed by Lam that would have allowed extraditions to China's opaque judicial system.
 But Sunday's contest for 452 seats took on new political significance because of the public discontent.
The result was "nothing short of a revolution," Hong Kong political analyst Willy Lam said.
"It's a sound repudiation of the (Hong Kong) administration and Beijing's policy toward Hong Kong."
The result could hasten Beijing's expected removal of Lam as Hong Kong's leader, he said, but may also extend the city's crisis.
452 RACES
"Protesters will see this astounding victory as a mandate given by the people, so they will fight harder. But at the same time there won't be any concessions from Beijing, so the frustration will mount," Lam told AFP.
China's state media had urged Hong Kongers to vote against violence, but downplayed the results on Monday.
"The record turnout has sent the message that however violent the rioters are, ordinary residents are concerned about their own well-being," a China Daily editorial said.
With just more than half of the 452 races officially tabulated early Monday, 201 pro-democracy candidates had won their races, against just 28 pro-Beijing establishment candidates and 12 independents.
In the last council vote in 2015, just over 100 democrat-leaning candidates won seats.
DIRECT REPRESENTATION
A record 71 percent of the 4.13 million citizens who registered to vote had cast their ballots, according to Hong Kong's election watchdog.
Hong Kong's largest pro-Beijing political party was seriously bloodied, with at least 155 of its 182 candidates defeated, media reports said.
Among them were firebrand lawmaker Junius Ho, one of the politicians most loathed by democracy activists, and who was stabbed this month during campaigning.
The vote is the closest Hong Kongers get to direct representation.
The territory's legislature is elected by a mix of popular vote and industry groups stacked with China loyalists, which ensures Beijing's control.
Some candidates for next year's legislative elections will be drawn from the district councils, and the bodies also will contribute 117 members to the 1,200-strong Beijing-controlled electoral college that chooses the chief executive.
Protests eased in the poll run-up after pro-democracy figures urged calm to avoid triggering any election delay or suspension.
Campaigning was marred by acrimony, with one pro-democracy candidate having his ear bitten off in an attack, while 17 other candidates of all stripes were arrested over protest-related activities.
Election authorities also banned leading democracy activist Joshua Wong from running, over his support for Hong Kong "self-determination".


Service Finder
Usage metrics
|
Past 24 hours April 17 2018 |
Searches completed 199 |
| Last 30 days | Searches completed |
| April 16 | 187 |
| April 15 | 136 |
| April 14 | 105 |
| April 13 | 107 |
| April 12 | 128 |
| April 11 | 137 |
| April 10 | 154 |
| April 9 | 104 |
| April 8 | 101 |
| April 7 | 98 |
| April 6 | 95 |
| April 5 | 99 |
| April 4 | 89 |
| April 3 | 88 |
| April 2 | 81 |
| April 1 | 72 |
| March 31 | 76 |
| March 30 | 68 |
| March 29 | 63 |
| March 28 | 66 |
| March 27 | 78 |
| March 26 | 58 |
| March 25 | 53 |
| March 24 | 55 |
| March 23 | 59 |
| March 22 | 47 |
| March 21 | 48 |
| March 19 | 36 |
| March 18 | 45 |


--- layout: post title: It's been a while.... date: 2014-01-01 15:16:21.000000000 -08:00 type: post published: true status: publish categories: - Journal tags: [] meta: _publicize_pending: '1' _edit_last: '6192' _social_aggregation_next_run: '1388619095' _social_notify: '1' original_post_id: '468' _wp_old_slug: '468' author: login: falsefridays email<EMAIL_ADDRESS>display_name: Jim Withington first_name: '' last_name: '' ---
...and as I have said before, I want to make a change here but I'm not sure how. Yet.
But! I just saw this on January 1, which seems a bit like a fun time to post it. According to Last.fm, this is what I have liked and listened to in the last year.
Seems about right.
Last.fm is fun.
***
I'm into indie, rock, emo, stoner rock and acoustic, including:
Tegan and Sara, Frightened Rabbit, Into It. Over It., Vampire Weekend, Summoner, The Sword, american sharks, Wilco, The Promise Ring, Kylesa, Belle and Sebastian, Baroness, Pelican, Iron & Wine, The Dismemberment Plan, The Shins, Matt Pond, The Long Winters, Robyn, Matt Pond PA, Imagine Dragons, Rancid, Minus the Bear, Snow Patrol, The Mountain Goats, Lorde, Guided by Voices, Phoenix, Fountains Of Wayne, The Flaming Lips, Spoon, Girl Talk, CHVRCHES, Phosphorescent, Mazes, Pyres, Van Morrison, Black Sabbath, Mates of State, R.E.M., David Bowie, Saint Etienne, Foals, Red Desert, Yuck, Kleenex Girl Wonder, Sons of Huns, Bored Nothing, Screeching Weasel, Har Mar Superstar.
Check out my music taste: http://www.last.fm/user/jwithington


ipa-join
Section: FreeIPA Manual Pages (1)Updated: Oct 8 2009
Index Return to Main Contents
NAME
ipa-join - Join a machine to an IPA realm and get a keytab for the host service principalSYNOPSIS
ipa-join [-d|--debug] [-q|--quiet] [-u|--unenroll] [-h|--hostname hostname] [-s|--server hostame] [-k|--keytab filename] [-w|--bindpw password] [-b|--basedn basedn] [-?|--help] [--usage]DESCRIPTION
Joins a host to an IPA realm and retrieves a kerberos keytab for the host service principal, or unenrolls an enrolled host from an IPA server.Kerberos keytabs are used for services (like sshd) to perform kerberos authentication. A keytab is a file with one or more secrets (or keys) for a kerberos principal.
The ipa-join command will create and retrieve a service principal for<EMAIL_ADDRESS>and place it by default into /etc/krb5.keytab. The location can be overridden with the -k option.
The IPA server to contact is set in /etc/ipa/default.conf by default and can be overridden using the -s,--server option.
In order to join the machine needs to be authenticated. This can happen in one of two ways:
* Authenticate using the current kerberos principal
* Provide a password to authenticate with
If a client host has already been joined to the IPA realm the ipa-join command will fail. The host will need to be removed from the server using `ipa host-del FQDN` in order to join the client to the realm.
This command is normally executed by the ipa-client-install command as part of the enrollment process.
The reverse is unenrollment. Unenrolling a host removes the Kerberos key on the IPA server. This prepares the host to be re-enrolled. This uses the host principal stored in /etc/krb5.conf to authenticate to the IPA server to perform the unenrollment.
Please note, that while the ipa-join option removes the client from the domain, it does not actually uninstall the client or properly remove all of the IPA-related configuration. The only way to uninstall a client completely is to use ipa-client-install --uninstall (see ipa-client-install(1)).
OPTIONS
- -h,--hostname hostname
- The hostname of this server (FQDN). By default of nodename from uname(2) is used.
- -s,--server server
- The hostname of the IPA server (FQDN). Note that by default there is no /etc/ipa/default.conf, in most cases it needs to be supplied.
- -k,--keytab keytab-file
- The keytab file where to append the new key (will be created if it does not exist). Default: /etc/krb5.keytab
- -w,--bindpw password
- The password to use if not using Kerberos to authenticate. Use a password of this particular host (one time password created on IPA server)
- -b,--basedn basedn
- The basedn of the IPA server (of the form dc=example,dc=com). This is only needed when not using Kerberos to authenticate and anonymous binds are disallowed in the IPA LDAP server.
- -u,--unenroll
- Unenroll this host from the IPA server. No keytab entry is removed in the process (see ipa-rmkeytab(1)).
- -q,--quiet
- Quiet mode. Only errors are displayed.
- -d,--debug
- Print the raw XML-RPC output in GSSAPI mode.
EXAMPLES
Join IPA domain and retrieve a keytab with kerberos credentials.
# kinit admin
# ipa-join
Join IPA domain and retrieve a keytab using a one-time password.
# ipa-join -w secret123
Join IPA domain and save the keytab in another location.
# ipa-join -k /tmp/host.keytab
EXIT STATUS
The exit status is 0 on success, nonzero on error.0 Success
1 Kerberos context initialization failed
2 Incorrect usage
3 Out of memory
4 Invalid service principal name
5 No Kerberos credentials cache
6 No Kerberos principal and no bind DN and password
7 Failed to open keytab
8 Failed to create key material
9 Setting keytab failed
10 Bind password required when using a bind DN
11 Failed to add key to keytab
12 Failed to close keytab
13 Host is already enrolled
14 LDAP failure
15 Incorrect bulk password
16 Host name must be fully-qualified
17 XML-RPC fault
18 Principal not found in host entry
19 Unable to generate Kerberos credentials cache
20 Unenrollment result not in XML-RPC response
21 Failed to get default Kerberos realm
SEE ALSO
ipa-rmkeytab(1) ipa-client-instal(1)
Index
This document was created by man2html, using the manual pages.
Time: 05:29:05 GMT, December 24, 2015


Lect: Code Style Guide (MP4)
Lect: Code Style Guide (Camtasia
Project File)
Ex: Review Airbnb Style Guide
Test: screenshot
Lect: MDN Language Reference & Stack
Overflow
Lect: MDN Language Reference &
Stack Overflow (Camtasia Project File)
Ex: Review MDN & Stack Overflow
Test: screenshot
Lect: First Variables
Lect: First Variables
First Variables
Test: screenshot
Lect: First Array
Lect: First Array
First Array
Test: screenshot
Lect: First Object
Lect: First Object
First Object
Test: screenshot
Lect: Block Scope of Let
Lect: Block Scope of Let
Block Scope of Let
Test: screenshot
Lect: Step Through Function Call
Lect: Step Through Function
Call
Function Call Step Through
Test: screenshot
Lect: Step Through Function Call with
Object Argument
Lect: Step Through Function Call
with Object Argument
Function Call Object Arg
Test: screenshot
Lect: Pass by Value - Pass by
Reference
Lect: Pass by Value - Pass by
Reference
Which is it for an integer
Test: screenshot
Lect: Basic For Loop
Lect: Basic For Loop
Write a For Loop
Test: screenshot
Exercise: Loop over Array and Add to
Objects
Exercise: Loop over Array and
Add to Objects
Write a For Loop
Test: screenshot
github code video slides pdf ppt zip text link tools


public abstract class FlowHandler
extends java.lang.Object
FlowHandler is the main entry
point that enables the runtime to interact with the faces flows
feature. NavigationHandler
uses this
class when it needs to make navigational decisions related to flows.
The faces flow feature entirely depends on the ClientWindow
feature and also on CDI.
Defining Flows
The implementation must support defining faces flows using the
<flow-definition>
element as specified in the
Application Configuration Resources XML Schema Definition, or by
using the FlowBuilder
API.
Additional means of defining flows may be provided by decorating the
FlowHandlerFactory
.
Managing Flows
The singleton instance of this class must be thread safe, and therefore must not store any per-user state. Flows are, however, traversed in a per-user manner, and must be associated with the current
ClientWindow
. Furthermore, Flows may be nested. These requirements strongly suggest managing the flows with a stack-like runtime data structure, stored in a per-user fashion and associated with theClientWindow
. Because Flow instances are immutable, yet the flow stack is per-user, implementations must make allowance for flow scoped data (managed beans declared to beFlowScoped
and data stored in theMap
returned bygetCurrentFlowScope()
) to be fully re-entrant. For example, consider an application with two flows, A and B, each with a singleFlowScoped
beanMyBeanA
andMyBeanB
, respectively. Entry into flow A causesMyBeanA
to become active. Calling from A into B causesMyBeanB
to become active. Calling back into A causes a new instance ofMyBeanA
to become active, rather than reactivating the earlier instance ofMyBeanA
.The Flow Graph
Prior versions of the specification defined a flow graph but the only kind of node in the graph was a VDL view. The Faces Flow feature currently defines the following node types.
View
This is the regular Jakarta Server Faces VDL View that has been in the specification since the beginning.
Switch
This is a list of Jakarta Expression Language expressions. When control is passed to a switch node, each expression in the list is evaluated and the first one that returns
true
is used to define the id of the next node to which control must be passed. If none of the expressions evaluates totrue
, control passes to the specified default id.Return
This node type specifies an outcome that is returned to the calling flow.
Method Call
This node type allows invocation of arbitrary application logic at any point in the executiong of the flow. An outcome can be specified that will cause a navigation case to be navigated to after the method has been invoked.
Faces Flow Call
This node type allows one flow to call another flow. The calling flow remains active and is not exited until control returns from the called flow.
Edges in the graph are defined by the existing Jakarta Server Faces navigation rule system.
Flows and Model Objects
Managed beans annotated with the CDI annotation
FlowScoped
are created lazily, when referenced, after a user agent's entry into the named scope, and must be made available for garbage collection when the user agent leaves the flow.The
flowScope
Jakarta Expression Language implicit object is also available to store values in the "current" slope. Values stored in this scope must be made available for garbage collection when the user agent leaves the flow.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FLOW_ID_REQUEST_PARAM_NAME
Components that are rendered by |
static java.lang.String |
NULL_FLOW
Components that are rendered by |
static java.lang.String |
TO_FLOW_DOCUMENT_ID_REQUEST_PARAM_NAME
Components that are rendered by |
| Constructor and Description |
|---|
FlowHandler() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addFlow(FacesContext context,
Flow toAdd)
Add the argument |
abstract void |
clientWindowTransition(FacesContext context)
Allow for flow transitions in the
case of components rendered by the renderers from
component-family |
Flow |
getCurrentFlow()
Convenience overload that calls |
abstract Flow |
getCurrentFlow(FacesContext context)
Return the currently active |
abstract java.util.Map<java.lang.Object,java.lang.Object> |
getCurrentFlowScope()
Return the |
abstract Flow |
getFlow(FacesContext context,
java.lang.String definingDocumentId,
java.lang.String id)
Return the |
abstract java.lang.String |
getLastDisplayedViewId(FacesContext context)
Return the last displayed viewId for the
current flow, as returned by |
abstract boolean |
isActive(FacesContext context,
java.lang.String definingDocument,
java.lang.String id)
Return |
abstract void |
popReturnMode(FacesContext context)
Enable the correct handling of navigation when processing a return node. |
abstract void |
pushReturnMode(FacesContext context)
Enable the correct handling of navigation when processing a return node. |
abstract void |
transition(FacesContext context,
Flow sourceFlow,
Flow targetFlow,
FlowCallNode outboundCallNode,
java.lang.String toViewId)
Perform a transition in the flow
graph for the current user's |
public static final java.lang.String FLOW_ID_REQUEST_PARAM_NAME
Components that are rendered by Renderers
of component-family javax.faces.OutcomeTarget
must use this
constant as the parameter name for a parameter representing the flow id
of the flow that this component will cause to be entered.
public static final java.lang.String TO_FLOW_DOCUMENT_ID_REQUEST_PARAM_NAME
Components that are rendered by Renderers
of component-family javax.faces.OutcomeTarget
must use this
constant as the parameter name for a parameter representing the defining document id
of the flow that this component will cause to be entered.
public static final java.lang.String NULL_FLOW
Components that are rendered by Renderers
of component-family javax.faces.OutcomeTarget
must use this
constant as the value of the parameter named by TO_FLOW_DOCUMENT_ID_REQUEST_PARAM_NAME
when returning from a flow (without entering another flow) using such a component.
public abstract java.util.Map<java.lang.Object,java.lang.Object> getCurrentFlowScope()
Return the Map
that backs
the #{flowScope}
Jakarta Expression Language implicit object or null
if no flow is currently active.
Map
for this flow scope.public abstract Flow getFlow(FacesContext context, java.lang.String definingDocumentId, java.lang.String id)
Return the Flow
whose id
is equivalent to the argument id
, within the scope of
the argument definingDocument
.
context
- the FacesContext
for the current request.definingDocumentId
- An application unique identifier
for the document in which the returned flow is defined.id
- the id of a Flow
, unique within the
scope of the definingDocument
.Flow
for the argument identifiers.java.lang.NullPointerException
- if any of the parameters are null
public abstract void addFlow(FacesContext context, Flow toAdd)
Add the argument Flow
to the
collection of Flow
s known to the current
application. The implementation must be thread safe.
context
- the FacesContext
for the current request.toAdd
- the Flow
to add.java.lang.NullPointerException
- if any of the parameters are null
java.lang.IllegalStateException
- if there is already a flow with the
same id
as the argument Flow
within the scope of
the definingDocument
.java.lang.IllegalArgumentException
- if the id
of the flow to
add is null
or the empty string.java.lang.IllegalArgumentException
- if the definingDocumentId
of the toAdd
is null
.public abstract Flow getCurrentFlow(FacesContext context)
Return the currently active Flow
for the argument FacesContext
, or null
if
no flow is active. A Flow
must always be associated with
exactly one ClientWindow
, but a
ClientWindow
may have multiple Flow
s.
If pushReturnMode(javax.faces.context.FacesContext)
had been called with true
as the
argument before invoking this method, return the preceding flow on
the stack instead of the actual current flow, or null
if there
is no preceding flow. Otherwise, return the current flow.
context
- the FacesContext
for the current request.Flow
or null
if no flow is activejava.lang.NullPointerException
- if any of the parameters are null
public Flow getCurrentFlow()
Convenience overload that calls FacesContext.getCurrentInstance()
and then calls through to getCurrentFlow(javax.faces.context.FacesContext)
.
Flow
or null
if no flow is activepublic abstract java.lang.String getLastDisplayedViewId(FacesContext context)
Return the last displayed viewId for the
current flow, as returned by getCurrentFlow(javax.faces.context.FacesContext)
,
or null
if there is no current flow.
context
- the FacesContext
for the current request.java.lang.NullPointerException
- if context
is null
public abstract void pushReturnMode(FacesContext context)
Enable the correct handling of navigation
when processing a return node. The default NavigationHandler
specification requires calling this method before processing
the navigation rules for the flow return, and calling popReturnMode(javax.faces.context.FacesContext)
,
from a finally
block, immediately afterward.
context
- the FacesContext
for the current request.java.lang.NullPointerException
- if context
is null
.public abstract void popReturnMode(FacesContext context)
Enable the correct handling of navigation
when processing a return node. The default NavigationHandler
specification requires calling this method from a finally
block,
immediately attempting to process the navigation rules in the context
of a flow return.
context
- the FacesContext
for the current request.java.lang.NullPointerException
- if context
is null
.public abstract void transition(FacesContext context, Flow sourceFlow, Flow targetFlow, FlowCallNode outboundCallNode, java.lang.String toViewId)
Perform a transition in the flow
graph for the current user's ClientWindow
. Obtain references to the
Flow
instances corresponding to the origin
and
destination
arguments. If the origin Flow
is
equal to the destination Flow
, take no action and return
null
. Otherwise, if the outboundCallNode
argument is non-null
save aside the outbound parameters.
For discussion evaluatedParams is a data
structure that stores the evaluated values of any outbound
parameters. It is necessary to evaluate these values before
popping any flow scopes because the values may refer to scoped
instances that need to be passed to the target flow, but will not
be available once the new scope is activated. Save aside the
outbound parameters using the following algorithm.
If the
outboundParameters
property ofoutboundCallNode
is non-null
and not empty, and theinboundParameters
property of the target flow is non-null
and not empty, for each entry in the outbound parameters whose name matches an entry in the inbound parameters, evaluate the value of the parameter, and put the evaluated value into evaluatedParams under the corresponding name. Otherwise, consider evaluatedParams to be empty.
If the destination Flow
is a sub-flow of the origin Flow
push the destination Flow
onto the flow data
structure and return the destination Flow
. Otherwise, pop
the current Flow
from the flow data structure. If the
destination Flow
is non-null
, make the destination Flow
the current flow, pushing it onto the data
structure. If evaluatedParams is not empty, for
each entry, find the corresponding parameter in the target flow's
inbound parameters and call its setValue
method, passing
the value from evaluatedParams.
context
- the FacesContext
for the current request.sourceFlow
- the current Flow
, or null
if
there is no source flow.targetFlow
- the destination Flow
, or null
if there is no destination flow.outboundCallNode
- the flow call node causing this
transition, or null
if this transition is not caused by a
flow call.toViewId
- the viewId of the view being displayed as a result of
this transition. This parameter makes it possible to implement getLastDisplayedViewId(javax.faces.context.FacesContext)
.java.lang.NullPointerException
- if context
or toViewId
is null
.public abstract void clientWindowTransition(FacesContext context)
Allow for flow transitions in the
case of components rendered by the renderers from
component-family javax.faces.OutcomeTarget
. These
transitions must happen at the front of the request processing
lifecycle due to the HTTP GET based nature of such components.
Therefore, this method is called from the restore view phase of
the lifecycle.
Let flowId be the value in the request parameter map
for the parameter whose name is given by the value of FLOW_ID_REQUEST_PARAM_NAME
. Let toFlowDocumentId be
the value in the request parameter map for the paramater whose
name is given by the value of TO_FLOW_DOCUMENT_ID_REQUEST_PARAM_NAME
. If
toFlowDocumentId is null
, take no action
and return. Otherwise, let sourceFlow be the return
from getCurrentFlow(javax.faces.context.FacesContext)
. A
null
value indicates there is no current flow, which
will be the case if this navigation is trying to enter a flow. If
flowId is not null
and
toFlowDocumentId is not equal to the
value of NULL_FLOW
, let targetFlow be the
result of calling getFlow(javax.faces.context.FacesContext, java.lang.String,
java.lang.String)
, passing toFlowDocumentId and
flowId as the last two arguments, respectively. If the
result is non-null
, let flowCallNode be the
return from calling Flow.getFlowCall(javax.faces.flow.Flow)
on the
sourceFlow, passing targetFlow as the argument.
Otherwise, targetFlow and flowCallNode must
remain null
, indicating that this is a flow
return. Call FacesContext.getViewRoot()
and let toViewId
be the the return from calling UIViewRoot.getViewId()
on it.
Call, transition(javax.faces.context.FacesContext, javax.faces.flow.Flow, javax.faces.flow.Flow, javax.faces.flow.FlowCallNode, java.lang.String)
, passing the arguments gathered in
the preceding algorithm.
context
- the FacesContext
for the current request.java.lang.NullPointerException
- if context
is null
.public abstract boolean isActive(FacesContext context, java.lang.String definingDocument, java.lang.String id)
Return true
if and only if
the flow referenced by the argument definingDocument
and
id
is currently active.
context
- the FacesContext
for the current request.definingDocument
- An application unique identifier
for the document in which the returned flow is defined.id
- the id of a Flow
, unique within the
scope of the definingDocument
.java.lang.NullPointerException
- if any of the parameters are null


Accessor Spy
Recorded Steps
Accessor
Alternatives
Value/Text
Prefix
Assert
Evaluate Expression:
Sahi Software


Lua uses only a single number type which can be redefined at compile-time. By default this is a double, i.e. a floating-point number with 53 bits of precision. Operations in the range of 32 bit numbers (and beyond) are exact. There is no loss of precision, so there is no need to add an extra integer number type. Modern desktop and server CPUs have fast floating-point hardware — FP arithmetic is nearly the same speed as integer arithmetic. Any differences vanish under the overhead of the Lua interpreter itself.
Even today, many embedded systems lack support for fast FP operations. These systems benefit from compiling Lua with an integer number type (with 32 bits or more).
The different possible number types and the use of FP numbers cause some problems when defining bitwise operations on Lua numbers. The following sections define the operational semantics and try to explain the rationale behind them.
Input and Output Ranges
- Bitwise operations cannot sensibly be applied to FP numbers (or their underlying bit patterns). They must be converted to integers before operating on them and then back to FP numbers.
- It's desirable to define semantics that work the same across all platforms. This dictates that all operations are based on the common denominator of 32 bit integers.
- The float type provides only 24 bits of precision. This makes it unsuitable for use in bitwise operations. Lua BitOp refuses to compile against a Lua installation with this number type.
- Bit operations only deal with the underlying bit patterns and generally ignore signedness (except for arithmetic right-shift). They are commonly displayed and treated like unsigned numbers, though.
- But the Lua number type must be signed and may be limited to 32 bits. Defining the result type as an unsigned number would not be cross-platform safe. All bit operations are thus defined to return results in the range of signed 32 bit numbers (converted to the Lua number type).
- Hexadecimal literals are treated as unsigned numbers by the Lua parser before converting them to the Lua number type. This means they can be out of the range of signed 32 bit integers if the Lua number type has a greater range. E.g. 0xffffffff has a value of<PHONE_NUMBER> in the default installation, but may be -1 on embedded systems.
- It's highly desirable that hex literals are treated uniformly across systems when used in bitwise operations. All bit operations accept arguments in the signed or the unsigned 32 bit range (and more, see below). Numbers with the same underlying bit pattern are treated the same by all operations.
Modular Arithmetic
Arithmetic operations on n-bit integers are usually based on the rules of » modular arithmetic modulo 2n. Numbers wrap around when the mathematical result of operations is outside their defined range. This simplifies hardware implementations and some algorithms actually require this behavior (like many cryptographic functions).
E.g. for 32 bit integers the following holds: 0xffffffff + 1 = 0
Arithmetic modulo 232 is trivially available if the Lua number type is a 32 bit integer. Otherwise normalization steps must be inserted. Modular arithmetic should work the same across all platforms as far as possible:
- For the default number type of double, arguments can be in the range of ±251 and still be safely normalized across all platforms by taking their least-significant 32 bits. The limit is derived from the way doubles are converted to integers.
- The function bit.tobit can be used to explicitly normalize numbers to implement modular addition or subtraction. E.g. bit.tobit(0xffffffff + 1) returns 0 on all platforms.
- The limit on the argument range implies that modular multiplication is usually restricted to multiplying already normalized numbers with small constants. FP numbers are limited to 53 bits of precision, anyway. E.g. (230+1)2 does not return an odd number when computed with doubles.
BTW: The tr_i function shown here is one of the non-linear functions of the (flawed) MD5 cryptographic hash and relies on modular arithmetic for correct operation. The result is fed back to other bitwise operations (not shown) and does not need to be normalized until the last step.
Restricted and Undefined Behavior
The following rules are intended to give a precise and useful definition (for the programmer), yet give the implementation (interpreter and compiler) the maximum flexibility and the freedom to apply advanced optimizations. It's strongly advised not to rely on undefined or implementation-defined behavior.
- All kinds of floating-point numbers are acceptable to the bitwise
operations. None of them cause an error, but some may invoke undefined
behavior:
- -0 is treated the same as +0 on input and is never returned as a result.
- Passing ±Inf, NaN or numbers outside the range of ±251 as input yields an undefined result.
- Non-integral numbers may be rounded or truncated in an
implementation-defined way. This means the result could differ between
different BitOp versions, different Lua VMs, on different platforms or even
between interpreted vs. compiled code
(as in » LuaJIT).
Avoid passing fractional numbers to bitwise functions. Use math.floor() or math.ceil() to get defined behavior.
- Lua provides auto-coercion of string arguments to numbers by default. This behavior is deprecated for bitwise operations.


Before Change
// Sample any non-compartmental time series in batch.
// TODO Consider using pyro.contrib.forecast.util.reshape_batch to
// support DiscreteCosineReparam and HaarReparam along the time dim.
for name, (fn, is_regional) in self._non_compartmental.items():
fn = dist.ImproperUniform(fn.support, fn.batch_shape, fn.event_shape)
with self.time_plate, optional(self.region_plate, is_regional):
curr[name] = pyro.sample(name, fn)
// Truncate final value from the right then pad initial value onto the left.
init = self.initialize(params)
prev = {}
for name, value in init.items():
if name in self.compartments:
After Change
// Sample global parameters and auxiliary variables.
params = self.global_model()
auxiliary, non_compartmental = self._sample_auxiliary()
// Manually enumerate.
curr, logp = quantize_enumerate(auxiliary, min=0, max=self.population,


Showing 10 out of 20 jobs applied
Manager-Facility ManagementSharekhan Limited |
Bangalore |
Selected | ||
Customer care ExecutiveDish TV BPO |
Chennai |
Pending | ||
Sr. Java DeveloperDaiwik Business Solutions Pvt Ltd |
Pune |
Rejected | ||
Associate/Senior AssociateGenpact |
Hyderabad |
Selected | ||
Associate/Senior AssociateGenpact |
Chennai |
Interview Scheduled |


The game starts with a player rolling the dice. If the player rolls and receives a 2-6, they add that to their point total. That player will continue to go until they choose to "hold", or they roll a 1. If the player chooses to "hold", then they keep the points they have accumulated for that turn, and add it to their point total. If that player rolls a 1 then they lose all points for that turn and lose their turn. The first player to 100 wins!


paplay(1) paplay(1) NAME paplay - Play back audio files on a PulseAudio sound server SYNOPSIS paplay [options] FILE paplay --help paplay --version DESCRIPTION paplay is a simple tool for playing back audio files on a PulseAudio sound server. It understands all audio file formats supported by libsnd‐ file. OPTIONS -h | --help Show help. --version Show version information. -v | --verbose Enable verbose operation. Dumps the current playback time to STDERR during playback. -s | --server=SERVER Choose the server to connect to. -d | --device=SINK Specify the symbolic name of the sink to play this file on. -n | --client-name=NAME Specify the client name paplay shall pass to the server when con‐ necting. --stream-name=NAME Specify the stream name paplay shall pass to the server when cre‐ ating the stream. --volume=VOLUME Specify the initial playback volume to use. Choose a value between 0 (silent) and 65536 (100% volume). --channel-map=CHANNELMAP Explicitly choose a channel map when playing back this stream. The argument should be a comma separated list of channel names: front- left, front-right, mono, front-center, rear-left, rear-right, rear-center, lfe, front-left-of-center, front-right-of-center, side-left, side-right, top-center, top-front-center, top-front- left, top-front-right, top-rear-left, top-rear-right, top-rear- center, or any of the 32 auxiliary channel names aux0 to aux31. LIMITATIONS Due to a limitation in libsndfile paplay currently does not always set the correct channel mapping for playback of multichannel (i.e. surround) audio files, even if the channel mapping information is available in the audio file. AUTHORS The PulseAudio Developers <pulseaudio-discuss (at) lists (dot) freedesk‐ top (dot) org>; PulseAudio is available from http://pulseaudio.org/ SEE ALSO pulseaudio(1), pacat(1) Manuals User paplay(1)


Why a humanitarian shelter database?
Need
Humanitarian Sheltering is a key component to assist affected populations in rebuilding lives and livelihoods.
Document, Share, Save
The Open Shelter Database aims at creating a platform to collect and share with the widest possible audience, ranging from decision makers to field implementers, key information on humanitarian shelters, including the contacts of the organisations behind them
Everyone
Open source database made available to the contribution of Humanitarian Shelter actors. Implementing organisations with relevant experience are invited to openly share their shelter data to the benefit of all.
Global
Disasters hit parts of the globe with little or no predictability and their amount and consequences are alarmingly increasing year after year. See also the third party emergency events database.
Open
The shelter database is open and searchable for everyone. Users with Humanitarian.id accounts can also add shelters. For developers an API is available.
Cost effective
Sheltering is representing huge costs for agencies. Sharing open data on best practices may drastically reduce shelter solutions development costs.


about me
I'm a UI Designer and Front End Developer from Sydney, Australia.
I enjoy taking complex problems and turning them into simple and beautiful interface designs. I also love the logic and structure of coding and always strive to write elegant and efficient code, whether it be HTML, CSS or jQuery.
When I'm not coding or pushing pixels, you'll find me in the gym or on the court shooting some hoops.


I've recently got a request to expand my analysis of the Python Package Index commonly known as PyPI. It is a repository of Python packages where everybody can upload packages; pretty much without any restriction. In the article Analyzing PyPI Metadata you can read some general stuff about the repository.
This article is going a bit more deeper. This time I don't only analyze the metadata, but the relationship of the packages themselves. I wanted to build a dependency graph. However, here is a downside of Pythons package structure: The file which defines the dependencies of a Python package is a Python script itself. This gives the package developer the highest flexibility, but it also gives them the power to execute arbitrary code when I only want to get the dependencies.
As I am pretty sure there are some malicious packages in the repository (Although I've never heard of a single one there has to be one. Over 50 000 packages by 2015 - there has to be one!). So I don't want to execute any code of the repository without having at least a clue what it should do. This means my analysis is very simple and thus prone to some errors.
Most common single dependency
One can see dependencies as being weighted by the number of times a package imports the package.
Non-weighted
SELECT
`packages`.`name`,
COUNT(`needs_package`)
FROM
`dependencies`
JOIN
`packages` ON `needs_package` = `packages`.`id`
GROUP BY
`needs_package`
ORDER BY
COUNT(`needs_package`) DESC
LIMIT 20
which gives
and without the system packages:
SELECT
`packages`.`name`,
COUNT(`needs_package`)
FROM
`dependencies`
JOIN
`packages` ON `needs_package` = `packages`.`id`
WHERE
`on_pypi` = 1
GROUP BY
`needs_package`
ORDER BY
COUNT(`needs_package`) DESC
LIMIT 20
which gives
Weighted
How often gets a single module included over all packages?
SELECT
`packages`.`name`,
SUM(`times`)
FROM
`dependencies`
JOIN
`packages` ON `needs_package` = `packages`.`id`
GROUP BY
`needs_package`
ORDER BY
SUM(`times`) DESC
LIMIT 20
2 seconds later I've got the result:
If I'm only interested in the packages which are on PyPI, hence not system packages, I execute the following query:
SELECT
`packages`.`name`,
SUM(`times`)
FROM
`dependencies`
JOIN
`packages` ON `needs_package` = `packages`.`id`
WHERE
`on_pypi` = 1
GROUP BY
`needs_package`
ORDER BY
SUM(`times`) DESC
LIMIT 20
which gives me about 2 seconds later the following result:
Non-functional packages
Although there are many packages for Python which are very useful, there are also quite a lot which are not usefull at all. One possibility to identify such packages is by checking which packages get neither used by others nor use other packages
SELECT
`packages`.`id`, `name`
FROM `packages`
WHERE
`id` in (
SELECT DISTINCT
`dependencies`.`package`
FROM
dependencies)
OR `id` in (
SELECT DISTINCT
`dependencies`.`needs_package`
FROM
`dependencies`)
This leads to the result that 54 900 packages of 67 582 packages are not obviously crap. Or to write it in another way: 11 682 packages are crap. That is 17.5 %. Too much, in my opinion. However, this might also be due to my crappy script not downloading / checking the downloaded files correctly.
Names
One thing I was interested in while downloading all those packages was the question if there are malicious packages (either on purpose or by accident). One undesirable thing that could happen would be very similar names.
Prefixes
Let's see how many packages are prefixes of other packages. My thought was that this might be developers trying to get some accidential installs. However, it only showed some relationships. I wanted to make a Levensthein distance analysis, but I guess this is not worth it.
Here are the top 10 strings which are prefixes of packages and packages themselves:
- djan: 6462
- pyt: 1626
- pyth: 1278
- collect: 1155
- Flask: 561
- open: 474
- pyr: 442
- pyp: 295
- pyra: 285
- pym: 256
One interesting thing I've learned is that you can use pip
like this:
$ pip search "djan$"
... and I found a pip bug (github.com/pypa/pip/issues/3327)
Graph analysis
Analyzing the dependency graph is quite a challenge. Or at least that was what I initiallly thought. This graph has about 67 582 nodes and 436 980 edges. Quite a bit. Definitely much larger than what I have previously used.
However, my friend Nilan who knows a lot about graphs send me a link to StackOverflow: Visualizing Undirected Graph That's Too Large for GraphViz?
This lead me to Gephi and the OpenOrd layout plugin. It didn't work for the complete graph (see issues/1207), it worked after I removed the single nodes without edges.
Now we can ask several standard questions about graphs:
- How many connected components are there?
- Are there any circles? (That would be bad... dependency graphs should not have circles. Similar to family trees.)
- Which are the most central nodes?
I didn't find the time to answer those, but I put the graph data in JSON format on github.com/MartinThoma/pypi-dependencies. Please let me know when you do something interesting with the data.

What could come next
I would like too measure the overall code quality on PyPI in another post. I think of the following measures:
- pyroma: A 10-point score for packages
- package goodness with Cheesecake,
- pylint
- PEP8 conformance,
- Lines of code (LOC) / documentation / whitespace
- Docstring style (None, NumpyDoc, Sphinx, Google - see Python Code Documentation)
- Usage of functions
- Testing coverage
- Look for URLs in the code and which are reachable / which are not
- Look for non-Python files
See also
- Analysis of PyPI
- K. Gullikson: Python Dependency Analysis: A well-written article with some very nice images.
- O. Girardot: State of the Python/PyPI Dependency Graph: One very nice, interactive image of the dependency graph.
- Building big graphs


| | |
- builtins.Exception(builtins.BaseException)
-
- SparkETLException
-
- SparkETLDeploymentFailure
- SparkETLGetStatusFailure
- SparkETLKillFailure
- SparkETLLaunchFailure
class SparkETLDeploymentFailure(SparkETLException) |
| |
spark-etl failed to deploy an application |
| |
- Method resolution order:
- SparkETLDeploymentFailure
- SparkETLException
- builtins.Exception
- builtins.BaseException
- builtins.object
Methods defined here:
- __init__(self, message, cause=None)
- Initialize self. See help(type(self)) for accurate signature.
Data descriptors inherited from SparkETLException:
- __weakref__
- list of weak references to the object (if defined)
Methods inherited from builtins.Exception:
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
Methods inherited from builtins.BaseException:
- __delattr__(self, name, /)
- Implement delattr(self, name).
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __reduce__(...)
- helper for pickle
- __repr__(self, /)
- Return repr(self).
- __setattr__(self, name, value, /)
- Implement setattr(self, name, value).
- __setstate__(...)
- __str__(self, /)
- Return str(self).
- with_traceback(...)
- Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
Data descriptors inherited from builtins.BaseException:
- __cause__
- exception cause
- __context__
- exception context
- __dict__
- __suppress_context__
- __traceback__
- args
|
class SparkETLException(builtins.Exception) |
| |
Base class for exception raised from spark_etl package |
| |
- Method resolution order:
- SparkETLException
- builtins.Exception
- builtins.BaseException
- builtins.object
Methods defined here:
- __init__(self, message, cause=None)
- Initialize self. See help(type(self)) for accurate signature.
Data descriptors defined here:
- __weakref__
- list of weak references to the object (if defined)
Methods inherited from builtins.Exception:
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
Methods inherited from builtins.BaseException:
- __delattr__(self, name, /)
- Implement delattr(self, name).
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __reduce__(...)
- helper for pickle
- __repr__(self, /)
- Return repr(self).
- __setattr__(self, name, value, /)
- Implement setattr(self, name, value).
- __setstate__(...)
- __str__(self, /)
- Return str(self).
- with_traceback(...)
- Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
Data descriptors inherited from builtins.BaseException:
- __cause__
- exception cause
- __context__
- exception context
- __dict__
- __suppress_context__
- __traceback__
- args
|
class SparkETLGetStatusFailure(SparkETLException) |
| |
spark-etl failed to get status of a launched application |
| |
- Method resolution order:
- SparkETLGetStatusFailure
- SparkETLException
- builtins.Exception
- builtins.BaseException
- builtins.object
Methods defined here:
- __init__(self, message, cause=None)
- Initialize self. See help(type(self)) for accurate signature.
Data descriptors inherited from SparkETLException:
- __weakref__
- list of weak references to the object (if defined)
Methods inherited from builtins.Exception:
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
Methods inherited from builtins.BaseException:
- __delattr__(self, name, /)
- Implement delattr(self, name).
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __reduce__(...)
- helper for pickle
- __repr__(self, /)
- Return repr(self).
- __setattr__(self, name, value, /)
- Implement setattr(self, name, value).
- __setstate__(...)
- __str__(self, /)
- Return str(self).
- with_traceback(...)
- Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
Data descriptors inherited from builtins.BaseException:
- __cause__
- exception cause
- __context__
- exception context
- __dict__
- __suppress_context__
- __traceback__
- args
|
class SparkETLKillFailure(SparkETLException) |
| |
spark-etl failed to kill an application run |
| |
- Method resolution order:
- SparkETLKillFailure
- SparkETLException
- builtins.Exception
- builtins.BaseException
- builtins.object
Methods defined here:
- __init__(self, message, cause=None)
- Initialize self. See help(type(self)) for accurate signature.
Data descriptors inherited from SparkETLException:
- __weakref__
- list of weak references to the object (if defined)
Methods inherited from builtins.Exception:
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
Methods inherited from builtins.BaseException:
- __delattr__(self, name, /)
- Implement delattr(self, name).
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __reduce__(...)
- helper for pickle
- __repr__(self, /)
- Return repr(self).
- __setattr__(self, name, value, /)
- Implement setattr(self, name, value).
- __setstate__(...)
- __str__(self, /)
- Return str(self).
- with_traceback(...)
- Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
Data descriptors inherited from builtins.BaseException:
- __cause__
- exception cause
- __context__
- exception context
- __dict__
- __suppress_context__
- __traceback__
- args
|
class SparkETLLaunchFailure(SparkETLException) |
| |
spark-etl failed to launch an application |
| |
- Method resolution order:
- SparkETLLaunchFailure
- SparkETLException
- builtins.Exception
- builtins.BaseException
- builtins.object
Methods defined here:
- __init__(self, message, cause=None)
- Initialize self. See help(type(self)) for accurate signature.
Data descriptors inherited from SparkETLException:
- __weakref__
- list of weak references to the object (if defined)
Methods inherited from builtins.Exception:
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
Methods inherited from builtins.BaseException:
- __delattr__(self, name, /)
- Implement delattr(self, name).
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __reduce__(...)
- helper for pickle
- __repr__(self, /)
- Return repr(self).
- __setattr__(self, name, value, /)
- Implement setattr(self, name, value).
- __setstate__(...)
- __str__(self, /)
- Return str(self).
- with_traceback(...)
- Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
Data descriptors inherited from builtins.BaseException:
- __cause__
- exception cause
- __context__
- exception context
- __dict__
- __suppress_context__
- __traceback__
- args
| |