text:
package tests;

import static org.junit.Assert.assertEquals;

import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;

import org.apache.lucene.search.SortField;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import entities.IndexedPropertyPerson;
import entities.IterablePropertiesPerson;
import entities.NotAnnotadedPerson;
import entities.RelatedPerson;
import entities.RelatedSetPerson;
import entities.SimplePerson;
import net.sf.esfinge.querybuilder.methodparser.ComparisonType;
import net.sf.esfinge.querybuilder.neo4j.oomapper.Condition;
import net.sf.esfinge.querybuilder.neo4j.oomapper.Neo4J;
import net.sf.esfinge.querybuilder.neo4j.oomapper.Query;
import net.sf.esfinge.querybuilder.neo4j.oomapper.parser.exceptions.NoNodeEntityException;
import net.sf.esfinge.querybuilder.neo4j.oomapper.parser.exceptions.UnindexedPropertyException;

public class Testes {

	Neo4J neo;

	@Before
	public void initializeDB(){
		neo = new Neo4J();
	}

	@After
	public void clearDB(){
		neo.clearDB();
		neo.shutdown();
	}

	@Test(expected = NoNodeEntityException.class)
	public void nodeEntityAnnotationNotPresentTest(){
		neo.map(NotAnnotadedPerson.class);
	}

	@Test
	public void mappingTest(){
		neo.map(SimplePerson.class);
		assertEquals(SimplePerson.class, neo.getEntityClass("SimplePerson"));
		assertEquals(SimplePerson.class, neo.getEntityClass("simpleperson"));
	}

	@Test
	public void simpleSaveTest(){
		neo.map(SimplePerson.class);
		SimplePerson p = new SimplePerson();
		p.setNome("Fulano");
		p.setSobrenome("da Silva");
		p.setIdade(15);
		neo.save(p);

		Query<SimplePerson> q = neo.query(SimplePerson.class);
		q.setProperty("nome", "Fulano");

		List<SimplePerson> results = q.asList();
		for(SimplePerson per : results){
			assertEquals("Fulano", per.getNome());
			assertEquals(15, per.getIdade());
			assertEquals("da Silva", per.getSobrenome());
		}
	}

	@Test(expected = UnindexedPropertyException.class)
	public void unindexedPropertyQuery(){
		neo.map(SimplePerson.class);
		neo.query(SimplePerson.class).setProperty("sobrenome", "indiferente");
	}

	@Test
	public void relatedSaveTest(){
		neo.map(RelatedPerson.class);
		RelatedPerson p = new RelatedPerson();

		p.setNome("Tem amigo");

		neo.map(SimplePerson.class);
		SimplePerson sp = new SimplePerson();
		sp.setNome("Amigo");
		sp.setIdade(17);
		sp.setSobrenome("Sobrenome");

		p.setAmigo(sp);

		neo.save(p);

		Query<RelatedPerson> q = neo.query(RelatedPerson.class);
		q.setProperty("nome", "Tem amigo");
		RelatedPerson retrievedRelatedPerson = q.getSingle();

		assertEquals("Tem amigo", retrievedRelatedPerson.getNome());
		assertEquals("Amigo", retrievedRelatedPerson.getAmigo().getNome());
		assertEquals(17, retrievedRelatedPerson.getAmigo().getIdade());
		assertEquals("Sobrenome", retrievedRelatedPerson.getAmigo().getSobrenome());
	}

	@Test
	public void indexedSimpleProperties(){

		neo.map(IndexedPropertyPerson.class);

		IndexedPropertyPerson p = new IndexedPropertyPerson();
		int[] nums = {1, 2, 3, 7, 4, 9};
		p.setNumeros(nums);
		p.setNome("Fulano");
		String[] strings = {"oi", "isso �", "um teste"};
		p.setStrings(strings);
		p.setIdade(20);
		p.setSobrenome("De Tal");

		neo.save(p);
		Query<IndexedPropertyPerson> q = neo.query(IndexedPropertyPerson.class);
		q.setProperty("nome", "Fulano");
		IndexedPropertyPerson retrieved = q.getSingle();

		assertEquals("Fulano", retrieved.getNome());
		assertEquals("De Tal", retrieved.getSobrenome());
		assertEquals(20, retrieved.getIdade());
		for(int i = 0; i < nums.length; i++)
			assertEquals(nums[i], retrieved.getNumeros()[i]);

		for(int i = 0; i < strings.length; i++)
			assertEquals(strings[i], retrieved.getStrings()[i]);

	}

	@Test
	public void iterableProperties(){

		neo.map(IterablePropertiesPerson.class);

		IterablePropertiesPerson p = new IterablePropertiesPerson();
		p.setNome("Fulano");
		LinkedList<Integer> numeros = new LinkedList<Integer>();
		numeros.add(1);
		numeros.add(3);
		p.setNumeros(numeros);
		float[] floats = new float[] {0.5f, 1.4f, 3.2f};
		p.setFloats(floats);
		Integer[] integers = {1, 3, 5};
		p.setIntegers(integers);

		neo.save(p);

		Query<IterablePropertiesPerson> q = neo.query(IterablePropertiesPerson.class);
		q.setProperty("nome", "Fulano");
		IterablePropertiesPerson retrieved = q.getSingle();

		assertEquals("Fulano", retrieved.getNome());
		assertEquals(numeros, retrieved.getNumeros());
		for(int i = 0; i < floats.length; i++)
			assertEquals(floats[i], retrieved.getFloats()[i], 0.00001);
		for(int i = 0; i < integers.length; i++)
			assertEquals(integers[i], retrieved.getIntegers()[i]);
	}

	@Test
	public void relatedSet(){

		neo.map(RelatedSetPerson.class);

		RelatedSetPerson p = new RelatedSetPerson();
		p.setNome("Fulano");

		neo.map(SimplePerson.class);
		SimplePerson sp = new SimplePerson();
		sp.setNome("Amigo");
		sp.setIdade(17);
		sp.setSobrenome("Sobrenome");

		Set<SimplePerson> amigos = new HashSet<SimplePerson>();
		amigos.add(sp);
		p.setAmigos(amigos);

		neo.save(p);

		Query<RelatedSetPerson> q = neo.query(RelatedSetPerson.class);

		q.setProperty("nome", "Fulano");

		RelatedSetPerson retrieved = q.getSingle();
		SimplePerson retrievedFriend = retrieved.getAmigos().iterator().next();

		assertEquals("Fulano", retrieved.getNome());
		assertEquals("Amigo", retrievedFriend.getNome());
		assertEquals(17, retrievedFriend.getIdade());
		assertEquals("Sobrenome", retrievedFriend.getSobrenome());

	}

	@Test
	public void conditionTest(){

		neo.map(SimplePerson.class);
		SimplePerson fulano = new SimplePerson();
		fulano.setNome("Fulano");
		fulano.setIdade(17);
		fulano.setSobrenome("Sobrenome do Fulano");

		SimplePerson ciclano = new SimplePerson();
		ciclano.setNome("Ciclano");
		ciclano.setIdade(21);
		ciclano.setSobrenome("Sobrenome do Ciclano");

		Query<SimplePerson> q1 = neo.query(SimplePerson.class);

		q1.or(new Condition("nome", "Fulano"), new Condition("nome", "Ciclano"));
		List<SimplePerson> results = q1.asList();

		for(SimplePerson person : results){
			if(person.getNome().equals("Fulano")){
				assertEquals(17, person.getIdade());
				assertEquals("Sobrenome do Fulano", person.getSobrenome());
			}
			else if(person.getNome().equals("Ciclano")){
				assertEquals(21, person.getIdade());
				assertEquals("Sobrenome do Ciclano", person.getSobrenome());
			}
			else
				assertEquals(1, 2);
		}

	}

	@Test
	public void deleteTest(){

		neo.map(SimplePerson.class);
		SimplePerson p = new SimplePerson();
		p.setNome("Fulano");
		p.setSobrenome("da Silva");
		p.setIdade(15);
		neo.save(p);

		Query<SimplePerson> q = neo.query(SimplePerson.class);
		q.setProperty("nome", "Fulano");

		List<SimplePerson> results = q.asList();
		for(SimplePerson per : results){
			assertEquals("Fulano", per.getNome());
			assertEquals(15, per.getIdade());
			assertEquals("da Silva", per.getSobrenome());
		}

		neo.delete(SimplePerson.class, "Fulano");
		assertEquals(0, q.asList().size());
	}

	@Test
	public void numericRangeQuery(){

		neo.map(SimplePerson.class);
		SimplePerson p = new SimplePerson();
		p.setNome("Fulano");
		p.setSobrenome("da Silva");
		p.setIdade(15);
		neo.save(p);

		p = new SimplePerson();
		p.setNome("Ciclano");
		p.setSobrenome("da Silva");
		p.setIdade(13);
		neo.save(p);

		Query<SimplePerson> q = neo.query(SimplePerson.class);

		q.or(new Condition("idade", 14, ComparisonType.GREATER));

		assertEquals("Fulano", q.getSingle().getNome());

	}

	@Test
	public void sort(){
		SortField sf = new SortField("campo", SortField.Type.INT);
		System.out.println(sf);
	}
}


