text:
Q: Collision detection bug in JS snake game I'm trying to write a variation of Snake where the snake "bounces" off the walls.
It works most of the time, but occasionally the snake "escapes" and I can't figure out why. Initially I had the inequalities in the collison detection function set to strictly < or > which I thought was the cause of the problem, but I've changed them to <= and >= and the problem persists.
Can anyone explain why this is happening please? (You usually have to play for a minute or so before the snake escapes...)
<canvas id="canvas" width=500 height=500 style="display: block; border: 1px solid green; margin: auto;"></canvas>
<script>
var ctx = document.getElementById('canvas').getContext('2d');
ctx.font = '30px Arial';

var HEIGHT = 500;
var WIDTH = 500;
var SEGMENT_WIDTH = 30;

var snakeVelocity = {
    i: 1,
    j: 0
};
var snakeArray = createSnake();

function createSnake() {
    var snakeArray = [];
    var length = 5; // Initial length of snake
    for (var i = 0; i < length; i++) {
        snakeArray.push({
            x: i + 1,
            y: 1
        });
    }
    return snakeArray;
}

function moveSnake(arr) {
    var head = arr.slice(-1)[0];
    var tail = arr[0];
    var newHead = arr.shift();

    // check for wall collision, which also updates velocity if needed
    snakeWallCollision(head);

    newHead.x = head.x + snakeVelocity.i;
    newHead.y = head.y +  + snakeVelocity.j;

    arr.push(newHead);
    return arr;
}

function snakeWallCollision(obj) {
    var collision = false;
    if (obj.x >= WIDTH / SEGMENT_WIDTH || obj.x <= 0) {
        snakeVelocity.i *= -1;
        collision = true;
    }
    if (obj.y >= HEIGHT / SEGMENT_WIDTH || obj.y <= 0) {
        snakeVelocity.j *= -1;
        collision = true;
    }
    return collision;
}

function drawSnake() {
    console.log(snakeArray[0]);
    for (var i = 0; i < snakeArray.length; i++) {
        var segment = snakeArray[i];
        ctx.fillText('S', segment.x * SEGMENT_WIDTH, segment.y * SEGMENT_WIDTH + 30);
    }
}

function update() {
    ctx.clearRect(0, 0, WIDTH, HEIGHT);
    moveSnake(snakeArray);
    drawSnake();
}

function checkKey(e) {

    e = e || window.event;

    if ([38, 40, 37, 39].includes(e.keyCode)) {
        e.preventDefault();
    }

    if (e.keyCode == '38') {
        snakeVelocity = {
            i: 0,
            j: -1
        };
    } else if (e.keyCode == '40') {
        snakeVelocity = {
            i: 0,
            j: 1
        };
    } else if (e.keyCode == '37') {
        snakeVelocity = {
            i: -1,
            j: 0
        };
    } else if (e.keyCode == '39') {
        snakeVelocity = {
            i: 1,
            j: 0
        };
    }
}
document.onkeydown = checkKey;
setInterval(update, 1000 / 20);
drawSnake();
</script>

A: The problem occurs if you change direction away from the wall just  before you hit the wall.
Say for example the snake's head has just moved to x = 0 and moving left and the user keys right arrow just before the next update frame. Now the snakeVelocity.i is set to 1 away from the wall.
You then test the wall
if (obj.x >= WIDTH / SEGMENT_WIDTH || obj.x <= 0) {
    snakeVelocity.i *= -1; // negate the direction
                           // but the direction is already away from the
                           // wall due to user input. This will turn it back
                           // onto the wall
}

Same happens for up and down.
You need to have the collision test know what direction the snake is heading and then based on that test if that move will result in a collision.
Change the test function to find the next position the snake's head will be if allowed to move as its current state dictates. Only if that move results in the head being outside the bounds of the game do you change the direction.
function snakeWallCollision(head) {
    var x = head.x + snakeVelocity.i; // find out where the head will be
    var y = head.y + snakeVelocity.j; // next frame
    if (x > WIDTH / SEGMENT_WIDTH || x < 0) {
        snakeVelocity.i *= -1;
        return true;
    }
    if (y > HEIGHT / SEGMENT_WIDTH || y < 0) {
        snakeVelocity.j *= -1;
        return true;
    }
    return false;
}

A: What happens if you swap these lines around:
newHead.x = head.x + snakeVelocity.i;
newHead.y = head.y +  + snakeVelocity.j;

// check for wall collision, which also updates velocity if needed
snakeWallCollision(head);

