text:
Property Clinic
All Life & Style
Get Running
Summer of Family
The Health Centre
New to the Parish
Generation Emigration
Returning to Ireland
Sustainable Ireland
Women's Podcast
Ross O'Carroll-Kelly
One of Ireland's biggest estates gears up for €8 million sale
Kilcooley in Tipperary was bought from Nama on 220 acres in 2013 for €2.1 million
Thu, Oct 15, 2015, 00:00
Michael Parsons
A Northern Ireland businessman is hoping to carry off what has to be the biggest post-bust property flip yet with the launch to the international market of a Tipperary estate on 1,263 acres with a selling price of €8 million.
Newry man Tommy (Tom) O'Gorman purchased 18th century mansion Kilcooley Estatefrom Nama just two years ago on 220 acres for €2.1 million.
He subsequently bought back, for a sum understood to be about €1.5 million, the freehold on Kilcooley's 950 acres of forestry, that had been leased to Coillte.
Now, two years later – with no further investment in the house or the surrounding land – his decision to sell the 35,000sq ft/325sq m mansion at the heart of 1,263 acres of land, by private treaty, through joint agents Sherry FitzGerald and Christie's International, for €8 million, makes his total investment of €3.6 million look like quite the bargain.
The mansion has been unoccupied for a decade and is in urgent need of attention – so cue a budget of perhaps €2 million and a small army of conservation architects, craftsmen, stone masons and stuccodores.
But the essentials of grandeur are still intact, from parquet floors to plasterwork ceilings, original fireplaces and Victorian kitchens.
Ornamental lake
To the rear there's a really wonderful view of a ruined 12th century Cistercian abbey, now a national monument and under the care of the OPW.
It's Kilcooley's huge landholding that's likely to attract most interest. It is exceptionally rare for an estate of this size to come up on the market in Ireland.
Of the 1,263 acres, some 190 acres of parkland surround the house and is laid out in pasture and farmed; 950 acres is devoted to commercial revenue generating forestry; the remainder is made up of pleasure grounds, the farmstead, roadways and the lake.
Kilcooley was built in the late 18th century by the aristocratic Barker family, barons from Essex who came to Ireland and were granted – or rather, grabbed – vast tracts of land and decided to create "as fine and elegant a private gentleman's seat as any in Europe".
Their descendants, the Ponsonby family, lived there until 2004. The estate was then sold to Castleway International, a property development company, in 2008 for about €6 million. Plans to develop the estate never materialised and Kilcooley couldn't escape falling under the control of Nama.
The State agency then sold it to Mr O'Gorman in 2013 for a reputed €2.1 million.
The address is Thurles, 20km away, but the nearest town, just a few minutes drive, is Urlingford, across the border in Co Kilkenny and, crucially, beside Junction 4 on the Dublin-Cork M8 motorway.
The nearest village is Gortnahoe, Co Tipperary, site of a monument to Wellington's victory at Waterloo, erected by Kilcooley's gentry 200 years ago – but now better known as the birthplace of a more contemporary hero, last week's man of the moment, Republic of Ireland footballer Shane Long.
International interest
One of its chief attractions for the privacy-obsessed super-rich is that it has, "uniquely, in an Irish context" retained its original demesne walls and is surrounded by almost nine kilometres of "high, natural stone boundary walls".
Extensive outbuildings include attractive original cut-stone stables and coach houses, an octagonal Victorian dairy, an ice-house, sunken garden terraces, follies and five staff lodges.
A network of internal roads, topped with hard core, provides good access throughout the estate.
The story goes that in the mid 19th century, Sir William Ponsonby-Barker, master of the grand Kilcooley estate, in a bid to counter the perishing cold in the house "took a human hot water bottle to bed each night, chosen from among the female servants", according to David Hicks, author and expert on the history of the Irish "Big House".
There was no suggestion of impropriety and the aristocrat's motives were, apparently, purely eco-friendly.
But, one memorable night, Sir William awoke suffocating from the "powerful stench" of body odour emanating from a "sleeping beauty".
He got up in the dark to fetch a scent bottle and liberally sprinkled the oblivious maiden.
The next morning, he was startled to discover that the poor woman was blue in the face – but not from the cold. In the dark, he had accidentally picked up an inkwell rather than the eau-de-cologne.
Almost 200 years later, Kilcooley is still perishing. Here's a house in urgent need of human warmth and extensive refurbishment – not least a 21st century heating system.
Tommy (Tom) O'Gorman
David Hicks
William Ponsonby Barker
Coillte
National Asset Management Agency
Christie's International Real Estate
Castleway International
Sherry FitzGerald
Urlingford
Gortnahoe
Kilcooley estate
Easy elegance in Ballsbridge for €1.6m
New Homes: Autumn off to a brisk start
New homes: Latest Gannon scheme in Clongriffin
Clever redesign with starlight views in Portobello
What sold for about €790,000 in Dublin and Louth
Victorian gate lodge in the heart of Dublin 4 for €750,000
Escape to the country... through the pages of a design book
Goodbye Yew Grove Reit, investors barely knew you
Daniel O'Donnell's former Donegal home goes sale agreed
What sold for about €600,000 in Dublin and Waterford
From builder in Birmingham to blade-smith in Kilkenny
What will €350,000 buy in Dublin and Wexford?
Property Clinic: 'Our neighbour is blocking our driveway'
What will €225,000 buy in France, Malta, Romania, Norway and Donegal?
Take5: A hideaway in Romania or a chateau apartment needing renovation in France
2:30 €2.25 million for solicitor Gerald Kean's home in Wicklow
3:49 Identical twins look back on 'wonderful' childhood in a Kilkenny castle
1:22 Luxury rental apartments launched in Hanover Quay, Dublin
2:48 €3 million for Ballsbridge home full of unusual architectural detail
7:29 A personal tour through Michael Flatley's mansion
I keep making my wife cry and I don't know why, or how to help
How to take a better photo with a phone. First, clean your lens


Dining Table Walmart dining table walmart dining room sets walmart furniture. dining table walmart dining room tables walmart dining table walmart dining table set dining room. dining table walmart dining room sets walmart table. Dining Table Walmart dining table walmart kitchen dining furniture walmart sets. dining table walmart kitchen dining furniture walmart. dining table walmart remarkable walmart dining room table ideas 3d house designs table. Dining Table Walmart dining table walmart kids table chair sets walmart ideas.
Dining Table Walmart dining table walmart dining room tables walmart dining table walmart dining table set dining room. dining table walmart dining room sets walmart table. dining table walmart kitchen dining furniture walmart sets. dining table walmart kitchen dining furniture walmart. dining table walmart remarkable walmart dining room table ideas 3d house designs table.


Both fast and slow versions of shipping global goods give a strong hint of a global economic slowdown. These facts are contrary to the general economic message being spread from mainstream corporate media and even Donald Trump (everything is fine—the economy is good and getting better).
FedEx Express just reported a bad last quarter and will have the weakest year of earnings growth since fiscal 2010.
FedEx Express financials are worthy of attention due to their market size and global economic reach.
The Baltic Dry Index (BDI) is a measure of what it costs to ship raw materials—like iron ore, steel, cement, coal and so on—around the world. Steep falls in price indicate falling demand for raw materials worldwide–notice the drop during the last year.
Prices to ship basic materials for creating goods have fallen steeply over the last year.


text:
Q: How to remove invalid code points from a string? I have a routine that needs to be supplied with normalized strings.  However, the data that's coming in isn't necessarily clean, and String.Normalize() raises ArgumentException if the string contains invalid code points.
What I'd like to do is just replace those code points with a throwaway character such as '?'.  But to do that I need an efficient way to search through the string to find them in the first place.  What is a good way to do that?
The following code works, but it's basically using try/catch as a crude if-statement so performance is terrible.  I'm just sharing it to illustrate the behavior I'm looking for:
private static string ReplaceInvalidCodePoints(string aString, string replacement)
{
    var builder = new StringBuilder(aString.Length);
    var enumerator = StringInfo.GetTextElementEnumerator(aString);

    while (enumerator.MoveNext())
    {
        string nextElement;
        try { nextElement = enumerator.GetTextElement().Normalize(); }
        catch (ArgumentException) { nextElement = replacement; }
        builder.Append(nextElement);
    }

    return builder.ToString();
}

(edit:) I'm thinking converting the text to UTF-32 so that I could quickly iterate over it and see if each dword corresponds to a valid code point.  Is there a function that will do that?  If not, is there a list of invalid ranges floating around out there?

A: I went ahead with the solution hinted at in the edit.
I couldn't find an easy-to-use list of valid ranges in the Unicode space; even the official Unicode character database was going to take more parsing than I really wanted to deal with.  So instead I wrote a quick script to loop over every number on the range [0x0, 0x10FFFF], convert it to a string using Encoding.UTF32.GetString(BitConverter.GetBytes(code)), and try .Normalize()ing the result.  If an exception is raised, then that value is not a valid code point.
From those results, I created the following function:
bool IsValidCodePoint(UInt32 point)
{
    return (point >= 0x0 && point <= 0xfdcf)
        || (point >= 0xfdf0 && point <= 0xfffd)
        || (point >= 0x10000 && point <= 0x1fffd)
        || (point >= 0x20000 && point <= 0x2fffd)
        || (point >= 0x30000 && point <= 0x3fffd)
        || (point >= 0x40000 && point <= 0x4fffd)
        || (point >= 0x50000 && point <= 0x5fffd)
        || (point >= 0x60000 && point <= 0x6fffd)
        || (point >= 0x70000 && point <= 0x7fffd)
        || (point >= 0x80000 && point <= 0x8fffd)
        || (point >= 0x90000 && point <= 0x9fffd)
        || (point >= 0xa0000 && point <= 0xafffd)
        || (point >= 0xb0000 && point <= 0xbfffd)
        || (point >= 0xc0000 && point <= 0xcfffd)
        || (point >= 0xd0000 && point <= 0xdfffd)
        || (point >= 0xe0000 && point <= 0xefffd)
        || (point >= 0xf0000 && point <= 0xffffd)
        || (point >= 0x100000 && point <= 0x10fffd);
}

