--- layout: page title: About categories: [] tags: [] status: publish type: page published: true meta: _wp_page_template: default author: ---
I am called "shiv" , a graduate from BIT Mesra , Ranchi pursuing BE(IT) . I love knowing the technology, there is no end to it, and I keep mining web to know more. I am in complete awe with the technology today and the incredible speed at which it is evolving, thanks to the tech giants (apple,microsoft,goole,facebook,twitter,amazon,oracle etc). I am an software Developer , l love coding and this is what most of the posts here will be concerned with - technology/coding/algorithms. I love to share some exciting stuff I learn while I browse internet . Sometimes, I would also post some questions/solutions/ some snippets of code from some random sites. In addition to these , I post some random ideas/views on certain things. I am new to this world of blogging and I would love to have your views. Please feel free to leave a comment or two if u have any query/suggestions/correction on any page / post of mine .


We now generally recommend the ZINB-WaVE method over zingeR, since it is faster, and has been show to be more sensitive for most single-cell RNA-seq datasets.
diffExp(object, ...) # S4 method for SingleCellExperiment diffExp(object, numerator, denominator, zeroWeights = c("zinbwave", "zingeR"), caller = c("edgeR", "DESeq2"), minCellsPerGene = 25L, minCountsPerCell = 5L) # S4 method for seurat diffExp(object, numerator, denominator, zeroWeights = c("zinbwave", "zingeR"), caller = c("edgeR", "DESeq2"), minCellsPerGene = 25L, minCountsPerCell = 5L)
| object | Object. |
|---|---|
| ... | Additional arguments. |
| numerator | Group of cells to use in the numerator of the contrast (e.g. treatment). |
| denominator | Group of cells to use in the denominator of the contrast (e.g. control). |
| zeroWeights | Package to use for zero weight calculations. Defaults to zinbwave but zingeR is also supported. |
| caller | Package to use for differential expression calling. Defaults to edgeR (faster for large datasets) but DESeq2 is also supported. |
| minCellsPerGene | The minimum number of cells where a gene is expressed,
to pass low expression filtering. Set to |
| minCountsPerCell | Minimum number of counts per cell for a gene to pass
low expression filtering. The number of cells is defined by
|
caller = "edgeR"
: DEGLRT
.
caller = "DESeq2"
: Unshrunken DESeqResults
. Use lfcShrink()
if
shrunken results are desired.
We are currently using an epsilon setting of 1e12
, as recommended by the
ZINB-WaVE integration paper.
We first perform a differential expression analysis using zingeR posterior
probabilities and focussing on the count component of the ZINB model. The
weights are estimated with the core function of zingeR, zeroWeightsLS()
. It
is important to be consistent with the normalization procedure, i.e. if you
use TMM normalization for the analysis, you should also use it for estimating
the zingeR posterior probabilities.
After estimation of the dispersions and posterior probabilities, the
glmWeightedF()
function is used for statistical inference. This is an
adapted function from the glmLRT()
function of edgeR. It uses an F-test for
which the denominator degrees of freedom are by default adjusted according to
the downweighting of excess zeros (ZI = TRUE
). Also, independent filtering
can be performed on the obtained p-values (independentFiltering = TRUE
). We
use the independent filtering strategy that was originally implemented in
DESeq2. By default, the average fitted values are used as a filter criterion.
We're providing preliminary support for DESeq2 as the differential expression caller. It is currently considerably slower for large datasets than edgeR.
Consult the following sources for more information:
DESeq2: We're trying to follow the conventions used in DESeq2 for
contrasts, defining the name of the factor in the design formula,
numerator, and denominator level for the fold change calculations. See
DESeq2::results()
for more information.
Seurat: Note that Seurat currently uses the convention cells.1
for the
numerator and cells.2
for the denominator. See Seurat::DiffExpTest()
for additional information.
# seurat ==== # Expression in cluster 3 relative to cluster 2 object <- seurat_small numerator <- Seurat::WhichCells(object, ident = 3L) glimpse(numerator)#> chr [1:81] "pbmc4k_1_AAAGTAGAGTCAAGGC" "pbmc4k_1_ACAGCCGGTCTTGATG" ...#> chr [1:92] "pbmc4k_1_AAACCTGCAGGCGATA" "pbmc4k_1_AAACGGGAGCGGCTTC" ...x <- diffExp( object = object, numerator = numerator, denominator = denominator, minCellsPerGene = 5L, minCountsPerCell = 5L )#>#>#>#>#>#> user system elapsed #> 9.633 0.675 11.710#>#> user system elapsed #> 0.834 0.061 0.924


About:
Zoom into the clustergram using scroll. Reorder the clustergram using the toggle buttons or by clicking rows or columns. Double-click to programatically reset zoom/panning. Search for a signatures to zoom into the matrix. Change the size of the row/colum groups by moving the sliders. Click on row/column groups.


Facebook rolls out meme-making app 'Whale'; seeks to gauge users' interest
Facebook is slowly launching apps in new genres beyond chats to woo more users and open new avenues to make money
by IANSSocial media giant Facebook has quietly rolled out a meme-making app called 'Whale' on the Canadian App Store that may come to other markets including in India later.
The app's listing confirms that it has been developed by Facebook's New Product Experimentation (NPE) team, which was set up earlier this year to develop new experimental apps for the social networking platform that has over 2.6 billion users globally.
'Whale' is the latest app from NPE, after music app 'AUX' and chat app 'Bump', reports The Information.
According to Facebook, these apps are intended to help the company discover new features and services that people like.
Facebook is slowly launching apps in new genres beyond chats to woo more users and open new avenues to make money.
Facebook-owned Instagram has also launched a new video-music remix feature called "Reels" to take on Chinese short video making app TikTok.
"Just like TikTok, users can soundtrack their 'Reels' with a huge catalog of music, or borrow the audio from anyone else's video to create a remix of their meme or joke.
Rolled out in the Brazilian market first, "Reels" will be available on both iOS and Android.
--IANS
wh/na
(Only the headline and picture of this report may have been reworked by the Business Standard staff; the rest of the content is auto-generated from a syndicated feed.)


Go back
The State geoJSON data are from Bubinga.
Click to check information. Doubleclick to zoom in. Drag to play with.
You are pointing at:
If you find out there is no image after zooming in, it could be the state you click does not like you. ;)
Check more cool stuff at Luyu Liu's GitHub.


One-sided communication has the same progress requirements as point-to-point communication: once a communication is enabled, then it is guaranteed to complete. RMA calls must have local semantics, except when required for synchronization with other RMA calls.
There is some fuzziness in the definition of the time when a RMA communication becomes enabled. This fuzziness provides to the implementor more flexibility than with point-to-point communication. Access to a target window becomes enabled once the corresponding synchronization (such as MPI_WIN_FENCE or MPI_WIN_POST) has executed. On the origin process, an RMA communication may become enabled as soon as the corresponding put, get or accumulate call has executed, or as late as when the ensuing synchronization call is issued. Once the communication is enabled both at the origin and at the target, the communication must complete.
Consider the code fragment in Example General Active Target Synchronization , on page General Active Target Synchronization . Some of the calls may block if the target window is not posted. However, if the target window is posted, then the code fragment must complete. The data transfer may start as soon as the put call occur, but may be delayed until the ensuing complete call occurs.
Consider the code fragment in Example Lock , on page Lock . Some of the calls may block if another process holds a conflicting lock. However, if no conflicting lock is held, then the code fragment must complete.
Consider the code illustrated in Figure 22 .
Each process updates the window of the other process using a put operation, then accesses its own window. The post calls are nonblocking, and should complete. Once the post calls occur, RMA access to the windows is enabled, so that each process should complete the sequence of calls start-put-complete. Once these are done, the wait calls should complete at both processes. Thus, this communication should not deadlock, irrespective of the amount of data transferred.
Assume, in the last example, that the order of the post and start calls is reversed, at each process. Then, the code may deadlock, as each process may block on the start call, waiting for the matching post to occur. Similarly, the program will deadlock, if the order of the complete and wait calls is reversed, at each process.
The following two examples illustrate the fact that the synchronization between complete and wait is not symmetric: the wait call blocks until the complete executes, but not vice-versa. Consider the code illustrated in Figure 23 .
Figure 23: Deadlock situation
This code will deadlock: the wait of process 1 blocks until process 0 calls complete, and the receive of process 0 blocks until process 1 calls send. Consider, on the other hand, the code illustrated in Figure 24 .
Figure 24: No deadlock
This code will not deadlock. Once process 1 calls post, then the sequence start, put, complete on process 0 can proceed to completion. Process 0 will reach the send call, allowing the receive call of process 1 to complete.
Rationale.
MPI implementations must guarantee that a process makes progress on all enabled communications it participates in, while blocked on an MPI call. This is true for send-receive communication and applies to RMA communication as well. Thus, in the example in Figure 24 , the put and complete calls of process 0 should complete while process 1 is blocked on the receive call. This may require the involvement of process 1, e.g., to transfer the data put, while it is blocked on the receive call.
A similar issue is whether such progress must occur
while a process is busy computing, or blocked in a
non- MPI call. Suppose that in the last example the send-receive
pair is replaced by a write-to-socket/read-from-socket pair. Then
MPI does not specify whether deadlock is avoided.
Suppose that the blocking
receive of process 1 is replaced by a very long compute loop. Then,
according to one interpretation of
the MPI standard, process 0 must return from the complete call after
a bounded delay, even if process 1 does not reach any MPI call in
this period of time. According to another interpretation, the
complete call may block until process 1 reaches the wait call, or
reaches another MPI call. The qualitative behavior is the same,
under both interpretations, unless a process is caught in an infinite compute loop, in which case the difference may not matter.
However, the quantitative expectations are different.
Different MPI implementations reflect these different
interpretations. While this ambiguity is unfortunate, it does not
seem to affect many real codes. The MPI forum
decided not to decide which interpretation of the standard is the
correct one, since the issue is very contentious, and a decision would
have much impact on implementors but less impact on users.
( End of rationale.)


