text:
package com.spotify.styx.api;

import static com.spotify.styx.api.Authenticator.resourceId;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
import static org.mockito.Mockito.doReturn;
import static org.mockito.Mockito.when;

import com.google.common.collect.ImmutableSet;
import com.typesafe.config.Config;
import java.util.List;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;

@RunWith(MockitoJUnitRunner.class)
public class AuthenticatorConfigurationTest {

  private static final String DISABLE_RESOURCE_ID_CACHE_WARMUP_KEY =
      "styx.authentication.disable-resource-id-cache-warmup";
  private static final String DOMAIN_WHITELIST_KEY = "styx.authentication.domain-whitelist";
  private static final String RESOURCE_WHITELIST_KEY = "styx.authentication.resource-whitelist";

  @Mock private Config config;

  @Mock private Config resourceConfig1;

  @Mock private Config resourceConfig2;

  @Test
  public void shouldBuildFromConfig() {
    when(resourceConfig1.getString("type")).thenReturn("type1");
    when(resourceConfig1.getString("id")).thenReturn("1");
    when(resourceConfig2.getString("type")).thenReturn("type2");
    when(resourceConfig2.getString("id")).thenReturn("2");

    final List<String> domainWhitelist = List.of("foo.com", "bar.com");
    final List<? extends Config> resourceWhitelist = List.of(resourceConfig1,
        resourceConfig2);

    when(config.hasPath(DISABLE_RESOURCE_ID_CACHE_WARMUP_KEY)).thenReturn(true);
    when(config.hasPath(DOMAIN_WHITELIST_KEY)).thenReturn(true);
    when(config.hasPath(RESOURCE_WHITELIST_KEY)).thenReturn(true);

    when(config.getBoolean(DISABLE_RESOURCE_ID_CACHE_WARMUP_KEY)).thenReturn(true);
    when(config.getStringList(DOMAIN_WHITELIST_KEY)).thenReturn(domainWhitelist);
    doReturn(resourceWhitelist).when(config).getConfigList(RESOURCE_WHITELIST_KEY);

    final AuthenticatorConfiguration configuration =
        AuthenticatorConfiguration.fromConfig(config, "foo");

    assertThat(configuration.disableResourceIdCacheWarmup(), is(true));
    assertThat(configuration.domainWhitelist(), is(ImmutableSet.copyOf(domainWhitelist)));
    assertThat(configuration.resourceWhitelist(), is(ImmutableSet
        .of(resourceId(resourceConfig1.getString("type"), resourceConfig1.getString("id")),
            resourceId(resourceConfig2.getString("type"), resourceConfig2.getString("id")))));
    assertThat(configuration.service(), is("foo"));
  }

  @Test
  public void shouldBuildWithDefaultValues() {
    final AuthenticatorConfiguration configuration =
        AuthenticatorConfiguration.fromConfig(config, "foo");

    assertThat(configuration.disableResourceIdCacheWarmup(), is(false));
    assertThat(configuration.domainWhitelist(), is(ImmutableSet.of()));
    assertThat(configuration.resourceWhitelist(), is(ImmutableSet.of()));
    assertThat(configuration.service(), is("foo"));
  }
}


Are you working on a book? Do you want to learn about collaboration with other writers? Interested in writing for children, or writing about a real-life person or event? Come ask these and more questions in a special reception with co-authors Miranda Paul and Baptiste Paul and the environmentalist Farmer Tantoh Nforba, subject of their new book.
Copies of I Am Farmer: Growing an Environmental Movement in Cameroon will be available for purchase and autographing. This event is free and open to the public. Donations to Write On, Door County or Save Your Future Association (syfaglobal.org) are welcome.
This event is family-friendly and perfect for young (and old!) environmentalists, writers, readers, farmers and gardeners, and those interested in helping alleviate the water crisis in rural Cameroon, Africa.
For more information, call Write on Door, County at (920) 868-1457.


