text:
Q: How can I get all child nodes of a tree My tree has the following structure:
tree={'0':('1','2','3'), '1':('4'), '2':('5','6'), '3':(), '4':('7','8'), '8':('9','10','11')}
How can I write Python code to retrieve all given child nodes of a particular node? For example, if I give it node 4, the code should retrieve 7, 8, 9, 10, 11. For node 2, it should retrieve 5, 6 and so on.
this is what I tried. but I am looking for something efficient.
import queue

tree={'0':('1','2','3'), '1':('4'), '2':('5','6'), '3':(), '4':('7','8'), '8':('9','10','11')}

num = input("what you want ")

q = queue.Queue()

q.put(num)

while not q.empty():
  n = q.get()
  for s in n:
    print(s)
    if s in tree:
      q.put(tree[s])


text:
Nicola Vaccaro (1640-1709), pittore
 Nicola Vaccaro (1893-1966), politico e avvocato
 Nicola Vaccaro (1922-1964), politico

redpajama_set_name: RedPajamaWikipedia


text:
Ки́ку () — деревня в волости Кадрина уезда Ляэне-Вирумаа, Эстония.

География
Расположена в 15 километрах к юго-западу от уездного центра — города Раквере — и в 5 километрах к югу от волостного центра — посёлка Кадрина. Высота над уровнем моря — 108 метров.

Население
По данным переписи населения 2011 года, в деревне проживали 92 человека, из них 90 (97,8 %) — эстонцы.

Численность населения деревни Кику по данным Департамента статистики:

История
В письменных источниках 1241 года упоминается Kicko, 1416 года — Kykko, 1694 года — Kick, 1726 года — Kicko.

На военно-топографических картах Российской империи (1846–1863 годы), в состав которой входила Эстляндская губерния, населённый пункт обозначен как Кикко.

В 1977 году, в период кампании по укрупнению деревень, с Кику были объединены деревни Кырбсе (, 1796 — Kärpse, 1871 — Körpse) и Полли ().

Происхождение топонима
Название поселения возникло ещё в XIII веке, его основой, по предположению исследователя финских диалектов и прибалтийско-финских языков , было личное имя или производное от слова кикк ~ кику () — «кусок», «штука». Позже имя Кику как название хутора появилось на Сааремаа, в Пярну-Яагупи и Вяйке-Маарья.

Примечания

Населённые пункты Эстонии
Ляэне-Вирумаа


Location: Wygonda Road and Attunga Road. On the opposite side of the road from the Family Centre opposite Madew Street and stretching through to Attunga Road at the back.
Comments: The Reserve has two very well-used pathway. It is adjacent to a large privately owned block of land that is zoned for urban development.
Volunteer treating the trees for Dieback Disease.


