text:
.class public Landroid/net/wifi/BatchedScanSettings;
.super Ljava/lang/Object;
.source "BatchedScanSettings.java"

# interfaces
.implements Landroid/os/Parcelable;

# static fields
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroid/os/Parcelable$Creator",
            "<",
            "Landroid/net/wifi/BatchedScanSettings;",
            ">;"
        }
    .end annotation
.end field

.field public static final DEFAULT_AP_FOR_DISTANCE:I = 0x0

.field public static final DEFAULT_AP_PER_SCAN:I = 0x10

.field public static final DEFAULT_INTERVAL_SEC:I = 0x1e

.field public static final DEFAULT_SCANS_PER_BATCH:I = 0x14

.field public static final MAX_AP_FOR_DISTANCE:I = 0x10

.field public static final MAX_AP_PER_SCAN:I = 0x10

.field public static final MAX_INTERVAL_SEC:I = 0x1f4

.field public static final MAX_SCANS_PER_BATCH:I = 0x14

.field public static final MAX_WIFI_CHANNEL:I = 0xc4

.field public static final MIN_AP_FOR_DISTANCE:I = 0x0

.field public static final MIN_AP_PER_SCAN:I = 0x2

.field public static final MIN_INTERVAL_SEC:I = 0xa

.field public static final MIN_SCANS_PER_BATCH:I = 0x2

.field private static final TAG:Ljava/lang/String; = "BatchedScanSettings"

.field public static final UNSPECIFIED:I = 0x7fffffff

# instance fields
.field public channelSet:Ljava/util/Collection;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Collection",
            "<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field public maxApForDistance:I

.field public maxApPerScan:I

.field public maxScansPerBatch:I

.field public scanIntervalSec:I

# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 241
    new-instance v0, Landroid/net/wifi/BatchedScanSettings$1;

    invoke-direct {v0}, Landroid/net/wifi/BatchedScanSettings$1;-><init>()V

    sput-object v0, Landroid/net/wifi/BatchedScanSettings;->CREATOR:Landroid/os/Parcelable$Creator;

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    .prologue
    .line 90
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 91
    invoke-virtual {p0}, Landroid/net/wifi/BatchedScanSettings;->clear()V

    .line 92
    return-void
.end method

.method public constructor <init>(Landroid/net/wifi/BatchedScanSettings;)V
    .locals 2
    .param p1, "source"    # Landroid/net/wifi/BatchedScanSettings;

    .prologue
    .line 102
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 103
    iget v0, p1, Landroid/net/wifi/BatchedScanSettings;->maxScansPerBatch:I

    iput v0, p0, Landroid/net/wifi/BatchedScanSettings;->maxScansPerBatch:I

    .line 104
    iget v0, p1, Landroid/net/wifi/BatchedScanSettings;->maxApPerScan:I

    iput v0, p0, Landroid/net/wifi/BatchedScanSettings;->maxApPerScan:I

    .line 105
    iget-object v0, p1, Landroid/net/wifi/BatchedScanSettings;->channelSet:Ljava/util/Collection;

    if-eqz v0, :cond_0

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

    iget-object v1, p1, Landroid/net/wifi/BatchedScanSettings;->channelSet:Ljava/util/Collection;

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

    iput-object v0, p0, Landroid/net/wifi/BatchedScanSettings;->channelSet:Ljava/util/Collection;

    .line 108
    :cond_0
    iget v0, p1, Landroid/net/wifi/BatchedScanSettings;->scanIntervalSec:I

    iput v0, p0, Landroid/net/wifi/BatchedScanSettings;->scanIntervalSec:I

    .line 109
    iget v0, p1, Landroid/net/wifi/BatchedScanSettings;->maxApForDistance:I

    iput v0, p0, Landroid/net/wifi/BatchedScanSettings;->maxApForDistance:I

    .line 110
    return-void
.end method