Feeling rejected or marginalized at work can be a painful and difficult experience. Although you may feel defeated in the moment, being marginalized can be an opportunity for learning and self-growth. Learning from rejection requires the difficult step of seeking out and receiving feedback from others. If you can muster the courage to do this, you can learn from the experience and be stronger going forward.
Are you being marginalized at work?
Being marginalized can make you angry, spiteful, and depressed. You don't have to avoid the negative feelings that come with rejection, but you can choose to deal with them effectively.
It is natural to feel sad or angry but letting those emotions show won't help you get the feedback you need. Your goal should be to find out why you were passed over for that project or promotion. If your boss doesn't think you're capable of taking honest feedback, they will not feel comfortable providing it. An emotional outburst can leave others feeling manipulated and may compromise perceptions of your professionalism.
If you've been marginalized, gather up the courage to ask why. You might not realize that your behaviour is off-putting to your colleagues and limiting your success. It's important that you be ready to receive feedback and understand that it may be tough to hear. Demonstrating that you're open to receiving feedback is critical if others are to be honest with you. Do not get defensive or accusatory or the person providing the feedback will quickly shut down.
It's important to process all of the information and keep an open mind. Remember, you asked for the feedback! Your goal is to learn from it. Hearing negative feedback can be difficult, but the people providing the feedback are also in a tough spot. They may sanitize their feedback because of their own discomfort. It's important to listen to them, consider what they are not saying, and ask questions to learn more.
If the feedback you received identified some shortcomings, make a plan to improve or change. You can involve your manager or colleagues who will be honest with you. If you missed out on a promotion due to a lack of experience, work with your manager to gain what's needed.
Everyone is busy, and no one will be monitoring your progress. It's important that you be vocal about your accomplishments and let others know what improvements you're making. If you're taking a new training course, casually let your boss or colleagues know. If your manager is involved in your improvement plan, occasionally let them know what progress you're making and ask for advice when you need it.
While difficult, being marginalized can be a learning opportunity. Be proactive about seeking feedback and creating an improvement plan so that you'll be the top choice for the next promotion or project.


Thank you for your joining the Wine of the Month Club family. We literally scour the wine offerings each month to find the best values in the market place.
On the average, I taste over 300 wine each month to compare side by side the latest wine offerings. I select the best values for my club selections as well as special purchases for my email customers.
Each wine is guaranteed "you never pay for a wine you do not like" I know I cannot please all the palates all the time, but I can guarantee you the best values and if I ever fail to meet your expectations, I will fix it.
I currently have some great values in stock at up to 60% off the shelf price right here in our Wine Shoppe.
Welcome to the wonderful world of wine.


text:
OnePlus 8T launched in Malaysia with 65W Warp Charge, 120Hz refresh rate, Snapdragon 865 from RM2699!
Earlier today, OnePlus has launched the OnePlus 8T flagship in Malaysia and it brings the newest Snapdragon 865 processor. It also brings 120Hz refresh rate and battery that supports 65W quickcharge. Let's have a look.
The OnePlus 8T brings a 6.55 inches Fluid AMOLED display that supports 120Hz refresh rate and 240Hz touch sampling rate, 1100 nits brightness with HDR10+. This display is rated A+ DisplayMate with its great colour accuracy.
The camera is arranged in a matrix module and available in green and silver. It is weighted at 188g and as thick as 8.4mm.
On its specifications, it is powered by Snapdragon 865 SoC and up to 12GB RAM and 256GB ROM with UFS 3.1. The heating element is also improved with 285% thermal plate.
This smartphone is also designed for gaming with its own Fnatic game mode and Game Space for better gaming environment. OnePlus also collaborates with Fortnite to bring 90 FPS on the OnePlus 8 series.
The OnePlus 8T is powered by a 4500mAh battery that supports Warp Charge 65W that provides one day battery in just 15 minutes. It also brings dual battery design which can retains 80% battery health after 800 times of battery cycle.
As for its camera, it has four rear camera consist of a 48-megapixel lens, a 16-megapixel ultra-wide-angle, a 5-megapixel macro lens, and a 2-megapixel monochrome lens. It supports portrait video, NightScape Video and other functions.
With its nature, the OnePlus 8T is preloaded with OxygenOS 11 from the start. It brings all essential components on the bottom 65% of the screen for better single hand operation.
It also packs in other features such as NFC support and 5G network enabled.
The OnePlus 8T 8GB RAM is retailed at RM2699 while the 12GB RAM is at RM2999. You can get it through Lazada on 28th October or retail store on 31th October. Besides, there will be free gifts to be given away for each purchase of the OnePlus 8T 12GB RAM edition.
Tags: OnePlus
HUAWEI Mate 40 series launched with newest Kirin 9000 SoC, 66W quickcharge and 50MP primary camera from RM4405!
HUAWEI Mate 40 Pro is now ranked no.1 at DxOMark with total score at 140!
Champagne Gold OnePlus X: A new definition of chic and the luxury?
Previously launched on November 2015, the OnePlus X is one of the best mid-range smartphone that you can get that ...
This is the cheapest way to get genuine OnePlus 6 (256GB)
It's another round of good deal! If you happen to miss out the last promotion campaign last month, there is ...
vivo & LAZADA gives out up to 5% discount on selected vivo deals
The arrival of September marked the end of tax holiday and now comes the new SST. However, there will be coming promotional deal on vivo ...

redpajama_set_name: RedPajamaCommonCrawl


text:
The Sixth Sign: What It Means
How you walk says a lot about your health.
Gait characteristics are sometimes regarded as the sixth vital sign in humans. They serve as a valuable indicator of a person's health, particularly in older adults – so why not measure them? A team of EPFL researchers is taking part in a major European project to design a device that can assess a person's gait more accurately.
Credit: EPFL
The way we walk is a direct indicator of our health. It can even give us an estimate of how many years we have left to live. These findings have been proven by several studies involving thousands of patients in the last two decades, and form the basis of an ambitious European project called MOBILISE-D. The project consortium consists of 34 partners from the academic, pharmaceutical and industrial fields, including EPFL. Researchers at EPFL's Laboratory of Movement Analysis and Measurement (LMAM) are working on a device that can measure people's gait during their everyday activities. Today marks the official launch of the project.
Gait speed is increasingly regarded as the sixth vital sign, alongside body temperature, blood pressure, breathing rate, heart rate and pain. "It has been proven that older adults who walk more slowly than one meter per second have more health problems on average," says Kamiar Aminian, who heads the LMAM. "Conversely, people who have a good gait speed show greater cognitive function, develop fewer illnesses, suffer fewer falls and spend less time in the hospital. Scientists have even established a direct link between gait and lifespan."
That is why the project leaders are so intent on finding ways of analyzing people's gait, both for preventive purposes and to develop new drugs and therapeutic tools. This is particularly important in Europe, where over-65s now make up almost 20% of the population. Gait analysis is also practical because it is simple to do: currently, patients only have to walk for three or four meters for a device to gauge their average speed. However, the MOBILISE-D project aims to achieve much greater precision and to identify the key factors involved in gait.
Studying slow walkers
"One of our main challenges will be to develop a portable system that can reliably analyze people with a very slow gait speed. This is more difficult – and the margin of error is much larger – than with people who walk rapidly," explains Aminian.
The device is being designed for everyday use, and must be very simple, with only one sensor. It must be able to tell whether each step is intentional and also to distinguish between phases of walking, i.e., times when a person stops, slows down or speeds up, and changes direction or turns around. The system must also be able to capture data such as the number, length and height of each step, as well as gait consistency and any limping. In terms of accuracy, the system's algorithms must be able to capture changes in speed of as little as five centimeters per second, as this has already proven to be significant for health. To meet these technical requirements, several specialist laboratories around the world, including the LMAM, are working together, sharing results and data.
MOBILISE-D was launched with the support of the European Federation of Pharmaceutical Industries and Associations (EFPIA), and it is being led by the University of Newcastle in the UK. It has a budget of 50 million euros, of which the European Union is contributing 29 million euros. It is expected to run for five years: two years of technical work and three years of clinical trials.
Website www.mobilise-d.eu
A selection of studies looking at gait speed as the sixth vital sign:
Jerome, Gerald J., et al. "Gait characteristics associated with walking speed decline in older adults: results from the Baltimore Longitudinal Study of Aging," Archives of gerontology and geriatrics 60.2 (2015): 239-243.
Miller, Michael E., et al. "Gait Speed and Mobility Disability: Revisiting Meaningful Levels in Diverse Clinical Populations," Journal of the American Geriatrics Society 66.5 (2018): 954-961.
Studenski, Stephanie, et al. "Gait speed and survival in older adults," Jama 305.1 (2011): 50-58.
Contacts and sources:
Author: Sarah Perrin
EPFL – École polytechnique fédérale de Lausanne
Go Back: Science
Previous: Is the Room Free of Disease Causing Biomolecules? Take a Picture and Know
Next: Using lightning to Measure the Density of the Upper Atmosphere
source : www.ineffableisland.com
This Just Happened In Bigfoot
Crystalline 'Artificial Muscle' Makes Paper Doll Do Sit-Ups (Video)
Maternal Secrets from 3 Million B.C.E.
Secrets of a Sex Changing Fish Revealed for the First Time
Semi-Synthetic Bacteria Produce Exotic Proteins and Unnatural Amino Acids
DNA Origami Joins Forces with Molecular Motors to Build Nanoscale Machines
'Insect Armageddon' and the Rise of Tyrant Ants
Sasquatch The Legend Of Bigfoot
The Ohio Grassman
The Bigfoot Kidnapping of Seraphine Long


