text:
Smita Pranav Kothari
Freelance Writer – Brings out the human side in every story.
In: money, Wall Street Journal (Mint)
Possible impact of SEBI's proposed crowdfunding model (WSJ/Mint)
When Manish Kumar, 32, saw Menstrupedia's crowdfunding campaign, he says it touched his heart, leading him to contribute Rs.500 to the project in exchange for a handwritten thank-you note.
"I have two sisters and hence I found a personal connection to the larger problem addressed by the project," says Kumar. Menstrupedia aims to educate young girls about menstruation through a comic book and a website.
Currently, in India, crowdfunding—financing a proposed project online through relatively small sums from a large number of people—is restricted to a reward and donation model. Here, contributors to a project in the domain of, for example, design or technology, receive some reward ranging from a thank-you note to the product itself, based on the contribution. In some social-cause projects, there are no rewards for the donation.
However, recently, the Securities and Exchange Board of India (Sebi) proposed a crowdfunding framework for India in a consultation paper, on which it had invited public comments by 16 July. The introduction of a potential investment model of crowdfunding, where contributors to a project will receive an equity share of the company, will cause a paradigm shift in the constitution of sectors within the industry and in the profile and psychology of contributors: broadly from heart to head.
According to Abhishek Maitra, executive director of the National Crowdfunding Association of India, the investment model will turn the tables around completely. "People would no longer contribute based only on their emotional urge as they currently do in reward and donation models. Most of it would be based on logic, their understanding of the market the projects are based in, their risk appetite, their ticket size, and most importantly, their desire to make the right choice and gain maximum profits," he says.
One reason for the above change would probably be a change in the profile of contributors under the reward model and the investment model. Anshulika Dubey, co-founder of Wishberry, one of India's largest crowdfunding platforms that hosts reward-based projects across categories, says that about 70% of contributors to a project on an average are family and friends of the campaigner. However, Maitra says that under the proposed investment model, contributors would comprise mature investors who make decisions on the basis of company valuation, revenue and return on investment.
Satish Kataria, formerly a venture capitalist who in 2010 introduced equity crowdfunding in India in association with a European crowdfunding platform, Grow VC, seconds Maitra: "Following US's JOBS (Jumpstart Our Business Startups) Act, which has been inspiring equity crowdfunding regulations across the world, Sebi has proposed to allow only accredited investors to put their money in investment model crowdfunding projects." Sebi's definition of accredited investors includes institutional investors, companies with a minimum net worth of Rs.20 crore, high net-worth individuals, and financially secure and informed retail investors.
Kataria was able to operate an equity crowdfunding platform escaping Sebi's purview by limiting the number of investors to 49. (The maximum number of investors allowed in a private company was 50 then. The new Companies Act now permits up to 200 investors in a private company.) Hence, unlike the reward model where there is no upper curb on the number of contributors, there would possibly be a restriction on the number of investors under the equity model. Moreover, the funding goals are also much higher under the equity model.
Kataria, in 2013, started Catapooolt, a crowdfunding platform for hosting creative projects like movies and music festivals. He estimates that Rs.10 lakh would be the starting funding goal of equity crowdfunding projects in India, a point which forms the maximum raise for their reward counterparts.
Tim Wright, a Scotland-based consultant on crowdfunding, says that statistically, the average investment size in the equity model tends to be higher than the average contribution in the reward model.
Expectation of reward or return—a parameter for presence of logic in the contribution decision—is directly correlated to the amount of contribution irrespective of the crowdfunding model. Except in cases like Kumar's where the contribution amounts to a few hundred rupees for a cause very close to the contributor's heart, people do expect tangible rewards even from social projects.
Varun Sheth runs a reward and donation crowdfunding platform, Ketto, for social-cause projects. He agrees that projects with rewards have a higher probability of being successfully funded than their donation-based counterparts. "Rewards act as the incentive for larger donors to contribute to X project rather than to Y." Thus, although the reward-based model is not as pure as anonymous donations, it is relatively more heart-centric than the equity model.
One reason for this is that it allows contributors to give smaller amounts. Apart from the contribution amount, expectation of reward also varies across project categories. Product-based projects that offer the end product as reward—for example, technology projects—engage the head of contributors more than their hearts. When Mahima Kukreja contributed Rs.250 to Printajoy, a printing solution for Instagram photos, she did not care so much about the intangible or non-monetary reward: a shout-out on Facebook. Instead, she thought she got a "good package" (20 prints at Rs.250 which would later be available for Rs.279). Thus, people may contribute small sums to support girl education or a budding artist, but when it comes to a technology product at offer, they tend to think less emotionally and more logically.
Currently in India, a majority of reward-model crowdfunding projects are in the social and creative space. There are very few technology projects, making it a more heart-based contribution scenario. However, Maitra predicts that under the proposed equity model, technology would be the first sector to catch up. "Everything from online technology companies to hard-core technology companies are booming in India and that's the sector most investors understand," he reasons.
Lastly, a shift from heart to head is also demonstrated by the fact that contributors in the reward model lay a lot of emphasis on the campaigner or team behind the project, whereas investors in the equity model focus on the business plan. For example, Chandan Shanbhag, a software engineer, contributed to Lawtoons, a project that intends to spread legal awareness through a comic book, merely because the campaigner is his friend. This puts him in the 70% inner circle mentioned by Wishberry's Dubey. But even for Kukreja who did not know the Printajoy campaigners personally, it was important to trust the team behind the project after finding the concept attractive and before making the contribution. "I read their blog from which I got good vibes about the campaigners. They seemed passionate and down to earth," she says.
On the other hand, Ryan Caldbeck, co-founder of Circle Up, an accredited investor crowdfunding platform based in the US, advises companies to talk about market, growth prospects, historical financials, projected financials, planned use of capital and such in their online elevator-pitch. Dubey reasons, "The reward model is primarily for product launch and the audience does not care about project scale, whereas an investment model will heavily depend on whether a project has scale or not."
The only reference check that Kumar did before contributing to Menstrupedia was that the campaigner was a friend of his friend. He says, "The project was endorsed by my friend and that lent credibility to it."
Read on Wall Street Journal/Mint website here
In: Caravan, culture
Eyes on the Road (Caravan)
The sole Lamborghini in Ahmedabad
Source: Caravan
It was nearing 2am on a winter night last year in Ahmedabad. Aditya Agrawal was headed home af- ter a party, zipping down the Sarkhej–Gandhinagar highway in his Škoda Octavia. He spotted a yel- low Hummer zoom past in the opposite direction. Agrawal slowed down, memorised the SUV's license-plate number, and watched it recede in his rear-view mirrors.
Agrawal, who is twenty-four years old, is a spotter of super-luxury cars, which, by definition, cost upwards of Rs 1 crore. By his unofficial tally, there are twenty-five such cars in Ahmedabad: nine Rolls Royces; four Bentleys; two Lamborghinis, two Ferraris, two Hummers and two stretch limousines; one Nissan GT-R, one Aston Martin, one Maserati and one Audi R8.
Agrawal makes it a point to also track down these cars' owners—"It's like police investigation," he said—since his interest in their cars is fuelled by a desire to learn about their financial interests. As a businessman himself—Agrawal currently manufactures packaging materials for fertilisers and cement—he said he wants to build his business "around [the same] sources of revenue," in the hope that this will enable him "also to buy luxury cars."
In recent years, Ahmedabad has become a hub for luxury-car dealers, and so an ideal place for Agrawal's hobby. Rolls Royce set up its fourth Indian showroom here last year, and the city also boasts dealerships of luxury brands such as BMW, Audi, Mercedes-Benz, Jaguar Land Rover and Porsche. The Indian custom-car maker DC Design also opened a showroom in Ahmedabad last year, where it plans to soon begin sales of the Avanti, the first Indian-designed sports car.
When a new car catches his attention, Agrawal first checks its license plate to make sure the car is registered in Ahmedabad, and then keeps an eye out for where it might be parked—often at posh hotels and country clubs. However, Agrawal said, in a quirk particular to the city, these incredibly expensive cars are just as often found parked by the side of the road while their owners indulge in paan, chai and street food, all available for under a hundred rupees.
Chirag Patel, a real-estate and construction tycoon, is one such owner. Once a week, after dropping his daughter off at her school-bus stop in her favourite supercar—a black, convertible Mercedes-Benz SLK—Patel drives to a tea stall on University Road to grab a sixteen-rupee bun maska (buttered bun). And, he said, every night for the last fifteen years he and his wife have driven to a specific stall to fetch paan prepared "kalkatti sada," just the way he likes it. Whether he is going out for roadside Jashuben's pizza (a Gujarati take on the Italian classic) or dinner at a fine restaurant, Patel said, "I don't pick the car based on where I am going." In addition to his Mercedes-Benz SLK, Patel owns a whole fleet of luxury and sports cars, including an Audi TT, a Porsche Cayenne and a BMW 7 Series.
Such cars are increasingly common at Bhukkad Gali (Hungry Lane), a road in central Ahmedabad famous for its nightly fast-food market. Swapnil Patel, who runs a falafel cart there, remembered an automotive encounter from a night in January last year. Amid the clanking of iron utensils, Swapnil heard the vroom of a supercar, and looked up to see a black Aston Martin drive past. A minute later, a customer appeared at his cart, exchanged greetings and ordered a snack. "I only realised that the customer was owner of the same Aston Martin when he walked back with his falafel to his car parked at a distance and reversed it to take it out," Swapnil said.
Roadside vendors like Swapnil are essential sources in Agrawal's quest for information. To identify the owner of the Hummer he had spotted on the highway, a few days after the encounter Agrawal visited a paan shop near a lane the car had turned into. The paanwalla, he said, "tipped [me off] that the car belonged to someone living in a house in that lane itself." Agrawal deduced that there was only one homeowner in the area who could afford such a vehicle: Pankaj Patel, who heads a pharmaceutical company and is currently thirty-sixth on Forbes magazine's list of India's richest people.
A few months later, Agrawal was invited to brunch at Pankaj Patel's residence. Eager to verify his guess, he checked out the cars parked near the house. The yellow Hummer was there, but standing next to it was an even more prized sight: a sleek blue sedan, with a distinctive front grill. "While tracking down the Hummer," Agrawal said, "I landed upon a Rolls Royce."
Read article on website of Caravan
chicken soup for soul (1)
Conde Nast (6)
DNA After Hrs (2)
Quirky World (5)
Wall Street Journal (Mint) (1)
Possible impact of SEBI's proposed crowdfunding mo...
Bhutan: Now and Then (TimeOut Explorer)
The Persian Way (Travel+Leisure)
The school on GB Road (Times Crest)
In this country, a no means yes (Conde Nast Traveller)
I'm a Freelance Writer who brings out the human side in every story. I have a Master's in Journalism from Harvard University and have written for Forbes, Crest edition of Times of India, Outlook, TimeOut Explorer, Femina, Chicken Soup for the Indian Bride's Soul, DNA After Hrs, among others. Reach me at smitapkothari@gmail.com
∧ Copyright © Smita Pranav Kothari | Powered by Blogger | Designed by eSites Network


