Legislation

Senate passes bill to boost US tech industry, counter Chinese economic influence – Channel3000.com

“);
$spagination = flexSlider.find(“.spagination”);
SPagination.Init($spagination.get( 0 ), {
size: slide_obj.count, // pages size
page: 1, // selected page
step: 3, // pages before and after current
cb: function(p){
flexSlider.flexAnimate(p-1, true);
}
});
}
}
}

function gtx_gallery_slide_before(slide_obj){
var slide=slide_obj.animatingTo;
$active_slide=$all_slides.eq(slide) ;
slideshow_ad_loaded = false;

var current_html = $active_slide.children(“.gtx-ad-container”).html();
if (current_html) {$active_slide.children(“.gtx-ad-container”).html(current_html.trim())}

gtx_mixpanel_track_slide( slide_obj );

changeURL(parseInt($active_slide.attr(“data-attachment_id”)));

//THUMBS SYNC – PAGINATED THUMBNAIL NAVIGATION
if($thumbs!==”” && navigation == “paginated_thumbs”){
var right_item=$slider.find(“.slides li[data-i=”+(slide +1 )+”]”).attr(“data-i-only-pics”)
if( right_item!= “”){
$thumbs.find(“li.gtx-thumb-img”).removeClass(“flex-active-slide”);
$thumbs.find(“li.gtx-thumb-img[data-i=”+(slide +1 )+”]”).addClass(“flex-active-slide”);
$page=$thumbs.find(“.slides>li”).has(“li[data-i=”+(slide +1 )+”]”);
$thumbs.flexAnimate($page.index(), true);
}
}
}

function gtx_gallery_slide_after(slide_obj){
var slide=slide_obj.animatingTo;
$active_slide=$all_slides.eq(slide) ;

if($active_slide.hasClass(“gtx-ad-slide”)==1){
if ($active_slide.find(‘iframe’).length === 1) {
$active_slide.find(‘iframe’)[0].remove();
}
$slider.delay(100).queue(function(){
$(this).addClass(“gtx-gallery-loading”).dequeue();
});
$ad_container=$active_slide.children(“.gtx-ad-container”).first();

if ($($ad_container).html().length li[data-i=”+(slide +1 )+”]”).attr(“data-i-only-pics”)
if( right_item!= “”){
$thumbs.find(“li.gtx-thumb-img”).removeClass(“flex-active-slide”);
$thumbs.find(“li.gtx-thumb-img”).eq(right_item -1 ).addClass(“flex-active-slide”);
$thumbs.flexAnimate(right_item-1, true);
}
}

if(typeof(googletag) != “undefined” && googletag !== null && refresh_all_ads){
// Refresh ads within view

var tmp_now=new Date().getTime();
var last_refresh_diff= tmp_now – last_ad_refresh;
if(last_refresh_diff > 1000){
reset_ads_and_refresh();
last_ad_refresh=tmp_now;
}
}

//LAZY LOAD
range=5;
var $slides_to_hanle=$all_slides.slice(slide, slide + range +1);
if(slide – range >= 0){
$slides_to_hanle=$.merge($slides_to_hanle, $all_slides.slice(slide – range, slide ));
}else{
$slides_to_hanle=$.merge($slides_to_hanle, $all_slides.slice(0, range ));
$slides_to_hanle=$.merge($slides_to_hanle, $all_slides.slice(range * -1 ));
}
if(slide + range >= $all_slides.size()){
//handle first slides
$slides_to_hanle= $.merge($slides_to_hanle, $all_slides.slice(0,range));

}

$slides_to_hanle.find(“.gtx-image-container[data-background]”).each(function () {
var src = $(this).attr(“data-background”);
$(this).css(“background-image”, “url(“+src+”)”).removeAttr(“data-background”);
});

adjustNavHeight();
if( typeof SPagination !== “undefined” && flexSlider.find(“.spagination”).length>0 ){
if(SPagination.page != slide+1){
SPagination.page = slide + 1;
SPagination.Start();
}
}

}

