Published: May 13, 2018, 12:41 p.m.
1. Google I/O 2018 goodies - https://www.pcworld.com/article/3270730/android/everything-google-revealed-at-io-2018.html
2. New A.I. creates old school Doom game levels – http://www.bbc.com/news/technology-44040007
3. BMW recalling cars - http://www.bbc.com/news/business-44050686
4. Smart Luggage creator company folds dues to red tape – http://www.latimes.com/business/la-fi-travel-briefcase-bluesmart-20180505-story.html
5. Norway’s zero emissions fjords – https://electrek.co/2018/05/04/elecitrc-ferries-norway-fjords-worlds-first-zero-emission-zone/
6. Federal Budget 2018: Australian space agency funding boost – https://theconversation.com/budget-2018-space-agency-details-still-scant-but-gps-and-satellite-imagery-funded-96011
Other Topics discussed
Boston Dynamics Spotmini for sale - http://mobile.abc.net.au/news/2018-05-12/boston-dynamics-to-begin-selling-dog-like-spotmini-robots/9754536
FlyShip - https://www.youtube.com/watch?v=06ujHW57xmc&ab_channel=BestTravelDestination
AirFish - https://www.thesun.co.uk/travel/5712849/the-airfish-8-flying-boat-by-wigetworks-that-can-reach-speeds-of-up-to-120mph/
Link 2 - https://www.youtube.com/watch?v=TYFEFekPzDMf
Shout Outs
Famous birthdays
- Wilhelm Killing – mathematician https://en.wikipedia.org/wiki/Wilhelm_Killing
- Fred Astaire – American actor, singer and dancer - https://en.wikipedia.org/wiki/Fred_Astaire
- Irving Berlin – American composer - https://en.wikipedia.org/wiki/Irving_Berlin
- Salvador Dali – Spanish draftsman - https://en.wikipedia.org/wiki/Salvador_Dal%C3%AD
- Natasha Richardson – Bristish screen and stage actress - https://en.wikipedia.org/wiki/Natasha_Richardson
- Florence Nightingale – Statistician and founder of modern nursing - https://en.wikipedia.org/wiki/Florence_Nightingale
- Katharine Hepburn - American actress - https://en.wikipedia.org/wiki/Katharine_Hepburn
Famous event – 1913 - First four tractor - engined aircraft built and flown by Russian Igor Sikorsky - https://en.wikipedia.org/wiki/Igor_Sikorsky
World Record stargazing event
Link 1 – Where to go - http://www.abc.net.au/radio/programs/stargazing-star-parties/9677020
Link 2 – Tickets -
See ');
$("html, body").animate({ scrollTop: 0 }, "slow");
});
var fullscreenOn = false
var playerOn = false
$( document ).on( 'click', '.play-video', function(e) {
e.preventDefault();
closeAudio();
var elem = $(this);
if (elem.attr('id')){
var video_id = elem.attr('id');
if (playerOn == true) {
reloadSmallPlayer(video_id);
} else {
triggerSmallPlayer(video_id);
}
} else {
var query = elem.find('.keywords').html();
if (!query.length) {
var query = elem.find('.title_keywords').html();
}
findVideo(query);
}
});
$( document ).on( 'click', '.search-btn', function(e) {
$('#searchform').submit();
});
$( document ).on( 'click', '.small_player', function(e) {
e.preventDefault();
smallerPlayer();
fullscreenOn = false;
playerOn = true;
});
$( document ).on( 'click', '.enlarge_player', function(e) {
e.preventDefault();
enlargePlayer();
fullscreenOn = true;
});
$( document ).on( 'click', '.load_full_wiki', function(e) {
e.preventDefault();
var country = $('.country-name').html()
load_full_wiki(country);
});
$( document ).on( 'click', '.remove_player', function(e) {
e.preventDefault();
$('.player-container').hide('slow');
$('.player').html('');
fullscreenOn = false;
playerOn = false;
});
$(document).keyup(function(e) {
if (e.which == 27) $('.small_player').click();
});
$('#draggable').draggable();
var b= $('#genre').height();
$(".leftPanel").css("height",b);
});
function triggerSmallPlayer(video_id){
playerOn = true;
if (($(window).width() > 500) && ($(window).height() > 500)) {
$('.player-container').animate({ 'width' : '420px', 'height' : '285px' }, 200);
$('.details-header').html('
');
} else if (($(window).width() > 500) && ($(window).height() < 500)) {
$('.details-header').html('
').css('color', '#fff');
$('.player-container').animate({ 'width' : '100%', 'height' : '100%' }, 200);
var width = $(window).width();
var height = $(window).height() - 45;
var ratio = 16 / 9.0;
var lanscapePlayerWidth = Math.round(height * ratio);
var leftMargin = (width - lanscapePlayerWidth) / 2;
$('.player').css("width", lanscapePlayerWidth).css("height", height).css("margin-left", leftMargin).css('padding-bottom', '0');
} else {
var ratio = 9.0 / 16;
var width = $(window).width();
var bottomPlayerHeight = Math.round(width * ratio) + 100;
$('.player-container').animate({ 'width' : '100%', 'height' : bottomPlayerHeight },500).delay("slow");
$('.details-header').html('
');
}
$('.player-container').find('.player').html('');
$("body").css("overflow", "visible");
$('.player-container').show().addClass('smallSize').removeClass('fullSize');
}
function enlargePlayer(){
$('.player-container').animate({ 'width' : '100%', 'height' : '100%' }, 200).css('top', '').css('bottom', '').css('left', '').css('right', '');
$('.details-header').html('
');
$("body").css("overflow", "hidden");
$('.player-container').delay(1000).removeClass('smallSize').addClass('fullSize');
}
function smallerPlayer(){
$('.player-container').animate({ 'width' : '420px', 'height' : '285px' }, 500);
$('.details-header').html('
');
$("body").css("overflow", "visible");
$('.player-container').addClass('smallSize').removeClass('fullSize');
}
function reloadSmallPlayer(video_id){
$('.player-container').find('.player').html('');
}
function load_videos(query, num) {
var q = query.replace('_', ' ');
if (num) {
var vid_num = num;
} else {
var vid_num = '6';
}
jQuery.ajax({
url: 'https://upge.wn.com/api/upge/worldnews/radio_vid',
data: {
'query': q,
'num': vid_num
},
cache: true,
dataType: 'jsonp',
jsonpCallback: 'cbLoadVideos',
success: function(text) {
if (text.length > 20){
jQuery('.videos').before('Videos
')
jQuery('.videos').append(text);
}
}
});
}
function load_videos_player(query, num) {
var q = query.replace('_', ' ');
if (num) {
var vid_num = num;
} else {
var vid_num = '6';
}
jQuery.ajax({
url: 'https://upge.wn.com/api/upge/worldnews/radio_vid_player',
data: {
'query': q,
'num': vid_num
},
cache: true,
dataType: 'jsonp',
success: function(text) {
if (text.length > 20){
jQuery('.videos').before('Videos
')
jQuery('.videos').append(text);
}
}
});
}
function load_wiki(query, num) {
var q = query.replace('_', ' ');
if (num) {
var results_num = num;
} else {
var results_num = '120';
}
jQuery.ajax({
url: 'https://wn.com/api/upge/cheetah-population/radio_wiki_snippet',
data: {
'query': q,
'num': results_num
},
cache: true,
dataType: 'jsonp',
success: function(text) {
$('.wiki-snippet').html(jQuery(text));
}
});
}
function load_full_wiki(query) {
var q = query.replace('_', ' ');
jQuery.ajax({
url: 'https://wn.com/api/upge/cheetah-photo-search/wiki_page5',
data: {
'query': q,
'num': '15'
},
cache: true,
dataType: 'jsonp',
success: function(text) {
$('.wiki-content').html(jQuery(text));
}
});
}
function load_news(query, num, continent) {
var q = query.replace('_', ' ').replace('_', ' ');
if (continent) {
var query = 'keywords:'+q+' or title:'+q+' or (keywords:'+continent+' and '+q+')'
} else {
var query = q
}
jQuery.ajax({
url: 'https://upge.wn.com/api/upge/worldnews/radio_news',
data: {
'query': query,
'num': num
},
cache: true,
dataType: 'jsonp',
jsonpCallback: 'cbLoadNews',
success: function(text) {
if (text.length > 50){
jQuery('.news').prepend('News
')
jQuery('.news').append(text);
}
}
});
}
function get_user_data() {
$.getJSON("https://ipapi.co/json", function(data) {
var country = data.country_name;
load_videos(country+ ' guide', '10');
load_news(country, '6', continent)
load_wiki(country);
$('.country-name').html(country);
loadFlickrPhotos(country);
});
}
function loadFlickrPhotos(country) {
jQuery.getJSON("https://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=?",
{
tags: country + ',landmark',
tagmode: "all",
format: "json"
},
function(feed) {
var feed_div = jQuery('.geo-photos')
var feed_html = '';
for (x=0; x<4; x++) {
feed_html += '' +
'
' + '
';
}
feed_div.html(feed_html);
});
}