Note that this function isn't necessarily great for general-purpose cleanup, depending on your needs.  It does not exclude unassigned or reserved code points, just ones that are specifically designated as 'noncharacter' (edit: and some others that Normalize() seems to choke on, such as 0xfffff).  However, these seem to be the only code points that will cause IsNormalized() and Normalize() to raise an exception, so it's fine for my purposes.
After that, it's just a matter of converting the string to UTF-32 and combing through it.  Since Encoding.GetBytes() returns a byte array and IsValidCodePoint() expects a UInt32, I used an unsafe block and some casting to bridge the gap:
unsafe string ReplaceInvalidCodePoints(string aString, char replacement)
{
    if (char.IsHighSurrogate(replacement) || char.IsLowSurrogate(replacement))
        throw new ArgumentException("Replacement cannot be a surrogate", "replacement");

    byte[] utf32String = Encoding.UTF32.GetBytes(aString);

    fixed (byte* d = utf32String)
    fixed (byte* s = Encoding.UTF32.GetBytes(new[] { replacement }))
    {
        var data = (UInt32*)d;
        var substitute = *(UInt32*)s;

        for(var p = data; p < data + ((utf32String.Length) / sizeof(UInt32)); p++)
        {
            if (!(IsValidCodePoint(*p))) *p = substitute;
        }
    }

    return Encoding.UTF32.GetString(utf32String);
}

Performance is good, comparatively speaking - several orders of magnitude faster than the sample posted in the question.  Leaving the data in UTF-16 would presumably have been faster and more memory-efficient, but at the cost of a lot of extra code for dealing with surrogates.  And of course having replacement be a char means the replacement character must be on the BMP.
edit: Here's a much more concise version of IsValidCodePoint():
private static bool IsValidCodePoint(UInt32 point)
{
    return point < 0xfdd0
        || (point >= 0xfdf0
            && ((point & 0xffff) != 0xffff)
            && ((point & 0xfffe) != 0xfffe)
            && point <= 0x10ffff
        );
}

A: It seems like the only way to do it is 'manually' like you've done. Here's a version that gives the same results as yours, but is a bit faster (about 4 times over a string of all chars up to char.MaxValue, less improvement up to U+10FFFF) and doesn't require unsafe code. I've also simplified and commented my IsCharacter method to explain each selection:
static string ReplaceNonCharacters(string aString, char replacement)
{
    var sb = new StringBuilder(aString.Length);
    for (var i = 0; i < aString.Length; i++)
    {
        if (char.IsSurrogatePair(aString, i))
        {
            int c = char.ConvertToUtf32(aString, i);
            i++;
            if (IsCharacter(c))
                sb.Append(char.ConvertFromUtf32(c));
            else
                sb.Append(replacement);
        }
        else
        {
            char c = aString[i];
            if (IsCharacter(c))
                sb.Append(c);
            else
                sb.Append(replacement);
        }
    }
    return sb.ToString();
}

static bool IsCharacter(int point)
{
    return point < 0xFDD0 || // everything below here is fine
        point > 0xFDEF &&    // exclude the 0xFFD0...0xFDEF non-characters
        (point & 0xfffE) != 0xFFFE; // exclude all other non-characters
}

A: http://msdn.microsoft.com/en-us/library/system.char%28v=vs.90%29.aspx should have the information that you are looking for when referring to the list of valid/invalid code points in C#. As to how to do it, it would take me a bit to formulate a correct response. That link should help you get started though.

A: I like Regex approach the most
public static string StripInvalidUnicodeCharacters(string str)
{
    var invalidCharactersRegex = new Regex("([\ud800-\udbff](?![\udc00-\udfff]))|((?<![\ud800-\udbff])[\udc00-\udfff])");
    return invalidCharactersRegex.Replace(str, "");
}

redpajama_set_name: RedPajamaStackExchange


Anchored by a Super Target, this 380,000 sq. ft. mall with big box and in-line retailers has significant frontage along Interstate 580. The monument sign stands 99 feet tall. The Master Signage Program includes directional and directory signage as well as tenant standards. In addition to design and documentation, GNU secured all approvals from the City of Dublin for the variances to their sign ordinance.


Our BASIN summer campers took the "Living with Water is fun" message to the evening news, painting rain barrels with Green Light New Orleans.
The program aims to improve properties to handle storm water.
Mayor Cantrell joined New Orleans Redevelopment Authority officials in Gentilly to announce a new program that aims to help low to moderate income homeowners improve their properties to handle storm water.
The new Community Adaptation Program allows the opportunity for Gentilly homeowners to receive grants up to $25,000 to improve their properties in an effort to reduce rainfall runoff. Owners must qualify for the grants based on income, must reside in their home and be insured.
Also available through the program are rain barrels and gardens, storm water planter boxes, detention basins, planting trees, reducing the cement coverage on lots and infiltration trenches.
Council member-at-Large Helena Morena and Council member Jared Brossett both believe the CAP program will make a difference.
"We can no longer rely on a pumping system alone to mitigate the effects of rainwater. This Community Adaptation Program is a very welcome initiative. It demonstrates that every single resident should be playing a role in this effort," Morena said.
"With a focus on individual homes, the CAP is a significant project for our city and this great neighborhood. Through its implementation we can create sustainable neighborhoods for generations to come," Brossett said.
CAP is a part of the $141.3 million United States Department of Housing and Urban Development National Disaster Resilience Competition grant.
NORA will hold a free community workshop about CAP on Saturday, July 21 at Dillard University's Georges Auditorium from 10 a.m. to noon. The workshop is open to the public and will provide information about the CAP process and eligibility.


This is a placeholder page for Charles Mccracken, which means this person is not currently on this site. We do suggest using the tools below to find Charles Mccracken.
You are visiting the placeholder page for Charles Mccracken. This page is here because someone used our placeholder utility to look for Charles Mccracken. We created this page automatically in hopes Charles Mccracken would find it. If you are not Charles Mccracken, but are an alumni of Canisius High School, register on this site for free now.