function reset_ads_and_refresh(){
if(!advanced_ad_refresh){
// if option is not enabled, refresh all ads
googletag.pubads().refresh();
return;
}
if(!ads_to_refresh){
return;
}

var newAds = [];
for(var i = 0; i 0){
return false;
}
var slotWidth = $(‘#’+event.slot.getSlotElementId() + ‘ iframe’).width();
var slotHeight = $(‘#’+event.slot.getSlotElementId() + ‘ iframe’).height();

event.slot.tn_positionX = $(‘#’+event.slot.getSlotElementId()).offset().left;
event.slot.tn_positionY = $(‘#’+event.slot.getSlotElementId()).offset().top;
event.slot.tn_width = slotWidth;
event.slot.tn_height = slotHeight;

if(ads_to_refresh.indexOf(event.slot) wTop && slot.tn_positionY 8){
gtx_gallery_thumbs_set_backwards()
}
}

function gtx_gallery_thumbs_after(slide_obj){
if(slide_obj.count > 8){
gtx_gallery_thumbs_set_backwards()
}
}

function gtx_gallery_paginated_thumbs_start(slide_obj){
gtx_gallery_paginated_thumbs_lazy();
if(false && slide_obj.count > 8){
$thumbs.find(“.flex-control-nav.flex-control-paging”).removeClass(“flex-control-paging”).addClass(“g-pagination”);
}
if(slide_obj.count > 8){
$thumbs.find(“.flex-control-nav.flex-control-paging”).hide().after(“”);
$pagination = $thumbs.find(“.spagination”);
SPagination.Init($pagination.get( 0 ), {
size: slide_obj.count, // pages size
page: 1, // selected page
step: 3, // pages before and after current
cb: function(p){
$thumbs.flexAnimate(p-1, true);
}
});
}
}

function gtx_gallery_paginated_thumbs_before(slide_obj){
var slide=(typeof slide_obj == “object” && slide_obj.animatingTo ? slide_obj.animatingTo : 0);
gtx_gallery_paginated_thumbs_lazy(slide_obj);

}

function gtx_gallery_paginated_thumbs_after(slide_obj){
var slide=(typeof slide_obj == “object” && slide_obj.animatingTo ? slide_obj.animatingTo : 0);
//THUMBS SYNC – Go to first slide of this batch
if($thumbs!==”” && navigation == “paginated_thumbs”){

var $active_slide=$slider.find(“.slides>li.flex-active-slide”);
var $active_thumb_page=$thumbs.find(“.slides>li.flex-active-slide”);
//Check if the current slide is within this thumb batch
if(!$active_thumb_page.find(“li[data-i=”+$active_slide.attr(“data-i”)+”]”).size()){
first_thumb=$active_thumb_page.find(“li”).first().attr(“data-i”);
flexSlider.flexAnimate(first_thumb – 1, true);
}

}

if( typeof SPagination !== “undefined” && $thumbs.find(“.spagination”).length>0 ){
if(SPagination.page != slide+1){
SPagination.page = slide + 1;
SPagination.Start();
}
}

}

function gtx_gallery_paginated_thumbs_lazy(slide_obj){
var slide=(typeof slide_obj == “object” && slide_obj.animatingTo ? slide_obj.animatingTo : 0);
//LAZY LOAD THUMBS
if($all_thumbs!==”” && navigation == “paginated_thumbs”){
range=1;
var $slides_to_hanle=$all_thumbs.slice(slide, slide + range + 1);
if(slide – range >= 0){
$slides_to_hanle=$.merge($slides_to_hanle, $all_thumbs.slice(slide – range, slide ));
}else{
$slides_to_hanle=$.merge($slides_to_hanle, $all_thumbs.slice(0, range ));
$slides_to_hanle=$.merge($slides_to_hanle, $all_thumbs.slice(range * -1 ));
}
if(slide + range >= $all_thumbs.size()){
//handle first slides
$slides_to_hanle= $.merge($slides_to_hanle, $all_thumbs.slice(0,range));

}
$slides_to_hanle.each(function () {
$(this).find(“img[lazy-src]”).each(function () {
var src = $(this).attr(“lazy-src”);
if(!src) return;
$(this).attr(“src”,src).removeAttr(“lazy-src”);
$thumbs.find(“img[lazy-src=””+src+””]”).attr(“src”,src).removeAttr(“lazy-src”);
});
});
}

}

function adjustNavHeight(){
imageHeight = flexSlider.find(“.gtx-slide-img.flex-active-slide .gtx-image-container”).outerHeight();
if(imageHeight > 0){
flexSlider.find(“.flex-prev,.flex-next”).css(“top”,Math.round(imageHeight/2));
}
}

var nextSlotId = 1;
function generateNextSlotName() {
var id = nextSlotId++;
return “adslot_” + id+”_”+Math.floor( Date.now() / 1000 );
}

function addAdInto(selector,options) {
try{
gtx_gallery_enable_dfp();
}catch(err) {
}

var slide=options.slide || -1;
var slotName = generateNextSlotName();
var ad_index = 0;

// Create a div for the slot
var slotDiv = document.createElement(‘div’);
slotDiv.id = slotName; // Id must be the same as slotName
$( selector ).append( slotDiv );
try{
ad_index=$( selector ).closest(“.gtx-ad-slide”).attr(“data-i-only-ads”);
}catch(err) {

}

// Define the slot itself, call display() to
// register the div and refresh() to fetch ad.
googletag.cmd.push(function() {
slideshow_ad_loaded = true;
adslots[slotName] = googletag.defineSlot(‘/21745780820/wisc/news/politics/national-politics/senate-passes-bill-to-boost-us-tech-industry-counter-chinese-economic-influence’, [300, 250], slotName)
.addService(googletag.pubads())
.setTargeting(“placement”, “gallery”)
.setTargeting(“slide”, slide)
.setTargeting(“post”, ‘2518458’)
.setTargeting(“category”, ‘[“national-politics”]’)
.setTargeting(“galleryAdIndex”, ad_index);

googletag.display(slotName);
googletag.sizeMapping().addSize( [0,0], [[300,250]])
// force refresh if lazy loading
if(gtx_ad_man.lazy_loading_ads) {
googletag.pubads().refresh([adslots[slotName]]);
}

});
}

gtx_gallery_syncHash = function(path){
pic = “”;
re = /pic/?([0-9]+)/?$/i;

if(!path && window.location.hash && window.location.hash.match(re)) path = window.location.hash;
if(!path && window.location.pathname && window.location.pathname.match(re)) path = window.location.pathname;
if(path){
matchslide = path.match(re);
if(matchslide && matchslide[1]>0){
pic = parseInt(matchslide[1]);
}
if(!isNaN(pic) && pic > 0){
slide=get_slide_by_attachment_id(pic);
if(slide>0){
avoid_next_pageview = true;
flexSlider.flexAnimate(slide – 1, true);
}
}
}else{
gtx_mixpanel_track_slide( )
}
}

function debounce(func, wait, immediate) {
var timeout;
return function() {
var context = this, args = arguments;
var later = function() {
timeout = null;
if (!immediate) func.apply(context, args);
};
var callNow = immediate && !timeout;
clearTimeout(timeout);
timeout = setTimeout(later, wait);
if (callNow) func.apply(context, args);
};
};

// delay the url state replacement to avoid overload
// RAYOS-271
var efficientlyReplaceState = debounce(function(title, path){
window.history.replaceState({}, title, path);
}, 1250)

function changeURL(pic){
basepath = window.location.pathname.replace(//pic/?([0-9]+)/?$/i,”/”);
if(isNaN(pic)) return;

path = basepath + “pic/”+pic+”/”;

title = “Pic “+pic;
if (typeof(window.history.replaceState) == “function”) {
efficientlyReplaceState(title, path)
} else {
window.location.hash = path;
}
}

function get_slide_by_attachment_id(id){
var slide=$slider.find(“.slides li[data-attachment_id=”+id+”]”).attr(“data-i”);
return parseInt(slide, 10);
}

function gtx_mixpanel_track_slide( slide_obj ){
if(slide_obj){
var slide = slide_obj.animatingTo;
}else{
var slide = 0;
}
$active_slide=$all_slides.eq(slide) ;

if(!avoid_next_pageview){
try{
var loc=location.pathname+”#slide”+(parseInt(slide)+1);
ga(“send”, “pageview”, loc);
if(ga.getByName(“gtxcelTracker”)){
ga(“gtxcelTracker.send”, “pageview”, loc);
}
}catch(err){

}
}
avoid_next_pageview = false;
//Mixpanel track image viewed
try{
if(typeof mixpanel !== “undefined”){
var slide_type=$active_slide.attr(“data-slide-type”) || “”;
if(slide_type==”pic”) slide_type=”image”; // rename “pic” to “image”
mixpanel_args = {
title: “”,
“post id”: ‘2518458’,
“slide type”: slide_type,
“gallery template”: “Slideshow Thumbnails”,
}
mixpanel_args.categories = “National Politics”;
mixpanel_args.author = “Rayos Syndication User”;

mixpanel_args[ “post type” ] = “page”;

if(slide_type == “ad”){
mixpanel_args[ “ad index” ]=$active_slide.attr(“data-i-only-ads”) || “”;
}else{
mixpanel_args[ “slide number” ]= $active_slide.attr(“data-i-only-pics”) || “”;
mixpanel_args[ “image title” ]= $active_slide.attr(“data-title”) || “”;
mixpanel_args.caption= $active_slide.attr(“data-caption”) || “”;
mixpanel_args.url= $active_slide.attr(“data-pic”) || “”;
}
var img_src = $active_slide.attr(‘src’);
if(!img_src){
img_src = $active_slide.attr(‘data-pic’);
}
var pattern = /uploads/(.*)/;
var match = pattern.exec(img_src);
var img_path = match ? img_path = match[1] : “”;
mixpanel_args[ “image path” ]= img_path;

mixpanel.track(“image viewed”, mixpanel_args);
}
}catch(err){
console.error(“error”, err);
}

}

//Add a callback on ad render
googletag.cmd.push(function() {
googletag.pubads().addEventListener(‘slotRenderEnded’, function(event) {
var slotName=event.slot.getSlotElementId();
if(typeof adslots[slotName] !==”undefined” && !event.isEmpty){
$slider.clearQueue();
$slider.removeClass(“gtx-gallery-loading”);
}
});
});

jQuery(“#gtx-gallery-thumbs-2518458”).flexslider({
animation: “slide”,
controlNav: false,
animationLoop: false,
slideshow: false,
itemWidth: 100,
itemMargin: 5,
move: 1,
//asNavFor: “#gtx-gallery-slider-2518458”,
prevText: “”,
nextText: “”,
after: gtx_gallery_thumbs_after,
after: gtx_gallery_thumbs_before
});
$thumbs=$(“#gtx-gallery-thumbs-2518458”).data(“flexslider”);
$thumbs.find(“li.gtx-thumb-img”).first( ).addClass(“flex-active-slide”);

$(“#gtx-gallery-slider-2518458”).flexslider({
animation: “slide”,
pauseOnHover: true,
controlNav: false,
//animationLoop: false,
//slideshow: false,
//sync: “#gtx-gallery-thumbs-2518458”,
prevText: “”,
nextText: “”,
slideshow: false,
init: gtx_gallery_slide_init,
start: gtx_gallery_slide_start,
before: gtx_gallery_slide_before,
after: gtx_gallery_slide_after
});

if(mobile_mode){
$slider.find(“.flex-direction-nav”).hide();
}

});

WASHINGTON (AP) — The Senate overwhelmingly approved a bill Tuesday that aims to boost U.S. semiconductor production and the development of artificial intelligence and other technology in the face of growing international competition, most notably from China.

The 68-32 vote for the bill demonstrates how confronting China economically is an issue that unites both parties in Congress. That’s a rarity in an era of division as pressure grows on Democrats to change Senate rules to push past Republican opposition and gridlock.

The centerpiece of the bill is a $50 billion emergency allotment to the Commerce Department to stand up semiconductor development and manufacturing through research and incentive programs previously authorized by Congress. The bill’s overall cost would increase spending by about $250 billion with most of the spending occurring in the first five years.

Supporters described it as the biggest investment in scientific research that the country has seen in decades. It comes as the nation’s share of semiconductor manufacturing globally has steadily eroded from 37% in 1990 to about 12% now, and as a chip shortage has exposed vulnerabilities in the U.S. supply chain.

“The premise is simple, if we want American workers and American companies to keep leading the world, the federal government must invest in science, basic research and innovation, just as we did decades after the Second World War,” said Senate Majority Leader Chuck Schumer, D-N.Y. “Whoever wins the race to the technologies of the future is going to be the global economic leader with profound consequences for foreign policy and national security as well.”

Senate Minority Leader Mitch McConnell, R-Ky., said the bill was incomplete because it did not incorporate more Republican-sponsored amendments. He nonetheless supported it.

“Needless to say, final passage of this legislation cannot be the Senate’s final word on our competition with China,” he said. “It certainly won’t be mine.”

Senators slogged through days of debates and amendments leading up to Tuesday’s final vote. Schumer’s office said 18 Republican amendments will have received votes as part of passage of the bill. It also said the Senate this year has already held as many roll call votes on amendments than it did in the last Congress, when the Senate was under Republican control.

While the bill enjoys bipartisan support, a core group of GOP senators has reservations about its costs.

One of the bill’s provisions would create a new directorate focused on artificial intelligence and quantum science with the National Science Foundation. The bill would authorize up to $29 billion over five years for the new branch within the foundation with an additional $52 billion for its programs.

Sen. Rand Paul, R-Ky., said Congress should be cutting the foundation’s budget, not increasing it. He called the agency “the king of wasteful spending.” The agency finances about a quarter of all federally supported research conducted by America’s colleges and universities.

“The bill is nothing more than a big government response that will make our country weaker, not stronger,” Paul said.

Senators have tried to strike a balance when calling attention to China’s growing influence. They want to avoid fanning divisive anti-Asian rhetoric when hate crimes against Asian Americans have spiked during the coronavirus pandemic.

Other measures spell out national security concerns and target money-laundering schemes or cyberattacks by entities on behalf of the Chinese government. There are also “buy America” provisions for infrastructure projects in the U.S.

Senators added provisions that reflect shifting attitudes toward China’s handling of the COVID-19 outbreak. One would prevent federal money for the Wuhan Institute of Virology as fresh investigations proceed into the origins of the virus and possible connections to the lab’s research. The city registered some of the first coronavirus cases.

It’s unclear whether the measure will find support in the Democratic-led House, where the Science Committee is expected to soon consider that chamber’s version. Rep. Ro Khanna, D-Calif., who has been working with Schumer for two years on legislation that’s included in the bill, called it the biggest investment in science and technology since the Apollo spaceflight program a half century ago.

“I’m quite certain we will get a really good product on the president’s desk,” Schumer said.

AP Congressional Correspondent Lisa Mascaro contributed to this report.




Go to Source
Author:

Powered by WPeMatico