Galerie Wendelin Niedlich during the 1960s and 1970s played an important role in the art scene in Stuttgart (Germany) and, at a few occasions, even beyond.
Wendelin Niedlich himself came to Stuttgart in 1960 to open his Buchladen (bookstore) dedicated to modern literature and the Kritische Theorie of the Frankfurt School (Adorno, Horkheimer, Habermas, et al.). Enlightenment and critique of society and culture was Niedlich's mission.
He soon began using the walls of his premises to arrange exhibitions of contemporary and experimental art.
From 5th to 26th November 1965, Wendelin Niedlich exhibited graphic works by Frieder Nake and Georg Nees under the title Computer-Grafik Programme. A text of Max, Bense was read by Reinhard Döhl during the opening. This exhibition became the third worldwide of computer art and through this fact gained international importance.


We have been mentioning about Pine Trail earlier and now seem that there is more concrete plan on this next generation Atom processor, which is targeted to replace Intel Atom N270 series. The most recent news disclose that the Pine Trail is officially named as Atom N450, while the Tiger Point chipset named as NM10 with availability to board vendors by October this year.
As expected, the new processor and chipset combo will be shrunk into two-chip solution from original three-chip solution with Atom N270 pairing with ICH7M IO Hub and 945GSE chipset. With only two-chip solution, both the memory controller and graphics core will be integrated into silicon core itself, which significantly improve the overall performance while reducing both the foot print and thermal dissipation. Interestingly, both N450 and NM10 will be fabricated using smaller process technology of 45-nm instead of older processor technology of 130-nm especially on relatively older chipset such as 945GSE and US15W chipset.
The last order for N270 will happen on first quarter of 2010, so that the giant chipmaker can fully move into its N450 mass production, hoping to continue the momentum of its famous Atom family processors suitable for both embedded and consumer markets.