The first week of February found me down at the Chinese Community Center in Houston, TX. Decided to be a complete 外国人 and use my official-looking DSLR (that's really just a Nikon D60) to give myself access to all kinds of places.
Dragging my sister, L, out of her shell was more of a challenge. She's currently the photo editor for her high school yearbook, but wasn't blessed with the pushy gene that I landed in spades. Needless to say, the first hour was a drag. But once she realized that Asians are more flattered than annoyed when you snap a few photos in their direction, she relaxed.
Smells of a Chinese street market coaxed us outside between "lion dance" performances. Tents lined both sides of a narrow parking lot, facing the crowd between with the difficult choice of which line to brave first. L and I found the crawlspace behind the vendors and set about maxing out our memory cards.
be careful — spokes are made of metal and conduct heat!
*meat — this dish originated in the West with the Uygurs and (for obvious reasons) usually uses lamb. Beef is what my parents used when I was a kid, usually a tenderloin or a top sirloin cut. Try to get something with a prominent ring of fat still in tact. For this reason, I've never used chicken or leaner meats. If you're watching your girlish figure, you are welcome to use sesame or olive oil…. but you've been warned: the flavor will be completely different. If you have a butcher you trust, tell him what you're up to and he can recommend a good piece of beef.
bicycle spokes — in a city where the population density doesn't lend itself to everyone owning a full-sized sedan, bicycles run rampant. Which translates to a stockpile of replacements for parts that bend easily… spokes. Cheap, reusable, easily sharpened.
flat bread — to collect all those juices, of course! When I'm in a hurry or didn't have access to a grill (… college dorm, anyone?) I found the quick and dirty way to get my fix of that distinct chuanr taste: flank steak and a sauce pan. At the very end, I cleaned the pan with a couple tortillas, mopping up all the sauce. Turned out to be my favorite part of the entire experience.
social — every so often, you'll run across a true craftsman behind a chuanr stove. He'll only be cooking 8-10 spokes at a time over a box stove no more than 14 inches across. That's how these should be done at home — buy enough meat for 100+ spokes and invite the neighbors over. Chill your favorite drink and grab a patio chair or blanket. Get everyone involved in threading the spokes, take custom orders for the spices. If you're lucky, the evening will feel suspended in a slice of perfect space and time.
outside — remember, this is currently popular street fare in all major Chinese cities. Its the kind of dish a man from the West could come into the city with, buy ingredients for cheap, and sell to starving students just outside the University gate.


At PDAC, Jon Hykawy of Stormcrow Capital provided a brief overview of the critical materials involved in the lithium-ion battery supply chain.
At this year's Prospectors & Developers Association of Canada conference (PDAC), Jon Hykawy of Stormcrow Capital provided a brief overview of the critical materials involved in the lithium-ion battery supply chain.
During his talk, he covered everything from the basics of how lithium batteries work to the different types of lithium-ion batteries, to how growing battery demand is affecting the outlooks for various metals.
Certainly, the overall theme of the talk fell in line with what investors have been hearing lately. Demand for lithium-ion batteries is growing quickly, and so is demand for the lithium (and other critical metals) used to make them. However, Hykawy provided a bit more background for that argument, suggesting that lithium supply and demand will only remain balanced under ideal conditions.
Here are a few highlights of what he had to say.
Give me my free report!
Lithium demand is currently sitting at about 200,000 tonnes, and Hykawy estimates that if current suppliers were producing at 100 percent of their capacity, supply would stand at roughly 231,000 tonnes.
That situation is exclusive to China, but prices have certainly risen markedly for the rest of the world as well as of late.
"There should be some concern about potential lithium supply," he said.
Of course, whether or not lithium producers will be able to keep up with demand is a key question for those interested in the market. But that can be difficult to predict, since, like other mining companies, lithium producers can be overly optimistic about their projections.
Albemarle (NYSE:ALB); "We're assuming that Albemarle is going to make good on their recent MOU announcement with the government of Chile and that they're going to ramp that over the course of about a year once they have brine flowing into that part of the project," Hykawy noted.
Orocobre (TSX:ORL); Though a number of other analysts remain hesitant about Orocobre's progress, Hykawy was positive. "We're assuming that Orocobre is going to ramp up successfully," he said.
Galaxy Resources (ASX:GXY); "We've got Galaxy built in because we think their project is a solid one and will eventually produce," Hykawy stated.
POSCO (NYSE:PKX); "We've got some production from Western Lithium (TSX:WLC)/POSCO/Argentina, because that's probably the most concise way to describe that POSCO has stated goals for their lithium production globally with their process … if they're right, they're going to play a very significant role in future lithium production," noted Hykawy.
If all of those projections come to fruition, then the market should be in a "perfect supply balance" through 2025.
Finally, Hykawy briefly touched on some of Stormcrow's pricing predictions for lithium.
For lithium hydroxide, Hykawy stated that "a $7,000, $8,000 price outside of China is not insane at this point," and that prices could hit $15,000 per tonne moving towards 2025. And, as mentioned above, there were contracts for the material floating around at Battery Japan priced in excess of $20,000 to $30,000.
In any case, Hykawy's presentation reaffirmed what many lithium market watchers already know: the world is going to need a lot more lithium to meet its growing energy needs.
Securities Disclosure: I, Teresa Matich, hold no direct investment interest in any company mentioned in this article.
Editorial Disclosure: Galaxy Resources and Nemaska Lithium are clients of the Investing News Network. This article is not paid-for content.
Get the latest information about companies associated with Lithium Investing Delivered directly to your inbox.
We have limited the number of investor kits you can request to 20.
Please remember that by requesting an investor kit, you are giving permission for those companies to contact you using whatever contact information you provide.
If you want more than 20 investor kits, you need to make multiple requests. Select 20, complete the request and then select again.
By selecting company or companies above, you are giving consent to receive communication from those companies using the contact information you provide. And remember you can unsubscribe at any time.
This brought analysis does not include assessment of the impact of new extraction technologies that will have a big impact on processing cost and price reductions not to mention supply provisions. Where is the contextual analysis of this most important variable.
Some indications? This must be an error.
Copyright 2019 © Dig Media Inc.


text:
Bundestag lit up at night. Photo credit: Christian Lue
Green MP complains about 'cold Bundestag'
Anyone who dares to complain about gas prices, which have increased at least six fold in the last year, is denounced as a traitor in Germany. In reality, many families do not know how they will stay warm since they are no longer able to afford heating.
Imminent danger: France's electricity blackout
The Bundestag, on the other hand, is heated at the expense of taxpayers. Despite this luxury, the prominent Green Party politician Renate Künast has been complaining publicly that she feels uncomfortable and cold.
On Twitter, the 66-year-old lamented that she now "sits dressed in a coat and with a third cup of hot water – also to warm her hands – in the office". She doubted that the heat setting was actually "19 degrees". All public buildings are currently heated to this temperature to save energy. "Next week I'll come with a blanket, hot-water bottle and hat," she added.
Many households
Sitze mit Mantel und 3. Tasse heißes Wasser – auch zum Hände wärmen- im Büro. Ich zweifle das das 19 Grad sind. Nächste Woche komme ich mit Decke, Wärmflasche und Hut.
— Renate Künast (@RenateKuenast) November 18, 2022
No sympathy for Künast
The Green politician, who collects a monthly allowance of €10 323.29 and has been a member of the Bundestag for 20 years, expected sympathy from her followers, but instead received scorn and ridicule. One headmistress replied: "I'm laughing quietly and can barely resist feeling scorn… We are doing this for the third winter at the schools. And who cares? Not politicians."
Another commented: "Next week wear an FFP2 mask all day long, then you'll know yourself what you have done to students for many months." Another wrote to the former Federal Minister: "Dear Mrs Künast, at home at the moment I'm still only heating the bathroom. Because I'm scared of the cost. Unfortunately, I have no sympathy for you at the moment."
And a former mathematics professor commented: "Well, you may be cold because you are following the reasoning of your own greenness. But complain about it here? This is almost an anti-election campaign. Yellow card!"
Greens are sticking to their policies
Energy saving measures have already been taken in several German cities due to the impending gas shortage. The federal government recently urged companies, municipalities and citizens to do so.
In the Lower Saxony state capital of Hanover, according to information from the RedaktionsNetzwerk Deutschland (RND), only cold showers can be taken in swimming pools and sports halls. The new town hall, museums and other sights are no longer illuminated at night and public fountains have been turned off. Furthermore, factory closures between Christmas and New Year and the throttling of heating in public buildings are planned.
The federal capital Berlin turned down the water temperatures at the beginning of this year's outdoor pool season. One degree in indoor pools and two degrees in outdoor pools. The baths in the cities of Fulda, Dresden and Regensburg are also following this path.
Numerous other measures are planned for citizens
The largest housing provider in Germany, Vonovia, announced at the beginning of July that it would raise the temperatures in its Hamburg apartments to a maximum of 17 degrees at night. The Hamburg housing association SAGA is planning similar measures. In their 137 000 apartments, the heating temperature should soon only be a maximum of 22 degrees.
In Munich, meanwhile, people are considering doing without street lighting, reported the radio station Antenne Bayern. There is already no hot water in municipal offices and two old, decommissioned oil burners have been reactivated to be on the safe side. Meanwhile, Regensburg announced that traffic lights would be deactivated at night.
The city of Gotha in Thuringia will soon be switching off the heating in youth clubs, city administration buildings and the city library. In the state capital Erfurt, a waiver of hot water in sports facilities was announced in autumn.
Bundestag saves no energy
Künast may have been lying about being cold at her place of work. Despite all appeals to the citizens, the Bundestag has been brightly lit during the day for several weeks and is always heated or cooled to 22 degrees, all year round. In addition, the parliament shines in bright colors every evening. Bundestag President Bärbel Bas (SPD) even recently organized a light show with music from 30 loudspeakers. This cost 12 500 euros a day, the Bild newspaper reported, prompting the President of the Taxpayers' Association, Rainer Holznagel to remark: "Preaching water and drinking wine."
While the government constantly calls on citizens to save, they continue to inflate ministries and federal agencies. According to the draft budget of the traffic light coalition, more than 7 000 well-paid new jobs have been added.
It is now clear: If the Bundestag adopts the 2023 budget next week, a total of 4 769 additional jobs will have been created. In the middle of the crisis, the traffic light is expanding the state apparatus. In total, the SPD, Greens and FDP have added 1 742 new posts in ministries and federal agencies since the government began.

redpajama_set_name: RedPajamaCommonCrawl


text:
#import "RCTShadowText.h"

#import "RCTAccessibilityManager.h"
#import "RCTUIManager.h"
#import "RCTBridge.h"
#import "RCTConvert.h"
#import "RCTImageComponent.h"
#import "RCTLog.h"
#import "RCTShadowRawText.h"
#import "RCTText.h"
#import "RCTUtils.h"

NSString *const RCTIsHighlightedAttributeName = @"IsHighlightedAttributeName";
NSString *const RCTReactTagAttributeName = @"ReactTagAttributeName";

@implementation RCTShadowText
{
  NSTextStorage *_cachedTextStorage;
  CGFloat _cachedTextStorageWidth;
  NSAttributedString *_cachedAttributedString;
  CGFloat _effectiveLetterSpacing;
}

static css_dim_t RCTMeasure(void *context, float width, float height)
{
  RCTShadowText *shadowText = (__bridge RCTShadowText *)context;
  NSTextStorage *textStorage = [shadowText buildTextStorageForWidth:width];
  NSLayoutManager *layoutManager = textStorage.layoutManagers.firstObject;
  NSTextContainer *textContainer = layoutManager.textContainers.firstObject;
  CGSize computedSize = [layoutManager usedRectForTextContainer:textContainer].size;

  css_dim_t result;
  result.dimensions[CSS_WIDTH] = RCTCeilPixelValue(computedSize.width);
  if (shadowText->_effectiveLetterSpacing < 0) {
    result.dimensions[CSS_WIDTH] -= shadowText->_effectiveLetterSpacing;
  }
  result.dimensions[CSS_HEIGHT] = RCTCeilPixelValue(computedSize.height);
  return result;
}

- (instancetype)init
{
  if ((self = [super init])) {
    _fontSize = NAN;
    _letterSpacing = NAN;
    _isHighlighted = NO;
    _textDecorationStyle = NSUnderlineStyleSingle;
    _opacity = 1.0;
    [[NSNotificationCenter defaultCenter] addObserver:self
                                             selector:@selector(contentSizeMultiplierDidChange:)
                                                 name:RCTUIManagerWillUpdateViewsDueToContentSizeMultiplierChangeNotification
                                               object:nil];
  }
  return self;
}

- (void)dealloc
{
  [[NSNotificationCenter defaultCenter] removeObserver:self];
}

- (NSString *)description
{
  NSString *superDescription = super.description;
  return [[superDescription substringToIndex:superDescription.length - 1] stringByAppendingFormat:@"; text: %@>", [self attributedString].string];
}

- (void)contentSizeMultiplierDidChange:(NSNotification *)note
{
  [self dirtyLayout];
  [self dirtyText];
}

- (NSDictionary<NSString *, id> *)processUpdatedProperties:(NSMutableSet<RCTApplierBlock> *)applierBlocks
                                          parentProperties:(NSDictionary<NSString *, id> *)parentProperties
{
  parentProperties = [super processUpdatedProperties:applierBlocks
                                    parentProperties:parentProperties];

  UIEdgeInsets padding = self.paddingAsInsets;
  CGFloat width = self.frame.size.width - (padding.left + padding.right);

  NSTextStorage *textStorage = [self buildTextStorageForWidth:width];
  [applierBlocks addObject:^(NSDictionary<NSNumber *, RCTText *> *viewRegistry) {
    RCTText *view = viewRegistry[self.reactTag];
    view.textStorage = textStorage;
  }];

  return parentProperties;
}

- (void)applyLayoutNode:(css_node_t *)node
      viewsWithNewFrame:(NSMutableSet<RCTShadowView *> *)viewsWithNewFrame
       absolutePosition:(CGPoint)absolutePosition
{
  [super applyLayoutNode:node viewsWithNewFrame:viewsWithNewFrame absolutePosition:absolutePosition];
  [self dirtyPropagation];
}

- (NSTextStorage *)buildTextStorageForWidth:(CGFloat)width
{
  if (_cachedTextStorage && width == _cachedTextStorageWidth) {
    return _cachedTextStorage;
  }

  NSLayoutManager *layoutManager = [NSLayoutManager new];

  NSTextStorage *textStorage = [[NSTextStorage alloc] initWithAttributedString:self.attributedString];
  [textStorage addLayoutManager:layoutManager];

  NSTextContainer *textContainer = [NSTextContainer new];
  textContainer.lineFragmentPadding = 0.0;
  textContainer.lineBreakMode = _numberOfLines > 0 ? NSLineBreakByTruncatingTail : NSLineBreakByClipping;
  textContainer.maximumNumberOfLines = _numberOfLines;
  textContainer.size = (CGSize){isnan(width) ? CGFLOAT_MAX : width, CGFLOAT_MAX};

  [layoutManager addTextContainer:textContainer];
  [layoutManager ensureLayoutForTextContainer:textContainer];

  _cachedTextStorageWidth = width;
  _cachedTextStorage = textStorage;

  return textStorage;
}

- (void)dirtyText
{
  [super dirtyText];
  _cachedTextStorage = nil;
}

- (void)recomputeText
{
  [self attributedString];
  [self setTextComputed];
  [self dirtyPropagation];
}

- (NSAttributedString *)attributedString
{
  return [self _attributedStringWithFontFamily:nil
                                      fontSize:nil
                                    fontWeight:nil
                                     fontStyle:nil
                                 letterSpacing:nil
                            useBackgroundColor:NO
                               foregroundColor:self.color ?: [UIColor blackColor]
                               backgroundColor:self.backgroundColor
                                       opacity:self.opacity];
}

- (NSAttributedString *)_attributedStringWithFontFamily:(NSString *)fontFamily
                                               fontSize:(NSNumber *)fontSize
                                             fontWeight:(NSString *)fontWeight
                                              fontStyle:(NSString *)fontStyle
                                          letterSpacing:(NSNumber *)letterSpacing
                                     useBackgroundColor:(BOOL)useBackgroundColor
                                        foregroundColor:(UIColor *)foregroundColor
                                        backgroundColor:(UIColor *)backgroundColor
                                                opacity:(CGFloat)opacity
{
  if (![self isTextDirty] && _cachedAttributedString) {
    return _cachedAttributedString;
  }

  if (_fontSize && !isnan(_fontSize)) {
    fontSize = @(_fontSize);
  }
  if (_fontWeight) {
    fontWeight = _fontWeight;
  }
  if (_fontStyle) {
    fontStyle = _fontStyle;
  }
  if (_fontFamily) {
    fontFamily = _fontFamily;
  }
  if (!isnan(_letterSpacing)) {
    letterSpacing = @(_letterSpacing);
  }

  _effectiveLetterSpacing = letterSpacing.doubleValue;

  NSMutableAttributedString *attributedString = [NSMutableAttributedString new];
  for (RCTShadowView *child in [self reactSubviews]) {
    if ([child isKindOfClass:[RCTShadowText class]]) {
      RCTShadowText *shadowText = (RCTShadowText *)child;
      [attributedString appendAttributedString:
        [shadowText _attributedStringWithFontFamily:fontFamily
                                           fontSize:fontSize
                                         fontWeight:fontWeight
                                          fontStyle:fontStyle
                                      letterSpacing:letterSpacing
                                 useBackgroundColor:YES
                                    foregroundColor:shadowText.color ?: foregroundColor
                                    backgroundColor:shadowText.backgroundColor ?: backgroundColor
                                            opacity:opacity * shadowText.opacity]];
    } else if ([child isKindOfClass:[RCTShadowRawText class]]) {
      RCTShadowRawText *shadowRawText = (RCTShadowRawText *)child;
      [attributedString appendAttributedString:[[NSAttributedString alloc] initWithString:shadowRawText.text ?: @""]];
    } else if ([child conformsToProtocol:@protocol(RCTImageComponent)]) {
      UIImage *image = ((id<RCTImageComponent>)child).image;
      if (image) {
        NSTextAttachment *imageAttachment = [NSTextAttachment new];
        imageAttachment.image = image;
        [attributedString appendAttributedString:[NSAttributedString attributedStringWithAttachment:imageAttachment]];
      } else {
        //TODO: add placeholder image?
      }
    } else {
      RCTLogError(@"<Text> can't have any children except <Text>, <Image> or raw strings");
    }

    [child setTextComputed];
  }

  [self _addAttribute:NSForegroundColorAttributeName
            withValue:[foregroundColor colorWithAlphaComponent:CGColorGetAlpha(foregroundColor.CGColor) * opacity]
   toAttributedString:attributedString];

  if (_isHighlighted) {
    [self _addAttribute:RCTIsHighlightedAttributeName withValue:@YES toAttributedString:attributedString];
  }
  if (useBackgroundColor && backgroundColor) {
    [self _addAttribute:NSBackgroundColorAttributeName
              withValue:[backgroundColor colorWithAlphaComponent:CGColorGetAlpha(backgroundColor.CGColor) * opacity]
     toAttributedString:attributedString];
  }

  UIFont *font = [RCTConvert UIFont:nil withFamily:fontFamily
                               size:fontSize weight:fontWeight style:fontStyle
                    scaleMultiplier:(_allowFontScaling && _fontSizeMultiplier > 0.0 ? _fontSizeMultiplier : 1.0)];
  [self _addAttribute:NSFontAttributeName withValue:font toAttributedString:attributedString];
  [self _addAttribute:NSKernAttributeName withValue:letterSpacing toAttributedString:attributedString];
  [self _addAttribute:RCTReactTagAttributeName withValue:self.reactTag toAttributedString:attributedString];
  [self _setParagraphStyleOnAttributedString:attributedString];

  // create a non-mutable attributedString for use by the Text system which avoids copies down the line
  _cachedAttributedString = [[NSAttributedString alloc] initWithAttributedString:attributedString];
  [self dirtyLayout];

  return _cachedAttributedString;
}

- (void)_addAttribute:(NSString *)attribute withValue:(id)attributeValue toAttributedString:(NSMutableAttributedString *)attributedString
{
  [attributedString enumerateAttribute:attribute inRange:NSMakeRange(0, attributedString.length) options:0 usingBlock:^(id value, NSRange range, BOOL *stop) {
    if (!value && attributeValue) {
      [attributedString addAttribute:attribute value:attributeValue range:range];
    }
  }];
}

/*
 * LineHeight works the same way line-height works in the web: if children and self have
 * varying lineHeights, we simply take the max.
 */
- (void)_setParagraphStyleOnAttributedString:(NSMutableAttributedString *)attributedString
{
  // check if we have lineHeight set on self
  __block BOOL hasParagraphStyle = NO;
  if (_lineHeight || _textAlign) {
    hasParagraphStyle = YES;
  }

  if (!_lineHeight) {
    self.lineHeight = 0.0;
  }

  // check for lineHeight on each of our children, update the max as we go (in self.lineHeight)
  [attributedString enumerateAttribute:NSParagraphStyleAttributeName inRange:(NSRange){0, attributedString.length} options:0 usingBlock:^(id value, NSRange range, BOOL *stop) {
    if (value) {
      NSParagraphStyle *paragraphStyle = (NSParagraphStyle *)value;
      CGFloat maximumLineHeight = round(paragraphStyle.maximumLineHeight / self.fontSizeMultiplier);
      if (maximumLineHeight > self.lineHeight) {
        self.lineHeight = maximumLineHeight;
      }
      hasParagraphStyle = YES;
    }
  }];

  self.textAlign = _textAlign ?: NSTextAlignmentNatural;
  self.writingDirection = _writingDirection ?: NSWritingDirectionNatural;

  // if we found anything, set it :D
  if (hasParagraphStyle) {
    NSMutableParagraphStyle *paragraphStyle = [NSMutableParagraphStyle new];
    paragraphStyle.alignment = _textAlign;
    paragraphStyle.baseWritingDirection = _writingDirection;
    CGFloat lineHeight = round(_lineHeight * (_allowFontScaling && self.fontSizeMultiplier > 0.0 ? self.fontSizeMultiplier : 1.0));
    paragraphStyle.minimumLineHeight = lineHeight;
    paragraphStyle.maximumLineHeight = lineHeight;
    [attributedString addAttribute:NSParagraphStyleAttributeName
                             value:paragraphStyle
                             range:(NSRange){0, attributedString.length}];
  }

  // Text decoration
  if (_textDecorationLine == RCTTextDecorationLineTypeUnderline ||
      _textDecorationLine == RCTTextDecorationLineTypeUnderlineStrikethrough) {
    [self _addAttribute:NSUnderlineStyleAttributeName withValue:@(_textDecorationStyle)
     toAttributedString:attributedString];
  }
  if (_textDecorationLine == RCTTextDecorationLineTypeStrikethrough ||
      _textDecorationLine == RCTTextDecorationLineTypeUnderlineStrikethrough){
    [self _addAttribute:NSStrikethroughStyleAttributeName withValue:@(_textDecorationStyle)
     toAttributedString:attributedString];
  }
  if (_textDecorationColor) {
    [self _addAttribute:NSStrikethroughColorAttributeName withValue:_textDecorationColor
     toAttributedString:attributedString];
    [self _addAttribute:NSUnderlineColorAttributeName withValue:_textDecorationColor
     toAttributedString:attributedString];
  }

  // Text shadow
  if (!CGSizeEqualToSize(_textShadowOffset, CGSizeZero)) {
    NSShadow *shadow = [NSShadow new];
    shadow.shadowOffset = _textShadowOffset;
    shadow.shadowBlurRadius = _textShadowRadius;
    shadow.shadowColor = _textShadowColor;
    [self _addAttribute:NSShadowAttributeName withValue:shadow toAttributedString:attributedString];
  }
}

- (void)fillCSSNode:(css_node_t *)node
{
  [super fillCSSNode:node];
  node->measure = RCTMeasure;
  node->children_count = 0;
}

- (void)insertReactSubview:(RCTShadowView *)subview atIndex:(NSInteger)atIndex
{
  [super insertReactSubview:subview atIndex:atIndex];
  self.cssNode->children_count = 0;
}

- (void)removeReactSubview:(RCTShadowView *)subview
{
  [super removeReactSubview:subview];
  self.cssNode->children_count = 0;
}

- (void)setBackgroundColor:(UIColor *)backgroundColor
{
  super.backgroundColor = backgroundColor;
  [self dirtyText];
}

#define RCT_TEXT_PROPERTY(setProp, ivar, type) \
- (void)set##setProp:(type)value;              \
{                                              \
  ivar = value;                                \
  [self dirtyText];                            \
}

RCT_TEXT_PROPERTY(Color, _color, UIColor *)
RCT_TEXT_PROPERTY(FontFamily, _fontFamily, NSString *)
RCT_TEXT_PROPERTY(FontSize, _fontSize, CGFloat)
RCT_TEXT_PROPERTY(FontWeight, _fontWeight, NSString *)
RCT_TEXT_PROPERTY(FontStyle, _fontStyle, NSString *)
RCT_TEXT_PROPERTY(IsHighlighted, _isHighlighted, BOOL)
RCT_TEXT_PROPERTY(LetterSpacing, _letterSpacing, CGFloat)
RCT_TEXT_PROPERTY(LineHeight, _lineHeight, CGFloat)
RCT_TEXT_PROPERTY(NumberOfLines, _numberOfLines, NSUInteger)
RCT_TEXT_PROPERTY(TextAlign, _textAlign, NSTextAlignment)
RCT_TEXT_PROPERTY(TextDecorationColor, _textDecorationColor, UIColor *);
RCT_TEXT_PROPERTY(TextDecorationLine, _textDecorationLine, RCTTextDecorationLineType);
RCT_TEXT_PROPERTY(TextDecorationStyle, _textDecorationStyle, NSUnderlineStyle);
RCT_TEXT_PROPERTY(WritingDirection, _writingDirection, NSWritingDirection)
RCT_TEXT_PROPERTY(Opacity, _opacity, CGFloat)
RCT_TEXT_PROPERTY(TextShadowOffset, _textShadowOffset, CGSize);
RCT_TEXT_PROPERTY(TextShadowRadius, _textShadowRadius, CGFloat);
RCT_TEXT_PROPERTY(TextShadowColor, _textShadowColor, UIColor *);

- (void)setAllowFontScaling:(BOOL)allowFontScaling
{
  _allowFontScaling = allowFontScaling;
  for (RCTShadowView *child in [self reactSubviews]) {
    if ([child isKindOfClass:[RCTShadowText class]]) {
      ((RCTShadowText *)child).allowFontScaling = allowFontScaling;
    }
  }
  [self dirtyText];
}

- (void)setFontSizeMultiplier:(CGFloat)fontSizeMultiplier
{
  _fontSizeMultiplier = fontSizeMultiplier;
  for (RCTShadowView *child in [self reactSubviews]) {
    if ([child isKindOfClass:[RCTShadowText class]]) {
      ((RCTShadowText *)child).fontSizeMultiplier = fontSizeMultiplier;
    }
  }
  [self dirtyText];
}

@end

redpajama_set_name: RedPajamaGithub


text:
Discuss the history and evolution, justifications for, and ultimate impact(s) of Canadian content regulations in Canadian radio and television broadcasting from the industrys inception to the present
Discuss the history and evolution, justifications for, and ultimate impact(s) of Canadian content regulations in Canadian radio and television broadcasting from the industrys inception to the present - Essay Example
The 'Canadian Content,' generally refers to the requirements of the Canadian Radio-television Telecommunications Commission that stipulates that all radio and television broadcasters must air a given percentage of local content that is Canadian in nature. Derived from the…
Level: Ph.D.
Pages: 15 (3750 words)
Author: elfriedaboehm
Extract of sample "Discuss the history and evolution, justifications for, and ultimate impact(s) of Canadian content regulations in Canadian radio and television broadcasting from the industrys inception to the present"
Download file to see previous pages According to Allen (2009, p. 55), this is particularly based on the belief that ensuring Canadian programs on both the radio and television programs is an important way of maintaining and building the country's culture and identity as well as promoting Canadians' creativity.
The Canadian content regulator CRTC has gone through a series of structural and functional changes beginning from the introduction of the regulations in the early 1920ss to the modern state instrument for content regulation. "To ensure that every element of Canadian Broadcasting system contributed towards the presentation of Canadian programming, the CRTC required that every broadcasting undertaking not only include certain Canadian services or content but also give them priority positioning"(Armstrong, 2010, p.109). Since the dawn of broadcasting, the Canadian broadcasting policy has always been to adapt to new technologies while at the same time ensuring that the system includes both private and public broadcasting, promotes Canadian content, reflects Canadian values, makes use of the reactive resources of Canada and is controlled by Canadians. This paper critically discusses the history and evolution, justification as well as the ultimate potential impact of the 'Canadian Content' regulations in Canadian radio and television broadcasting from the inception of the industry to the present.
The history of the Canadian Content regulations dates back to the 1920s when the need to have a Canadian presence on the radio gradually arose as a way to counter the growing American influence on the radio and protect Canadian culture and identity (Armstrong, 2010). Although Canadian radio began licensing numerous commercial radio stations in 1922, the Federal government was increasingly concerned that many Canadian radio listeners were tuning to American stations while the ...Download file to see next pagesRead More
Canadian Identity
("Discuss the history and evolution, justifications for, and ultimate Essay - 1", n.d.)
Discuss the history and evolution, justifications for, and ultimate Essay - 1. Retrieved from https://studentshare.org/journalism-communication/1666264-discuss-the-history-and-evolution-justifications-for-and-ultimate-impacts-of-canadian-content-regulations-in-canadian-radio-and-television-broadcasting-from-the-industrys-inception-to-the-present
(Discuss the History and Evolution, Justifications For, and Ultimate Essay - 1)
Discuss the History and Evolution, Justifications For, and Ultimate Essay - 1. https://studentshare.org/journalism-communication/1666264-discuss-the-history-and-evolution-justifications-for-and-ultimate-impacts-of-canadian-content-regulations-in-canadian-radio-and-television-broadcasting-from-the-industrys-inception-to-the-present.
"Discuss the History and Evolution, Justifications For, and Ultimate Essay - 1", n.d. https://studentshare.org/journalism-communication/1666264-discuss-the-history-and-evolution-justifications-for-and-ultimate-impacts-of-canadian-content-regulations-in-canadian-radio-and-television-broadcasting-from-the-industrys-inception-to-the-present.
CHECK THESE SAMPLES OF Discuss the history and evolution, justifications for, and ultimate impact(s) of Canadian content regulations in Canadian radio and television broadcasting from the industrys inception to the present
Examine the history of Canadian Broadcasting Corperation
...America (Schellenberger 3). As Canada's public broadcaster, this media has functioned a task of promoting and increasing awareness of Canadian values (CBC/ Radio – Canada ii). Indeed, it has sustained the highest standards of excellence as a broadcaster. Nonetheless, despite the role played by Canadian Broadcasting Corporation in the history of Canada, the history of CBC is threatened by financial crisis. With the given scheme of transitioning over – the – air television signals from analog to digital, the Canadian Radio – Television and...
History of Canadian Labor
...or racial bias. The idea of maximizing the potential of skilled labors was given foremost priority. The age of rapid industrialization required deployment of efficient workers to get optimum output. While the experience and competency of veteran labors was an asset to the management, the youthful exuberance of the young working class brigade was nothing less an important area of contention. The integration of Canadian capitalism in the twentieth century brought a new era in working class history. Diversification of unions, the impending threat of a cold war, gender biases at workplaces, inconsistent wage structures and frequent workouts did not augur well for the...
10 Pages(2500 words)Essay
Canadian History post confederation
...Post Confederation Canadian History The Cnadian welfare like welfare s elsewhere, has undergone significant reform and restructuring. Reformers were concerned first and foremost with promoting healthy and efficient living to ensure national affluence. Peter Bryce, the chief dominion health officer, defined public health as 'the maintenance of the largest possible number of effective citizens, viewed from the standpoint of their economic value to the state.' It was evident that unhealthy, disease-ridden dwellings had an injurious impact on physical health by directly limiting the productivity of the labor force. W. Struthers, a prominent public health official, expressed...
...INTRODUCTION According to Aitken (1959), in modern Canadian history, the periods of rapid growth have been three in number; the decade of the 1850's, the years from 1900 to 1913, and the period from 1939 to 1959. The author asserts that Canadian economic growth has always resulted from external pressures and opportunities such as colonial relations with Britain and rivalry with France and Spain on the European side and the United States on the North American continent. Taking this observation further Innis (1956) says that Canada is an ideal location for export of primary products or "staples" to Europe. However, this paper will examine the period between 1870 and 1914 in...
Post Confederation Canadian History
...Post Confederation Canadian History This paper will analyze the responses of the working people and the social reformers to industrial urbanization in Canada post confederation. The paper also demonstrates how housing reform, as an early component of social policy, was intended to 'Canadianize' the working class to facilitate class cooperation and preserve social hierarchy in the tumultuous years surrounding the First World War. It focuses largely on Toronto, but shows that similar approaches to housing reform were common across Canada. Intensifying pre-existing English-Canadian nationalism and racism proved to be a helpful means of assuaging the...
History of Canadian Labour
...History of Canadian Labor Incepted in 1869 by Philadelphia garment cutters, the Knights of Labor was one of the prominent labor reformist organizations in the late nineteenth century. The main objective of this secret organization was to launch a campaign for cooperation and education among the working class fraternity, without gender or racial bias. Fifty years later, the Labor revolt in 1919 marked out the dawn of a new era in the history of Canada. With the onset of spring, the residents of Winnipeg saw an unprecedented instance of labor unification on matters of common interest. Historically known as The Winnipeg General Strike, this unrest paralyzed both the public...
Canadian Economic History
... is the combination of history and economics. The period between 1962 till 2009, have witnessed significant and important events in Canadian economic history. This paper has presented and discussed them thoroughly in order to know their significance and their impact on economy of Canada. Work Cited Kenneth Norrie, Douglas Owram, and J.C. Herbert Emery. A History of the Canadian Economy 3rd ed. (Toronto, 2002).... of the Canadian Economic History Introduction Economic history refers to that branch of history which concentrates on studying and exploring the development and growth of economy and institutions related to it. The subject comprises of...
...History of Canadian labour In his article, Bitterman addresses the myth of the independent yeoman diffused through Maritime literature. In these works the abundance of land is said to provide the possibility for economic security and independence. Bitterman recognizes that to a certain extent this myth is true and such possibilities were undoubtedly greater than in the Old World. However he maintains that this is only partially and that the reality for many was, in fact, very different. Bitterman therefore sets out to explore the 'the importance of wage labour to farm folk in the Northeastern Maritimes in the first half of the 19th century'. (Bitterman 4) Bitterman argues that many farmers began life in...
TELEVISION BROADCASTING, HISTORY OF
...by Schoick explaining cable domination gives some coinciding highlights in the development of TV. It goes ahead to explain how cable television was born in 1948 just like in the previous article (Schoick web). This makes me believe in this article. There is no bias in this research because the authors selected their literature form all the available sources. They have used electronic sources, books, and journals. In addition, they have used sources as old as 1966 in conquest to capture all relevant history of television broadcast. In conclusion, the article gives a way forward into the future of television broadcasting, which is at...
...Essay Proposal on Media Content Regulation in Canada Affiliation Topic: Discuss the history and evolution, justifications for, and ultimate impact(s) of 'Canadian content' regulations in Canadian radio and television broadcasting from the industry's inception to the present. Essay Proposal: Over the years, the Canadian government has been (and still is) concerned with regards to...
Let us write or edit the essay on your topic "Discuss the history and evolution, justifications for, and ultimate impact(s) of Canadian content regulations in Canadian radio and television broadcasting from the industrys inception to the present" with a personal 20% discount.
Let us find you another Essay on topic Discuss the history and evolution, justifications for, and ultimate impact(s) of Canadian content regulations in Canadian radio and television broadcasting from the industrys inception to the present for FREE!


Modena & Ridley James's waiting list is Full!
She is a sweet, inquisitive baby girl with a willingness to get in the mix and play with us and her litter-mates but when we pick her up, she relaxes immediately. She loves to be cuddled. She did extremely well during our assessments when we were testing her focus and attention span. She has a lot of control when taking everything in around her. She is definitely of high intelligence. She is also a big kisser and her tail never stops wagging. She is the perfectly balanced puppy!
Our maroon girl is a sweet, gentle, sensitive soul. She likes to sit back and observe before jumping into any situation. She is playful and a big snuggler. She is definitely of high intelligence due to her control and focus on everything around her.
Our pink baby girl is a sweet, inquisitive baby girl with a willingness to get in the mix and play with us and her litter-mates. She is very affectionate and just loves to be cuddled. When we scoop her up to be cuddled, she relaxes completely, fully trusting us. She is definitely of high intelligence and Confidence. She is also a big kisser and her tail never stops wagging. She is the perfectly balanced puppy!
California & Ridley James's waiting list is Full!
Maserati & Ridley James's waiting list is Full!
Daytona & Dino's waiting list is Full!
Maranello & Dino's waiting list is Full!
We require a $250 non-refundable deposit to hold one of our puppies for a position on our litter waiting list. We will contact families in order of our waiting list. If you would like to continue to wait, we will move you to our next litter's waiting list. The entire balance is due, in cash or cashier's check, at the time our puppies leave to go home with their new families. Please keep in mind that we must assess 6% PA SALES tax on our puppies since we are a licensed Breeder. We always reserve the right to keep one our puppies from a litter without reservation, since they are our babies. Families that have a puppy from us from a previous litter, have the opportunity to choose a puppy from our litter that will best suit our pre-existing puppy/dog in their home. Please keep this in mind.
We begin the Bio-Sensory Program at two days of age and continue until sixteen days of age. Bio-Sensory basically puts puppies through limited amount "stress". Research has indicated that it has been proven to improve psychological health as well as some indications of physical health benefits. I am not completely convinced of this, but I do not have as much time invested in this program to know for sure. I can say, that WE DO HAVE more calm, alert, Service/Therapy ready canines coming from our breeding program than we ever did.
For more in-depth information, please view the link below.


Voorhees Committee members unanimously approved the design and phasing plan for the Voorhees Environmental Park. Absent from the meeting was committee member Joseph Lovallo.
"This is another step in moving toward our Voorhees Environmental Park," Mayor Michael Mignogna said.
The plans for the 37-acre landfill was presented and submitted by Rutgers' Center for Urban Environmental Sustainability (CUES) during a meeting in August. The project includes the installation of solar panels, township administrator Larry Spellman said.
According to CUES' presentation, the installation of the solar panels is a separate project from the other seven-phases.
The first phase of the design is creating an entrance, parking lot and installation of fences. Also in the first phase is the creation of a service route, paths and marks for growth areas.
Phase two and three include the installation of steps and a ramp down to the lake, a floating deck, floating islands to improve the water quality, and the installation of trees.
Various types of vegetation are included in the plan and are part of the remaining phases including a bird blind, gardens and a labyrinth.
The township has been working with Voorhees Environmental and Cultural Education Foundation (VECEF) and CUES to find ways to present a plan and find funding for the project, Deputy Mayor Harry Platt said.
The township is hoping the solar panels will help fund the project, as well as grants to avoid using tax dollars, Spellman and Platt said.
Platt said the passed resolution represents an "important benchmark" in the next developmental stage of the site.
He said since Rutgers already has a plan ready, it makes the process of moving forward with the project easier.
"This gives them a leg up on the next step," he said.
"We are turning a brown field into a green field," Mignogna said.
To finds out more information on the plans for the park, visit cues.rutgers.edu/voorhees-environmental-park.


text:
.class Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;
.super Lcom/android/internal/util/StateMachine;
.source "Tethering.java"

# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/android/server/connectivity/Tethering;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "TetherInterfaceSM"
.end annotation

.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/android/server/connectivity/Tethering$TetherInterfaceSM$UnavailableState;,
        Lcom/android/server/connectivity/Tethering$TetherInterfaceSM$TetheredState;,
        Lcom/android/server/connectivity/Tethering$TetherInterfaceSM$StartingState;,
        Lcom/android/server/connectivity/Tethering$TetherInterfaceSM$InitialState;
    }