When it's cold outside there's nothing like a roaring open fire to defrost your toes – and a nice drink helps to warm your cockles.
Match on? Football on TV this week includes League Cup Semi-Finals: Chelsea v Liverpool and Sheffield United v Tottenham Hotspur, Championship games Bournemouth v Watford and Brentford v Middlesborough; as well as Premier League matches: Chelsea v Manchester City; Arsenal V Aston Villa and Southampton v Swansea City. Why not watch them "down the pub".
Did you try to contact us?
Hi "LH" we got your e-mail but our reply was returned undelivered. The answer to your question is yes.
And just had an update from Clifford Duck too. He is safe and well on the piste in Switzerland.
Just to let you all know that Team Spirit was in the top 3% of Just Giving Pages, making it one of the most successful of 2014. Well done on raising so much for Birmingham Children's Hospital.


Winner of the Silver Lion for Best Director at the Venice Film Festival.
It's not surprising that Shirin Neshat's debut feature is so visually transfixing - considering she's one of the most influential Middle Eastern artists alive today. Renowned for her photographic work exploring gender issues, Neshat continues the theme in this tragic feminist allegory based on Shahrnoush Parsipour's novel of the same name.
Against the backdrop of the 1953 CIA-backed coup d'état that toppled Iran's democratically elected government and replaced it with the Shah, four women with four different stories converge on an evocatively coloured, haunted garden.
A striking stylistic contrast to contemporary Iranian cinema, Neshat presents these stories in the style of a Sirkian melodrama with flourishes of magical realism, creating a film of fierce beauty and slick precision.


The Thunder Stone and the Bronze Horseman: The Monolithic Savior of St Petersburg?
Read more about The Thunder Stone and the Bronze Horseman: The Monolithic Savior of St Petersburg?
Footprints on the Wall: Were Dinosaurs Actually Climbing the Cliffs in Bolivia?
Read more about Footprints on the Wall: Were Dinosaurs Actually Climbing the Cliffs in Bolivia?
Worship? Meditation? Sacrifice? What Ancient Ritual Activities Were Held at the Externsteine Sacred Stone Formation?
Read more about Worship? Meditation? Sacrifice? What Ancient Ritual Activities Were Held at the Externsteine Sacred Stone Formation?
Sayhuite Monolith: Can You Solve the Mystery of the 200 Designs Carved by a Forgotten Creator?
Read more about Sayhuite Monolith: Can You Solve the Mystery of the 200 Designs Carved by a Forgotten Creator?
Marcahuasi: Vestiges of a Forgotten Global Civilization, or Just Weird Rocks in Peru?
Read more about Marcahuasi: Vestiges of a Forgotten Global Civilization, or Just Weird Rocks in Peru?


text:
ACCEPTED

#### According to
Index Fungorum

#### Published in
Annls mycol. 21: 243 (1923)

#### Original name
Pyrenophora moravica Petr.

### Remarks
null

redpajama_set_name: RedPajamaGithub


Share new responses to your online forms with your team right away. Use this Zap to automatically add new Typeform entries to Twist as comments on a certain thread. For example, if you have a thread named "Feedback from Customers," this Zap will auto-fill that thread with the feedback your customers give you in Typeform. Instead of spending time transferring data between tools, your team can now take immediate action on new data from Typeform.
Spark team discussions about new responses to your online form. Use this Zap to automatically add new Typeform entries to Twist as threads. Once Zapier creates the thread for you, your team can quickly review the new Typeform entry and talk about it right within Twist. With new Typeform data shared automatically in Twist, your team will be more transparent and get more done.
It's easy to connect Twist + Typeform and requires absolutely zero coding experience—the only limit is your own imagination.