ShardingSphere has provided a full test engine, which defines SQL in the form of XML. Each SQL is driven by an SQL parsing unit test engine and an integration test engine, while each engine runs test cases for H2, MySQL, PostgreSQL, SQLServer and Oracle databases separately.
The SQL parsing unit test covers both SQL placeholder and literal dimension.
Integration test can be further divided into two dimensions of strategy and JDBC; the former one includes strategies as Sharding, table Sharding, database Sharding, and read-write split while the latter one includes Statement
and PreparedStatement
.
Therefore, one SQL can drive 5 kinds of database parsing * 2 kinds of parameter transmission modes + 5 kinds of databases * 5 kinds of Sharding strategies * 2 kinds of JDBC operation modes = 60 test cases, to enable ShardingSphere to achieve the pursuit of high quality.
Since the actual database environment is involved in the integrated test, the following preparation work should be finished before the test:
Run resources/integrate/schema/manual_schema_create.sql
in the database to be tested. Create databases (MySQL, PostgreSQL and SQLServer) and Schema (only Oracle).
Modify databases in sharding-jdbc/src/test/resources/integrate/env.properties
to appoint the test database to be tested.
Run AllIntegrateTests
to test the result.
SQL Parsing Engine Test is the test based on SQL itself, so AllParsingTests can be run directly without connecting to the database.


("None", -1)
]
JitterAmount = [
("None", 0),
("0.1 %", 0.1),
("0.5 %", 0.5),
("1 %", 1.0),
("2 %", 2.0)
]
//: Runtime state
Running, Finished, Waiting = 1, 2, 3
settingsHandler = settings.DomainContextHandler()
legend_anchor = settings.Setting(((1, 0), (1, 0)))
graph = SettingProvider(OWMDSGraph)
jitter_sizes = [0, 0.1, 0.5, 1, 2, 3, 4, 5, 7, 10]
graph_name = "graph.plot_widget.plotItem"


Error was handled by Default Controller
There was an unexpected error (type=
error
, status=
status
).
message


The custom dropdown can be added to a component as a popover. The contents of the custom dropdown can be defined in a template
and the path can be provided to the popover-template
attribute. The example shows a custom dropdown with
an option to search. Additional buttons and components can be added and the callbacks should be implemented accordingly.
The code used for the above example is shown below:


By: Harvest Digital Planning
ie. why do their clients need to attend appointments?
[partner / user] needs a way to [their needs] suprisingly / because / but [your insights]
Civic lab w/ the City of Yarra - November


{% load static %}
Add new company
ADD NEW COMPANY
{% csrf_token %}
Company Name
SSC
HSC
Average Pointer
Live-KT
Dead-KT


I am Gnaneswar Reddy currently pursing my M.Tech in Manufacturing Engineering from Manipal Institute of Technology. I have been developing my technical skills as well as human skills and communication skills through out my career. I am currently looking for 1 year internship and job oppurtunities in India.
• Involved in time study of the assembly process
• Collected the data of valued time and non valued time and provided suggestions to reduce the delay in production. • Gained knowledge on SQDCM• My project here is ”Safety enhancement and Equipment replacement study”.
• In terms of Safety Enhancement, I have implemented seat belt pokayoke (fool proof) system, by which the equipment will not get started and gives alarm with out fastening the seat belt. • For improving safety rule follow trend, I have proposed an idea of VR training to employees and have taken some major steps for implementing it. • In terms of equipment replacement, my role was to replace tow truck for eliminating heat emission, fumes entry into cabin, smell of engine and CO2 emission • The proposed countermeasure is to replace IC engine with electric motor. • I was also involved in path designing of AGV. • I have also done documentation works like preparing SOP’s (standard operating procedures) and concept papers• Study of customer satisfaction by doing SWOT analysis
• Hands on training for resolving different breakdowns of carsDuring my time at BML I learnt most of my key skills that have I have taken through my career such as teamwork and working to tight deadlines. I thouroughly enjoyed my time as university and learnt a lot about a healthy work life balance.