The words of the prophet Isaiah contain four "servant" songs, and today we read from the second one. Each of these songs assumes the guise of The Servant of God, and praise God for all that has been, is being, and will be done. But who is the servant?
To understand and explore this passage we must understand that there are multiple levels of meaning and identity. At the most superficial we are talking about the Prophet himself. But the meaning is obviously much deeper and more complex. At the deepest level we are talking about the Messiah. Isaiah has, perhaps, more to say about Messiah than any other Old Testament book, and all four servant songs can be understood from the perspective of The Messiah. During this Advent-Christmas-Epiphany season there is rich ground here for Messiah-centric preaching.
But in between these two layers of identity is a middle ground, and it is the middle ground I find the most rich. Isaiah's Servant is an idealized, perfected, vision of Israel itself. For while Christ, The Messiah, is the ultimate High Priest Israel is itself to be a nation of priests. The people of God are, individually and collectively, the servant of God.
From this ground there are rich stories to be explored about Christ's Messiahship, and how that informs and glorifies our service for God.
The New Testament and Gospel readings inform this perspective, and what Paul makes explicit John demonstrates. Paul is an Apostle "by the Will of God," and he further encourages the 'sanctified' to whom he writes that they too have been called to be God's people. In John's gospel we see how Jesus foreknew and called His first Apostles.
But why? Why are we called?
And how are we to accomplish any of God's work?
The Psalm gives me the most beautiful illustration of my own faith journey. I have sinned so deeply, and been overwhelmed with despair and grief. I am in prison, and often feel lonely, abandoned, and discarded. This is a deep pit, from which God has indeed lifted me. I have been transformed from the inside out, and put in places to minister and do kingdom work. As a musician it is no metaphor to say God has indeed put a new song in my mouth.
Do I have these gifts of my own? Certainly not. As Paul reminded the Corinthians, I have only received the gifts God has given me.
Do I have the gifts necessary? Paul is clear God has given me the gifts I needed when I needed them.
One thing Isaiah and the Psalm make clear is that our task is now to live for God, giving thanks not with an empty action, but with actions full of the deepest meaning – love. Our servanthood is lived out through our ministry.
We are not perfect, and we are not the Messiah. But through grace we have become People of the Messiah. Together we are the Body of Christ. God has redeemed us in our sin, purified us in God's grace, and we give thanks and glory to God by singing that sweet song placed in our heart.


text:
Andersen quickly adapts to Minnesota's top boat
Liam James Doyle
Junior Kylie Anderson rows on the Mississippi River on Tuesday afternoon with her teammates in preparation for their trip to compete in the Clemson Invite in South Carolina.
by Jack Satzinger
Growing up, Kylie Andersen ran cross country, track and was an avid skier. When she came to the University of Minnesota in 2012, the lifelong athlete rowed competitively for the first time.
Since then, Andersen has steadily risen through the Gophers' ranks, and now she's a top contributor on the team.
"It's a huge learning curve because you get put in with people who have been doing it for six or so years," Andersen said. "Their technique is a lot above yours, but you get to sit behind them and learn directly from them, and so you pick up stuff really quickly."
Andersen spent her freshman season competing on the Gophers' novice team. The next year she moved up to the second varsity eight. But when first varsity eight mainstays like Katherine Windsor left the team last May, Andersen filled the void.
Head coach Wendy Davis said plenty of athletes join the team with limited rowing experience. In addition to Andersen, Lisa Weeks, Madison Koch, Sara Scarbro and
Jessica Flakne all competed at the novice level as freshmen. But now, they're on the first varsity eight — Minnesota's top boat.
"We're really young in terms of our knowledge of how to race," Davis said. "We are still on this really steep trajectory of learning."
Andersen said her experience as a high school athlete helped her understand the work required to be on a college team.
The Chanhassen native was already used to grueling workouts, and she just needed to nail down rowing technique.
Though she faced an uphill battle, her attention to detail has helped her develop.
"She's very scientifically oriented, and so she's very methodical in what she needs to do," senior Lynn Hodnett said. "Once she knows how to fix it, that's what she works on. … Kylie is focusing on something she needs to fix all the time, and that makes me want to have her in my boat every day because I can rely on her."
Hodnett said Andersen is attentive in practice and listens to the advice Davis gives her. On top of that, first varsity eight coxswain Taylor Gainey said Andersen is one of the team's rowers who asks the most questions.
"I think she takes it all in, all the time, every single day," Gainey said. "She matches with people that have had more rowing experience — [she] is constantly working to make those improvements."
Andersen's desire to improve has been important for the Gophers this year, who have shown progress since their disappointing 2014 season. She occupies the important bow pair position, where she's one of two rowers situated at the front of the boat.
"That's a tough spot for her to be in because it affects the balance of the boat so much, and it's so important," Gainey said. "If one [bow rower] is stronger than the other, it can kind of have an effect on the boat going in a straight line."
Despite the tough position, Andersen continues to show improvement.
But that comes as no surprise to teammates who have seen her go from an inexperienced freshman to a strong junior.
"She's definitely embraced her place in bow pair," Hodnett said. "She's just very focused."


text:
DPDC to install smart grids for the first time in Bangladesh
Nipu Roy
Published at 10:46 pm May 5th, 2018
Dhaka Power Distribution Company (DPDC) will be installing smart grids for the first time in Bangladesh in the capital's Dhanmondi, Azimpur, Green Road, Lalmatia and Asad Gate areas. New substations will accompany the smart grids in these five areas. Related sources said: "Power lines are spread all over the streets and underground in an entangled mess and it is difficult to determine one from the other in times of power connection issues. "Sometimes other organizations snip power transmission lines out of the blue while working underground, but the severed line cannot be recovered afterwards. "With the help of smart grids, we can instantly address issues such as power outage in an area or house as they will use sensors and automatic response mechanism to deliver immediate responses." They also said: "Smart grid will prevent loss of power in nearby areas due to power mishaps in some other area as all its functions will be computer-regulated." Regarding smart grid, DPDC Executive Director Engineer Md Ramiz Uddin Sarker said: "With the help of this technology one can monitor one's power consumption. Similarly, it is possible to use technology to ensure a smooth and flawless transmission of electric power. "Usually a lot of time is wasted on locating transmission failures. But now, using modern technology, we can locate and fix the issue instantly." DPDC also said that it will be possible for consumers to choose power "plans" most suitable to them just like internet package plans for mobile phones. There will be a card in the electric meter boxes of households and organizations, much like a SIM card, which will transmit information on how much electricity has been consumed to a modern central management ward every 15 minutes. With the installation of these smart grids all over the city, "peak" and "off-peak" cost of electricity can also be determined separately. Consumers can then decide how much to consume based on those prices. Donor organization France Development Agency (FDA) has agreed to spend $12 million on this venture. Managing Director of DPDC Bikash Dewan said: "FDA is already providing funds for a tech-smart transmission project. They have also agreed to invest $12 million on the smart grid venture. "We will begin by setting up the grids in five areas but we aim to do so all over the city eventually. But to do so, we require huge amounts of investment," he added. An AFD team had arrived in Dhaka last month and examined DPDC's substations and their transmission in various areas. At the same time, DPDC had a discussion with the AFD team about smart grids. Bikash said: "AFD will present the proposal of the smart grid investment in their board meeting and then finalize it by signing with Bangladesh Economic Relations Department (ERD). "The planning commission has advised for a prompt course of action regarding the matter. So we envision carrying out the plan by the end of this year," he added. This article was first published on banglatribune.com
€12m grant financing deal signed to support power, energy sector
SC orders DPDC to supply uninterrupted power supply
Bida integrates services of 4 power companies into OSS
Narayanganj becomes first place in Bangladesh with uninterrupted power
Consumers exasperated by long queues for prepaid electricity bill payment
BTCL phone disconnection problem faced by landline subscribers fixed
DPDC
Dhaka Power Distribution Company


When you understand your student loans, you can make more informed decisions about how to manage your debt, and you might even be able to sleep a little better at night. Whether you're considering a new student loan, getting ready to graduate, or already making payments, this guide should help you grasp exactly how student loan interest works. Let's start with the absolute basics.
As you're probably aware, interest is a charge associated with the use of someone else's money. With student loans, that someone else is often the federal government, but it can also be a private bank. There are two basic types of interest: simple and compound. Simple interest is calculated only on the principal balance of the loan. Compound interest is calculated on the principal balance as well as any accumulated interest.
In most cases, student loan interest is calculated using a simple daily interest formula. If you have a $10,000 loan with an annual interest rate of 6.0%, then your daily interest rate is 0.06/365 = 0.000164 or 0.0164%, which means that every day your loan accrues $1.64 in interest. While the idea of daily interest may sound scary, it doesn't usually cost you any more than if the calculation was done on a monthly basis. It's also important to note that while interest is calculated daily, it is not compounded daily. Again, when interest is compounded it is added to the balance and interest for future periods is calculated using the new balance. Instead, interest is typically compounded on a monthly basis, and any interest that remains unpaid at the end of the month may be added to the principal balance in a process known as capitalization. We'll discuss this in more detail in just a bit.
Subsidized vs. Unsubsidized Loans: When does interest begin to accrue?
What is capitalization and when does it occur?
When interest is capitalized, it is added to the principal balance of the loan. Of course, this increases the principal balance which, in turn, increases the amount of interest that accrues. For most federal loans, there are specific events which set this process in motion. When a student graduates, for example, any interest that has accumulated while that student was in school is capitalized. The same occurs at the end of a period of deferment or forbearance. Federal Family Education Loan (FFEL) program loans as well as private student loans may capitalize interest on monthly, annually, or when the loan enters repayment. Of course, when the loan enters repayment, interest does continue to accrue, but it's not typically capitalized. In most cases, since payments are set at levels high enough to cover all interest that accrues each month, there is no interest left to capitalize. This is true even for graduated and extended repayment plans.
What if I'm under an income-based repayment plan?
With income-based repayment plans, it is possible that payments do not cover all of the interest that accrues each month. However, there are protections in place to prevent the loan from growing out of control. If you decide to abandon an income-based repayment plan, any unpaid interest may be capitalized.
What are the benefits of making interest-only payments?
If you can afford it, making interest-only payments while you're in school can help to keep your loan balances under control. Again, let's say you take out a $10,000 Direct Loan from the federal government (the most common type of student loan) in your first semester of a two-year graduate program and you begin your repayment plan a full 24 months later. Over that 24 months, your loan will accrue $1,200 in interest, and when your loan enters repayment, that interest will be added to the principal balance. By making interest-only payments of $50 while in school, you'll prevent your loan balance from increasing. On the other hand, you may want to consider borrowing less up front and simply using that money to cover part of your tuition and expenses. If you're considering interest-only payments, you can use our interest-only payment calculator to determine how much you're likely to owe each month.