2019 is, according to the Chinese, the Year of the Boar.
The mischievous Miss Piggy comes in all sorts of shapes to brighten up our lives, her curly tail proudly erect. Such a year stands for diligent diligence, generosity, purpose, calm, hyper-humanism and a sense of responsibility. Nature will flourish again in 2019, thanks to man, who opts for more life hygiene: the "forest pool" is becoming hip now that we are going to re-evaluate silence. In the post truth society, connectivity is the new religion and offline life is new luxury. We sing more often, alone or together, and strengthen our immune system by regularly fasting. Underground media and the dark web get more stature.
Interest rates are rising and there will be children's bonds and crypto coins based on diamonds, art objects and other valuable items. Parallel economies are emerging. In marketing we go from why to woke. Solar activity influences the economy and the confidence crisis in society moves from lower to higher classes. Warmism and climate change lead to an increase in energy prices and energy blackouts.
Italy dominates the euro news, Trumpism becomes socially acceptable, the danger of Erdoganism becomes clearer and forced diversity leads to new apartheid and virtue in this Age of Kali. In the narco state of the Netherlands, the underworld and upper world become more intertwined. There is competition for champagne, we drink a glass of vinegar and a bottle of probiotics, we become aware of our reptile brain and of the freedom illusion in the digital age. The victim feminism and the toxic identity policy, which I and victimism promotes, lose power. Over tourism is being pushed back across Europe.