The Best Books of GRE Reviewed!
The key element required to ace any examination is preparation. The GRE is no different and good GRE study books act as a springboard for it. They not only guide you with the preparation, but also help you understand your weaknesses. There are a number of books for GRE prep available in the market and most of them are published by renowned publishing houses. Thus, it is natural to get confused while purchasing such books. Therefore, in order to help you make an informed choice, the various features of some better known GRE preparatory books, have been discussed in the following section of the article.
Although, the GRE prep books are mass produced, you should check whether they meet most of your requirements, before you purchase them. Hence, before you purchase any book, browse through as many of the available GRE preparatory books as you can. While checking the books, ensure that the books have a number of practice tests. This is an essential feature that all GRE preparatory books should have.
The most important preparatory book is definitely the one published by ETS since, all the modifications and updates in the test format and syllabus can be first seen in it. The features of this book have been discussed in the following section of the article.
The above-mentioned list provides short reviews of the better known books for GRE study available in the market. Check out all of these books and consider what they aim to provide before you purchase them. Once, you have purchased the books follow them strictly during your GRE preparation.


text:
Drama > Period Film
Drama > Biopic [feature]
Romance > Romantic Adventure
Drama > Psychological Drama
Drama > Political Drama
directed by Barry Jenkins
featuring Mahershala Ali, Shariff Earp, Alex Hibbert, Ashton Sanders, Trevante Rhodes
directed by George Miller
featuring Tom Hardy, Charlize Theron, Nicholas Hoult, Zoë Kravitz
Birdman (2014)
directed by Alejandro G. Iñárritu
featuring Michael Keaton, Edward Norton, Zach Galifianakis, Andrea Riseborough, Lindsay Duncan
directed by Sam Mendes
featuring Daniel Craig, Judi Dench, Javier Bardem, Ralph Fiennes, Naomie Harris
directed by Jia Zhangke
featuring Zhao Tao, Han Sanming, Wang Hong Wei, Li Zhubin, Xiang Haiyu, Zhou Lin
The Diving Bell and the Butterfly (2007)
directed by Julian Schnabel
featuring Mathieu Amalric, Emmanuelle Seigner, Marie-Josée Croze, Anne Consigny, Patrick Chesnais
directed by Alfonso Cuarón
featuring Clive Owen, Julianne Moore, Michael Caine, Chiwetel Ejiofor, Claire-Hope Ashitey
Good Night, and Good Luck. (2005)
directed by George Clooney
featuring David Strathairn, George Clooney, Robert Downey, Jr., Patricia Clarkson, Frank Langella
Used CD, 2005
directed by Michael Mann
featuring Tom Cruise, Jamie Foxx, Jada Pinkett Smith, Mark Ruffalo, Peter Berg
Girl With a Pearl Earring (2003)
directed by Peter Webber
featuring Colin Firth, Scarlett Johansson, Tom Wilkinson, Judy Parfitt, Cillian Murphy
Far From Heaven (2002)
featuring Julianne Moore, Dennis Quaid, Dennis Haysbert, Patricia Clarkson, Viola Davis
The Man Who Wasn't There (2001)
directed by Joel Coen
featuring Billy Bob Thornton, Frances McDormand, Michael Badalucco, James Gandolfini, Tony Shalhoub
Crouching Tiger, Hidden Dragon (2000)
directed by Ang Lee
featuring Chow Yun-Fat, Michelle Yeoh, Zhang Ziyi, Chang Chen, Sihung Lung, Cheng Pei-Pei
The Insider (1999)
featuring Al Pacino, Russell Crowe, Christopher Plummer, Diane Venora, Philip Baker Hall
directed by Steven Spielberg
featuring Tom Hanks, Edward Burns, Tom Sizemore, Jeremy Davies, Vin Diesel
L.A. Confidential (1997)
directed by Curtis Hanson
featuring Kevin Spacey, Russell Crowe, Guy Pearce, James Cromwell, Kim Basinger, David Strathairn, Danny DeVito
The English Patient (1996)
directed by Anthony Minghella
featuring Ralph Fiennes, Juliette Binoche, Willem Dafoe, Kristin Scott Thomas, Naveen Andrews
Michael Collins (1996)
directed by Neil Jordan
featuring Liam Neeson, Aidan Quinn, Stephen Rea, Alan Rickman, Julia Roberts, Paul Hickey
Shanghai Triad (1995)
directed by Zhang Yimou
featuring Gong Li, Li Baotian, Li Xuejian, Sun Chun, Wang Xiaoxiao, Jiang Baoying
Ed Wood (1994)
directed by Tim Burton
featuring Johnny Depp, Martin Landau, Sarah Jessica Parker, Patricia Arquette, Bill Murray, Jeffrey Jones
featuring Liam Neeson, Ben Kingsley, Ralph Fiennes, Caroline Goodall, Jonathan Sagall
The Piano (1993)
directed by Jane Campion
featuring Holly Hunter, Harvey Keitel, Sam Neill, Anna Paquin, Kerry Walker
Raise the Red Lantern (1992)
featuring Gong Li, He Caifei, Ma Jingwu, Cao Cuifeng, Jin Shuyuan, Kong Lin
featuring John Turturro, John Goodman, Judy Davis, Michael Lerner, John Mahoney, Tony Shalhoub
Homicide (1991)
directed by David Mamet
featuring Joe Mantegna, William H. Macy, Natalia Nogulich, Ving Rhames, Rebecca Pidgeon
Zhou Lin

