, but this code // executes before the first paint, when

麻豆区

is not yet present. The // classes are added to so styling immediately reflects the current // toolbar state. The classes are removed after the toolbar completes // initialization. const classesToAdd = ['toolbar-loading', 'toolbar-anti-flicker']; if (toolbarState) { const { orientation, hasActiveTab, isFixed, activeTray, activeTabId, isOriented, userButtonMinWidth } = toolbarState; classesToAdd.push( orientation ? `toolbar-` + orientation + `` : 'toolbar-horizontal', ); if (hasActiveTab !== false) { classesToAdd.push('toolbar-tray-open'); } if (isFixed) { classesToAdd.push('toolbar-fixed'); } if (isOriented) { classesToAdd.push('toolbar-oriented'); } if (activeTray) { // These styles are added so the active tab/tray styles are present // immediately instead of "flickering" on as the toolbar initializes. In // instances where a tray is lazy loaded, these styles facilitate the // lazy loaded tray appearing gracefully and without reflow. const styleContent = ` .toolbar-loading #` + activeTabId + ` { background-image: linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%); } .toolbar-loading #` + activeTabId + `-tray { display: block; box-shadow: -1px 0 5px 2px rgb(0 0 0 / 33%); border-right: 1px solid #aaa; background-color: #f5f5f5; z-index: 0; } .toolbar-loading.toolbar-vertical.toolbar-tray-open #` + activeTabId + `-tray { width: 15rem; height: 100vh; } .toolbar-loading.toolbar-horizontal :not(#` + activeTray + `) > .toolbar-lining {opacity: 0}`; const style = document.createElement('style'); style.textContent = styleContent; style.setAttribute('data-toolbar-anti-flicker-loading', true); document.querySelector('head').appendChild(style); if (userButtonMinWidth) { const userButtonStyle = document.createElement('style'); userButtonStyle.textContent = `#toolbar-item-user {min-width: ` + userButtonMinWidth +`px;}` document.querySelector('head').appendChild(userButtonStyle); } } } document.querySelector('html').classList.add(...classesToAdd); })(); Abstraction renovates computers for Nicaragua - News & Stories | 麻豆区

麻豆区

Skip to main content

Calvin News

Abstraction renovates computers for Nicaragua

Thu, Dec 01, 2011
Myrna Anderson

Members of Calvin鈥檚 computer science student organization Abstraction recently gave up a Saturday afternoon to re-tool computers that will find a new home in Nicaragua. The students convened on November 19 at the headquarters of the Christian Reformed Church in North America (CRCNA) and worked on computers donated by that organization to an organization that plants Christian schools.

鈥淭he Abstraction club looks for a service project every year around Thanksgiving,鈥 said Calvin computer science professor Victor Norman. 鈥淚t gets them off campus, serving; it鈥檚 the idea that they can use their computer skills for something other than playing computer games.鈥

The students worked at CRCNA overhauling the machines from four through 10 p.m. They installed programs, configured the machines to use international keyboard settings, set up initial logins and installed Spanish language packages.

The latter item on the task list gave the programmers, including Norman, some fits. 鈥淚t鈥檚 just something none of us had ever done, so we had to experiment with it at first,鈥 he said, adding, 鈥淲e didn鈥檛 hardly know the Spanish words for logging out.鈥

The real challenge, however, came from working on the CRCNA鈥檚 old hardware.

鈥淭he computers were all without hard drives when we got there,鈥 said computer science major and Abstraction president Andrew Cooper. 鈥淲e soon got them in but many didn't work or were not equipped to handle a DVD. We ended up switching many of the DVD drives from the broken computers into the computers that had CD drives. Also at one point we blew the power which was an interesting thing to have happen.鈥

The group kept a pile of spare computer parts handy, to allow them to swap things out and see what worked. Norman also brought cards along the programmers something to do while things were installing.

The Abstraction members have plenty of installing experience; their signature event is, in fact, named Installfest, an event where the organization installs Linux free on the machines of all attendees. 鈥淚 relied on them in some ways,鈥 Norman said about the November 19 project. 鈥淭here are a lot of those guys who know more about hardware and packing old computers than I do.鈥

The refurbished CRCNA computers are headed toward the Nehemiah Center, a nonprofit in Managua that trains Christian leaders. 鈥淭hese computers are going to end up in the hands of Christian school teachers,鈥 said Shirley De Vries, the CRCNA IT director who partnered with Calvin on the project. 鈥淚t鈥檚 part of our process to re-purpose our old equipment for people we partner with in ministry. I didn鈥檛 have time to make that happen, but the students made it happen.鈥

The CRCNA and Abstraction are still trying to raise $775 to ship the computers to Nicaragua. 鈥淭he idea is that we get them out there in the beginning of their school year, 2012,鈥 De Vries said.

The event was fun, Cooper said, and it allowed Abstraction members to get to know one another.聽 It also gave them an opportunity to serve : 鈥淚 believe God gave us our skills with computers for a reason. Not just everyone can do what we did to refurbish computers. So we should use our God-given skills to help others,鈥 he said. 鈥淎lso computers are great tools. They help schools introduce them to students and teach them skills and help them. I see it as another area that can spread God's Word. I mean how many people surf the Web?鈥