text:
Lifeline Sectors
Awards + Recognition
Home➔Blog: Articles➔Ulteig Energy & Infrastructure Podcast: What Does China Have to Do With America's Power Grid?
June 3, 2020 Power / Renewables
Power / Renewables
Ulteig Energy & Infrastructure Podcast: What Does China Have to Do With America's Power Grid?
Understanding the Implications of President Trump's Two Recent Executive Orders Limiting the Purchase of Communications and Bulk Power Supply Equipment for U.S. Utilities from Countries Adverse to the U.S.
What does China have to do with America's power grid? As it turns out, plenty.
On May 1, the Trump administration issued an executive order prohibiting the acquisition and installation of "bulk-power system electric equipment" from our nation's foreign adversaries.
In episode 3 of our ongoing podcast series, Aaron Lauinger, Market Director–Transportation and Water for Ulteig, is joined by Mark Scheid, Senior Program Manager–Key Clients, and special guests, Mike Crawford, Vice President of Operations for NLS Engineering and Energy, Greg Brunke, Director–Energy, NLS, and McKenzie Santin, Associate Director–Energy, NLS, in dissecting the implications of this latest executive order as well as a previous executive order involving the procurement of communications equipment for utilities from certain foreign countries.
For more than a decade, bulk power system owners and developers have been deeply concerned with the threat of cybersecurity both within the U.S. and from state-run cyberterrorism organizations across the globe. However, with this latest executive order from President Trump, issued in early May, utilities face new complexities in navigating the development, maintenance and modernization of their power generation and distribution systems.
The new executive order, which focuses on the acquisition and installation of bulk power equipment (generators, circuit breakers, metering equipment, generation turbines, etc.) builds on a previous executive order issued on May 15, 2019 regarding the acquisition and use of certain information and communications technology manufactured by companies in countries adverse to the United States, such as China.
According to an article published by the international law firm Skadden, Arps, Slate, Meagher & Flom LLP, the latest executive order "requires the secretary of energy to conduct rulemaking within the next 150 days to implement the president's direction and could ultimately have a major impact on the power industry's ability to use China-sourced equipment. Under its broadest reading, the executive order would allow the Department of Energy to prohibit transactions involving bulk-power system electric equipment manufactured or supplied by 'persons subject to the jurisdiction of' a foreign adversary if such use 'poses an unacceptable risk' to U.S. national security."
Episode 3 in the Ulteig Energy & Infrastructure Podcast is fueled with an incredible amount of insights and opinions as our expert panel explores the numerous controversies around President Trump's two most recent executive orders targeting the utility industry. This is one podcast that you won't want to miss. Our panel of experts address a number of concerns, including:
The impact of President Trump's executive order on the power generation and utility industries.
Implications of the executive orders on other utilities, such as water and sewage.
Why now? Utilities have been concerned about cybersecurity for at least 10 years. How does this new executive order elevate those concerns?
The role of China in supplying equipment to the U.S. bulk power supply system.
The potential for malicious code being built into equipment purchased from companies that manufacture in countries adverse to the U.S., which could be used to take over the control of a utility plant or a water treatment plant.
Steps utilities can take to secure their systems from malicious players.
Alternatives to procuring bulk power supply equipment from China and other foreign adversaries.
Why the low-bidding process is considered a vulnerability for securing bulk power supply equipment. Will the traditional low bid process be replaced with a different procurement method?
The short-term and long-term impact of an expected list of bulk power supply equipment to be put out by the Department of Energy that can no longer be used in U.S. systems – impacts such as delays in procuring alternative products, delays in construction, financial costs, etc.
Why utilities must double down on their plans to prevent a cybersecurity event and their plans to recover from such as event.
The Ulteig Energy & Infrastructure Podcast spans Ulteig's Lifeline Sectors® of Power, Renewables, Transportation and Water. It offers thought-provoking and engaging conversations with key industry stakeholders on technology, innovation, policy and funding. There will also be lively discussion mixed in about the latest hot button issues facing our industries.
We invite you to join us — click here to listen to the current podcast or download it through Apple, Google Play, or Spotify.
Transmission Planning Takes a Futurist Mindset
If you had just 30 seconds to describe what transmission planning is all about, it would probably come down to […]
Modernizing Your Grid? Four-Stage Process Can Help Utilities Understand What's...
With decades of experience working with utilities throughout the United States in modernizing their grids, Ulteig has built a strong […]
Power / Community
Meeting Industry Standards – One Utility Electric Grid at a Time
Across the United States many community-owned, not-for-profit utilities are struggling with how fast and how much to modernize their electrical […]
Giving You More Control Over Your World
Let me know if you can relate to this: You misplaced your mobile phone and when you discover that it's […]
Bidding Documents


Located on the shores of the Long Island Sound, Rye Playland in Rye, NY, has been an area staple since 1927 and is even part of the National Register of Historic Places. Also referred to as just Playland, this unique Art-Deco style amusement park sits on 280 acres and features ice rinks, an Olympic-size pool, various restaurants and concession stands, and, of course, thrilling rides – seven of which pre-date 1930! Just a 15-minute drive from the Stanton House Inn, guests can visit this historic amusement park and enjoy live entertainment, scenic waterfront views, and the wonderful nostalgia of childhood at Rye Playland.
Rye Playland's most iconic attraction is The Dragon Coaster, a wooden roller coaster that opened in 1929. The coaster has approximately 3,400 feet of track, with a tunnel that looks like the body of a dragon and an opening that resembles a dragon's mouth. The dragon has eyes that light up, and it blows steam from its nostrils. Today, The Dragon Coaster is one of only 100 wooden roller coasters still in operation in the United States.
Another must-see attraction is the Grand Carousel, a 1915 Mangels-Carmel carousel that has a rare band organ inside of it. It was originally located in New Haven, Connecticut, and was moved to Playland when the park opened in 1927. The carousel's horses feature beautifully painted, hand-carved designs, as well as unique traits like inlaid gemstones.
If you're visiting Rye Playland this summer, be sure to check the fireworks schedule and watch the beautiful display of colors and sound! Every Friday at 9:15 PM beginning July 1st, the park offers spectacular fireworks shows that are choreographed to music. There is also a special holiday display on July 3rd & 4th, and the final show of the season takes place on September 2nd.
Rye Playland also features entertainment performances on its main stage, located on the north side of the park. Guests can enjoy everything from circus acts and magicians to dance shows and musicals, as well as a variety of strolling entertainment like kids dance and singing shows, costumed characters, and drum acts that occur multiple times a day. Every summer, music lovers can enjoy a free concert series with performances that are usually on Thursday and Friday nights in July and August.
When planning your visit to Rye Playland in Rye, NY, be sure to download a park map, then book your stay at our Greenwich bed and breakfast! Our inn is centrally located between Rye and Stamford, CT, and offers convenience, comfort, and some much-needed peace and quiet. After a wonderful day at the park, you can come home to one of our beautiful rooms or suites and rest up, then enjoy a hearty and delicious breakfast the next morning that will get you fueled up for another day of fun. We can't wait to hear all about your adventures!


text:
Why Kaepernick's Settlement With the NFL Is a Major Victory
Colin Kaepernick reaches settlement with the NFL to end Collusion Case.
Ellis Joshua, Impact Staff|February 17, 2019
Colin Kaepernick just had a major victory over the NFL after settling to end his collusion case, even though the NFL technically didn't admit that they colluded to have him blackballed from the league.
Kaepernick has been at the center of attention for the last two-and-a-half years for his decision to kneel during the national anthem due to his feelings on racial equality; despite it being a peaceful protest, many people have turned against him.
Kaepernick was the quarterback for the San Fransisco 49ers from 2011-2016 and led them to the playoffs back-to-back seasons which included a trip to the Super Bowl in the 2012 season.
After becoming a Free Agent after the 2016 season, he has been phased out of the league entirely, despite being good enough to play.
Not only has he sacrificed playing football by kneeling, but he's also sacrificed his livelihood.
Despite the NFL not admitting to collusion, the settlement that was reached can be their way of getting him to shut up and go away, to not pursue this case any further in the fear of this backfiring in Kaep's favor.
The amount of money that Kaepernick will earn with this settlement hasn't been announced, but it is reported that he will earn somewhere between $60 and $80 million. If this report is accurate, this amount could cover for the money that he lost by not getting signed over the past two seasons, and it would cover the salary he would have made if he was still playing.
Many people think Kaepernick should have continued to keep the case going because he may have exposed the NFL and make them even worse than they appear to look; I believe Kaepernick knows that the NFL knows he was blackballed.
Since he's probably getting a large amount of money from the settlement, he did what he had to do and doesn't feel the need to go one with the case; he likely wants to focus on getting another shot in the NFL again.
We can't forget about Eric Reid either, who was also taking this stance with Kaepernick.
Reid is also a winner as well. He also filed a grievance against the league that he was being colluded against, but the Carolina Panthers signed him for the 2018 season and he was just awarded a three-year contract extension.
People may wonder why Reid was unemployed for a much shorter period of time than Kaepernick, but the difference is that Kaepernick was the starter of this protest and has been the one that has been the most outspoken on the issues that minorities have had to deal with.
Quarterbacks are the most important and popular position in the league also; it would be harder for owners to want to sign Kaepernick because they would lose more of their fan base.
Since Reid is a safety, he's not as marketable, so him getting signed wouldn't have fans in as much of an uproar because they would see him as one the 53 men on an NFL roster.
I think there was collusion to keep Kaepernick out of the NFL, the owners only look at things from a business perspective. If they signed him there would be a disconnect between the team and its fans and they could lose out on a lot of money.
With some back-up quarterbacks in the league, there is no reason why Kaepernick couldn't be a back-up for several teams. It makes you wonder whether winning is the top priority for the owners when you have QBs like Nate Peterman in the league starting for the Bills and Josh Johnson for the Redskins.
There's no way that those two should have jobs as back-ups over Kaepernick, especially when a team like the Redskins still had a chance to make the playoffs even after Alex Smith got hurt. But they signed Johnson and Mark Sanchez instead.
It's also interesting that players who have broken the law and have been accused of things such as domestic violence and sexual assault can get jobs faster than a man fighting for equality.
Unfortunately for Kaepernick, the longer he's out of a job the less likely it is that he gets signed because owners will say his skill set has dropped since he's missed two years, and isn't worth signing.
Hopefully, Kaepernick will play again. His attorney said he predicts he will get signed by either the Panthers or the Patriots so we'll see if he's right and if he finally gets another opportunity to play again.
Ellis Joshua, Impact Staff
Ellis is a Senior Media Studies major who is looking to become either a sports writer or sports broadcaster after he graduates. He has a passion for writing...
Another Year of Dysfunction for the Jets
Steph Curry is in Unfamiliar Territory
Elena Delle Donne Has Finally Captured Her First Championship
It's Now or Never for the New York Yankees
It's Time to Get AB the Help He Needs!
It's Time to Hold the NFL and Its' Players Accountable
Free Agency Fever is Finally Over
Why Zion Quitting on Duke Would be a Bad Idea
The Tales of the Kardashian Curse
Knicks Trade Porzingis in Hopes for a Big Off-Season