redpajama_set_name: RedPajamaCommonCrawl


Parents are as much a part of the school community as the children and teachers. Your interest and support are vital in maintaining the drive and enthusiasm of the school. Co-curricular activities, field trips, and fund raising, are all areas in which we seek your involvement. Many parents have knowledge and skills that can be of enormous value to our pupils. If you feel there is a particular contribution you could make to the School please make the Class Teacher or Vice Principal aware of your talents by filling out the PARENT VOLUNTEER FORM available at the School Office.
It is important to keep the school informed of any significant changes that may affect your child. Please let us know promptly about any medical, physical, behavioural or emotional difficulties of which you become aware. A change of address or telephone number should be conveyed immediately. Please also provide an emergency telephone number in case the School needs to contact you urgently.
It is important that teachers and parents work together in the education of the children. Here are 12 suggestions as to how you can best support your child's progress through Alpina School.
Your child needs you to be a parent not a teacher. Your role is unique. Accept your child and avoid comparing him/her to other children. Admire what he or she can do well.
Invite your child into your life, even to the most mundane activities. Promote conversation and discussion at home. Include your child in planning family activities. Explain and discuss what you are doing, and where and when events are happening.
Set useful and purposeful tasks to be accomplished. These will not only generate a sense of achievement and self-esteem, but also show that you value his/her contribution to the family. Offer praise at success and do not expect perfection. Be positive.
Exhibit self-discipline and responsibility. Expect the same from your child.
Visit your child's school on every Open House Day.
Value education. Let your child know that you think School is important.
Use books. Share books. Enjoy books.
Read to your child, encourage your child to read to you – read, even if for twenty minutes a day. Reading is the most important activity.
Utilise genuine opportunities for reading and writing. For example: notes, messages, letters to friends and family, recipes, instructions.
Utilise the latest audio-visual aids and IT materials available locally to enhance and enrich your child's learning experiences.
And above all: ENJOY YOUR CHILD!