text:
The Conveying Islamic Message Society ('Jamʿiyyat Tablīgh al-Islām', or CIMS) is one of the oldest Islamic non-government organizations in the world, and is especially interested in Islamic missionary activity, or daʿwah. The 'call to Islam' has always been its main priority, and it directs its mission to both Eastern and Western audiences. Now operating from its headquarters in Alexandria, Egypt, it was founded in 1929 in Baden, Switzerland, by an Egyptian engineer called Muḥammad Tawfīq Aḥmad (1902–1991) who was pursuing his studies in Europe. This young Egyptian from the city of Faiyum has an interesting biography: from childhood he was interested in interreligious issues and attended both local Islamic and Christian schools. Though his close ties with Christians angered his family (his father even expelled him from the house), later in life he made calling others to Islam his main goal. Already during the 1920s, while living in Cairo, Muḥammad Tawfīq Aḥmad had started to publish his own newspaper, al-Taqwā ('Piety'), taking on for himself and his associates the name Jamāʿat al-Waʿẓ al-Islāmī ('The Society of Islamic Preaching'). Later, during three years of study abroad in Switzerland, Muḥammad Tawfīq Aḥmad started to publish small pamphlets on Islam in German and English. Using the name Dār Tablīgh al-Islām ('Conveying Islamic Message House'), he also printed posters to promote 'knowledge of Islam' among Europeans, displaying them in public places like railway stations. In his memoirs he also tells stories about people who converted to Islam as a result of his distribution of Qur'an translations. For example, according to one such account, a local family in Basel became Muslims after reading a German translation of the Qur'an. During the early 1930s, he pursued a rather innovative approach to daʿwah based on printing and sending books by mail to non-Muslim readers. After his return to Egypt in the mid-1930s, Muḥammad Tawfīq Aḥmad also established a journal named al-Barīd al-Islāmī ('The Islamic Post'). While living in Cairo, he also finally founded the CIMS, later relocating it to Alexandria, where it is currently based.
Ever since it was first established, Conveying Islamic Message Society has sent out works of Islamic literature all over the world, and it is nowadays also active online: its website, Islamic-message.net, advertises many titles in more than a hundred languages. CIMS usually sends books out free of charge, and most of the material they produce is a reproduction of things that have already been published by other organizations. For example, CIMS has reprinted many books and pamphlets that were originally issued by the University of Al-Azhar, as well as by private publishers based in Egypt and Saudi Arabia; priority has historically been given to stories about 'new Muslims' (converts), and the production of small brochures on Islamic history, doctrine, rituals etc. CIMS has also published a lot on the compatibility of Islam and science (in the form of pamphlets that present arguments that Qur'an 'confirms' the findings of modern geology, astronomy and biology etc.) as well as a great deal of polemical literature, on subjects such as explaining Islam to Christians. In the 1970s and 1980s, CIMS also printed the works of al-Mawdūdī in translation into English, Spanish and other languages (under the title 'Fundamentals of Islam').
Printing and distributing translations of the Qur'an also seems to be part of CIMS' activities. Since CIMS has never been especially active in producing any new translations, it usually publishes translations that already have an established reputation. Their current strategy appears to be to republish translations that have already been printed by the King Fahd Qur'an Printing Complex (KFQPC). Since 2000, as far as I can discern, CIMS has republished copies of Qur'an translations into German (Bubenheim-Elyas), Russian (Kuliev) and Italian (Picardo), all of which are reproductions of KFQPC editions. In addition to printing translations of the entire Qur'an, CIMS has also reproduced the final, thirtieth, section of the Qur'an, the juzʾ ʿammā, of these interpretations and distributed it (along with various other books) to different Islamic centers, libraries and individuals outside Egypt. Moreover, CIMS has made the interesting choice to printing one particular sura, Sūrat Maryam (Q. 19), as a separate pamphlet in English (using the Hilālī-Khān translation) and German (from the Bubenheim-Elyas translation). The rationale behind this was probably to appeal to Christians by presenting the Qur'anic perspective on the Virgin Mary.
In addition, another CIMS-run website, https://islamic-invitation.com/, provides access to 136 translations of the Qur'an into dozens of languages. Thus, a society with quite a long history, CIMS was among the first Islamic organizations to use Qur'an translations for missionary purposes, years before it became a mainstream endeavor for many other publishers. The CIMS has also become a point of connection for various private and official initiatives from all over the Islamic world, promoting a broad approach when it comes to Islamic missionary work, that includes both Salafi and mainstream Sunni works.

redpajama_set_name: RedPajamaCommonCrawl


text:
What are the best websites to watch The Masked Singer online?
This might be one of the hottest music game show in the U.S. today. And if you are a fan, we think you might've been guessing too along with Ken Jeong and the other judges. If you're wondering where to watch The Masked Singer online, take a look below for the list of websites we have curated for you!
1Hulu
Hulu is a video-on-demand service offering a huge catalog of exclusive programs, Hulu originals, and many more. It launched its live television streaming service in 2017, but it is only currently available in the United States and Japan.
2Youtube TV
YouTube TV is an online platform that streams more than 60 live and on-demand channels. It supports a limitless Cloud-based DVR of videos and works on most devices across all platforms.
3FOX
The Fox Broadcasting Company (FOX) is an American commercial broadcast television network that is a flagship property of Fox Entertainment Group, a subsidiary of 21st Century Fox. It is a brand name used by different channels around the world.
What are the best reality shows?
What are the best FOX series?
What are the best TV game shows?
"If you want to watch The Masked Singer online, then Hulu is the right place. I highly recommend this because even though I have just subscribed last week, my experience so far is great. I can watch the game show on-demand and the quality is good, though not great."
Refering to:
"I don't know why this is only third on the list when we all know that The Masked Singer is a Fox show. And if the question is how to watch FOX online, then why not the FOX official website itself is the best? :/"
"So Masked Singer is available on YouTube TV? Is this different from the traditional YouTube website? Please educate me since I am no tech-savvy. 😅"
This list is about What are the best websites to watch The Masked Singer online
1 Hulu Streaming Services 20 Paid
2 Youtube TV Streaming Services 15 Paid
3 FOX Websites 9 Free


text:
Q: Visual Studio 2022 Remote Testing Windows CTC1015 invalid volume specification I am using Visual Studio 2022 17.3.3 and have configured Remote Testing to use a docker image. When I switch over the remote environment in 'Test Explorer' I get the following error:
Docker remote environment is starting using image 'pbagent:17.0.06'.
Connected to test environment 'Docker dotnet/sdk'
Microsoft.VisualStudio.Containers.Tools.Common.ContainerToolsException: Docker command failed with exit code 1.
Error response from daemon: invalid volume specification: 'c:\program files\microsoft visual studio\2022\enterprise\common7\ide\commonextensions\microsoft\testwindow\RemoteAgent:/mnt/testwindowremoteagent/:ro'
If the error persists, try restarting Docker Desktop.
   at Microsoft.VisualStudio.Containers.Tools.Common.Client.DockerClient.ReportDockerCommandFailed(CommandLineResult result, String errorCode, String telemetrySafeArguments)
   at Microsoft.VisualStudio.Containers.Tools.Common.Client.DockerClient.<CreateContainerAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.TestWindow.Host.TestPlatformProviders.DockerTestPlatformProvider.<ActivateSessionAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.TestWindow.Host.TestPlatformAgentPool.<>c__DisplayClass24_0.<<CreateRemoteAgentAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.TestWindow.Utilities.EventPumpExtensions.<>c__DisplayClass4_0`1.<<EnqueueAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.TestWindow.Host.TestPlatformProvider.<UpdateRuntimeEnvironmentsAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.TestWindow.Logging.ILoggerExtensions.<CallWithCatchAsync>d__11`1.MoveNext()
Error code: CTC1015
Severity: Error
Command line: docker container create -t -v "c:\program files\microsoft visual studio\2022\enterprise\common7\ide\commonextensions\microsoft\testwindow\RemoteAgent:/mnt/testwindowremoteagent/:ro" -v "c:\program files\microsoft visual studio\2022\enterprise\common7\ide\commonextensions\microsoft\testwindow\VsTest:/mnt/vstest/:ro" -v "C:\repos\nf\Platform.AssetDataCollector\:/mnt/approot/" -p 63959:63959 pbagent:17.0.06
Command exit code: 1
Command output:
Command error: Error response from daemon: invalid volume specification: 'c:\program files\microsoft visual studio\2022\enterprise\common7\ide\commonextensions\microsoft\testwindow\RemoteAgent:/mnt/testwindowremoteagent/:ro'

I have tried restarting both Visual Studio and Docker Desktop (as suggested in the output log), I am running Visual Studio as an Administrator.
I believe that Visual Studio is trying to mount the source directory inside the container but Docker is failing with error CT1015.
My testEnvironments.json is:
{
  "version": "1",
  "environments": [
    // See https://aka.ms/remotetesting for more details
    // about how to configure remote environments.
    //{
    //  "name": "WSL Ubuntu",
    //  "type": "wsl",
    //  "wslDistribution": "Ubuntu"
    //},
    {
      "name": "Docker dotnet/sdk",
      "type": "docker",
      "dockerImage": "pbagent:17.0.06"
    }
  ]
}


As the financial crisis continues in Puerto Rico, record breaking numbers of the island's residents are leaving in order to find better opportunities in the continental United States. Puerto Rico has lost nine percent of its population since 2000. The U.S. Commonwealth's population accelerated its decline dramatically since 2010, dropping to 3.5 million from 3.8 million in 2004.
The population shift has been so terrible for the island that only one of its 78 municipalities has registered any significant population growth since 2000. Over 40 percent of emigrants suggested that the main reason many Puerto Rican are leaving is economic necessity. The second reason most emigrants cited was family unification which accounted for 39 percent.
With Puerto Rico in the midst of such a major debt crisis and at the risk of defaulting on its massive $73 billion in bonds in the coming week many in congress are hard at work to find a way to help soften the blow for the island. The House has begun work on a bill to assist the commonwealth in restructuring its debt. Also the Supreme Court is preparing to hear a case on how bankruptcy laws may apply for the island.
By federal law, Puerto Rico is not allowed to declare Chapter 9 bankruptcy, which is a procedure that is used by many municipalities and states in the United States to restructure their debts. There is a local law that allows the island to restructure its debt which will be the main point of focus and contention that the Supreme Court will hear in the coming weeks.
The great influx of Puerto Rican migration has changed the demographic makeup of many states, but one in particular is Florida. The Sunshine State's Puerto Rican population have more than doubled since 2000 and now is the place of residence for more than one million Puerto Ricans. As a result of Puerto Rican being U.S. born citizens this has changed the political landscape as well in the state. Even with the fact that Puerto Ricans being U.S. citizens they may only vote in presidential elections if they reside in the continental United States.


text:
Almost every kind of primeval forest and jungle found in Thailand is present in this mostly mountainous sanctuary, which is home to a large variety of wildlife, some of them very rare and endangered: wild red gaur, buffaloes, bulls, tapirs, leopards, wild elephants, bears, hornbills, deer, snakes, etc. Moreover, wild rhinoceros and tigers are also said to still roam the area. Also present are several nationally rare species of reptiles and amphibians, including the Indian Monitor, giant Asiatic toad and Asiatic giant frog. Combined, Thung Yai and Huay Kha Khaeng sanctuaries are home to 34 internationally threatened species, emphasizing it's conservation value.
Besides the large variety of wildlife, the sanctuary also boasts great abundance in flora, with the number of different botanical species outnumbering those in European forests. There are numerous species of wild orchids alone. Various rivers and streams ensure that the area remains verdant all year round.
Not only is Huay Kha Khaeng famous for its largely undisturbed primeval forest, the sanctuary is also a memorial for Seub Nakhasathien, one of the most outstanding figures in Thailand's recent history. Khun Seub was a true conservationist, protecting forests and wildlife with his life. He was the key person in making Thung Yai-Huay Kha Khaeng Wildlife Sanctuaries a World Heritage Site. On 01 September 1990, after several years of struggling against natural exploiters and paving the way to international recognition of the sanctuaries, he set up a shrine to worship the spirits of the rangers who sacrificed their lives to protect Huay Kha Kaeng Wildlife Sanctuary, and committed suicide. For more information, please visit: www.seub.or.th/seublife/seub-techique-eng.asp.
Discover Uthai Thani
Wat Khao Wong
Koh The Pho
Wat Sangkas Rattana Khiri
Wat Ubosatharam
Hup Pa Tat Cave & Valley
Ban Rai Weaving Village
Sakaekrang River
Pu Wai Cave
Thai Country Trails - Language & Travel
Tel.: +66-(0)81-842 2243
Fax: +66-(0)2-617 2724
Email: info@thaicountrytrails.com


text:
April 20, 2013	/ 0 comments
The numbers' game: we still have the Ford Focus ahead of the Toyota Corolla
I see that Toyota is upset that R. L. Polk named the Ford Focus the top-selling car in the world for 2012. Motor Trend has since reported the story as Polk naming the Focus as the top selling 'nameplate', but that hasn't stopped Toyota from throwing a wobbly.
I can't locate the Polk report on its website, but maybe it's a fair call for Toyota. Bloomberg Businessweek says that the Matrix and Auris could be counted, bumping Toyota's numbers, since they are all Corolla-based.
Ford fans, however, can say that the C-Max and Grand C-Max should form part of the total.
I'm certain that Polk would have counted the current Japanese Corollas, the E160 model, into its total, but these have a different platform altogether—they are, in fact, on the Vitz (Yaris) platform, but they were released in 2012. If we're to take Toyota's argument about cars on the same platform, then we need to subtract all its E160 Japanese sales from Polk's total and they should be grouped with the Vitz.
Since I can't find the methodology, then the jury is still out, but Toyota, of all companies, should know the nameplate argument well. It has, after all, sold very different Corollas in different parts of the world, even when we look at the previous generation. Many Asian markets had a narrower model, 1,700 mm wide, while countries like the US, Australia and New Zealand received a much wider one. However, calling them all Corolla beefs up the total. Surely it can't get upset at Ford actually selling a single car these days as the Focus, unlike the situation in the 2000s when the US and Canada had an older-platform one compared to the rest of the world?
Perhaps the people at the Best Selling Cars Blog have it right instead. I've talked to these guys about their methodology, and they typically group identical cars together (e.g. the Buick Excelle XT is counted in the Opel Astra J total, since they are the same car). There, Toyota is top dog, and the publication acknowledges that it counts Auris and Matrix (and Rumion, but at Autocade, we catalogue that as Corolla Rumion). It also counts older Corollas still being built in places such as China (BSCB notes that it includes 'Corolla IX, X, XI and Altis'), which I think should be allowed, since they were developed as Corollas. All Corolla variants total 1,097,132 versus 1,036,683 for the Ford Focus. They do, however, count the C-Max separately (130,036), but at least that's clear from their stats.
So, if we were to use comparable methodologies and allow the minivan spinoffs to be counted for both ranges, then that should show the following:
Ford Focus, plus C-Max: 1,166,719
Toyota Corolla, including Auris, Matrix and Rumion, the E160 variants based on the smaller Vitz, and all older generations still in production: 1,097,132
My impression, based only on these online data, is that Ford is on top, and the only way for Toyota to get a higher number is to count the clones in China that it officially disapproves of: the BYD F3, the BYD Surui, and the Geely Vision.—Jack Yan, Publisher, Lucire
This originally appeared as a post on Jack Yan's blog.
Jack Yan
Publisher, Lucire.
Jack YanAuthor website
2012, cars, Ford, media, Toyota
Three best friends: Thomas Salme's latest shoot
Newly launched Falvé brings a fresh quality to menswear


text:
Home > Journals > The Journal of Cardiovascular Surgery > Past Issues > The Journal of Cardiovascular Surgery 2006 April;47(2) > The Journal of Cardiovascular Surgery 2006 April;47(2):177-85
ORIGINAL ARTICLES VASCULAR SECTION
The Journal of Cardiovascular Surgery 2006 April;47(2):177-85
What is the value of available risk-scores in predicting postoperative complications after aorto-iliac surgery? A prospective non randomized study
Wolters U. 1, Mannheim S. 2, Wassmer G. 3, Brunkwall J. 2
1 Department of Vascular and Thoracic Surgery St. Katharinen Hospital Frechen, Academic Hospital University of Cologne, Cologne, Italy 2 Section of Vascular Surgery, Department of Surgery University of Cologne, Cologne, Italy 3 Institute for Medical Statistics Informatic and Epidemiology University of Cologne, Cologne, Germany
Aim. With an aging population, atherosclerotic manifestations are steadily increasing. Beside the anatomical and pathophysiological preoperative risk-factors accompanying perioperative risk-factors like patient's age, length of operation, blood loss and skill of the surgeon, all need to be accounted for when assessing the risk of morbidity and mortality after vascular surgery. The demand for cost effectiveness may make a risk-score system useful. The aim of the present study was, therefore, to prospectively apply various scoring systems in order to estimate outcome in patients undergoing aortobifemoral surgery due to arterial occlusive disease at the aorto-iliac level.
Methods. A prospective non randomized study was carried out. The SPSS 9.0 statistical package for Windows and, for nominal data, c2-tests were used to compare rates between groups. For continuous data analysis of variance (ANOVA) was performed. When appropriate, a multivariate analysis with binary-regression by Wald was used. Sensitivity and specificity was done using ROC-curves. P < 0.05 was considered significant. From May 1996 to June 2000, 107 patients were included in the study. Besides basic data, all postoperative complications were noted according to a specific definition. Four different risk-scoring systems were used: ASA-classification; the acute physiology and chronic health evaluation (APACHE-II) system; the physiological and operative severity score for enumeration of mortality and morbidity (POSSUM) classification and, finally, the simplified acute physiology score (SAPS) classification.
Results. We found no significant correlation between risk-scores and outcome. None of the scoring systems used was able to predict mortality. The independent factors that influenced the postoperative complication rate were operating time, blood loss, intraoperative assisted ventilation time and age. The endpoint using the relative operating characteristic (ROC) curves analysis was either mortality or morbidity.
Conclusion. It can be concluded that none of the systems analyzed separately was useful for determining morbidity and mortality. We still lack a system, that can be used preoperatively in an individual case and the vascular surgeon still has to build up his own clinical judgement or to transfer a clinical judgement.


Corporate governance is oriented around the values of fairness, transparency and accountability. The comprehension and measurement of these objectives is subject to the social and economic attributes of the corporate arena. Significant bodies of intellectual work have approached an assessment of corporate governance from perspectives such as differences in management practices, economic advancements, financial management, as well as regional and country constituents. But little is known about the Islamic perspective on the conceptualization, structure and practice of corporate governance.
Using standard tools of analysis, the book presents a logically consistent synthesis of key variables with critical economic reasoning. It extends the conventional scope of corporate governance to form a basis for common understanding of how it operates in the Muslim world. The book will prove useful to those who research, study and practice in this field.
Toseef Azid is Professor of Economics at the College of Business and Economics, Qassim University, Saudi Arabia. His research focuses on technological change, development economics, labour economics, Islamic economics and Islamic finance.
Ali Abdullah Alnodel is Associate Professor at the College of Business and Economics, Qassim University, Saudi Arabia. His research focuses on financial accounting and disclosure, auditing, corporate governance and Tax and Zakat.
Muhammad Azeem Qureshi is Associate Professor of Finance at Oslo Business School, Oslo Metropolitan University, Norway. His research focuses on corporate finance, social economics, Islamic banking and finance.


text:
Q: How can I install yarn on the docker environment? Now, I am trying to create the environment for Ruby on rails on docker.
I read the documents and some blogs some people wrote and tried.
But I got errors and couldn't go through with it.
It seems like that I have to install yarn in the docker environment but I don't know if I did it in a right way or not.
If anyone knows anything, please tell me.
what I wrote so far is something like this.
Dockerfile
FROM ruby:3.0.2
RUN apt-get update -qq && apt-get install -y nodejs postgresql-client

RUN mkdir /docker-test2
WORKDIR /docker-test2
COPY Gemfile /docker-test2/Gemfile
COPY Gemfile.lock /docker-test2/Gemfile.lock
RUN bundle install
COPY . /docker-test2

# Add a script to be executed every time the container starts.
COPY entrypoint.sh /usr/bin/
RUN chmod +x /usr/bin/entrypoint.sh
ENTRYPOINT ["entrypoint.sh"]
EXPOSE 3000

# Start the main process.
CMD ["rails", "server", "-b", "0.0.0.0"]

docker-compose.yml
version: "3.9"
services:
  db:
    image: postgres
    volumes:
      - ./tmp/db:/var/lib/postgresql/data
    environment:
      POSTGRES_PASSWORD: password
  web:
    build: .
    command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
    volumes:
      - .:/docker-test2
    ports:
      - "3000:3000"
    depends_on:
      - db

entrypoint.sh
#!/bin/bash
set -e

# Remove a potentially pre-existing server.pid for Rails.
rm -f /docker-test2/tmp/pids/server.pid

# Then exec the container's main process (what's set as CMD in the Dockerfile).
exec "$@"

when I tried docker-compose run the error says something like this.
    Attaching to docker-test2_db_1, docker-test2_web_1
db_1   | The files belonging to this database system will be owned by user "postgres".
db_1   | This user must also own the server process.
db_1   |
db_1   | The database cluster will be initialized with locale "en_US.utf8".
db_1   | The default database encoding has accordingly been set to "UTF8".
db_1   | The default text search configuration will be set to "english".
db_1   |
db_1   | Data page checksums are disabled.
db_1   |
db_1   | fixing permissions on existing directory /var/lib/postgresql/data ... ok
db_1   | creating subdirectories ... ok
db_1   | selecting dynamic shared memory implementation ... posix
db_1   | selecting default max_connections ... 100
db_1   | selecting default shared_buffers ... 128MB
db_1   | selecting default time zone ... Etc/UTC
db_1   | creating configuration files ... ok
db_1   | running bootstrap script ... ok
db_1   | performing post-bootstrap initialization ... ok
db_1   | syncing data to disk ... ok
db_1   |
db_1   |
db_1   | Success. You can now start the database server using:
db_1   | initdb: warning: enabling "trust" authentication for local connections
db_1   | You can change this by editing pg_hba.conf or using the option -A, or
db_1   | --auth-local and --auth-host, the next time you run initdb.
db_1   |
db_1   |     pg_ctl -D /var/lib/postgresql/data -l logfile start
db_1   |
db_1   | waiting for server to start....2021-08-30 09:03:01.284 UTC [47] LOG:  starting PostgreSQL 13.4 (Debian 13.4-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
db_1   | 2021-08-30 09:03:01.285 UTC [47] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db_1   | 2021-08-30 09:03:01.299 UTC [48] LOG:  database system was shut down at 2021-08-30 09:02:59 UTC
db_1   | 2021-08-30 09:03:01.322 UTC [47] LOG:  database system is ready to accept connections
db_1   |  done
db_1   | server started
db_1   |
db_1   | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
db_1   |
db_1   | 2021-08-30 09:03:01.497 UTC [47] LOG:  received fast shutdown request
db_1   | waiting for server to shut down....2021-08-30 09:03:01.498 UTC [47] LOG:  aborting any active transactions
db_1   | 2021-08-30 09:03:01.500 UTC [47] LOG:  background worker "logical replication launcher" (PID 54) exited with exit code 1
db_1   | 2021-08-30 09:03:01.500 UTC [49] LOG:  shutting down
db_1   | 2021-08-30 09:03:01.544 UTC [47] LOG:  database system is shut down
db_1   |  done
db_1   | server stopped
db_1   |
db_1   | PostgreSQL init process complete; ready for start up.
db_1   |
db_1   | 2021-08-30 09:03:01.627 UTC [1] LOG:  starting PostgreSQL 13.4 (Debian 13.4-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
db_1   | 2021-08-30 09:03:01.627 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
db_1   | 2021-08-30 09:03:01.627 UTC [1] LOG:  listening on IPv6 address "::", port 5432
db_1   | 2021-08-30 09:03:01.631 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db_1   | 2021-08-30 09:03:01.652 UTC [66] LOG:  database system was shut down at 2021-08-30 09:03:01 UTC
db_1   | 2021-08-30 09:03:01.671 UTC [1] LOG:  database system is ready to accept connections
db_1   |
db_1   | PostgreSQL Database directory appears to contain a database; Skipping initialization
db_1   |
db_1   | 2021-08-30 09:04:33.607 UTC [1] LOG:  starting PostgreSQL 13.4 (Debian 13.4-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
db_1   | 2021-08-30 09:04:33.607 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
db_1   | 2021-08-30 09:04:33.607 UTC [1] LOG:  listening on IPv6 address "::", port 5432
db_1   | 2021-08-30 09:04:33.611 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db_1   | 2021-08-30 09:04:33.659 UTC [27] LOG:  database system was interrupted; last known up at 2021-08-30 09:03:01 UTC
db_1   | 2021-08-30 09:04:34.659 UTC [27] LOG:  database system was not properly shut down; automatic recovery in progress
db_1   | 2021-08-30 09:04:34.676 UTC [27] LOG:  redo starts at 0/15C6DD8
db_1   | 2021-08-30 09:04:34.676 UTC [27] LOG:  invalid record length at 0/15C6E10: wanted 24, got 0
db_1   | 2021-08-30 09:04:34.676 UTC [27] LOG:  redo done at 0/15C6DD8
db_1   | 2021-08-30 09:04:34.694 UTC [1] LOG:  database system is ready to accept connections
db_1   |
db_1   | PostgreSQL Database directory appears to contain a database; Skipping initialization
db_1   |
db_1   | 2021-08-30 09:11:48.053 UTC [1] LOG:  starting PostgreSQL 13.4 (Debian 13.4-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
db_1   | 2021-08-30 09:11:48.053 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
db_1   | 2021-08-30 09:11:48.053 UTC [1] LOG:  listening on IPv6 address "::", port 5432
db_1   | 2021-08-30 09:11:48.056 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db_1   | 2021-08-30 09:11:48.105 UTC [27] LOG:  database system was interrupted; last known up at 2021-08-30 09:04:34 UTC
db_1   | 2021-08-30 09:11:49.433 UTC [27] LOG:  database system was not properly shut down; automatic recovery in progress
db_1   | 2021-08-30 09:11:49.436 UTC [27] LOG:  redo starts at 0/15C6E88
db_1   | 2021-08-30 09:11:49.436 UTC [27] LOG:  invalid record length at 0/15C6EC0: wanted 24, got 0
db_1   | 2021-08-30 09:11:49.436 UTC [27] LOG:  redo done at 0/15C6E88
db_1   | 2021-08-30 09:11:49.454 UTC [1] LOG:  database system is ready to accept connections
web_1  | => Booting Puma
web_1  | => Rails 6.1.4.1 application starting in development
web_1  | => Run `bin/rails server --help` for more startup options
web_1  | Exiting
web_1  | /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/configuration.rb:103:in `rescue in load': Webpacker configuration file not found /docker-test2/config/webpacker.yml. Please run rails webpacker:install Error: No such file or directory @ rb_sysopen - /docker-test2/config/webpacker.yml (RuntimeError)
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/configuration.rb:95:in `load'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/configuration.rb:92:in `data'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/configuration.rb:88:in `fetch'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/configuration.rb:43:in `public_path'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/configuration.rb:47:in `public_output_path'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/configuration.rb:51:in `public_manifest_path'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/manifest.rb:83:in `load'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/manifest.rb:18:in `refresh'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/commands.rb:47:in `bootstrap'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker.rb:35:in `bootstrap'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/railtie.rb:41:in `block in <class:Engine>'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/initializable.rb:32:in `instance_exec'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/initializable.rb:32:in `run'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/initializable.rb:61:in `block in run_initializers'
web_1  |        from /usr/local/lib/ruby/3.0.0/tsort.rb:228:in `block in tsort_each'
web_1  |        from /usr/local/lib/ruby/3.0.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
web_1  |        from /usr/local/lib/ruby/3.0.0/tsort.rb:431:in `each_strongly_connected_component_from'
web_1  |        from /usr/local/lib/ruby/3.0.0/tsort.rb:349:in `block in each_strongly_connected_component'
web_1  |        from /usr/local/lib/ruby/3.0.0/tsort.rb:347:in `each'
web_1  |        from /usr/local/lib/ruby/3.0.0/tsort.rb:347:in `call'
web_1  |        from /usr/local/lib/ruby/3.0.0/tsort.rb:347:in `each_strongly_connected_component'
web_1  |        from /usr/local/lib/ruby/3.0.0/tsort.rb:226:in `tsort_each'
web_1  |        from /usr/local/lib/ruby/3.0.0/tsort.rb:205:in `tsort_each'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/initializable.rb:60:in `run_initializers'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/application.rb:391:in `initialize!'
web_1  |        from /docker-test2/config/environment.rb:5:in `<main>'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
web_1  |        from /usr/local/bundle/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
web_1  |        from /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/dependencies.rb:332:in `block in require'
web_1  |        from /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/dependencies.rb:299:in `load_dependency'
web_1  |        from /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/dependencies.rb:332:in `require'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `require_relative'
web_1  |        from config.ru:3:in `block in <main>'
web_1  |        from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval'
web_1  |        from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:116:in `new_from_string'
web_1  |        from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:105:in `load_file'
web_1  |        from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:66:in `parse_file'
web_1  |        from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:349:in `build_app_and_options_from_config'
web_1  |        from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:249:in `app'
web_1  |        from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:422:in `wrapped_app'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/commands/server/server_command.rb:77:in `log_to_stdout'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/commands/server/server_command.rb:37:in `start'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/commands/server/server_command.rb:144:in `block in perform'
web_1  |        from <internal:kernel>:90:in `tap'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/commands/server/server_command.rb:135:in `perform'
web_1  |        from /usr/local/bundle/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
web_1  |        from /usr/local/bundle/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
web_1  |        from /usr/local/bundle/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/command/base.rb:69:in `perform'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/command.rb:48:in `invoke'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/commands.rb:18:in `<main>'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
web_1  |        from /docker-test2/bin/rails:5:in `<top (required)>'
web_1  |        from /usr/local/bundle/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in `load'
web_1  |        from /usr/local/bundle/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in `call'
web_1  |        from /usr/local/bundle/gems/spring-2.1.1/lib/spring/client/command.rb:7:in `call'
web_1  |        from /usr/local/bundle/gems/spring-2.1.1/lib/spring/client.rb:30:in `run'
web_1  |        from /usr/local/bundle/gems/spring-2.1.1/bin/spring:49:in `<top (required)>'
web_1  |        from /usr/local/bundle/gems/spring-2.1.1/lib/spring/binstub.rb:11:in `load'
web_1  |        from /usr/local/bundle/gems/spring-2.1.1/lib/spring/binstub.rb:11:in `<top (required)>'
web_1  |        from /docker-test2/bin/spring:10:in `require'
web_1  |        from /docker-test2/bin/spring:10:in `block in <top (required)>'
web_1  |        from <internal:kernel>:90:in `tap'
web_1  |        from /docker-test2/bin/spring:7:in `<top (required)>'
web_1  |        from bin/rails:2:in `load'
web_1  |        from bin/rails:2:in `<main>'
web_1  | /usr/local/lib/ruby/3.0.0/psych.rb:581:in `initialize': No such file or directory @ rb_sysopen - /docker-test2/config/webpacker.yml (Errno::ENOENT)
web_1  |        from /usr/local/lib/ruby/3.0.0/psych.rb:581:in `open'
web_1  |        from /usr/local/lib/ruby/3.0.0/psych.rb:581:in `load_file'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/compile_cache/yaml.rb:124:in `load_file'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/configuration.rb:97:in `load'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/configuration.rb:92:in `data'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/configuration.rb:88:in `fetch'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/configuration.rb:43:in `public_path'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/configuration.rb:47:in `public_output_path'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/configuration.rb:51:in `public_manifest_path'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/manifest.rb:83:in `load'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/manifest.rb:18:in `refresh'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/commands.rb:47:in `bootstrap'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker.rb:35:in `bootstrap'
web_1  |        from /usr/local/bundle/gems/webpacker-5.4.2/lib/webpacker/railtie.rb:41:in `block in <class:Engine>'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/initializable.rb:32:in `instance_exec'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/initializable.rb:32:in `run'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/initializable.rb:61:in `block in run_initializers'
web_1  |        from /usr/local/lib/ruby/3.0.0/tsort.rb:228:in `block in tsort_each'
web_1  |        from /usr/local/lib/ruby/3.0.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
web_1  |        from /usr/local/lib/ruby/3.0.0/tsort.rb:431:in `each_strongly_connected_component_from'
web_1  |        from /usr/local/lib/ruby/3.0.0/tsort.rb:349:in `block in each_strongly_connected_component'
web_1  |        from /usr/local/lib/ruby/3.0.0/tsort.rb:347:in `each'
web_1  |        from /usr/local/lib/ruby/3.0.0/tsort.rb:347:in `call'
web_1  |        from /usr/local/lib/ruby/3.0.0/tsort.rb:347:in `each_strongly_connected_component'
web_1  |        from /usr/local/lib/ruby/3.0.0/tsort.rb:226:in `tsort_each'
web_1  |        from /usr/local/lib/ruby/3.0.0/tsort.rb:205:in `tsort_each'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/initializable.rb:60:in `run_initializers'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/application.rb:391:in `initialize!'
web_1  |        from /docker-test2/config/environment.rb:5:in `<main>'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
web_1  |        from /usr/local/bundle/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
web_1  |        from /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/dependencies.rb:332:in `block in require'
web_1  |        from /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/dependencies.rb:299:in `load_dependency'
web_1  |        from /usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/dependencies.rb:332:in `require'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `require_relative'
web_1  |        from config.ru:3:in `block in <main>'
web_1  |        from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval'
web_1  |        from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:116:in `new_from_string'
web_1  |        from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:105:in `load_file'
web_1  |        from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:66:in `parse_file'
web_1  |        from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:349:in `build_app_and_options_from_config'
web_1  |        from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:249:in `app'
web_1  |        from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:422:in `wrapped_app'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/commands/server/server_command.rb:77:in `log_to_stdout'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/commands/server/server_command.rb:37:in `start'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/commands/server/server_command.rb:144:in `block in perform'
web_1  |        from <internal:kernel>:90:in `tap'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/commands/server/server_command.rb:135:in `perform'
web_1  |        from /usr/local/bundle/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
web_1  |        from /usr/local/bundle/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
web_1  |        from /usr/local/bundle/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/command/base.rb:69:in `perform'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/command.rb:48:in `invoke'
web_1  |        from /usr/local/bundle/gems/railties-6.1.4.1/lib/rails/commands.rb:18:in `<main>'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
web_1  |        from /usr/local/bundle/gems/bootsnap-1.8.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
web_1  |        from /docker-test2/bin/rails:5:in `<top (required)>'
web_1  |        from /usr/local/bundle/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in `load'
web_1  |        from /usr/local/bundle/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in `call'
web_1  |        from /usr/local/bundle/gems/spring-2.1.1/lib/spring/client/command.rb:7:in `call'
web_1  |        from /usr/local/bundle/gems/spring-2.1.1/lib/spring/client.rb:30:in `run'
web_1  |        from /usr/local/bundle/gems/spring-2.1.1/bin/spring:49:in `<top (required)>'
web_1  |        from /usr/local/bundle/gems/spring-2.1.1/lib/spring/binstub.rb:11:in `load'
web_1  |        from /usr/local/bundle/gems/spring-2.1.1/lib/spring/binstub.rb:11:in `<top (required)>'
web_1  |        from /docker-test2/bin/spring:10:in `require'
web_1  |        from /docker-test2/bin/spring:10:in `block in <top (required)>'
web_1  |        from <internal:kernel>:90:in `tap'
web_1  |        from /docker-test2/bin/spring:7:in `<top (required)>'
web_1  |        from bin/rails:2:in `load'
web_1  |        from bin/rails:2:in `<main>'
docker-test2_web_1 exited with code 1

I found someone saying that I have to install webpacker first so I tried something like this. docker-compose run web bundle exec rails webpacker:install and errors says
Yarn not installed. Please download and install Yarn from https://yarnpkg.com/lang/en/docs/install/ Exiting!
I thought I should install yarn in the image so I also tried docker run web sh and apt-get install yarn but nothing has changed.
I would really appreciate it if you help me.
Thank you.

A: *

*Replace line 2 of your Dockerfile with the following

RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN apt-get update -qq && apt-get install -y nodejs postgresql-client yarn

*docker-compose build

*docker-compose run --no-deps web rails webpacker:install

A: I added RUN yarn install in Dockerfile and it worked, I still have problem though.


text:
Q: Naming Convention for Open-EJB embedded container? I'm using open-ejb embedded container to write tests for a javaee application. The app contains just one @Stateless bean and test
import javax.ejb.embeddable.EJBContainer;

import org.junit.Before;
import org.junit.Test;

public class ProductDaoTest {

    private EJBContainer container;

    @Before
    public void initializeContainerAndDatabase(){
        container = EJBContainer.createEJBContainer();
        System.out.println(container);
    }

    @Test
    public void test(){

    }
}

For some reasons the success or failure of the embedded container getting started is determined by the folder name in which the source code is put. I tried different names, in some it worked, In some it didn't and the pattern seems random to me.

hibernate-javaee --> didn't work
  hibernate-ejb --> didn't work
  javaee-hibernate --> didn't work
  abc-xyz --> worked
  hibernate-abc-xyz-def --> didn't work
  abc-xyz-def-ejb --> didn't work
  abc-xyz-def-javaee --> worked
  abc-xyz-def-hibernate --> worked

In case of failure the exception trace is:
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.ares.hibernate.javaee.dao.ProductDaoTest
INFO - ********************************************************************************
INFO - OpenEJB http://tomee.apache.org/
INFO - Startup: Wed Jun 08 08:57:56 IST 2016
INFO - Copyright 1999-2015 (C) Apache OpenEJB/TomEE Project, All Rights Reserved.
INFO - Version: 4.7.4
INFO - Build date: 20160304
INFO - Build time: 09:05
INFO - ********************************************************************************
INFO - openejb.home = C:\fakepath\hibernate-abc-xyz-def
INFO - openejb.base = C:\fakepath\hibernate-abc-xyz-def
INFO - Created new singletonService org.apache.openejb.cdi.ThreadSingletonServiceImpl@26f67b76
INFO - Succeeded in installing singleton service
INFO - Using 'javax.ejb.embeddable.EJBContainer=true'
INFO - Cannot find the configuration file [conf/openejb.xml].  Will attempt to create one for the beans deployed.
INFO - Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service)
INFO - Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
INFO - Creating TransactionManager(id=Default Transaction Manager)
INFO - Creating SecurityService(id=Default Security Service)
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.039 sec <<< FAILURE!
test(org.ares.hibernate.javaee.dao.ProductDaoTest)  Time elapsed: 1.81 sec  <<< ERROR!
org.apache.openejb.OpenEjbContainer$NoModulesFoundException: No modules found to deploy.
1)Maybe descriptors are placed in incorrect location.
Descriptors could go under:
<base-dir>/META-INF or <base-dir>/WEB-INF
but not directly under <base-dir>
Check 'Application Discovery via the Classpath' docs page for more info
2)Maybe no modules are present in the classpath.
Is 'openejb.base' system property pointing to the intended location?
        at org.apache.openejb.util.Exceptions.newNoModulesFoundException(Exceptions.java:99)
        at org.apache.openejb.OpenEjbContainer$Provider.load(OpenEjbContainer.java:540)
        at org.apache.openejb.OpenEjbContainer$Provider.createEJBContainer(OpenEjbContainer.java:322)
        at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:56)
        at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:43)
        at org.ares.hibernate.javaee.dao.ProductDaoTest.initializeContainerAndDatabase(ProductDaoTest.java:14)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

Results :

Tests in error:
  test(org.ares.hibernate.javaee.dao.ProductDaoTest): No modules found to deploy.(..)

In case of success, the output is:
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.ares.hibernate.javaee.dao.ProductDaoTest
INFO - ********************************************************************************
INFO - OpenEJB http://tomee.apache.org/
INFO - Startup: Wed Jun 08 09:07:02 IST 2016
INFO - Copyright 1999-2015 (C) Apache OpenEJB/TomEE Project, All Rights Reserved.
INFO - Version: 4.7.4
INFO - Build date: 20160304
INFO - Build time: 09:05
INFO - ********************************************************************************
INFO - openejb.home = C:\fakepath\abc-xyz-def-hibernate
INFO - openejb.base = C:\fakepath\abc-xyz-def-hibernate
INFO - Created new singletonService org.apache.openejb.cdi.ThreadSingletonServiceImpl@26f67b76
INFO - Succeeded in installing singleton service
INFO - Using 'javax.ejb.embeddable.EJBContainer=true'
INFO - Cannot find the configuration file [conf/openejb.xml].  Will attempt to create one for the beans deployed.
INFO - Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service)
INFO - Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
INFO - Creating TransactionManager(id=Default Transaction Manager)
INFO - Creating SecurityService(id=Default Security Service)
INFO - Found EjbModule in classpath: c:\fakepath\abc-xyz-def-hibernate\target\classes
INFO - Beginning load: c:\fakepath\abc-xyz-def-hibernate\target\classes
INFO - Configuring enterprise application: C:\fakepath\abc-xyz-def-hibernate
INFO - Auto-deploying ejb ProductDao: EjbDeployment(deployment-id=ProductDao)
INFO - Configuring Service(id=Default Stateless Container, type=Container, provider-id=Default Stateless Container)
INFO - Auto-creating a container for bean ProductDao: Container(type=STATELESS, id=Default Stateless Container)
INFO - Creating Container(id=Default Stateless Container)
INFO - Configuring Service(id=Default Managed Container, type=Container, provider-id=Default Managed Container)
INFO - Auto-creating a container for bean org.ares.hibernate.javaee.dao.ProductDaoTest: Container(type=MANAGED, id=Default Managed Container)
INFO - Creating Container(id=Default Managed Container)
INFO - Using directory C:\Users\UserName\AppData\Local\Temp for stateful session passivation
INFO - Enterprise application "C:\fakepath\abc-xyz-def-hibernate" loaded.
INFO - Assembling app: C:\fakepath\abc-xyz-def-hibernate
INFO - Jndi(name="java:global/abc-xyz-def-hibernate/ProductDao!org.ares.hibernate.javaee.dao.ProductDao")
INFO - Jndi(name="java:global/abc-xyz-def-hibernate/ProductDao")
INFO - Existing thread singleton service in SystemInstance(): org.apache.openejb.cdi.ThreadSingletonServiceImpl@26f67b76
INFO - OpenWebBeans Container is starting...
INFO - Adding OpenWebBeansPlugin : [CdiPlugin]
INFO - Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
INFO - All injection points were validated successfully.
INFO - OpenWebBeans Container has started, it took 195 ms.
INFO - Created Ejb(deployment-id=ProductDao, ejb-name=ProductDao, container=Default Stateless Container)
INFO - Started Ejb(deployment-id=ProductDao, ejb-name=ProductDao, container=Default Stateless Container)
INFO - Deployed Application(path=C:\fakepath\abc-xyz-def-hibernate)
org.apache.openejb.OpenEjbContainer@34c01041
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.224 sec

To make sure that the session bean is getting discovered in classpath I've added
Enumeration<URL> ejbJars = this.getClass().getClassLoader().getResources("org/ares/hibernate/javaee/dao/ProductDao.class");
        while (ejbJars.hasMoreElements()) {
            URL url = ejbJars.nextElement();
            System.out.println("app = " + url);
        }

as mentioned in this link. The class is getting discovered in both working and non working cases.
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.ares.hibernate.javaee.dao.ProductDaoTest
app = file:/C:/fakepath/hibernate-ejb/target/classes/org/ares/hibernate/javaee/dao/ProductDao.class

Is there a naming convention for this that I dont't know about or did I stumble upon a bug?
The source code for the application is here. The parent directory for the project is abc-def and while running mvn clean test the project runs. If the parent directory name is changed to hibernate-javaee and the application stops working.

A: Regarding the naming convention question, there is none. I am pretty sure that you somewhere (system properties file or programmatically) excluding/including paths. Excluding/Including allows wildcard usages that's why some folder patterns work and some none. To exclude nothing and include all create your EJB container with the following properties.
Properties p = new Properties();
p.put("openejb.deployments.classpath.exclude", "");
p.put("openejb.deployments.classpath.include", ".*");
container = EJBContainer.createEJBContainer(p);

See http://tomee.apache.org/application-discovery-via-the-classpath.html for further instructions.
Other options to make sure your EJB will be deployed.
Option 1: Application discovery
If you don't want to add an additional configuration file you have to make sure that your EJB folder is part of the classpath and your EJB contains a ejb-jar.xml. See http://tomee.apache.org/application-discovery-via-the-classpath.html for further instructions.
Option 2: Configuration file
According to the log you didn't have configured a configuration file.
INFO - Cannot find the configuration file [conf/openejb.xml].  Will attempt to create one for the beans deployed.

In most cases this is fine and a custom configuration file is the exception. Try to set the configuration file with you folder settings. See http://openejb.apache.org/configuration.html for further instructions.

A: Some patterns are automatically excluded from OpenEJB scanning.

A: Note that openejb.additional.include=myjarprefix can allow you to add it back in the scan inclusions. It will remove the conflicting excludes so make it the longer as possible if you use it. It can be set in conf/system.properties.


Keep your cool in the Jockey Sport® Brief men's underwear. A no-fly construction provides maximum support, while ultra-smooth, quick-drying microfiber and mesh panels help keep you comfortable before, during and after your workout. Microfiber fabric specially treated to fight odor causing bacteria to keep you feeling fresh. Now available in a convenient 2 pack.


The Japanese announced recognition of an independent Burma and a declaration of war by Burma against Great Britain and the United States. The U.S. Army Air Force conducted a daylight bombing raid on the Ploesti oil fields in Romania on what became known as "Black Sunday." The Harlem Riot of 1943 took place in New York City. PT-109, commanded by Lt. John F. Kennedy, was on picket duty when it was cut in half by the Japanese destroyer IJN Amagiri. The prisoners at the Treblinka concentration camp rebelled. Lt. General George S. Patton slapped several soldiers at military hospitals in Sicily and nearly ended his military career. American forces captured Munda and its air field on New Georgia. The U.S. Navy won the Battle of Vela Gulf. The strategic conference codenamed Quadrant was held in Quebec City, Canada. Over 34,000 U.S. and Canadian troops made an amphibious landing on unoccupied Kiska Island in the Aleutian Islands. The Allies occupied Messina completing the capture of Sicily. Resistance groups in the Bialystok ghetto in Poland rebelled. The Allies met with Italian representatives in Lisbon to discuss the surrender of Italy. The Red Army liberated Kharkov. The last Japanese resistance on New Georgia was eliminated. After weeks of rioting and strikes the Danish government fell and Denmark was placed under martial law by the Germans. 26 ships (93,069 tons) were sunk and 4 ships (18,194 tons) were damaged by U-boats and mines during August 1943.
Despite the efforts of more than 1,000 researchers at Kellex and Columbia University, no suitable diffusion barrier material had yet been developed.
Due to lagging progress on gaseous diffusion, and continuing uncertainties about the required amount of U-235 for a bomb, Brigadier General Leslie R. Groves decided to double the size of the Y-12 electromagnetic plant at Oak Ridge, Tennessee.
The first Alpha electromagnetic uranium separation unit began operation. Construction staff at Oak Ridge now exceeded 20,000.
Construction began on the cooling systems for the production reactors at Hanford, Washington. Construction staff is about 5,000.


text:
9 Things You Probably Didn't Know About Sake
by Anthony Beal 3 years ago in alcohol / history
A riot, a patron god, and an origin in chewed rice are only the tip of the iceberg in the history of this versatile Japanese libation.
Japanese sake has one of the longest, most storied histories of all alcoholic beverages, yet its tale remains largely unknown outside the country of its birth, or to anyone who isn't a dyed-in-the-wool aficionado. Let's take a fun look at some lesser-known facts surrounding an alcohol that's been called Japan's national beverage.
One of Its Earliest Forms Was Cultivated From Chewed Rice
An 8th century precursor to more refined modern sake, Kuchikami-zake was cultivated by having virgin shrine maidens called miko chew grains of rice before spitting them into a collection vessel where saliva enzymes and natural yeast present in the air would go to work on the mash, starting the chemical reactions that produce alcohol . This ancient, semi-solid hooch paste was eaten rather than drunk, and is said to have been opaque and milky in color, and sour on the palate.
Japanese Monarchy and Divinity Influenced Early Production
In the 7th century (689 A.D.) back when Japan's capital city was Nara, the Imperial Palace housed an early sake center when a brewing department was opened on-site. While this seems an auspicious enough origin, sake-brewing would evolve beyond even the Imperial Court.
The 10th century would see significant production carried out in religious temples and shrines that used it for ceremonial purposes, and this was how sake would roll for the better part of five hundred years. Further supporting the sense of divinity surrounding a beverage that's been called the "drink of the gods," Omiwa Jinja, one of Japan's oldest Shinto shrines, is said to be dedicated to the patron god of sake-brewing.
Its Production Inspired a Riot in 1444
As 13th century sake demand grew, production shifted from religious institutions to more commercial, commoner-run enterprises. Well-known Kitano Shrine's legal monopoly on the koji mold needed to produce sake would lead to the advent of unauthorized koji houses run by secular sake-makers fed up with the shrine's inadequate supply stock and inflated charges for its product. When Kitano's koji-makers asked the shogunate to step in on the illegal houses—and punctuated their request by locking themselves inside the shrine until this demand was met—the shogunate responded with soldiers who came not to bust up the koji "moonshiner" operations, but to roust the shrine's koji-makers out of their hidey hole. Conflict ensued, lives were lost, and the shrine was torched, its monopoly effectively obliterated.
Seriously, Don't Bother Cellaring It
Sake benefits little from being stored for extended periods. Most quality sake is aged for six months before it ever hits store shelves, and that six months is all its structural elements need to harmonize. So go ahead and drink it young, bearing in mind that because sake oxidizes once unsealed, an opened bottle should be a finished bottle. Unfinished sake can hold up in the refrigerator for a day or two. Beyond that, drink it with the understanding that its finest hour won't be seen again, except in the rearview mirror.
Cloudy Isn't Necessarily Bad
Sake is understood by many to be clear and colorless, but this isn't a universal attribute. The term Nigori-zake refers to a rustic form of sake that, prior to bottling, is not filtered, or is coarsely-filtered in such manner that microscopic rice solids remain present in the finished brew. The result is a cloudy, milky beverage said to be sweeter, with more robust and lively flavor than is typical of more refined sake.
Sake Loves Many Foods, So Pair Away
One needn't confine oneself to Japanese food when seeking something to chew between sips of sake. Its low acidity and lack of tannins to clash with certain food attributes make sake an agreeable pairing to a variety of cuisines. It can complement preparation methods from grilling to frying and everything in between, so feel free to think outside the bento when matching your menu items. Man cannot live by beer and wine alone.
Warm Sake Doesn't Equal Poor Sake
Let's lay to rest a popular misconception that's had a good run but needs to go away now: a sake served hot or warm shouldn't be dismissed out of hand as being of inferior stock. It's true that heating sake has been known to mask flavor attributes that would be considered bitter or otherwise unpalatable if tasted chilled. This, along with the fact that the first batches of sake to find their way to the U.S. (which were generally served warm) were of less than stellar caliber, makes it easy to see how the association of heat with poor quality gained traction. Optimal serving temperature really depends on the grade of sake being drunk, though.
Most fragrant premium sake like Ginjo and Daiginjo are best served chilled.
Fuller-bodied, less aromatic types like Futsuu or Honzojo benefit from being heated, as heating them awakens richer secondary flavor nuances. Besides, warm sake pairs better with warm foods.
There Are a Ton of Apps Devoted to Learning About It
There's no shortage of benevolent souls who've made a mission of helping us all to better understand and appreciate sake. Smartphone apps dedicated to wine and beer have been around for a minute or two, however up until a few years ago, the number of sake apps (English-language ones, in particular) on the market was small. Luckily, these have increased notably in recent years. Available for Android and Apple, these apps do everything from reading and deciphering bottle labels to cataloguing your tasting notes and making sampling suggestions based on them. Some will even share fun statistical info surrounding sake production and history, ensuring that no user seeking a bit of sake-soaked trivia to inject into lagging conversations shall ever be stumped again.
For the Love of God, Stop Pronouncing It "SAH-KEY"
If you've ever uttered anything that sounded like "SAH-KEY", you've been saying the word wrong. The second syllable is pronounced "KEH" as you'd find in the word "Keg," not "KEY" as in "Keen." Once again, that's "KEH" as in "Kevlar." Or "Ketchup." Or "Kennebunkport." If ever there was an instance where no one will blame you for losing your "KEYS," this is it.
alcoholhistory
Anthony Beal
Read next: He Chose the Beer
Food blogger, Certified Sherry Wine Specialist, WSET3 wine scholar, comic book geek, Japanophile, aspiring gym rat. Never met a shrimp, prawn, or mussel I didn't like. Explore eating & drinking culture with me at FlavorfulWorld.com.
See all posts by Anthony Beal →
Whiskey: A Guide and History
Lynne Shumaker
Long before the Bloody Mary, the Screwdriver, the Martini, the Margarita, and the Daiquiri appeared on the scene, alcohol lovers were drinking Mint Juleps, Sazeracs, Old Fashioneds, and Manhattans—all of which shared one common ingredient: whiskey. Even today, when so many new cocktails are based on vodka, rum, or tequila, such classics as the Whiskey Sour are shaken and poured from coast to coast. Whiskey remains a constant favorite.
After 500 Years, Rum Makes A Comeback
Rum's present popularity in America dates back to 1493, when Columbus returned to the new world with cuttings of sugarcane, which were planted in what are now Puerto Rico, Cuba, Jamaica, and Haiti. When the technique of distillation was introduced to the Caribbean islands in the 17th century, the thick, syrupy molasses that is the by-product of converting cane into crystallized sugar was fermented to produce alcohol, and the resulting mash was distilled into rum.
Tips for Making Classic Drinks
Pick up any bartender's guide and you'll find recipes for more than 1,000 drinks, and that doesn't include the latest cocktails created to promote a product or commemorate an event. Despite this proliferation of concoctions, an increasing number of people are rediscovering the classic cocktails of another era. The return of the Martini has been well documented; other popular drinks include the Bloody Mary, the Daiquiri, the Margarita, and the Old Fashioned. All of these can be given a contemporary twist with the addition or substitution of an ingredient or two.
33 Booze Life Hacks Every Drinker Needs to Know
Sheera Lee
Elevate your bartender, mixologist and sommelier skills to the next level with these 33 booze hacks:
Best Business Bars in NYC
Without a doubt, New York City is a businessman's dream come true. The world's best talent come here for work, the biggest companies network here, and corporate-friendly bars can be found on every corner. If you love to network with the world's elites, no city can ever beat New York.
Top Low Calorie Alcoholic Beverages
Ossiana Tepfenhart
Most people love to drink, but they don't love what happens to their waistlines where they do. The fact is that most alcoholic beverages will end up wreaking havoc on waistlines, and as such, are heavily advised against by nutritionists.


The importance of classroom management of the High school and college students cannot be over-emphasized.
The students at this stage have their own problems of growing up. They have many issues in their life from social pressures to maybe the atmosphere maybe and students are often in the constant strain to live up to expectations. All these issues and others are ones that the teacher has no control off or cannot do anything much about in class. So it makes learning harder and when their curriculum is heavy, they are not able to cope up which disrupts the class.
As it is the duration of the class is limited and the curriculum heavy!. Disruptions mean a loss of precious time that could have been used by the teacher to complete a part which he had planned for the day. Teachers with effective Classroom Management skills are able to complete their session in the given time even while subduing these disruptions to a minimum.
Good Classroom management skills help a teacher to set routines. For example, some teachers startup with a warm-up session and then start their lecture. They may complete the session asking students of their opinion on the subject. Some teachers may directly start their lecture and complete with a quiz session. Once routines are established students can know what is expected of them next. They can follow them accordingly as soon as they enter the class.


text:
Motherhood: the mum and son relationship
June 3, 2016 In Family life Parenting
While it's noticeable how much N loves his dad for certain things – bear hug cuddles, play fighting, going out and working on the farm, having a bath while his dad showers – motherhood is very different thanks to the mother and son relationship.
Someone I know once said about her son 'I'm never letting him go'. Maybe that's a little strong given that one day they'll be leaving home to study or work, having girlfriends or wives and moving into their own homes (maybe closer to home than away if N decides to stay working on the farm as an adult – not if I have my wish for him to do something else first to experience life). But it's certainly true that mothers and sons do have a special bond.
Even if I've told him off, N will still come to me for comfort. Initially it might have been dad, but he gets more sympathy and cuddles from me.
I'm the one he asks for food from, the one who helps him choose his clothes, gets him out of the house to school, who takes him everywhere whether it's routine or fun trips. I'm the one who reads with him, does his teeth and (6 days out of 7) does the final bedtime routine. I'm the one who gets his kisses before he goes to bed (he likes to practise his 'dry' kisses).
When I compare my relationship with N, I can't help but compare it to the difference in relationship between my mum, my brother and me (our dad died when we were young so it was just the 3 of us). I got on really well with my mum, but like many girls was independent and liked to keep myself to myself. I'm not a demonstrative person, and was the typical 'good' girl, known as a bit 'square' at school. My brother on the other hand was more gregarious, more chatty, and more of a huggy person with my mum even when he got into scrapes with his friends.
While I've not got a daughter to compare it to, N's definitely more similar to my brother in the closeness. I love that he's still happy to hold my hand when we're out shopping, he rearranges the things I'm carrying so I can do so.
He's also great at complimenting me on the little things. If I wear a dress (it's rare), I get told 'you look nice mummy, you look like a ballerina' (I don't wear tutus, don't worry).
The other week we were talking about eye colour and I told him he had the same green eyes as me.
'I don't want to have green eyes'.
'They're like mine rather than daddy's blue eyes. Green's good, they're more unusual and yours have a lot of orangey/brown colours in too'.
'You have nice eyes mummy'.
I've never heard him complimenting his dad on anything. Theirs is more of a take the mickey out of each other relationship, even at N's young age.
He also came in on Saturday bringing me a tied bunch of bluebells. After I'd tried to hold my tongue about them having picked wildflowers after his uncle said they could, I was very pleased that he'd want to bring me some flowers. He was so pleased I liked them. When we're out and about he'll always pick daisies for me too.
I love that he's a really loving little boy. His family really means the world to him, the 3 of us, and all the cousins, aunts, uncles and grandparents. And it's great to have that mother and son bond to guide him until he grows up and finds his own way in the world.
What sort of relationship do you have with your sons? If you've a daughter is it similar or different?
motherhoodobservationsparentingrelationships
Sunny walks at National Trust's Croome Park
Project 366 2016 week 21 and 22
I think my relationship with my children is the same for both of them (1 boy 1 girl) but yes the bond is strong x
Interesting. I wonder if it's the youngest/oldest rather than gender which makes the difference, or just that it's different for everything.


text:
David W. Berry
Elizabeth A. Fritzinger
William R. LaBarge
Financial Elder Abuse Law
Trust & Estate Law
California's Independent Contractor Test & What Your Business Must Prove to Pass It
Last year, the California Supreme Court made it more difficult for a business to classify a service provider as an independent contractor. The question of whether an individual worker should be classified as an employee or independent contractor has considerable significance for businesses. If a worker is classified as an employee, then the employer bears the responsibility of paying Social Security and payroll taxes, unemployment insurance taxes, and state employment taxes, providing worker's compensation insurance, and complying with the laws governing the wages, hours, and working conditions of employees.
However, if the worker is misclassified as an independent contractor, then the business is now subject to significant liabilities related to wages, penalties, and interest. For a business that wants to comply with California's independent contractor laws and avoid significant legal exposure, the business must become familiar with the California Supreme Court's new ABC Test.
What is the ABC Test?
In order to classify a worker as an independent contractor, the business who hires the worker must prove all three of the following things:
(A) that the worker is free from the control and direction of the hiring entity in connection with the performance of the work, both under the contract for the performance of the work and in fact; and
(B) that the worker performs work that is outside the usual course of the hiring entity's business; and
(C) that the worker is customarily engaged in an independently established trade, occupation, or business of the same nature as the work performed.
Step (B) is the step that changes existing law the most. In the past, the mere fact that you were doing work that was related to the type of work that the company normally does would not alone determine whether you were an employee versus an independent contractor. Now, if you're doing work that is considered to be "within the usual course" of the hiring entity's business, you are likely an employee, not an independent contractor. The California Supreme Court explained what step (B) means using the following examples:
When a retail store hires an outside plumber to repair a leak in a bathroom on its premises, or hires an outside electrician to install a new electrical line, the services of the plumber or electrician are not part of the store's usual course of business and the store would not reasonably be seen as having hired the plumber or electrician as an employee.
On the other hand, when a clothing manufacturing company hires work-at-home seamstresses to make dresses from cloth and patterns supplied by the company that will then be sold by the company, or when a bakery hires cake decorators to work on a regular basis on its custom-designed cakes, the workers are part of the hiring entity's usual business operation and the hiring business can reasonably be viewed as having hired them as employees.
What Does the ABC Test Mean for California Businesses?
The new ABC Test has made it harder for a business to classify individuals as independent contractors. There are currently two pending bills that will either roll back the ABC Test (Assembly Bill 71) or reaffirm that California businesses must follow the new ABC Test (Assembly Bill 5). In either event and based upon the current law, if your business hires independent contractors, then now is the time to reevaluate the classification of these workers so that your business can avoid significant legal exposure down the road.
For additional information and to learn more about how these laws may affect you and your business, please call or contact us today.
Tags: ABC TestIndependent Contractor
Previous California Required Forms & Pamphlets For New Hires
Next California Responds to the #MeToo Movement with Several New Laws
CARES Act and the Paycheck Protection Program March 31, 2020
COVID-19: DOL Provides Answers to Questions About Federal Paid Sick and Family Leave Laws March 30, 2020
What Employers Need To Know About the New Family First Coronavirus Response Act March 20, 2020
2020 California Employment Laws January 27, 2020
3550 Round Barn Blvd., Suite 312, Santa Rosa, CA 95403
info@berryfritzlaw.com
Mon – Fri: 8:30am - 5:00pm
Berry & Fritzinger, P.C. © 2022 All Rights Reserved Privacy | Disclaimer