Chapter 19 – HOME IN CLEARFIELD ON NORTH MAIN STREET – June 1969 to June 1971
We had moved into Uncle Dale and Aunt Esther's home in Clearfield. They had built a new home in West Point and had moved there and were just going to rent this home in Clearfield. They rented it to us. It was a beautiful home with beautiful landscaping. It had about 3 large blue spruce trees, a rose garden, beautiful shrubs all around the home, ivy that covered the brick by the end of the summers. It had a circular driveway. In the front room there was a gas log fireplace which we enjoyed. It had a large kitchen; a family room and bedroom were downstairs.  We did have rabbits (for Sandi to care for and learn responsibility) and horses. Larry & Ken had gotten horses instead of pay for a job they had done. The man couldn't afford to pay them, but would give them his horses. We had Bonnie, an older stubborn horse and Kendee, a young Appalachia. Kendee was great and we all loved her, but Bonnie was slow, so she was good to put the younger children on.
We moved to this house in February of 1969. We rented the home in Ogden for about three months. The people didn’t pay us the rent on time. They were wrecking our home so we finally were able to sell it and get the people out this way. We lost $90.00 and had to paint the entire house, put in new screen doors, windows, etc. The people who bought our home didn’t have cash for the equity so we agreed to let them have it and pay our equity to us on escrow. We later had to give our escrow to Moyes Glass and Paint Company for the bill we owed on Larry & Ken’s Contracting business – B & B Contractors. We had gotten so far behind on our bills with the business not working out. We lived off of our two years supply as long as we could and finally had to go on church welfare to try and get caught up. This was very embarrassing for me, but humbling, as I wanted to be independent and hated to ask for help. Also, Uncle Dale helped us by letting us get behind on the rent and catching up later when we were able. Dad and Mom also gave us money and bought food and clothes occasionally. They were wonderful to us.
South Fork above Huntsville –When we were living in Ogden and Clearfield, we used to take the children camping or for a picnic up South Fork Canyon to the campgrounds there. It was a pretty area and fairly close when we lived in Ogden. One or more times, we continued on that road up to Monte Cristo and camped there. I didn’t like it as well as there were large horse flies there and they bit hard.
My first position in the Clearfield 1st ward was Trekker teacher in Primary. It was in the middle of the year when they had called the Trekker teacher to be the chorister in YWMIA. She loved these boys and so hated to leave them and couldn't understand why someone else couldn't have been the chorister, but she being a faithful member of the church, accepted this position. Her trekker boys loved her too and were very upset that she wasn't going to be their teacher any longer. So - this was a hard position for me to step into. I remember my first day at primary very well. Before opening exercises started, I tried to be friendly to the boys, but they wouldn't warm up at all. In fact, the one boy scooted away from me and gave me a dirty look. In class, it was a nightmare. They were yelling, climbing under and over the chairs and benches. (Our room was the scout room) They wouldn't listen to me give the lesson and were "out of control". When I got home, I fell into the big chair and wondered what I had gotten into by accepting this call. I have had many challenges in my experience of teaching positions and this was surely another one of them. I'm not a quitter - so I began thinking of different ways to present the lessons, of ways to show the boys that I cared about them, I made them a birthday cake for their birthday, etc. A couple of hard months later, I gave a lesson on knot tying. I was good at this because I had been over girl’s camp so much and the certification program. When the boys saw that I could tie knots, they were impressed and that was the turning point. It got better and better and by the end of the year, the boys loved me and I surely loved them. One of the boys was named Lane Adams. He was the hardest to warm up to, but in the end was one of my favorites. He would come over to our home and help me weed my rose garden, etc.
Randy Higley was a challenge because he had been brain washed by his mother and others that he had a learning disability and couldn't learn and do like other children his age. The boys had to pass off certain requirements to earn badges.  I didn't buy that. Randy could do more than his mother acknowledged. The elementary school was just across the road from our home and so I had Randy come over after school and I would go over and over with him the articles of faith, tying knots and the other things he needed to learn. Sometimes he would get frustrated and blurt out "I can't do it". I would say "yes, you can Randy and I will help you". He did learn them and pass them off much to the surprise of his mother. She was proud of him.
About this time, I was called to be the Primary President. Since we had just moved into the ward a few months ago and I had been in Primary and hadn't gotten to know very many sisters, I didn't know who to call for my counselors. Kent Murdock was the counselor over the primary at that time and he told me to fast and pray about it and go over the ward list and I would be able to choose the ones the Lord would have serve with me. I was in the PTA of the elementary school as Sandi was in the 2nd or 3rd grade. I finally choose two of the sisters I worked with in the PTA from our ward. I called Bro. Murdock and gave him the names. He said "I feel good about the one, but I think we better fast & pray a little longer about another name." I felt very good that he had been fasting and praying also to help me choose the right ones. Finally, I felt good about another sister and called him. He said "yes, that’s the one I feel should be your other counselor". They were excellent counselors and we grew to love each other as we worked together as a presidency. I was thankful for Bro. Murdock and for the Lord giving me these sisters to be my counselors.
I decided to have the secretary stay in from the last presidency since she had not been in very long and was doing a good job. Ione Adams (Lane Adams's mom) was my first counselor and Carolyn Cue was my other counselor. That was in 1969. It is now 1998 and Carolyn and I have kept in touch throughout these years. We used to get together for lunch once in a while, but now we just keep in touch at Christmas through notes and letters and Christmas cards. They are great women. I have special memories of working together on the Primary Sacrament meeting program, Mom & Miss party, Ward dinners that we were in charge of, pennies by the inch, etc., etc. I can't remember how long we served together (probably only about a year as we only lived in Clearfield two years).
While I was Primary President, one Saturday I was at the church for a "Miss and her Mom" party when we heard fire Syrians. Someone ran into the church where I was and told me it looked like smoke was coming from our home. I ran outside and looked, and sure enough it looked like it was coming from there. One of the ladies offered to take me home, so I jumped into her car. We had a hard time getting there because the traffic was so bad and they had the road blocked off. I jumped out of the car and took off running. I was very relieved when I saw Sandi and the younger children standing on the other side of the street with our neighbors. It wasn't our home that was on fire, but the old canning factory which was just south of our home. They were spraying down our home though as the flames were so hot that they were afraid our home would catch on fire also. Sandi was tending her younger brothers & sisters while I was at the party at the church. She was very responsible and I believe had been the one who called the fire department. She had quickly gotten the younger children outside and across the street. She was holding David and Shellie & Mike were standing by her. I was so thankful they were alright.
Also, while we were living in Clearfield, Larry & Ken decided we should go on a pack-in trip for a vacation and go to Pinedale, Wyoming. (Anyway, I think it was Pinedale) They wanted to take Tammy & I and also invite John & Linda & Bob & Pauline, our other good friends from Ogden. They wanted to go for a week. I was against it for several reasons.  3) I had had a couple of bad experiences with horses and going with Larry. The most recent was going up one of the canyons, coming home scratched up from following Larry through the trees and bushes, saddle sore, sunburned and feeling miserable. I liked going on short rides on the horses, but not all-day rides. I felt with going on a pack-in trip, it would be another miserable time. Ken really wanted to go and was stubborn and wouldn't take "no" for an answer. I got pretty upset and I remember my wonderful dad coming over for lunch (he worked part-time for my Uncle Dale at his farm manufacturing company "Clear-field Manufacturing" which was next door on the north.) He would come over for lunch sometimes and I enjoyed visiting with him. One day I was telling him about Ken wanting us to go on this pack-in trip to Wyoming. I told him how I felt and he told me I needed to stand up for myself - that I was a lot like my sweet little Grandma Bushnell, and that Grandpa Bushnell always bossed grandma around and didn't treat her very good, but when she finally stood up for herself (after her children were raised) he respected her more, treated her better and they had a much better relationship. He told me that if I didn't want to go on this pack-in trip, I shouldn't have to. He was cute. Well, Ken still won out in the end - but I am glad he did as I did have a wonderful time. Larry & Ken borrowed some big pack horses and cattle trucks from a friend in Wyoming that they built a home for (actually a home out of a schoolhouse) We drove to their place, put the horses in the big cattle trucks and headed up to the mountains. We parked at a certain place, put everything on those pack horses, then we got on our horses. I think I was riding Bonnie and Ken was on Kendee and us four couples started off. The area where we went was so beautiful. No motorized vehicle could go there, only horses or hikers. It was so beautiful. We followed each other on a trail and rode by beautiful lakes, river, and meadows. We saw lots of wildlife. It was so beautiful and peaceful. I don't think I have been to a more beautiful, wonderful, peaceful place. We camped at a lake. The guys fished and Tammy, Pauline, Linda and I visited and relaxed. It was so wonderful. We had a close call on the way back, however. Ken was driving one of the big cattle trucks and one of the horses slipped and caused the truck to swerve off the road. The Lord was watching over us because over half of the truck was over the mountain. The only thing that was holding it back, keeping it from going over the cliff was a small tree. As we think about it now, it was truly a miracle. Larry quickly stopped, ran over to us, opened the passenger door and helped us out. Ken had his foot on the brake, but Larry helped Bob, Pauline and then me out of the truck. Larry then ran over, jumped back into his truck and backed it behind the truck Ken was in. He took a big chain and fashioned it to both trucks and then pulled Ken's back onto the road. It was hard to watch, and I was praying with all my might that Ken would be OK. The horses were all upset and were rearing, etc., and the truck was swaying back and forth. I could just imagine at any moment that little tree breaking and Ken being hurled off that mountain in the truck. If that had happened, there would not be any chance that he could have come out alive. I'm so thankful to the Lord that our lives were spared that day. Pauline was so shaken that she would not get back into the truck. She started walking down the road. She had walked quite a way before we all convinced her that she couldn't walk all the way to the bottom of the mountain, so she finally got back in, but was very nervous until we got home. To tell the truth, I was also. Pauline was an English girl and had a cute assent. Her & Bob are special friends.
Kent Murdock was called to be the Bishop and he asked Ken to be his 1st counselor. With us having a young family, they didn't want both of us to be in executive positions so I was released. After Ken was put in the Bishopric, I asked him if he would talk to the Bishop about letting me be the Young Marrieds’ leader in our ward. I had enjoyed it so much in the Mount Fort Ward and we didn’t have one going in the Clearfield lst Ward. I was sustained in this position in September. Our opening social was September the 12th, the day David was born, so Delvin and Dalene Reed, my assistants took over. Later Ranae Barney was put in as my assistant and we became great friends. Ranae is a different lady, she is a worker and very creative. She did an amazing job as my assistant. However, she offended many people by the things she said and the way she said them. The funny thing is that she would become offended very easily, But, her and I got along great and grew to love each other. In January Dona Kolb, the Relief Society President moved to Roy, and Maurine Sanders was put in as the new president. She asked for John’s wife, Amy, and myself to be her counselors. I turned it down as both Ken and I felt that with the size of our family and with them being so small, it would be too hard as I would have to leave them so much. I talked to Dona and she verified it. She said it was too much on a woman with a small family. That she couldn’t have done it except that her husband worked nights so he tended the children while she went to Relief Society and visited the sisters and had her other meetings. She was my age and had three small girls. Our Relief Society meetings and activities were held during the week, not on Sundays like they are now. Later on that month they asked for me to teach the Spiritual Living class in Relief Society as Maurine had taught it before she was put in as President.
I remember well the night the Bishopric came over to ask me to be the Spiritual Living Teacher in Relief Society. I wanted to say "no" because I was really nervous about teaching the women in our ward, especially the Spiritual Living lessons. There were many older sisters who were very well versed in the scriptures and I felt one of them should have been the teacher, not me as I was young and not very well versed. I guess the Lord knew I needed to study the scriptures more - so I accepted. I remember being so nervous about giving that first lesson. I had about a month to prepare so I studied hard, made visual aids, fasted and prayed. Our Relief Society meetings were on Tuesday mornings. I remember going there, going to prayer meeting and sitting on the front row in the Relief Society room. I felt like I would pass out, and was sure that when I got in front of these sisters, I would pass out, but when I got up there and started to give the lesson, all the fear went away from me and I was able to give the lesson better than I had prepared and I felt the spirit of the Holy Ghost guiding me and helping me. It was such a warm, wonderful feeling and I was actually enjoying giving the lesson. When it was over many of the sisters came up and told me what a good lesson it was and how they had enjoyed and gained a lot from it. I was so happy. I knew my Heavenly Father had answered my prayers, and then I knew the meaning of the scripture which has come to be my favorite. Nephi is speaking - "I will go and do the things which the Lord has commanded for I know that the Lord giveth no commandments unto the children of men save he shall prepare a way that they can accomplish the thing that he has commanded them". This has given me courage to accept the calls that have come to me, even though many times I felt inadequate. My patriarcharal blessing tells me that I would be a leader among women and so I know that I am not to turn down these callings, and I have tried to accept and magnify them with the Lord's help. As I would try to do my best and ask the Lord for help, he has helped me greatly and I have been very blessed throughout my life.
While here in Clearfield, my Mom really encouraged me to finish the requirements and get my "Golden Gleaner" award. They don't have these awards anymore, in fact, they did away with them right after I received mine. You had to finish all the requirements for this award before the age of 30. I was 29 and Mom said that I should get an application and see if I hadn't already accomplished most of the requirements. I did and found that I had, indeed, fulfilled most of these requirements from being in Leadership positions, speaking in church, fulfilling other church callings, etc. I did have several to finish up, however, and I was expecting David and didn't feel up to all that I still needed to do. Mom kept after me, however, and so I did eventually earn this award before the age of 30. They recognized me at Sacrament Meeting and presented me with a medallion. Up to this point, the church had a special recognition banquet in Salt Lake City for all who had earned this special "Golden Gleaner" award for the women and "Golden M Men" for the men. With the church becoming so wide spread and even thought this was a small percentage of the men and women of the church who had earned this award, it was still getting harder to have a banquet for this many people - and so they discontinued it. I didn't go to a banquet, but that was ok. I'm sure I grew from doing these requirements
.
I didn’t love sewing, but I was excited that I could make clothes for our children and I loved dressing my daughters in “Look Alike” clothes. I also made pull-over shirts for our sons and many times I would make them out of the same material, so they all matched too. They didn’t mind it when they were young. I made dresses, tops, shawls & pajamas for the girls, and shirts and pajamas for the boys. I tried to make levi’s, but that was too much work. I made clothes for myself too and some of my favorites were clothes I had made. When we were living in Arizona, the first time, Shellie was mopping around and I asked her why she was sad. She said “You make clothes for Sandy, but not for me”. I hadn’t realized that it had been that long since I had sewn anything for her. I told her that we would go shopping the next day and she could pick out the pattern, material, lace or whatever she wanted and I would make a dress for her. She was so excited, and we had fun shopping together. She picked out a cute pattern and material, and after it was finished, she looked so cute in it and she loved it.
Larina, our Indian Foster daughter on the Indian Placement Program, was still living with us when we lived in Clearfield. She graduated from Clearfield High. When we moved to Clearfield, Larina became friends with Debbie Higley. Debbie was a darling girl. She was overweight and a little plain, but had a darling personality. We were glad her and Larina became friends. Debbie quickly grew to love our children and would love to come to our home and play with the kids and read them stories. Larina, it seemed came second place, when Debbie was at our home. After Larina graduated and went back to Idaho, we had Debbie baby sit for us. Even when she had other plans, she would cancel them to come and tend our children. She was the best babysitter we ever had. She loved the children and they loved her, and Ken & I loved her too.
When Mike was only about 7 months old, I got pregnant again. I was concerned because the baby would just be 16 & ½ months younger than Mike and I didn't know how I would manage especially since Ken was gone so much with being in the Bishopric.
When we moved to Clearfield, Ken decided he had better try to get a job back in computer programming. With him being out for about two years, it wasn't easy. Browning Arms up in Mountain Green was looking for a programmer so Ken went to apply for it. At first, they didn't want to even consider him, but he told them he would work for such a low wage and that after he proved himself, they could raise him to the wage that were planning to pay. The supervisor said "What can we lose" so they hired him. It was such a low wage that we were not able to pay our bills so we used our food storage instead of buying groceries. Ken did prove himself, but about that time the owner of the company, Val Browning, who was a alcoholic had bought a company, Jarmans, at a party when he was drunk. Jarmans was about bankrupt - so that put Browning Arms in a tight squeeze. When Ken's supervisor went to get the raise for him, he was told that there was a freeze on wages and they couldn't give him the raise he deserved. By this time, we had used up our food storage and had to be put on church welfare. I hated this. I always want to be self-sufficient and I didn't like being on church welfare. We were only on it about 2 or 3 months when we felt we needed a vacation.
Ken needed to get away and I did also. Larry & Tammy had moved to Mesa, Arizona because of Larry's health. He had rheumatoid arthritis and it was really hard on him living in Liberty so they had moved to Mesa for the warm weather. They invited us to come down - so we took Mom so she could visit her brother, Uncle Van and his wife, Aunt Allison, who were living there while Uncle Van was going to Arizona University in Tempe to get his doctor's degree in business. Mom said she would pay for half the gas since she was going with us. That really helped with our finances. We really enjoyed the vacation. We went in March I believe, which is the best time in Arizona. The orange blossoms are out and it is beautiful with the flowers, warm weather, etc. We stopped at Hoover Dam on the way down & other places. Larry & Tammy were happy to have us there as we had missed each other, and the children were really happy to be together as they had played together so much and were good friends. Lori & Sandi were the same age, Holly was a few months older than Shellie, Lonnie was a little older than Mike and David & Jody were the same age. In fact, they were born on the same day. Tammy was due a month later than I was and she had made the comment that I should go 2 weeks over and she should come 2 weeks early and we could be together in the hospital. I told her that it would be great for her, but I didn't want to go two weeks over my due date. Well, it turned out that I did go over two weeks and the doctor finally scheduled me to go in on the 12th of September and he would start me. The night of the 11th, Tammy called me and said "well, Mae, I'm on my way to the hospital. The pains are 5 minutes apart - so I'll save you a bed right next to me". We had a friend in the ward who was a nurse at the McKay hospital and after Tammy had Jody and was in the ward. She asked this friend if she could save the bed next to her for me as I was at the hospital now. She said "sure, that would be great". It was great. Tammy & I had a wonderful time being together with our new babies for four days. It was funny, thought because she was sure she was going to have a boy and I was sure I was going to have a girl, and we each had just the opposite. They were both beautiful babies and have been special children.
Anyway, back to the vacation. Larry had a friend and neighbor, Ron Shumway, who was the data processing manager at Hughes Air West Airlines. They called it the “The Yellow Banana”. Larry introduced Ken to Ron after church and told Ron about Ken. Ron needed to hire another programmer so was interested and had Ken go in to his office for an interview. He gave Ken some Cobalt (new programming language) books to study and then would fly him down to test him on it later. That happened and Ron offered Ken the job. We were excited as it was a big raise - a lot more than he would have made at Browning Arms even if they had given him the raise. We were sad to leave our parents, brothers & sisters and their families, however and so Ken approached his boss at Browning Arms to tell him of the offer. He asked Ken how much he would have to have in order for him to keep him at Browning Arms. Ken quoted a figure and it was less than he had been offered by Ron. His supervisor said "keep working, I need you here, I'll go approach the big boss. He came back after a couple of hours and said "Ken, you're crazy if you don't accept that offer. They say the freeze is still on and won't let me give you the raise". So, Ken quit. Ron wanted Ken to start as soon as possible so he did. Because he was working for the airlines, Ron told him he could fly home Friday after work and fly back Sunday night. He stayed with Larry & Tammy for three months as I hated to take Sandi out of school and have her start in a new school just 3 months before school was out. Anyway, it gave me time to sort through everything and get packed and with Ken coming home every weekend, it wasn't so bad.
Delvin and Dalean Reed had moved so I carried on the Young Married program alone. (I still held this position as well as Spiritual Living Teacher) RaNae Barney offered to help me as she also loved this program and hoped to activate her husband through this program. RaNae really has a different personality. She says what she thinks and throws digs at people, and many people are offended, but she doesn’t mean it that way and doesn’t mean to hurt people. In fact, if she thinks she has offended someone she worries and really lets it upset her. She was also really sensitive so you had to watch what you said to her as she might take it the wrong way. We got to be good friends working closely together, and she went out of her way to do things for me. I really appreciated her friendship. When we moved to come down to Arizona, the Young Marrieds gave Ken and I a beautiful cake (it looked like a wedding cake, it had two little kissing cupids on top) which Beverly McMillan had made. She was the Junior Sunday School Coordinator, a wonderful sister and a cake decorator. They also gave me a beautiful orchard for me to wear for “Mother’s Day” which was the next day. They had a sign by the cake which read - “You are our angels sent from Heaven above.” RaNae and Shirley Murdock were largely responsible for this, collecting money, making arrangements, etc. RaNae gave a beautiful speech about us, it was really a surprise and a thrill. The Bishopric and clerks gave a party for us also and gave us a beautiful electric living room clock.