text:
KID ORY
Kid Ory led his Original Creole Jazz Band from New Orleans to Los Angeles and from there to Chicago in the years after WWI. He released his earliest records on his is very own Sunshine label (the first Blues music to be made on the West-coast ) and distribited his products through a single store in LA. Kid later went on to play trombone on Ma Rainey and Bessie Smith's hit records, and he also had a great talent for picking up musicians who could improvise, giving many future stars a place in his band. This pioneer of Jazz and Blues was still playing a residency at the age 80.
Edward Ory was born on a Louisiana plantation in 1886, and his first instruments were home-made until he got a banjo. He moved to New Orleans and acquired a trombone, and soon came to the attention of the pioneering clarinet player Buddy Bolden, but the Kid's sister thought he was too young to join a band. Ten years later Kid was leading his own band, popularising the 'tailgate' style of trombone playing where his instrument would put a rhythmic line under the cornets and clarinets. Kid had a good ear for musicians too, hiring horn players Joe 'King' Oliver and Louis Armstrong and ace clarinettists Johnny Dodds and Jimmie Noone when they were all 'young guns'.
'Tin Roof Blues' from the Kid Ory Creole Orchestra;
Advised by doctors to seek a more healthy environment, he relocated to Los Angeles in 1919 and made the first jazz ever recorded on the West-coast, as demand for the new 'race music' grew. Kid's early efforts included some vocal tracks by Blues Divas, Roberta Dudley and Ruth Lee in 1922. Kid had the records pressed and issued them under his own Sunshine label, selling them through a single outlet, Spike's Record Store on Central Avenue. Kid moved his operations to Chicago in 1925, where the prohibition era clubs and speakeasies were hungry for good live music. His talented and disciplined musicians were in demand for studio sessions too, backing Ma Rainey and Bessie Smith on many hit records. He also gave a chance to young players like Benny Goodman and later to the bass player Charlie Mingus.
Kid and his band play a gig in Paris in 1959;
Kid Ory Discography
Recorded in 1955, Kid's accomplished band give classics like 'Make Me a Pallet' the New Orleans treatment.
LEGENDARY KID
The thirties were a lean time for a lot of musicians, but there was a revival of interest in New Orleans Jazz in the early 40s. Kid's band made many radio broadcasts during WWII, including a history of that revolutionary music, and his recording career revived too as he released discs under the title 'Kid Ory's Original Creole Orchestra'. After the War, Kid moved back to Los Angeles and settled into a long residency at The Beverley Cavern. In the mid-60s, Kid retired from music and spent his late years in Hawaii, where he passed away in 1973.
← LEE DORSEYJOE LOUIS WALKER →