.end annotation

# static fields
.field static final CMD_CELL_DUN_ERROR:I = 0x6

.field static final CMD_INTERFACE_DOWN:I = 0x4

.field static final CMD_INTERFACE_UP:I = 0x5

.field static final CMD_IP_FORWARDING_DISABLE_ERROR:I = 0x8

.field static final CMD_IP_FORWARDING_ENABLE_ERROR:I = 0x7

.field static final CMD_SET_DNS_FORWARDERS_ERROR:I = 0xb

.field static final CMD_START_TETHERING_ERROR:I = 0x9

.field static final CMD_STOP_TETHERING_ERROR:I = 0xa

.field static final CMD_TETHER_CONNECTION_CHANGED:I = 0xc

.field static final CMD_TETHER_MODE_DEAD:I = 0x1

.field static final CMD_TETHER_REQUESTED:I = 0x2

.field static final CMD_TETHER_UNREQUESTED:I = 0x3

# instance fields
.field private mAvailable:Z

.field private mDefaultState:Lcom/android/internal/util/State;

.field mIfaceName:Ljava/lang/String;

.field private mInitialState:Lcom/android/internal/util/State;

.field mLastError:I

.field mMyUpstreamIfaceName:Ljava/lang/String;

.field mMyUpstreamIfaceNameIpv6:Ljava/lang/String;