redpajama_set_name: RedPajamaCommonCrawl


text:
This directory contains some sample files and configuration scripts for training a neural MT model with multiple input featues.
It documents the method described in:

Rico Sennrich, Barry Haddow, (2016):
    Linguistic Input Features Improve Neural Machine Translation. Proceedings of WMT16.

INSTRUCTIONS
------------

all scripts contain variables that you will need to set to run the scripts.
For processing the sample data, only paths to different toolkits need to be set.
For processing new data, more changes will be necessary.

As a first step, preprocess the training data:

  ./preprocess.sh

It is assumed that you have the source text in the CONLL format, with a plain text target side.
The preprocessed files we used for our WMT 2016 experiments can be found here: http://data.statmt.org/rsennrich/wmt16_factors/ (note: since the target side is already tokenized, you can delete the tokenization section in `preprocess.sh` if you use these files)

Then, start training: on normal-size data sets, this will take about 1-2 weeks to converge.
Models are saved regularly, and you may want to interrupt this process without waiting for it to finish.

  ./train.sh

Given a model, preprocessed text can be translated thusly:

  ./translate.sh

Finally, you may want to post-process the translation output, namely merge BPE segments,
detruecase and detokenize:

  ./postprocess-test.sh < data/newstest2013.output > data/newstest2013.postprocessed

redpajama_set_name: RedPajamaGithub


This 1st edition guidance note – which comes into effect on 1 May 2017 – introduces the concepts of value management and value engineering as they relate to construction projects and to the role of chartered surveyors, who have a key role to play in helping manage value across the project.
Value management and value engineering are both concerned with increasing the ratio between benefit (outputs) and the cost or effort (inputs) required, but are often separated in terms of their timing and their scale. But value is also a relative concept, and one of the roles of project management, supply chain procurement and overall procurement is to manage these imbalances so that the project as a whole provides value to the client.
This guidance note is part of the RICS QS and construction standards (the 'Black Book').


text:
5 New ham radio satellites launched
Author Topic: 5 New ham radio satellites launched (Read 4953 times)
Guess I had read where the International Space Station was about to kick out five more amateur radio satellites, but I had forgotten until I read the W1AW bulletin this morning:
SB SPACE @ ARL $ARLS005
ARLS005 Space Station Deploys Five CubeSats
ZCZC AS05
QST de W1AW
Space Bulletin 005 ARLS005
>From ARRL Headquarters
Newington, CT October 5, 2012
To all radio amateurs
SB SPACE ARL ARLS005
Five research CubeSats - all with Amateur Radio communication
systems - were successfully deployed from the International Space
Station beginning around 1430 UTC today. The satellites were
launched from the Kibo station module using a specially equipped
robotic arm.
The group includes:
TechEdSat, a collaboration among NASA's Ames Research Center; San
Jose State University; the Swedish National Space Board (SNSB) and
the Japan Aerospace Exploration Agency (JAXA), will be sending AX.25
packet telemetry at 437.465 MHz. The TechEdSat team is asking for
assistance from amateurs in decoding and relaying data. Follow the
mission on their Twitter page at, http://twitter.com/TechEdSat.
More information about decoding and submitting packet data is
available on their website.
FITSAT-1, designed and built at the Fukuoka Institute of Technology,
Japan, will test the feasibility of high-speed microwave data
downlinks in low Earth orbit. It will transmit telemetry on 437.445
MHz and 5.84 GHz. They welcome signal reports from amateurs at their
website at, http://turing.cs.fit.ac.jp/~fitsat/.
WE WISH, from the Meisei Electric Company Radio Club, Japan, will
send CW telemetry and occasional SSTV images at 437.505 MHz.
RAIKO, designed and built by students at Wakayama University, Japan,
will transmit high-speed data at 2.2 and 13 GHz.
F-1, built by students at FPT University in Hanoi, Vietnam will send
telemetry at 145.980 and 437.485 MHz using 1200-baud packet and CW.
Amateurs are asked to monitor and submit reports. More information
can be found at, http://fspace.edu.vn/?page_id=27.
/EX
Nice to see more and more of the birds which are transmitting telemetry in CW. But from a bird built in Hanoi? My how the world changes with every rotation, bringing us all yet closer together.
Re: 5 New ham radio satellites launched
The Fukuoka satellite will be particularly easy to aim your antenna at, due to a faint glow visible with the naked eye...
I wish that was funny, but actually, it's pretty grim humor...
I'm glad to see more birds flying. However I do wish they would put some more FM repeater birds. Several have died in the past few years and I believe there's only 2 left that can be worked with an HT and hand held antenna. These telemetry sats are cute but won't spark too much activity.
The problem with these satellites is that you just have enough time to exchange call signs, and what's the use of that...?
Quote from: gil on October 07, 2012, 06:14:49 PM
From a practical standpoint, you are right. The longest ragchew I ever had was maybe 2 sentenses late at night when the bird wasn't busy. From an emotional stanpoint, if your are a space junkie it is wicked cool knowing that I'm talking off a repeater several hundred miles up in space, wizzing along at 14,000mph. And I'm doing it with 5W and aiming the antenna with my hand.
AE5J
Exactly. In fact, they won't generate much interest from me at all. I would rather record the local NOAA weather radio broadcast and mail a copy to someone who is interested.
I wonder if there is any real world application for all the experimentation beyond scholarly research? If I had the monetary backing and expertise, I would be working on large geo-sync orbit birds with high gain antennas that would provide hemisphere-wide ham communications. It seems to me this dream was the glittering orb dangled in front of a lot of people's eyes many years ago to start the funding. That dream becoming a reality, might just revitalize ham radio world wide. It would certainly make my cellphone seem silly. Just my opinon, anyway.
« Last Edit: October 10, 2012, 11:59:53 AM by AE5J »
I'm talking off a repeater several hundred miles up in space, wizzing along at 14,000mph. And I'm doing it with 5W and aiming the antenna with my hand.
Ah Haa...Now we know why all these birds fall silent!!!
In order for a satellite to successfully orbit the Earth, it must travel a horizontal distance of 8000 meters before falling a vertical distance of 5 meters. Since a horizontally-launched projectile falls a vertical distance of 5 meters in its first second of motion, an orbiting projectile must be launched with a horizontal speed of 8000 meters per second or 17, 895 miles per hour.
Just funnin' with you. It is a fascinating subject - talking through a repeater on a satellite.
73....Pete
If those satellites could forward email, now that would be something...


Whenever winter kicks in and the heater starts running, my nose is so dry that it starts bleeding. Ayr Saline Nasal Gel is what I like using. My husband like the nasal spray but I am not comfortable with it. I prefer putting this gel in a cute tip and rub it inside my nose.
How about you, what do you use when your nose is dry?
I haven't experienced dry nose yet, only dry lips. This seems like a nice product.
Boiler Trouble – Is It a Faulty Flow Switch?


Etch and frosted films are for both internal and external applications. We also have a large range of decorative films like rice papers and many other styles & materials to choose from.
We can also print onto frosting film, this gives a business or a home owner some great options to brighten up or theme a glass wall or partition.
Printing onto the films can be a simple one colour mono tone or a full colour theme or image.
Film can be supplied or fully installed. This is avaliable in your business, home or office.
For example - Office doors & windows, glass walls, bathroom windows or front doors for added security or privacy.


text:
Disney Cruise Line More Disney Cruise Line Stories
Fri, October 23, 2015
7 Things to Look for When You See 'Tangled: The Musical'
by Jonathan Frontado, Public Relations Director, Disney Cruise Line, Adventures by Disney and Disney Vacation Club
Over the past several months, we've give you an all-access pass to the making of "Tangled: The Musical," with behind-the-scenes looks into the creation of music, costumes, sets, choreography and puppetry. There is so much to look forward to when the show debuts aboard the Disney Magic, so we've rounded up our top seven details to look (and listen!) for when you see it for the first time:
Bavarian inspiration: Everything from set designs to costumes to choreography was inspired in some way by the sights, sounds and heritage of early German culture.
Flowers: Rapunzel's story begins with a magical flower, but many more have been "planted" in the show's design. Look for more than 200 physical flowers—plus dozens of others that have been drawn, painted, carved and sewn—in scenic elements, costumes and even Rapunzel's hair!
Immersive moments: The creative team designed the show to totally immerse you in the story as characters interact with the audience; scenes spill over the stage and lanterns float overhead.
The guitar: Legendary composer Alan Menken's score was inspired by folk rock music, so listen closely to hear undertones of the guitar thread throughout the show. You may even see a character strumming away!
Glowing scenic elements: A magical flower, Rapunzel's hair, floating lanterns, burning candles and glowing murals … There are definitely a lot of bright spots to see in this show!
Organic choreography: Choreographer Connor Gallagher developed each dance number to feel natural and folksy, focusing on loose movements, lower centers of gravity and personal touches by each character.
Nods to the movie: Of course, this is still the story of Rapunzel's grand adventure, so you'll see and hear many of your favorite characters, scenes, songs and quotes.
Share 7 Things to Look for When You See 'Tangled: The Musical'
Destinations: Disney Cruise Line
As you know, the much anticipated next Star Wars movie officially opens on Dec. 18th in US theaters, though it will be shown as early as 7 PM the evening before in many select theaters. It has its exclusive premier Dec. 14th in LA, followed by general release Dec. 16th in France, and Dec. 17th in the UK, so even an embargo of critics reviews will not prevent the dissemination of spoilers. The Disney Cruise Line usually shows Disney-owned movies around midnight on the day of general release, though they began showing Pixar's "Inside Out" many days earlier. Clayton, the cruise director on the Wonder, implied that the Star Wars movie might follow that example and have an earlier-than-public release aboard the Disney ships. Given the likely demand to see this movie, along with the seating capacity of the Walt Disney and Buena Vista theaters, can you comment on when this movie will be screened at sea? Can you tell I'm a totally disinterested fan? Thanks for any information you can provide.
Anthony on October 26, 2015 at 8:14 am
Tangled debuts on the November 11th sailing of the Magic.
Lynda on October 24, 2015 at 9:43 pm
when is the debut of tangled?
Colleen on October 24, 2015 at 11:42 am
Imagineering the Disney Wish: Construction Updates from Germany
by Claire Weiss, Walt Disney Imagineering Germany
#DisneyCreators Set Sail on Disney Cruise Line
by Courtnee Collier, Manager, Influencer Communications
by Philip Gennotte, Portfolio Project Management Executive, Walt Disney Imagineering Germany
Fri, December 25, 2020 Disney Cruise Line
Disney Cruise Line Unwraps Never-Before-Seen Video of its Next Ship, the Disney Wish
Sun, November 8, 2020 Adventures By Disney
#DisneyMagicMoments: Adventures at Home–Ireland
Sat, September 19, 2020 Disney Cruise Line
Celebrate Talk Like A Pirate Day and Vote For Your Favorite Disney Cruise Line Buccaneer Jokes