Ascot Royals @ Georgian Triangle Music Festival June 30th, 2018 will be at Beacon Restaurant in Wasaga Beach, ON on Saturday, June 30, 2018. Doors at 8:30PM, and the Show Starts around 8:45PM. Ascot Royals @ Georgian Triangle Music Festival June 30th, 2018 line-up includes Ascot Royals, Excellerater , RoadWolves, Hubbards Hustlers, . Beacon Restaurant is located at 146 45th St N, Wasaga Beach, ON.
Cutoff is Saturday, June 30, 2018 7:44 pm EST unless it sells out earlier.


text:
Probleme und Lösungen
=====================

Typen ermitteln
----------------

Das große Problem zur Zeit betrifft Situationen in denen das typing nicht
zuverlässig funktioniert. Ein Beispiel für eine solche ist die Verwendung des
fixpunkt operators:

::

    ((fix
        (lambda (f x)
            (cond (= x 0)
                1
                (f (- x 1))
            )
        )
    ) 3)

In diesem Fall kann mein jetztiger Algorithmus den Typ von x ermitteln (zum
Beispiel aus dem Vergleich mir null, schlußfolgern das es wohl eine Zahl ist).
Was er nicht leisten kann den Typen von f zu ermitteln. Obwohl sowohl der
Returntyp (scheint eine valide Ersatz für 1 zu sein) und die Parameter (
defintiv int erraten werden könnten).

Mein jetziger Algorithmus schließt zwar von einem cond Zweig auf den anderen,
aber nicht von den Parametern auf die Funktion, so das er zumindest letzteres
nicht weiß.

Als Lösung würde ich eine Modifikation des Algorithmus vorschlagen. Der
Algorithmus sollte im ersten Schritt alle Abnhängigkeiten der Typen in einem
Graph sammeln, und zwar sowohl in Funtkion zu Paramter als auch in Paramter zu
Funktionsrichtung. Und dann auf diesem Graphen von den Literalen ausgehen die
Typen analysieren. Damit müssten durch Schließen aus beiden Richtungen
konfliktefreie Typen entstehen, so lange eine Typsierung überhaupt möglich ist.

Es gibt auch einfachere Modifikationen des Algorithmus, aber auch solche
benötigen mehr Zeit, als ich noch für das Projekt habe zur Umsetzung.

LLVM-Generierung
----------------