.field mMyUpstreamLP:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Ljava/net/InetAddress;",
            ">;"
        }
    .end annotation
.end field

.field mMyUpstreamLPIpv6:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Ljava/net/InetAddress;",
            ">;"
        }
    .end annotation
.end field

.field private mStartingState:Lcom/android/internal/util/State;

.field private mTethered:Z

.field private mTetheredState:Lcom/android/internal/util/State;

.field private mUnavailableState:Lcom/android/internal/util/State;

.field mUsb:Z

.field final synthetic this$0:Lcom/android/server/connectivity/Tethering;

# direct methods
.method constructor <init>(Lcom/android/server/connectivity/Tethering;Ljava/lang/String;Landroid/os/Looper;Z)V
    .locals 1
    .param p2, "name"    # Ljava/lang/String;
    .param p3, "looper"    # Landroid/os/Looper;
    .param p4, "usb"    # Z

    .prologue
    .line 1605
    iput-object p1, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->this$0:Lcom/android/server/connectivity/Tethering;

    .line 1606
    invoke-direct {p0, p2, p3}, Lcom/android/internal/util/StateMachine;-><init>(Ljava/lang/String;Landroid/os/Looper;)V

    .line 1600
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mMyUpstreamLP:Ljava/util/List;

    .line 1601
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mMyUpstreamLPIpv6:Ljava/util/List;

    .line 1607
    iput-object p2, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mIfaceName:Ljava/lang/String;

    .line 1608
    iput-boolean p4, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mUsb:Z

    .line 1609
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->setLastError(I)V

    .line 1613
    const/16 v0, 0x10

    invoke-direct {p0, v0}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->setLastError(I)V

    .line 1615
    new-instance v0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM$InitialState;

    invoke-direct {v0, p0}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM$InitialState;-><init>(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;)V

    iput-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mInitialState:Lcom/android/internal/util/State;

    .line 1616
    iget-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mInitialState:Lcom/android/internal/util/State;

    invoke-virtual {p0, v0}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->addState(Lcom/android/internal/util/State;)V

    .line 1617
    new-instance v0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM$StartingState;

    invoke-direct {v0, p0}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM$StartingState;-><init>(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;)V

    iput-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mStartingState:Lcom/android/internal/util/State;

    .line 1618
    iget-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mStartingState:Lcom/android/internal/util/State;

    invoke-virtual {p0, v0}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->addState(Lcom/android/internal/util/State;)V

    .line 1619
    new-instance v0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM$TetheredState;

    invoke-direct {v0, p0}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM$TetheredState;-><init>(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;)V

    iput-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mTetheredState:Lcom/android/internal/util/State;

    .line 1620
    iget-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mTetheredState:Lcom/android/internal/util/State;

    invoke-virtual {p0, v0}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->addState(Lcom/android/internal/util/State;)V

    .line 1621
    new-instance v0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM$UnavailableState;

    invoke-direct {v0, p0}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM$UnavailableState;-><init>(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;)V

    iput-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mUnavailableState:Lcom/android/internal/util/State;

    .line 1622
    iget-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mUnavailableState:Lcom/android/internal/util/State;

    invoke-virtual {p0, v0}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->addState(Lcom/android/internal/util/State;)V

    .line 1624
    iget-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mInitialState:Lcom/android/internal/util/State;

    invoke-virtual {p0, v0}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->setInitialState(Lcom/android/internal/util/State;)V

    .line 1625
    return-void
