text:
Q: Can't join @Controller and Thymeleaf view At startup, the spring application works with view, but the html code is highlighted in red when it is written, respectively, it is not convenient to look for errors in html, here are photos and code of html and the controller:
(https://i.stack.imgur.com/RDPvL.png)
(https://i.stack.imgur.com/Bm1vQ.png)
package com.nikita.al_fp.controllers;

import com.nikita.al_fp.entity.Book;
import com.nikita.al_fp.entity.Person;
import com.nikita.al_fp.service.BookService;
import com.nikita.al_fp.service.PersonService;
import com.nikita.al_fp.util.BookValidator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.*;
import javax.validation.Valid;

@Controller
@RequestMapping("/book")
public class BookController {

    private final BookValidator bookValidator;
    private final PersonService personService;
    private final BookService bookService;
    public static final String BOOK_REDIRECT_PAGE = "redirect:/book";

    @Autowired
    public BookController(BookValidator bookValidator, PersonService personService, BookService bookService) {
        this.bookValidator = bookValidator;
        this.personService = personService;
        this.bookService = bookService;
        personService.startProgramProcessPerson();
        bookService.startProgramProcessBook();
    }

    @GetMapping
    public String selectBook(Model model) {
        model.addAttribute("books", bookService.findAll());
        return "/book/select_book";
    }
}

<!DOCTYPE html>

    <meta charset="UTF-8">
    <title>Select Book</title>

    book

Add book

Show User List

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>3.0.1</version>
        <relativePath/>
    </parent>
    <groupId>com.nikita</groupId>
    <artifactId>al_fp</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <name>al_fp</name>
    <description>Demo project for Spring Boot</description>
    <properties>
        <java.version>17</java.version>
    </properties>
    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-jpa</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-thymeleaf</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

        <dependency>
            <groupId>org.postgresql</groupId>
            <artifactId>postgresql</artifactId>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>javax.validation</groupId>
            <artifactId>validation-api</artifactId>
            <version>2.0.1.Final</version>
        </dependency>

    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <excludes>
                        <exclude>
                            <groupId>org.projectlombok</groupId>
                            <artifactId>lombok</artifactId>
                        </exclude>
                    </excludes>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>

I tried to find a solution on the Internet, unsuccessfully, but views work when app runned

redpajama_set_name: RedPajamaStackExchange


text:
When does a car crash result in blunt force trauma injuries?
On Behalf of Killackey Law Offices, APC | Aug 20, 2021 | Car Accidents
If there's one detail most of us know about car crashes, it's that a person's life as they knew it could change in an instant. While many individuals walk away from crashes unscathed, others suffer debilitating injuries or die.
One injury that individuals suffer in car accidents that can be particularly catastrophic is blunt force trauma. It may be impossible for someone who suffers this type of injury to return to life as they once knew it after it occurs.
How is a blunt force injury different from other types?
Blunt force injuries can result from various incidents, including falls, assaults, contact sports and car crashes. In the case of the latter, this type of injury is most apt to result from an accident in which a motorist was traveling at a high rate of speed.
A motorist can suffer single-source or multiple-source impact injuries when the force of a crash propels their body forward. A driver's body may collide with the dashboard, windshield or steering wheel due to the impact of a crash. A seat belt may cause internal organ damage as it tightens around the body of the person it's holding in place. Secondary contact may occur as a motorist crashes into additional objects, cars or people.
Injuries consistent with blunt force trauma incidents
Blunt force trauma injuries often result in:
Contusions, abrasions and lacerations
Crush injuries that may necessitate amputation
Head injuries and associated brain damage
Spinal cord injuries leading to paralysis
Internal organ damage.
The severity of an accident victim's injuries isn't always apparent. That's why patients must receive medical attention to assess them for injuries that aren't yet apparent as well.
Blunt force injuries can be costly to treat, given their severity. Patients who are fortunate enough to survive such injuries may require consistent follow-up care throughout their lives, something that increases a patient's financial burden. You may be able to recover compensation to cover these expenses in your case.

redpajama_set_name: RedPajamaCommonCrawl


text:
Haaretz | Archaeology
What May Be World's First Furnace From 6,500 Years Ago Found in Israel
Ore for the large-scale copper production in Be'er Sheva Valley came from Jordan, likely attesting to trade – and jealously guarded manufacturing secrets
Ruth Schuster
Get email notification for articles from Ruth Schuster Follow
Copper smelting workshop, Be'er Sheva.Credit: Talia Abulafia/Israel Antiquities Authority
Over 10,000 years ago, peoples around the Mediterranean basin were hammering unheated rock rich in pretty green copper ore and making objects with it: beads, pendants and other small ornaments. After thousands of years of hammering, people began heating tiny amounts of copper ore in small clay pots called crucibles, producing metal. Now, Israeli archaeologists report on evidence of the next stage: a furnace smelting, dating to about 6,500 years ago in Be'er Sheva – using ore imported from Wadi Faynan in Jordan, more than 100 kilometers distant.
The discovery of fragments of furnaces, crucibles and slag from a big copper smelting workshop at the Horvat Beter archaeological site was reported by Prof. Erez Ben-Yosef, Dana Ackerfeld, Omri Yagel of Tel Aviv University, Dr. Yehudit Harlavan of of the Geological Survey of Israel and Talia Abulafia, Dmitry Yegorov and Yael Abadi-Reiss of the Israel Antiquities Authority and colleagues in the Journal of Archaeological Science: Reports.
The team isn't asserting that furnace smelting was invented in the Be'er Sheva Valley or even the southern Levant, but that their find, a fixed (immovable) furnace made of clay built into the ground, is one of the earliest of its kind. Others from the era have also been found in the Be'er Sheva area. The workshop employed a sophisticated two-stage process: furnace-based primary smelting of the rock, followed by further melting or refining of the metal in crucibles.
The furnace technique could produce larger amounts of product compared with wee crucibles, but note ye that it still didn't have any pragmatic application – if only because copper is too malleable.
"They say necessity is the mother of invention," Ben-Yosef tells Haaretz. "We need a better weapon so we invent a new material. But the story of metal shows it isn't necessarily so." Metal might have filled a need, but it wasn't a material one, rather something more esoteric. "It started with an aesthetic. For thousands of years the use of metals was nonfunctional, not to do with material improvement," he says.
Copper slag found at the Neveh Noy excavation.Credit: Anat Rasiuk/Israel Antiquities Authority
He also believes that the development and progress of metallurgy didn't happen by chance. "They were the result of prehistoric R&D by groups of people as curious as we are today, investing time. Scientific exploration wasn't invented today – it's human nature," Ben-Yosef says. "Human nature is to be curious and to explore. Society encouraged them to explore, to find new cool stuff."
The primal technique of crucible smelting involved putting bits of copper ore into a small clay pot, adding charcoal, and igniting it to melt the copper out of the rock. The pot wasn't covered. The embryonic metallurgist would blow air into it to raise the temperature, Ben-Yosef explains: "It was a kind of very small portable furnace." The earliest evidence of crucible smelting was found in Anatolia and Iran, dating to the late sixth millennium B.C.E.
Archaeologists May Have Deduced Exactly How Big a Biblical 'Handbreadth' Is
CSI Expert Helps Archaeologists Nail Writers of 2,600-year-old Letters
Israelis Invent Disgusting but Effective New Way to Date Ancient Ruins
The earliest furnace was slightly bigger and was a fixed structure, not a portable one, built into the ground with an elevated rim, he explains.
Selected copper objects from a ritual hoard found at Nahal Mishmar.Credit: The Israel Museum, Jerusalem / Elie Posner
Not all scholars agree that the advance from a portable tiny crucible to a fixed slightly bigger furnace was a huge step forward, he adds, but leaving the nomenclature of the step aside – technically, a furnace is a big crucible stuck in the ground, he sums up.
So the crucibles and the furnace were both made of pottery. The ore has to be heated to at least 1,200 degrees Celsius to melt out the copper, Ben-Yosef says. Asked about the melting temperature of the pottery vessels, he explains that the ancients tempered the clay (adding other substances) to make it more heat-resistant. Indeed, much investment in R&D was likely made, given that the technique of potting had only reached the Levant one or two thousand years before this advent of metallurgy.
Elaborating on the R&D aspect, Ben-Yosef stresses that you can't just take copper ore, throw it onto an open fire and expect anything much to happen. It's not hot enough. A bonfire on the beach may reach 500 degrees Celsius, which isn't even halfway to copper melting temperature. You need to control the oxygen flow, he explains.
Excavating the copper manufacturing site.Credit: Anat Rasiuk/Israel Antiquities Authority
These early metallurgists in the Be'er Sheva Valley and the southern Levant in general are associated with the so-called Ghassulian culture of the Chalcolithic period, which existed about 6,500 to 5,800 years ago and spanned from the Upper Galilee and Golan in the north to the Judean Desert and the northern Negev in the south. The Ghassulian culture still used stone tools for everyday use, and also smelted copper – which at least some of them crafted magnificently. In 1961, archaeologists discovered a cache of gorgeous copper statuettes, bowls and other artifacts in a cavern overlooking Nahal Mishmar, a stream that flows into the Dead Sea that dated to about 6,500 years ago.
So from the primordial stage of banging a rock and winding up with a pretty shiny substance that could be hung from the neck, the Be'er Sheva find indicates that by around 6,500 years ago, there was a high degree of craft specialization, the team suggests. That speaks to the social organization of the people living in the region.
How likely is the Be'er Sheva furnace to be the first-ever? Maybe earlier ones will be found one day – Ben-Yosef notes that the evidence of ancient metal production is very fragmented and easy to miss. In any case, the consensus among researchers is that metallurgy was invented once and then spread, and that it wasn't a case of convergent evolution. "After hundreds of years of making pottery and plaster, they had the background," he says. "The R&D people were on the threshold of this invention and once invented there was a constant effort to improve the technology, to make bigger quantities in each smelting cycle, to make the process more efficient. The technological evolution varies by region. After several hundred years of using crucibles, some places introduced furnaces, possibly in Be'er Sheva for the first time. Then they spent thousands of years perfecting the technique."
Prof. Erez Ben-Yosef, Tel Aviv University.Credit: Tel Aviv University
By the time of the so-called King Solomon's Mines in Timna 3,000 years ago, the technology was almost unrecognizable. If a crucible could produce perhaps 20 to 30 grams of copper in each smelting cycle of three to four hours, an Iron Age smelting furnace could produce several hundred grams – larger by an order of magnitude.
Finally, isotopic analysis nailed down the source of the ore the ancient Be'er Shevans were smelting to Jordan. One wonders why the furnace wasn't built by the mine. The answer likely lies in trade – and secrecy. The inventors or possessors of the breakthrough technique were guarding it as jealously as we guard industrial secrets today.
Talia Abulafia, excavation director at the Israel Antiquities Authority.Credit: Emil Aladjem / Israel Antiquities Authority
Israel archaeology
Sensitive and Vulnerable: Neanderthals May Not Have Been That Different From Us
Archaeologists Discover Ancient Moat Carved Into Jerusalem Bedrock
Armageddon Time: How Discoveries at Megiddo Retell the Story of Ancient Israel
Archaeologists Find Exotic Imports in Trash Pile on 'Israeli Silk Road'
Two 3,800-year-old Cuneiform Tablets Found in Iraq Give First Glimpse of Hebrew Precursor


only the metre for musical thought.
emotions, using the intellect as a medium only.
because of their material character.
resources that tonal science offers.
one's knowledge of these structural laws.
fearlessness. Each must possess clearly defined individuality.
God, and which has been nurtured by conditions of life.
such modifications as will adapt it to the character of our schemes.
such action would result in malformations.
justifiable freedom, is musical symmetry.
succession of the finished picture, is the problem that so few solve.
startling us with uncommon combinations, however crude and irrelevant.
tone pictures, is possessed by few composers of any given generation.
elements, illuminating but a small field.
susceptibilities are sufficiently acute to feel its influence.
opinion entertained by cultured and honest critics.
are sympathetic, causing them to emit consonant sounds.
elements in art be diverse.
a painter, a sculptor, or a musician can endow his productions.
of demarcation which separates logical terseness from redundancy.
are the fruits of suggestiveness.
experience demanded by a symphony, are the supreme tests of a composer.
understanding, joined its episodes and given them importful continuity.
to the subject and to us.
undivided attention to the subject in hand.
and those who cannot acquire it have no reason for discouragement.
composed–to each other and to the key.


Your freezer is an invaluable resource for storing delicious and healthy foods to have handy for last-minute meals and snacks.
The freezer is also a great location for stockpiling those frozen fruits and vegetables that go on sale at your local grocery store.
But… before restocking your freezer, take inventory now. Discard unrecognizable items, foods with freezer burn, old food, and unhealthy food.
Buying healthy foods for your freezer helps you to cook healthy, eat healthy, and live well.
Here are seven foods to keep as a back-up in your freezer.
The staff of life is such a daily staple that running out often means a special trip to the grocery store. If you always keep a few loaves in the freezer you'll never run out again. Frozen sliced bread can be toasted without thawing. If you want a regular sandwich the slices thaw in just minutes on the countertop.
This is just as nutritious as fresh – and it's perfect for smoothies and desserts. Use frozen fruit instead of fresh fruit and you won't have to add ice to your smoothie. Shop for frozen fruits when it's off season to stock up and save money.
Nuts add a nice crunch to salads, vegetable side dishes, and desserts when used in moderation, but they can go rancid fast. Storing them in the freezer helps keep them longer as well as keep them out of sight if they are too much a temptation to have on hand.
While just as nutritious as fresh, frozen vegetables are super convenient. With ready-to-steam bags, all you have to do is take them out of the freezer and put them in the microwave for a couple minutes. No washing, prepping or cutting -- a real time saver.
A full variety of meats store well in the freezer and are at your disposal for a fast, filling meal in no time. Freeze fish and other perishable meat items immediately after purchase to keep them fresh-tasting come mealtime.
These nutrition-packed patties are full of flavor and healthy ingredients. Simply heat in the microwave and enjoy as a snack. They even come in vegan varieties and different flavors. For you meat-eaters who get the craving, look no further. These are delicious and hearty and pack just 100 calories or so per patty. Just be sure not to go overboard with toppings.
You can now find these soy kernels in the freezer case of just about any supermarket. Microwave or boil them for a few minutes and serve them lightly salted. These buttery soy kernels are nutritious and surprisingly fun to eat. Kids love them, too!
Inventory your freezer (and refrigerator) on a regular basis. Throw out old and unidentifiable food, packages of partially used or outdated foods. Remember: When in doubt, throw it out!
Replenish with fresh meat and frozen food packages. Wrap meat in individual servings in plastic wrap, place in freezer bags, and clearly mark the bag with contents and date.
When adding new items to the freezer use the FIFO method -- First In, First Out – to rotate items. Put new items behind older ones. It is best to have only three rotations of food in the cycle.


This post is part of a paid sponsorship 3M Window Film. All opinions are my own.
As a family, we spend a lot of time in our vehicles. Between work, errands and plenty of road trips, we're in our cars almost as much as we're in our house. One thing we don't often think about is how the rays of the sun can affect the interior of our cars and even us while we are in our vehicles.Thankfully there is a way to safely protect your family and your vehicle's interior from the sun's UV rays – with 3M™ Automotive Window Film.


text:
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Remoting;
using System.Security;
using System.Security.Permissions;
using System.Security.Policy;

namespace Gallio.Loader.Isolation
{
    /// <summary>
    /// The Gallio.Loader.Isolation namespace provides support for using
    /// Gallio runtime services in an isolated AppDomain of the current proces.
    /// </summary>
    [CompilerGenerated]
    class NamespaceDoc
    {
    }

    /// <summary>
    /// Provides a mechanism for wrapping exceptions as <see cref="ServerException"/>s
    /// before they cross a remoting boundary to avoid trying to serialize exception
    /// types that may not exist remotely.
    /// </summary>
    internal static class ServerExceptionUtils
    {
        /// <summary>
        /// Wraps an exception as a <see cref="ServerException" />.
        /// </summary>
        /// <param name="ex">The exception.</param>
        /// <returns>The wrapped exception.</returns>
        /// <exception cref="ArgumentNullException">Thrown if <paramref name="ex"/> is null.</exception>
        public static ServerException Wrap(Exception ex)
        {
            if (ex == null)
                throw new ArgumentNullException("ex");

            ServerException serverException = ex as ServerException;
            if (serverException != null)
                return serverException;

            return new ServerException(ex.ToString());
        }
    }

    /// <summary>
    /// An isolated environment provides access to an instance of the Gallio loader
    /// inside an isolated AppDomain.  The AppDomain will be unloaded when the
    /// isolated environment is disposed.
    /// </summary>
    /// <seealso cref="IsolatedEnvironmentManager"/>
    internal interface IIsolatedEnvironment : IDisposable
    {
        /// <summary>
        /// Gets the AppDomain of the isolated environment.
        /// </summary>
        /// <exception cref="ObjectDisposedException">Thrown if the isolated environment has been disposed.</exception>
        AppDomain AppDomain { get; }

        /// <summary>
        /// Gets a proxy for the loader within the isolated environment.
        /// </summary>
        /// <exception cref="ObjectDisposedException">Thrown if the isolated environment has been disposed.</exception>
        ILoader Loader { get; }
    }

    /// <summary>
    /// The isolated environment manager creates AppDomains within the current
    /// process with an appropriate application base directory and assembly resolver
    /// for interacting with Gallio runtime services.
    /// </summary>
    internal static class IsolatedEnvironmentManager
    {
        /// <summary>
        /// Creates an isolated environment for Gallio in a new AppDomain of this process.
        /// The AppDomain will be unloaded when the isolated environment is disposed.
        /// Uses the <see cref="DefaultRuntimeLocator"/>.
        /// </summary>
        /// <returns>The isolated environment.</returns>
        /// <exception cref="LoaderException">Thrown if the environment could not be created.</exception>
        public static IIsolatedEnvironment CreateIsolatedEnvironment()
        {
            return CreateIsolatedEnvironment(new DefaultRuntimeLocator());
        }

        /// <summary>
        /// Creates an isolated environment for Gallio in a new AppDomain of this process.
        /// The AppDomain will be unloaded when the isolated environment is disposed.
        /// </summary>
        /// <param name="runtimeLocator">The runtime locator.</param>
        /// <returns>The isolated environment.</returns>
        /// <exception cref="ArgumentNullException">Thrown if <paramref name="runtimeLocator"/> is null.</exception>
        /// <exception cref="LoaderException">Thrown if the environment could not be created.</exception>
        public static IIsolatedEnvironment CreateIsolatedEnvironment(RuntimeLocator runtimeLocator)
        {
            if (runtimeLocator == null)
                throw new ArgumentNullException("runtimeLocator");

            string runtimePath = runtimeLocator.GetValidatedRuntimePathOrThrow();

            AppDomainSetup appDomainSetup = new AppDomainSetup();
            appDomainSetup.ApplicationName = "Gallio";
            appDomainSetup.ApplicationBase = runtimePath;
            Evidence evidence = AppDomain.CurrentDomain.Evidence;
            PermissionSet defaultPermissionSet = new PermissionSet(PermissionState.Unrestricted);
            StrongName[] fullTrustAssemblies = new StrongName[0];
            AppDomain appDomain = AppDomain.CreateDomain(appDomainSetup.ApplicationName, evidence,
                appDomainSetup, defaultPermissionSet, fullTrustAssemblies);

            return InternalCreateIsolatedEnvironment(appDomain, runtimePath);
        }

        /// <summary>
        /// Creates an isolated environment for Gallio in an existing AppDomain of this process.
        /// The AppDomain will be unloaded when the isolated environment is disposed.
        /// </summary>
        /// <param name="appDomain">The AppDomain in which to create the isolated environment.</param>
        /// <param name="runtimeLocator">The runtime locator.</param>
        /// <returns>The isolated environment.</returns>
        /// <exception cref="ArgumentNullException">Thrown if <paramref name="appDomain"/>
        /// or <paramref name="runtimeLocator"/> is null.</exception>
        /// <exception cref="LoaderException">Thrown if the environment could not be created.</exception>
        public static IIsolatedEnvironment CreateIsolatedEnvironmentInExistingAppDomain(
            AppDomain appDomain, RuntimeLocator runtimeLocator)
        {
            if (appDomain == null)
                throw new ArgumentNullException("appDomain");
            if (runtimeLocator == null)
                throw new ArgumentNullException("runtimeLocator");

            string runtimePath = runtimeLocator.GetValidatedRuntimePathOrThrow();
            return InternalCreateIsolatedEnvironment(appDomain, runtimePath);
        }

        private static IIsolatedEnvironment InternalCreateIsolatedEnvironment(AppDomain appDomain, string runtimePath)
        {
            Type initializerType = typeof(IsolatedInitializer);
            Assembly initializerAssembly = initializerType.Assembly;

            IsolatedInitializer initializer;
            try
            {
                try
                {
                    initializer = (IsolatedInitializer)
                        appDomain.CreateInstanceAndUnwrap(initializerAssembly.FullName, initializerType.FullName);
                }
                catch (Exception)
                {
                    string initializerAssemblyPath = LoaderUtils.GetAssemblyPath(initializerAssembly);
                    initializer = (IsolatedInitializer)
                        appDomain.CreateInstanceFromAndUnwrap(initializerAssemblyPath, initializerType.FullName);
                }
            }
            catch (Exception ex)
            {
                throw new LoaderException("Failed to load the loader into the remote AppDomain.", ex);
            }

            var environment = new IsolatedEnvironment(appDomain, runtimePath, initializer);
            environment.Initialize();
            return environment;
        }

        private sealed class IsolatedEnvironment : IIsolatedEnvironment, ILoader
        {
            private AppDomain appDomain;
            private IsolatedInitializer initializer;
            private string runtimePath;

            public IsolatedEnvironment(AppDomain appDomain, string runtimePath, IsolatedInitializer initializer)
            {
                this.appDomain = appDomain;
                this.runtimePath = runtimePath;
                this.initializer = initializer;
            }

            public AppDomain AppDomain
            {
                get
                {
                    ThrowIfDisposed();
                    return appDomain;
                }
            }

            public ILoader Loader
            {
                get
                {
                    ThrowIfDisposed();
                    return this;
                }
            }

            public string RuntimePath
            {
                get
                {
                    ThrowIfDisposed();
                    return runtimePath;
                }
            }

            public void Dispose()
            {
                runtimePath = null;
                initializer = null;

                if (appDomain != null)
                {
                    AppDomain.Unload(appDomain);
                    appDomain = null;
                }
            }

            private void ThrowIfDisposed()
            {
                if (initializer == null)
                    throw new ObjectDisposedException("The isolated environment has been disposed.");
            }

            public void Initialize()
            {
                try
                {
                    initializer.Initialize(runtimePath);
                }
                catch (Exception ex)
                {
                    throw UnwrapException(ex);
                }
            }

            public void SetupRuntime()
            {
                try
                {
                    initializer.SetupRuntime();
                }
                catch (Exception ex)
                {
                    throw UnwrapException(ex);
                }
            }

            public void AddHintDirectory(string path)
            {
                try
                {
                    initializer.AddHintDirectory(path);
                }
                catch (Exception ex)
                {
                    throw UnwrapException(ex);
                }
            }

            public T Resolve<T>()
            {
                throw new NotSupportedException("Not supported for isolated environments.");
            }

            public object Resolve(Type serviceType)
            {
                throw new NotSupportedException("Not supported for isolated environments.");
            }

            private Exception UnwrapException(Exception ex)
            {
                if (ex is ServerException)
                    throw new LoaderException(ex.Message);
                return new LoaderException("Failed to perform operation in isolated environment.", ex);
            }
        }

        private sealed class IsolatedInitializer : MarshalByRefObject
        {
            public void Initialize(string runtimePath)
            {
                try
                {
                    LoaderManager.Initialize(new ExplicitRuntimeLocator(runtimePath));
                }
                catch (Exception ex)
                {
                    throw ServerExceptionUtils.Wrap(ex);
                }
            }

            public void SetupRuntime()
            {
                try
                {
                    LoaderManager.Loader.SetupRuntime();
                }
                catch (Exception ex)
                {
                    throw ServerExceptionUtils.Wrap(ex);
                }
            }

            public void AddHintDirectory(string path)
            {
                try
                {
                    LoaderManager.Loader.AddHintDirectory(path);
                }
                catch (Exception ex)
                {
                    throw ServerExceptionUtils.Wrap(ex);
                }
            }

            public override object InitializeLifetimeService()
            {
                return null;
            }
        }
    }
}

redpajama_set_name: RedPajamaGithub


text:
Defining down prosperity
I'm starting to have a sick feeling about prospects for American workers — but not, or not entirely, for the reasons you might think.
Yes, growth is slowing, and the odds are that unemployment will rise, not fall, in the months ahead. That's bad. But what's worse is the growing evidence that our governing elite just doesn't care — that a once-unthinkable level of economic distress is in the process of becoming the new normal.
And I worry that those in power, rather than taking responsibility for job creation, will soon declare that high unemployment is "structural," a permanent part of the economic landscape — and that by condemning large numbers of Americans to long-term joblessness, they'll turn that excuse into dismal reality.
Not long ago, anyone predicting that one in six American workers would soon be unemployed or underemployed, and that the average unemployed worker would have been jobless for 35 weeks, would have been dismissed as outlandishly pessimistic — in part because if anything like that happened, policy makers would surely be pulling out all the stops on behalf of job creation.
But now it has happened, and what do we see?
First, we see Congress sitting on its hands, with Republicans and conservative Democrats refusing to spend anything to create jobs, and unwilling even to mitigate the suffering of the jobless.
We're told that we can't afford to help the unemployed — that we must get budget deficits down immediately or the "bond vigilantes" will send U.S. borrowing costs sky-high. Some of us have tried to point out that those bond vigilantes are, as far as anyone can tell, figments of the deficit hawks' imagination — far from fleeing U.S. debt, investors have been buying it eagerly, driving interest rates to historic lows. But the fearmongers are unmoved: fighting deficits, they insist, must take priority over everything else — everything else, that is, except tax cuts for the rich, which must be extended, no matter how much red ink they create.
The point is that a large part of Congress — large enough to block any action on jobs — cares a lot about taxes on the richest 1 percent of the population, but very little about the plight of Americans who can't find work.
Well, if Congress won't act, what about the Federal Reserve? The Fed, after all, is supposed to pursue two goals: full employment and price stability, usually defined in practice as an inflation rate of about 2 percent. Since unemployment is very high and inflation well below target, you might expect the Fed to be taking aggressive action to boost the economy. But it isn't.
It's true that the Fed has already pushed one pedal to the metal: short-term interest rates, its usual policy tool, are near zero. Still, Ben Bernanke, the Fed chairman, has assured us that he has other options, like holding more mortgage-backed securities and promising to keep short-term rates low. And a large body of research suggests that the Fed could boost the economy by committing to an inflation target higher than 2 percent.
But the Fed hasn't done any of these things. Instead, some officials are defining success down.
For example, last week Richard Fisher, president of the Federal Reserve Bank of Dallas, argued that the Fed bears no responsibility for the economy's weakness, which he attributed to business uncertainty about future regulations — a view that's popular in conservative circles, but completely at odds with all the actual evidence. In effect, he responded to the Fed's failure to achieve one of its two main goals by taking down the goalpost.
He then moved the other goalpost, defining the Fed's aim not as roughly 2 percent inflation, but rather as that of "keeping inflation extremely low and stable."
In short, it's all good. And I predict — having seen this movie before, in Japan — that if and when prices start falling, when below-target inflation becomes deflation, some Fed officials will explain that that's O.K., too.
What lies down this path? Here's what I consider all too likely: Two years from now unemployment will still be extremely high, quite possibly higher than it is now. But instead of taking responsibility for fixing the situation, politicians and Fed officials alike will declare that high unemployment is structural, beyond their control. And as I said, over time these excuses may turn into a self-fulfilling prophecy, as the long-term unemployed lose their skills and their connections with the work force, and become unemployable.
I'd like to imagine that public outrage will prevent this outcome. But while Americans are indeed angry, their anger is unfocused. And so I worry that our governing elite, which just isn't all that into the unemployed, will allow the jobs slump to go on and on and on.
It's witch hunt season
Visit msnbc.com for breaking news, world news, an...
This is not a recovery
Native Americans in Arizona Vow to Deport All Non-...
Council attorney was out of line
On Homeland Security, Or, We Visit A Terrorist Gat...
IN State Education Dept. needs to address its own ...
WORKPLACE DISCRIMINATION: WE GIVE A DAMN
On Saving Us From The Immoral, Or "Ready, Fire…Aim!"
On Online Brainstorming, Or, "Hey, Unions...Wanna ...
Headlines... As Obama Touts Private-Sector, Big B...
Christian Charity Raising Money To Feed Non-Gay F...
On Saving 319,000 Jobs, Or, Legislation Keeps Teac...
Common Dreams 8/7
Ameica goes dark
US SCHOOLS FACE PERFECT STORM
On Organized Fearmongering Revealed, Or, "Lock Up ...
The audacity of dopes
Prop 8 Preview: The "Basis" Is The Thing
Geoffrey Nunberg on Sarah Palin's latest - and as...
Current South Bend Council will never do the right...


Back in the day when Crop Circle Nirvana was a website rather than a blog, we had a feature named 'Hold On A Minute', featuring some of our favourite 'you what, mate? What in hell's name are you on about!?' cerealogical moments. You can read the original posts here and here. Though it sometimes seems as if our whole blog has turned into a 'you what?' catalogue, we've decided to resurrect the feature. Here are a few things that have caught our eye recently. The first is courtesy of Red Collie, aka Horace Drew, the second from Randell Sarneel. If anybody can explain what in sweet baby Jeez' name either of these two gentlemen is on about, we'd be grateful.
This entry was posted in 2015 Jun 15 South Newton, 2015 Jun 24 Amesbury, 2015 May 24 Manton, Horace Drew, Randell Sarneel, Red Collie on July 12, 2015 by poppy amersham.


text:
Serving Seniors Provides 1.7 Million Meals to Fight Food Insecurity One Year Since COVID-19 Shutdown Order
SAN DIEGO, Calif. – One year ago, on March 12, 2020, Serving Seniors was ordered to shut down one of its core services to impoverished San Diego county seniors. As the largest provider of meals to San Diego County's older adults, it could no longer keep its 11 congregate meal sites open due to the public health crisis.
Virtually overnight, Serving Seniors rapidly responded to the urgent health and nutritional needs of San Diego County's low-income seniors impacted by COVID-19, creating a new program from scratch to provide home-delivered and to-go meals for clients.
As a result, average meals provided per week increased from 13,511 pre-COVID to 33,131 meals provided per week, an increase of nearly 145%. The total number of meals served in the past 12 months surged to 1.7 million meals served to 5,467 clients in response to the increased calls from seniors seeking assistance.
Chief Operating Officer Melinda Forstey took on the daunting challenge of designing a new full-scale home delivery program on overnight.
"Where there is a need, we must find a way," said Forstey. "We know two in five older adults in San Diego County can't afford basic rent, food, transportation, or healthcare. We couldn't let them go hungry and threaten their ability to remain independent because of the pandemic."
New program delivers nutritious meals on 26 delivery routes
Nutrition Program staff manage the client roster, including information on dietary restrictions or health challenges. Menus are developed monthly in collaboration with County of San Diego registered dieticians, and meal-preparation contractor Trio Community Meals.
All meals are prepared fresh daily each morning in the Serving Seniors Potiker Family Residence kitchens in the East Village. Serving Seniors drivers deliver the meals to homes on 26 delivery routes throughout the county, as well as distribution hubs in Oceanside and in the South Bay area of San Diego. Deliveries take place Monday through Friday, with additional meals provided Thursday and Friday to cover the weekend.
To-go meals are also available at Serving Seniors in downtown San Diego, and the Oceanside Senior Center. Meals are served 365 days a year.
"You never know what you're capable of achieving until you face a crisis like this one," said Serving Seniors CEO Paul Downey. "Thanks to our incredibly dedicated and capable team, we did not miss a single day of providing meals to our clients during the last year.
"One year later, we have the opportunity to assess the lasting impact and long-term implications for seniors and for programs and services needed when things return to 'normal.' Once we receive clear guidance from the CDC regarding indoor activities, we anticipate opening our service sites later this year. We remain focused for now on the safety of our clients who are mostly at high-risk for serious outcomes from COVID-19. But we are also acutely aware of the mental health implications of the long-term isolation," said Downey.
Once a client starts receiving meals, a Serving Seniors case manager meets with each person to determine whether any other services or resources might benefit them, providing an additional outreach opportunity to low-income and homeless seniors.
The Senior Nutrition Program is staffed with a team of 39 employees including a food service director, site coordinators, a home-delivered meals manager, and food service workers and drivers. Food Service Director Dianne Sanders has 28 years of experience implementing and managing Serving Seniors' nutrition programs.
As the largest provider of meals to San Diego County older adults, Serving Seniors has provided nutritious congregate meals since its inception in 1970, and home-delivered meals for over 30 years. To date, Serving Seniors has provided over 13 million meals to an estimated 58,000 San Diego County seniors.
About Serving Seniors
Founded in 1970, Serving Seniors is a 501(c)(3) nonprofit organization based in San Diego, California, dedicated to serving low-income adults aged 60 and over. A leader in senior advocacy and programming, Serving Seniors has created an innovative model of comprehensive services including nutritional meals, housing, health and social services and lifelong learning opportunities to hundreds of seniors in need. It is the largest provider of meals to seniors in San Diego County, and one of the only organizations in the nation providing such a robust range of services to vulnerable, at-risk older adults.
Serving Seniors President and CEO Paul Downey has been instrumental in the organization's growth over the past 25+ years. Since being appointed the role in 1995, Downey has guided the nonprofit's innovative efforts to provide supportive services focused on keeping low-income seniors healthy and independent.


The Experience — Fresno's M.E.A.L.
What participants have to say about the experience.
"It was one of the most rewarding experience I've had in a long time! Loved it!"
"I remember walking up to a lady who had a limp. A fellow volunteer and I gave her a meal but she denied it because she said she didn't have any money. We told her they were free. She gave us a face like we just told her she won the lottery. I'll never forget that moment because not only was it a meal, we gave hope, happiness and joy."
"The beauty of smiles that would show on the faces of people receiving a meal <3"
"Hearing my second grade Girl Scout Brownies say how fun it was to help made them feel great afterwards. They'd like to help again!"
"Seeing faces light up when they realize all you want to do is give them something. Priceless."
"Listening to our son go on and on about how important it is to treat people with kindness. He had such a great time and started telling everyone about Fresno's M.E.A.L."
"My first meal that I gave to someone was to a woman pushing a cart. I asked if she would like to have a meal. She touched my hand, looked into my eyes and said thank you. I was filled with hope that I can make a difference."
"Fresno's M.E.A.L. is a great concept, done with real heart. It was a great experience to participate in."
"Working as a team, being organized, making new friend. It was the first time doing such a heartwarming deed :)"
"The vibe and people are all memorable. Fresno's M.E.A.L. is a great group of people coming together for a great cause."


text:
Q: Best way to load a file (not a python module) relative to sys.path I'd like to load a file from somewhere in the python path (sys.path), in a similar way as you can do in java with Class.getResourceAsStream(). This file is not a python module, but I happen to (ab)use python packaging for a repo that basically contains a collection of JSON files.
So, to be clear, the packaged data contains no python except for a setup.py file. It's an egg with no python inside.
The project that uses the packaged data is the one with python code.
I use pip install -e <the git URL> to install the package. It ends up in my virtual environment at <env_path>/src/<repo>. This location appears as one of the entries in sys.path.
Is there a simple-ish library call that lets me find the absolute path to one such file, without me having to search for the file by looping through sys.path?
Something like:
path = find_in_sys_path('campaigns/get.json')

...whatever find_in_sys_path should actually be called.

A: Checkout setuptools https://pythonhosted.org/setuptools/pkg_resources.html#resourcemanager-api
import pkg_resources
my_data = pkg_resources.resource_string(__name__, "campaigns/get.json")

A: After reading @larsmans comment, I realised that although my egg-packaged data contains no python module that I can use as a reference to load a resource, I can easily locate its absolute path from sys.path with something like:
path = filter(lambda x: 'rbx-api-mocks' in x, sys.path)[0]
# rbx-api-mocks is the "egg name"

That I can later use to build the path to the resource with:
resource = os.path.join(path, 'campaigns', 'campaign', 'query.json')

I will probably end up going for that.


"FLY high my beautiful baby boy. Until we meet again, we love you."
Those were the words of Maria Reynders as she addressed hundreds of mourners gathered this morning to farewell her son Nyles who was tragically killed in a crash on New Year's Eve.
Nyles, 21, died in hospital after his car crashed into a tree on Blackall Range Rd, West Woombye about 8.50pm.
The SPAR Palmwoods staffer had finished work and was driving the short commute home so he could celebrate the new year.
His tragic death marked the 16th fatal crash on Sunshine Coast roads in 2018, and the third in less than two days.
Nyles was remembered as a fun-loving son, brother and friend who always had a smile on his face.
Nyles Reynders, 21, died in hospital on January 1 after his car crashed into a tree on New Year's Eve.
His parents, Maria and Leo, welcomed Nyles' friends and family to a colourful celebration of his life at the White Lady Funeral chapel at Nambour.
Guests were asked to wear slogan t-shirts or colourful outfits, to represent Nyles' "huge collection of terrible slogan t-shirts".
There was no shortage of tears or laughter as those who knew Nyles best spoke of happy memories and heartbreaking loss.
Burnside State High School chaplain Matt Brady spoke lovingly about Nyles and the Reynders family before welcoming Mrs Reynders to the podium.
"For the Reynders family, knowing that Nyles was loved and respected by so many helps them to deal with this difficult and horrific reality they are facing today," Mr Brady said.
"As parents, we read in the media about so many tragedies that unfold on our roads involving young people. We hope, and some of us pray, that this will never happen to one of ours, and then it does."
He said children weren't meant to leave this world before their parents, and when they did the grief was almost too unbearable to manage for family left behind.
Mrs Reynders said Nyles, one of eight siblings, was an "incredibly independent child".
She spoke of the shock and sadness after her family learned that Nyles had lost control of his car when coming home from work.
"He did everything in his power to stop the accident from happening," she said.
"Unfortunately he was unable to, and silently slipped from this life to the next at 12.30pm on January 1, surrounded by his brothers, sisters and closest friends and partner."
Mrs Reynders thanked those who stayed with Nyles after the crash, paying tribute to emergency service workers who gave the family much-needed support.
"Knowing you were there has brought us a great deal of comfort and peace," she said.
"Also thank you to emergency services, who have been so supportive.
"These people deal with horrendous things over the course of their jobs, but still make time to give out family support."
Speaking to the crowded chapel, Mrs Reynders thanked everyone who had come to "share in this celebration of Nyles' short life".
His partner, Tayla, received a special mention, with Mrs Reynders' thanking her for the love and support she showed her baby boy.
"Thank you for making our son so happy. He loved you so very much," she said.
As a mother struggling to find the words to say goodbye to her son, Mrs Reynders wanted other parents to cherish every moment they had.
"Our children are our greatest achievement. So go home, hold your child tight ... tell them you love them and how proud you are of them, because as they say there is no tomorrow in heaven," she said.
In a heart-felt letter read in front of her son's casket, Mrs Reynders was brought to tears.
"With tears running down my face, knowing that we'll never hold you again, never hear your voice," she said.
"My heart shatters with unbearable pain. There is no answer, just heartbreak and sadness.
"You will always live on in your brothers and sisters and those who followed you. You will live on in our hearts and our minds.
"We will love you today and tomorrow, always."