text:
Q: How to Convert Boolean to String I have a Boolean variable which I want to convert to a string:
$res = true;

I need the converted value to be of the format: "true" "false", not "0" "1"
$converted_res = "true";
$converted_res = "false";

I've tried:
$converted_res = string($res);
$converted_res = String($res);

But it tells me that string and String are not recognized functions.
How do I convert this Boolean to a string in the format of "true" or "false" in PHP?

A: Another way to do : json_encode( booleanValue )
echo json_encode(true);  // string "true"

echo json_encode(false); // string "false"

// null !== false
echo json_encode(null);  // string "null"

A: Simplest solution:
$converted_res = $res ? 'true' : 'false';

A: Why just don't do like this?:
if ($res) {
    $converted_res = "true";
}
else {
    $converted_res = "false";
}

A: The function var_export returns a string representation of a variable, so you could do this:
var_export($res, true);

The second argument tells the function to return the string instead of echoing it.

A: Edited based on @sebastian-norr suggestion pointing out that the $bool variable may or may not be a true 0 or 1. For example, 2 resolves to true when running it through a Boolean test in PHP.
As a solution, I have used type casting to ensure that we convert $bool to 0 or 1.
But I have to admit that the simple expression $bool ? 'true' : 'false' is way cleaner.
My solution used below should never be used, LOL.
Here is why not...
To avoid repetition, the array containing the string representation of the Boolean can be stored in a constant that can be made available throughout the application.
// Make this constant available everywhere in the application
const BOOLEANS = ['false', 'true'];

$bool = true;
echo BOOLEANS[(bool)  $bool]; // 'true'
echo BOOLEANS[(bool) !$bool]; // 'false'

A: For me, I wanted a string representation unless it was null, in which case I wanted it to remain null.
The problem with var_export is it converts null to a string "NULL" and it also converts an empty string to "''", which is undesirable. There was no easy solution that I could find.
This was the code I finally used:
if (is_bool($val)) $val ? $val = "true" : $val = "false";
else if ($val !== null) $val = (string)$val;

Short and simple and easy to throw in a function too if you prefer.

