Joyce’s Thought of the Day 6/21/22 -The plague of communism 850 WFTL – 850 WFTL
Joyce's Thought of the Day 6/21/22 -The plague of communism 850 WFTL ';this.div = document.querySelectorAll(this.divSelector)[0];this.div.appendChild(html);if(this.div.getElementsByClassName('app-badge-google').length > 0 && browser && browser.name && browser.name == 'ios') { this.div.getElementsByClassName('app-badge-google')[0].classList.add('hide');}jQuery('.play-button').first().clone().appendTo('.play-button-mobile');document.body.classList.add('has-livebar');document.body.classList.add('livebar-'+this.station_type);}// set heightthis.setHeight = function() { // TODO variable heightvar innerDocContentHeight = 80;this.div.style.height = innerDocContentHeight + "px";}this.removeUrlProtocol = function(url) { var newstr = url.replace('http://', '//'); return newstr;};// subscribe eventsthis.subscribeEvents = function() {var _this = this;for (var i in this.configChannels) {var channelName = this.configChannels[i];var channel = this.pusher.subscribe(channelName);for (var j in this.events) {var eventName = this.events[j];channel.bind(eventName, function(data) {_this.pusherEvent(channelName, eventName, data);});}_this.channels.push(channel);}};// process real time `cue` event from Pusher.comthis.pusherEvent = function(channelName, eventName, pusherData) {this.processTrackOrEvent(pusherData);};this.latestEpisode = function() {var episode = this.latest_episode;var data = {type: 'podcast',artist: '', // episode.podcast_title,trackName: this.truncate(episode.post_title, 71),art: episode.post_thumbnail,url: episode.url}this.processTrackOrEvent(data);}// grabs the latest track from the apithis.ajaxLatestTrack = function() {var endpoint = this.endpoint + '/hll_widget_livebar_cues.php';var data = {'limit': '1'};var _this = this;var httpRequest = new XMLHttpRequest();httpRequest.open('POST', endpoint);httpRequest.setRequestHeader("Content-type", "application/json");httpRequest.send(JSON.stringify(data));httpRequest.onreadystatechange = function () {if (httpRequest.readyState == 4 && httpRequest.status == 200) {var json = JSON.parse(httpRequest.responseText);_this.processTrackOrEvent(json.data.response[0]);}}};// grabs the latest event from the api this.ajaxLatestEvent = function() { var endpoint = this.endpoint + '/hll_widget_livebar_events.php'; var data = {'limit': '3'}; var _this = this; var httpRequest = new XMLHttpRequest(); httpRequest.open('POST', endpoint); httpRequest.setRequestHeader("Content-type", "application/json"); httpRequest.send(JSON.stringify(data)); httpRequest.onreadystatechange = function () { if (httpRequest.readyState == 4 && httpRequest.status == 200) { var json = JSON.parse(httpRequest.responseText); _this.processTrackOrEvent(json.data.response[0]); } } };// grabs the latest podcast episode from the wp-json api this.ajaxLatestEpisode = function() { var endpoint = '/wp-json/hbi/v1/liveplayer/latestepisode'; var _this = this; var httpRequest = new XMLHttpRequest(); httpRequest.open('GET', endpoint); httpRequest.setRequestHeader("Content-type", "application/json"); httpRequest.send(); httpRequest.onreadystatechange = function () { if (httpRequest.readyState == 4 && httpRequest.status == 200) { var episode = JSON.parse(httpRequest.responseText); var data = { type: 'podcast', artist: '', // episode.podcast_title, trackName: _this.truncate(episode.post_title, 71), art: episode.post_thumbnail, url: episode.url } _this.processTrackOrEvent(data); } } };// process the track or event data and update the HTMLthis.processTrackOrEvent = function(d) {// debug: print data to console// window.console.log('processTrackOrEvent',d);// workaround: ignore spots for nowvar type = d.type;if (type !== 'podcast' && type !== 'song' && type !== 'show' && type !== 'special-event' && type !== 'guest' && type !== 'other') {return;}if(type == 'song') {var trackId = d.data.musicbrainz_recording;var artist = d.data.artist || '';var trackName = d.data.description || '';var art = this.removeUrlProtocol(d.data.art_url || "https://www.850wftl.com/wp-content/plugins/hbi-player-widgets//assets/img/track.png");art = art + '?ver=3';}else if(type == 'podcast') {var artist = d.artist || '';var trackName = d.trackName || '';var art = this.removeUrlProtocol(d.art || "https://www.850wftl.com/wp-content/plugins/hbi-player-widgets//assets/img/track.png");this.setEpisodeTimer();}else { var trackId = d.id;var timeRange = function() {let start_date = moment(d.start_date);let end_date = moment(d.end_date);let default_format = 'h:mma';let start_day_format = (default_format);let end_day_format = (default_format);// If start and end dates both fall in AM or PM, make it brief// Example: 10:00-11:00am vs 10:00am-11:00amif(start_date.format('a') === end_date.format('a')) {start_day_format = 'h:mm';}// Remove minutes if 00if(start_date.minutes() == 0) { start_day_format = 'h';}if(end_date.minutes() == 0) { end_day_format = 'ha';}return start_date.format(start_day_format) + "-" + end_date.format(end_day_format); };var artist = timeRange();var trackName = d.name || '';var art = this.removeUrlProtocol(d.photo || "https://www.850wftl.com/wp-content/plugins/hbi-player-widgets//assets/img/event.png");// Start timer this.setEventTimer();}// This block retrieves art work as a blob so we can render it in the DOM// ... and additionally process its color swatches in a canvas context via Vibrant.js// ... with only ONE network request.// https://stackoverflow.com/questions/23013871/how-to-parse-into-base64-string-the-binary-image-from-response// https://stackoverflow.com/questions/33902299/using-jquery-ajax-to-download-a-binary-filefetchBlob(art, function(arrayBuffer) {var blob = new Blob([arrayBuffer], {type: "image/jpeg"});var url = URL.createObjectURL(blob);// Set artwork in DOMdocument.getElementsByClassName('album-art-img')[0].src=url;document.getElementsByClassName('album-art-img')[0].classList.remove('d-none');document.getElementsByClassName('live-player-background')[0].src=url;// Use live player button color if set in Customizerif(window.livePlayerButtonColor) {// set color of large and compact play buttons with customizer colorArray.from(document.getElementsByClassName('play-circle-outline-path')).forEach(function(element) {element.style.fill = window.livePlayerButtonColor;// display play button if hidden (avoids color flash on load)document.getElementById('play-button-column').classList.remove('invisible');});return;}// If live player button color is not manually set, automatically get album art color from vibrant.jsvar img = document.getElementsByClassName('album-art-img')[0];img.addEventListener('load', function() {var vibrant = new Vibrant(img);var swatches = vibrant.swatches();var swatch = swatches['LightVibrant'] || swatches['Vibrant'] || swatches['Muted'] || swatches['DarkMuted'];// trap edge case where Vibrant.js doesn't return a swatchif(swatch !== undefined) {// get hex from swatch libraryvar hex = swatch.getHex();// set color of large and compact play buttonsArray.from(document.getElementsByClassName('play-circle-outline-path')).forEach(function(element) {element.style.fill = hex;});}// display play button if hidden (avoids color flash on load)document.getElementById('play-button-column').classList.remove('invisible');});});this.div.getElementsByClassName('onair-artist')[0].innerHTML = artist;this.div.getElementsByClassName('onair-track')[0].innerHTML = trackName;// link to episode if live player is in podcast modeif(type == 'podcast') {jQuery('.play-button a, #circles, .album-art a, .track a').attr('href',d.url).removeAttr('target');jQuery('.onair-artist').hide();}// Skip TextFit step for podcast episodesif(this.station_type == 'podcast') {return;}// Dynamically size long track titles - https://github.com/STRML/textFit// var textFitOptions = {// alignVert: false, // if true, textFit will align vertically using css tables// alignHoriz: false, // if true, textFit will set text-align: center// multiLine: false, // if true, textFit will not set white-space: no-wrap// detectMultiLine: false, // disable to turn off automatic multi-line sensing// minFontSize: 11, // in px// maxFontSize: 40, // in px// reProcess: true, // if true, textFit will re-process already-fit nodes. Set to 'false' for better performance// widthOnly: false, // if true, textFit will fit text to element width, regardless of text height// alignVertWithFlexbox: false, // if true, textFit will use flexbox for vertical alignment// }if (textFit !== "undefined") {textFit(this.div.getElementsByClassName('onair-track')[0], {alignVert: false, // if true, textFit will align vertically using css tablesalignHoriz: false, // if true, textFit will set text-align: centermultiLine: false, // if true, textFit will not set white-space: no-wrapdetectMultiLine: false, // disable to turn off automatic multi-line sensingminFontSize: 13, // in pxmaxFontSize: 31, // in pxreProcess: true, // if true, textFit will re-process already-fit nodes. Set to 'false' for better performancewidthOnly: false, // if true, textFit will fit text to element width, regardless of text heightalignVertWithFlexbox: true, // if true, textFit will use flexbox for vertical alignment});textFit(this.div.getElementsByClassName('onair-artist')[0], {alignVert: false, // if true, textFit will align vertically using css tablesalignHoriz: false, // if true, textFit will set text-align: centermultiLine: false, // if true, textFit will not set white-space: no-wrapdetectMultiLine: false, // disable to turn off automatic multi-line sensingminFontSize: 11, // in pxmaxFontSize: 30, // in pxreProcess: true, // if true, textFit will re-process already-fit nodes. Set to 'false' for better performancewidthOnly: false, // if true, textFit will fit text to element width, regardless of text heightalignVertWithFlexbox: true, // if true, textFit will use flexbox for vertical alignment});}}// Set timer for event refresh this.setEventTimer = function() { var _this = this; setTimeout(function(){ _this.ajaxLatestEvent(); }, this.eventRefreshTime); };// Set timer for episode refresh this.setEpisodeTimer = function() { var _this = this; setTimeout(function(){ _this.ajaxLatestEpisode(); }, this.eventRefreshTime); }; // https://stackoverflow.com/questions/1199352/smart-way-to-truncate-long-strings this.truncate = function(str, n){ return (str.length > n) ? str.substr(0, n-1) + '' : str; };// https://stackoverflow.com/questions/23013871/how-to-parse-into-base64-string-the-binary-image-from-responsefunction fetchBlob(uri, callback) { var xhr = new XMLHttpRequest(); xhr.open('GET', uri, true); xhr.responseType = 'arraybuffer'; xhr.onload = function(e) {if (this.status == 200) { var blob = this.response; if (callback) {callback(blob); }} }; xhr.send();};}// Set and intializevar hllLiveBarWidget = new hllLiveBarWidgetObject('player-widget-livebar');hllLiveBarWidget.init();
Link:
Joyce's Thought of the Day 6/21/22 -The plague of communism 850 WFTL - 850 WFTL
- Ideas Have Consequences: Eric Metaxas on Communism, Freedom and Faithfulness - Cornerstone University - October 4th, 2026 [October 4th, 2026]
- Commentary: Cold War may be over, but anti-communism is hot again and Latter-day Saints are in the thick of it - The Salt Lake Tribune - October 4th, 2026 [October 4th, 2026]
- To the editor: Perils of communism mocked but shouldnt be - Toledo Blade - October 4th, 2026 [October 4th, 2026]
- 'He sold his anti-communism to communists': Former Rep. David Rivera gets 10 years in prison - Fortune - October 4th, 2026 [October 4th, 2026]
- Why Not Communism? The Promise, the Truth, and the Gift of Freedom - Cornerstone University - October 4th, 2026 [October 4th, 2026]
- AI, Judaism and what to do about Fully-Automated Luxury Communism - The Forward - October 4th, 2026 [October 4th, 2026]
- President Trumps U.S. Department of Education Calls on Schools to Strengthen Education on the History and Dangers of Communism and Socialism - Sierra... - October 4th, 2026 [October 4th, 2026]
- Blessed Fulton J. Sheen and the fundamental error of communism - Catholic World Report - September 29th, 2026 [September 29th, 2026]
- Melania Trump Says She Had A 'Very Beautiful Childhood' Living 'Under Communism': 'I Didn't Miss Anything' - Yahoo - September 29th, 2026 [September 29th, 2026]
- Artificial Intelligence and Chinese Communism: Innovation, Information and Security as a Recurring Stress-Test of Party Control - tovima.com - September 29th, 2026 [September 29th, 2026]
- Fox News hosts happy to hang with Xi after railing against communism in US - The Independent - September 29th, 2026 [September 29th, 2026]
- For Warhorse's 15th birthday, we chatted with its co-founder about the demand for 'grown-up' RPGs, AI, why games are too cheap, and his role in the... - September 29th, 2026 [September 29th, 2026]
- A CNN panelist says Fox News hosts spent years warning about communism, then every one of them got dressed up for dinner with Xi Jinping - The Mary... - September 29th, 2026 [September 29th, 2026]
- Trump Hates Communism But Likes Hanging Out With Communists - New York Magazine - September 24th, 2026 [September 24th, 2026]
- Wisdom Conversations Marks 10th Event with Timely Discussion on Communism, Freedom and the Future of America - Cornerstone University - September 24th, 2026 [September 24th, 2026]
- Heights reader warns of danger of resurgence of communism in U.S. - The Killeen Daily Herald - September 24th, 2026 [September 24th, 2026]
- 'Communism will never come to America, freedom will be coming to failed state Cuba': Donald Trump - Deccan Herald - September 24th, 2026 [September 24th, 2026]
- Office of the President: Farmland Survey as Communism? Nonsense Claims of Low-Price Sales Are Excessive Incitement - - September 22nd, 2026 [September 22nd, 2026]
- I fled communism. Are Gen Z drawn to it? - Fortune - September 22nd, 2026 [September 22nd, 2026]
- Talk of Trump-style communism reaches Capitol Hill ahead of the midterms - MS NOW - September 22nd, 2026 [September 22nd, 2026]
- Covid Masks, a Gay Communism Hat, and Hasan Piker: Inside the Socialism 2026 Conference - City Journal - September 11th, 2026 [September 11th, 2026]
- The truth about communism: Heres what kids are learning in Floridas new required coursework - WKMG - September 11th, 2026 [September 11th, 2026]
- Florida begins first full school year with expanded anti-communism curriculum - Floridas Voice - September 11th, 2026 [September 11th, 2026]
- Bertrand Russell Explains Why Karl Marx's Philosophy Produced the Disaster of Communism - Open Culture - September 11th, 2026 [September 11th, 2026]
- Trump Says His Base Should Vote in Midterms to Fight 'Communism' - WSJ - September 11th, 2026 [September 11th, 2026]
- Communism, Shariah and executions: Georgia GOP push politics of the past. - AJC.com - August 16th, 2026 [August 16th, 2026]
- Johnson launches website to teach young voters about socialism and communism ahead of midterm elections - Washington Examiner - August 16th, 2026 [August 16th, 2026]
- Joe Rogan, Shane Gillis Agree Communism Is The Gayest Sh*t Ever But Free Healthcare Is Cool - The Daily Wire - August 16th, 2026 [August 16th, 2026]
- Trump decries communism but greets Putin with open arms - thegazette.com - August 16th, 2026 [August 16th, 2026]
- Op-ed | Trumps hypocritical rhetoric on socialism and communism - amNewYork - August 16th, 2026 [August 16th, 2026]
- Letter: Communism, socialism can never be the answer - Grand Forks Herald - August 16th, 2026 [August 16th, 2026]
- WATCH: Socialism? Nope, its communism and it can be fought - Washington Times - August 16th, 2026 [August 16th, 2026]
- Ted Cruz Issues Communism Warning In Billionaire Rant - Newsweek - August 1st, 2026 [August 1st, 2026]
- Bill Mahers latest bit: Communism, the DSA, and the Democrats - Why Evolution Is True - August 1st, 2026 [August 1st, 2026]
- Scoot: Should you be worried about communism in America? - Audacy - August 1st, 2026 [August 1st, 2026]
- Ted Cruz bashes communism but theres 1 problem: Crazy that he cant see the irony - AL.com - August 1st, 2026 [August 1st, 2026]
- PolitiFact: Asking people to voluntarily lower their energy consumption is not communism - Buffalo News - July 28th, 2026 [July 28th, 2026]
- Corruption, not communism, is the real threat to economy - The South Dakota Standard - July 28th, 2026 [July 28th, 2026]
- AOC Says Trump Raising the Alarm About Communism Is Very Silly: We Cant Even Raise the Minimum Wage - People.com - July 28th, 2026 [July 28th, 2026]
- 'Jesse Watters Primetime': Are the people cool with communism? - Fox News - July 28th, 2026 [July 28th, 2026]
- Trump Claims Communism Is 'Greatest Threat to Our Country in History' - Yahoo - July 28th, 2026 [July 28th, 2026]
- The specter of AI communism: Chinese open-weight models and the crisis of the American AI bubble - World Socialist Web Site - July 28th, 2026 [July 28th, 2026]
- Why the GOP loves to use communism as an attack - Daily Kos - July 20th, 2026 [July 20th, 2026]
- An OpenAI Exec Thinks Kimi K3 And Other Open-Weight Models Are Bringing On AI Communism - Wccftech - July 20th, 2026 [July 20th, 2026]
- When some Christians made Common Cause with Fascism Against Communism - The Times of Israel - July 20th, 2026 [July 20th, 2026]
- Communism Is Back! Say Republicans Who Cant Understand Why People Want Better Health Care or Affordable Housing - Esquire - July 20th, 2026 [July 20th, 2026]
- Trump lauds killer ICE agents, and GOP keeps trying to make communism happen - Daily Kos - July 20th, 2026 [July 20th, 2026]
- Steve Forbes backs Trump's Mt. Rushmore warning on communism: 'He's right' - Fox News - July 13th, 2026 [July 13th, 2026]
- Joseph Wyatt: Slaying the dragon of communism (Opinion) - Charleston Gazette-Mail - July 13th, 2026 [July 13th, 2026]
- Net zero isnt conservatism. It has more in common with communism - The Telegraph - July 13th, 2026 [July 13th, 2026]
- The power of ideas: how you can prepare for the World School of Communism - In Defence of Marxism - July 13th, 2026 [July 13th, 2026]
- Trumps warnings on creeping communism have a familiar ring, given abuses by his own administration - Cleveland.com - July 13th, 2026 [July 13th, 2026]
- Trump wrongly equates the Democratic Party with communism - PolitiFact - July 13th, 2026 [July 13th, 2026]
- Communism, the Bible, and Personal Financial Literacy to Be Taught in Texas Schools - Daily Signal - July 13th, 2026 [July 13th, 2026]
- Trump warns communism is forming in America: Id be the greatest communist in history - NJ.com - July 13th, 2026 [July 13th, 2026]
- Trump Says Communism Is Cancer Days After Saying He'd Be the Greatest Communist' - People.com - July 6th, 2026 [July 6th, 2026]
- Socialism, communism, and Marxism: A guide to the ideologies behind the blue scare - Washington Examiner - July 6th, 2026 [July 6th, 2026]
- Trump Condemns Communism as Cancer at U.S. 250th Anniversary - - July 6th, 2026 [July 6th, 2026]
- Trump hails US as 'light and the glory' of the world on 4th of July, condemns 'cancer' of communism - New York Post - July 6th, 2026 [July 6th, 2026]
- Trump focuses America's 250th anniversary speech on Communism and unity - NBC News - July 6th, 2026 [July 6th, 2026]
- Trump extols America and rails at communism in U.S. 250th celebration - The Japan Times - July 6th, 2026 [July 6th, 2026]
- Trump marks Americas 250th with Mount Rushmore speech warning of communism threat - eciks.org - July 6th, 2026 [July 6th, 2026]
- Trump Describes Communism as a Cancer During July 4 Speech, Days After Saying He'd Be the Greatest Communist in History - AOL.com - July 6th, 2026 [July 6th, 2026]
- Trump praised for National Mall address calling out the rise of communism - Yahoo - July 6th, 2026 [July 6th, 2026]
- America at 250 Trump rails at communism, says U.S. 'knocked the hell out of Iran' on July 4th - Haaretz - July 6th, 2026 [July 6th, 2026]
- Communism isn't taking over the US, despite what GOP says | Opinion - USA Today - July 1st, 2026 [July 1st, 2026]
- Communism is greatest threat to U.S., Trump says at Faith and Freedom Coalition Conference - Spectrum News - July 1st, 2026 [July 1st, 2026]
- Trump says communism greater threat than WWI, WWII, 9/11, and Pearl Harbor - Denver Gazette - July 1st, 2026 [July 1st, 2026]
- Trump calls communism the greatest threat to US since World Wars and 9/11 - The Indian Express - July 1st, 2026 [July 1st, 2026]
- Trump claims communism is bigger threat to US than 9/11 and Pearl Harbor - The Independent - July 1st, 2026 [July 1st, 2026]
- Enemies Within: The Threat of Communism to America - The Washington Stand - July 1st, 2026 [July 1st, 2026]
- Communism is greatest threat to the U.S., Trump says - Spectrum News - June 28th, 2026 [June 28th, 2026]
- Trump says communism is the biggest threat facing America on eve of 250th birthday - Washington Examiner - June 28th, 2026 [June 28th, 2026]
- Trump addresses 'communism threat' in America at Faith and Freedom Coalition in D.C. - WZTV - June 28th, 2026 [June 28th, 2026]
- Jesse Watters: There's no negotiating with communism - Fox News - June 28th, 2026 [June 28th, 2026]
- Why Socialism and Communism Are Surging Now - Elliott Wave International - June 28th, 2026 [June 28th, 2026]
- Trump says communism is the past and freedom is the future - Sky News Australia - June 28th, 2026 [June 28th, 2026]
- Letter to the editor: Communism preys on the weak - Washington Times - June 24th, 2026 [June 24th, 2026]
- Croatian writer Slavenka Drakuli, known for her books on communism and Balkans, dies - ukranews.com - June 24th, 2026 [June 24th, 2026]
- DW News. . Albania is witnessing its largest wave of protests since the fall of communism in 1991. What began as outrage over a controversial Trump... - June 17th, 2026 [June 17th, 2026]