text:
Tashkent Bombing Brought Terror To Central Asia
On February 16, 1999, a series of bombings shattered the morning calm in the Uzbek capital, killing 16 people. History has treated the bombings not as isolated incidents, but as a watershed event that heralded the arrival of terrorism to Central Asia. Since then, a number of indigenous groups have made their mark in the region and even further abroad, while others have entered the scene from outside the region.
Will Shari'a Deal Bring Peace To Tribal Region?
Islamists and Pakistani officials have reached an agreement to impose Shari'a law in the Swat Valley and the surrounding Malakand region, in a bid to ease an uprising by militants. But observers have expressed skepticism about whether the agreement can restore peace in the volatile region.
The Man Who Won't Be President
Former President Mohammad Khatami is the main reformist candidate running in Iran's June elections, but some democracy activists would like to see another figure as their standard bearer: former interior minister and publisher Abdullah Nuri. For many in Iran, Nuri is a symbol of resistance against the conservative establishment.
A Russian Think Tank In New York
A Moscow-based think tank, the Institute for Democracy and Cooperation, has opened branches in Paris and New York. The project is evidence of the Kremlin's growing interest in "soft power" -- using Western media, PR, and think-tank models to advance its own interests in the West.
'Up Afghanistan's Panshir Valley And Back Again'
The following is an excerpt from "The Great Gamble: The Soviet War In Afghanistan," a new book by U.S. National Public Radio's Moscow correspondent, Gregory Feifer.
Entangled In Afghanistan
Two decades after the Red Army left Afghanistan, another superpower is embroiled in a complicated conflict in the land known as the "graveyard of empires." With unrest on the rise and the U.S. mulling a major troop increase, are there troubling parallels?
What To Do About Missile Defense?
U.S. President Barack Obama will have to decide what to do with his predecessor's plan to deploy a missile-defense system in Europe. Will Obama press on with the plan and risk angering Russia? Will he abandon it? Or will he bargain it away in exchange for concessions from Moscow?
IAEA To Choose New Head -- And Stance Toward Iran
International Atomic Energy Agency chief Muhammad el-Baradei leaves office in November after 12 years of leading the UN's nuclear watchdog. With a vote on his successor expected soon, the politics behind the selection of the next IAEA chief are unfolding. The leading candidate, Japan's Yukiya Amano, appears to support ideas in Washington for a new framework of dialogue with Iran about its controversial nuclear program.
Author Investigates Modern Slavery
Siddhartha Kara, a first-generation Indian American, turned his back on a lucrative banking job to investigate the world of sex slavery. In 11 countries -- from India to Thailand, Albania to Moldova -- Kara interviewed slaves, brothel owners, traffickers, and customers to find out what economic forces keep the industry thriving and how it can be stopped.
Media Under Scrutiny
Greedy bankers, lax regulators, complex financial instruments, irresponsible borrowers. When it comes to who was responsible for the economic crisis, there's plenty of blame to go around. Now there's another group under scrutiny, particularly in Britain -- the media.
Russia Facing Fundamental Choice, EU Experts Say
The global economic crisis has hit Russia hard and the political and economic status quo in the country is under pressure. This was the basic consensus of experts addressing a European Parliament hearing on Russia in Brussels on February 12. The hearing concluded that the EU and Russia's shared neighborhood, increasingly divided and weak, will present a more difficult policy challenge for the bloc in the years ahead.
A New Relationship?
Is it really time to "press the reset button" in U.S.-Russian relations? Both have laid down markers recently on key issues including Afghanistan, Iran, NATO expansion, and missile defense. Which issues are negotiable? Which are bargaining chips? And where are the differences irreconcilable?