text:
Rory Little Criminal Law
Posted Mon, March 21st, 2016 11:06 am
Argument preview: A "clean" constitutional question – does the speedy trial right apply to sentencing?
Posted Mon, March 21st, 2016 11:06 am by Rory Little
The Sixth Amendment provides various rights for "all criminal prosecutions." Among those listed is "the right to a speedy and public trial." Next Monday, March 28, in Betterman v. Montana, the Court will consider whether the "speedy" part of the right applies to a criminal defendant's sentencing that happened about fourteen months after he was convicted by guilty plea. The briefing in the case is very good, and Betterman is represented by an experienced appellate advocate (Fred Rowley, making his first Supreme Court argument), as well as the UCLA Supreme Court Clinic. Montana's solicitor general, Dale Schowengerdt, will argue for the state, and Assistant to the U.S. Solicitor General Ginger Anders will argue on behalf of the United States as an amicus in support of Montana.
Simple facts on the basic question
On April 19, 2012, Brandon Thomas Betterman pleaded guilty in Montana state court to felony bail jumping. On June 27, 2013, a little over fourteen months later, Betterman was sentenced to seven years in prison, with four years suspended. Although both parties unsurprisingly employ some rhetorical "spin" about why it took fourteen months to impose Betterman's sentence and whose "fault" that might be, those facts seem irrelevant to the basic question presented: does the Sixth Amendment's guarantee of a "speedy" trial apply to delays in sentencing at all?
As with these basic facts, the arguments on the constitutional question are also relatively simple. Both Montana and the federal government argue from plain textual language: "trial" in the Sixth Amendment does not include sentencing, and the speedy trial is complete when the jury announces (or, as here, a court accepts on guilty plea) a conviction. While the Sixth Amendment does apply to "all criminal prosecutions," so that its other listed rights (like counsel) apply even at sentencing, the Framers expressly used a different word, "trial," to distinguish the limit of the "speedy" right.
But Betterman too has some "plain language": the Sixth Amendment says "speedy and public trial," and Betterman says that the Court has ruled previously that the right to a "public" trial includes sentencing (In Re Oliver, 1948). Surely that is the dominant view today. But the state and federal government argue that this is an over-reading of Oliver; and that in any case the functions of the two concepts (public versus speedy) are different and should be construed differently for constitutional purposes, just as the jury trial right in the Sixth Amendment has been construed differently for trials versus sentencings.
Further (and undoubtedly oversimplifying), Betterman argues that many of the purposes served by the speedy trial right apply to sentencings as well, and he argues that "the criminal system known to the Framers" involved "fixed penalties" for conviction, so that sentencings were always speedy. (On this last point, however, I invoke the author's privilege: as I have previously written, the penalties that the Framers actually wrote for federal crimes they enacted in 1790 while the Sixth Amendment was pending were, in fact, not fixed but rather indeterminate, requiring further judicial consideration.) The state counters that some purposes served by a speedy trial are very different than those served by sentencing. And both the state and the federal government provide detailed historical arguments counterposed to Betterman's.
Montana and the federal government further argue that, because past cases have said that the remedy for a speedy trial violation is dismissal of the charges, the speedy trial guarantee cannot apply to sentencing, since by that time the charges have been proved and dismissal would be a nonsensical remedy. Betterman argues persuasively, however, that different and lesser remedies (such as sentence reductions or credit for time served) could easily be formulated when a sentencing is unreasonably un-speedy.
Still, on balance the prosecutors appear to have the better of the basic constitutional argument, even though the Court will have to weave its way through various precedents with language pointing on different directions. But then what, if anything, remains to attract the Court's attention? For that, we need to examine the details of the "as applied" subsidiary questions.
Subsidiary constitutional questions turn on more detailed facts.
Whichever way the basic constitutional question is decided, further "as applied" questions will remain. If the Speedy Trial Clause applies, then the question "was it violated here?" must be answered. If the Speedy Trial Clause does not apply, constitutional doctrine under the Due Process Clause still requires some analysis, and perhaps remedy, for an inordinately long delay in sentencing.
The Montana Supreme Court ruled that the Speedy Trial Clause applies only to trial, not the subsequent sentencing phase of a criminal case. Then that court also ruled that the facts here did not make out a due process violation. The Supreme Court will have to rule on that second question, one imagines, if it decides that the speedy trial right does not apply. And even if the Court decides that the speedy trial right does apply, the facts here seem simple and undisputed enough that the Court could also rule on whether it was violated here. Of course the Court can always remand, once a basic constitutional issue is settled. But because both parties present arguments on the subsidiary questions, and the facts (as opposed to "spin") seem largely undisputed, I think the Court will go on to rule on them as well.
More detail on the facts
In order to examine the underlying "was there a violation here?" questions, you have to know more facts, and space requires some generality. First, Betterman is not a completely sympathetic character; his bail-jumping charge was filed after he failed twice to appear for sentencing for felony domestic assault. When he turned himself in, he was sentenced on the assault to five years, with two of those suspended upon fulfillment of conditions. He then continued to be held in the local jail pending disposition of his new bail-jumping charge, to which he quickly pled guilty in April 2012.
There were then a few months of procedural skirmishing regarding Betterman's sentencing — and the state provides detailed arguments as to why attributing any significant delay to the state in this case is wrong. But in any case, in January 2013 (nine months after he had pled guilty), Betterman filed a motion to dismiss his bail-jumping charges, arguing that the delay in his sentencing violated his Sixth Amendment right. Some months after, Betterman alleged "prejudice": that being kept in a jail pending sentencing, rather than being sentenced to prison, interfered with his ability to engage or complete certain rehabilitative programs necessary to fulfil his prior sentencing conditions; blocked his sentencing terms on both sets of charges (domestic assault and bail-jumping) from running concurrently; and was causing him mental and physical distress.
Indicating some shared concern, in March 2013 the state and Betterman filed a joint request to schedule sentencing. But the state court indicated that its civil caseload prevented it from proceeding more quickly. Finally in June, some fourteen months after his guilty plea, Betterman was sentenced. The trial judge ordered consecutive, rather than concurrent, time and did not give him credit on the bail-jumping sentence for the time he had spent in jail prior to sentencing, because that time (the judge said) was attributable to the prior assault sentence.
Applying due process principles under Montana state law as well as United States v. Lovasco (1977), the Montana Supreme Court ruled that the sentencing delay here was "unacceptable" but not purposeful, and that Betterman's claims of prejudice were "speculative" and not substantial. Thus there was no due process violation — and the Sixth Amendment (and the arguably stricter speedy trial analysis of Barker v. Wingo (1972)) did not apply.
Both sides now argue that they should win under either analysis: the Speedy Trial or the Due Process Clauses. Montana argues that no violation is made out on these facts under either analysis, while Betterman argues that he should win under both. Meanwhile, there is a theoretically significant difference between the two analyses: Lovasco and Marion (due process) require "actual" and "substantial" prejudice to the defendant from delay; while Barker and Doggett (speedy trial) do not require "affirmative proof of particularized prejudice" once an unreasonable and unjustified delay is shown. If the Justices are interested in the subsidiary "as applied" questions – and again, I think they will want to settle this case finally rather than prolong it on remand – we might expect some relatively detailed fact questions on both sides.
"Clean" constitutional cases like this one are relatively rare, and they can provide a relaxing intellectual "break" from the complex statutory and doctrinal cases the Justices spend much of their time on these days. So it may not be surprising to see some Justices actively engaged and having "fun" at argument on this one. But I am betting that while they may possibly be divided, they will not find it difficult or bitter to decide.
Posted in Betterman v. Montana, Featured, Merits Cases
Recommended Citation: Rory Little, Argument preview: A "clean" constitutional question – does the speedy trial right apply to sentencing?, SCOTUSblog (Mar. 21, 2016, 11:06 AM), https://www.scotusblog.com/2016/03/argument-preview-a-clean-constitutional-question-does-the-speedy-trial-right-apply-to-sentencing/

redpajama_set_name: RedPajamaCommonCrawl


Following Google's public release of their new programming language, Google 'Go' myself and Daniel, Technical Director here at web hosting firm 34SP.com, decided that it would not only be cool to do a little research into this new language, but also to share that research with our customers by setting-up a brand new VPS template, pre-installed with Go, ready for rapid development testing!
To make use of the new VPS template, you'll need to purchase a new VPS (of any size) and select your Operating System as 'Go Development'. Note that you will have to select '0' under 'Plesk Licenses' before you're able to change the Operating System – we cannot currently provide this template in conjunction with Plesk licenses.
The Go Development VPS template is currently built upon a 64-bit image of Ubuntu Server 9.04, using the latest (as of Friday 12th of November) build of Go and includes a sample 'Hello World' script in the /root directory, ready to build.
If you see the same output, 'hello, world'; it's working! You're now free to explore the world of Google Go and begin creating your very own .go files for compilation.
Of course, Google Go is still under considerable development. Those of you wishing to continue your testing and development with the latest improvements to Go, will soon wish to update and re-compile their Go installation. The following instructions should help you achieve this goal.
Upon running this script, the compiler will begin updating your installation of Go – this will take a short while and produce plenty of output. If for any reason this fails, please copy the last 10-20 lines of the output into an e-mail, and fire it off to support@34sp.com, explaining the steps that you took to achieve this output.
Of course, any bleeding-edge development code can often fail to build, therefore we can only offer advice on how to remedy build problems with Go – we cannot support the debugging of the Go source code in-house.
As ever, here at 34SP.com we're eager to hear about any feedback from our customers and Go development with our VPS products is no exception. Enjoy!


POST ARCHITECTS is a Baton Rouge based full-service commercial architecture firm with nearly 50 years of continuous architectural practice. The firm was founded in 1968 by Raymond "Skipper" Post, Jr. FAIA, and it continues today under his guidance with Lisa H. Nice, AIA, joining the firm as a partner in 2008. This longevity and knowledge base has enabled the firm's ability to execute specialized architectural and master planning projects throughout South Louisiana.
Our design portfolio includes projects in the following categories: CIVIC (libraries, judicial, governmental facilities, theaters, convention centers, etc.), ECCLESIASTICAL, EDUCATION (early learning to higher education), RESIDENTIAL (multi-family), HEALTHCARE, MASTER PLANNING, OFFICE/RETAIL and RECREATION. Project types include a range from small scale graphic design, to large scale master planning, new construction, renovations/additions, historical renovations, high-rise and all types in between. Our master planning projects include church and school campuses, commercial developments, healthcare facilities, as well as projects on an urban scale, like the very successful Louisiana State Capitol Park Master Plan.