.end method

.method static synthetic access$1600(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;Z)V
    .locals 0
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;
    .param p1, "x1"    # Z

    .prologue
    .line 1557
    invoke-direct {p0, p1}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->setAvailable(Z)V

    return-void
.end method

.method static synthetic access$1700(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;Z)V
    .locals 0
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;
    .param p1, "x1"    # Z

    .prologue
    .line 1557
    invoke-direct {p0, p1}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->setTethered(Z)V

    return-void
.end method

.method static synthetic access$1900(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;I)V
    .locals 0
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;
    .param p1, "x1"    # I

    .prologue
    .line 1557
    invoke-direct {p0, p1}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->setLastError(I)V

    return-void
.end method

.method static synthetic access$2100(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;)Lcom/android/internal/util/State;
    .locals 1
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;

    .prologue
    .line 1557
    iget-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mStartingState:Lcom/android/internal/util/State;

    return-object v0
.end method

.method static synthetic access$2200(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;Lcom/android/internal/util/IState;)V
    .locals 0
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;
    .param p1, "x1"    # Lcom/android/internal/util/IState;

    .prologue
    .line 1557
    invoke-virtual {p0, p1}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->transitionTo(Lcom/android/internal/util/IState;)V

    return-void
.end method

.method static synthetic access$2300(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;)Lcom/android/internal/util/State;
    .locals 1
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;

    .prologue
    .line 1557
    iget-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mUnavailableState:Lcom/android/internal/util/State;

    return-object v0