Ein zweites Problem ist die Generierung des LLVM-Code. Sie funktioniert zwar
soweit einwandfrei, aber es sind 300 Zeilen sehr unübersichtlicher Code. Ich
hab zweimal versucht das in eine Libary auzulagern, aber keine geeignete
Abstraktionsschicht gefunden auf die Schnelle. Mit etwas überlegung ließe sich
sicher eine API finden, die den vorhanden Code deutlich verschlanken würde.

redpajama_set_name: RedPajamaGithub


text:
Early Texas Documents
Judgment in Charles Ray vs. Jourdan Smith
Love, James, 1795-1874. Judgment in Charles Ray vs. Jourdan Smith - Page 1. August 15, 1846 - August 31, 1849. Special Collections, University of Houston Libraries. University of Houston Digital Library. Web. January 17, 2020. https://digital.lib.uh.edu/collection/earlytex/item/2203/show/2197.
Love, James, 1795-1874. (August 15, 1846 - August 31, 1849). Judgment in Charles Ray vs. Jourdan Smith - Page 1. Early Texas Documents. Special Collections, University of Houston Libraries. Retrieved from https://digital.lib.uh.edu/collection/earlytex/item/2203/show/2197
Love, James, 1795-1874, Judgment in Charles Ray vs. Jourdan Smith - Page 1, August 15, 1846 - August 31, 1849, Early Texas Documents, Special Collections, University of Houston Libraries, accessed January 17, 2020, https://digital.lib.uh.edu/collection/earlytex/item/2203/show/2197.
Title Judgment in Charles Ray vs. Jourdan Smith
Love, James, 1795-1874
Date August 15, 1846 - August 31, 1849
Description Judgment in Charles Ray vs. Jourdan Smith, signed by James Love as Judge of the First Judicial District.
Mexican War, 1846-1848
Texas--History--1846-1950
Subject.Name (Local)
Smith, Jourdan
Original Item Location ID 1973-001, Box 3, Folder 237
Original Collection Early Texas Documents Collection
File Name eatex_201210_0756_001.jpg
Promissory note to Austin for settlers to use in requesting land title
Letter from Edward H. Stanley to Col. James P. Morgan
Letter from W. H. Fowler to Judge James Webb regarding a probate case decision
Bill to Dr. Colbert Baker


Located in the picturesque village of Les Allues in The Méribel Valley and linked to the centre of Méribel within 5 minutes by gondola lift & free ski bus.
Méribel is in the centre of The 3 Valleys, the largest linked ski area in the world. We have over 200 lifts, over 600kms of pistes & 5 snow board parks . Skiing is suitable for all grades. We are snow sure from mid December to end of April.


text:
Q: Conditional injection of a service in AngularJS I have defined a service like this :
angular.module('myApp').service('myService', [
'$rootScope',
...
...

I want my service to be instantiated only for new user (i.e. when user.createdAt > today).
So is there a way to conditionally inject my service or at least destroy my service without any side effect if the user is an old one.

A: You can use the $injector service to get inject-ibles dynamically if you need to:
app.controller('DemoCtrl', function($injector) {
  this.clicky = function() {
    myFact = $injector.get('myFactory');
    myFact();
  };
});

app.factory('myFactory', function() {
  return function() {
    alert('foobar!');
  };
});

Here's a full running demo: http://jsbin.com/bemakemaja/1/edit
And the $injector docs: https://docs.angularjs.org/api/auto/service/$injector
As a general guideline though I'd recommend not designing your services such that simply injecting them has side effects.

A: use factory instead of service, so that you can have some checking logic in your service
angular.module('myApp').factory('myService', function () {

    if (newUser) {
        return { // your service implementation here
        }
    }
    return undefined;
};

A:
So is there a way to conditionally inject my service or at least destroy my service without any side effect if the user is an old one.

Best to capture this logic inside the service:
class Service{
    static $inject = ['$rootScope'];
    constructor($rootScope){
        if (user.createdAt > today){ /*something*/ }
        else {/*other thing*/}
    }
}

NOTE: services are singletons so conditional injection doesn't see like a desirable solution.
Also to learn about $inject : https://www.youtube.com/watch?v=Yis8m3BdnEM

redpajama_set_name: RedPajamaStackExchange