{% extends 'base.html' %} {% block title %} Select Student(s) and then click on proceed {% endblock title %} {% block content-header %}
You can also search by name/class by typing in the search box


DELETE /users/:username/site_admin
You can demote any user account except your own.
Status: 204 No Content


Learning To Make Things:
The Olde-Timey Design Is Intentional For Now
HOME
LEARNING MORE
And welcome to our learning-to-do-things newsletter.
1/4
Caption 1
2/4
Caption 2
3/4
Caption 3
4/4
Caption 4
❮
❯


TWINT is the most frequently used mobile wallet in Switzerland.
TWINT can be used both in brick-and-mortar and in online stores.
A customer needs a Swiss bank account or a credit card to pay with TWINT. This innovative payment method is supported by most Swiss banks.
Customers can complete payments quickly and securely with TWINT. E-commerce payments are verified via a single-use QR Code or token.
Merchant Advantages:
Customer Advantages:
For merchants:
You need to register with TWINT.
Procedure
Step 1: Create a merchant account via www.twint.ch.
Step 2: Add one or more stores.
Step 3: Choose Payengine-Concardis GmbH as PSP (payment service provider).
Result: You will receive a confirmation by Payengine's support team as soon as TWINT is activated for your account.
For customers:
You need to download and install the TWINT app.
Procedure
Step 1: Install the TWINT mobile app (available for iOS and Android).
Step 2: Link it to a Swiss bank account or a credit card.
via Payengine Widget
| Step | Description | Screenshot |
|---|---|---|
| 1 | Choose TWINT | |
| 2 | A screen with the one-time
QR-code and/or token will be displayed. |
|
| 3 | Open the TWINT app.
Choose QR Code. |
|
| 4.1 | Option 1: Complete payment via QR-code:
Choose QR Scanner and proceed with the scanning. |
|
| 4.2 | Option 2: Complete payment via token:
Choose Code and proceed with token entry. |
|
| 5 | Click OK to confirm the payment. | |
| 6 | You will receive notification for successful payment in the app and in the widget. | |
| 7 |
Note: This customer experience represents a live environment and may look different in a test environment.
| Product | TWINT |
|---|---|
| Payment Options (for Customer) |
|
| Channels | ECOM |
| Currencies | CHF |
| Countries | CH |
| Technical Flow | asynchronous |
| Recurring | no |
| Chargebacks | yes |
| B2B applicable | yes |
| Debit | yes |
|---|---|
| Preauthorization | no |
| Cancelation | no |
| Capture | no |
| Refunds | yes (full and partial) |
| Notifications | yes - webhook, email |
| Settlement Reporting | no |
| API | yes |
|---|---|
| Widget | yes |
| Bridge | no |
| Shop Plugin | no |
| Paylink | no |
via direct API integration
Webhook and email notifications
At the time of the redirect, it is still uncertain whether a transaction will be completed successfully or not. Therefore, Payengine awaits for the final asynchronous notification before the status of a DEBIT transaction is changed from PENDING to SUCCESS or FAILURE.
A merchant should register for Payengine's notifications to receive this final status update.
Alternatively, a GET request on the order or DEBIT transaction would also work, but it is not ensured that the final status will be available immediately after the redirect and a merchant might have to query the GET multiple times.
Therefore, it is strongly recommended that Payengine's asynchronous notifications are used instead.
Merchants could receive notifications via URL (webhook) or email.
The TWINT notifications could be subscribed:
| Prerequisite | Mandatory/Optional | Create Prerequisite |
|---|---|---|
| Customer | O | POST /customers |
| Persona | O | POST /customers/{{customerId}}/personas |
| Billing Address | O | POST /customers/{{customerId}}/addresses |
| Shipping Address | O | POST /customers/{{customerId}}/addresses |
Specific Input Parameters for Debit Transactions
| Parameter | Mandatory/Optional | Description | Type | Example |
|---|---|---|---|---|
| async.cancelUrl | M | Redirect URL when payment is canceled | string | http://my.shop.com/cancel |
| async.failureUrl | M | Redirect URL for unsuccessful payment | string | http://my.shop.com/fail |
| async.successUrl | M | Redirect URL for successful payment | string | http://my.shop.com/success |
| currency | M | The currency of the transaction. The only possible value is CHF. | string | CHF |
| channel | M | The channel of the transaction. The only possible value is ECOM. | string | ECOM |
| basket | O | Basket data object with attributes | object |
Specific Response Parameters for Debit Transactions
Payengine sends the following specific response parameters, which are used by the merchant to display QR Code and/or Token to the customer:
| Parameter | Mandatory/Optional | Description | Type | Example |
|---|---|---|---|---|
| meta.qrCode | M | The base-64 encrypted image of the one-time QR Code to display to the customer. | string | See [Pub Doc] TWINT - Draft#Samples |
| meta.token | M | The one-time token to display to the customer. | integer | 80531 |
Debit transaction
POST/{{publicApiUrl}}/v1/orders/debit
{
"product": "twint",
"terms":<PHONE_NUMBER>476,
"privacy":<PHONE_NUMBER>476,
"merchantOrderId": "merchantOrderId{{$timestamp}}",
"description": "test transaction",
"statementDescription": "statement description",
"initialAmount": 2000,
"currency": "CHF",
"channel": "ECOM",
"source": "Postman Test",
"async": {
"successUrl": "https://www.google.de/#newwindow=1&q=success",
"failureUrl": "https://www.google.de/#newwindow=1&q=failure",
"cancelUrl": "https://www.google.de/#newwindow=1&q=cancel"
}
}
{
"createdAt":<PHONE_NUMBER>142,
"modifiedAt":<PHONE_NUMBER>142,
"merchantId": "merchant_at9ugmpywt",
"terms":<PHONE_NUMBER>476,
"privacy":<PHONE_NUMBER>476,
"orderId": "hcjnz1bd3n",
"merchantOrderId": "merchantOrderId1586780167",
"paymentProviderTransactionId": null,
"description": "test transaction",
"statementDescription": "statement description",
"initialAmount": 2000,
"preauthorizedAmount": 0,
"capturedAmount": null,
"refundedAmount": null,
"canceledAmount": null,
"currency": "CHF",
"basket": [],
"customer": null,
"persona": null,
"billingAddress": null,
"shippingAddress": null,
"ipAddress": null,
"paymentInstrument": {
"createdAt":<PHONE_NUMBER>000,
"modifiedAt":<PHONE_NUMBER>000,
"paymentInstrumentId": "paymentinstrument_zefnlpmxqk",
"merchantPaymentInstrumentId": null,
"attributes": null,
"encrypted": false,
"origin": "twint",
"type": "twint",
"recurring": false
},
"transactions": [
{
"createdAt":<PHONE_NUMBER>143,
"modifiedAt":<PHONE_NUMBER>143,
"type": "DEBIT",
"transactionId": "transaction_dpwtxisrv4",
"description": "test transaction",
"initialAmount": 2000,
"refundedAmount": 0,
"currency": "CHF",
"status": "CREATED",
"order": "hcjnz1bd3n",
"parentTransaction": null,
"transactions": null,
"basket": [],
"providerCode": null,
"merchantMessage": null,
"customerMessage": null,
"descriptor": null,
"meta": null,
"challenge": null,
"asyncNotificationSubscriptionId": null,
"tracking": null
}
],
"status": "OPEN",
"channel": "ECOM",
"source": "Postman Test",
"settled": false,
"settlementDate": null,
"allowedProducts": null,
"product": "twint",
"transactionType": "DEBIT",
"meta": {
"qrCode": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAdAQAAAAB+6FqiAAAAb0lEQVR42mP4////DwY04oOkQwXD9wvxFQxfIgOBRBSICAcS328CxT6IAmX//6n/wfA17tsPht/Zt4HE2aIKhn+r71QwfDofDpT9thqoTqIHqOOO8g+GLwG9QANi7wBZweVAsdt3gXYIhlYwYLEcAAf4VgNFRaVkAAAAAElFTkSuQmCC",
"token": 80531
},
"async": {
"successUrl": "https://www.google.de/#newwindow=1&q=success",
"failureUrl": "https://www.google.de/#newwindow=1&q=failure",
"cancelUrl": "https://www.google.de/#newwindow=1&q=cancel",
"confirmUrl": null
},
"deviceIdent": null,
"clientType": "BRW",
"asyncNotificationSubscriptionId": null,
"lastOperation": null,
"locale": null,
"risk": null,
"redirectUrl": null
}
Refund transaction
POST/{{publicApiUrl}}/{{apiVersion}}/orders/{{orderId}}/transactions/{{transactionId}}/refund
{
"description": "Twint refund transaction",
"initialAmount": 2000,
"currency": "CHF"
}
{
"createdAt":<PHONE_NUMBER>258,
"modifiedAt":<PHONE_NUMBER>258,
"type": "REFUND",
"transactionId": "transaction_xktvpltlqu",
"description": "Twint refund transaction",
"initialAmount": 2000,
"currency": "CHF",
"status": "SUCCESS",
"order": {
"createdAt":<PHONE_NUMBER>000,
"modifiedAt":<PHONE_NUMBER>000,
"merchantId": "merchant_at9ugmpywt",
"terms":<PHONE_NUMBER>476,
"privacy":<PHONE_NUMBER>476,
"orderId": "z0lhs7uxwa",
"merchantOrderId": "merchantOrderId1586780637",
"paymentProviderTransactionId": "e36d345c-f5c4-463e-81a5-9f34e71f93a9",
"description": "test transaction",
"statementDescription": "statement description",
"initialAmount": 2000,
"preauthorizedAmount": 2000,
"capturedAmount": 2000,
"refundedAmount": 2000,
"canceledAmount": 0,
"currency": "CHF",
"basket": [],
"customer": null,
"persona": null,
"billingAddress": null,
"shippingAddress": null,
"ipAddress": null,
"paymentInstrument": {
"createdAt":<PHONE_NUMBER>000,
"modifiedAt":<PHONE_NUMBER>000,
"paymentInstrumentId": "paymentinstrument_553vecnhjf",
"merchantPaymentInstrumentId": null,
"attributes": {
"customerRelationUuid": "6d79756d-90d9-4018-a006-0ce11292314c"
},
"encrypted": false,
"origin": "twint",
"type": "twint",
"recurring": false
},
"transactions": [
{
"createdAt":<PHONE_NUMBER>000,
"modifiedAt":<PHONE_NUMBER>000,
"type": "DEBIT",
"transactionId": "transaction_baxyfeixss",
"description": "test transaction",
"initialAmount": 2000,
"refundedAmount": 2000,
"currency": "CHF",
"status": "SUCCESS",
"order": "z0lhs7uxwa",
"parentTransaction": null,
"transactions": [
"transaction_xktvpltlqu"
],
"basket": [],
"providerCode": null,
"merchantMessage": null,
"customerMessage": null,
"descriptor": null,
"meta": null,
"challenge": null,
"asyncNotificationSubscriptionId": null,
"tracking": []
}
],
"status": "CLOSED",
"channel": "ECOM",
"source": "Postman Test",
"settled": false,
"settlementDate": null,
"allowedProducts": [],
"product": "twint",
"transactionType": "DEBIT",
"meta": {
"qrCode": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAdAQAAAAB+6FqiAAAAcklEQVR42mP4////DwY04oP4gQqG73fvVzB8iQkEEsEXgUQokPX9ClDsg6hDBcP/D/U/GL67NFcw/FuTW8Hw587xHwy/Hk+oYPjZLg805bssSJ0VUMm9rB8MX8KOAA2IyAKZdxAodncK0A5BmQoGLJYDAH//Vpa6Wr1OAAAAAElFTkSuQmCC",
"token": 49713
},
"async": null,
"deviceIdent": null,
"clientType": "BRW",
"asyncNotificationSubscriptionId": null,
"lastOperation": "TRANSACTION_REFUND_SUCCESS",
"locale": null,
"risk": null
},
"parentTransaction": {
"createdAt":<PHONE_NUMBER>000,
"modifiedAt":<PHONE_NUMBER>000,
"type": "DEBIT",
"transactionId": "transaction_baxyfeixss",
"description": "test transaction",
"initialAmount": 2000,
"refundedAmount": 2000,
"currency": "CHF",
"status": "SUCCESS",
"order": {
"createdAt":<PHONE_NUMBER>000,
"modifiedAt":<PHONE_NUMBER>000,
"merchantId": "merchant_at9ugmpywt",
"terms":<PHONE_NUMBER>476,
"privacy":<PHONE_NUMBER>476,
"orderId": "z0lhs7uxwa",
"merchantOrderId": "merchantOrderId1586780637",
"paymentProviderTransactionId": "e36d345c-f5c4-463e-81a5-9f34e71f93a9",
"description": "test transaction",
"statementDescription": "statement description",
"initialAmount": 2000,
"preauthorizedAmount": 2000,
"capturedAmount": 2000,
"refundedAmount": 0,
"canceledAmount": 0,
"currency": "CHF",
"basket": [],
"customer": null,
"persona": null,
"billingAddress": null,
"shippingAddress": null,
"ipAddress": null,
"paymentInstrument": {
"createdAt":<PHONE_NUMBER>000,
"modifiedAt":<PHONE_NUMBER>000,
"paymentInstrumentId": "paymentinstrument_553vecnhjf",
"merchantPaymentInstrumentId": null,
"attributes": {
"customerRelationUuid": "6d79756d-90d9-4018-a006-0ce11292314c"
},
"encrypted": false,
"origin": "twint",
"type": "twint",
"recurring": false
},
"transactions": [
"transaction_baxyfeixss"
],
"status": "CLOSED",
"channel": "ECOM",
"source": "Postman Test",
"settled": false,
"settlementDate": null,
"allowedProducts": [],
"product": "twint",
"transactionType": "DEBIT",
"meta": {
"qrCode": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAdAQAAAAB+6FqiAAAAcklEQVR42mP4////DwY04oP4gQqG73fvVzB8iQkEEsEXgUQokPX9ClDsg6hDBcP/D/U/GL67NFcw/FuTW8Hw587xHwy/Hk+oYPjZLg805bssSJ0VUMm9rB8MX8KOAA2IyAKZdxAodncK0A5BmQoGLJYDAH//Vpa6Wr1OAAAAAElFTkSuQmCC",
"token": 49713
},
"async": null,
"deviceIdent": null,
"clientType": "BRW",
"asyncNotificationSubscriptionId": null,
"lastOperation": "TRANSACTION_REFUND_SUCCESS",
"locale": null,
"risk": null
},
"parentTransaction": null,
"transactions": [
"transaction_xktvpltlqu"
],
"basket": [],
"providerCode": null,
"merchantMessage": null,
"customerMessage": null,
"descriptor": null,
"meta": null,
"challenge": null,
"asyncNotificationSubscriptionId": null,
"tracking": []
},
"transactions": null,
"basket": [],
"providerCode": null,
"merchantMessage": null,
"customerMessage": null,
"descriptor": null,
"meta": null,
"challenge": null,
"asyncNotificationSubscriptionId": null,
"tracking": null
}
TWINT can be tested via the Payengine Simulator.
The testing amounts for the success and failure scenarios are shown below:
| Result | Description |
|---|---|
| Success | Any applicable amount (excluding failure amounts listed below). The transaction's status changes from "OK" to "SUCCESS" |
| Failure |
Each of the amounts listed below:
|