.end method

.method static synthetic access$2400(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;Lcom/android/internal/util/IState;)V
    .locals 0
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;
    .param p1, "x1"    # Lcom/android/internal/util/IState;

    .prologue
    .line 1557
    invoke-virtual {p0, p1}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->transitionTo(Lcom/android/internal/util/IState;)V

    return-void
.end method

.method static synthetic access$2500(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;)Lcom/android/internal/util/State;
    .locals 1
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;

    .prologue
    .line 1557
    iget-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mInitialState:Lcom/android/internal/util/State;

    return-object v0
.end method

.method static synthetic access$2600(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;Lcom/android/internal/util/IState;)V
    .locals 0
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;
    .param p1, "x1"    # Lcom/android/internal/util/IState;

    .prologue
    .line 1557
    invoke-virtual {p0, p1}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->transitionTo(Lcom/android/internal/util/IState;)V

    return-void
.end method

.method static synthetic access$2800(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;)Lcom/android/internal/util/State;
    .locals 1
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;

    .prologue
    .line 1557
    iget-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mTetheredState:Lcom/android/internal/util/State;

    return-object v0
.end method

.method static synthetic access$2900(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;Lcom/android/internal/util/IState;)V
    .locals 0
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;
    .param p1, "x1"    # Lcom/android/internal/util/IState;

    .prologue
    .line 1557
    invoke-virtual {p0, p1}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->transitionTo(Lcom/android/internal/util/IState;)V

    return-void
.end method

.method static synthetic access$3000(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;Lcom/android/internal/util/IState;)V
    .locals 0
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;
    .param p1, "x1"    # Lcom/android/internal/util/IState;

    .prologue
    .line 1557
    invoke-virtual {p0, p1}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->transitionTo(Lcom/android/internal/util/IState;)V

    return-void
.end method

.method static synthetic access$3100(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;Lcom/android/internal/util/IState;)V
    .locals 0
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;
    .param p1, "x1"    # Lcom/android/internal/util/IState;

    .prologue
    .line 1557
    invoke-virtual {p0, p1}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->transitionTo(Lcom/android/internal/util/IState;)V

    return-void
.end method

.method static synthetic access$3300(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;Lcom/android/internal/util/IState;)V
    .locals 0
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;
    .param p1, "x1"    # Lcom/android/internal/util/IState;

    .prologue
    .line 1557
    invoke-virtual {p0, p1}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->transitionTo(Lcom/android/internal/util/IState;)V

    return-void
.end method

.method static synthetic access$3400(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;Lcom/android/internal/util/IState;)V
    .locals 0
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;
    .param p1, "x1"    # Lcom/android/internal/util/IState;

    .prologue
    .line 1557
    invoke-virtual {p0, p1}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->transitionTo(Lcom/android/internal/util/IState;)V

    return-void
.end method

.method static synthetic access$3800(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;Lcom/android/internal/util/IState;)V
    .locals 0
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;
    .param p1, "x1"    # Lcom/android/internal/util/IState;

    .prologue
    .line 1557
    invoke-virtual {p0, p1}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->transitionTo(Lcom/android/internal/util/IState;)V

    return-void
.end method

.method static synthetic access$3900(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;Lcom/android/internal/util/IState;)V
    .locals 0
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;
    .param p1, "x1"    # Lcom/android/internal/util/IState;

    .prologue
    .line 1557
    invoke-virtual {p0, p1}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->transitionTo(Lcom/android/internal/util/IState;)V

    return-void
.end method

.method static synthetic access$4200(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;Lcom/android/internal/util/IState;)V
    .locals 0
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;
    .param p1, "x1"    # Lcom/android/internal/util/IState;

    .prologue
    .line 1557
    invoke-virtual {p0, p1}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->transitionTo(Lcom/android/internal/util/IState;)V

    return-void
.end method

.method static synthetic access$4500(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;Lcom/android/internal/util/IState;)V
    .locals 0
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;
    .param p1, "x1"    # Lcom/android/internal/util/IState;

    .prologue
    .line 1557
    invoke-virtual {p0, p1}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->transitionTo(Lcom/android/internal/util/IState;)V

    return-void
.end method

.method static synthetic access$4700(Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;Lcom/android/internal/util/IState;)V
    .locals 0
    .param p0, "x0"    # Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;
    .param p1, "x1"    # Lcom/android/internal/util/IState;

    .prologue
    .line 1557
    invoke-virtual {p0, p1}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->transitionTo(Lcom/android/internal/util/IState;)V

    return-void
.end method

.method private setAvailable(Z)V
    .locals 2
    .param p1, "available"    # Z

    .prologue
    .line 1683
    iget-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->this$0:Lcom/android/server/connectivity/Tethering;

    # getter for: Lcom/android/server/connectivity/Tethering;->mPublicSync:Ljava/lang/Object;
    invoke-static {v0}, Lcom/android/server/connectivity/Tethering;->access$500(Lcom/android/server/connectivity/Tethering;)Ljava/lang/Object;

    move-result-object v1

    monitor-enter v1

    .line 1684
    :try_start_0
    iput-boolean p1, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mAvailable:Z

    .line 1685
    monitor-exit v1

    .line 1686
    return-void

    .line 1685
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method private setLastError(I)V
    .locals 4
    .param p1, "error"    # I

    .prologue
    .line 1649
    iget-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->this$0:Lcom/android/server/connectivity/Tethering;

    # getter for: Lcom/android/server/connectivity/Tethering;->mPublicSync:Ljava/lang/Object;
    invoke-static {v0}, Lcom/android/server/connectivity/Tethering;->access$500(Lcom/android/server/connectivity/Tethering;)Ljava/lang/Object;

    move-result-object v1

    monitor-enter v1

    .line 1652
    const/16 v0, 0x10

    if-lt p1, v0, :cond_1

    .line 1654
    :try_start_0
    iget v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mLastError:I

    and-int/lit8 v0, v0, 0xf

    iput v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mLastError:I

    .line 1655
    iget v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mLastError:I

    or-int/2addr v0, p1

    iput v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mLastError:I

    .line 1665
    :goto_0
    const-string v0, "Tethering"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "setLastError: "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget v3, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mLastError:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/mediatek/xlog/Xlog;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 1666
    invoke-virtual {p0}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->isErrored()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 1667
    iget-boolean v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mUsb:Z

    if-eqz v0, :cond_0

    .line 1670
    iget-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->this$0:Lcom/android/server/connectivity/Tethering;

    const/4 v2, 0x0

    # invokes: Lcom/android/server/connectivity/Tethering;->configureUsbIface(Z)Z
    invoke-static {v0, v2}, Lcom/android/server/connectivity/Tethering;->access$1500(Lcom/android/server/connectivity/Tethering;Z)Z

    .line 1673
    :cond_0
    monitor-exit v1

    .line 1674
    return-void

    .line 1658
    :cond_1
    iget v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mLastError:I

    and-int/lit16 v0, v0, 0xf0

    iput v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mLastError:I

    .line 1659
    iget v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mLastError:I

    or-int/2addr v0, p1

    iput v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mLastError:I

    goto :goto_0

    .line 1673
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method private setTethered(Z)V
    .locals 2
    .param p1, "tethered"    # Z

    .prologue
    .line 1695
    iget-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->this$0:Lcom/android/server/connectivity/Tethering;

    # getter for: Lcom/android/server/connectivity/Tethering;->mPublicSync:Ljava/lang/Object;
    invoke-static {v0}, Lcom/android/server/connectivity/Tethering;->access$500(Lcom/android/server/connectivity/Tethering;)Ljava/lang/Object;

    move-result-object v1

    monitor-enter v1

    .line 1696
    :try_start_0
    iput-boolean p1, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mTethered:Z

    .line 1697
    monitor-exit v1

    .line 1698
    return-void

    .line 1697
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