A: The other solutions here all have caveats (though they address the question at hand). If you are (1) looping over mixed-types or (2) want a generic solution that you can export as a function or include in your utilities, none of the other solutions here will work.
The simplest and most self-explanatory solution is:
// simplest, most-readable
if (is_bool($res) {
    $res = $res ? 'true' : 'false';
}

// same as above but written more tersely
$res = is_bool($res) ? ($res ? 'true' : 'false') : $res;

// Terser still, but completely unnecessary  function call and must be
// commented due to poor readability. What is var_export? What is its
// second arg? Why are we exporting stuff?
$res = is_bool($res) ? var_export($res, 1) : $res;

But most developers reading your code will require a trip to http://php.net/var_export to understand what the var_export does and what the second param is.
1. var_export
Works for boolean input but converts everything else to a string as well.
// OK
var_export(false, 1); // 'false'
// OK
var_export(true, 1);  // 'true'
// NOT OK
var_export('', 1);  // '\'\''
// NOT OK
var_export(1, 1);  // '1'

2. ($res) ? 'true' : 'false';
Works for boolean input but converts everything else (ints, strings) to true/false.
// OK
true ? 'true' : 'false' // 'true'
// OK
false ? 'true' : 'false' // 'false'
// NOT OK
'' ? 'true' : 'false' // 'false'
// NOT OK
0 ? 'true' : 'false' // 'false'

3. json_encode()
Same issues as var_export and probably worse since json_encode cannot know if the string true was intended a string or a boolean.

A: You use strval() or (string) to convert to string in PHP.
However, that does not convert boolean into the actual spelling of "true" or "false" so you must do that by yourself.
Here's an example function:
function strbool($value)
{
    return $value ? 'true' : 'false';
}
echo strbool(false); // "false"
echo strbool(true); // "true"

A: boolval() works for complicated tables where declaring variables and adding loops and filters do not work. Example:
$result[$row['name'] . "	" . (boolval($row['special_case']) ? 'True' : 'False') . "	" . $row['more_fields'] = $tmp

where $tmp is a key used in order to transpose other data. Here, I wanted the table to display "Yes" for 1 and nothing for 0, so used (boolval($row['special_case']) ? 'Yes' : '').

A: This works also for any kind of value:
$a = true;

echo $a                     // outputs:   1
echo value_To_String( $a )  // outputs:   true

code:
function valueToString( $value ){
    return ( !is_bool( $value ) ?  $value : ($value ? 'true' : 'false' )  );
}

A: I'm not a fan of the accepted answer as it converts anything which evaluates to false to "false" no just boolean and vis-versa.
Anyway here's my O.T.T answer, it uses the var_export function.
var_export works with all variable types except resource, I have created a function which will perform a regular cast to string ((string)), a strict cast (var_export) and a type check, depending on the arguments provided..
if(!function_exists('to_string')){

    function to_string($var, $strict = false, $expectedtype = null){

        if(!func_num_args()){
            return trigger_error(__FUNCTION__ . '() expects at least 1 parameter, 0 given', E_USER_WARNING);
        }
        if($expectedtype !== null  && gettype($var) !== $expectedtype){
            return trigger_error(__FUNCTION__ . '() expects parameter 1 to be ' . $expectedtype .', ' . gettype($var) . ' given', E_USER_WARNING);
        }
        if(is_string($var)){
            return $var;
        }
        if($strict && !is_resource($var)){
            return var_export($var, true);
        }
        return (string) $var;
    }
}

if(!function_exists('bool_to_string')){

    function bool_to_string($var){
        return func_num_args() ? to_string($var, true, 'boolean') : to_string();
    }
}

if(!function_exists('object_to_string')){

    function object_to_string($var){
        return func_num_args() ? to_string($var, true, 'object') : to_string();
    }
}

if(!function_exists('array_to_string')){

    function array_to_string($var){
        return func_num_args() ? to_string($var, true, 'array') : to_string();
    }
}

A: $converted_res = isset ( $res ) ? ( $res ? 'true' : 'false' ) : 'false';

A: function ToStr($Val=null,$T=0){

    return is_string($Val)?"$Val"
    :
    (
        is_numeric($Val)?($T?"$Val":$Val)
        :
        (
            is_null($Val)?"NULL"
            :
            (
                is_bool($Val)?($Val?"TRUE":"FALSE")
                :
                (
                    is_array($Val)?@StrArr($Val,$T)
                    :
                    false
                )
            )
        )
    );

}
function StrArr($Arr,$T=0)
{
    $Str="";
    $i=-1;
    if(is_array($Arr))
    foreach($Arr AS $K => $V)
    $Str.=((++$i)?", ":null).(is_string($K)?"\"$K\"":$K)." => ".(is_string($V)?"\"$V\"":@ToStr($V,$T+1));
    return "array( ".($i?@ToStr($Arr):$Str)." )".($T?null:";");
}

$A = array(1,2,array('a'=>'b'),array('a','b','c'),true,false,ToStr(100));
echo StrArr($A); // OR ToStr($A) // OR ToStr(true) // OR StrArr(true)

A: How about converting to integer, then to string?
$ php -a
Interactive mode enabled

php > $a = true;
php > $b = false;
php > $c = (string)(int)$a;
php > $d = (string)(int)$b;
php > var_dump($c);
string(1) "1"
php > var_dump($d);
string(1) "0"
php >

What happens if you convert a boolean directly to string?
$ php -a
Interactive mode enabled

php > $a = true;
php > $b = false;
php > $c = (string)$a;
php > $d = (string)$b;
php > var_dump($c);
string(1) "1"
php > var_dump($d);
string(0) ""
php >

Converting a false to string will produce an empty string "".

A: Try this:
 $value = !is_bool($value) ? $value : ( $value ? "true" : "false");

A: Just wanted to update, in PHP >= 5.50 you can do boolval() to do the same thing
Reference Here.

redpajama_set_name: RedPajamaStackExchange


text:
predatory lesbian
In the 18-19th centuries, and possibly earlier, the recognition of the potential for female same-sex desire was sometimes depicted in the form of an agressive, "predatory" lesbian expressing desire for a "normal" woman.
For a full list of LHMP misc tags click here.
LHMP entry
Lesbian Historic Motif Project: #82e Lanser 2014 - The Sexuality of History: Modernity and the Sapphic, 1565-1830 (Ch 5)
Lanser examines the conjunction of the novel as a genre with "modernity" as defined in this work and considers its relationship to sapphic themes, despite the superficially overwhelming heteronormativity of the genre. One hallmark of the novel is the way in which it explores the contradictory imperatives of self-determination and socialization. The focus of the novel on the formation of couples and the subjective nature of desire opens the conversation--as previously seen with political and social conversations--to the inclusion or exclusion of sapphic subjects under that rubric.
Lesbian Historic Motif Project: #82f Lanser 2014 - The Sexuality of History: Modernity and the Sapphic, 1565-1830 (Ch 6)
In France in the later 18th century there arose the motif of secret societies of sapphists "more mysterious than the Freemasons" that existed to initiate women into lesbianism, to serve the pleasures of their members, and to achieve unsavory political ends. The existence of these formal organizations was purely fictitious. Their alleged membership typically included unpopular political and social figures. And their alleged purpose was ostensibly to disrupt the heterosexual organization of society, as an allegory for disrupting other social frameworks.
Lesbian Historic Motif Project: #48e - Donoghue 2010 Inseparable: Desire Between Women in Literature - Chapter 5
Lesbian sex, per se, has rarely been against the law, but in literature the forbidden nature of lesbian relationships encourages entanglement with murder (in both roles), blackmail, and other staples of crime fiction. This chapter, though, focuses more on the act of detection and the ways in which the identification of lesbians and lesbian behavior parallels the solving of mysteries or crimes. As the specific literary examples in this chapter fall after my project cut-off of 1900, I'll just summarize motifs.
Lesbian Historic Motif Project: #48d - Donoghue 2010 Inseparable: Desire Between Women in Literature - Chapter 4
Literary women who love women often lament being "the only one" or consider themselves outside of nature, but in the 18th century this begins being transformed into a sense of monstrousness. Versions of Ovid's myth of Sappho's late-life conversion to heterosexuality begin to presage this shift in the early modern era. Though a straightforward reading of Ovid's tragic ending would be that heterosexuality was the death of her, it began to be framed as a retroactive punishment for her previous love for women.
Lesbian Historic Motif Project: #48c - Donoghue 2010 Inseparable: Desire Between Women in Literature - Chapter 3
While the Inseparable motif sometimes employs a male character to bridge the practical logistics of forming a female couple, it is more natural for a triangle of this sort to frame the man and woman as rivals for their shared object of desire. Sappho's fragment 31 encapsulates the envy of a woman for the man who has the attention of the woman she loves. And in contrast to the common motif of-two men competing for a woman's love, when one of the rivals is a woman there is always an awareness that the playing field is badly uneven.
Lesbian Historic Motif Project: #100h Donoghue 1996 - Passions Between Women (Chapter 7)
There are many aspects of the history of homosexuality where an assumption of parallelism between the experiences of men and women leads to erroneous conclusions about what did and didn't exist. For men seeking sexual experiences with men, there's a fairly well documented history of networks, meeting places, and informal associations that helped them achieve their ends.
Lesbian Historic Motif Project: #100g Donoghue 1996 - Passions Between Women (Chapter 6)
Here Donoghue considers the literature that addresses sexual activity between women. In contrast to some claims, there are a number of home-grown English texts in this period that address non-penetrative sexual activities between women, and during the 18th century there seems to have been a regular dialog between French and English writing in this vein, with works in one language rapidly appearing in translation in the other.
Lesbian Historic Motif Project: #100d Donoghue 1996 - Passions Between Women (Chapter 3)
There was a theatrical counterpart to the real life cross-dressing women discussed in the previous chapter. It had become the fashion for women to play certain types of male roles on stage, under the cover term "breeches parts". This was part of the contradictory acceptance/rejection of women in male disguise. Acceptability was not related to how well the disguise was pulled off: "masculine" clothing among fashionable women (such as riding habits) might be mocked while women discovered after passing completely as soldiers might be lauded.
Lesbian Historic Motif Project: #64 Haggerty 2010 "Women Beware Women: Female Gothic Villains and Victims"
Haggerty examines several examples of female villains in gothic romances to develop what strikes me as a rather weak theory of homoerotic attraction as subtext in the stories. Identifying a number of stories in which the heroine is persecuted and abused by a female villain (rather than the default male villain), he finds that they "suggest that the relations between women can be played out as potentially erotic, just as sado-masochistic relations between men and women are."


Less than a month away from the kick-off of the IUCN World Conservation Congress in Hawaii, a team of scientists report in the journal Nature that three quarters of the world's threatened species are imperiled because people are converting their habitat into agricultural lands and overharvesting their populations.
The team, from the University of Queensland, Wildlife Conservation Society (WCS) and the International Union for Conservation of Nature (IUCN), studied information on 8,688 species on the IUCN Red List. They found that 72% of species are imperiled by overexploitation (the harvesting of species from the wild at rates that cannot be compensated for by reproduction or regrowth), while 62% of species are imperiled by agricultural activity (the production of food, fodder, fiber and fuel crops; livestock farming; aquaculture; and the cultivation of trees). In comparison, 19% are considered threatened by climate change.
There are 5,407 species threatened by agriculture alone, including cheetah, African wild dog and Asia's hairy-nosed otter. Illegal hunting is decimating populations of all rhinoceros and elephant species, western gorilla and Chinese pangolin. Other threats are affecting substantially fewer species, for example hooded seals being threatened by climate change. Perhaps surprisingly, climate change was ranked 7th among the 11 threats studied.
From 1 to 10 September, representatives from government, industry, and non-environmental organizations (NGOs) will define future directions for conservation at the World Conservation Congress of the International Union for Conservation of Nature (IUCN). The report authors urge Congress delegates – and society in general – to focus on proposing and funding actions that deal with the biggest current threats to biodiversity.
The authors also add, however, that while overharvesting and agricultural activities are currently the predominant threats to species, this may change in the coming decades.


text:
Physics-based platformer LAZR has a very impressive new demo out
⨯ Check out our Monthly Survey Page to see what our users are running.
Go to: All News Editorial Review Interview HOWTO
Quick Tags
The Frictional Games strange teaser appears to be growing
By Liam Dawe, 16 January 2020 UTC
Frictional Games, the team that craft some very interesting horror experiences like SOMA and Amnesia are teasing something and it appears to now be growing. What horrific thing will chase us next?
Valve give a little more info on what 'Gamescope' actually does for Linux gaming
Recently, a Valve developer revived steamcompmgr (the SteamOS compositing and window manager) and renamed it to Gamescope. After writing about it yesterday here on GOL, they've now given some more info on what it actually does.
Action-packed drone building game 'Nimbatus' has a huge update, we have 3 copies to give away
We've teamed up with Stray Fawn Studio again to give away three copies of their space drone construction game, Nimbatus, plus there's a massive update out now.
Today, The Khronos Group has released the next big update the Vulkan graphics API specification with Vulkan 1.2 now available.
Apocalyptic fantasy RPG strategy 'Vagrus - The Riven Realms' new build out, passed $50K on Fig
Vagrus - The Riven Realms, an incredibly engrossing in-development narrative blend of fantasy RPG and strategy mechanics has a fresh build up.
Paradox to focus on smaller and more frequent updates to Imperator: Rome this year
Paradox Development Studio have given their first 2020 update on the roadmap for the struggling Imperator: Rome.
3D party action game 'Aeolis Tournament' is on Kickstarter promising some chaotic fun on Linux
Beyond Fun Studio are raising a little funding to complete their crazy party game, Aeolis Tournament, which is planned to release with Linux support this Spring.
Cortex Command has a Community Project that aims to keep the game alive
Remember Cortex Command? Data Realms released a Linux build for the Humble Indie Bundle 2 in 2010, sadly the Linux version never really progressed much but since it was opened sourced last year it can live on and it is alive.
Game Engine
Valve are definitely up to something. For a little while, Valve developer Pierre-Loup Griffais has been tweaking steamcompmgr, the SteamOS session compositing window manager.
DOOM Eternal coming to Stadia on March 20, plus other Stadia news - a round-up
Time for another little roundup of what's going on with Google Stadia lately. First up, let's talk about games.
Steam Play Proton 4.11-12 is out
The first Steam Play Proton release of 2020 is now available with 4.11-12 which is mainly a cleanup.
Steam Play
Slay the Spire patch 2.0 is out, bringing in The Watcher as the fourth character
As if I needed more reasons to dive into the Spire once again, Slay the Spire 2.0 is out which brings quite a lot of changes in addition to the fourth character.
Deck-builder
The Humble Sweet Farm Bundle is live with some lovely Linux games
Humble Bundle have just put up The Humble Sweet Farm Bundle and there's multiple lovely Linux games included.
Game Bundle
ShotX Studio got a big boost to sales by releasing a free torrent of Danger Gazers
This is certainly an unusual way to get a little extra support for your game. ShotX Studio, an indie outfit of just developer Shota Bobokhidze who recently released the rather good Danger Gazers put it up in a torrent.
Super Mega Space Blaster Special Turbo arcade shooter released
Super Mega Space Blaster Special Turbo is a long name and this is supposed to be the expanded edition of the 2019 release, giving additional arcade-style shoot 'em up action.
Bullet Hell
Go to: 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937
18 January 2020 at 5:14 pm UTC - slaapliedje


text:
What you need to know about Apple CVE-2021-30860, also known as FORCEDENTRY
On September 13, Apple surprised its users with a system update on iPhone, iWatch, iPad and MacOS. Something that does not happen very often and less if it comes with an official Apple publication indicating the importance of installing the update.
All this due to a report by Citizen Lab, where they confirmed that with a malicious PDF document it is possible to exploit the CVE-2021-30858 and CVE-2021-30860 vulnerabilities to execute commands on iOS and macOS. Terrible for the user, but you have to know what it means and where this threat comes from.
It all started in February 2021 when the company Forcedentry analyzed an iPhone that had been taken from a Saudi activist and that was infected with spyware of Israeli origin, called Pegasus, from the company NSO Group. They discovered that there was a 0-day, totally unknown, and 0-click vulnerability that could be effective on any of the Apple-branded devices.
However, initial research thought that iMessage was the way to exploit this weakness until on August 24, Citizen Lab published a report showing that these vulnerabilities could and were being exploited using PDF documents that contain hidden commands that they run on systems and give attackers access to information on these devices.
The most serious thing about this threat is that it is totally invisible and undetectable for the user. At least it has been used by NSO Group, as announced by different media in the week of August 14 to 27, when the investigation was made public that claims that activists from the Bahrain human rights center, between June 2020 and February 2021, had been spied on using this attack in conjunction with software known as Pegasus.
How does it affect you...
Without a doubt, we all handle data and contacts, and also our devices have an Internet connection, so knowing that there is this vulnerability that nobody knew about (0-day) and that allows you to take control and spy on mobile devices and computers of the brand of Apple, it is undoubtedly an opportunity that attackers will not miss.
This set of circumstances makes any iPhone, IPad, iPod, iWatch and MacOS user a potential victim of this threat from now on. Unfortunately for Apple, it is not the first case this year, nor the first caused by the investigation of these cell phones by Saudi activists, from which the following threats have been reported:
In January, three 0-days affecting iOS were being actively exploited.
In March, a 0-day reported by researchers, but its exploitation is not confirmed.
In April, a 0-day for iOS and a 0-day for MacOS, actively exploited by the Shlayer Trojan, leading to a rush of macOS signatures.
In May, three more 0-days that allow you to execute commands on mobile devices simply by visiting a website, plus a 0-day for MacOS that bypasses system privacy protections.
In June, two 0-days were actively exploited to affect older mobile devices.
It's time to keep Apple devices very updated, and immediately install the updates that came out between September 13 and 15 in the newsletter https://support.apple.com/en-us/HT201222 and the newsletter https://support.apple.com/en-us/HT212807.
This is where the weaknesses detected by Citizen Lab and some other researchers are corrected, mitigating the possibility that criminals can take advantage of it and access the information of the devices or deploy espionage or hijacking malware.
It is not only on the iPhone, if you have an iPad, iWatch or a Mac, you should also install the updates in the shortest possible time, because once they are public, the chances of them being used by the different criminal groups in cyberspace increase.
Fuente: Apple CVE-2021-30860


text:
Policymakers Draw Heavily from Highly Cited COVID-19 Science
Analysis finds that policy documents have an unusually high rate of using the newest science—10 times larger than seen for other policy documents
Policymakers around the world tend to reference new and highly cited COVID-19 research papers in their policy documents regarding the pandemic, Yian Yin and colleagues conclude after analyzing publications of both types from the first half of 2020.
"Overall, this result shows that the coronavirus research used by policymakers aligns with what scientists heavily engage themselves," they write in a Policy Forum. Although government agencies produced more COVID-19 documents compared to think tanks and intergovernmental organizations such as the World Health Organization, Yin et al. found that governmental agencies are the least likely to cite science. Organizations like WHO are the most likely institutions to cite science, they write, suggesting that these organizations can act as "central conduits" linking policy and science in the global COVID-19 response.
Related Article: Pandemic Spawns 'Infodemic' in Scientific Literature
The researchers examined scientific citations in policy documents drawn from a database of 37,725 papers covering most major world economies and populations centers, with the exception of mainland China. The policy documents have an unusually high rate of using the newest science—10 times larger than seen for other policy documents. And policymakers draw heavily from scientific papers that are highly cited in the scientific literature.
Papers referenced in the policy documents have collected on average 40 times higher citations than papers not referenced in the documents, the researchers found. Yin et al. also note that policy papers disproportionately reference peer-reviewed research published in top medical and specialty journals, despite the recent abundance and attention given to research released on preprint servers.
- This press release was supplied by the American Association for the Advancement of Science. It has been edited for style
Tags: CoronavirusIndustry NewsPandemicProduct Resource: Industry Newsscience and politics


How Important Are Advisor's Credentials?
At BlueSky Wealth Advisors, we believe that the professional certifications held by advisors play a critical role in helping investors achieve long-term financial success.To that end, when you are looking for an advisor, be sure that they hold a Chartered Financial Analyst® and/or a CERTIFIED FINANCIAL PLANNER™ designation. Other credentials to look for are Registered Paraplanner and Enrolled Agent. Let's take a look at each of these credentials beginning with the Chartered Financial Analyst.
The Chartered Financial Analyst (CFA) charter has become the global professional investment credential. In fact, the CFA charter is often referred to as the gold standard of the financial industry. To become a CFA charterholder, a candidate must pass three six-hour examinations (the average time to successfully complete all three exams is four years).
The CFA Program curriculum covers concepts and skills that advisors use every day. These include academic theory, current industry practice, and ethical and professional standards that give advisors a strong foundation for the financial planning and portfolio management skills they provide to clients.
Core elements of the CFA curriculum include investment tools (economics, financial statement analysis, quantitative analysis and corporate finance), asset valuation (analysis of debt and equity investments, derivatives and alternative investments), and portfolio management (both institutional and individual, including performance measurement).
The CERTIFIED FINANCIAL PLANNER™ (CFP®) certification has become the recognized standard of excellence for personal financial planning. The CFP® designation is awarded through the CFP Board which fosters professional standards in personal financial planning through its setting and enforcement of the education, examination, experience, ethics and other requirements for CFP® certification.
To receive certification, CFP® candidates must pass a comprehensive, 10-hour CFP Certification Examination. In addition, CFP® candidates must have a total of three years full-time qualifying experience; the equivalent of 6,000 hours of relevant work experience.
CFP® professionals are held to rigorous ethical standards through their adherence to the CFP Board's Standards of Professional Conduct. To maintain their certification, CFP® professionals must complete 30 hours of Board-approved continuing education every two years.
Individuals who hold the Registered Paraplanner℠ (RP®) designation have completed a course of study that covers the financial planning process, the five disciplines of financial planning, general financial planning concepts and terminology, and product categories.
Additionally, designees must pass an end-of-course examination that tests their understanding of complex financial planning concepts and their ability to apply theoretical concepts to real-life situations. Also, an RP® must agree to adhere to the College for Financial Planning's Standards of Professional Conduct. Finally, an RP® must renew their designation every two-years by completing 16 hours of continuing education credits.
An individual who becomes an enrolled agent (EA) enjoys the privilege of representing taxpayers before the Internal Revenue Service (IRS). EAs must pass a three-part, comprehensive test administered by the IRS covering individual and business tax returns, or have experience as an IRS employee.
To maintain EA status, individuals must complete 72 hours of continuing education courses every three years. Like attorneys and certified public accountants, EAs have unlimited practice rights when it comes to whom they can represent and what types of tax matters they can cover.
While sometimes resembling alphabet soup on an advisor's business card, the professional credentials earned and maintained by advisory and client service professionals are focused and directly relevant to helping investors achieve long-term financial success.


text:
Jicaque ist eine Sprachfamilie in Honduras. Sie besteht aus zwei Sprachen: Ost-Jicaque (Tol) und West-Jicaque (Jicaque von El Palmar, Sula †). Sie gehört zu den indigenen amerikanischen Sprachen.

Siehe auch
 Sprache
 Sprachfamilie
 Sprachfamilien der Welt
 Einzelsprache

Weblinks
 Indianersprachen
 Nord- und mesoamerikanische Sprachen
 Jicaquean. In: M. Paul Lewis, Gary F. Simons, Charles D. Fennig (Hrsg.): Ethnologue. Languages of the World. 19th edition. Online-Version. SIL International, Dallas TX 2016.

Sprachfamilie
Indigene Sprachen Amerikas

redpajama_set_name: RedPajamaWikipedia


text:
[10]-Gingerdiols as the Major Metabolites of [10]-Gingerol in Zebrafish Embryos and in Humans and Their Hematopoietic Effects in Zebrafish Embryos.
[10]-Gingerdiols as the Major Metabolites of [10]-Gingerol in Zebrafish Embryos and in Humans and Their Hematopoietic Effects in Zebrafish Embryos. Journal of Agricultural and Food Chemistry. Epub May 23, 2013. Chen H, Soroka DN, Haider J, Ferri-Lagneau KF, Leung T (NC Central University Nutrition Research Program), Sang S.
Center for Excellence in Post-Harvest Technologies, North Carolina Agricultural and Technical State University, North Carolina Research Campus.
Gingerols are a series of major constituents in fresh ginger with the most abundant being [6]-, [8]-, and [10]-gingerols (6G, 8G, and 10G). We previously found that ginger extract and its purified components, especially 10G, potentially stimulate both the primitive and definitive waves of hematopoiesis (blood cell formation) in zebrafish embryos. However, it is still unclear if the metabolites of 10G retain the efficacy of the parent compound toward pathological anemia treatment. In the present study, we first investigated the metabolism of 10G in zebrafish embryos and then explored the biotransformation of 10G in humans. Our results show that 10G was extensively metabolized in both zebrafish embryos and humans, in which two major metabolites, (3S,5S)-[10]-gingerdiol and (3R,5S)-[10]-gingerdiol, were identified by analysis of the MS(n) spectra and comparison to authentic standards that we synthesized. After 24 h of treatment of zebrafish embryos, 10G was mostly converted to its metabolites. Our results clearly indicate that the reductive pathway is a major metabolic route for 10G in both zebrafish embryos and humans. Furthermore, we investigated the hematopoietic effect of 10G and its two metabolites, which show similar hematopoietic effects as 10G in zebrafish embryos.
Ginger, NC A&T University, NC Central University, Zebrafish
Free, Open-Source Tool Enhances Visualization of the Gap between Genotype and Phenotype


text:
Q: Remove products from the database with vue.js How can I remove products from the MySql database when I click on a button in the Vue.js table?
I just wrote it so that it only deletes in View. Database is associated with Laravel.

@{{title}}

Products (@{{products.length}})

            Name
            Price
            Actions

@{{item.name}}

@{{item.price}}

            <button v-on:click.prevent="deleteProduct(index)">Delete
            Product</button>

    <?php
     namespace App\Http\Controllers;
     use Illuminate\Http\Request;
     use App\UserModel;
     use App\ProductModel;
     class Admin extends Controller
     {
     function productsPanel(){
        return view('/adminproducts');
     }
     function products(){
        return ProductModel::all();
     }
     }

What function should be written for this in Laravel and Vue.js?

A: You need an DELETE api which is callable like this.
axios.delete(`/product/${product_id}`).then(r=>{
  // do something
})


text:
Q: Can you help me understand why this boolean method is returning false? I have a User model with an account_type attribute that is either "Student" or "Partner". I have created boolean methods in my User model to determine if a user record is either a student or partner (see below).
 def student?
    self.account_type == "Student"
  end

  def partner?
    self.account_type == "Partner"
  end

In rails console, when I set user equal to an instance of User that has a student account type and enter user.account_type == "Student", I get true but when I call user.student?, I get false. Is there an issue with how I've set up these methods? They seem pretty straight forward so I'm not following why true isn't returned for the record.
Console Output:
user = User.last
#<User id: 18, first_name: "gjalrgkj", last_name: "kgjrlgakjrl", email: "terajglrkj@gmail.com", password_digest: "$2a$10$WF.Rw3PzlWilH0X.Nbfxfe5aB18WW6J7Rt4SAKQEwI8...", remember_digest: nil, activation_digest: "$2a$10$/bXG4/nKCiiZHWailUPAmOZj7YhCjKhPm4lUW6nPC3N...", activated: nil, activated_at: nil, reset_digest: nil, reset_sent_at: nil, account_type: "Student", created_at: "2018-07-02 04:21:07", updated_at: "2018-07-02 04:21:07">
>> user.account_type
=> "Student"
>> user.account_type = "Student"
=> "Student"
>> user.student?
=> false

User Model:
class User < ApplicationRecord
  has_one :personal_information

  attr_accessor :remember_token, :activation_token, :reset_token
  before_save   :downcase_email
  before_create :create_activation_digest
  validates :first_name,  presence: true, length: { maximum: 50 }
  validates :last_name,  presence: true, length: { maximum: 50 }
  VALID_EMAIL_REGEX = /\A[\w+\-.]+@[a-z\d\-]+(\.[a-z\d\-]+)*\.[a-z]+\z/i
  validates :email, presence: true, length: { maximum: 255 },
                      format: { with: VALID_EMAIL_REGEX },
                      uniqueness: { case_sensitive: false }
  has_secure_password
  validates :password, presence: true, length: { minimum: 6 }, allow_nil: true
  validates :account_type, presence: true

  def User.new_token
    SecureRandom.urlsafe_base64
  end

  def User.digest(string)
    cost = ActiveModel::SecurePassword.min_cost  BCrypt::Engine::MIN_COST :
                                              BCrypt::Engine.cost
    BCrypt::Password.create(string, cost: cost)
  end

  def create_reset_digest
    self.reset_token = User.new_token
    update_columns(reset_digest: User.digest(reset_token), reset_sent_at: Time.zone.now)
  end

  def authenticated?(attribute, token)
    return false if digest.nil?
 BCrypt::Password.new(digest).is_password?(token)
  end

  def remember
    self.remember_token = User.new_token
    update_attribute(:remember_digest, User.digest(remember_token))
  end

  def forget
    update_attribute(:remember_digest, nil)
  end

  def provide_age
    now = Time.now.utc.to_date
    if self.birthday.nil?
      nil
    else
      self.age = now.year - self.birthday.year - ((now.month > self.birthday.month || (now.month == self.birthday.month && now.day >= self.birthday.day)) ? 0 : 1)
      update_attribute(:age, self.age)
    end
  end

  def send_activation_email
    UserMailer.account_activation(self).deliver_now
  end

  def activate
    update_columns(activated: true, activated_at: Time.zone.now)
  end

  def send_password_reset_email
    UserMailer.password_reset(self).deliver_now
  end

  def password_reset_expired?
    reset_sent_at < 2.hours.ago
  end

  private

  def downcase_email
    self.email.downcase!
  end

  def create_activation_digest
    self.activation_token  = User.new_token
    self.activation_digest = User.digest(activation_token)
  end
end

User Helper
  def account_type
    [
      ['Student'],
      ['Partner'],
      ['School Administrator'],
      ['Philanthropist']
    ]
  end

  def student?
    self.account_type == "Student"
  end

  def partner?
    self.account_type == "Partner"
  end
 end

A: Your 2 methods student? and partner? belong in the user model.
When you are doing user.student? it looks for student? method as a instance method in the user model.
self in helper is not the user instance it points to your helper module.
Hope this helps.

A: try to put this code into your User Model (not in Helper)
def student?
  self.account_type == "Student"
end

def partner?
  self.account_type == "Partner"
end

and this is a good idea to create a setter to set the account_type, example
def set_account_type(type)
  self.account_type = type
end


text:
Q: using spinner in android development I'm new to android development, I have some experiences on C# windows programming, but also very little. I'm working on an android application which uses spinners. So far, I found a tutorial which make spinner items, and displays spinner text in text view, as you select spinner item. The code lookes like this:
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
    spinner =(Spinner)findViewById(R.id.sp);
    text=(TextView)findViewById(R.id.tv);
    ArrayAdapter<CharSequence> adapter =ArrayAdapter.createFromResource(this, R.array.spinnerarray, android.R.layout.simple_spinner_item);
    adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
  spinner.setAdapter(adapter);
  spinner.setOnItemSelectedListener(new function());
}

public class function implements OnItemSelectedListener {

    @Override
    public void onItemSelected(AdapterView<?> parent, View arg1, int pos,
            long id) {
        // TODO Auto-generated method stub
        String str=parent.getItemAtPosition(pos).toString();
        text.setText(str);

    }

I want to make an application, which will calculate some points, with the grade user would choose. Example: spinner will contain grades, such as Negative(1), Positive(2),Good(3), Very Good(4), Excellent(5). I want to achieve, that when an user chooses one grade, lets say very good, that the application will use the grade for very good which is 4, and it would transform it to some points, determined by me ( 1=20, 2=40,3=60,4=80,5=100). The points will be later used in calculation, but I have no idea how to assign points to certain grade. I hope you understand my question and thank you for your help.
I had the same app for windows, there I just used something like: if(veryGood.IsSelected==true){points = 20}, and i want to achieve same effect here.

A: You need a simple modifications on your function class:
public class function implements OnItemSelectedListener {

   private final static int[] grades = new int[]{20,40,60,80,100}; //change in whatever you want. The length of the array must be the same of the adapter, or an ArrayIndexOutOfBoundException may be throwed.

   @Override
   public void onItemSelected(AdapterView<?> parent, View arg1, int pos, long id) {
       text.setText(grades[pos] + " points!");
   }
}

PS: in Java is a good practice to use upper case initial on class names e.g. Function instead of function.


Before Michael came into my life four years ago, I had never had a single energy drink. I barely even had soda or chocolate milk; those drinks were considered a treat, only to be had whenever we went out as a family.
Anyway, I decided to try some grape NOS last Sunday. Being the reckless college student I now am, I took Michael up on his declaration that I should chug it. So... I did.
Yeah, I never want to experience that again.


text:
Home Canadian Premier League CanPL News and Notes Hart to lead Halifax Wanderers as the club's first coach and GM
Hart to lead Halifax Wanderers as the club's first coach and GM
Stephen Hart PHOTO: JASON GEMNICH/CANADA SOCCER
The Canadian Premier League's silly season for coaching announcements continued Thursday, as Halifax Wanderers unveiled former Canadian national-team boss Stephen Hart as the man who will lead the club in its inaugural season.
Like Valour FC's appointment of Rob Gale on Tuesday, this is a move that surprised no one and, really, was sort of expected. Just like Gale is synonymous with soccer in Manitoba, Hart has deep roots in Nova Scotia football. He's managed both Canada and Trinidad and Tobago.
FC Edmonton will announce its new head coach next Tuesday.
Wanderers president Derek Martin admitted that his club has had a hard time keeping secrets (remember that, when the club launched, Hart was listed on the website as the club president until it was taken down and fixed). Fans knew about the name before it was announced, and fans all knew that Thursday would be the Hart announcement day.
"There was one name that was repeated to me over and over and over and over again — and that was Stephen Hart," said Martin. "And it was very clear to me that he had the respect of the soccer people in this community."
During his time as Canadian national-team coach, I lost count of the times Hart lamented the number of players he called up who weren't getting regular playing time, whether it be in Europe or in MLS or other leagues. And, then, he had to cope with having to call in so many unattached players — he was bringing players in, hoping that their performances for Canada would trigger a few phone calls to their agents.
"For all of us in the region who are passionate about the game and have been involved, whether as players or coaches, we always felt that there was one piece of the puzzle missing," Hart said Thursday, standing behind on a podium on the Wanderers' ground. "For a pathway to any aspiring players, that piece of the puzzle would have been having a professional team and having a professional league."
And Hart, who will also serve as the club's general manager, called for patience.
"This is brand new. Like in building anything, it will take time. It will take time to get things right. But, along the way, in trying to get things right, it will be exciting. It will be adventurous."
The club announced that, on July 28, a team of Atlantic Canadian all-stars being assembled by Hart will take on Fortuna Dusseldorf's youth side at the Wanderers home ground. Martin said this is the first concrete proof of how the Wanderers will scour the Atlantic provinces for talent. The hope is that some players on that All-Star squad will earn invites to the first-ever Wanderers training camp.
TagsCanadian Premier LeagueDerek MartinHalifax WanderersStephen Hart
Previous article Fury books spot in Canadian Championship semis, will sweat on status of Tissot
Next article Inescapably Canadian Power Rankings: MLS Week 18/USL Week 16
I'm currently the colour commentator for FC Edmonton broadcasts on Sportsnet, NASL.com and TEAM 1260. I've covered the Toronto FC beat for four years, worked for the Edmonton Aviators of the USL for a season, covered the Edmonton Drillers of the NPSL and started covering Canadian World Cup qualifiers in 1996. I've covered the CONCACAF Champions League and the U-20 World Cup. I'm passionate about soccer in North America.
More By Steven Sandor
More In CanPL News and Notes
The new approach from Belan is in contrast to appearances from a year ago when it looked a…
NASL veterans, returnees highlight FCE's five new signings
FC Edmonton announced the signings of five players on Thursday, three of them who have wor…
CanPL roundup: Wanderers go local, former England U-17 joins the Cavalry
On Wednesday, Wanderers announced the signing of the club's first local player, 17-year-ol…
To finish third at a tournament, in which more than three teams were participating, withou…
Right now, Canada is one win, one draw at the Algarve Cup because, really, their goal hasn…
Let's face it, you would stay off the message boards and Reddit and the soccer blogs if yo…
Load More By Steven Sandor
Load More In CanPL News and Notes
Security Question * 6 × = thirty six
Follow The 11
Commissioner: NASL does not want to be an affiliated developmental league
No Barca, no Roma, no PSG; Officially, beIN Sport mum on Canadian plans
Worst-kept secret in Canadian soccer: Zambrano was on hot seat from day one
Saiko's time with FC Edmonton comes to a close
The new Canadian Professional League needs to go public ASAP
frank smith: is still on the radar of the CPL ?...
Mark Mercier: Ok, I realize this thread is ancient but I played with Steve Lambert and Brian D...
Steven Sandor: Just a note. As you may have noticed, I am currently working for CanPL.ca as a c...
Aargy: What happened to the "Minutes for Canadians in MLS"? I guess you don't want to k...
Garry Grams: True words....it's not how many chances you get, it's how many you convert that...
MLS NASL FC Edmonton Canada Toronto FC Vancouver Whitecaps Montreal Impact Colin Miller Canadian Soccer Association Ottawa Fury USL FC Dallas women's soccer Will Johnson Kyle Porter Jonathan Osorio Russell Teibert Julian de Guzman World Cup Kyle Bekker Mallan Roberts Patrice Bernier Nana Attakora Orlando City Marcel de Jong
A Canadian Soccer Novel
A Canadian Soccer novel for young adults
Buy it at
Chapters/Indigo


Brandberry is all about visual brand strategy.
Based in Samara, Russia, they provide identity, logo design, character design and type design for clients from all over the world.
Their works has been published at LogoLounge books and they are proud winners with a silver medal on HiiiBrand 2010.


text:
WikiLeaks founder Julian Assange released on bail
14 Dec 201073 Views
News is emerging that WikiLeaks founder Julian Assange has been granted bail with conditions while he waits for a decision on his possible extradition to Sweden.
Many reporters have been tweeting the event in the London courtroom where the hearing is happening.
Assange's supporters, including director Ken Loach, heiress Jemima Khan and journalist John Pilger, have put up more than US$300,000 in bail and his lawyer says he will accept an electronic tag, a curfew and travel restrictions.
Assange was arrested not for his leaking of diplomatic cables online at WikiLeaks, but for alleged sex crimes in Sweden. He was placed under police custody in the UK.
However, reports are emerging that he may remain in jail for another 48 hours after prosecutors filed an appeal against his release.
Earlier today, Assange said his arrest will not stop him from continuing his work with WikiLeaks.
"My convictions are unfaltering. I remain true to the ideals I have always expressed," he said in a statement.
"These circumstances shall not shake them. If anything, this process has increased my determination that they are true and correct."
He also blasted companies who denied WikiLeaks their services, such as PayPal and Amazon, as being "instruments of US foreign policy."
Related: Julian Assange, WikiLeaks, London, UK, government & policy, litigation
UK promises to create and support up to 250,000 'green jobs'
Facebook sued by UK group over Cambridge Analytica breach
Meet the two Irish start-ups in the Techstars London Accelerator
26 Oct 20201.56k Views
Uber wins latest legal battle to renew London operations
Apple tax case to rumble on as EU appeals European court decision


TAHLIA & DAN DIDN'T LET A LITTLE DOWNPOUR DAMPEN THEIR DAY.
IT WAS ONE TO REMEMBER, FULL OF ROMANCE & SPARKLING CITY LIGHTS.
A special Thanks to our friends Heart & Colour, The Bloom Collective & Avia Beauty for helping us create magic.


CYBERTRON IN CRISIS! An explosion in the middle of the capitol city strikes. Was it a DECEPTICON attack? Suspicions run high, and the uneasy peace unravels! Only Wheeljack can solve the puzzle–but will he do it before Starscream takes advantage of the AUTOBOTS' weakness! The bold new direction in Transformers storytelling continues!


Jan 18, 2016 Looking for a used metal detector and not sure where to buy? will take you to the latest used offers on thirdparty sites including.
Amazon.com : Garrett AT Pro Metal Detector : Garden Outdoor.
Discover the best Metal Detectors in Best Sellers. Find the top 100 most popular items in Amazon STRINGnavsapatiolawngarden Best Sellers.
Garret 1139070 Ace 250 Metal Detector by Garrett, http:www.amazon.comdpB00095ODBIref=cm_sw_r_pi_dp_yTKAqb0NNJ7E3.
Results 1 48 of 12612 Shop for great deals on Metal Detectors. Youll find new or used Metal Detectors on . Free shipping on selected items.
Mar 8, 2016 Amazon may be shaming its warehouse workers into stopping stealing told Mental Floss that Amazon warehouses contain metal detectors.
Results 1 24 of 646 Online shopping for Metal Detectors from a great selection at Patio, Lawn Garden Store.
Watch Antarctic Tears on Amazon Video. Gold Panning with Watch Gold Panning on Amazon Video. Jackson Hole Watch Metal Detectors on Amazon Video.
Best Waterproof Metal Detector in 2018 Reviewed By Expert!
When you want to buy the best waterproof metal detector, you should be aware of the facts that will enable you get the More photo price on.
Bounty Hunter Gold Digger Metal Detector: Amazon.in: Garden Outdoors.
Dec 9, 2014 Amazon insisted that workers go through the screenings, conducted by a keys and take off their belts before passing through metal detectors.
Amazon.com : Garrett Ace 250 Metal Detector with Submersible Search Coil : Hobbyist Metal Detectors : Garden Outdoor.
Results 1 24 of 500 Online shopping for Metal Detectors from a great selection at Garden Outdoors Store.
Apr 19, 2018 Buy the best metal detectors for finding coins, jewelry and more frompanies Garrett Ace 300 Metal Detector. Photo from Amazon.
Results 1 24 of 899 Online shopping for Metal Detectors from a great selection at Patio, Lawn Garden Store.
Oct 9, 2013 Workers at warehouses across the country are suing the online retail giant Each employee must pass through a metal detector.
Shop Garrett Ace 250 Metal Detector. Free delivery on eligible orders of £20 or more.
BUY IT NOW AT AMAZON.COM What were looking for is experts in Metal Detecting who have relevant experience, Minelab Metal Detector Backpack Black.
Jun 2, 2014 A brief introduction to the Bounty Hunter Gold Digger Metal Detector.
And here you all are going to know about 10 best metal detectors which are most popular as well as best for their user. Buy NowFrom.
Dec 9, 2014 The Supreme Court sided against workers at an Amazon that they should be paid for time spent waiting to go through a metal detector.


text:
«Яйцо́-часы́ Юсу́повых» (также известное как «Яйцо́ Юсу́пова») — ювелирное пасхальное яйцо, изготовленное фирмой Карла Фаберже для семьи Юсуповых. Яйцо было создано в 1907 году по заказу князя Феликса Юсупова, который подарил его своей жене Зинаиде Николаевне в качестве подарка на Пасху 1907 года и в честь двадцать пятой годовщины свадьбы. Хранится фондом Эдуарда и Мориса Сандоз, Швейцария.

Описание
Ювелирное пасхальное яйцо изготовлено в виде настольных часов, в стиле Людовика XVI, из жёлтого и красного золота, алмазов, изумрудов, жемчуга, рубинов, белого оникса, прозрачной малиновой, розовой и непрозрачной белой эмали. Вращающийся циферблат покрыт белой эмалью, римские цифры украшены алмазами. Ювелирное яйцо покоится на трёх пилястрах, основания которых выполнены в виде львиных лап. Золотая гирлянда опоясывает пасхальное яйцо и содержит три овальных медальона. Считается, что ранее на медальонах были миниатюры, изображающие князя Феликса Юсупова и его сыновей: Николая и Феликса. Ныне на медальонах вместо миниатюр можно обнаружить золотые литеры М, Y и S в обрамлении мелких алмазов — инициалы последнего владельца, Мориса Сандоза.

Сюрприз
Поскольку данное яйцо представляет собой работающий часовой механизм, оно не содержит сюрприза.

Владельцы
Подарено князем Феликсом Юсуповым жене Зинаиде в честь двадцать пятой годовщины свадьбы. Вероятно продано российскими чиновниками в Париже или Берлине. С 1949 года принадлежало дилерам в Лондоне. В 1953 году яйцо-часы приобрёл швейцарский магнат доктор Морис Сандоз. С 1958 года — собрание Эдуарда и Мориса Сандоза, Лозанна (Швейцария), где и хранится в настоящее время.

В коллекцию фонда Эдуарда и Мориса Сандоз, кроме ювелирного яйца-часов Юсуповых, вошли два пасхальных императорских яйца «Лебедь» (1906) — с сюрпризом в виде механического лебедя и «Павлин» (1908) — с сюрпризом в виде механического павлина.

Примечания

Ссылки

Яйцо-часы Фаберже
Изделия с применением эмали


text:
Latest Middle East Muslim World Top Stories
Syria's air defences intercept barrage of Israeli missiles
by Web Desk December 25, 2020
DAMASCUS, Syria: Syrian air defences have intercepted Israeli missiles over the western province of Hama, Syrian state TV said early on Friday, citing a military statement.
The "barrage of missiles" were directed from the north of the Lebanese city of Tripoli at 12:40 am (22:40 GMT) on Friday, the statement said, describing the attack as an "Israeli aggression". The rockets were aimed at the town of Masyaf in the Hama countryside, the military said.
"Our air defences intercepted the missiles and downed most of them," it added.
The official SANA news agency reported explosions in Masyaf.
There was no immediate comment from Israel.
Shortly before the raids, Israeli warplanes were heard flying over neighbouring Lebanon, with some residents of Beirut reporting seeing missiles in the skies over the city.
Israel regularly violates Lebanese airspace and has launched hundreds of raids in Syria since the start of the civil war in 2011. The attacks have hit government troops, allied Iranian forces and fighters from the Lebanese group Hezbollah.
Israel rarely confirms details of its operations in Syria but says Iran's presence in support of President Bashar al-Assad is a threat and that it will continue its attacks.
The United Kingdom-based Syrian Observatory for Human Rights also reported raids on Masyaf, saying Israel was "likely responsible".
The war monitor said the attack was aimed at "positions of regime forces and Iran-backed militias," without providing additional details.
Israel has previously said airstrikes were necessary to protect themselves from Hezbollah.
Israel has carried out several airstrikes in Syria from Lebanese territory. The country has acknowledged carrying out dozens of airstrikes in Syria, primarily aimed at suspected Iranian weapons shipments.
Israel has stated in the past they were concerned that Hezbollah was trying to establish production facilities to improve their missile capabilities. Some have seen the airstrikes as an attempt to prevent Iran, an ally to Syrian President Bashar al-Assad, from increasing their military influence in the region.
The Syrian Observatory for Human Rights said Israel has carried out more than 30 airstrikes against targets in Syria so far in 2020.
hezbollahIsraeli missilesSyriaSyrian Observatory for Human RightsTripoli
by Web Desk January 19, 2021 5
Norway warns of vaccination risks for elderly as 23 die after receiving Pfizer jabs
by Web Desk January 17, 2021 171
34 killed as powerful earthquake jolts Indonesia's Sulawesi island
Tunisia arrests dozens as protests break out for second night
Norway warns of vaccination risks for elderly as 23 die after receiving...


The Connaught Junior Alliance was founded in Mountbellew in 1969. Frank Rushe, Honorary secretary of Mountbellew Golf Club sowed the seed. (Who better than a Horticultural Instructor to do this?) Frank contacted the more enthusiastic from the neighbouring clubs, plus the inimitable Jack O'Sullivan, the then Secretary of the Connacht Branch of the Golfing Union of Ireland.
The following is an extract of the report from the first meeting of the Connaught Junior Alliance.
The captaincy was bestowed on players from different clubs.
Frank Rushe bore the burden of the secretary-ship until his appointment as Captain in 1977, at which time Tom Fitzgerald agreed to do the needful in 1977-1978.
This extract came from a booklet that was published in 1979 to celebrate the Golden Jubilee of Mountbellew Golf Club. Please bear with me as I try to bring you up to date.
In the late 1980s support for the alliance waned somewhat and talks were being held to disband the organisation by some members at that time. Frank Rushe however, the man responsible for founding the alliance and setting the wheels in motion on day one, intervened. He got a group together and within months all clubs in the South Connaught region were written to.
It was found that rumours of the alliance's demise were unfounded. The response to the communications to clubs was to say the least, phenomenal. Thus, under the captaincy of John J. Joyce (Tuam) working closely with Bertie Gillard (also of Tuam), the alliance was reborn. Both men are deserving of a great deal of credit for their efforts.
At the end of John J. Joyce's season as captain the search was put in motion for a successor. Discussions took place and finally, the NEW man in town, Donal Killeen (senior) was asked to be Captain for the 1987-1988 Season. Hence began the Killeen family connection with running the Connaught Junior Alliance that is still in place today.
Thankfully, a lot of help was forthcoming from Frank Rushe who, along with other loyal supporters of the alliance ensured a smoother transition actually took place than perhaps should have been expected.
Donal (senior) was captain from 1987 to 1990 and after some years of approaching individuals and coming up with the same replies i.e. "keep it going, you're doing a great job" (in other words, don't annoy me I'm enjoying my golf too much) he decided that a change was needed at the top if the alliance was to continue to flourish and keep the respect it had built up.
Sean Dempsey (Athenry Golf Club), a founding member of the alliance took over as captain in October 1990. His undoubted popularity both as a golfer and friend to those who played in the alliance ensured a very successful term as captain.
Sadly, Sean is no longer with us. His tireless efforts on behalf of the alliance and indeed Athenry Golf Club will however, long be remembered as will his fond association for Mountbellew Golf Club.
!n 1996 Sean asked me to take over as Captain. Hence for the first time in the alliance's history, a father and son had become Captains. For the 1996-1997 Captain's Prize the alliance visited Galway Bay Golf & Country Club. Here Willie Higgins of Athenry took the spoils with 37pts. In 1997-1998 we visited the newly built 18 holes course at Cloonacastle, Ballinrobe where Christy Small won the Captain's Prize. My own term as captain finished in September 1998. I at that time was elected as Captain of Mountbellew Golf Club for which I was honoured to serve during 1999.
Declan Tierney of Tuam Golf Club and Connacht Tribune fame, took over as Captain in 1998. Declan was Captain from 1998 to 2000. Declan was a very popular Captain and the alliance enjoyed a successful 2 seasons during his captaincy. Tom Sands of Galway Bay Golf & Country Club took over as Captain in September 2000. Tom who is originally from Ballygar, was a very popular choice as Captain given his association with the Galway three in a row football teams of the 1960s. Tom was later honoured by Galway Bay Golf & Country Club by being elected by the members as Captain of that club.
In 2002 the alliance elected Willie O'Rourke (Ballinasloe) as Captain. As our records show Willie had been Captain previously. He was however delighted to be asked to serve as Captain and took on the role with great enthusiasm.
HOW WE DO THINGS TODAY….
For those who are interested, Members are asked to pay a membership fee of €20 approx. They also pay a competition fee at each outing of €20 or €25 depending on the green fee charged by the club where the outing is being held. Members play off their current GUI handicap but not less than 8 (7.5). We allow players above 24 to play in our outings providing they play off 24. All members scores are returned to their HOME clubs after each outing. To help spread the prizes we operate a penalty shot system whereby those who win first and/or second prizes in NETT and/or GROSS have their scores reduced at the following outing.
The alliance awards a Golfer of Season in both Nett and Gross categories. These awards are given to the players who have a better aggregate score (not counting penalty shots) from 8 out of 10 outings or a quantity of outings, as determined by the committee.
All members must abide by the R&A Rules of Golf and the GUI handicapping rules (YOU ARE OBLIGED TO REPORT YOUR SCORES).
SIMPLE IDEA BUT GREAT ENJOYMENT….
Sadly, a lot of those who started the organisation that we know today are no longer with us. I trust you will all agree however, that those who met in Mountbellew on that fateful evening, November 29th 1969, are deserving of tremendous praise and thanks for their foresight and willingness to set up an alliance that still gives us a great deal of enjoyment TODAY.


text:
Q: Symfony2 Doctrine API not returning dates as they are in the database (adding timezone) I have an API built with Symfony2 and Doctrine.
Dates are stored in the database without timezone modifiers (e.g. +0000).
However, Doctrine's ->findAll() method returns the dates with a timezone modifier attached. How do I ensure this does not happen? Adding this to entity annotations? Or maybe creating an event listener to modify the data (seems like it might get a bit messy to me though), or is there another way that this should be done?
Thanks

A: Doctrine hydrates the date and datetime columns as standard php DateTime objects.
According to http://php.net/manual/en/datetime.construct.php:

If $timezone is omitted, the current timezone will be used.

This means that even if doctrine doesn't set the timezone when hydrating the object the system's default timezone will be used. This is standard php behavior and it can't be changed from Doctrine.
Solution:
Even if the dates are constructed with a a timezone, this shouldn't bother you much. Using DateTime's format() method you can display the date in any format you want.
Example:
To display the date in a 2000-02-01 23:59:59 format you can do:
$entities = $repository->findAll();

foreach($entities as $entity){
    echo $entity->mydate->format('Y-m-d H:i:s');
}

A: Sticking ->format('Y-m-d H:i:s'); for return value is the cleanest and simplest solution to me.
class MyEntity
{
    protected $dateOfBirth;

    public function setDateOfBirth(DateTime $dateOfBirth)
    {
        $this->dateOfBirth = $dateOfBirth;

        return $this;
    }

    public function getDateOfBirth()
    {
        return $this->dateOfBirth->format('Y-m-d H:i:s');
    }
}

A: I forgot to mention I was using FOSRestBundle, so needed to add this to entities in the end:
use JMS\Serializer\Annotation\Type;

...

@Type("DateTime<'Y-m-d'>")

Thanks to this for help: Format returning date format on Symfony2 FOSRestBundle


text:
Healthy Byte: Nutrition Choices & Alzheimer
September 13, 2019 Róng Róng (榮 榮)
Max Lugavere was in denial when he saw his mother, Kathy, who was just 56-years-old, slowly slipping away.
It was 2009 that he first noticed she was moving slower, becoming stiff and would lose her thought in the middle of a conversation.
"She was the kind of person anybody would describe as a sharp-witted, high performer," Max tells PEOPLE in this week's issue, "and it suddenly seemed like she had the brain of an 80-year-old."
He and two younger brothers brushed it off because "she was so young" and didn't think anything could be seriously wrong until they took a family trip to Miami.
"She couldn't tell us what year it was, and she started to cry. It was like a record screeching to a halt, and I knew something was seriously wrong," says Max, now 37, who immediately became her biggest advocate and went to dozens of doctors appointments with her.
Kathy was given the news in 2011 that they had dreaded from the beginning: she was diagnosed with the rare Lewy Body Dementia.
"I was watching the person who I loved more than anything in the world start to decline," says Max, a Los Angeles-based science and health journalist. "I just became insanely motivated — just fixated on trying to figure out why."
After her death in December 2018, his "entire world turned upside down," but he continued to try to understand why and how why Kathy got dementia so young.
Max Lugavere with his mother Kathy | Courtesy Max Lugavere
Discovering that Alzheimer's, the most common form of dementia, often begins decades before the first symptoms show, he learned there are ways to help prevent it from ever happening.
"We can eat in a way that supplies our brain with the raw materials it requires to create healthy new brain cells, which we now know the adult brain can do up until death," says Max, who published in March 2018 his bestselling book Genius Foods (written with Paul Grewal, M.D.). "I discovered that diet is incredibly important and so is your lifestyle."
Foods, such as omega-3 fatty acids, protein and dark leafy greens are crucial and others agree with his findings.
"He is intelligently helping us understand that there are things you can do with diet and lifestyle that slow cognitive decline," says Dr. Ellen Vora, a holistic psychiatrist. "These diet changes certainly help with dementia, but they're also going to help with many other things like heart disease, cancer prevention and mental health."
He's since launched a podcast called The Genius Life and is working on a second book with the same title coming out in 2020.
"Losing my mom was the biggest tragedy of my life," says Lugavere, "but I've been compelled since day one to turn it into something that makes it a little less painful. I want to help as many people as I possibly can."
brain healthHealthy ChoicesHealthy Eatinghealthy lifestyleHealthy Living