Join us in this 6 part bi-weekly BeagleBone® webinar series presented by Jason Kridner, the co-founder and board member at BeagleBoard.org® Foundation, and element14, about the fundamentals of BeagleBone®. They will show you how to have fun with the BeagleBone® boards.
All webinar times are 11:00 AM (CDT)/17:00 (GMT)
May 10, 2018
May 24, 2018
June 6, 2018
June 21, 2018
July 12, 2018
July 26, 2018
Jason Kridner
Co-founder and board member at BeagleBoard.org® Foundation
Open Platforms Technologist/Evangelist


Creates a mount target for a file system. You can then mount the file system on EC2 instances via the mount target.
You can create one mount target in each Availability Zone in your VPC. All EC2 instances in a VPC within a given Availability Zone share a single mount target for a given file system. If you have multiple subnets in an Availability Zone, you create a mount target in one of the subnets. EC2 instances do not need to be in the same subnet as the mount target in order to access their file system. For more information, see Amazon EFS: How it Works .
In the request, you also specify a file system ID for which you are creating the mount target and the file system's lifecycle state must be available . For more information, see describe-file-systems .
In the request, you also provide a subnet ID, which determines the following:
After creating the mount target, Amazon EFS returns a response that includes, a MountTargetId and an ip-address . You use this IP address when mounting the file system in an EC2 instance. You can also use the mount target's DNS name when mounting the file system. The EC2 instance on which you mount the file system via the mount target can resolve the mount target's DNS name to its IP address. For more information, see How it Works: Implementation Overview .
Note that you can create mount targets for a file system in only one VPC, and there can be only one mount target per Availability Zone. That is, if the file system already has one or more mount targets created for it, the subnet specified in the request to add another mount target must meet the following requirements:
If the request satisfies the requirements, Amazon EFS does the following:
Each Amazon EFS mount target has one corresponding requester-managed EC2 network interface. After the network interface is created, Amazon EFS sets the NetworkInterfaceId field in the mount target's description to the network interface ID, and the ip-address field to its address. If network interface creation fails, the entire create-mount-target operation fails.
Note
The create-mount-target call returns only after creating the network interface, but while the mount target state is still creating , you can check the mount target creation status by calling the describe-mount-targets operation, which among other things returns the mount target state.
We recommend you create a mount target in each of the Availability Zones. There are cost considerations for using a file system in an Availability Zone through a mount target created in another Availability Zone. For more information, see Amazon EFS . In addition, by always using a mount target local to the instance's Availability Zone, you eliminate a partial failure scenario. If the Availability Zone in which your mount target is created goes down, then you won't be able to access your file system through that mount target.
This operation requires permissions for the following action on the file system:
This operation also requires permissions for the following Amazon EC2 actions:
See also: AWS API Documentation
create-mount-target
--file-system-id <value>
--subnet-id <value>
[--ip-address <value>]
[--security-groups <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
ID of the file system for which to create the mount target.
ID of the subnet to add the mount target in.
Valid IPv4 address within the address range of the specified subnet.
Up to five VPC security group IDs, of the form sg-xxxxxxxx . These must be for the same VPC as subnet specified.
Syntax:
"string" "string" ...
--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.
--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.
OwnerId -> (string)
AWS account ID that owns the resource.
MountTargetId -> (string)
System-assigned mount target ID.
FileSystemId -> (string)
ID of the file system for which the mount target is intended.
SubnetId -> (string)
ID of the mount target's subnet.
LifeCycleState -> (string)
Lifecycle state of the mount target.
IpAddress -> (string)
Address at which the file system may be mounted via the mount target.
NetworkInterfaceId -> (string)
ID of the network interface that Amazon EFS created when it created the mount target.


research
Home
About
Research
Teaching
Design
Contact
This webpage will be updated in the following weeks.


Thank you for submitting your order!
In order to complete your order, please send us a payment via Paypal using the following link:
Once payment is received, your order will be queued up for the next available roasting time and should ship within 1-2 business days.
Your Order Summary:
%ORDER
If you have any feedback or questions about your order, don't hesitate to reach out.
We hope you enjoy our fresh-roasted coffee experience!
Best Regards,
Andrew,
Morning Walk Coffee Roasters


Box Options
Toggle Box
Change Box Width
Change Box Colors
Toggle Mean
Toggle Median
Toggle Whiskers
Toggle Outliers
Violin Options
Toggle Violin
Change Violin Width
Change Violin Colors
Change Violin Resolution


Scissors Rock Paper
by Dan and Vim with 🖤
Hello vermin! Use your wits and teamwork (or individual strength,
we don't judge) to take down your opponent(s) in an epic battle only known as: Scissors Rock
Paper!
(To
avoid copyright infringement)


head_ref_force_pushed
by Jane Sandberg at 2023-01-13 22:05:43.ready_for_review
by Jane Sandberg at 2023-01-13 22:06:08.It happened again overnight on lib-jobs. The last record that succeeded last night was AC138 in repo 4. The day before, the process stopped somewhere in repo 5, i.e. advanced farther before it stopped. This suggests a connection or network outage rather than a data error.
I checked with Lyrasis about outages, but they're seeing nothing in their server and API logs.
Manual re-run succeeds again this morning.
I'm wondering whether this could be something on lib-jobs?
labeled
by None at 2023-01-14 13:44:03.Closing in favor of #3361
closed
by Jane Sandberg at 2023-01-13 23:30:17.Coverage: 94.514%. Remained the same when pulling 45399d2cb7a3e4979b2bc1be03f40bce3088e290 on constraints-deprecations into ac78d93e0a553e79ea37f6ae4cdad40e04c17be0 on main.
head_ref_force_pushed
by Jane Sandberg at 2023-01-13 23:59:18.head_ref_force_pushed
by Jane Sandberg at 2023-01-14 01:09:57.Coverage: 94.442% (-0.07%) from 94.514% when pulling 01093919d284ebf066e503090704285abc1b04a8 on more_deprecation into ac78d93e0a553e79ea37f6ae4cdad40e04c17be0 on main.
ready_for_review
by Jane Sandberg at 2023-01-13 23:34:17.renamed
by Chuck McCallum at 2023-01-13 22:45:48.


Full Consent: You agree to allow WTC and the researchers involved in this experiment to view and use your experiment results and your details.
No Consent: You do not agree to allow anyone to view or use your experiment results or any of your details.
Note: Every experiment has specific consent levels which can be given when viewed individually.
Anonymous: Only your results will be given, your identity will be hidden.
Custom Consent: Custom set consent option, can be configured in Settings.


Before Change
l1_regularization: L1 regularization weight
self.size = size
if isinstance(window, int):
self.window = (window, window)
elif len(window) == 2:
self.window = tuple(window)
else:
raise TensorForceError("Invalid window {} for conv2d layer, must be of size 2".format(window))
self.stride = stride
self.padding = padding
self.bias = bias
self.l2_regularization = l2_regularization
After Change
summary_labels=summary_labels
)
if self.skip:
self.linear_skip = Linear(
size=size,
bias=bias,
l2_regularization=l2_regularization,
l1_regularization=l1_regularization,
summary_labels=summary_labels
)
// TODO: Consider creating two nonlinearity variables when skip is used and learning beta
// Right now, only a single beta can be learned
self.nonlinearity = Nonlinearity(summary_labels=summary_labels, **util.prepare_kwargs(activation))
super(Dense, self).__init__(named_tensors=named_tensors, scope=scope, summary_labels=summary_labels)


Up To Date
Tracker:
Start Time:
End Time:
Time On Site:
STOP
Countdown:
Time Ago:
Time Ago:
Time In:
Time In:
Code Examples & Source Available At
Github
Made By
RetroVX


GET https://apis.wso2.com/api/am/admin/v0.15/export/applications
This operation can be used to export the details of a particular Application as a zip file.
apim:app_import_export
i
GET https://localhost:9443/api/am/admin/v0.15/export/applications?appName=sampleApp&appOwner=admin
Authorization: Bearer ae4eae22-3f65-387b-a171-d37eaa366fa8
HTTP/1.1 200 OK
Connection: keep-alive
Content-Disposition: attachment; filename="exported-application.zip"
Content-Type: application/zip
curl -k -H "Authorization: Bearer ae4eae22-3f65-387b-a171-d37eaa366fa8" -X GET https://localhost:9443/api/am/admin/v0.15/export/applications?appName=sampleApp&appOwner=admin > admin_sampleApp.zip
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| Query |
appName required |
Application Name |
String | |
| Query |
appOwner required |
Owner of the Application |
String |
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK. Export Successful. |
file |
400 |
Bad Request. Invalid request or validation error |
Error |
404 |
Not Found. Requested Application does not exist. |
Error |
406 |
Not Acceptable. The requested media type is not supported |
Error |
POST https://apis.wso2.com/api/am/admin/v0.15/import/applications
This operation can be used to import an Application.
apim:app_import_export
i
POST https://localhost:9443/api/am/admin/v0.15
/import/applications
Authorization: Bearer ae4eae22-3f65-387b-a171-d37eaa366fa8
HTTP/1.1 201 Created
Location: https://localhost:9443/api/am/admin/v0.15/applications/c30f3a6e-ffa4-4ae7-afce-224d1f820524
Content-Type: application/json
{
"groupId": "",
"callbackUrl": "http://my.server.com/callback",
"owner": "admin",
"applicationId": "c30f3a6e-ffa4-4ae7-afce-224d1f820524",
"status": "APPROVED",
"name": "sampleapp"
}
curl -k -F<EMAIL_ADDRESS>-X POST -H "Authorization: Bearer ae4eae22-3f65-387b-a171-d37eaa366fa8" https://localhost:9443/api/am/admin/v0.15/import/applications
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| Form |
file required |
Zip archive consisting of exported Application Configuration. |
File | |
| Query |
preserveOwner optional |
Preserve Original Creator of the Application |
Boolean | |
| Query |
skipSubscriptions optional |
Skip importing Subscriptions of the Application |
Boolean | |
| Query |
appOwner optional |
Expected Owner of the Application in the Import Environment |
String |
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK. Successful response with the updated object information as entity in the body. |
ApplicationInfo |
207 |
Multi Status. Partially successful response with skipped APIs information object as entity in the body. |
APIInfoList |
400 |
Bad Request. Invalid request or validation error |
Error |
406 |
Not Acceptable. The requested media type is not supported |
Error |


Dear {{ student.username }}
Your parent has successfully registered you into somasoma eLearning. As a reminder, these are the credentials you will need to log into your account:
| First Name | Last Name | Username | |
|---|---|---|---|
| {{ student.first_name }} | {{ student.last_name }} | {{ student.username }} | {{ student.email }} |
Kindly note that your password is a secret. Not even somasoma eLearning knows what it is.
A similar registration email has been sent to your parent.
Sincerely,
somasoma eLearning Admin


--- layout: post title: Rails become more pluggable categories: [] author: admin published: true date: 2005-10-11 21:51:51.000000000 +01:00 ---
Jamis has a good run-down of the new plugin system that we’ve created for Rails. The implementation is silly simple, but its usage is powerful. The system is already driving the sharing of code internally at 37signals.


{% extends 'account/base.html' %} {% block title %} Dashboard {% endblock %} {% block contents %}
Welcome to your dashboard. You can edit your profile or change your password.
{% with total_images_created=request.user.images_created.count %}Welcome to your dashboard. You have bookmarked {{ total_images_created }} image {{ total_images_created| pluralize }}.
{% endwith %} {% endblock %}


First Borderlands 3 DLC announced, and it’s about Handsome Jack
by Oscar DayusBorderlands 3‘s first narrative expansion has been revealed. The DLC is named Moxxi’s Heist of the Handsome Jackpot, and it’s coming “soon”.
The add-on will have you join Moxxi’s crew in order to “pull off the ultimate casino heist”, according to an official synopsis. The blurb states: “Moxxi’s assembling a crew to plunder a derelict space station casino and you’ve proven yourself worthy of joining her ragtag team of ‘experts.’ Successfully battle your way through Hyperion security forces and crazed casino-goers to reach a safe loaded with Eridium, cash, and all-new Legendary loot!”
Be aware the DLC requires you to have played enough of the main game’s story to have access to Sanctuary III. “The enemies and loot aboard the station will scale to your Vault Hunter’s level,” Gearbox notes, “ensuring that the casino heist missions and new Crew Challenges are suitably difficult and rewarding.”
The Handsome Jackpot casino is, of course, named after the series’ popular Handsome Jack villain. The location will contain familiar faces to have outlived the character himself as well as “never-before-seen” enemies.
The DLC pack’s release date has not yet been confirmed. It’s available as part of the game’s season pass, which costs £40 / $50; it’s unclear if it will also be available separately.


Search The Content
HOME
MENU
ARCHIVE
My Artworks
Search Songs, Music & Videos
1.Youtube Videos
2.Database Songs
[Click on the Search Songs or Search Youtube Buttons]


Payment {% if error %} Sorry there was an error with Paypal, please try a different form of payment {% endif %}


#assign compareHibernate="active"> <#assign subtitle = "Compare with Hibernate">
The issues discussed in the comparison with JPA also apply to Hibernate. The comparison here apply more specifically to Hibernate.
Ebean ORM will always honor firstRows / maxRows in generated SQL. Once you include a join fetch to a @OneToMany Hibernate stops implementing maxRows in SQL and instead brings all the rows back to the client (application server) and filters the results there.
This means the database does not get the opportunity to optimise that query using maxRows (via limit offset clause or similar) and so the DB query execution plan can be very different by reducing the ability of the DB to use indexes and increasing the chances of full table scans.
This also means significantly more data is pulled back from the DB to the client.
Ebean ORM will never generate a SQL cartesian product. Hibernate generates a SQL cartesian product when you join fetch multiple @OneToMany or @ManyToMany associations.
Hibernate does not allow lazy loading beyond the end of it's Session scope and instead
throws LazyInitialisationException
.
query.setDisableLazyLoading(true)
.
This is useful when you want to use a partially populated bean and give it to a reflection based tool
that converts it to JSON or DTO's etc.
With Ebean lazy loading just works without any drama
As a byproduct of Ebean supporting lazy loading (beyond transaction scope) Ebean does not require
the "Open session in view"
pattern which is sometimes used with Hibernate.
The "Open session in view" used with Hibernate has the effect of holding a transaction open for a longer time relative to Ebean. This pattern is considered an anti-pattern by many and instead the focus is on making sure service layer code has loaded everything that is needed on the entities (and this is code we don't need to write with Ebean).
Ebean's @History is a database centric approach mapping to SQL2011. Hibernate Envers is an application centric approach which means that unlike @History bulk updates and external updates don't get included in auditing with Envers.
Hibernate does not honor the JPA fetchgraph hint at the property/column level which means we can't use that to optimise our SQL queries.
JPA nor Hibernate have built in support for PagedList with findCount - That is, having a single query to execute and having that query automatically converted into an appropriate and optimised "find total row count" query.
JPA does not have a standard approach for large query support but Hibernate has a scroll
query.
Ebean's findEach() work using a per object graph scope for the persistence context and also automatically adjust the JDBC fetchSize for cursor/scrolling use such that the JDBC driver (Especially MySql and Postgres) don't pull all the results to the client and for MySql runs the findEach() query in a separate transaction (such that we can perform query joins and iterate complex object graphs).
When using Hibernate scroll
query you need to make sure you:
evict()
the beans from the Session or use a StatelessSession.
Hibernate has different semantics for Set
and List
(bag semantics).
For Hibernate this tends to promote the use of Set as the preferred collection type.
Ebean does not apply different semantics between Set
and List
.
The issue with using Set
is that it implies the use of hashCode()/equals()
and the
implementation of hashCode()/equals() is not perfect for the case of entity beans that mutate and don't
always have an @Id value (e.g. When the @Id value is not populated via generated value and hence not
populated until after the save and hence the @Id value can't be used in hashCode/equals implementation).
For Ebean I'd like to promote the use of List
in preference to Set
in order to
avoid any confusion relating to hashCode()/equals() implementation on mutating entity beans.
Ebean's default UnderscoreNamingConvention
matches Hibernate's ImprovedNamingStrategy
but
not the JPA standard based one (which has mixed case column naming AND underscores). Note that
Spring boot automatically configures Hibernate to use the ImprovedNamingStrategy.
Both Ebean and Hibernate use the @NotNull
and @Size
validation annotations for mapping.
JPA defaults all @ManyToOne to be treated as fetch EAGER. We almost certainly don't want that when using Hibernate (as those Eager fetch types can then not be made lazy via JPQL or via fetchgraph hints so typically with Hibernate we would expect most @ManyToOne to be explicitly lazy via ... @ManyToOne(fetch = FetchType.LAZY).
With Ebean we use our query language to define "What to fetch" and don't need to specify FetchType.LAZY on @ManyToOne.
Ebean automatically maps UUID to their native types for Postgres and H2 - so UUID just works as we would like.
Hibernate supports mapping UUID to the native type for Postgres via org.hibernate.annotations.Type - @Type(type="pg-uuid"). The downside here is that this does not work with UUID on H2 (mapping to binary instead) and this means that SQL test scripts don't execute against H2 using literal UUID values (so some pain here when testing against H2 here).
Ebean allows entities to be mapped without an @Id. These entities are typically based on SQL or DB Views and used for reporting purposes. Ebean allows this and these entity beans bypass the persistence context because they don't have an @Id value.
With Hibernate we would look to use a different approach, perhaps a DTO query.
Ebean has explicit support for entities based on views via @View. This takes into account DDL for creating the view from a DB migration and testing perspective as well as L2 caching based on underlying table dependencies.
Hibernate currently generates foreign key names like FK_edi14sijwrl3p2sf41ls3svkm
and
unique constraint names like UK_ajysu81d17lesquo7uqosrtah
.
Ebean has a naming convention for foreign key names and unique constraint names that includes the table and column names. When the names are very restricted (DB2 and Oracle) Ebean uses a "vowel remover" and trim in order to still produce decent foreign key and unique constraint names. The DBA in me thinks those Hibernate constraint names are "absolute pants!".


{% extends '../layouts/template.html' %} {% block title %}Check your National Insurance record {{mvpversion}}{% endblock %} {% block serviceName %}Check your National Insurance record{% endblock %} {% block main %} {% include '../persephone_login.html' %}
View and manage everything that HM Revenue and Customs knows about you in one place using your current sign in details. Check your tax code, see your tax free amount or change your address in your personal tax account.
Back


*Here Bob created a proposal using a dApp for sharing his idea, and Jimi came along on his support.
In this example all transactions are saved as DataTransactions in the Data Storage of a dApp (saved immutably in the Waves Blockchain).
Backend code was written using Ride4Dapps and Transactions signed via WavesKeeper. People can use the like or dislike button to support or
not the submitted proposal and the donate (heart) to tip the proposal creator or person replying
Kolin Proposal #1
Bob
30 minutes ago 3 22 0 43Jimi
10 minutes ago 1 11Bob
10 minutes ago 0 37Jimi
5 minutes ago 0 24


Hardware Programmer
Perform bug fixes for the NMS application, rewrite the code for reading sensor values, and make improvements to the stability and performance of the application
Dekstop Programmer
Performed bug fixes in the Access control application, redesigned the application layout, added the preferred camera type to record, read QR codes, added the UHF RFID feature, as well as several other minor ones.
Dekstop Programmer
Performed bug fixes in the Parking system application, and made improvements to the application, such as adding a camera type for live streams and reading QR codes, as well as several other minor ones.
Application Support
Supports the Meikarta collection application, such as checking, troubleshooting, and analysis for the need for adding features to the application. And make daily transaction reports of the applications used.


An introductory programming series for coding eagers complete with carefully crafted cocktails
HTML stands for HyperText Markup Language. It is a computer language devised to allow website creation. These websites can then be viewed by anyone else connected to the Internet.
Learn moreCSS stands for Cascading Style Sheets. It is a language that defines style constructs such as fonts, colors, and positioning, which describe how information on a webpage is formatted and dispalyed.
Learn moreJavaScript is a programming language used to make webpages interactive. It is what gives a page life — the interactive elements and animation that engage a user.
Learn moreFor when you need the flexibility and easy portability of a JVM, why not make yourself our JavaSip cocktail for an added boost? You’ll be running faster than C++ in no time!
2 ounces vodka
1 ounce passion fruit purée
1 ounce vanilla syrup
1/2 ounce lime juice
Passion fruit, sparkling rosé
Put all ingredients in a cocktail shaker and shake
Strain into a coupe and serve with fresh passion fruit and
a shot of sparkling rosé
And finally, enjoy!
When they say save the best for last they must’ve thought of this when they were naming Vodka in the dictionary. It may be in the back but more often than not it can bring to centre stage things you least expected. If you’re struggling to see where the error in your code hides, why not whip up a cocktail to open your eyes to new perspectives?
1 lime wedge for garnish
Combine vodka, lime juice, triple sec, and cranberry juice in a cocktail shaker.
Add ice, cover and shake until chilled.
Strain into a chilled cocktail glass.
Garnish with a lime wedge
And finally, enjoy!
If these signature drinks aren't doing it for you, maybe these will help?
Awh Rum, when you need an extra boost of strength to fight the bugs in life, why not conjour up an extra punch with the Rum Bug cocktail?
2 oz White rum
2 oz Dark rum
1 oz Lime juice
1 oz Orange juice
2 oz Passion fruit juice
1⁄2 oz Simple syrup
1⁄2 oz Grenadine
1 Orange wheel and cherry
Add all the ingredients to a shaker and fill with ice
Shake, and strain into a large Hurricane glass filled with fresh ice
Garnish with an orange half-wheel and a cherry
Finally, enjoy!
Looking for a different kind of arsenal to fight those nasty bugs? Maybe one of these cocktails will be to your liking:
Contact us


Mandelbrot Explorer
(AP Calculus BC, 2nd Period)
General Settings
escape radius:
color:
greyscale
colored
Window Settings
zoom:
center:
Zoom!
real bounds:
imaginary bounds:
Poof!


# TWO-NN: Intrinsic dimension estimator by a minimal neighborhood information.
#
# Author: Maria d'Errico<EMAIL_ADDRESS>#
# Licence: BSD 3 clause
import numpy as np
import heapq
from sklearn.base import BaseEstimator, ClassifierMixin, TransformerMixin, DensityMixin
from sklearn.utils.validation import check_X_y, check_array, check_is_fitted
from sklearn.utils.multiclass import unique_labels
from sklearn.metrics import euclidean_distances
from sklearn.neighbors import NearestNeighbors
from math import log, sqrt, exp, lgamma, pi, pow
from sklearn.linear_model import LinearRegression
VALID_METRIC = ['precomputed', 'euclidean']
[docs]def _twoNearestNeighbors(distances, blockAn=True, block_ratio=20, frac=1):
"""Main function for the TWO-NN estimator.
Parameters
----------
distances: array [n_samples, k_max]
Distances to the k_max neighbors of each points.
blockAn : bool, default=True
If blockAn is True the algorithm perform a block analysis that allows discriminating the relevant dimensions
as a function of the block size. This allows to study the stability of the estimation with respect to
changes in the neighborhood size, which is crucial for ID estimations when the data lie on a manifold perturbed
by a high-dimensional noise.
block_ratio : int, default=20
Set the minimum size of the blocks as `n_samples/block_ratio`. If ``blockAn=False``, block_ratio is ignored.
frac : float, default=1
Define the fraction of points in the data set used for ID calculation. By default the full data set is used.
"""
N = len(distances)
log_nu = []
d_mle = 0.
for i in range(0, N):
# TODO: handle duplicate points, i.e. distances[i][1] equals to zero
log_nu_i = log(distances[i][2])-log(distances[i][1])
log_nu.append(log_nu_i)
d_mle = d_mle + log_nu_i
# Intrinsic dimension estimated with MLE variant of TWO-NN
id_mle = int(round(N/d_mle))
# Perform linear fit -log[1-F(nu)]=d*log(nu), where F(nu)=i/N, with intercept=0
x = log_nu
if frac<1:
x = []
heapq.heapify(log_nu)
for _ in range(int(round(len(log_nu)*frac))):
x.append(heapq.heappop(log_nu))
else:
x = sorted(log_nu)
# TODO: compare with the available benchmarks using (i+1)/N instead
#y = [-log(1.-(i+1)/N) for i in range(len(x))]
y = [-log(1.-(i)/N) for i in range(len(x))]
# Fit the model y = a * x using np.linalg.lstsq
a, _, _, _ = np.linalg.lstsq(np.array(x)[:,np.newaxis], np.array(y), rcond=None)
id = a[0]
# TODO: Implement block analysis and decimation plot. It doesn't affect the results.
return int(round(id)), x, y
[docs]class twoNearestNeighbors(BaseEstimator, DensityMixin):
"""Class definition for TWO-NN: Intrinsic dimension estimator by a minimal neighborhood information.
The TWO-NN estimator uses only the distances to the first two nearest neighbors of each point.
Parameters
----------
metric : string, or callable
The distance metric to use.
If metric is a string, it must be one of the options allowed by
scipy.spatial.distance.pdist for its metric parameter, or a metric listed in
:obj:`VALID_METRIC = [precomputed, euclidean]`. If metric is ``precomputed``, X is assumed to
be a distance matrix. Alternatively, if metric is a callable function, it is
called on each pair of instances (rows) and the resulting value recorded. The
callable should take two arrays from X as input and return a value indicating
the distance between them. Default is ``euclidean``.
blockAn : bool, default=True
If blockAn is True the algorithm perform a block analysis that allows discriminating the relevant dimensions
as a function of the block size. This allows to study the stability of the estimation with respect to
changes in the neighborhood size, which is crucial for ID estimations when the data lie on a manifold perturbed
by a high-dimensional noise.
block_ratio : int, default=20
Set the minimum size of the blocks as `n_samples/block_ratio`. If ``blockAn=False``, block_ratio is ignored.
frac : float, default=1
Define the fraction of points in the data set used for ID calculation. By default the full data set is used.
n_jobs : int or None, optional (default=None)
The number of jobs to use for the computation. This works by computing
each of the n_init runs in parallel.
``None`` means 1 unless in a :obj:`joblib.parallel_backend` context.
``-1`` means using all processors. See :term:`Glossary <n_jobs>`
for more details.
Attributes
----------
dim_ : int
The intrinsic dimensionality
References
----------
E. Facco, M. d’Errico, A. Rodriguez and A. Laio, Estimating the intrinsic dimension of datasets by a minimal neighborhood information. `Sci. reports` 7, 12140 (2017)
"""
def __init__(self, metric='euclidean', blockAn=True, block_ratio=20, frac=1, n_jobs=None):
self.metric = 'euclidean'
self.blockAn = blockAn
self.block_ratio = block_ratio
self.frac = frac
self.n_jobs = n_jobs
if self.frac > 1:
raise ValueError("frac should be between 0 and 1.")
[docs] def fit(self, X, y=None):
"""A reference implementation of a fitting function.
Parameters
----------
X : array [n_samples, n_samples] if metric == ``precomputed``, or,
[n_samples, n_features] otherwise
The input samples.
y : Ignored
Not used, present here for API consistency by convention.
Returns
-------
self : object
Returns self.
"""
# Input validation
X = check_array(X, order='C', accept_sparse=True)
if self.block_ratio >= X.shape[0]:
raise ValueError("block_ratio is larger than the sample size, the minimum size for block analysis \
would be zero. Please set a lower value.")
if self.metric == "precomputed":
# TODO: handle identical distances
nbrs = NearestNeighbors(n_neighbors=3, # Only two neighbors used; the point i is counted in its neighborhood
algorithm="brute",
metric=self.metric,
n_jobs=self.n_jobs).fit(X)
else:
# Remove duplicates coordinates
X = np.unique(X, axis=0)
nbrs = NearestNeighbors(n_neighbors=3, # Only two neighbors used; the point i is counted in its neighborhood
algorithm="auto",
metric=self.metric,
n_jobs=self.n_jobs).fit(X)
self.distances_, self.indices_ = nbrs.kneighbors(X)
self.dim_, self.x_, self.y_ = _twoNearestNeighbors(self.distances_,
blockAn=self.blockAn,
block_ratio=self.block_ratio,
frac=self.frac)
self.is_fitted_ = True
return self


This screen is used to setup the component messages to your particular needs.
The 'Global' message set can be edited but not deleted.
In the resource and category setup screens you can specify a spcific message set to be used, or you can use the Gloabl set.
See ABPro USer's Guide for details.


Highest Value Inventory
(8+ measures)
Exceptional Inventory
(5 - 7 measures)
Rare Inventory (4 - 5 measures)
Standard Inventory (1 - 3 measures)


CA-SDK Client is an app which allows developers to evaluate the features and sensor capabilities of the InvenSense CA-SDK platform. The InvenSense CA-SDK solution delivers a sensor platform capable of tracking attitude by combining the InvenSense MPU-9250 9-axis MotionTracking device (gyroscope/accelerometer/magnetometer) with an onboard microcontroller and Bluetooth radio module, in addition, it includes external sensors of Light, Humidity, Temperature, Pressure, Proximity, and UV on a single board. This app can be made available in source code for developers of custom specific code for CA-SDK developers. For further information, please register at http://www.invensense.com/developers. To purchase the CA-SDK platform, please visit http://www.invensense.com/mems/gyro/nineaxis.html
SENSORS tab is intended to display the status and values of different sensors while DISPLAY tab is intended to illustrate the capabilities of eMPL.
Accelerometer Sensor: Turn on/off the accelerometer sensor only when DMP is not ON.
Gyro Sensor: Turn on/off the gyroscope sensor only when DMP is not ON.
Compass Sensor: Turn on/off the compass sensor only when DMP is not ON.
Accelerometer Values Display: Toggle the status of printing acceleration in the display list section.
Gyro Values Display: Toggle the status of printing gyro values in the display list section.
Compass Values Display: Toggle the status of printing compass values in the display list section.
Euler Values Display: Toggle the status of printing euler values in the display list section.
Rot. Matrix Values Display: Toggle the status of printing rotation matrix values in the display list section.
Quaternion Values Display: Toggle the status of printing quaternion values in the display list section.
Heading Value Display: Toggle the status of printing heading value in the display list section.
Pedometer Display: Toggle the status of printing walk count values in the messages list section, also reset the walk count and pedometer display to zero.
Other Sensors Display: Toggle the status of printing pressure, temperature, humidity, UV Index values in the display list section.
Magnetic Disturbance: Turn on/off the magnetic disturbance for CA-SDK.
Low Power Quaternion: Toggle low power quaternions.
DMP: Turn on/off DMP.
Dump Gyro Register Values: Read the gyro register value and will show it in the messages list section.
Test Low Power Accel Values: Test low power accel values and will display the result in messages list section.
Load Calib Data: Load the calibration values of gyro from internal flash memory.
Store Calib Data: Store the calibration values of gyro into internal flash memory.
Self Test: Run the self test and display the result in messages list section
Set Sensor Data Rate to 10Hz: If DMP is on then it will set the DMP FIFO rate to 10 Hz else it will set the gyro sample rate to 10Hz.
Set Sensor Data Rate to 20Hz: Same as for command no. 21 except with frequency of 20 Hz.
Set Sensor Data Rate to 40Hz: Same as for command no. 22 except with frequency of 40 Hz.
Set Sensor Data Rate to 50Hz: Same as for command no. 21 except with frequency of 50 Hz.
Set Interrupt on Gesture Event Only: Set hardware to interrupt on gesture event only. This feature is useful for keeping the MCU asleep until the DMP detects as a tap or orientation event.
Set Interrupt Periodically: Set hardware to interrupt periodically
Reset Pedometer: Reset the pedometer count and walk time to zero.
Reset Board: Reset the whole CA-SDK hardware and initialize all the parameters from the start.
Set Motion Interrupt Mode: Set the hardware to interrupt on motion and no-motion event.
Get eMPL Version: Fetch the eMPL version and display it in the messages list section.
Get Compass Status: Fetch the compass accuracy and status and display it in the messages list section.
InvenSense Inc. (NYSE: INVN) is the leading provider of MotionTracking™ devices for consumer electronics products such as smartphones, tablets, game controllers, smart TVs, and wearable sensors. Motion Interface is rapidly becoming a key function in every consumer electronics device as it provides a more intuitive way for consumers to interact with their electronic devices by tracking their motions in free space and delivering these motions as input commands.