# virtual methods
.method public getLastError()I
    .locals 4

    .prologue
    .line 1642
    iget-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->this$0:Lcom/android/server/connectivity/Tethering;

    # getter for: Lcom/android/server/connectivity/Tethering;->mPublicSync:Ljava/lang/Object;
    invoke-static {v0}, Lcom/android/server/connectivity/Tethering;->access$500(Lcom/android/server/connectivity/Tethering;)Ljava/lang/Object;

    move-result-object v1

    monitor-enter v1

    .line 1643
    :try_start_0
    const-string v0, "Tethering"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "getLastError:"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget v3, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mLastError:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/mediatek/xlog/Xlog;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 1644
    iget v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mLastError:I

    monitor-exit v1

    return v0

    .line 1645
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public isAvailable()Z
    .locals 2

    .prologue
    .line 1677
    iget-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->this$0:Lcom/android/server/connectivity/Tethering;

    # getter for: Lcom/android/server/connectivity/Tethering;->mPublicSync:Ljava/lang/Object;
    invoke-static {v0}, Lcom/android/server/connectivity/Tethering;->access$500(Lcom/android/server/connectivity/Tethering;)Ljava/lang/Object;

    move-result-object v1

    monitor-enter v1

    .line 1678
    :try_start_0
    iget-boolean v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mAvailable:Z

    monitor-exit v1

    return v0

    .line 1679
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method public isErrored()Z
    .locals 4

    .prologue
    .line 1701
    iget-object v1, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->this$0:Lcom/android/server/connectivity/Tethering;

    # getter for: Lcom/android/server/connectivity/Tethering;->mPublicSync:Ljava/lang/Object;
    invoke-static {v1}, Lcom/android/server/connectivity/Tethering;->access$500(Lcom/android/server/connectivity/Tethering;)Ljava/lang/Object;

    move-result-object v2

    monitor-enter v2

    .line 1704
    :try_start_0
    iget v1, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mLastError:I

    and-int/lit8 v1, v1, 0xf

    if-eqz v1, :cond_0

    iget v1, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mLastError:I

    and-int/lit16 v1, v1, 0xf0

    const/16 v3, 0x10

    if-eq v1, v3, :cond_0

    const/4 v0, 0x1

    .line 1706
    .local v0, "ret":Z
    :goto_0
    monitor-exit v2

    return v0

    .line 1704
    .end local v0    # "ret":Z
    :cond_0
    const/4 v0, 0x0

    goto :goto_0

    .line 1711
    :catchall_0
    move-exception v1

    monitor-exit v2
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public isTethered()Z
    .locals 2

    .prologue
    .line 1689
    iget-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->this$0:Lcom/android/server/connectivity/Tethering;

    # getter for: Lcom/android/server/connectivity/Tethering;->mPublicSync:Ljava/lang/Object;
    invoke-static {v0}, Lcom/android/server/connectivity/Tethering;->access$500(Lcom/android/server/connectivity/Tethering;)Ljava/lang/Object;

    move-result-object v1

    monitor-enter v1

    .line 1690
    :try_start_0
    iget-boolean v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mTethered:Z

    monitor-exit v1

    return v0

    .line 1691
    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0
.end method

.method setLastErrorAndTransitionToInitialState(I)V
    .locals 1
    .param p1, "error"    # I

    .prologue
    .line 2342
    invoke-direct {p0, p1}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->setLastError(I)V

    .line 2343
    iget-object v0, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mInitialState:Lcom/android/internal/util/State;

    invoke-virtual {p0, v0}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->transitionTo(Lcom/android/internal/util/IState;)V

    .line 2344
    return-void
.end method

.method public toString()Ljava/lang/String;
    .locals 4

    .prologue
    .line 1628
    new-instance v1, Ljava/lang/String;

    invoke-direct {v1}, Ljava/lang/String;-><init>()V

    .line 1629
    .local v1, "res":Ljava/lang/String;
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mIfaceName:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, " - "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 1630
    invoke-virtual {p0}, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->getCurrentState()Lcom/android/internal/util/IState;

    move-result-object v0

    .line 1631
    .local v0, "current":Lcom/android/internal/util/IState;
    iget-object v2, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mInitialState:Lcom/android/internal/util/State;

    if-ne v0, v2, :cond_0

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "InitialState"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 1632
    :cond_0
    iget-object v2, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mStartingState:Lcom/android/internal/util/State;

    if-ne v0, v2, :cond_1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "StartingState"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 1633
    :cond_1
    iget-object v2, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mTetheredState:Lcom/android/internal/util/State;

    if-ne v0, v2, :cond_2

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "TetheredState"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 1634
    :cond_2
    iget-object v2, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mUnavailableState:Lcom/android/internal/util/State;

    if-ne v0, v2, :cond_3

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "UnavailableState"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 1635
    :cond_3
    iget-boolean v2, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mAvailable:Z

    if-eqz v2, :cond_4

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, " - Available"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 1636
    :cond_4
    iget-boolean v2, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mTethered:Z

    if-eqz v2, :cond_5

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, " - Tethered"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 1637
    :cond_5
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, " - lastError ="

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget v3, p0, Lcom/android/server/connectivity/Tethering$TetherInterfaceSM;->mLastError:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 1638
    return-object v1
.end method


1. How did the current violence between Israelis and Palestinians start?
2. Then, Palestinian teens were also killed during the clashes between Palestinians and Israelis. Tell us about this.
3. The tensions and violence have been rising at a time of growing diplomatic friction between the Israeli and Palestinian leaders. Right?
4. Any implications of the current conflict between Palestine and Israel for Korea?


The entire lure of no bank casinos could be at the same time tough for players to face up to. Players who give into ones temptation provided by this kind of casinos have a bargain of advantages to garner. The ones who register with those same casinos don't need that would pay any cash up front which implies that you stand to gain complete with out creating any investment strategies or taking any unnecessary risks. Within the smart-looking day, the web which has generated lot of pursuit and those that simply adore casinos can indulge inside playing their favourite fixture with out truly paying out any of their hard cash to start with.
Among the issues that the majority of work within the benefit of the no account casinos is that those who are sceptical about using the web casinos would initial wish to attempt these gambling establishments than opting for some of the paid ones. The manufacturing within the field at web and technologies want now produced it imaginable for individuals to delight within the games presented by these casinos outside of any component of our world, at any instant of the day. During a great deal related to casino players, the still having expertise and also these thrills are just so essential as the success.
In that a lot of regards, maintains to incredibly play located at an within the internet casino to find out the easiest way great otherwise fascinating each expertise it's actually. There have been any flood attached to choices on the grounds that far while online casino houses are fearful within the net. Occasionally should be indulged for Luckyniki . To be able so as to lure any more valued clients every day, a significant amount of the casinos presented by incentives for example , totally totally free casino money, opening extra cash and every day not to mention weekly perks to patrons. I would say the loyalty matters along that have other really free computer games are possibly even other lovely functions that the majority of make humans wish within order to come past for incredibly more.
Regardless for all these, only a great couple related to of these guys manage so that you can survve opponent because folks not provide alluring rewards, regrettably also an actual wide stretch of video game that may very well maintain the most important clients so used on to positively the super highway for various on outcome. This will be where a certain players do the extensive benefit associated with no drop casinos so that it will just three out how the cyberspace casino is regarded as all that's about. Frequently the type of themes may perhaps appear seductive and and the gains too desirable. Only when a competition really subscribes and leaves playing has been doing he know that not at all every job appears ideal.


North and South Korea have agreed to hold a summit at their heavily armed border next month, with Pyongyang saying it would consider abandoning nuclear weapons in exchange for security guarantees, Seoul said Tuesday.
At precisely this point of agreement, a figurative marker should be put down in time. Now, what remains to be seen are answers to these questions: Who or what event derails this possible agreement? What entities bring out reasons not to believe that peace is possible between North and South Korea, and how do they do enunciate those reasons? It could be that insinuations are made regarding North Korea aiding and assisting terrorists, or other nations seeking to gain nuclear weapons. Any number of reasons could be drawn to cast doubts on the peaceful possibilities of North and South Korean reconciliation. A connection between North Korea and Iran is also not too far-fetched. The intentions of starting WW3 and disregarding the global consequences are too thick at present.
The truly amazing development would be to see consolidated support from the United Nations to this process, and condemnation of any parties that seek to derail the suit of peace in the Korean Peninsula. It would be interesting to note the difference in approaches coming out of China and Russia on the one hand, and those coming out of the USA. Would we see a clear stance for peaceful development, or would we see rather a hunger for war?
The same idea of meeting without preconditions was also repeated by Mr. Rex Tillerson, as reported by the BBC. The article stated: "China and Russia both welcomed Mr. Tillerson's comments. The Chinese foreign ministry hoped there would now be "meaningful steps towards dialogue and contact" between the US and the North.
Even so, if we have come to be part of a world where human governments consider possibilities of peace on the basis of the strength of weapons, especially nuclear weapons, it is understandable why we are rightly considered 2 minutes away from doom.


canceled by the tower controller upon landing.
able to locate departure and arrival locations.
be airborne prior to the void time.
3,	ARTCC: After takeoff, establish contact with Center.
was part of the hand-off procedure.


Amongst quite possibly the most prevalent electrical wiring issues is regarding how to wire a swap. Though working with switches at your house is fairly simple, wiring one may well not be that straightforward for everyone. An ON-OFF switch is really quite simple to wire. There are actually different kinds of switches, but for this example, let's say you are setting up a single-pole toggle switch, an exceedingly popular change (and also the most straightforward).
There are actually three hues of wires in a normal single-pole toggle switch: black, white, and eco-friendly. Splice the black wire in two and join them over the terminal screws - just one on top and also the other within the bottom screw of your change. The white wire serves as a resource of uninterrupted power and is normally linked to the light coloured terminal screw (e.g., silver). Link the eco-friendly wire towards the ground screw of the swap.
These measures would commonly be adequate to create a standard switch get the job done without having a trouble. Nonetheless, if you usually are not self-confident that you can achieve the process properly and safely you superior allow the pros do it in its place. Following all, there is certainly a rationale why this endeavor is amongst the most frequent electrical wiring queries requested by many people.
For some reason, how to wire a ceiling fan is usually considered one of the most prevalent electrical wiring questions. To simplify this endeavor, you should utilize an individual change for the single ceiling fan. To wire the fan, it can be simply a issue of connecting the black wire with the ceiling fan into the black wire in the change. When there is a light, the blue wire must be linked to the black wire on the swap in addition.
There are actually reasons why they're essentially the most frequently asked electrical wiring issues. One particular, numerous feel it truly is very simple to accomplish, and two, they are the prevalent electrical tasks in your house. But you then mustn't put your safety at risk inside your purpose to economize. The stakes could even be much greater should you attempt to spend less and do an electrical wiring task without the need of enough knowledge or encounter.