A: The problem seems to be that if the user presses a key synchronized with your collision check the directions changes twice and the snake goes beyond the wall.
Maybe this one helps you out (i added a test variable USER_ACTION to check if the user has pressed the key and if so, don't do the collision check):
var ctx = document.getElementById('canvas').getContext('2d');
ctx.font = '30px Arial';

var HEIGHT = 500;
var WIDTH = 500;
var SEGMENT_WIDTH = 30;
var USER_ACTION = false;

var snakeVelocity = {
    i: 1,
    j: 0
};
var snakeArray = createSnake();

function createSnake() {
    var snakeArray = [];
    var length = 5; // Initial length of snake
    for (var i = 0; i < length; i++) {
        snakeArray.push({
            x: i + 1,
            y: 1
        });
    }
    return snakeArray;
}

function moveSnake(arr) {
    var head = arr.slice(-1)[0];
    var tail = arr[0];
    var newHead = arr.shift();

    // check for wall collision, which also updates velocity if needed
    snakeWallCollision(head);

    newHead.x = head.x + snakeVelocity.i;
    newHead.y = head.y + +snakeVelocity.j;

    arr.push(newHead);
    return arr;
}

function snakeWallCollision(obj) {
    if (!USER_ACTION) {
        var collision = false;
        if (obj.x >= WIDTH / SEGMENT_WIDTH || obj.x <= 0) {
            snakeVelocity.i *= -1;
            collision = true;
        }
        if (obj.y >= HEIGHT / SEGMENT_WIDTH || obj.y <= 0) {
            snakeVelocity.j *= -1;
            collision = true;
        }
    } else {
        USER_ACTION = false;
    }
    return collision;
}

function drawSnake() {
    console.log(snakeArray[0]);
    for (var i = 0; i < snakeArray.length; i++) {
        var segment = snakeArray[i];
        ctx.fillText('S', segment.x * SEGMENT_WIDTH, segment.y * SEGMENT_WIDTH + 30);
    }
}

function update() {
    ctx.clearRect(0, 0, WIDTH, HEIGHT);
    moveSnake(snakeArray);
    drawSnake();
}

function checkKey(e) {
    USER_ACTION = true;
    e = e || window.event;

    if ([38, 40, 37, 39].includes(e.keyCode)) {
        e.preventDefault();
    }

    if (e.keyCode == '38') {
        snakeVelocity = {
            i: 0,
            j: -1
        };
    } else if (e.keyCode == '40') {
        snakeVelocity = {
            i: 0,
            j: 1
        };
    } else if (e.keyCode == '37') {
        snakeVelocity = {
            i: -1,
            j: 0
        };
    } else if (e.keyCode == '39') {
        snakeVelocity = {
            i: 1,
            j: 0
        };
    }
}
document.onkeydown = checkKey;
setInterval(update, 1000 / 20);
drawSnake();


The Optimus series of hyper-wide field of view Eyepieces is a splendid design, boasting an incredible 110-degree field of view on a wide array of focal lengths. In this case, that monstrous field of view has been fitted to a slender 3.6 mm focal length, all while enjoying a generous 15 mm of eye relief. This has produced an exceptionally high contrast eyepiece that provides stunning wide view sighs for your enjoyment., excellent for those long steady nights where you want to enjoy maximum detail in your planetary observations, or for lunar viewing on a whole new level. This eyepiece is very high power and provides a great clarity for its size- when combined with the incredible FoV, its easy to find yourself utterly immersed in shockingly high quality views of planets such as Jupiter or Saturn.
The Eight Element, Six Grouping design is fully internally baffled and darkened to prevent unwanted internal light refraction of any kind from being an issue worth speaking on, as well as working in unison with the top quality multi coatings that affect every single optical element of this stellar eyepiece to prevent glare, reflections, flaring, and ghosting. All in all, this Stellarvue eyepiece is sure to provide you with top notch stellar views of any object within our Solar System, and is even usable for double-star applications if you so choose.


Precisely balanced nutrition for mobility and healthy vital organs, for dogs who prefer a smaller kibble. With clinically proven antioxidants.
with Chicken: Maize, wheat, chicken (22%) and turkey meal, animal fat, digest, flaxseed, dried beet pulp, minerals, vegetable oil, vitamins, trace elements, cartilage hydrolysate (source of chondroitin sulphate), crustacean shell hydrolysate (source of glucosamine) and beta-carotene. With a natural antioxidant (mixed tocopherols).


US and Afghan special operations groups are preparing an offensive against Daesh strongholds in northwestern Afghanistan in an attempt to prevent the fractured militant group from continuing their expansion into Afghanistan's northern provinces.
Afghan Defense Ministry spokesman Gen. Mohammad Radmanish announced the initiative, which is planned to begin in December, possibly before the week is out.
"These operations are to chase the enemy — the terrorists who oppose the Afghan people and the Afghan National Defense Security Forces," he said.
It won't be their first go at it. US Forces Afghanistan (USFOR-A) attempted to stop the local Daesh branch, the so-called "Islamic State-Khorasan Province," or ISIS-K, from setting up shop in east Afghanistan in 2015. But their efforts failed, and the group has gained a foothold in the embattled Central Asian nation.
As the name suggests, this particular Daesh group is based out of Khorasan — but since then, they've been increasingly appearing in Jowzjan and Faryab provinces along the country's northern border with Turkmenistan. Stripes reports that most of the fighters have come from Pakistan's Tehrik-i-Taliban group, crossing the border for the promise of higher pay.
Not only that, intelligence reports have been trickling in that veteran fighters fleeing the collapse of the militant group's territory in Iraq and Syria may bolster ISIS-K's ranks in Afghanistan.
USFOR-A deny this to be the case, but press reports from AFP say that this transfer has already begun. They reported that militants were spotted entering Daesh-held territory in Jowzjan province in November — including several known to have been fighting in Iraq or Syria.
Lt. Col. Kone Faulkner, a US military spokesman, said that the Pentagon had "nothing substantial to corroborate those reports."
Regardless of whether Iraqi and Syrian fighters are joining ISIS-K, USFOR-A have made their intentions clear: the total annihilation of Daesh's presence in Afghanistan. "We're committed to their destruction wherever they appear across the country," said Gen. John Nicholson, who commands USFOR-A, in late November.
Nicholson added that the US has killed over 1,600 ISIS-K fighters across 1,400 ground operations and air strikes since March. Most notable was the dropping of a Massive Ordnance Air Blast bomb (MOAB), commonly known as "the mother of all bombs," on a Daesh cave network in April that killed an estimated 100 ISIS-K fighters.
ISIS-K has been linked to several destructive terrorist attacks, including an assault on local forces in the northern Sar-e-Pul province in August that left around 50 dead and a suicide bombing in Kabul that killed 14.
They are believed to have around 1,100 fighters spread throughout the country, down from a high of 3,000 at the beginning of 2017.


Musical Instrument Repairs Bath - Welcome to the Bath Musical Instrument Repairs Directory from Near.co.uk featuring recommended musical instrument repair shops in Bath. It lists those who provide musical instrument repairs in Bath. Read reviews and write your own review too. If your Bath instrument repair business isn't listed, then advertise it for FREE today.


text:
All About Nigerian Actress Bisola Aiyeola Biography
Bisola Aiyeola is a renowned Nigerian actress, model, entrepreneur, and television personality.
Bisola Aiyeola, a well-known Nigerian movie actress and television personality, was born in the late 1980s in Edo State to Mr. and Mrs. Aiyeola.
Bisola was born on January 21, 1986, as the second and only daughter of her parents' four grown-up children.
She attended the Methodist Girl High School in Lagos for her secondary education. She later attended the Open University of Nigeria, where she earned a Bachelor's Degree in Business Management.
Bisola Aiyeola's career began in 2008 as a contestant on MTN Project Fame, where she finished fifth.
She became a Big Brother Naija reality TV show housemate in 2017. Bisola finished first runner-up among the other Housemates.
She joined the Nigerian film industry, popularly known as Nollywood, immediately after the show and has since appeared in a number of films. 'Skinny Girls In Transit (SGIT),' the film that went on to become a blockbuster, catapulted her to fame.
Since she rose to prominence, exactly after the Big Brother Naija Really TV Show, Bisola has received many awards to her name. These are some of her awards among others;
° AMVCA Trailblazer Award (2018) and the Africa Magic Viewers Choice Awards
Bisola's net worth is estimated at $1.2 million.
Previous article Adunni Ade Biography: Inside The Life Of The Nigerian Actress
Next article Olakunle Churchill Biography: Career, Marriage, and Awards
Chizzy Alichi Biography: Career, Husband, Movies, Awards, and Net Worth
What Is Regina Daniels' Net Worth? Facts About The Nigerian Actress
Abuja Airport Reopens As Ethiopian Airplane Becomes The First To Land (Photos)
Adunni Ade Biography: Inside The Life Of The Nigerian Actress
Olakunle Churchill Biography: Career, Marriage, and Awards

redpajama_set_name: RedPajamaCommonCrawl


Horror Movie A Day (or, I) has (have) teamed up with several other great genre film sites such as Cinefantastique and Blood-Spattered Scribe to offer up a sort of "Alternative" Oscar nominee list. This isn't a "These movies rock and should win awards", but instead movies/people that legitimately COULD and thus SHOULD have received nominations along with all the other usual suspects (it seems Laura Linney just needs to appear in a film and she'll get a nomination?). In other words, The Mist and Zodiac were robbed (tho Cinemafantastique seems to think Mist is overrated). Anyway, head on over HERE to check out theirs, my, and the other lists (mine is under "The Horrors!"), and add your own suggestions if you wish. I believe a few other sites will be adding to it as well, so keep checking back!
Note - Just a heads up, while the articles themselves look fine, the Cinefantastique homepage seems to be loading incorrectly in Firefox. Score one for IE (for once)!
Sorry about the problem that Cinefantastique Online has loading into Firefox. I don't know what the problem is. I'm looking at doing an overhaul of the website, but in the meantime I haven't been able to find a temporary fix.