.method private channelSetIsValid()Z
    .locals 5

    .prologue
    const/4 v3, 0x1

    .line 113
    iget-object v4, p0, Landroid/net/wifi/BatchedScanSettings;->channelSet:Ljava/util/Collection;

    if-eqz v4, :cond_0

    iget-object v4, p0, Landroid/net/wifi/BatchedScanSettings;->channelSet:Ljava/util/Collection;

    invoke-interface {v4}, Ljava/util/Collection;->isEmpty()Z

    move-result v4

    if-eqz v4, :cond_1

    .line 122
    :cond_0
    :goto_0
    return v3

    .line 114
    :cond_1
    iget-object v4, p0, Landroid/net/wifi/BatchedScanSettings;->channelSet:Ljava/util/Collection;

    invoke-interface {v4}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v2

    .local v2, "i$":Ljava/util/Iterator;
    :cond_2
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_0

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 116
    .local v0, "channel":Ljava/lang/String;
    :try_start_0
    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
    :try_end_0
    .catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    .line 117
    .local v1, "i":I
    if-lez v1, :cond_3

    const/16 v4, 0xc4

    if-le v1, v4, :cond_2

    .line 119
    .end local v1    # "i":I
    :cond_3
    :goto_1
    const-string v4, "A"

    invoke-virtual {v0, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_2

    const-string v4, "B"

    invoke-virtual {v0, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_2

    .line 120
    const/4 v3, 0x0

    goto :goto_0

    .line 118
    :catch_0
    move-exception v4

    goto :goto_1
.end method

# virtual methods
.method public clear()V
    .locals 2

    .prologue
    const v1, 0x7fffffff

    .line 95
    iput v1, p0, Landroid/net/wifi/BatchedScanSettings;->maxScansPerBatch:I

    .line 96
    iput v1, p0, Landroid/net/wifi/BatchedScanSettings;->maxApPerScan:I

    .line 97
    const/4 v0, 0x0

    iput-object v0, p0, Landroid/net/wifi/BatchedScanSettings;->channelSet:Ljava/util/Collection;

    .line 98
    iput v1, p0, Landroid/net/wifi/BatchedScanSettings;->scanIntervalSec:I

    .line 99
    iput v1, p0, Landroid/net/wifi/BatchedScanSettings;->maxApForDistance:I

    .line 100
    return-void
.end method

.method public constrain()V
    .locals 7

    .prologue
    const/4 v6, 0x0

    const/16 v5, 0x14

    const v4, 0x7fffffff

    const/4 v3, 0x2

    const/16 v2, 0x10

    .line 140
    iget v0, p0, Landroid/net/wifi/BatchedScanSettings;->scanIntervalSec:I

    if-ne v0, v4, :cond_4

    .line 141
    const/16 v0, 0x1e

    iput v0, p0, Landroid/net/wifi/BatchedScanSettings;->scanIntervalSec:I

    .line 148
    :cond_0
    :goto_0
    iget v0, p0, Landroid/net/wifi/BatchedScanSettings;->maxScansPerBatch:I

    if-ne v0, v4, :cond_6

    .line 149
    iput v5, p0, Landroid/net/wifi/BatchedScanSettings;->maxScansPerBatch:I

    .line 156
    :cond_1
    :goto_1
    iget v0, p0, Landroid/net/wifi/BatchedScanSettings;->maxApPerScan:I

    if-ne v0, v4, :cond_8

    .line 157
    iput v2, p0, Landroid/net/wifi/BatchedScanSettings;->maxApPerScan:I

    .line 164
    :cond_2
    :goto_2
    iget v0, p0, Landroid/net/wifi/BatchedScanSettings;->maxApForDistance:I

    if-ne v0, v4, :cond_a

    .line 165
    iput v6, p0, Landroid/net/wifi/BatchedScanSettings;->maxApForDistance:I

    .line 171
    :cond_3
    :goto_3
    return-void

    .line 142
    :cond_4
    iget v0, p0, Landroid/net/wifi/BatchedScanSettings;->scanIntervalSec:I

    const/16 v1, 0xa

    if-ge v0, v1, :cond_5

    .line 143
    const/16 v0, 0xa

    iput v0, p0, Landroid/net/wifi/BatchedScanSettings;->scanIntervalSec:I

    goto :goto_0

    .line 144
    :cond_5
    iget v0, p0, Landroid/net/wifi/BatchedScanSettings;->scanIntervalSec:I

    const/16 v1, 0x1f4

    if-le v0, v1, :cond_0

    .line 145
    const/16 v0, 0x1f4

    iput v0, p0, Landroid/net/wifi/BatchedScanSettings;->scanIntervalSec:I

    goto :goto_0

    .line 150
    :cond_6
    iget v0, p0, Landroid/net/wifi/BatchedScanSettings;->maxScansPerBatch:I

    if-ge v0, v3, :cond_7

    .line 151
    iput v3, p0, Landroid/net/wifi/BatchedScanSettings;->maxScansPerBatch:I

    goto :goto_1

    .line 152
    :cond_7
    iget v0, p0, Landroid/net/wifi/BatchedScanSettings;->maxScansPerBatch:I

    if-le v0, v5, :cond_1

    .line 153
    iput v5, p0, Landroid/net/wifi/BatchedScanSettings;->maxScansPerBatch:I

    goto :goto_1

    .line 158
    :cond_8
    iget v0, p0, Landroid/net/wifi/BatchedScanSettings;->maxApPerScan:I

    if-ge v0, v3, :cond_9

    .line 159
    iput v3, p0, Landroid/net/wifi/BatchedScanSettings;->maxApPerScan:I

    goto :goto_2

    .line 160
    :cond_9
    iget v0, p0, Landroid/net/wifi/BatchedScanSettings;->maxApPerScan:I

    if-le v0, v2, :cond_2

    .line 161
    iput v2, p0, Landroid/net/wifi/BatchedScanSettings;->maxApPerScan:I

    goto :goto_2

    .line 166
    :cond_a
    iget v0, p0, Landroid/net/wifi/BatchedScanSettings;->maxApForDistance:I

    if-gez v0, :cond_b

    .line 167
    iput v6, p0, Landroid/net/wifi/BatchedScanSettings;->maxApForDistance:I

    goto :goto_3

    .line 168
    :cond_b
    iget v0, p0, Landroid/net/wifi/BatchedScanSettings;->maxApForDistance:I

    if-le v0, v2, :cond_3

    .line 169
    iput v2, p0, Landroid/net/wifi/BatchedScanSettings;->maxApForDistance:I

    goto :goto_3
.end method

.method public describeContents()I
    .locals 1

    .prologue
    .line 225
    const/4 v0, 0x0

    return v0
.end method

.method public equals(Ljava/lang/Object;)Z
    .locals 4
    .param p1, "obj"    # Ljava/lang/Object;

    .prologue
    const/4 v1, 0x0

    .line 176
    instance-of v2, p1, Landroid/net/wifi/BatchedScanSettings;

    if-nez v2, :cond_1

    .line 185
    :cond_0
    :goto_0
    return v1

    :cond_1
    move-object v0, p1

    .line 177
    check-cast v0, Landroid/net/wifi/BatchedScanSettings;

    .line 178
    .local v0, "o":Landroid/net/wifi/BatchedScanSettings;
    iget v2, p0, Landroid/net/wifi/BatchedScanSettings;->maxScansPerBatch:I

    iget v3, v0, Landroid/net/wifi/BatchedScanSettings;->maxScansPerBatch:I

    if-ne v2, v3, :cond_0

    iget v2, p0, Landroid/net/wifi/BatchedScanSettings;->maxApPerScan:I

    iget v3, v0, Landroid/net/wifi/BatchedScanSettings;->maxApPerScan:I

    if-ne v2, v3, :cond_0

    iget v2, p0, Landroid/net/wifi/BatchedScanSettings;->scanIntervalSec:I

    iget v3, v0, Landroid/net/wifi/BatchedScanSettings;->scanIntervalSec:I

    if-ne v2, v3, :cond_0

    iget v2, p0, Landroid/net/wifi/BatchedScanSettings;->maxApForDistance:I

    iget v3, v0, Landroid/net/wifi/BatchedScanSettings;->maxApForDistance:I

    if-ne v2, v3, :cond_0

    .line 182
    iget-object v2, p0, Landroid/net/wifi/BatchedScanSettings;->channelSet:Ljava/util/Collection;

    if-nez v2, :cond_2

    .line 183
    iget-object v2, v0, Landroid/net/wifi/BatchedScanSettings;->channelSet:Ljava/util/Collection;

    if-nez v2, :cond_0

    const/4 v1, 0x1

    goto :goto_0

    .line 185
    :cond_2
    iget-object v1, p0, Landroid/net/wifi/BatchedScanSettings;->channelSet:Ljava/util/Collection;

    iget-object v2, v0, Landroid/net/wifi/BatchedScanSettings;->channelSet:Ljava/util/Collection;

    invoke-interface {v1, v2}, Ljava/util/Collection;->equals(Ljava/lang/Object;)Z

    move-result v1

    goto :goto_0
.end method

.method public hashCode()I
    .locals 2

    .prologue
    .line 190
    iget v0, p0, Landroid/net/wifi/BatchedScanSettings;->maxScansPerBatch:I

    iget v1, p0, Landroid/net/wifi/BatchedScanSettings;->maxApPerScan:I

    mul-int/lit8 v1, v1, 0x3

    add-int/2addr v0, v1

    iget v1, p0, Landroid/net/wifi/BatchedScanSettings;->scanIntervalSec:I

    mul-int/lit8 v1, v1, 0x5

    add-int/2addr v0, v1

    iget v1, p0, Landroid/net/wifi/BatchedScanSettings;->maxApForDistance:I

    mul-int/lit8 v1, v1, 0x7

    add-int/2addr v0, v1

    iget-object v1, p0, Landroid/net/wifi/BatchedScanSettings;->channelSet:Ljava/util/Collection;

    invoke-interface {v1}, Ljava/util/Collection;->hashCode()I

    move-result v1

    mul-int/lit8 v1, v1, 0xb

    add-int/2addr v0, v1

    return v0
.end method

.method public isInvalid()Z
    .locals 6

    .prologue
    const/16 v5, 0x10

    const/4 v4, 0x2

    const v3, 0x7fffffff

    const/4 v0, 0x1

    .line 126
    iget v1, p0, Landroid/net/wifi/BatchedScanSettings;->maxScansPerBatch:I

    if-eq v1, v3, :cond_1

    iget v1, p0, Landroid/net/wifi/BatchedScanSettings;->maxScansPerBatch:I

    if-lt v1, v4, :cond_0

    iget v1, p0, Landroid/net/wifi/BatchedScanSettings;->maxScansPerBatch:I

    const/16 v2, 0x14

    if-le v1, v2, :cond_1

    .line 135
    :cond_0
    :goto_0
    return v0

    .line 128
    :cond_1
    iget v1, p0, Landroid/net/wifi/BatchedScanSettings;->maxApPerScan:I

    if-eq v1, v3, :cond_2

    iget v1, p0, Landroid/net/wifi/BatchedScanSettings;->maxApPerScan:I

    if-lt v1, v4, :cond_0

    iget v1, p0, Landroid/net/wifi/BatchedScanSettings;->maxApPerScan:I

    if-gt v1, v5, :cond_0

    .line 130
    :cond_2
    invoke-direct {p0}, Landroid/net/wifi/BatchedScanSettings;->channelSetIsValid()Z

    move-result v1

    if-eqz v1, :cond_0

    .line 131
    iget v1, p0, Landroid/net/wifi/BatchedScanSettings;->scanIntervalSec:I

    if-eq v1, v3, :cond_3

    iget v1, p0, Landroid/net/wifi/BatchedScanSettings;->scanIntervalSec:I

    const/16 v2, 0xa

    if-lt v1, v2, :cond_0

    iget v1, p0, Landroid/net/wifi/BatchedScanSettings;->scanIntervalSec:I

    const/16 v2, 0x1f4

    if-gt v1, v2, :cond_0

    .line 133
    :cond_3
    iget v1, p0, Landroid/net/wifi/BatchedScanSettings;->maxApForDistance:I

    if-eq v1, v3, :cond_4

    iget v1, p0, Landroid/net/wifi/BatchedScanSettings;->maxApForDistance:I

    if-ltz v1, :cond_0

    iget v1, p0, Landroid/net/wifi/BatchedScanSettings;->maxApForDistance:I

    if-gt v1, v5, :cond_0

    .line 135
    :cond_4
    const/4 v0, 0x0

    goto :goto_0
.end method

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

    .prologue
    const v6, 0x7fffffff

    .line 199
    new-instance v3, Ljava/lang/StringBuffer;

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

    .line 200
    .local v3, "sb":Ljava/lang/StringBuffer;
    const-string v2, "<none>"

    .line 202
    .local v2, "none":Ljava/lang/String;
    const-string v4, "BatchScanSettings [maxScansPerBatch: "

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

    move-result-object v5

    iget v4, p0, Landroid/net/wifi/BatchedScanSettings;->maxScansPerBatch:I

    if-ne v4, v6, :cond_0

    move-object v4, v2

    :goto_0
    invoke-virtual {v5, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/Object;)Ljava/lang/StringBuffer;

    move-result-object v4

    const-string v5, ", maxApPerScan: "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v5

    iget v4, p0, Landroid/net/wifi/BatchedScanSettings;->maxApPerScan:I

    if-ne v4, v6, :cond_1

    move-object v4, v2

    :goto_1
    invoke-virtual {v5, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/Object;)Ljava/lang/StringBuffer;

    move-result-object v4

    const-string v5, ", scanIntervalSec: "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v5

    iget v4, p0, Landroid/net/wifi/BatchedScanSettings;->scanIntervalSec:I

    if-ne v4, v6, :cond_2

    move-object v4, v2

    :goto_2
    invoke-virtual {v5, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/Object;)Ljava/lang/StringBuffer;

    move-result-object v4

    const-string v5, ", maxApForDistance: "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v4

    iget v5, p0, Landroid/net/wifi/BatchedScanSettings;->maxApForDistance:I

    if-ne v5, v6, :cond_3

    .end local v2    # "none":Ljava/lang/String;
    :goto_3
    invoke-virtual {v4, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/Object;)Ljava/lang/StringBuffer;

    move-result-object v4

    const-string v5, ", channelSet: "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    .line 210
    iget-object v4, p0, Landroid/net/wifi/BatchedScanSettings;->channelSet:Ljava/util/Collection;

    if-nez v4, :cond_4

    .line 211
    const-string v4, "ALL"

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

    .line 219
    :goto_4
    const-string v4, "]"

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

    .line 220
    invoke-virtual {v3}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v4

    return-object v4

    .line 202
    .restart local v2    # "none":Ljava/lang/String;
    :cond_0
    iget v4, p0, Landroid/net/wifi/BatchedScanSettings;->maxScansPerBatch:I

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    goto :goto_0

    :cond_1
    iget v4, p0, Landroid/net/wifi/BatchedScanSettings;->maxApPerScan:I

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    goto :goto_1

    :cond_2
    iget v4, p0, Landroid/net/wifi/BatchedScanSettings;->scanIntervalSec:I

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    goto :goto_2

    :cond_3
    iget v5, p0, Landroid/net/wifi/BatchedScanSettings;->maxApForDistance:I

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    goto :goto_3

    .line 213
    .end local v2    # "none":Ljava/lang/String;
    :cond_4
    const-string v4, "<"

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

    .line 214
    iget-object v4, p0, Landroid/net/wifi/BatchedScanSettings;->channelSet:Ljava/util/Collection;

    invoke-interface {v4}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v1

    .local v1, "i$":Ljava/util/Iterator;
    :goto_5
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_5

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 215
    .local v0, "channel":Ljava/lang/String;
    new-instance v4, Ljava/lang/StringBuilder;

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

    const-string v5, " "

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

    move-result-object v4

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

    move-result-object v4

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

    move-result-object v4

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

    goto :goto_5

    .line 217
    .end local v0    # "channel":Ljava/lang/String;
    :cond_5
    const-string v4, ">"

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

    goto :goto_4
.end method

.method public writeToParcel(Landroid/os/Parcel;I)V
    .locals 3
    .param p1, "dest"    # Landroid/os/Parcel;
    .param p2, "flags"    # I

    .prologue
    .line 230
    iget v2, p0, Landroid/net/wifi/BatchedScanSettings;->maxScansPerBatch:I

    invoke-virtual {p1, v2}, Landroid/os/Parcel;->writeInt(I)V

    .line 231
    iget v2, p0, Landroid/net/wifi/BatchedScanSettings;->maxApPerScan:I

    invoke-virtual {p1, v2}, Landroid/os/Parcel;->writeInt(I)V

    .line 232
    iget v2, p0, Landroid/net/wifi/BatchedScanSettings;->scanIntervalSec:I

    invoke-virtual {p1, v2}, Landroid/os/Parcel;->writeInt(I)V

    .line 233
    iget v2, p0, Landroid/net/wifi/BatchedScanSettings;->maxApForDistance:I

    invoke-virtual {p1, v2}, Landroid/os/Parcel;->writeInt(I)V

    .line 234
    iget-object v2, p0, Landroid/net/wifi/BatchedScanSettings;->channelSet:Ljava/util/Collection;

    if-nez v2, :cond_0

    const/4 v2, 0x0

    :goto_0
    invoke-virtual {p1, v2}, Landroid/os/Parcel;->writeInt(I)V

    .line 235
    iget-object v2, p0, Landroid/net/wifi/BatchedScanSettings;->channelSet:Ljava/util/Collection;

    if-eqz v2, :cond_1

    .line 236
    iget-object v2, p0, Landroid/net/wifi/BatchedScanSettings;->channelSet:Ljava/util/Collection;

    invoke-interface {v2}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v1

    .local v1, "i$":Ljava/util/Iterator;
    :goto_1
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_1

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .local v0, "channel":Ljava/lang/String;
    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    goto :goto_1

    .line 234
    .end local v0    # "channel":Ljava/lang/String;
    .end local v1    # "i$":Ljava/util/Iterator;
    :cond_0
    iget-object v2, p0, Landroid/net/wifi/BatchedScanSettings;->channelSet:Ljava/util/Collection;

    invoke-interface {v2}, Ljava/util/Collection;->size()I

    move-result v2

    goto :goto_0

    .line 238
    :cond_1
    return-void
.end method


text:
EMERGENCY LINE: 020 8476 4099
Breakthrough means no compulsory redundancies amongst easyJet pilots following huge community sacrifice
easyJet pilots and management have achieved a breakthrough in negotiations meaning that no pilots will be made compulsorily redundant. In June easyJet's estimate was that 727 pilots were at risk of redundancy.
Since March of this year, the BALPA negotiating team anticipated the threat of potential job cuts and prepared for the start of a consultation process. BALPA's membership and organisation has grown from strength to strength during the COVID crisis, twice rejecting the company's coronavirus cooperation agreement and then recently also firmly rejecting a redundancy selection matrix that included sickness.
Since these challenges, the company has engaged more positively. There has been a huge community effort to do everything possible to reduce the need for compulsory measures which has resulted in 60 pilots leaving voluntarily and a further 1,500 opting for part time work.
All the pilots based at Southend, Stansted, and Newcastle which have been closed will be offered jobs elsewhere on the UK network.
We have been extremely pleased with the airline's positive approach during negotiations which was, like ours, to reduce job losses to an absolute minimum while recognising the seriousness of the COVID-19 challenge to the air travel sector.
Brian Strutton, BALPA General Secretary said, "This is a remarkable achievement which has only been possible because of three groups of people: the BALPA reps, easyJet management who have worked with us constructively during this process, but most of all the easyJet pilots themselves who have volunteered in record numbers for part time work and voluntary redundancy to help save their colleagues' jobs."
Captain Sean Casey, Chairman of the BALPA easyJet Company Council said, "I have been overwhelmed by the take up of part time. Each pilot who has volunteered to work less has done so because he or she wants to help colleagues keep their jobs. This truly is a demonstration of our unity in easyJet.
"I want to pay tribute to our easyJet management colleagues who we've been working with throughout this process. We've had tough talks, but in the end we have come to a sensible and fair arrangement in light of the crisis the whole aviation sector is facing. We have now secured a solid platform for both the airline and the pilots to benefit from the recovery we all hope to see in the next year."
BALPA reaction to Government announcement of support for airports
The British Airline Pilots Association (BALPA) has welcomed the Government announcement of a financial support scheme for airports , but has renewed its call for an aviation wide COVID-19 recovery plan.
BALPA wins major legal victory against Ryanair over 'blacklisting'.
The British Airline Pilots Association (BALPA) has won a major legal victory against Ryanair in an initial court battle over the punitive actions of the airline against pilots who took industrial action in 2019.
BALPA response to Government announcement on closure of travel corridors
24 HOUR BALPA EMERGENCY LINE: 020 8476 4099
balpa@balpa.org
Postal Address: BALPA House,
5 Heathrow Boulevard,
278 Bath Road,
West Drayton,
UB70DQ
© Copyright 2021 | Terms and conditions | How we use cookies | Accessibility | Privacy Notice

redpajama_set_name: RedPajamaCommonCrawl


The fifth edition of Delmar's Automotive Service Excellence (ASE) Test Preparation Manual for the A6 ELECTRICITY AND ELECTRONICS certification exam contains an abundance of content designed to help you successfully pass your ASE exam. This manual will ensure that you not only understand the task list and therefore the content your actual certification exam will be based upon, but also provides descriptions of the various types of questions on a typical ASE exam, as well as presents valuable test taking strategies enabling you to be fully prepared and confident on test day.
Find learning solutions to boost your career, augment your curriculum, improve your training courses or help you master new skills, from the leader in skills based solutions for educational institutions, businesses, and professionals - Delmar, a part of Cengage Learning.


text:
Democracy and Justice
By Messenger On 2 September 2015 In Democracy and Justice
"[Y]our country, and particularly your conservative movement, is a light and an inspiration to people in this country and across the world" – Mr. Harper speaking to the American Council for National Policy in 1997
The current election, at 78 days, will be the longest and most expensive election in Canadian history. This will allow each party to spend more than $50 million dollars – double the limit for a typical 37-day election period. Half the money spent by the parties will be reimbursed by taxpayers.
[Source, Source]
Like in the United States, the burden of taxation has shifted under Mr. Harper from an equal split between corporate and individual to the individual taxpayer carrying the majority of the burden.
[Source, Source, Source]
Under new election laws, there is no limit on how much money third-party groups can raise and spend before an election is called. These contributions can be made anonymously by individual donors and corporations. Key element: pressure groups can NOW fund like Super PACS
Like in American politics, Mr. Harper has run television attack ads, more than a year before the election, against his political opponents' credibility with unsubstantiated claims. Mr. Harper is the first political leader in Canadian history to do so.
Mr. Harper's government has introduced legislation that restricts the ability of students, low-income Canadians, indigenous Canadians, and Canadians abroad to cast their vote. Similar tactics have been used in the United States to suppress opposing votes.
[Source, Source, Source, Source, Source]
Like pork barrel spending in the United States, The New Building Canada Fund was announced by Mr. Harper in 2013 as a $14-billion 10-year investment in Canadian infrastructure. Since then, 83 percent of the fund's projects have gone to Conservative ridings.
In 2013 Mr. Harper appointed Justice Marc Nadon to the Supreme Court of Canada. Justice Nadon was best known for his stance against the repatriation of Omar Khadr from Guantanamo Bay. The Supreme Court ruled against his appointment, the first time in Canadian history that it had done so, because he did not possess the necessary requirements. Key element: judicial system should not bow to the will of the sitting government
[Source, Source, Source, Source]
Twenty years ago Canada was ranked number one in troop contributions to UN peacekeeping missions. Mr. Harper's government has withdrawn Canadian military's involvement U.N. peacekeeping to support unilateral American military action. Today Canada is ranked 65th with only 34 Canadian military personnel participating in missions.
Instead of maintaining its traditional military role of peacekeeping, Canada is now at war with ISIS in Iraq and Syria and has participated in some of the heaviest fighting in Afghanistan.
The crime rate has been decreasing over the past two decades. Despite this, Mr. Harper has introduced a number of "tough-on-crime" bills, in a similar manner to the American model of justice, that have expanded the number of crimes punished with mandatory minimums. This increased federal corrections spending by over $1.5 billion dollars since 2002.
Despite the decrease in the crime rate Canada's prison population is higher than it has ever been. In 2013/2014 there were 15,141 inmates in federal custody. This disproportionately affects minorities in Canada. Aboriginal adults represent nearly 25% of all inmates yet make up only 3% of the population.
Est-ce la Canada que vous voulez?
Votez de manière stratégique.
Obtenez les faits.
Previous: Are our Canadian democratic values under threat by Mr. Harper?
Next: How steady has Mr. Harper's hand been on the economy?
© 2015 Just The Facts Canada Inc. This website and its content are protected by Canadian copyright law. Except as otherwise provided for under Canadian copyright law, this website and its content may not be modified. The documents may be used solely for personal, non-commercial, and informational purposes.
© Copyright - Parlament Theme Demo - Parlament Theme by Icy Pixels


An Artisanaware Pillow to Fashion the Interior With Rich, Ethnic Flavor and to Celebrate African Textiles and the Craft and the Artistry of the Kuba People.
A One of a Kind Artisanaware Pillow to Fashion the Interior With Rich, Ethnic Flavor and to Celebrate African Textiles and the Craft and the Artistry of the Kuba People.
I have Seen and Sold Many of the Hand Woven, Applique, Embroidery and Reverse Applique Kuba Textiles Over the Years, and These are of Exceptional Workmanship and Design.


text:
Northern Soul: Laura Donnelly's breakout year
Career in focus: Laura Donnelly says that returning to live in Ireland is in her plans.
Laura Donnelly one of the stars of The Fall
Laura Donnelly in Sugar Rush
Donal Lynch Twitter
May 4 2015 2:30 AM
From the pages of Vogue to the boards of Broadway it's been an exciting few months for Laura Donnelly. She spoke about stalkers, break-ups, and fly-fishing with Hugh Jackman
http://bit.ly/1PdJG5z
https://www.independent.ie/incoming/article31189958.ece/db612/AUTOCROP/h342/Laura%20Donnelly.jpg
It was what Laura Donnelly calls "the most exciting time in my life." She'd won the role in the Lance Armstrong biopic Icon, in which she would play Emma O'Reilly, the Irish masseuse who blew the whistle on Armstrong. Her debut on Broadway - where she would play opposite Hugh Jackman in Jez Butterworth's play, The River - was approaching. And then the call came. Would she like to be photographed by Annie Leibovitz for Vogue? She nearly dropped the phone. "I'll always remember it. When I was told it was going to be Annie who did the pictures, I was just about to go to meet a group of my girlfriends in Balthazar restaurant in Covent Garden. I told them as soon as I got there, and as you can imagine we were all really excited and ordered a whole load of cocktails. It was incredible." The picture when it appeared showed her brooding in a nautical setting with Jackman and co-star Cush Jumbo. "I sort of had this idea that the set- up for the pictures were going to be complicated but in fact it was one of the easiest shoots I've ever done in my life", she says. "And that was really down to Annie; she just has a way of putting people at ease in front of the camera."
A photo-shoot with Leibovitz has long been the Hollywood equivalent of a lifetime achievement award, reserved for established A-listers. Donnelly is not quite at that level yet but her dark-eyed intensity has won rave reviews from New York's ferocious theatre critics and there is no doubt that her star is in a steep ascent. The petite, almond-eyed Belfast actress has also been on our screens in The Fall, where she plays a solicitor who is stalked and murdered by Jamie Dornan's serial killer. She giggles when told that one reviewer referred to her character as 'lucky' - "I think that they might have been more referring to how incredibly good-looking Jamie is" - but says that her own life has given her some insight into the unsavoury attentions of strangers. Dozens of websites have taken it upon themselves to feature mash-ups of her most compelling sex scenes and when she was starting out as an actress she had admirers hack into her social media accounts.
"I've had people break into profiles on my internet, they got into my accounts, this was at the beginning of my career," she says. "There is a fair bit of alarm when something like that happens. It definitely bothered me a lot at the time. But you move on from these things. I reported it to the relevant people and then I didn't worry too much about it because you can't live your life in fear. I've been reticent to get involved in that side of things. It's not my job to get really personal in how I express myself. I've met fans and they've been lovely. But letting my personal life out there, I don't think is a good idea for me, I think the more you do that, the more you can be accused of encouraging that kind of attention." On her Twitter feed she makes the message ever clearer: direct messages will not be entertained.
As her fame has soared her romantic life has also come under some scrutiny. She went out for a couple of years with Snow Patrol bassist Nathan Connolly - for a while they were one of Northern Ireland's ultimate celebrity couples. But she confirms to me that the relationship has been over "for some time" and she has a new love in her life, although she doesn't care to name him. "I do have someone else on the scene. He's sort of half civilian, half industry person; he's a writer. It's all going well. It's great to have someone who understands the life we (actors) lead a bit."
Despite (or perhaps because of) the prurient fascination with her love scenes and love life, Donnelly has a slightly prim and proper air. From the very start of her career, she tells me, she firmly ruled out appearing in any lads' mags and it's no surprise to learn she is a former convent girl. "I did 14 years there," she laughs. "But by the time I was an adult I didn't massively feel that (Catholicism) had a huge bearing on my life. I suppose it was more cultural than religious as such. But when I talk to my friends now, who grew up in England and Scotland, where convents maybe aren't as prevalent, it does feel that it was a stricter upbringing that I had."
The Troubles formed what she makes sound like a slightly distant background to her childhood and she says she was shielded from the worst of the conflict. "They formed the same backdrop that anyone growing up in the 1980s in Belfast would have had, which is to say that it was always there but it was the same for everyone. It was always on the news and I suppose that tension and fear that people felt did colour the atmosphere of the place a bit. I consider myself fortunate in that it didn't leave me with scars which I had to struggle with."
The stifling atmosphere of the North, of which Patrick Kavanagh wrote so well, was not alien to her, however: "I will say that in those years there was a real sense that do to what you wanted to do, to become successful, you would have to leave Belfast. I can specifically remember telling a teacher in my school that I wanted to become an actress and he told me to get my head out of the clouds. There was a lot of fear in the city in those years and people did feel held back. I did feel that I had to get out to fulfil my potential and to be myself. And so I did that I went out and learned a lot about the rest of the world. When you're very young you can be quite dismissive, you just want to get out and try things and hopefully make a name for yourself. But as you get older you mellow a bit. I think (leaving) gave me a lot of compassion for the place I'd come from. It gave me a lot of empathy."
She went to study in Scotland, (where most of her family lives now, having moved one by one after Laura left Northern Ireland), and attended the Royal Scottish Academy, Glasgow. She made her small-screen debut in 2005 in Julie Burchill's semi-autobiographical Sugar Rush, playing the central character's lesbian love interest in two episodes. She also starred in Best: His Mother's Son, the BBC drama on the life of George Best, playing Best's sister Barbara. Her first big break Stateside came in the American mystery drama Missing, where she had a part in the series, which starred Sean Bean and Ashley Judd. The series garnered absolute raves reviews from critics but was less popular with audiences and it was no surprise when it got cancelled. "You always have hopes for work like that, the possibility of it going on for several years was really exciting, particularly after what was written about it", she says. "It was also the first American series I'd done. But I had a healthy level of scepticism about it lasting because these things can end and that's just the way the business is."
Winning the role of Jenny in the time-travel fantasy Outlander was another coup, given the cult success of the series, which is based on the novels by Diana Gavaldon. Much of the action takes place in her on-screen husband's ancestral home, Lallybroch, causing her to be christened 'Jenny from the Broch' by adoring fans on Twitter. It gave her what was surely one of the best lines of dialogue of her career, which surely comes in handy in regular life at times: "Do I have to grab you by the bollox and make you stand still to listen to me." Outlander also reunited her with Sam Heughan, who plays her character's brother in the series.
Donnelly and Heughan attended drama school together, and she says she was thrilled to be reunited with him for the role. "We always knew he was destined for great things", she says. "I had also done a film with him in Norway over the summer and I was with him when he found out he was getting the role, so that was amazing." She says she hasn't read too far ahead in Gavaldon's novels because she wants the drama to be fresh in her head as she prepares for each scene. "I'm about to get started on the second book as I'm about to start filming that at the end of this year and I don't want to know any more beyond that."
The up-and-down nature of acting exacts a toll, she says. "The unpredictability of the work can be difficult, you might be worrying where the next gig is coming from. I've been busy with work, thank God, but you still never know where the next gig is coming from and if you're not careful you can fret over things. It can be struggle to make time for some things that are really important, like people, like family, but you have to develop the knack of just letting go and trying not to be in control all the time because if you wanted your life to be predictable you shouldn't have gotten into acting in the first place."
She was helped in her quest for Zen, she says, by Hugh Jackman who she played opposite on Broadway in the short and elliptical Ian Rickson-directed play The River. They had great chemistry on-stage and off; she tells me that while preparing for the run they went fly fishing together. "We went upstate to do it when we were about to begin rehearsals, which was amazing, the scenery was just incredible. I caught the first fish, I should point out, I was so proud. Fishing is very meditative, you need to be able to give up control and cast out the line and then hope for the best, so in that way it's quite like acting. It definitely got me in the zone for the play."
The bonding moments would pay off on the stage. The theatre critic for The Chicago Tribune wrote of her performance that Donnelly "revealed a juicy joie de vivre, which (she) embodies with delicious excitement … she is a great rush of everything at once." Reviews like that brought agents knocking on her door all at once, and she soon landed the part in one of the most hotly anticipated films of the year, Stephen Frears' Icon, in which she plays Lance Armstrong whistle-blower Emma O'Reilly.
The US Postal cycling team's soigneur recently wrote a book in which she depicted herself as the sole female jostled on all sides by marauding male egos. Donnelly never met O'Reilly, who was under contract with another documentary during the period the actress was researching the role, but the Belfast woman says she could certainly relate to the sentiment. "I could very much identify with that. Emma was a woman in a man's world. While there are obviously a lot of women working in the acting world they still have to fight harder than men do in this profession. There are fewer jobs and few opportunities, and there is a real sense of struggle for a woman doing this. And then you add on top of that the physical pressures, which are particularly faced by women, the expectation that you have to look great to do a great job, I mean I could talk about that all day. So yeah, the challenge for Emma was to try to make it in this man's world and at the same time keep her integrity. She had this whole machine against her. Ultimately (blowing the whistle on Armstrong) was a really painful choice for her to make, but that made for great drama and it was a really interesting role to play."
Donnelly says that sexism is still rife in Hollywood, as demonstrated by the recent revelations in the Sony leaks. "I think that it's a shame that we're still at that point where we have to fight for that equality. How many more generations will it take? You have Angelina Jolie who can top box offices and is a wonderful actress, and at the same time she's having judgements that were written about her in those (Sony Leak) emails. And I think if she were a man there's every possibility those emails wouldn't have been written in the first place. If a women has strength or drive she'll be judged for that in a negative light, whereas for a man those are seen as admirable ambition."
While her work has generally been acclaimed, she tells me she tries to treat triumph and disaster as two imposters. "I generally don't read reviews but it can sometimes be a difficult thing to avoid and you often get a sense of how something has been received by the reaction of the people around you. You never want to sound bitter about critics, because they're entitled to do their job too, but I place much more trust in a person who I can look in the eye and someone who I know I share some kind of taste with - so my friends for instance. For me, a critic is unknown and therefore irrelevant."
Her family have moved to Scotland in recent years but, after a stint filming a TV mini-series adaptation of Beowulf in Newcastle, she says that her plan is to return home.
"I'm actually in the process of looking for a property somewhere in Ireland", she says. "I'd like to live here with my boyfriend. There is a lot going on in my career at the moment but maybe being away has made me a bit nostalgic. Ireland is a place that poets and playwrights have written about for generations and for me it's magic too; I'm ready to come home."
Outlander will be shown on RTE2 this Tuesday at 11pm.
Sunday Indo Living
Licence to shock: The new female super spy
Twenty five films in, and the Bond franchise still appears more than able to break the internet. Any murmurings about Bond films getting stale in their dotage were fully put paid to this week, when the producers of the spy series announced Daniel Craig's heir apparent. And it's a development, described as 'popcorn-dropping', that's likely to leave Bond purists a little shaken and stirred. In a good way,...
By Associated Press Reporter Baz Luhrmann's Elvis Presley biopic has found its King.
Quadrophenia cast reunite for cult film's 40th anniversary
By Lucy Mapstone, PA Deputy Entertainment Editor The cast of Quadrophenia reunited for a table read of the classic British film to mark its 40th anniversary.
Baz Luhrmann names actor who will star in Elvis Presley biopic Movies
Film of the week: The Brink Movie Reviews
Bond star Daniel Craig attends British Grand Prix Movies
Licence to shock: The new female super spy Movies
Quadrophenia cast reunite for cult film's 40th anniversary Movies


Dress in a Peter Millar Mountainside Shirt Jacket from Nordstrom and black jeans to feel instantly confident in yourself and look fashionable. Dark brown leather derby shoes will easily dress up even the most casual of combinations.
If you're on the lookout for a casual yet sharp outfit, try pairing a Peter Millar mountainside shirt jacket with blue vertical striped jeans. Both pieces are totally comfortable and will look great together.
For a look that's pared-down but can be modified in plenty of different ways, pair a navy shirt jacket with blue skinny jeans. If you want to feel a bit fancier now, add black leather brogue boots to your outfit.
Contrary to what you might believe, ensembleing sharp doesn't take that much the office. Just consider pairing a Peter Millar mountainside shirt jacket from Nordstrom with brown chinos and you'll look wonderful. When it comes to shoes, this outfit is finished off nicely with dark brown suede desert boots.
This combo of a navy shirt jacket and black skinny jeans delivers comfort and relaxed casual dapperness. You can get a little creative with shoes and class up your ensemble by sporting a pair of black leather casual boots.
This combination of a Peter Millar navy shirt jacket and olive dress pants can only be described as devastatingly sharp and refined. A pair of brown suede tassel loafers finishes this outfit quite nicely.
If you're looking for a casual yet stylish getup, consider teaming a navy shirt jacket with navy jeans. Both garments are totally comfortable and will look great together. Throw in a pair of white leather low top sneakers to make the getup more current.
For a casual look, dress in a Peter Millar Mountainside Shirt Jacket and navy jeans — these items play really well together.


text:
Q: Keycloak authenticatoin flow - script after Identity Provider Redirector For my project, I have users present in my Keycloak with their Identity Provider Link User ID properly set.
Some of these users have no role set for my project's client.
These users are logged in (because they have a valid Google Account) to my application and then the application has to manage the fact that they should not access the app (because they have no role).
What I would like is to tell keycloak not to redirect to my app if a user has no role.
I have already done this for the Username Password Form (using a script, see below the script code) but I can't succeed doing this with Identity Provider Redirector, the script after it seems not to be executed (redirection seems to happen in the Identity Provider Redirector).
Thanks in advance for any help,
Edit : the script that works for Username Password form :
/*
 * Template for JavaScript based authenticators.
 * See org.keycloak.authentication.authenticators.browser.ScriptBasedAuthenticatorFactory
 */

// import enum for error lookup
AuthenticationFlowError = Java.type("org.keycloak.authentication.AuthenticationFlowError");
UserCredentialModel = Java.type("org.keycloak.models.UserCredentialModel");
Errors = Java.type("org.keycloak.events.Errors");
OAuth2ErrorRepresentation = Java.type("org.keycloak.representations.idm.OAuth2ErrorRepresentation");
MediaType = Java.type("javax.ws.rs.core.MediaType");
Response = Java.type("javax.ws.rs.core.Response");

FormMessage = Java.type('org.keycloak.models.utils.FormMessage');
/**
 * An example authenticate function.
 *
 * The following variables are available for convenience:
 * user - current user {@see org.keycloak.models.UserModel}
 * realm - current realm {@see org.keycloak.models.RealmModel}
 * session - current KeycloakSession {@see org.keycloak.models.KeycloakSession}
 * httpRequest - current HttpRequest {@see org.jboss.resteasy.spi.HttpRequest}
 * script - current script {@see org.keycloak.models.ScriptModel}
 * authenticationSession - current authentication session {@see org.keycloak.sessions.AuthenticationSessionModel}
 * LOG - current logger {@see org.jboss.logging.Logger}
 *
 * You one can extract current http request headers via:
 * httpRequest.getHttpHeaders().getHeaderString("Forwarded")
 *
 * @param context {@see org.keycloak.authentication.AuthenticationFlowContext}
 */
function authenticate(context) {

    var username = user ? user.username : "anonymous";
    LOG.info(script.name + " trace auth for: " + username + " " + session.getContext().getClient().getClientId());

    var client = session.getContext().getClient();
    var rolesClient = user.getClientRoleMappings(client);

    if (rolesClient.isEmpty()) {
        context.forkWithErrorMessage(new FormMessage('label', 'Utilisateur non autorisé'));
        return;
    }
    context.success();
}

A: I had this same problem on my project. I managed to solve it with a "Post Login Flow" on the identity provider.
The steps I had to do was:

*

*Create a new Flow with one execution script (here you can paste your script).

*Go to the identity provider. Under the field "Post Login Flow" select the flow from 1.

I hope this solves your problem as well

redpajama_set_name: RedPajamaStackExchange


One of the most effective methods is mesotherapy cellulite elimination. As a result of the treatment, increased blood and lymph flow, decreases in the process of fibrosis in tissue and there is a slight reduction of body fat deposits. The result is a smoothing and firming the skin. Injections contain caffeine, which stimulates the skin microcirculation and on the release of fat from the cells. It can help the artichoke extract, yellow sweet clover and routines that stimulate fat metabolism. To compound is added to the organic silica, which regenerates the tissue and collagen fibers.
The effects are immediate, increases elasticity and firmness of the skin, the treatment restores smoothness and density of the skin. In phase 1 we intensive treatment every 10-14 days a month, the nursing stage 1 time per month for 3 months, it is advisable o perform the surgery-like once every six months.


text:
Pro-Marijuana Candidates Win, Anti-Medical Candidates Lose in Michigan Primary Elections
Rick Thompson
FLINT- Tuesday's Primary elections in Michigan were a success story for the medical marijuana advocates who were running, and a horror story for those who've made their career out of prosecuting the state's sick and injured.
Notorious Gaylord-area Prosecutor Mike Rola, who authorized massive raids against medical marijuana businesses on multiple occasions, was defeated. Lapeer County Prosecutor Tim Turkelson, whose office was so biased against a medical marijuana patient they were taken off the case by a local judge, also lost. Pro-pot candidates Bob Townsend and Eric Gunnels won their primary elections.
Michigan elections are undeniably, inextricably, forever changed by the introduction of a strong medical marijuana citizen community.
"Many of us have come to the conclusion that cannabis law represents something in need of a more sensible approach," said Jamie Lowell of MILegalize and Ypsilanti's 3rd Coast Dispensary. "We have not had the type of leaders we would look to in the past- and now, we have more sane choices."
Genesee County is known as a bastion of medical marijuana freedom. The city of Flint licenses medical marijuana distribution centers. The Green Triangle, in nearby Thetford Township, hosts a growing number of businesses in the patient support industry. Cities like Davison and Montrose have distribution centers; Burton and Richfield Township have long-standing relationships with businesses and non-profits centered around medical marijuana, too.
Against this backdrop of permissive tolerance, residents like myself saw a dramatic battle play out during the primary election campaign.
In the race for Genesee County Sheriff, incumbent Robert Pickell was victorious over his challenger, Dan Allen, himself a police chief from a small community in the county. That race saw fur fly as each attacked the other over political issues and personal values.
In a series of mailers and television ads, a super PAC supporting Allen took shots at the Sheriff's retirement fund, the nature of his employees, sexual harassment lawsuits and financial mismanagement of the Sheriff's Office.
The only thing Allen's supporters never mentioned is Pickell's tolerance of the medical marijuana industry in Genesee County.
That issue would have been a non-starter, and would have represented an unpopular position with voters, according to my interviews with County figures and leaders. Attacking a person for their medical marijuana stance seems to have been discarded as a policy. This is an evolution of thought in Genesee County, and in the state itself.
Although Pickell has never made supportive statements toward the industry, his refusal to pursue or charge with crimes the many distribution centers in the county was a factor in his primary election win. If Allen had made strong statements endorsing the medical marijuana industry, he probably would have won.
Other candidates who have strongly advocated for medical marijuana issues were victorious in their contests.
Thetford Township residents gave current Trustee Eric Gunnels their strong support, voting him a very close second out of ten candidates vying for four positions as Trustee. Thetford is home to a host of patient services industry businesses, but that industry had lacked a voice in local government until Gunnels ran for office four years ago.
Since then, Gunnels has been that advocate locals had been asking for. Gunnels led the fight to de-fund the local narcotics raid team during the Thetford budgetary debate, taking a position opposite that of the Township Supervisor and Police Chief. His re-election is a certain sign that Township residents are happy with his message, and that they want his advocacy on the Board to continue.
"I am deeply honoed to be re-elected to the Board of Trustees," Gunnels told TCC. "During the campaign, I asked everyone if I had disappointed them in any way. Nobody complained," he said, with pride. "The fact that I had overwhelming support shows me that my community likes the way I make decisions."
Another cannabis community supporter, Theo Gantos, was not successful in his first effort to join the Thetford Township Board as a Trustee. Since there are no Republican candidates for the positions, this primary election was the only significant balloting for these Trustee positions.
On the west side of the state, physician Dr. Robert Townsend beat his primary election foe and will advance to the November General Election. Dr. Townsend is well-known as a doctor who, as a part of his medical practice, certifies the sick for medical marijuana use.
"I won my primary 60/40 and will be facing off against a DeVos backed former Florida Cop. I need the full support of the medical marijuana community if you prefer me over a cop that would rather arrest folks for pot than learn about it," said Townsend.
When you lead or authorize raids against sick people, the elderly and military veterans, you are bound to run afoul of the will of the voters. That's exactly what happened with two Prosecutors with very public profiles who pursued medical marijuana patients and businesses with raids and criminal charges.
Prosecutor Mike Rola sent patient Al Witt to prison for running a medical marijuana dispensary; Witt is out of jail, and Rola is out of a job.
Gaylord is a northern Michigan community where medical marijuana distribution centers flourished for years. Seemingly without provocation, and using warrants issued and authorized by Rola's office, the local narcotics enforcement teams took down nearly a dozen centers in a single day with raids and seizures of cash, cannabis and cars.
Morrow's center was one of those raided. The time waiting for charges to be issued, and the legal battle after, spanned months. Morrow's conviction resulted in a short prison stay; during those months of waiting, advocates successfully completed a petition drive to authorize medical marijuana centers in Gaylord. The city's leaders decided to adopt the measure, instead of letting the voters weigh in.
Shortly after, Rola authorized a second wave of raids on the reopened Centers. Advocates were furious, and the local presses went crazy. As this story of overreach against the ill and injured is the biggest negative pinned on Rola's reputation, it seems reasonable to tie it to his election loss.
Rola's defeat in the primary election was a rarity- an incumbent loses to an unknown challenger- but it wasn't the only story of comeuppance delivered by citizens during Tuesday's vote.
Lapeer County is next to Genesee County on the map, but its leadership in the Sheriff Department couldn't be more distant from Pickell's permissive attitude.
A particular Deputy Sheriff has waged a continuous vendetta against medical marijuana in the County, and the efforts have been supported by the Prosecutor's Office under varying administrations. In particular this Deputy has an obsession with a female medical marijuana patient and continues to harass her with raids and encounters, which date back to 2010 and as recent as last month.
The current Lapeer County Prosecutor is Tim Turkelson, who was once a lawyer for this young woman. During that time he made public statements about the Deputy's soiled reputation and tendency to lie on search warrants. Once in office, now-Prosecutor Turkelson continued to issue those warrants against the medical marijuana patient, even knowing the Deputy to be dishonest. The patient's attorney, Komorn Law, successfully petitioned the Court to have Turkelson removed from the criminal proceedings against the patient.
The judge removed Turkelson and the Attorney General's office assigned a prosecuting team from a neighboring county to handle her case. Once the new team entered the mix the charges against the patient were quickly dropped, as the case was too weak to prosecute.
Turkelson's bias and failure was widely covered by media sources serving County residents. As with Rola, it is obvious that the unjust prosecutions against medical marijuana patients contributed to the demise of the Prosecutors involved.
Oh, and the Sheriff that authorized that Deputy to engage in all those anti-patient raids? The guy that had been in his post since the mid-1980's? Sheriff Ron Kalanquin, another incumbent, was defeated in Tuesday's primary election as well. The two tools of authority involved in prosecuting medical marijuana cases in Lapeer County were dismissed from their current positions by the voters of Lapeer County.
"Candidates that oppose the marijuana law reform efforts which are already in motion in the state are out of touch with current citizen attitudes. This is a popular issue as indicated by many polls and surveys- as well as this current election," Lowell said.
Last Modified: August 4, 2016
Category: Legalization Campaigns, Michigan
"Rick Thompson was the Editor in Chief for the entire 2-year run of the Michigan Medical Marijuana Magazine, was the spokesman for the Michigan Association of Compassion Centers and is the current Editor and Lead Blogger for The Compassion Chronicles. Rick has addressed committees in both the House and Senate, has authored over 200 articles on marijuana and is a professional photographer." Rick Thompson Is An Author At The Compassion Chronicles and focuses on all things Michigan.
Legalization Campaigns, Michigan Articles
Legalization Campaigns
Michigan Begins Circulating Marijuana Legalization Petitions
The Board of State Canvassers in Michigan unanimously approved the form of petitions to legalize recreational/adult-use marijuana last week. They were submitted by the Coalition
Nevada and Massachusetts Legalization Campaigns Unveil TV Ads on Same Day
The Nevada Coalition to Regulate Marijuana Like Alcohol, and the Massachusetts' campaign to Regulate Marijuana Like Alcohol, both unveiled new television ads yesterday in support
California's Prop 64 Supported by Coalition of Public Leaders
An impressive and diverse coalition of community leaders and lawmakers came together yesterday for a press conference in San Francisco that highlighted the reasons they
Ending Marijuana Prohibition
Which States Are Voting On Marijuana Reform In November 2016?
Follow Live Updates from TWB on the marijuana legalization happening in these states right now and which states are voting on marijuana (Updated: Nov 8th,
Justin Bieber Supports Marijuana Law Reform
The drug law reform world needs more celebrities to come out in favor of marijuana legalization and ending the drug war. Yesterday I read a
Medical Marijuana in Michigan: Half glass empty or glass half full?
By Jamie Goswick It's been a whirlwind of a month in Michigan. First, the state passed a set of bills (HB4209, HB4210 and HB4827) implementing
Can You Smoke Weed Resin?
What are the Best and Most Popular Marijuana Fertilizers and Nutrients?
Tips for a Successful Wake and Bake
The Ultimate Stoner Food Guide: The Best Stoner Munchies to Eat When High
Is the Cannabis Industry Being Affected by the Coronavirus?
How to Fix a Vaporizer
What Is A Good Marijuana Grow Schedule From Week To Week?
How To Control Powdery Mildew On Your Marijuana Plants
How To Be A Marijuana Dealer — Becoming A Veteran


Staying dry with variable cloud through today with some brightness at first this afternoon. Increasing cloud amounts later in the afternoon and evening although staying dry throughout. Remaining within the mild airmass tonight therefore RSTs remaning well above freezing. Very strong or gale force winds developing through the period.
A band of rain, heavy at times, will move slowly south-eastwards during Monday, accompanied by strong to gale force winds in places. It will remain mild, wet and windy overnight. It will be a brighter start to Tuesday morning, with a mixture of sunny spells and scattered showers. Tuesday afternoon will continue to see a mixture of sunny spells and scattered showers, although some places will escape dry. Dry, with clear spells overnight, with a patchy frost in places. It will be chilly start to Wednesday, although it will be dry and bright, with sunny spells.


text:
package org.apache.geode.internal.protocol.protobuf.v1.serializer.exception;

import org.apache.geode.annotations.Experimental;

/**
 * Indicates that a message didn't properly follow its protocol specification.
 */
@Experimental
public class InvalidProtocolMessageException extends Exception {
  public InvalidProtocolMessageException(String message) {
    super(message);
  }

  public InvalidProtocolMessageException(String message, Throwable cause) {
    super(message, cause);
  }
}

redpajama_set_name: RedPajamaGithub


The Cambridge Pathway program, for grades K-12, offers a learner-centered instructional system aligning curriculum, teaching, learning, and assessment.
The four stages of the Cambridge Pathway lead seamlessly from primary to secondary and pre-university years. Each stage – Cambridge Primary, Cambridge Lower Secondary, Cambridge Upper Secondary and Cambridge Advanced – builds on the learners' development from the previous one, but can also be offered separately.
Cambridge Pathway offers a highly personalized approach to learning that empowers students to achieve educational success.
Our qualifications are recognized by the world's best universities and employers, giving students a wide range of options in their education and career.
Download our free resources to help you implement the Cambridge program and support teaching and learning at your school.
Find out about our wide range of support resources to help you plan and teach the Cambridge program.


text:
You are here: Home / Film Review "Snitch" / Movies / Film Reviews / Film Review "Snitch"
Film Review "Snitch"
February 22, 2013 by Mike Smith 1 Comment
Starring: Dwayne Johnson, Jon Bernthal and Susan Sarandon
Directed by: Ric Roman Waugh
Rated: PG 13
Running time: 1 hour 52 mins
Our Score: 3 out of 5 stars
If you've ever flown you've heard the great words of advice that greet you through the airport loudspeaker: "Don't offer to carry something in your bag for someone else." Thanks to the new film "Snitch" you can add this tip: "Don't let your friend ship you a package, no matter how much they beg."
Jason Collins (Rafi Gavron) is chatting with his best friend over the computer. His friend needs a favor…he has a "package" that he can't have sent to his house so he wants to send it to Jason. Jason knows what's in it and, after contemplating the request says "no." The next day the doorbell rings and Jason is greeted by a delivery driver. "Sign here, please." Moments later Jason's home is raided by federal agents. Busted!
A smart story that only begins to unravel at the end, "Snitch" is about Jason's father, John Matthews (Johnson). John runs a successful construction company and lives happily with his second wife and young daughter. Jason is bitter about his folks breaking up, evidenced by the fact he uses his mother's maiden name. It seems that Jason's friend set him up…painting him as a drug dealer to reduce a sentence he received. John learns that, due to mandatory sentencing laws, Jason is looking at a minimum of 10 years in the pokey. He can get time off if he can supply some names of people that sell drugs but he refuses to do to his friends what happened to him. John takes it upon himself to approach the federal prosecutor (Sarandon) and offer his services…he'll find a drug dealer, turn him in and get the sentence reduced. Unfortunately for John, you can't look up "drug dealer" in the Yellow Pages so he persuades one of his employees (Bernthal), who stated a criminal record on his job application, to help him. And the game begins.
There are a lot of things to like about this film. First off, this is probably the most impressive performance that Johnson has given on film. John loves his son and that is conveyed through his words and actions. A few emotional moments cause John to drop his self assured guise and these are some of the better moments of the film. Sarandon is her usual strong self as is Barry Pepper as one of the federal agents that busted Jason but is sympathetic to his plight. Where the film goes off track is when it turns from an emotional drama into a car-crashing, gun-shooting action film. Instead of frightened father, John begins to channel John Wayne. As he drives his semi towards the bad guys while emptying the shotgun he holds with one hand he resembles the Duke at the end of "True Grit," taking on all comers with no regards to his own safety.
Filed Under: Film Reviews Tagged With: film, review, snitch
1 Reply to "Film Review "Snitch""
DECENT REVIEW


text:
World Without Mind: The Existential Threat of Big Tech
Category: Politics & Government
Author: Franklin Foer
Franklin Foer reveals the existential threat posed by big tech, and in his brilliant polemic gives us the toolkit to fight their pervasive influence.
Over the past few decades there has been a revolution in terms of who controls knowledge and information. This rapid change has imperiled the way we think. Without pausing to consider the cost, the world has rushed to embrace the products and services of four titanic corporations. We shop with Amazon; socialize on Facebook; turn to Apple for entertainment; and rely on Google for information. These firms sell their efficiency and purport to make the world a better place, but what they have done instead is to enable an intoxicating level of daily convenience. As these companies have expanded, marketing themselves as champions of individuality and pluralism, their algorithms have pressed us into conformity and laid waste to privacy. They have produced an unstable and narrow culture of misinformation, and put us on a path to a world without private contemplation, autonomous thought, or solitary introspection--a world without mind. In order to restore our inner lives, we must avoid being coopted by these gigantic companies, and understand the ideas that underpin their success.
Elegantly tracing the intellectual history of computer science--from Descartes and the enlightenment to Alan Turing to Stuart Brand and the hippie origins of today's Silicon Valley--Foer exposes the dark underpinnings of our most idealistic dreams for technology. The corporate ambitions of Google, Facebook, Apple, and Amazon, he argues, are trampling longstanding liberal values, especially intellectual property and privacy. This is a nascent stage in the total automation and homogenization of social, political, and intellectual life. By reclaiming our private authority over how we intellectually engage with the world, we have the power to stem the tide.
At stake is nothing less than who we are, and what we will become. There have been monopolists in the past but today's corporate giants have far more nefarious aims. They're monopolists who want access to every facet of our identities and influence over every corner of our decision-making. Until now few have grasped the sheer scale of the threat. Foer explains not just the looming existential crisis but the imperative of resistance.
by DyslexicAtheist 2018-02-14
- Nassim N. Taleb: Black Swan and Antifragile[0]
- Robert Cialdini: Influence: The Psychology of Persuasion[1]
- Franklin Foer: World Without Mind: The Existential Threat of Big Tech[2]
- Herbert Marcuse: One-Dimensional Man: Studies in the Ideology of Advanced Industrial Society[3]
[0] https://www.amazon.com/Black-Swan-Improbable-Robustness-Frag...
[1] https://www.amazon.com/Influence-Psychology-Persuasion-Rober...
[2] https://www.amazon.com/World-Without-Mind-Existential-Threat...
[3] https://www.amazon.com/One-Dimensional-Man-Ideology-Industri...
by tyingq 2017-09-20
https://www.amazon.com/World-Without-Mind-Existential-Threat...
Doing well, too...has a Bestseller icon.
by kristianc 2017-09-20
The problem here isn't Amazon, but the business model that TNR chose for itself, and the implications of that.
This covers a period in TNR's history when Chris Hughes (formerly of Facebook) was in charge, and essentially wanted to turn the site into a 'vertically integrated digital media company' (native advertising / clickbait factory).
It shouldn't be a surprise that this had deleterious consequences for journalistic integrity and allowed advertisers to apply undue pressure.
Foer (the author of this piece) didn't want to go along with that, and he and almost the entire staff resigned in protest. Hughes ended up putting the magazine up for sale, and Foer was brought back in under the new editor.
Oh, and Foer's new book is now available on Amazon.
https://www.amazon.co.uk/World-Without-Mind-Existential-Thre...


text:
Police vehicle reverse rammed by banned driver in Mercedes
Banned driver and partner spotted on foot after police chase
By Bruce Unwin Chief Reporter (Durham)
Banned driver Ben Cahill drove at speed to escape police after reverse ramming patrol car
A COUPLE were spotted on foot walking through a town market place, minutes after being in a car involved in a high-speed chase with police, a court was told.
Ben John Cahill and his girlfriend were seen walking through the centre of Ferryhill, shortly after being recognised as the driver and passenger in a Mercedes C22 pursued by police for a short distance on the nearby A167.
Durham Crown Court heard that the officers, in a marked police car, tried to stop the Mercedes after it was seen being driven by Cahill, a disqualified driver, near Chilton Service Station at 8.15pm on Saturday November 30.
Chris Wood, prosecuting, said the police car lights were illuminated and the Mercedes came to a halt.
But, when an officer approached the vehicle to speak to Cahill, the Mercedes reverse rammed the police car, before speeding away.
Dr Wood said as the police vehicle was not a traffic car, it then struggled to keep up with the speeding Mercedes, despite at one point reaching 110-miles per hour.
The officers lost sight of it, in Ferryhill, but while driving round looking for it, saw Cahill and his partner.
One officer spoke to Cahill and the other approached his partner, who confirmed she was he passenger in the Mercedes and conceded she was terrified at the manner of his driving, having repeatedly urged him to slow down.
The Mercedes was found abandoned in a nearby street.
Cahill, 29, of Emerald Walk, Chilton, admitted dangerous driving, while disqualified and without insurance, plus failing to stop after an accident and for police.
The court heard he was banned from driving for a year last August after a conviction for excess alcohol, but as recently as November 4 committed a further offence of driving while disqualified.
Lorraine Mustard, mitigating, said he only took to the wheel as they were going out that evening and, in the shoes his partner was wearing, she found it hard to drive.
"He made the mistake by agreeing to drive and compounded it by the way he drove and the collision," which she said Cahill claimed was accidental.
She urged Judge Jonathan Carroll to pass a suspended sentence so Cahill could continue to run his newly started motor mechanics business, employing two people.
But Judge Carroll, who said he did not accept the collision was an accident, imposed a one-year immediate prison sentence and banned Cahill from driving for two years.
Man pleads guilty to selling dangerous toys on Darlington market stall


To visualize your data with Infogram even faster, we've added Google Analytics integration. That means you can connect your Google Analytics account to Infogram and create reports by dragging and dropping charts into your template. Infogram will pull the information from your account and automatically update the charts with your data.
There are 13 different reports, including top referring sites, mobile usage, number of pages per session, top keywords, and more.
❶ Authorise your Google Analytics account.
❷ Choose the data you wish to display: double click on the box or drag and drop it in the editor for automatic visualization.
Note: If you cannot find your desired data visualization segment in our prepared list, you will need to extract this particular data segment manually from your Google Analytics account and import it into a chart yourself. However, we can add additional segments to your account as part of the Enterprise subscription - please, contact us to find out more.
To disconnect a Google Analytics account, un-authorize the Infogram application from Google account settings.
❶ Go to your Account settings.
❷ Click on the Google Analytics tab.
We recommend creating a new property in your Google Analytics account specifically for Infogram to receive detailed statistics about the views your projects receive.


text:
to preserve and speculate on days gone by
Follow the life and times of Juan Patron, one of New Mexico's leading frontiersmen!
By Paul L. Tsompanas
Juan Patron lived through one of the bloodiest chapters of the American West: the 1878 feud known as the Lincoln County War in New Mexico. Reputed for his heroics, Patron tried to tame a frontier plagued with violence, illiteracy and greed--first as a teacher, then as a desperado hunter, and eventually as speaker of the territorial house at age twenty-five, the youngest person to hold this position in New Mexico in history.
With keen, well-researched detail and the art of a master storyteller, author Paul Tsompanas leads us through Patron's life and times--and his fate at the hands of a Texas cowboy named Michael Maney, who outdrew him in a dramatic showdown. Many believe that, had he lived, Patron would have become New Mexico's first congressman when it entered the Union in 1912.
Smashwords ebook available here ($1.99)
Kindle ebook available here ($2.99)
Adder in the Path
by William Jensen
Beautifully written and unflinchingly honest, Adder in the Path is a tragic chronicle of the Mormon War, and two very different families caught up in a maelstrom of intolerance and violence. It is a tale that teaches the fragility of human connection and the destruction caused by fanaticism and hypocrisy--crucial lessons that resonate long after the last word.
Looking Through Great-Grandmother's Eyes
by Geraldine Lee Susi
Nine-year-old Piper Louise Conrad is sure that the summer of 1943 will be the worst summer of her life. The world is at war, her father is fighting in North Africa, and Piper must spend three whole months at her great-grandmother's farm in Catlett, Virginia. Grandma Jessie doesn't seem at all like the sweet old lady Piper's mother described. She's bossy and cranky. She doesn't even seem to like Piper. But Piper is about to discover that she and her great-grandmother have more in common than she thinks. In fact, Grandma Jessie holds the key to a family history Piper never knew she had. Maybe, justmaybe, this summer might not be so bad after all.
Matzo Balls and Christmas Trees
by Randi Wolf Lauterbach
The holidays bring a special ache to those who have lost a loved one in December. The winter of 1974 rendered Randi Wolf Lauterbach a twenty-two-year-old orphan and changed her world forever. Thirty-seven years later, with the anniversaries of her parents' deaths approaching, Randi's mind was immersed in thoughts of her mother—thoughts clamoring to be recorded. A first-generation Jewish-American, Margaret Wolf possessed a sharp wit, a penchant for music and gambling, and a strong foothold in her cross-cultural community of family, friends, and neighbors. When she passed suddenly, the woman who had seemed larger than life became but a memory cradled in the hearts of those who knew her. But, oh, what memories she left! Framed with humor, nostalgia, and warmth, Matzo Balls and Christmas Trees paints a timeless portrait of familial love—a love that transcends life and death and is renewed with each passing season.
Fighting Hitler from the North Jersey Suburbs
by James C. Berrall
For children residing an ocean apart from the imminent dangers of World War II, the war's effects were nonetheless felt in a way that shaped a generation. In Fighting Hitler from the North Jersey Suburbs, author James C. Berrall focuses a nostalgic lens on the American home front during the second great war, offering a child's-eye view of the commotion and peculiarities of wartime. Drawing on his boyhood experiences, Berrall recalls everything from popular contemporary songs and radio programs to the looming anticipation of air raids and military invasions. A true portrait of an era, Fighting Hitler from the North Jersey Suburbs chronicles the formative years of both a young man and an emerging superpower.
The Man Called Jesus
by T. F. Lloyd
The Romans rule Israel with an iron fist, and young Hanan is angry and conflicted. The soldiers murder his father and take their livestock, and he becomes sole provider for his mother. Yet without the cattle that had been his family's livelihood, Hanan turns to a secret life of thievery. He manages to care for the family while keeping his ways hidden—until he pilfers a valuable Roman necklace and becomes a wanted man. Riddled with guilt and fear, he believes his fate is sealed. Only one beacon of light shines to give Hanan hope for removing his guilt and cleansing his soul: the man called Jesus. Hanan follows the teacher, feeding on his every word and miracle, hoping to find the salvation he craves, before it's too late.
One Leaf in Time
by Sylvia Churchill Prince
One Leaf in Time chronicles the life of Sylvia Churchill Prince, born in Tientsin, China, where her father was a successful businessman. For the first eight years of Sylvia's life, the Churchills enjoyed a life of luxury among a community of foreign businessmen and dignitaries. The outbreak of the Second World War brought that life to a sudden stop, as the Churchills were rounded up by Japanese occupiers and transported to an internment camp in Weihsien. Prince offers a warts-and-all description of camp life, describing the harsh treatment imposed by Japanese officials, but also the resilience of internees from countries across Europe and North America. As her account reveals, it was possible to find entertainment, respite, and even joy in an environment where danger was but one misstep away.
The Ride of Molly Tynes: A Tale Passed Down
written by Mary Alice Barksdale and Donna Jessie Fogelsong
illustrated Emily Hurst Pritchett
When Molly Tynes learns of an impending attack on a neighboring town, she mounts her horse without hesitation, risking life and limb to warn and protect her community. Four mountains, rough trails, and wild animals stand between Molly and her journey's end. Through this legendary tale of a courageous Civil War-era woman, the storytelling tradition of Southwest Virginia lives on.
PRAISE FOR THE RIDE OF MOLLY TYNES:
"The Ride of Molly Tynes is a tale well remembered and very well told. . . . Molly's story will inspire parents and children alike to be their very best selves and to face hard times with bravery and confidence."
— Susan Weiner, author of Pirates and Spooks, Beware! and Before the Foundation of the World
"I wish my grandma could have had stories like this to tell me when I was a child—the story of one young woman's selflessness, daring, and bravery. Molly Tynes is an inspiration not only for young girls but for us all."
— Ted Lewin, author and illustrator of more than 170 books for children
In Service to Their Country
by Captain Alexander G. Monroe, USN (Ret.)
On a Virginia hillside overlooking the Rappahannock River, at Christchurch School, sits a simple granite monument. It was placed there to honor the school's faculty, staff, and alumni who have served in the American uniformed services. From its early years, and continuing still today, Christchurch has been home to men and women of diligence, accountability, and humble valor, often taking in struggling youths and cultivating in them the virtues and life skills they'll need to make their way in the world. The path many graduates have chosen is one of service to country.
Together with the hillside monument, this book exists in tribute to those members of the Christchurch family who have dedicated years of their lives—often their best years, and sometimes their last—to the protection of the United States of America.
a Pleasant Living Book
Portrait of a Town: Cape Charles, 1940-1960
written by Patricia Joyce Parsons
Situated on Virginia's Eastern Shore, Cape Charles was once a vibrant railroad town, serving as a vital hub for troop movements between the northern and southern states during World War II. Its placement on the shores of the Chesapeake Bay, along with its fleet of ferries and fishing boats and its position among the farming communities of the Eastern Shore, made it a town of plenty in the lean times of rationing that occurred during the war—and a perfect place for a child to grow up.
PRAISE FOR PORTRAIT OF A TOWN:
"In Portrait of a Town, Pat Parsons reflects with warm nostalgia on her experiences growing up in a lovely and proud Victorian bayside village on the Eastern Shore of Virginia. Her delightful portrayal of daily life during WWII, and of Cape Charles's struggle to survive the changing times, provide valuable insight into the history of the area."
~ John M. Barber, Fellow, American Society of Marine Artists
"Pat Parsons's new book, Portrait of a Town, speaks of her youth growing up in the Chesapeake Bay waterfront/railroad town on the Eastern Shore of Virginia. Parsons's straightforward approach to storytelling and marvelous memory capture the very essence of small-town American life during the decades of the 1940s and 50s. Her tales make the reader long for those wonderful, simple days of youth. Although specific to the town of Cape Charles, her well-written stories will interest those near and far as her life memories are a reminder for many of their own lives growing up in small town America. The book is a read well worth reading!"
~ Larry Chowning, author of Harvesting the Chesapeake: Tools and Traditions; Chesapeake Legacy: Tools and Traditions; Chesapeake Bay Buyboats; Deadrise and Cross-planked; Barcat Skipper: Tales of a Tangier Island Waterman; and other books on the Chesapeake Bay
Peter Polo and the Snow Beast of Hunza
written by Craig Bradley
illustrated by Laurie Conley
Peter Polo has been waiting his whole life for this: The Great Khan has sent him on a dangerous quest to the far-off valley of Hunza. Peter finally has a chance to step out of his famous brother's shadow and into the light of his own adventure. But the path to greatness is treacherous. Someone (or something) is causing the sacred snow leopards to disappear, and the people of Hunza fear the return of a legendary monster known as the Snow Beast. It's going to take great courage for Peter and his friends to uncover the truth and save the people of Hunza . . . before it's too late.