text:
Masquerade at Middlecrest Abbey by Abigail Wilson
A Regency era gothic romance, the story follows Elizabeth Cantrell as she attempts to travel to take up a new position as a housekeeper, her baby son Isaac in tow. When her carriage crashes after an encounter with a highwayman she's caught up in a plot involving secret messages and French spies, and somewhat to her own bewilderment ends up married to Adrian, Lord Torrington… the older brother of her erstwhile lover. Arriving at Adrian's estate, Middlecrest Abbey, Elizabeth soon discovers the house party gathered to celebrate the wedding of Adrian's eldest daughter conceals dangerous secrets - secrets which turn deadly for one of the guests.
Alone in a house full of strangers, Elizabeth has no idea who she can trust, but as it quickly becomes obvious both she and her son are in danger, she's determined not to sit back and passively wait for things to happen. Her growing feelings for Adrian complicate things, as do the secrets they're both keeping, all of which are slowly revealed over the course of the story.
I had my suspicions about the murderer from early on - there were a few clues which didn't quite add up - but the reveal still had a few surprises, including some sad ones (trigger warnings for stillbirth of a child apply). I did feel annoyed by Elizabeth's failure to come clean with Adrian about her son's parentage earlier; she literally sat on her hands about it until the truth ambushed both of them, something any sensible person should have seen coming a mile away. It's frustrating when the author makes otherwise intelligent and sensible characters make such an obviously dumb decision for the sake of the plot.
Historical accuracy wise, this was pretty good; I do wish authors would check out when special licenses were actually appropriate and how difficult they were to get, because you don't just 'nip out' of an inn one morning to get one and get married before lunchtime. You had to go to Doctor's Commons in London and apply to the Archbishop of Canterbury, a busy man who didn't hand the licenses out to just anyone; it was a tricky and expensive endeavour. Especially considering that Adrian resided in a nearby parish and could just get a vastly cheaper and simpler common license.
Overall, these were pretty minor niggles. The pace of the story was a bit on the slow side for much of the book before picking up to breakneck right at the end, making it feel a little uneven, but it was still a good read and I did enjoy Adrian and Elizabeth's romance. I'll give it four stars.
Masquerade at Middlecrest Abbey is available now.
His Unlikely Duchess by Amanda McCabe


If you could learn from our great literature to despise and fear Western civilization, the PC professors wouldn't have quit teaching it.
Young people do not look with awe or a sense of wonder at an iPhone, a computer, or the incredible medical miracles happening every day. But they should. Our tremendous material wealth; extended life expectancy; falling infant mortality; and even our enjoyment of arts, culture, sports, and recreation are brought to us by freedom and the free market system.
[T]he Left continues to cherish the vision of a borderless world as morally superior, a triumph over artificially imposed difference. The truth is that formal borders do not create difference — they reflect it. Elites' continued attempts to erase borders are both futile and destructive.
[I]f we disparage our roots, if we disparage what makes this a great nation, then we'll lose the formula for being an even greater nation.
Self-preservation and self-development are common aspirations among all people. And if everyone enjoyed the unrestricted use of his faculties and the free disposition of the fruits of his labor, social progress would be ceaseless, uninterrupted, and unfailing. But there is also another tendency that is common among people. When they can, they wish to live and prosper at the expense of others. This is no rash accusation. Nor does it come from a gloomy and uncharitable spirit. The annals of history bear witness to the truth of it: the incessant wars, mass migrations, religious persecutions, universal slavery, dishonesty in commerce, and monopolies. This fatal desire has its origin in the very nature of man — in that primitive, universal, and insuppressible instinct that impels him to satisfy his desires with the least possible pain.
As I watch government at all levels daily eat away at our freedom, I keep thinking how prosperity and government largesse have combined to make most of us fat and lazy and indifferent to, or actually in favor of, the limits being placed on that freedom.
The theory of multiculturalism has always been a tonic for simpletons, since it celebrates the perpetuation and imposition of an incompatible culture, still being practiced by those who carry it, upon a host culture with which it is mutually exclusive. Multiculturalism is entirely subversive. It is intended to force one or more cultures upon the hosts who do not want or need them. Since both cultures cannot successfully coexist within the host, which has its own successful working culture, the purpose of the exercise has always been fraudulent. The 'melting pot' concept worked not because of the concept of multiculturalism, but as testament against it. Those who came here in our parents' and grandparents' generation consciously chose to abandon the cultures they left in favor of the American culture. They became Americans, embracing one culture.


text:
Haviah Mighty becomes first female to win Rap Album or EP of the Year at JUNOs
Kate Otterbein Culture May 27, 2022
CREDIT: FSU PUBLICATIONS DEPARTMENT
Interrobang video reporter Kate Otterbein sat down with Music Industry Arts (MIA) program coordinator, Dan Brodbeck to discuss Haviah Mighty's history-making win at the JUNOs.
At the recent JUNO Awards hosted on May 15, many Fanshawe alumni made the nominations list. One that came out on top was Haviah Mighty. She took home the award for Rap Album or EP of the Year, marking her as the very first woman to ever win the category at the JUNOs.
Mighty was a Fanshawe student in the Music Industry Arts (MIA) program from 2011 to 2013. When program coordinator Dan Brodbeck saw that she won, he said he was stoked.
"I screamed like my team just won the Super Bowl to be totally honest," said Brodbeck. "I got really nervous as if I was maybe winning. Hands up, screaming as if a goal was just scored or something."
Brodbeck has experienced people he knows winning awards like this, but never one of his own students.
"When it's a student of yours, when they're grads that maybe I didn't teach but they're friends of mine, it's amazing for the program and it's great for them. But when you taught someone, it's a lot different of a feeling."
According to Brodbeck, when Mighty attended Fanshawe, she was very professional and really put in the work for what she wanted.
"We had our first Share the Land concert and we saw her perform there as a first year. Everybody's jaws dropped. We all went, 'she's a rockstar, it's just a matter of time,' It's not like we always knew. You always think somebody's really good, but there's a next level of performer where they just get it. She just always had that, it's cheesy, it factor."
Brodbeck said she was an awesome student and that the drive she had to learn everything about the industry, even if it wasn't all her favourite, showed just how passionate she is about what she does.
In terms of the JUNOs, this monumental win will forever change them.
"It's a huge thing because it gives people the idea like, 'I guess I could win that,' There are lots of extremely famous people that have never won an award. They get nominated but don't win, or they don't get recognized because they don't quite fit the category. She doesn't take it lightly what she did. She knows what happened and how important that is."
The win also brought success for another Fanshawe alumni from the same program, Spencer Heaslip, professionally known as Taabu. He helped produce Mighty's award-winning album.
"I believe they worked together at a music store when they graduated," said Brodbeck. "So they've worked together on and off for years. Also, for somebody to keep working with the people they've always worked with is an amazing thing to me. [Producers] don't always get as much credit but they're just as important as the person out there that everybody sees on the front."
Brodbeck added that the JUNO are loaded with Fanshawe alumni, which just shows what the college is capable of doing for students.
Dan Brodbeck Fanshawe alumni Haviah Mighty Junos Music Industry Arts
Kate Otterbein
Kate is currently studying Broadcast Journalism at Fanshawe College. She was an XFM News reporter during summer 2021.
The positive effects of music on the mind and soul
Olympian Damian Warner honoured with Hometown Stars celebration
London earns title of UNESCO City of Music
Fanshawe alumnus entertains his way to the big leagues
MIA alumni band, New Friends, win nation-wide contest
Fanshawe looks to address PSW shortage with new tuition-free accelerated program


sarahndipity: Why can't people just sit and read books and be nice to each other?
The first read for my summer book club is Me Before You, by Jojo Moyes!
It's summer break, which means it's time for my annual summer book club! This is the third year that I have held my book club, and every year it just seems to get better and better.
I first decided to form my book club the summer after my senior year of high school as a sort of last hurrah for me and my friends before we all left for college that fall. I've always loved to read, so I thought book club would be a fun way to connect with my friends before we all went our separate ways.
-and Wild, by Cheryl Strayed.
Getting my book club started that summer was as easy as putting a survey out on social media for my friends to sign up on. I gave them a list of books I knew I was interested in reading and asked for their opinions, too, and then we chose the books from there.
When I got home from school last summer, I knew I wanted to do book club again because it went so well the first time. So I put the same survey out and was so excited to see a few more people sign up!
-and Room, by Emma Donaghue.
I considered not having book club this year because so many of my friends from home won't be in town for the summer. But then I realized that people had participated in my book club from afar in the past, so I figured why couldn't everyone participate from afar? So this year's book club is completely digital.
I'm so excited that a whopping 17 people signed up for my annual summer book club this year! And they're all doing it from around the world! People have signed up who are going to be in different cities, states, and countries, which is so, so cool to me. My friends are going to be around the world, but we're all going to be connected by a book. Reading is so cool.
There is still time for you to join my summer book club! Whether you know me or not, no matter where in the world you will be, I would love to connect with you through the power of a book. Sign up here!
Have you ever been in a book club? What was your experience like? What are you reading this summer? Do you have any suggestions for my book club? I'd love to hear from you! Happy reading!
David Baldacci, "The Camel Club"