Manage one end-to-end enterprise analytics platform that take you from raw data to predictive intelligence in minutes.
GET INSTANT ACCESS TO ANALANCE NOW!
Cues and intuitive workflows guide users through a step-by-step data analysis process to ensure both novice business users and data scientists can get started in minutes.
Streamline your data analysis process by preparing and cleaning data easily and more efficiently, with just a few clicks. With Analance, jump right into your data analysis and get creative.
Our machine learning modules can be used with a simple point and click. We integrate seamlessly with R and Python zero-coding machine learning algorithms so users can jump start their analysis. But if you prefer to code, the platform extends to let you build your own algorithms.
Easily explore your data and jump right into analysis to validate a hypothesis without having to wait for someone more technical to help you get there. Make smarter, more timely decisions on your own.
Train, score and evaluate multiple forecasting models.
Slice & dice, analyze, visualize, and share descriptive analytics.
ETL tool to prepare and build a clean data warehouse for analysis.
Connect to streaming sources for real-time analytics and visualization.
Next generation inference engine for prescriptive analytics.
Eliminate appointment disruptions and wasted resources by predicting patient no-shows well ahead of time.
Optimize supply chains, understand and influence your customers, and price products based on real market intelligence.
Get insights about the impact promotions have on different product sales to tailor more competitive discounts.
Forecast future cash demand to help plan logistic strategy for ATM placement and loading/re-loading schedules.
Know and understand your customers and prevent churn at its source. Identify and track customer's changing behavior.
Forecast network usage and bottlenecks to improve network utilization and proactively plan for additional resources.