text:
Emmett Rensin
Emmett Rensin is an essayist and editor based in Washington, DC.
NIMBY Compassion
April 4, 2019 Emmett Rensin
Late last year, in a graduate writing seminar on biography and biographical portraiture, I was talking to my classmates about an ethical dilemma I'd encountered while beginning to plan my final project. I was writing about a man with paranoid schizophrenia whose been incarcerated for over forty years in California for the murders of over a dozen people, and I wanted to quote at length from some of the letters we'd exchanged over the past several months. But this man (who I am still in touch with) has never accepted medication; while his condition has stabilized some from old age and the routine imposed by prison life, his letters were semi-incoherent. I worried that paraphrasing or "translating" them might be patronizing, but that if I simply "let him speak for himself", without proper context, he'd come off as a raving lunatic, or a joke, exploited by an opportunistic writer. I was asking the class for any ideas they might have about how I could avoid both of these traps while maintaining the integrity of the piece.
A lot of my peers had good suggestions, but one of them was more concerned with my project in general. I hope you're writing the man and not the disease, she said, because there's a lot of stigma around mentally ill people. I don't know if you know this but actually people with schizophrenia can lead perfectly normal lives, and they're more likely to be murdered than to murder someone else. While she was talking, the room became suddenly quiet and uncomfortable. There were about twenty people there, and it was more or less evenly split between those who knew about my illness and those who didn't. Of course, the student who raised the concern about stigma was in the dark about me—she thought she was offering some useful caution to a sane, but potentially insensitive writer—and I don't doubt that her intentions were good. When she was done, I didn't say much. More or less thanks, and yeah, I know that, but still, his illness is relevant here. Class ended a few minutes later.
In the days that followed I found myself returning to the exchange in my head and sometimes becoming unfairly annoyed about it. I fantasized about saying, Yeah, I agree there's a lot of stigma out there. For example, there are all these woke liberal graduate students who think we should be more sensitive to the pitiable maligned schizophrenics, who are so maligned, and some pitiable, that they could never, for example, get on medication, and get therapy, and then wind up your now-basically-functional peer in graduate school. I'm glad I didn't say that. It would have been petty and needlessly humiliated somebody who was trying to be helpful. But what she was doing—or rather, the assumptions which undergirded the conversation she believed that she was in—are part of tension in liberal attitudes toward "difficult" conditions which require "compassion and understanding." It goes more or less like this: there are members of society — the mentally unstable, the drug-addicted, the frankly weird—who are unfairly maligned for the consequences of conditions which they can't entirely control. And we ought to be sensitive and merciful and understanding toward them. But that sensitivity and mercy and understanding are really only ever exercised when their objects exist at a sufficient distance; when they are an abstract "social concern", not people with whom you might actually share an office or a classroom or a friend group. It's tolerance, so long as it's somebody else's job to do the tolerating. It's patience, so long as people with social work degrees are the ones who need to actually endure tests of their patience, preferably in a clinic of some kind. It's what I've started calling NIMBY Compassionate.
It isn't surprising that people are more willing to urge kindness and understanding toward the theoretical schizophrenic or drug addict than they are to practice kindness or understanding toward actually mentally ill or addicted people in their lives. As I've written here before, the negative consequences associated with illness and addiction are not all just some big, stigmatizing misunderstanding. With the ordinary caveats that this is not true in literally every case, people with serious problems are a drain on those around them. They tend to hurt and betray people who try to help. Even if we leave out extreme cases of escalation to felonious violence, drug addicts steal money from loved ones, they lie about getting clean, they use again and again and again, even when it hurts them and hurts their friends and families. Even if we leave of extreme cases of escalation to full-blown psychosis and violence, people who are paranoid or delusional or suffering from a severe mood episode will be aloof and then lash out. They will accuse those around them of every kind of malicious conspiracy. They'll ramble and yell about nonsense and make a scene in private or public, say wildly inappropriate things and make wildly inappropriate decisions. They'll act, sometimes, like frightened animals: terrified and cornered and dangerous. They will be unfair and impulsive and irresponsible; if they didn't, then these illnesses wouldn't be half as devastating as they are. It is incredibly hard to love somebody with one of these problems, not because they are unworthy of love, or even because they do any particular one thing which destroys their relationships, but because it is just harder, day in and day out, to deal with the steady grind of uncertainty and struggle and perpetual small harms so often inflicted by people who are unable to help themselves. I don't want to fall into the tendency I'm criticizing and speak only in the abstract here. During the years between the onset of my symptoms and my eventual diagnosis and medication, the super preponderance of my regrets involve the endless tiny ways in which I drove away people who tried to love me. It wasn't by hurting them on purpose, by beating them up or stealing their cars or through the exercise of big, distinct, deliberate malice. It was by being weird and unpredictable and unpleasant and erratic and inconsiderate and mean and untrustworthy and suspicious and hostile and rude in tiny ways, day in and day, out until for many people it wasn't worth the pain and trouble of trying to deal with me anymore. Compassion is difficult. It doesn't surprise me that it is difficult to be compassionate when the person you are trying to love is eroding your patience a little bit at a time, all the time. It's much easier to see a homeless man on the streets, clearly insane, clearly high, shouting obscenities and menacing strangers, and think God, people are so judgmental—that man clearly needs help! That man is not going to turn up at the party that you're headed to. He's not going to be at work tomorrow. He is not, for the purposes of your life, a person, so much as he's an example of a political concern.
I don't want to suggest that those who have a hard time remaining patient and compassionate toward people who are making their lives worse is some catastrophic moral failure. I don't believe that NIMBY compassion is evil, or reflective of poor character, or even irrational. There are limits to patience and understanding, and often it isn't worth the cost of caring for somebody who hurts you, whether they mean to or not, particularly if that person isn't even willing to accept treatment or help (that a refusal to accept that you're ill and thus a resistance to treatment is a hallmark symptom of mental illness makes this more difficult, and more tragic, but still). But what I am troubled by is a tendency, particularly among the allegedly compassionate and liberal minded, to not just refuse infinite patience and understanding, but to refuse it almost entirely, and to recharacterize this refusal as an affirmative political gesture. We live in a time in which a great deal of moral obligation is being recast as a trap; when a duty to help others, particularly when offering that help does not benefit us and is not reciprocated by its beneficiary, is seen not just as a difficulty but as a kind of exploitation or abuse. We live, perhaps for good reason, in fear of being conned or taken advantage of, and the gut check, more and more, on whether or not a situation or a dynamic is "toxic" is whether or not it requires unreciprocated sacrifice of any kind. This isn't so troubling if you're on the right: you conceive all human relationships as contractual, and the goal of human life is to maximize your relative advantage through mutually lucrative contractual relationships with others. But this tendency isn't exclusive to the right. A great deal of liberal and even left-minded people have come to conceive of social and moral obligations as a kind of trick. They recognize, like the NIMBY-compassionate, that we have some abstract duty to the downtrodden and marginalized and sick. But in their own lives, these kinds of genuinely inconvenient and difficult demands toward care are recast as a scam to be dodged. Sometimes this kind of rationalized selfishness gets referred to as "self-care." But self-care, in its original and moral form, is a way of consciously attending to your own needs so that you're better able to serve the needs of others. In the new sense, the second half of that sentence is deleted. It's a way of transforming exclusive concern with one's own needs into some kind of radical refusal of all those difficult and sick people who are really just Toxic and Bad and should be Dropped for your own good. We don't just see this when it comes to the personally taxing, to the drug addicted or the mentally ill. It's the basis of the endless joke that, for a certain kind of socialist, an abstract commitment to solidarity with workers everywhere inevitably runs into some trouble when they actually meet the workers. It's the reason that I can attend mass every Sunday, where a hundred parishioners absorb peans to forgiveness and charity and saintliness, and really feel their desire to be Christlike in their hearts, and then go out and be as spiteful and petty and selfish as they were before. It feels good to desire goodness. It's even easy to wish for it in an abstract way. But it is very, very difficult to practice compassion in the immediate stress and frustration of the moments when its most demanded. There's a reason it is so difficult to be saint.
I suspect that all of this is an outgrowth of precarity and scarcity and the unbearable pressure of declining capitalism in the west. There are so many unfair demands on our times and so many ways they we are really being exploited and taken advantage of — by elected officials and landlords and bosses — that a degree of sensitivity and paranoia about any situation where we might have to give more than we get back begins to make a certain kind of sense. It begins to make sense, when so much of your time must be devoted to performing labor and enduring difficulty and one-sided relationships just to have enough to eat and somewhere to sleep and medicine when you're sick, that very few people, even well-intentioned people, have much patience or compassion or willingness to sacrifice left when it comes to those who need their help, but don't have the power to demand it. When faced with troubling consumer choices, people on the left sometimes joke that there's no ethical living under capitalism. That's true, but it's not just true when we're forced to buy products we can afford because they were produced under exploitative conditions. It's true when we're so drained by the demands of capital that we're unable to act ethically toward the most vulnerable people in our own lives. Much easier to feel sympathy for the madman on the corner, and say fuck you to the madman and the drug addict and the weirdo in your own life, who has come to feel like just one more taxing hardship in a life already full of them. NIMBY compassion is a consequence of a world built on hierarchies, and if we want to overcome it—if we want, in short, to be as merciful and patient and compassionate and self-sacrificing in our own lives as many of us aspire to be in our hearts—then we'll need to build the better world, where our energy and our labor can go to those who need it, and not to those who have the power and resources to demand we spend all our willingness to work on making them, and their lives, richer.
← But it is EmbarrassingAlex Jones Pleads Psychosis →


Steam cleaners have become an essential item in every household. Cleans multiple surfaces and keeps your home clean and hygienic. Steam cleaners are ideal for cleaning windows, tiles, mirrors, sinks, stoves, upholstery and more. Breaks down Grease and Grime.


The amount of new content on your site can be directly tied to traffic, referrals and leads. How much should you post per week?
One of my goals in starting Shout It Out Design was to empower small business owners to manage their own web presence. Too many companies out there force their clients to go through them to update content on their website. I've heard it again and again from clients.
I want to start an email marketing campaign or an e-birthday list. But I don't have any subscribers.
Welcome to the world of email marketing. You've already read all of the information you need on the "why's" of email marketing. Now you're on to the how's and when's.
How often should I send emails to my email marketing list?


text:
How to solve blackouts while playing from memory
music pedagogy musician's health a musical life without armor practicing stage fright inner critic performance nerves
This is the second part of my series about the nervous system. To read the first part, go back here: "The nervous system and its significance for practice, learning from memory, and stage fright"
Neurologist Hughlings Jackson made a discovery in the 19th century, which still serves as the basis for virtually all models of the nervous system. He observed that when the brain is injured or stressed, it resorts to a less differentiated, evolutionarily more primitive functional level. (Here I quote the trauma researcher Peter A. Levine.)
Excuse me, what? I will express that statement in my own words: Jackson found that when people feel unsafe, their system reacts automatically and they have little control over their impulses. This means that situations are no longer driven out of conscious thoughts, but out of unconscious thoughts and body reactions.
Say: Reactions such as playing errors in the most unthinkable places ("I'd never had any errors there!"), Or: practicing a lot and yet not memorizing the piece safely, or: being unable to get stage fright under control despite good thoughts and intentions. This occurs, to put it simply, because we combine a question in one, conscious, nervous system with an answer from another, unconscious, nervous system: these are different languages, it's like talking past one another, there's no agreement between the two.
However, the conscious brain and the unconscious brain have one thing in common: they are capable of learning and developing. The conscious can become unconscious and vice versa. So, with practice and experience, we can provide the body with the response we want in a certain situation, as a spontaneous decision.
This, and I notice it now in writing, is the essence of my work, which I have taught myself over the years and with which I accompany others, musicians and non-musicians. That when we go on stage and there is nothing but us and the music. Then we don't have to think anything special, we don't have to do anything special, we don't have to be anything special. It's just ourselves.
Whether we like it or not, we are always ourselves on stage. However, we can change who gets on stage over time.


text:
Nigeria-based blockchain startup, Payourse raises $600k pre-seed to build a Web3 powerhouse
by Ogheneruemu Oneyibo | Dec 1, 2021
In most stories, there are almost always two sides of the coin. When it comes to fundraising, for some, it could be as easy as getting funds in two hours, and for others, it could take as much as nine years
The fundraising journey can be very tedious, and as Bashir Aminu, Payourse CEO, told Techpoint Africa on a call yesterday, it took a while for everything to come together.
Today, Payourse announces a $600,000 pre-seed, which saw participation from Michael Ugwu, Flori Ventures, Voltron Capital, and Allegory Capital. Others include CELO Co-founders Marek Olszewski and Rene Reinsberg; Kola Aina, Managing Partner, Ventures Platform; Angel Touch Holdings; and Oluwatobi Anisere.
This is the company's first real funding round, with the combination of a $100,000 raise from Ugwu in March 2021, another $100,000 from Flori Ventures in July 2021 and an angel investment from Payourse's co-founder, John Anisere's brother, Oluwatobi Anisere in 2020.
Interestingly, Aminu tells Techpoint Africa that they never actually reached out to investors. Ugwu sent a Direct Message to one of the co-founders on Twitter, Flori Ventures was introduced through a partner and so was Olumide Soyombo, Founder of Volton Capital.
But the early days of applying to accelerators and getting rejected — they applied to Y Combinator twice and got rejected both times — taught them an important lesson.
"It was getting the meeting with the investors that was the problem. We realised that once we actually get a meeting with an investor and talk to them, they want to invest. The first day we had a call with Michael, he wanted to invest." The same story with Flori Ventures, Aminu says.
The journey into entrepreneurship
In 2019, Aminu, Anisere, and Hakeem Orewole co-founded Payourse, launching the company's first product, Coinprofile.
Aminu had dropped out of a five-year programme in the Federal University of Technology, Minna in 2017, but had caught the crypto bug before then.
"I found out about crypto from a friend and then I bought some and since then I became obsessed. Because it was interesting to me and I was someone who was really curious back in school, and II didn't really understand how it could be money and wanted to understand it. I kind of went into a rabbit hole of trying to understand how bitcoin and crypto works."
That same year, he met Orewole on an online crypto forum and the two became good friends. So good that both founded a crypto startup in the same year.
Unfortunately, it failed because, as Aminu laughingly says, "I was very young then and didn't know anything." They went on to found another startup in 2018, but this one "failed even faster."
At this point, Aminu decided the startup life was not for him and decided to take his chances in the labour market.
During his undergraduate days, he had learnt graphic design and soon got a job with an Australian company where he learnt a little bit of product designing while in his role as a graphic designer.
He moved to Busha — where he met Anisere — and then to TeamApt, Yellow Card, Interswitch, and finally Binance.
What is a Payourse?
Payourse's homepage
On Monday, November 22, 2021, Aminu announced on Twitter a new parent company, Payourse.
Today, I'm excited to introduce our new parent brand.
Meet Payourse @payourse. We're passionate about accelerating access to crypto for Africans by providing tools that make it easier, faster and cheaper for businesses to build user-friendly crypto products like @coinpHQ.
— Bash 我创造 ✪ (@scozky) November 22, 2021
But as he tells Techpoint during our call, Payourse has been in existence since 2019, when they first founded Coinprofile.
"Well, we actually created Payourse, a long time ago, in 2019 as a parent company, but we never really announced it to the world. But it's always been the parent company. And we've always had this long term vision of a company which would build user-friendly products on top of crypto."
The idea is to make crypto accessible to everyone, as Aminu strongly believes it is the future of finance in Africa.
Africa is one of the fastest-growing crypto markets globally with six countries — Kenya, Nigeria, Togo, South Africa, Ghana, and Tanzania — making it into the 2021 Global Crypto Adoption Index Top 20.
The Web3 — a decentralised version of the Internet built on public blockchains — craze has also been making waves, with increasing noise being made in crypto and blockchain spaces.
However, apart from creating accessible products is the vision to be the crypto powerhouse, a go-to for any organisation looking to build or integrate Web3 or crypto products.
Payourse currently has two major products, Coinprofile and Simpa.
The first iteration of Coinprofile was a Disha but for crypto wallets.
"I used to be an OTC (over-the-counter) trader, so anytime someone wants to send me crypto, and I always have to go to my wallet address and copy wallet address and send it to them. It was a very tedious process."
From experience, he knew that other traders faced the same issues, so the idea was for people to create an account and store all their wallet addresses, and a unique link is created, leading to a landing page. This was where the name coinprofile came from. It doesn't require sign-ups, and there are no transaction charges.
The current remittance product came in May. Now, users can send cryptocurrency to anyone and receive it in cash in their bank accounts.
Then there's Simpa, a no-code tool that enables businesses to create their own crypto exchange.
The numbers and the challenges
With free transfers, how does Payourse make money? Well, Aminu tells Techpoint that they earn an average of 1.5 – 2% and sometimes even as much as 10% per transaction.
According to the company, there are currently over 5,000 users on Coinprofile, with millions of dollars processed on the platform. Since its launch, the exchange has grown 15,000% across all touchpoints and maintained a 150% month-on-month growth rate.
Aminu says Simpa is currently collecting data for early users to access the beta version and is scheduled to launch in the coming weeks.
But building a company always comes with its challenges. And two of the biggest have been talent and marketing.
"We've faced challenges in hiring. In fact, we've had to let go of two of our employees. We had to hire them at that point because we hadn't raised a lot of funding, and we couldn't get a lot of really good people to apply for our roles."
In the end, they've had to settle for junior to mid-level developers, with most senior developers opting to work for international companies.
With a team of eight and three technical founders, they've had to rely on word of mouth and judging by their numbers, they might not be doing too badly, but Aminu tells us that an essential hire in the wake of this raise is hiring a Growth or Marketing person.
Apart from hiring, Aminu outlines two critical things this fund would be used for: building out current products to package them for sales and making existing use cases better.
In a round that was oversubscribed up to $2 million, Aminu says there's no rush to get more funding.
"For us, we believe Payourse will be the powerhouse of crypto in Africa. When a business wants to develop crypto products for the African market or wants to integrate crypto into what they already have, we are the go-to.
"Our plan is not just to build infrastructure, but also build use cases around the infrastructure. We already have Coinprofile and Simpa. It might take a while, but we are not honestly looking to raise a $100 million very quickly. We want to, first of all, have a business and a clear path to revenue. The funding will come."
Ogheneruemu Oneyibo
Writer, Humanoid, Forever she/her, Lover of words.


text:
A new bishop for Lourdes, and a good sign
Posted on 17 February 2012 by Fr. John Zuhlsdorf
This may be old new for some of you, but it is nice to have good news once in a while.. and repetita iuvant.
On the site of Sandro Magister I was reminded that the Holy Father took personal interest in appointing the new bishop of the Diocese of Lourdes in France, a young bishop -hitherto auxiliary in Nanterre, Most Rev. Nicholas Brouwet, who has a bit of a traditional liturgy streak in him. He is only 50 and was ordained in 1992, which makes me feel a bit of an underachiever… thanks be to God.
Of note in the article is that the new Bishop of Lourdes was in the Institute of St. John, founded by the late Hans Urs von Balthasar. Since the Prefect of the Congregation of Bishops, Marc Card. Ouellet is in that orbit, it is not a surprise that Brouwet's name could have been fast tracked to Pope Benedict's desk.
VATICAN CITY, February 17, 2012 – Following the "personal" appointment of Bishop Francis Moraglia as patriarch of Venice, Benedict XVI has hit a similar shot with the Church of France.
He did so last Saturday, February 11, the feast of the Blessed Virgin of Lourdes, when he appointed the new bishop of the diocese in which the famous Marian shrine stands, that of Tarbes and Lourdes. Pope Joseph Ratzinger has called to this post Nicolas Brouwet, who will turn 50 next August 31, since April of 2008 the auxiliary bishop of Nanterre, the diocese in which he was born and was ordained a priest in 1992.
The appointment came earlier than expected, since Brouwet's predecessor, Bishop Jacques Perrier, in office since 1997, passed the retirement age of 75 last December 4, and has therefore had just a couple of months of "prorogatio."
The choice of Brouwet, like that of Moraglia, did not go through the scrutiny of the cardinals and bishops of the relevant congregation in one of their regular Thursday meetings. Both will take possession of their respective dioceses on March 25, the feast of the Annunciation.
It is easy to think that the prefect of the congregation for bishops, Cardinal Marc Ouellet, appreciated the fact that Brouwet is a member of the "Johannesgemeinschaft", the Institute of St. John founded by the theologian Hans Urs von Balthasar. Ouellet, in fact, is himself a great admirer and was a friend of the Swiss theologian, whose thought he discussed in his doctoral thesis in dogmatic theology at the Pontifical Gregorian University.
Bishop Brouwet, however, although he is young, is recognized as having a liturgical sensibility that is particularly faithful to tradition. Last December 25, he celebrated Christmas Mass in the extraordinary form of the Roman rite, according to the motu proprio "Summorum Pontificum." He has also participated in the traditionalist pilgrimages from Paris to Chartres on Pentecost. His stance on moral issues is also in keeping with tradition.
This does not mean that Brouwet is a traditionalist tout court; it is enough to see his official photos in clerical dress to understand this. He belongs instead to that generation of young priests who, like pope Ratzinger, consider the traditionalist world – very lively in France even in its non-Lefebvrist component – more as a resource than as a problem, unlike the progressive old guard of the episcopate, less and less influential, but also the "Lustigerian" generation that now embodies its leadership, through figures like the cardinal of Paris, André Vingt-Trois, or the archbishop of Rennes, Pierre d'Ornellas.
Lourdes is not a cardinal diocese [read: not associated with the "red hat" like some large, important dioceses], but with its famous Marian shrine it is like the spiritual heart of France. It is there, in fact, that the plenary assembly of French bishops regularly meets. Not to mention the international dimension of the diocese. Faithful, seminarians, priests, bishops and cardinals from around the world arrive there. Some problems of an administrative nature that have been seen recently in the diocese have been monitored with special attention by the Holy See as well.
For all these reasons, it is even more significant that Benedict XVI has entrusted the diocese of Lourdes to a young bishop with well-defined characteristics like Brouwet.
This entry was posted in Brick by Brick and tagged B. Brouwet, Card. Ouellet, D. Lourdes. Bookmark the permalink.
Sec. Sebelius already barred from Holy Communion under can. 915
Card-To-Be Dolan addressed the College of Cardinals and Holy Father
I saw this news last Saturday (the feast of Our Lady of Lourdes), while attempting to read the announcement in French on the diocesan website, as well as seeing his name on the 'Catholic Hierarchy' website.
I think Bishop Brouwet is the second-youngest in France age-wise.
I remember on my first visit to Lourdes in 1986 coming across the French Bishops concelebrating Mass in the Grotto. I took a couple of photos of them.
And during that same time I was there, the Lefebvrists' 'Pilgrimage de Christ-Roi' (Christ The King Pilgrimage) took place. They couldn't hold any ceremony at the Grotto, so they had to go across the Gave River to do their procession. An English-speaking pilgrim group was staying at the hotel I was at, so I tagged along after them and joined in the procession.
Let's hope that Bishop Brouwet's appointment is a good one for the Church in France!
Good job in choosing him, Papa Benedict and Cardinal Ouellet!
I pray that Pope Benedict gives Baltimore a great Bishop. There are some churches around here that leave a lot to be desired.
Random Friar says:
I sympathize about "underachieving," and not being elevated to the episcopacy. But, as the saying goes, while eagles may soar, weasels don't get sucked into jet engines.
I am a priest, a happy priest!
Thanks be to God that He has found someone worthy and good for the people of Lourdes. Ad MULTOS annos!
JLCG says:
The Church in France may not be what it was but it is still a vibrant church.
Every Sunday I read in the portal of the Catholic Church the commentaries on the readings of the day and I tell you they are fantastic.
I hope that this bishop does not insist in saying a mass that nobody understands.
This morning I had the example of what is disruptive in church. The young priest that was celebrating said the Sanctus in Latin and some of us followed him but in front of me there was a young mother with two young daughters that were completely baffled.
We have now a traditional mass which is the one that is celebrated everywhere. The older mass is simply a relic.
What Summorum Pontificum has achieved is to allow the enemies of the Church to attack her and her bishops while elevating the pope in a sort of apotheosis above the church.
While the English language is becoming more and more like Chinese, no conjugations, no relative pronouns, no oblique cases, we are confronted with the spectacle of demands for the public in general to use a flexion language. It is nonsense.
If I am using the simple Latin chants, I usually direct the congregation to the proper place in the hymnals. Even Breaking Bread has it (#850-something…)
NoTambourines says:
JCLG– there's plenty to take issue with there, but your comments seem to discount people's ability to learn. Mom and the kids might have been surprised this week, but next week or the week after that, they might know the Sanctus in Latin.
In fact, I think the bigger problem might be that adults would be that unfamiliar with the liturgy not to know at least by name what the Sanctus is, and it is a flaw in Catholic education. I know the Gloria and Sanctus in Latin because I sang in my public university's choir in college, not through any Church institution, after kindergarten through 12th grade in Catholic schools. I learned about the Divine Office first in college music history, not in any religious context.
But here's something that I don't get: capable people who snap up the latest technologies and gadgets develop this selective paralysis when asked to expand their minds to consider the traditions of the church, or to develop their knowledge beyond what they've become complacent with. It's like the church musicians or choir members I know who say "I can't read notes," and that's that. New skills? Applying new knowledge? Ain't gonna happen.
JLCG, I mean. Apologies for the misspelling.
JLCG:
Latin is the official language of the church.
My 14-year old can handle Latin.
In this Internet age, are there REALLY Catholics who haven't heard Holy Holy Holy done as Sanctus, Sanctus, Sanctus? In order to get to the sports channels, you still have to scroll past EWTN.
Even the Novus Ordo Missalette gives the answer key for the Latin parts.
I'll stop here.
disco says:
JLCG,
Those opposed to the traditional mass are the real relics.
TNCath says:
What's up with the white biretta on the deacon to the bishop's right?
Phil_NL says:
Lourdes is not a cardinal diocese [read: not associated with the "red hat" like some large, important dioceses], but with its famous Marian shrine it is like the spiritual heart of France. It is there, in fact, that the plenary assembly of French bishops regularly meets.
Well, one wouldn't expect a promising young bishop to be sheparding a single see – even one as important as Lourdes – for 25 years. If Bp. Brouwet is indeed a rising star in France, it will be interesting to see what happens around 2020. Then no less than three of the classical cardinalatal sees in France would need new bishops – Tours, Bordeaux and Marseille. By promoting Bp Brouwet now, he'll be excellently positioned to take up one of those sees. Which may in fact have been a reason for his promotion, otherwise Bp brouwet would have almost certainly missed that round; making it all but impossible for him to join that new generation of cardinals.
TNCath: I believe the white biretta is worn by the Norbertine Fathers. Some of that order have been working hard for the restoration of the TLM and for the restoration of traditional liturgical practices in the Ordinary Form, if I'm not mistaken.
New Sister says:
JLCC – I've gone on the International Military Pilgrimage to Lourdes twice, and visited one other time on my own. Lourdes is where I most experience the need for Latin in our Liturgy. It is a beautiful thing to be standing, as I was at a closing Mass there, with a Czech, an Italian, a Frenchman, all praying in the same language. Besides, most French children know the ordinary prayers of the Mass perfectly – it is they who motivated me to learn them myself, hearing them sing so beautifully when I first moved there.
I love Lourdes and hope this new Bishop will clean out the bits of modernism that sneak their way into its sanctuary. One that I have been praying some years for Our Lady to trample out is to get a Crucifix (rather than a bare cross that looks like spray-painted plywood) over the main altar in the main church.
Singing Mum says:
Great news about Lourdes! This allows for more liturgical *diversity* and more linguistic *unity*.
JLCC, at a high estimate, only 10% of the universal Church are English speakers. Get global, why don't you!
And try not to sound so bitter toward your fellow Catholics who love the Church's traditions. Your tone shadows any points you want to make. Simply put, a negative 'tude wins no one over to your argument.
Meanwhile, the FSSP parish I attend is growing by 10% every year… lots of large families, lots of people who speak different languages at home, lots of outreach to the poor, lots of small group study, busy choir and servers, active teens, lots of LIFE. Can you say that of your parish?
Oh, and one more tip- Silly Catholic, relics are GOOD things!
akp1 says:
I really find it sad when I visit a Shrine or such and attend an 'International Mass' said in various languages, when we have the one unifying language of the Church – Latin. It is our heritage; and for those who say ' but Vatican II' etc, please actually read the documents, you might be suprised!
StabatMater says:
JLCG-
Seriously????
I am listening to my 7 year old chant the Mass in the Extraordinary form right now, as he does day in and day out, Deo Gratias! We have been attending TLM for nearly 18 months, and my family has never been so alive and in complete awe of Our Lord and His Holy Church.
Latin is the universal language of the Church because it UNIFIES us all. The Novus Ordo, as it has declined, has done nothing more than encourage parishes to develop into indivuidual ministry-based models of protestantism. We have, to our detriment, become "just like them" when we are called to be set apart.
The TLM is far easier to understand than the Novus Ordo as it is made up of all that truly speaks to the SOUL. Times may have changed, the world may change, but the human condition has not.
If my family were to travel to France, Spain, Africa, anywhere– certainly we would take time to learn some of the language and, at the very least, not insult it. As Catholics we have an obligation to expose ourselves and our children to Latin as our "native" tongue, and, at the very least, revere it.
The study of Latin and our new devotion to the Mass in Extraordinary form has taught our family who we REALLY are, and, moreover, who God Almighty REALLY is. And He is not "just one of us" as the Novus would have us believe. Nor should our priests be viewed as "just one of us," when indeed each is In Persona Christi.
My children have improved academically and in all areas of self-discipline since we began Sunday attendance of TLM. I can't imagine what would happen if we had access to this gift daily! I'll let you know how they make out on the SAT when they are older ;), but my experience thus far has shown me that Holy Mother Church took care of all of our needs when our bishops were more concerned with the sacredness of the liturgy than political gain.
"Pope Joseph Ratzinger"
Ambrose Jnr says:
JLCG – Last time I was in France, I attended the daily novus ordo Mass at the cathedral of Notre Dame in Paris. The only parts where the whole congregation could participate were the parts chanted in Latin…for the parts of the Mass in French, 90% of the pilgrims were lost…time to move out of French parochialism towards universalism…
Obviously, there were no kneelers at Notre Dame…surprise, surprise, the young global catholics kneeled on the cold tough floor during the consecration and after receiving communion…shockingly appropriate.


text:
CSPAN2 (CSPAN)
CSPAN2
Book TV : CSPAN2 : November 22, 2009 12:00am-1:00am EST
Nov 22, 2009 11/09
by CSPAN2
major say in how they would run things. he would be amazed at that. the fda idea that you could reln somebody else and still expects to be in charge. >> you make your bets and live by the results. and he lost he did everything he could to get back what he thought was says. you know, you pick your friends, and you have to suffer the consequences. thank you very much. [applauding] >> t.j. stiles is the author of "jesse james: last rebel of the civil war." mr. stiles has taught at columbia university. wednesday he won the national book award for non-fiction. >> coming up next book tv presents after words, an hourlong discussion between the host and the author of a new book. this week nomi prins former managing director at goldman sachs talks about her book "it takes a pillage." she discusses the book with senator bernie sanders, the author of the memoir "outsider in the house." >> let me begin by thanking c-span for the opportunity of interviewing nomi prins who is the author of "it takes a pillage: behind the bailouts, bonuses, and backroom deals from washington to wall street." w
major say in how they would run things. he would be amazed at that. the fda idea that you could reln somebody else and still expects to be in charge. >> you make your bets and live by the results. and he lost he did everything he could to get back what he thought was says. you know, you pick your friends, and you have to suffer the consequences. thank you very much. [applauding] >> t.j. stiles is the author of "jesse james: last rebel of the civil war." mr. stiles has...
Book TV : CSPAN2 : November 27, 2009 11:00am-12:00pm EST
method is the the randomized experience or we decide whether the fda should approve a particular drug. we go and randomized experiments that we see how the drug worked in a double-blind experiment relative to a placebo, and were able to just compare people who got through to the people who were not. they were randomized. the difference in outcomes tells whether not that drug works. as an economist, as much as i would love to get aroun carry tt out, i would love to know, to present to reduce crime? but it's not like the nsf is going to allow me to go out and run a randomizes that why lock up a bunch of people in one state and irately released people in another state, and it's what happens. so in that kind of a world economists have had to use what i call accident experiments to figure out the answer. in other words, i look
method is the the randomized experience or we decide whether the fda should approve a particular drug. we go and randomized experiments that we see how the drug worked in a double-blind experiment relative to a placebo, and were able to just compare people who got through to the people who were not. they were randomized. the difference in outcomes tells whether not that drug works. as an economist, as much as i would love to get aroun carry tt out, i would love to know, to present to reduce...


This is a long overdue post, explaining how Discoveroom connects to various channels and the things one needs to pay attention to. So let's better take this from the beginning.
Quite simply, a channel is where reservations are coming from. A travel agent is a channel, our telephone is a channel, a site like booking.com is a channel, the hotel's own website is a channel. For convenience, we make a distinction between online channels and offline channels.
The online channels are the ones where people make a booking, using the internet and the web. They are third party websites or mobile apps. Their common denominator is that they are web/app based. So, the online channels are mainly the global OTA's (the likes of Booking.com, Expedia, AirBnb etc) and regional or local ones.
The offline channels are all the ones that are not based on the web or a mobile app. The telephone and the travel agents are the most common.
It is common that a property advertises its rooms and availability on more than one web sites. This fact creates a problem: when a booking takes place in one site, all the others have to be updated about the decrease of the availability of this particular room. Not being updated timely, makes the risk of a double booking all too real.
Availability updating can be performed manually. But a human has to sleep or take a break. So the time that it takes between a booking and a manual update ranges widely between a few minutes and many hours. The wider this interval, the bigger the risk of a double booking. The problem gets trickier as the availability might be reduced because of bookings that took place offline. So the poor lodge owner has to be constantly vigilant and rush to make the updates upon each new booking. For a big property this is nearly impossible. Wouldn't it be nice to automate this updating and minimize the risk of double bookings? Enter the Channel Manager.
The Channel Managers are programs and services that automatically update channel availability. They interconnect the various channels, plus the applications the lodge owners uses to keep track of the offline bookings (like our PMS). Since there is a constant link between channels and the lodge system, it is very easy to also transfer the actual reservations from one system to the other.
In short, channel managers interconnect channels and hotel systems, retrieve bookings from the channels and transfer them to the hotel and update channel availability automatically, whenever a new booking takes place, regardless where it takes place.
Discoveroom, at its core, is a PMS (a= Property Management System). It does not connect to channels directly (this is a choice, not a limitation. It could connect directly, but we have decided not to) therefore it does not play the role of a channel manager. Instead, it connects to other third party channel managers and through them, connects to the various channels.
Why not connect directly? It is a matter of focus and resources. There are dozens of different channels out there and building connections with them requires money, time and expertise. We have decided that this is not the area we want to focus, since there are already many channel managers out there, performing a decent job.
We have, so far, connected with two channel managers: Octorate and WebHotelier/Primal Res. The choice is driven by geographical considerations. The bulk of our clients reside in the areas where these two channel managers are originating and operating. Geographical expansion will certainly lead us to add more channel partners.
In both cases the creation of the property in the Channel Manager's system is performed by us or the Channel Managers. When this is done, the menu option "Channel Manager" within our web app, allows you to create a new room type mapping between the two systems. The room type mapping is essential for the correct reservation retrieval and updating. Discoveroom allows one-to-many relations, where one room type from Discoveroom can be mapped to more than one room types on the channel manager side, but not vice versa.
Is there a difference between these two Channel Managers?
Yes, there is. While both perform the same task of retrieving bookings and updating availability, there are differences on how they function, how they are priced, which channels they support, etc. The choice is up to the client. We want to offer what best suits him.
More specifically, the WebHotelier/Primal Res solution has a very deep integration of the booking engine (WebHotelier) and the channel manager (Primal Res) and that's why they are offered together.
For both channel managers, the pricing for the channels is entered on their side, while the pricing for the PMS is entered in Discoveroom. There are plans to integrate these two functions but for the moment they are distinct.
Discoveroom is built around the concept of always managing the true availability, since it allows the users to enter reservations into the rooms directly, and not in room types. Also, the reservations imported from the channels are automatically assigned to rooms. The reasons for this are multiple: we want to reduce hotel manager's load of work, make it easier to understand what is there to sell online, reduce the double booking risks, etc.
For this reason, we have built tools within discoveroom that close the availability to the channels and change the minimum stay. We follow the principle that the PMS should be point of truth about availability. This means the PMS will drive the channel managers and not vice versa. And therefore, availability opening/closing that is not related to specific reservations, should be handled by the PMS.
However, there are cases where experienced hotel managers, for reasons of attracting more bookings, want to advertise room availability higher than the real one, knowing that there is an inherent double booking risk. These cases availability should be set directly on the channel managers and not from Discoveroom. But there is a problem here: Discoveroom always reverts to the true availability, so if a room change takes place, it will send back the true availability to the channel managers. This does not pose a problem of double booking. On the contrary. But it creates a workload for the hotel managers that will see the artificially increased availabilities reverted to the real ones and will have to adjust them again.
Another common problem with availability is when a booking has to be split between different rooms. Let's examine the root cause of this case.
OTA's display room types. They know nothing about the specific rooms of a property, just the number of available rooms for each room type on each date .
Room Type X comprises of two rooms (A and B), so the total availability when both rooms are free, is 2.
Let's say that between the 1st and the 3rd of the month, room A is booked, while between the 4th and the 6th room B is occupied. What availability will a channel display for the dates between 1 and 6?
The answer is, of course, 1.
Move the reservation for room B to room A. Then the channel reservation can be retrieved in room B.
Move the reservation for room A to room B. Then the channel reservation can be retrieved in room A.
Enter the channel reservation manually, splitting it between room A and room B.
In practice, all these solutions and more (like upgrading the client to another room type) will be required. There is nothing wrong here. It is the nature of this business that makes such problems arise.
The way meals (breakfast, mainly) are bought with a reservation from an online channel varies. They can be included in the reservation price, they can be bought separately but along with the reservation or they can be bought by the client after the check-in, during his stay. For reservations coming from channels, this piece of information resides in the reservation notes.
Information about Non Refundable Payments are also added in the reservation notes. Plus, other information, like cancellation terms, whenever they are relayed by the channel managers.
All the above should be considered as the basics of channel management. There are many details and many subtle differences between channels and systems. But these are the subject of future posts.


text:
Antiballistic radars failed 21 times in 3 years
The country's two Green Pine antiballistic radar units, which play a key role in detecting North Korea's ballistic missile launches, have malfunctioned 21 times in the past three years, according to a military report that was submitted to Rep. Lee Chul-gyu of the ruling Saenuri Party and exclusively acquired by the JoongAng Ilbo on Sunday.
Considering that the military operates one radar unit at a time biweekly and it takes two hours to turn on the other radar when one breaks down, 21 malfunctions means the South went 42 hours with neither radar working.
The Air Force acknowledged the malfunctions as well as the gap of 42 hours, but said there wasn't a single time that both units were simultaneously broken.
The military said that the radars stopped working mainly when droplets of water formed inside the machine due to a temperature difference with the outside layer, which paralyzed the system's transmission output.
Since 2012, the South Korean military has deployed two Israeli Green Pine radar units, which have a range of more than 500 kilometers (310 miles) and are used to detect Pyongyang's missile launches. Each cost 200 billion won ($181.5 million) and are located in North Chungcheong and South Chungcheong provinces.
According to Lee, the military has recently decided to spend an extra 13 billion won to build a dome that would cover the radars, decreasing the temperature difference to prevent future malfunctioning.
"I can't help but doubt the military's professionalism," said Lee. "How could they pay 200 billion won for each radar and not have prevented dew forming?"
The lawmaker highlighted North Korea's growing missile threats and stressed it was a "serious problem" that the malfunctions had occurred in such critical times.
In the report, the Green Pine radar in North Chungcheong is said to have experienced eight shutdowns, while the other in South Chungcheong had 13. Three of them were from 2013, five from 2014, eight from 2015 and five from January to June this year.
In July, the Green Pine radars were shown to local media for the first time by the Ministry of National Defense in an attempt to prove their safety by revealing the emission rates from the activated radars.
The tour was intended to calm concerns over the level of electromagnetic waves that would be emitted from the Terminal High Altitude Area Defense (Thaad) system after the government announced that Seongju County, North Gyeongsang, was chosen as the site for the new U.S.-led antiballistic radar system.
BY PARK SEONG-HUN [lee.sungeun@joongang.co.kr]


Large main zippered compartment with built in laptop sleeve (holds 15" laptop), additional rear compartment behind laptop sleeve.
Features zippered front pocket with earbud port, organization panel under front flap, rear pocket with velcro closure.
these product are great quality and were very popular with our group. Highly recommend!!!! this is a re-order and we are always satisfied with the products.
A very refreshing change for anyone responsible for ordering and distributing promotional products. We've used this item before and it's a hit with our patients.
It was very economical and excellent for our event. I recieved excellent customer service and will definitely use this company again.


In Java the call stack keeps track of the methods that you have called since the main method executes. A stack is a way of organizing data that adds and removes items only from the top of the stack. An example is a stack of cups. You can grap a cup from the top of the stack or add more cups at the top of the stack.
When you are executing one method (method a) and it calls another method (method b) the method call is placed on the call stack along with information about where it was called from, which tells the run-time where to return to when the current method finishes executing. When method b finishes executing the run-time pops the method b off of the call stack and returns execution to the next line to be executed in method a.
Consider the following class definition.
Figure 3: Code with a divide by zero in a method.
The code above will cause a run-time error of division by zero when it runs. The main method calls the method test1 (at line 20) which calls the method test2 (at line 6) which has the divide by zero error (line 14). This can be seen in the call stack shown below which shows the call stack from the top (most recent method) to the bottom (first method call).
When a method calls itself the new method call gets added to the top of the call stack. Execution of the current method pauses while the recursive call is being processed.
Let's trace the execution of the factorial method defined below.
What happens when we call factorial(0)? It will return 1 (line 4) since n is equal to 0. How about factorial(1)? It will return 1 * factorial(0). We already know that factorial(0) returns 1, but the computer won't remember that. It will execute factorial(0) and return the result (1). So factorial(1) returns 1 * 1 which is 1.
How can you show what is happening in a recursive call? Here is one way to do it. The lines below show the call stack upside down (with the bottom of the stack, or the beginning at the top and the most recent call at the bottom) for a call to factorial(5). This is a handy way to trace a recursive method on the exam and you will do much better on recursive problems if you practice doing it this way.
Once factorial(0) executes and returns 1 that value can be substituted back into the previous method call, starting at the top of the stack (shown at the bottom here) and working our way back to the bottom of the stack (shown at the top here).
You can step through this code using the Java Visualizer by clicking on this link: factorial.
Another way to see the call stack in action is to use Jeloit (see http://cs.joensuu.fi/jeliot/ for the software and http://ice-web.cc.gatech.edu/dl/?q=node/729 for a step by step tutorial about how to use Jeliot).
12-3-1: Given the method defined below what does the following return: factorial(6)?
This would be correct if it was factorial(0), but don't forget the recursive calls.
This would be correct if it was factorial(5), but this is factorial(6).
If you remember that factorial(5) was 120 then this is just 6 * 120 = 720.
It doesn't return 6 * 5 it returns 6 * factorial(5).
12-3-2: Given the method defined below what does the following return: mystery(5)?
This would be correct if it addition instead of multiplication.
This method calculates 2 raised to the nth power.
Check that you didn't miss one of the recursive calls.
This would be true if the call was mystery(6).
You can step through the code above using the Java Visualizer by clicking on the following link: Ex-11-3-2.
12-3-3: Given the method defined below what does the following print: mystery(4,3)?
This would be correct if it added instead of multiplied.
This calculates a to nth power.
This would be correct if it was 4 to the 3rd instead of 3 to the 4th power.
This would be correct if returned 1 instead of a in the base case.
This would be correct if it was 3 to the 5th.
You can step through the code above using the Java Visualizer by clicking on the following link: Ex-11-3-3.
Let's trace the execution of the bunny ears method defined below.
What happens when we call bunnyEars(0)? It will return 0 since n is equal to 0 (line 3). How about bunnyEars(1)? It will return 2 since n is equal to 1 (line 4). What about bunnyEars(5)?
This approach shows the call stack from bottom to top. Once bunnyEars(1) executes and returns 2 that value can be substituted back into the previous method call, starting at the top and working our way back toward the bottom (or beginning) of the call stack.
So bunnyEars(5) returns 10. You can step through this code using the Java Visualizer by clicking on this link: bunnyEars.
12-3-4: Given the method defined below what does the following print: mystery(1234)?
Remember that 1234 % 10 returns the rightmost digit.
There are two calls that print something in this method.
This method prints the right most digit and then removes the rightmost digit for the recursive call. It prints both before and after the recursive call.
Since 1234 % 10 returns the rightmost digit, the first thing printed is 4.
You can step through the code above using the Java Visualizer by clicking on the following link: Ex-11-3-4.
12-3-5: Given the method defined below what does the following return: mystery("xyzxyxy")?
This would be correct if was counting the number of characters in the string, but that isn't what it is doing.
This method seems to be counting the number of y's in the string, but fails to check if a single character is a y.
Don't forget that there are recursive calls too.
This would be correct if the base case returned 1 if the single character was a y.
Don't forget about the recursive calls.