This small hole American 45 was a lesson in patience for all you novice internet diggers fiending over some obscure, over-priced joint on the (insert web vinyl depot of your choice here). I first came across it online about six or seven years ago, and fell in love. It's the winning combination of an insistent two step, a tight rhythm section, with acoustic piano/lead guitar set against an incredible vocal performance by someone named Arndra Argo, who pleads with the object of his affection to check him out cause "brain strain" he can do without. Needless to say, I was intoxicated, and spent the next few years looking for it, and any information about anyone involved. Is it the Roland Haynes of 2nd Wave/Black Jazz Records fame? The Internet points in opposite directions and, as of this write-up, none of the Roland Haynes' that I've contacted on Facebook (3 if we're not counting the white accountant that I contacted by mistake) have responded to claim this masterpiece. The moral of this story is that if you wait long enough something will pop up on your discogs want list for a fraction of the amount listed 7 years after you began looking for it. Trends come and go, but brain strain we can all do without.
Small hole? Trying to divert from the fact that you need to mint up mate!
Yo, I totally love this song (it's actually on youtube since 2011, btw). But what's on the B-side?!
I LOVE thissssss, ugh such a funky one. Thanks for posting. it's in my wantlist a sis can only hope it pops up. rare for sure!


"Thank you so much Davy for teaching me to drive and getting me through my test. I'm so grateful you stuck by me when I found it frustrating and difficult. I would definitely recommend you to anyone who is looking to start lessons as they're sure to have a laugh and be taught well! Rebecca 🤓"


It's like nothing's changed! The Everwood cast reunited at Television Critics' Association on Wednesday, August 2, to celebrate the show's arrival on CW Seed app more than a decade after the drama ended in 2006.
Treat Williams (Dr. Andy Brown), Gregory Smith (Ephram Brown), Emily Van Camp (Amy Abbott), Vivien Cardone (Delia Brown), Tom Amandes (Dr. Harold Abbott), Justin Baldoni (Reid Bardem), Stephanie Niznik (Nina Feeney), Debra Mooney (Edna Harper) John Beasley (Ivy Harper) and executive producers Greg Berlanti and Rina Mimoun all got together for a panel to reminisce about the good times on set.


Video Device In TOP, Video Device Out TOP - Upgrade to latest AJA SDK version, which should add support for newer devices such as the AJA Io 4k Plus.
TOP to CHOP - Even when Download type set to 'Next Frame', load immediately on startup to avoid initialization errors dependent on the output.
Audio Device In CHOP - Fixed crash that can occur if DataPath driver is selected, but no DataPath driver is installed.
Audio Device In CHOP, Audio Device Out CHOP - Fixed up Driver parameter so these nodes moves between Windows and macOS machines more cleanly bu adding the concept of default driver for each operating system.
Render Pick CHOP - Fixed incorrect picking/triggering channel values when 'Search Size' > 1.
Movie File In TOP - Fixed a crash that can occur when changing the 'Max Decode CPUs' parameter.
Movie File Out TOP - Fixed a crash that can occur if the number of audio channels is reduced during a recording.
Composite TOP - Fixed 'Preview Grid' mode not working correctly on some GPUs.
Texture 3D TOP - Allow 'Replace Single' to work when 'Pre Fill' has also been used.
Audio Device In CHOP - ASIO Input reworked to avoid hangs and sluggish responses when selecting drivers or changing channel input scopes.
OSC In CHOP - Fixed a crash when bypass/unbypass state changed.
Panel components now handle differently sized/stretched children when laying out left/right or top/bottom.
Component Privacy - Support for CodeMeter dongles to add Privacy to components and license their use.
A Developer Dongle requires a Pro license but no additional fees charged by Derivative.
Environment Light COMP - New options to pre-filter environment maps.
From Pre-filter TOP - Uses the outputs from the new PreFilter Map TOP in the parameters below. Both Pre-Filtered Diffuse Map and Pre-Filtered Specular Map calculated in the PreFilter Map TOP and specified here.
Maps created with the PreFilter Map TOP can not have further processing done to them before being used by the Light.
Movie File Out TOP - Added support for saving mipmap levels into .dds files.
Replicator COMP - Fixed overcooking on time dependent masters and fixed replicants that reload with external .tox files.
Texture 3D TOP - If Pre-Fill is On, will pre-fill again when un-bypassed or cooking is turned back on for the node.
Select TOP - Fixed this TOP not working with 3D Textures.
Parameter COMP - Option to hide/show 'Input OP' list when looking at parameters for a multi-input OP.
Possible fix for some system where Mouse In CHOP would not work.
Folder DAT - Added 'Project Extensions' parameter to monitor .toe files.
Audio Render CHOP - Added distance_attenuation channel to Info CHOP that points to an Audio Render CHOP.
Fixed recursion hang in Select COMP.
Note that the build numbers for this branch changed from 2017.30000 series to 2018.20000 series.
Palette:Probe now reports GPU time as well as CPU time.
Palette:MoviePlayer has been improved, including better external controls.
tdError and tdAttributeError exposed so they can be used in try/except clauses.
Folder DAT - * Added 'Tox' extensions option.
Select TOP - Can now resize the texture it's selecting.
Trail SOP - Further crash fixes.
S Curve CHOP - Bias before Linearize.
CPlusPlus SOP / CPlusPlus TOP / CPlusPlus CHOP - Added embedded file support VFS.
Select COMP - Fixed reported .width .height when size matched to source.
Window COMP - Fixed crash due to monitor not found.
Window COMP - 'Update Settings from Window' un-doable.
List COMP - Fixed text spilling outside cells.
List COMP - Fixed cell border offset bug.
Movie File Out TOP - Added support for regular Hap and Hap Alpha encoding.
Return a list from a space separated string, allowing quote delimiters.
Render Pick CHOP and Render Pick DAT - Now work correctly when doing fish-eye rendering.
Audio Render CHOP - Normalize listener up/ahead vectors to prevent large channel values in AmbiX format.
OSC In CHOP - Speed dramatically improved for large numbers of channels.
Trail SOP - Fixed crash when turning off bypass flag.
Folder DAT - Fixed issue updating on macOS.
List COMP - Fixed rollover panel values.
Movie File Out TOP - Fixed first frame missing in output movie/image sequence.
GLSL TOP and GLSL MAT - Added GLSL 4.60 support (Windows only).
Movie File Out TOP - Added functionality for outputting image sequences (can output file formats .tiff .jpeg .bmp .exr .png).
moviePlayer improved and some bugs fixed.
NDI operators - Added support for faster formats and YUV to RGB. Improved enumeration of streams in NDI In TOP.
S Curve CHOP - Added 'Index Range' parameter.
TOP - Fixed recent crash that occured when using 'Save Image...' from the right click menu on TOPs.
GLSL TOP - Fixed some cases where the uTD*Info arrays had incorrect data.
Movie File In TOP - Fixed crash when reading 16-bit TIFF images.
Panel Components - 'Size From Window' is no longer upated when the panel is resized inside a network pane.
Select COMP - Fixed update issue when changing beteween Parameter COMPs in some cases.
List COMP - Fixed dragging off cells, off window, not using callbacks.
Replicator COMP - Replicator scripts now track replicants better when they self-replace (ie: external tox's).
Fixed a recent crash when initializing ASIO audio device when 'Specify' turned off.
Audio Device Out CHOP / Audio Device In CHOP / Audio Play CHOP - New options 'Specify Device' and 'Error if Missing' to avoid changing device parameters when moving your project between systems with different audio devices connected.
Video Device In TOP - Fixed some issues with GPU Direct and YUV color space images.
List COMP - Fixed prevRow, prevCol values for onHover, onDrop callbacks.
Alembic SOP - Fixed some issues with Transformion parameters.
DAT module summary included in extension pop-up info (MMB on operator).
This version has substantial optimizations to general TouchDesigner speed, plus further speed-up on startup, and yet further speedup where you use many python expressions in parameters.
Python expression parser to speed up commonly used python expressions.
Optimized startup and launch process.
TDAbleton - The new Ableton Live - TouchDesigner environment is now included in the Palette. Using Ableton Link to sync the applications, TDAbleton exposes all the parts of your Ableton Live session in TouchDesigner and lets you control them bidirectionally.
Geometry COMP - Added option for SOPs to be used as the points input for instancing.
Geometry COMP - Added the ability to change the order of Rotate To Vector to be Post and Pre Rotation.
Render Pick CHOP / Render Pick DAT - Added priority check to pick.
windowCOMP Class - setForegound() activates the window and sets it to the foreground, sets focus and increases process priority. Can only be called by a foreground process or a child of a foreground process. Returns True if successful.
Movie File In TOP - Will now try to re-use memory automatically when the movie is changed (using preload() or not). This avoids the need to call unload(cacheMemory=True) on a Movie File In TOP before changing its target to avoid re-allocating new texture memory for the new movie file.
Composite TOP - Fixed a bug where the same node being connected twice the Composite TOP can result in incorrect extend conditions.
TOP to CHOP - Improved performance by only downloading the required section of the image instead of the whole image.
GLSL MAT - Added default pixel/vertex shaders.
Sort SOP - Fixed the behavior of Sort by Neighbour, where it was causing crashes and removing points.
DMX Out CHOP sACN, Art-Net. Removed restriction that net, subnet, universe must be unique since different IPs can be used.
OSC In CHOP - 'Queued' parameter to turn off queuing and just take most-recent values.
DATs info popup (middle-mouse button on the node) now displays first few classes/methods (if they exist) under section called 'Classes:' otherwise displays first few lines under 'Content:' as before.
Panel Components now include x, y, w, h info in popup help.
Fixed panel sides not showing background color when background TOPs not set to stretch.
Replicator COMP - Replicants are now laid out in the network in template table order, *not* alphabetically as previously.
This page was last edited on 14 November 2018, at 05:39.


From the bottom of our hearts, and from the rest of the community, thank you. Every donation to Chatham-Kent Health Alliance Foundation is bringing us closer to achieving better health care for Chatham-Kent. Without your support, we couldn't do what we do!
Donors will be personally invited to attend special events throughout the year. You will be contacted directly as more information is confirmed!
As another way of saying thank you, we have developed a donor recognition program that publicly thanks everyone who has donated more than $5,000 for bringing the passion and commitment of our donors.
One portion of this donor recognition program is our Donor Wall. You can read more about this wall here.
Donors with cumulative donations of $100,000 or more are also celebrated through a personalized storyboard that highlights their story of giving. These boards can be viewed along the hallway outside the emergency department at the CKHA Chatham site, or down the east wing of the CKHA Wallaceburg site.


Sometimes you find a track, plug it into the edit, and everything works like magic. it's a miracle! Unfortunately, there are the "other" times. You can't find the right music. You're stuck. "Why is it so hard to find a mid tempo, irish – african, hip hop flavored waltz with banjo?" you cry despairingly!
It's time to create a custom score. Here at Music From the Lab our team of artists understand. Whether you are mid way through your edit and struggling, or you've just landed the project, lets make some music together.
Not seeing the license you're looking for? No problem. Click here, tell us what you're looking for and we'll send you a custom quote.
Sometimes you just want to go with custom music. Our artists are ready. Click here, tell us about your project and we'll get started.
Our rules of engagement. Click here to read through our complete terms and conditions for licensing our music on our platform.


[insert yourself here] Giving your employees a break is one of the best things you can do to keep your company productive. Not only that, but unlimited vacation time can improve communication, prevent burnout, and bring you closer to your employees.
Hearing someone who came from a very command-and-control background realize the correlation between freedom and responsibility was incredibly gratifying because this change in mindset is precisely what unlimited holidays should be about. I found this exchange particularly amusing because this is exactly how our holiday policy works: it's up to you when you take time off, but it's your responsibility to make sure your work doesn't slip. Working should be enjoyable for everyone, and an unlimited holiday policy is the most effective way to show your employees that stress, burnout and chronic fatigue are not essential requirements for a productive working life.
Our holiday policy reflects our overall attitude to time-keeping, namely that people are mature and responsible enough to work when they want (our office opens when the first person arrives and closes when the last person leaves), and from wherever they want. This policy has been in place since the company began 20 years ago, and while we have since made further radical changes to our management structure, our lack of holiday policy remains a cornerstone of a free and productive office. Some teams choose to organize their time off separately according to how they work together, but it is entirely up to each group to be responsible not just for themselves but for the overall success of the team. While some might say that such an open system is asking for people to take advantage, we have found that it regulates itself: people want to do their work well and be part of the ongoing success of the company, and they don't want a huge pile of work and a mob of angry colleagues to face when they get back.
Using this system we have realized several things: logistics (like who has the keys to the office) always sort themselves out when there is no framework to cling to; people communicate and understand each other a lot more when working hours are arranged around each others' schedules; and when people can come to work and go on holiday when they like, they tend to think more about how their choices affect others and the company as a whole. The positive experience we have had with unlimited holidays seems logical because people on the whole react well to being given more freedom at work. Any business would want their employees to become more responsible, but if you expect somebody to take on responsibility, you also need to let them have the freedom to implement that responsibility in a way they see fit.
Arguments for unlimited holidays are often too focused on business benefits - unlimited vacation policies help attract and retain talent, companies don't have to pay accrued PTO and there are fewer HR headaches involved - but while these are indeed benefits to the company, employee wellbeing should be the only goal of eliminating fixed holidays. Every person at your company has different needs, whether that is the number of coffees, bathroom breaks, or stress-toys at their desk. But while these needs are accepted and would hopefully never be regulated by an employer (except in extremely autocratic cases), somehow the amount of rest a person needs is considered to be uniform across the board. Notwithstanding the vast differences in workloads and stress in different roles, people also have different tolerances for work and presumably know their limits better than a CEO far removed from their day-to-day.
Aside from allowing people to cater to their own needs, unlimited holiday time also puts the emphasis on each individual to decide how they should complete their work, leading to increased confidence and feelings of self-worth in the office. A study by Project Time Off found that Americans' vacation time is decreasing, and another by Alamo found that 47% of people felt guilty about taking time off. While deciding your own holidays may add to this stress, this is surely a product of traditional hierarchical structures where taking time off is implicitly seen as a burden on your team. Knowing your own abilities and the workload of your team has clear personal benefits, and deciding when to take holiday promotes the kind of open communication and communal productivity needed to achieve this and to help you progress as a person.
Many companies have trialed unlimited vacation time, and while some larger organizations have backtracked almost instantly, others have seen long-term success. Detractors from the concept maintain that paid time off (PTO) is the best way to ensure that vacation time is equal for all, and that some people would rather have a bonus than use their full holiday allowance. But frameworks sometimes have to be removed for people to develop beyond what is expected of them, and a culture that promotes taking a break to recharge instead of working to exhaustion is far more useful and fulfilling in the long run. There may be pros and cons on both sides of the argument, but at the end of the day, treating your employees like the responsible adults they are can only lead to better job satisfaction, and greater productivity in (or out of) the office.


When the South Dakota Arts Council reinstated its Traditional Arts Program in 1999, one of their priorities was to resume an apprenticeship program, which had been very successful during its earlier incarnation in the 1980s. With funding from the National Endowment for the Arts' Folk & Traditional Arts Infrastructure program as well as state funds, the first round of six apprenticeships was awarded in 2000-2001. Since then, 36 additional apprenticeship have been undertaken in art forms as diverse as Midwestern fiddling, German Russian willow basketry, Lakota hoop dancing, Damascus knife making, Finnish weaving, saddlemaking, buffalo horn spoon carving, Ukrainian Easter eggs, Norwegian wood carving, and Dakota quillwork.
Apprenticeship grants support a master artists to work intensively with one apprentice (or occasionally two or three) to pass on the details of a traditional art form, with the intention that the students will then be able to carry on that tradition into the future. Traditional and folk arts are learned informally, in families and cultural communities, through observation, imitation and one-on-one work with a more experienced person. The SDAC Apprenticeship Program is based on this time-honored system of teaching and learning, honoring the elders and encouraging the passing on of South Dakota's traditions to new generations. Grant funds also help apprentices acquire necessary tools, equipment, and materials for their work, and help with travel costs and other expenses of getting the master and student together frequently.
One of the most satisfying results of the program has been seeing some former apprentices now working as masters to pass on what they have learned. Several of the artists in the program have also become part of the Arts Council's touring and school rosters, and a number have had their work featured in exhibits around the state.
Traditional arts live in the hearts and hands of the people who create them, and in the communities that nurture and support them. The South Dakota Arts Council is pleased to play a small part in honoring those artists and supporting them in keeping their unique skills and talents alive by passing them on to future generations.


text:
Home Projects AgeX: a clinical trial of breast cancer screening
Read the latest HealthWatch newsletter: Newsletter 114, Winter 2020-21
Concerns over age extension trial of mammography screening - part 2 (14 Jan 2015)
During August-October 2014 it emerged that two protocol amendments were submitted to the ethics committee, and rejected. The first rejection letter is dated 14th February 2013. The objections are uncannily similar to the ones raised by HealthWatch members who did not have the benefit of seeing the requested amendments. It reads as follows (our bold):
The members of the Committee taking part in the review decided that they could not give a favourable ethical opinion of the amendment, for the following reasons:
This amendment seeks to shift the emphasis from a pragmatic opportunity (while resources were being expanded) to compare women who were or were not invited for breast screening in the extended age range, almost a service evaluation, to a randomised trial. The name of the study has changed from evaluation to randomised to reflect this intention.
Ethical concerns
1) Participants in a Control Group who do not know that they are in such a group, as randomisation is done before women are invited for screening:
Women should be randomised after agreeing to be included in a trial of screening in the extended ages. A strong case would have to be made to not arrange the trial in this way.
The original justification for having a group that did not receive screening was that this would have to happen to some women anyway, as on a practical level, there was not the capacity to offer such screening to all in the age extension group. However, as now the researchers are offering more than one additional three yearly scan to those in the screening group, this lack of resources argument loses its validity, as the screening and control groups were going to be selected in batches of 100 within the same geographical area.
The researchers had previously said that any woman could request a mammogram, thus no one who wanted screening would in fact be excluded, but the Substantial Amendment submission states that only those patients in the areas that are taking part in the age extension study can ask for a mammogram every 3 years after the age of 70.
However, the standard screening leaflet says that any woman over 70 can request screening every 3 years, and there is no geographical qualification required – this point also needs clarification.
It may be a reasonable approach for those over 70 years as they will have been aware of the screening program and might have received a screening leaflet, but the younger women at 47 will not be aware that they might be able to ask for an early screening visit, and this is not even mentioned as an option in the standard leaflet either.
The Committee's concern is that the control group do not know that they are in such a group, that is being used to compare their outcomes with others who are having additional screening. It is not sufficient to say that they can request screening – how would they know as they would not have received any breast screening leaflet in recent years let alone the recent more informative leaflet?
2) There is a lack of equipoise in the approach as to the value of screening in the age extension group:
The standard leaflet is for women aged 50yrs to 70yrs and does reflect current evidence and the view of the Marmot report which concluded that screening does offer benefit.
The researchers have stated that the study is to answer the question regarding the value of screening at the edges of the current screening age range, but still gives these women the standard leaflet, albeit with an extra sheet for those in the age extension study. This extra sheet does not demonstrate equipoise or explain the reason for investigating the pros and cons of screening at the extended age range; it just says that 'we need more evidence for benefit at the extremes of age' and there is no mention of the disadvantages.
This additional leaflet needs revising.
3) No consent form has been provided:
Verbal consent or attendance is used for the routine breast screening and might be suitable for this study, if the additional information sheet is expanded. However, the Committee do think that first, the use of randomisation before obtaining consent needs to be resolved and written consent to allow randomisation is strongly preferable.
I regret to inform you that the amendment is therefore not approved. The study should continue in accordance with the documentation previously approved by the Committee.
Undaunted, the trial team had another go and submitted Amendment 2. This was also rejected, on 2nd May 2014 — for not not taking on board what information women need when taking part in an RCT of an intervention that is known to cause harms as well as benefits. The committee raise questions about the competence of the PI in failing to address the previous rejection. The text is as follows:
This Substantial Amendment is similar to Amendment 1 that was submitted in February 2013 and given an Unfavourable Opinion. This previous amendment hasn't been acknowledged in this new Substantial Amendment. Since the revised protocol did not have tracked changes, the Committee found it difficult to ascertain what changes had been made (although this was addressed in the summary of changes, the Committee are not sure if they were reflected fully in the revised protocol) and some of the difficulties raised in the previous response do not appear to have been addressed.
The Committee welcome the set-up of the ethical and trial management groups.
However, the Committee still have concerns about the control group not being aware that they have been enrolled into this study, particularly as now the information sheet does not say that this age extension will be eventually be offered to all women; instead it states that only half the eligible women will be invited. The Committee note that the amendment says that any plans to do so have been pushed back to 2016. This changes the context in which the original application received ethical approval, when it was presented as a pragmatic approach, as facilities were not available to offer additional screening to all the women in the age extension group immediately.
The information sheet needs to provide more information:
It is not entirely clear what determines eligibility as it may depend both on age and where they live.
It mentions benefits and harms but gives no more details and doesn't spell out that the trial could show that extending screening could result in more harm than good to these participants, as probably most women start from the stance that screening is beneficial.
Telling women that the figures in the routine screening leaflet may not apply to those outside the 50 to 70 age range needs to be expanded to include details of 'in what way' those figures might not apply to those in the age extension trial, as the words 'bear in mind' provide no tangible information.
There is only a little information about the time scale involved in obtaining the results of this trial, so this point needs clarifying.
A little more detail about the type of 'other NHS information' that will be collected is required.
The trial is limited geographically this needs to be clarified clearly; how will women know whether they are in an area that will be scanning women from age 47 or that all women regardless of area who are over the age of 70 can request an additional scan?
The information leaflet will only be sent to those women who are being screened; thus, as previously noted in our previous unfavourable opinion, it is unclear how women aged 47 in the 'control' group and not invited for breast screening as part of this trial will be informed that, even though they are in the control group, they may be able to request a scan before 50yr. (Those in the control group over the age of 70 will be aware that they can request to continue to have 3 yearly scans, as they will have received the information as part of their regular screening visits.)
There is no consent form; there is a difference between attending a routine screening visit using implied consent, compared to women acknowledging that that they are taking part in a trial. This is also an important point for those individuals who lack capacity.
It seems that this research ethics committee is rather more assiduous than the one which gave a favourable opinion on the original protocol. We have written to the Health Research Authority (which is being quite helpful) as follows:
Although the two rejections of the substantial amendments that were made 14 months apart were made by only two members of the REC by correspondence, nevertheless I think they identified similar concerns to ours:
1. They identified the seismic shift from a pragmatic evaluation of a presumed (but not yet affordable) 'good' to a randomised trial of an uncertain intervention.
2. They identified the lack of truth to participants "there is a lack of equipoise in the approach as to the value of screening in the age extension group" (March 2013) – i.e. in the leaflets that women aged 47-50 and 70-73 get they would understandably think that screening is a benefit.
3. In March 2013 they said that "This extra sheet does not demonstrate equipoise or explain the reason for investigating the pros and cons of screening at the extended age range; it just says that the additional leaflet needed revising "we need more evidence for benefit at the extremes of age" and there is no mention of the disadvantages."
4. The May 2014 letter identifies that initially there was no TSC or DMEC. This does not bode well to be playing 'catch-up' in terms of quality science.
5. This second letter also throws more doubt on the investigators' competence as they appear to have paid scant attention to the reasons for previous rejection. "This Substantial Amendment is similar to Amendment 1 that was submitted in February 2013 and given an Unfavourable Opinion. This previous amendment hasn't been acknowledged in this new Substantial Amendment. Since the revised protocol did not have tracked changes, the Committee found it difficult to ascertain what changes had been made (although this was addressed in the summary of changes, the Committee are not sure if they were reflected fully in the revised protocol) and some of the difficulties raised in the previous response do not appear to have been addressed."
6. The REC says that the documentation "doesn't spell out that the trial could show that extending screening could result in more harm than good to these participants, as probably most women start from the stance that screening is beneficial." Quite – extending screening could result in more harm than good!
7. The PI does not appear to know what she is doing when trying to change a pragmatic randomised evaluation into a proper RCT via an 'amendment'. The PI is now applying to do an RCT (as presumably she and the evidence about screening outside 50-69 age range are in equipoise). The REC say that the leaflet should say that extending screening could result in more harm than good, and they refuse the second amendment.
8. But here's the problem: what should have happened to the continuing ethical approval of the previous 'pragmatic' evaluation (both in March 2013 and May 2014)?
9. Since the Marmot review, we now all appear to agree that we don't know if breast screening 'works' in the extended age ranges. In the light of the new 'equipoise' (that led the PI to request an amendment), shouldn't the REC have gone one stage further and reviewed whether the study they previously thought was ethically permissible was still ethically permissible?
10. In the light of the changed rationale (let alone questions of the competence of the chief investigator, surely the original approval (REC ref 10/H0710/9) should have been withdrawn?
11. As there has been no change in the processes over the last 18 months whilst the pragmatic evaluation continued, a very large number of women have effectively been deceived about the reasons they are being offered screening and the risks and benefits.
12. I would be grateful if the REC could review these comments. I believe that the ethical approval for the age extension evaluation/trial should be halted forthwith and a proper new RCT protocol be invited for submission.
This discussion is now becoming very public, eg at the BMJ. On 3rd August 2014 we asked the head of Public Health England, Duncan Selbie, to put the trial on hold while these issues are examined. A reply was received dated 17th December, which did not address our request and reiterated that PHE was committed to the trial.
As an example of the information given to patients see age extension leaflets for women, see below.
Focus questionnaire
Are you for science and integrity in healthcare?
Join HealthWatch
If you'd like to help us, please consider a donation.
If you are a member of the media or connected with a medical school or medical student organisation, please subscribe to our email list to receive occasional emails about press releases, our annual student competition and other news items we think might be of interest to you.
A new format for the first HealthWatch Newsletter of 2021!
Cash prizes for evidence-spotting students: the 2021 HealthWatch student prize competition now open!
Can't see the wood for the trees? Making sense of data during a global pandemic.
Annual General Meeting 2020 - Zoom details
Tweets by @HealthWatchUK
About HealthWatch | Contact HealthWatch | Sitemap | Privacy Policy
© HealthWatch UK 1991–2021 All rights reserved


text:
El Roig és una muntanya de 1.528 metres que es troba al municipi de Castell de l'Areny, a la comarca catalana del Berguedà.

Referències

Muntanyes del Castell de l'Areny

redpajama_set_name: RedPajamaWikipedia


Introduction:Infective endocarditis involving left side of heart remains a major medical problem with numerous complications and considerable morbidity and mortality despite advancements in surgical and medical management ; Presence of prosthetic valve is one of the major factors associated with shortened overall survival in patients with IE and increases the risk of recurrence of endocarditis after valve replacement for native valve endocarditis( NVE); with recurrence rates varying from 10-15%. This is a unique case report that highlights recurrent infective endocarditis after prosthetic valve replacement for NVE ; with initial native valve disease complicated by perivalvular abscess and heart failure and later on prosthetic valve endocarditis(PVE) complicated by stroke and perivalvular leakage and regurgitant murmur leading to redo MVR.
Case Report: 56 year old gentleman presented to the medicine department of AKUH with a 15-20 days history of high grade fever, GI discomfort and dysuria. Examination revealed a PSM radiating to axilla and Blood culture showed MRSA. Transthorasic and Trans esophageal echo revealed vegetations on both leaflets of mitral valve with a perivalvular abscess. Antibiotics were started, but since the course was complicated by CHF, early MVR was done with bio prosthetic valve. 2 years later, the patient landed with PVE complicated by Right MCA infarct, coagulase negative Staphylococcus (not aureus) on blood culture and vegetation with increased gradients on TEE. Patient was treated medically with antibiotics and anticoagulants and discharged only with follow up echocardiograms; only to be readmitted 3 months later for redo MVR as the patient developed perivalvular leakage and severe MR.
Conclusion: Recurrent infective endocarditis after prosthetic valve replacement for NVE adds to increased morbidity and mortality already associated with left sided endocarditis. The cause is multifactorial; duration of antibiotic therapy, complications and timing of surgery and surgical procedure performed, all play an important etiological role. Perivalvular abscess is a feared complication of left sided endocarditis and should be treated with antibiotics and surgically.


text:
Tag: Michelle Furey
All Over The Shop
Copyright resides with the original holder, no reproduction without permission.
Thanks to Ian Collins for making this titles grab of the series, All Over The Shop available.
All Over The Shop was a shopping and consumer panel game show, presented by Paul Ross, in 1997-9. Panelists included actors and celebrities. It went out on BBC1 Daytime at 12.25pm. The producer was Caroline Jones, and the exec, Steve Weddle.
The following comments were left on the Pebble Mill Facebook page:
Steve Weddle: 'It was a London creation – the second series was shipped in to Pebble Mill for reasons I can't recall. So we inherited the format – flimsy, to say the least – and tried to make a half decent telly show out of it. I think we just about succeeded, but there was so much politics behind the scenes,given the half London/ half Birmingham set up. It did however open up channels for some PM production people to work in Events in London, especially Veronica Butt.'
Veronica Butt: 'Linda Flavell Michelle Furey Ellena Stojanovic Yvonne Stevenson Julia Versluis Merrick Simmonds, Andrea Miller, Caroline Jones and Steve Weddle worked on it'
Julia Versluis: 'I had fun trying to get Paul's script onto all those lovely cards. Hours of fun! as well as trying to dodge the rest of the office printing on my labels before I could shout "no-one print" I do believe I have a photo of Veronica Butt, Paul Ross and myself at the end of show BBQ. I'll see if I can find it.'
Caroline Jones: 'Wow now that's a blast from the past clearing all those logos was a copyright nightmare and all the guest who suddenly developed allergies to the items slated for the taste tests! Weird commission shipped up from London to stop us from closing the first time!'
Sir Terry Wogan 1938-2016
Dave Baumber (sound) with Terry Wogan (photo by Paul Vanezis, no reproduction without permission)
Vanessa Jackson (producer) with Terry Wogan (photo by Paul Vanezis, no reproduction without permission)
Dave Baumber (sound, crouching), Michelle Furey (AP) Steve Saunderson (camera), Vanessa Jackson, Gail Herbert (PA), ?, ?, with Terry Wogan (photo by Paul Vanezis, no reproduction without permission)
Terry Wogan, Dave Baumber, Vanessa Jackson (photo by Paul Vanezis, no reproduction without permission)
Terry Wogan died today (31st January 2016) after a short battle with cancer.
"It's very sad that Terry Wogan is no longer with us. I remember an old BBC special, an hour of watching fireworks and fronted by Tel! He actually made it sound exciting. I only worked with him once in 2002, but I took these in September 2004, when the BBC opened Europe's most modern, state of the art studios, promising the people of the Midlands broadcasting security for the next 25 years at least. Of course, that was a lie. But none of us knew that then, not even Terry who was presenting here a Points of View special. On camera, Steve Saunderson, producer Vanessa Jackson. Sound is by the late, great Dave Baumber. Gail Herbert is in there as well, as is Michelle Furey. Just 11 years ago."
Paul Vanezis
"I remember this shoot well, especially how patient and generous Terry was with members of the public who were continually asking to have their photo taken with him – the rest of the production team certainly weren't as patient about that! I used to really enjoy writing the Points of View script for Terry, it was very easy to get his voice in your head as you were writing. I also loved the way he would look over the script in a couple of minutes, and 'Terryise' it – changing the odd phrase, so that it sounded like he'd written it in the first place. I also remember Gail Herbert, who was the production assistant on Points of View for many years, saying to me that Terry Wogan was someone she considered a real star – and she was right, he really was!"
Vanessa Jackson
Call My Bluff 1997
Thanks to Ronnie Butt for making the photo available.
The photo dates from 1997, and was probably taken at the end of the Call My Bluff series for BBC 1 Daytime.
Included left to right are:
(seated) Luisa Prosser, Helena Taylor (producer), Alan Coren (presenter), Ronnie Butt, Royston Horsley ?, Bob Holness (presenter), Dougie Parker (warm-up), Sandi Toksvig (presenter), David Weir (director)
(standing) Lizzie Compton, Sue McConkey/Williams (red jumper), Dave Walters (just to the right of Sue), Roger Sutton (vision mixer), poss John Cooke, Kirsten Jones (sound, in blue top behind Helena), poss Roger Guest, Gill Thompson, Di Lester (to the right of Bob Holness), Paul Woolston (camera, just after the 'Bluff' on the background), Dave Wilkins (camera, under the 'U' on the background), Toby Horwood (camera), Jane Taylor (holding Bluff card), Sue Russell (red shirt, black jacket), poss Pete Eggleston, Sue Johnson, Michelle Furey (next to last on right).


text:
Q: Parallel function evaluation for minimal value I am asking myself, if the evaluation of a function f looking for a minimal value over a discrete set of values can be parallelize (brute scan for a potential minimal value over a rectangular region with specified resolution). Is it possible or just not suitable for parallel computing do to the need to always compare to a reference which needs to happen in the main kernel? As far as I understood it in
Why won't Parallelize speed up my code?
the forced evaluation in the main kernel with SetSharedVariable can cause a significant lost in speed, which I think is the case in my horribly parallelized evaluation (see below). Any suggestions? I am pretty sure, I am just not seeing the obvious perspective. I dont want to use NMinimize, I only want to scan rapidly (if possible also in parallel) a rectangular region with specified resolution and pick up the minimal value. Sorry, if this is a duplicate, I was not able to find an answer. Thanks.
Minimal example:
Function:

f = Sin[x - z + Pi/4] + (y - 2)^2 + 13;

Sequential evaluation with do:
Clear[fmin]
fmin
n = 10^1*2;
fmin = f /. {x -> 0, y -> 0, z -> 0};
fmin // N
start = DateString[]
Do[
 ftemp = f /. {x -> xp, y -> yp, z -> zp};
 If[ftemp < fmin, fmin = ftemp];
 , {xp, 0, Pi, Pi/n}
 , {yp, -2, 4, 6/n}
 , {zp, -Pi, Pi, 2*Pi/n}
 ]
end = DateString[]
DateDifference[start, end, {"Minute", "Second"}]
fmin // N

Horribly parallelized evaluation
Clear[fmin]
fmin
n = 10^1*2;
fmin = f /. {x -> 0, y -> 0, z -> 0};
fmin // N
SetSharedVariable[fmin];
start = DateString[]
ParallelDo[
 ftemp = f /. {x -> xp, y -> yp, z -> zp};
 If[ftemp < fmin, fmin = ftemp];
 , {xp, 0, Pi, Pi/n}
 , {yp, -2, 4, 6/n}
 , {zp, -Pi, Pi, 2*Pi/n}
 ]
end = DateString[]
DateDifference[start, end, {"Minute", "Second"}]
fmin // N

A: Don't compare to a single (shared) main-kernel variable (fmin) on each kernel.  Instead, allow each kernel to find the smallest of the points it has checked. Let each kernel have its own private fmin.  Then you'll have $KernelCount candidates for the minimum.  Finally select the smallest of these.
ParallelCombine is made for precisely this type of approach.  It may be a good idea to use Method -> "CoarsestGrained".

A: The most straightforward parallelization of you code without a slowdown due to using SetSharedVariable is to use:
f[x_, y_, z_] := Sin[x - z + Pi/4] + (y - 2)^2 + 13

n = 10^1*2.;

LaunchKernels[];

AbsoluteTiming[
 ParallelEvaluate[fmin = f[0., 0., 0.];];
 ParallelDo[
  If[# < fmin, fmin = #] &@f[xp, yp, zp];,
  {xp, 0., Pi, Pi/n}, {yp, -2., 4., 6./n}, {zp, -Pi, Pi, 2*Pi/n}];
 fmin = Min[ParallelEvaluate[fmin]]
 ]

$\ ${0.0699944, 12.01}
For comparison:
SetSharedVariable[fmin]

ParallelDo[ftemp = f /. {x -> xp, y -> yp, z -> yp};
  If[ftemp < fmin, fmin = ftemp];, {xp, 0, Pi, Pi/n}, {yp, -2, 4, 6/n},
  {zp, -Pi, Pi, 2*Pi/n}] // AbsoluteTiming

$\ ${34.0979, Null}

Your fmin is just the Min of all the ftemp you are computing. Therefore, you could replace your Do loop with something like
Min[Table[
  f /. {x -> xp, y -> yp, z -> yp}, {xp, 0, Pi, Pi/n}, {yp, -2, 4, 6/n},
  {zp, -Pi, Pi, 2*Pi/n}]]

And for parallelization change Table to ParallelTable:
Min[ParallelTable[
  f /. {x -> xp, y -> yp, z -> yp}, {xp, 0, Pi, Pi/n}, {yp, -2, 4, 6/n},
  {zp, -Pi, Pi, 2*Pi/n}]]

Speed comparison:
AbsoluteTiming[
 fmin = Min[
   Table[N@f /. {x -> xp, y -> yp, z -> yp}, {xp, 0, Pi, Pi/n}, {yp, -2, 4, 6/n},
    {zp, -Pi, Pi, 2*Pi/n}]]
 ]

$\ ${0.261962, 12.0522}
AbsoluteTiming[
 fmin = Min[
   ParallelTable[
    N@f /. {x -> xp, y -> yp, z -> yp}, {xp, 0, Pi, Pi/n}, {yp, -2, 4, 6/n},
    {zp, -Pi, Pi, 2*Pi/n}]]
 ]

$\ ${0.120665, 12.0522}
AbsoluteTiming[
 fmin = Min[
   ParallelTable[
    N@f /. {x -> xp, y -> yp, z -> yp}, {xp, 0, Pi, Pi/n}, {yp, -2, 4, 6/n},
    {zp, -Pi, Pi, 2*Pi/n}, Method -> "CoarsestGrained"]]
 ]

$\ ${0.0999586, 12.0522}

redpajama_set_name: RedPajamaStackExchange