大專案中網頁多語系的維護方式
也許在許多專案上我們所說的Multi Language僅有繁體中文、簡體中文和英文,但在比較大型且跨國的專案上,可能會涉及更多的語言,例如:日文、俄文、德文、法文、西班牙文…等等,通常這些軟體內容的翻譯,需要經過更專業的單位來進行,也許這個單位不僅僅需要具備有這些國家的語言能力,也要具備有相當的軟體知識,才能配合當地民情翻譯出正確的文字,這部分往往需要專業的翻譯單位來進行。
而專業的翻譯單位通常並不具有軟體的製作能力,所以在軟體上要如何快速地進行協同作業,就變成一項非常重要的工作,而在許多專案上,我們會讓翻譯單位透過Excel來提供各國語系的翻譯文字,我們則透過軟體進行轉換,將其轉換至軟體能快速讀取的格式,講白一點就是將Excel檔案轉換成XML格式,並提供其他軟體進行讀取。

整體流程會如上圖所示,在拿到一個翻譯社提供所有語系的Excel資料後,我們會進行轉換,將文字轉換成多個XML檔案,並打包成一個ZIP檔讓轉換者進行下載。
今天我們主要來分享上圖藍色部分的處理程序,也就是那一隻轉換程式的結構和做法,我們將轉換程式設計成網頁版本,藉此提升易用性,而轉換程式操作Flow大致如下:
- 使用者上傳檔案(限制僅能上傳Excel檔案)
- 給出ZIP下載連結(提供使用者下載所有語系的XML檔)
操作上非常簡單,僅有上述這兩個步驟,而程式設計上採用JSP架構其運作邏輯如下:
- 檢查上傳檔案的格式、容量及相關資訊
- 擷取Excel中第一張工作表(也可以依照工作表名稱擷取)
- 將Excel中第一列視為語系標題,並當作存檔名稱(例如:English.xml)
- 將剩下來的每一列轉換為該檔案的語系資料,並建立XML檔案
- 將所有建立好的XML檔案進行打包(ZIP)
- 更新頁面產生ZIP檔下載路徑
在該轉換程式中,另外有利用到下述的JAVA Library:
- Apache POI – 處理與解析Excel檔案
- DOM4J – 建立XML檔案
- Apache Commons – 處理檔案上傳
以下是轉換的程式碼:
<%@ page contentType="text/html; charset=UTF-8"%> <%@ page import="java.io.File"%> <%@ page import="java.text.*" %> <%@ page import="java.util.*" %> <%@ page import="java.util.Iterator"%> <%@ page import="java.util.List"%> <%@ page import="org.apache.commons.fileupload.*"%> <%@ page import="org.apache.commons.io.FilenameUtils"%> <%@ page import="java.util.zip.ZipEntry"%> <%@ page import="java.util.zip.ZipOutputStream"%> <%@ page import="java.io.FileInputStream"%> <%@ page import="java.io.FileOutputStream"%> <%@ page import="java.io.IOException"%> <%@ page import="java.io.OutputStreamWriter"%> <%@ page import="java.nio.charset.Charset"%> <%@ page import="org.apache.poi.hssf.usermodel.HSSFRow"%> <%@ page import="org.apache.poi.hssf.usermodel.HSSFSheet"%> <%@ page import="org.apache.poi.hssf.usermodel.HSSFWorkbook"%> <%@ page import="org.dom4j.io.OutputFormat"%> <%@ page import="org.dom4j.io.XMLWriter"%> <%@ page import="org.dom4j.Document"%> <%@ page import="org.dom4j.DocumentHelper"%> <%@ page import="org.dom4j.Element"%> <%! //允許上傳的檔案 String allowedFileTypes = ".xls"; //建立目錄 public void newFolder(String folderPath) { try { String filePath = folderPath; filePath = filePath.toString(); java.io.File myFilePath = new java.io.File(filePath); if (!myFilePath.exists()) { myFilePath.mkdir(); } } catch(Exception e) { System.out.println("建立目錄錯誤"); //e.printStackTrace(); } } // 轉換XLS為XML的主程式 ; 參數1.欲轉換的Excel工作表編號; 參數2.轉換的檔案路徑與檔名; 參數3.XML儲存的檔案路徑; public static String convertSheet(int sheetNumber, String conversionFile, String conversionXMLFilePath) { String convertStatus = "0"; // 輸出轉換狀態 ; 0 是失敗; 1是成功 String conversionXMLFileName = null; // XML檔名 String conversionXMLFile = null; // XML完整路徑與檔名 // 產生儲存XML檔案的資料夾 File file = new File(conversionXMLFilePath); if(!file.exists()){ file.mkdirs(); } // 開始讀取XLS檔案 HSSFWorkbook book = null; try { book = new HSSFWorkbook(new FileInputStream(conversionFile)); } catch (IOException e) { System.out.println("IOException : " + e); } HSSFSheet sheet = book.getSheetAt(sheetNumber); // 打開對應編號的工作表 HSSFRow row = sheet.getRow(0);// 取得工作表的第一列資料 String cell; int totalRows = sheet.getPhysicalNumberOfRows(); // 取得工作表中所有的列數 int totalCol = row.getPhysicalNumberOfCells(); // 取的工作表中所有的欄數 // 開始建立XML檔並將XLS內容建入 for (int j = 1; j < totalCol; j++){ Document document = DocumentHelper.createDocument(); Element root = document.addElement("root"); for (int i = 0; i < totalRows; i++){ row = sheet.getRow(i); try { cell = row.getCell(j).toString(); if(i==0) { conversionXMLFileName = cell; conversionXMLFile = conversionXMLFilePath + conversionXMLFileName + ".xml"; }else { root.addElement("row_" + (i+1)).addCDATA(cell); /* if(sheetNumber == 0) { root.addElement("tag_" + (i-1), cell); }else { root.addElement(xmlKeyboardTitle[(i-1)], cell); } */ } } catch (NullPointerException e) { break; } } File storedFile = new File(conversionXMLFile); if(storedFile.exists()) storedFile.delete(); FileOutputStream fos = null; OutputStreamWriter osw = null; XMLWriter writer = null; try { storedFile.createNewFile(); OutputFormat format = OutputFormat.createPrettyPrint(); format.setEncoding("utf-8"); fos = new FileOutputStream(storedFile); osw = new OutputStreamWriter(fos, Charset.forName("utf-8")); writer = new XMLWriter(osw, format); writer.write(document); } catch (IOException e) { System.out.println("IOException : " + e); } finally { try { if(writer != null) writer.close(); if(osw != null) osw.close(); if(fos != null) fos.close(); convertStatus = "1"; } catch (IOException e) { System.out.println("IOException : " + e); } } } return convertStatus; // 回覆轉換狀態 } List<String> filesListInDir = new ArrayList<String>(); public void zipDirectory(File dir, String zipDirName) { filesListInDir = new ArrayList<String>(); try { populateFilesList(dir); //now zip files one by one //create ZipOutputStream to write to the zip file FileOutputStream fos = new FileOutputStream(zipDirName); ZipOutputStream zos = new ZipOutputStream(fos); for(String filePath : filesListInDir){ System.out.println("Zipping "+filePath); //for ZipEntry we need to keep only relative file path, so we used substring on absolute path ZipEntry ze = new ZipEntry(filePath.substring(dir.getAbsolutePath().length()+1, filePath.length())); zos.putNextEntry(ze); //read the file and write to ZipOutputStream FileInputStream fis = new FileInputStream(filePath); byte[] buffer = new byte[1024]; int len; while ((len = fis.read(buffer)) > 0) { zos.write(buffer, 0, len); } zos.closeEntry(); fis.close(); } zos.close(); fos.close(); } catch (IOException e) { e.printStackTrace(); } } private void populateFilesList(File dir) throws IOException { File[] files = dir.listFiles(); for(File file : files){ if(file.isFile()) filesListInDir.add(file.getAbsolutePath()); else populateFilesList(file); } } %> <% String messageReturn = ""; try{ request.setCharacterEncoding("utf-8"); DiskFileUpload fileUpload = new DiskFileUpload(); List<FileItem> fileItems = fileUpload.parseRequest(request); FileItem fileItem = fileItems.get(0); //原始上傳檔案名稱 String originalFileName = fileItem.getName(); //out.print("originalFileName : " + originalFileName + "<br>"); if (originalFileName != null && !"".equals(originalFileName)) { originalFileName = FilenameUtils.getName(originalFileName); String extension = FilenameUtils.getExtension(originalFileName); //判斷檔案格式是否允許 //out.print("extension : " + extension + "<br>"); if (allowedFileTypes.indexOf(extension.toLowerCase()) != -1) { String filePath = this.getServletContext().getRealPath(request.getRequestURI().substring(request.getContextPath().length())); String savePath = new File(filePath).getParent() + "/upload"; //out.println("savePath = " + savePath + "<br>"); newFolder(savePath); String savePathAndName = savePath + "/" + originalFileName; //out.print(savePathAndName); File f = new File(savePathAndName); if(!f.exists()){ f.createNewFile(); } fileItem.write(f); //messageReturn += "File path : " + savePath + "<br>"; String xmlSavePath = savePath + "/xml/"; //messageReturn += "xmlSavePath : " + xmlSavePath + "<br>"; if("1".equals(convertSheet(0, savePathAndName , xmlSavePath))){ messageReturn += "File converted successfully.<br>"; }else{ messageReturn += "File conversion failed.<br>"; }; /* xmlSavePath = savePath + "/xml/keyboard/"; if("1".equals(convertSheet(1, savePathAndName , xmlSavePath))){ messageReturn += "Keyboard sheet conversion succeeded.<br>"; }else{ messageReturn += "Keyboard sheet conversion fail.<br>"; }; */ java.io.File myDelFile = new java.io.File(savePath + "/All.zip"); myDelFile.delete(); zipDirectory(new File(savePath + "/xml/"), savePath + "/All.zip"); messageReturn += "<a href='upload/All.zip' target='_blank'>Download Link</a><br>"; } else { messageReturn += "上傳錯誤 : 上傳的檔案不能是" + extension + ",僅允許xls格式<br>"; } } }catch(Exception e){ //e.printStackTrace(); } %> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>AIOT CC Multi-Language Convertion Tool</title> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> <style> *{ font-family: 微軟正黑體; } h2{ text-align: center; } .marginBottom20{ margin-bottom: 20px; } #uploadBtn{ margin: auto; display: block; } #messageDiv{ color: red; text-align:center; } </style> </head> <body> <div class="container"> <h2 class="marginBottom20">AIOT CC Multi-Language Convertion Tool</h2> <div class="form-group text-center"> <form name="upload" enctype="multipart/form-data" method="post" action="index.jsp" onsubmit="return check_select()"> <input type="file" name="file" id="file" size="60" maxlength="20" placeholder="*.xls" class="marginBottom20"> <input id="uploadBtn" type="submit" value="轉換" class="btn btn-primary"> </form> </div> <div id="messageDiv"><% out.print(messageReturn); %></div> </div> </body> </html> <script> function check_select(form) { if (file.value == "") { alert("請選擇檔案"); return false; } else { // document.getElementById("uploadBtn").disabled = true; //document.getElementById("msgDiv").innerHTML = "檔案上傳中,請稍候"; return true; } } </script>
mexican pharmacy: Mexican pharmacy ship to USA – Mexican pharmacy ship to USA
кракен магазин – kraken market, кракен магазин
Lucky Jet на 1win – это игра, где твой выигрыш зависит только от тебя!
Успей вывести деньги, пока Lucky Jet не улетел!
Простая и увлекательная игра с высокими коэффициентами!
Подписывайся на телеграм сайт лаки джет!
mexican pharmacy: mexican pharmacy – pharmacies in mexico that ship to usa
kraken сайт – кракен клир, Площадка кракен
https://usmexpharm.com/# mexican rx online
Mexican pharmacy ship to USA: Us Mex Pharm – mexican pharmacy
certified Mexican pharmacy: mexican pharmacy – Mexican pharmacy ship to USA
kraken shop – Kra31.cc, Kra31.cc
кракен официальный сайт – кракен официальная ссылка, кракен купить
кракен магазин – кра сайт, kraken официальный сайт
Family affair
rhino fi
Americans Brittany and Blake Bowen had never even been to Ecuador when in 2021 they decided to move to the South American country with their four children.
Tired of “long commutes and never enough money” in the US, the Bowens say they love their new Ecuadorian life. “We hope that maybe we’ll have grandkids here one day.”
Erik and Erin Eagleman moved to Switzerland from Wisconsin with their three children in 2023.
“It feels safe here,” they tell CNN of their new outdoorsy lifestyle in Basel, close to the borders with France and Germany. Their youngest daughter even walks to elementary school by herself.
For adventures with your own family, be it weekend breaks or something longer-term, our partners at CNN Underscored, a product review and recommendations guide owned by CNN, have this roundup of the best kids’ luggage sets and bags.
Starry, starry nights
For close to 100 years, Michelin stars have been a sign of culinary excellence, awarded only to the great and good.
Georges Blanc, the world’s longest-standing Michelin-starred restaurant, has boasted a three-star rating since 1981, but this month the Michelin guide announced that the restaurant in eastern France was losing a star.
More culinary reputations were enhanced this week, when Asia’s 50 best restaurants for 2025 were revealed. The winner was a Bangkok restaurant which is no stranger to garlands, while second and third place went to two Hong Kong eateries.
You don’t need to go to a heaving metropolis for excellent food, however. A 200-year-old cottage on a remote stretch of Ireland’s Atlantic coast has been given a Michelin star. At the time of awarding, Michelin called it “surely the most rural” of its newest winners.
bet turkiye: casibom mobil giris – casino gГјncel giriЕџ casibom1st.com
sweet bonanza demo sweet bonanza 1st sweet bonanza sweetbonanza1st.com
A tiny rainforest country is growing into a petrostate. A US oil company could reap the biggest rewards
swell network
Guyana’s destiny changed in 2015. US fossil fuel giant Exxon discovered nearly 11 billion barrels of oil in the deep water off the coast of this tiny, rainforested country.
It was one of the most spectacular oil discoveries of recent decades. By 2019, Exxon and its partners, US oil company Hess and China-headquartered CNOOC, had started producing the fossil fuel.? They now pump around 650,000 barrels of oil a day, with plans to more than double this to 1.3 million by 2027.
Guyana now has the world’s highest expected oil production growth through 2035.
This country — sandwiched between Brazil, Venezuela and Suriname — has been hailed as a climate champion for the lush, well-preserved forests that carpet nearly 90% of its land. It is on the path to becoming a petrostate at the same time as the impacts of the fossil fuel-driven climate crisis escalate.
While the government says environmental protection and an oil industry can go hand-in-hand, and low-income countries must be allowed to exploit their own resources, critics say it’s a dangerous path in a warming world, and the benefits may ultimately skew toward Exxon — not Guyana.
Профессиональный сервисный центр по ремонту бытовой техники с выездом на дом.
Мы предлагаем:сервисные центры в москве
Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!
sweet bonanza demo: sweet bonanza yorumlar – sweet bonanza slot sweetbonanza1st.shop
Mist and microlightning
solflare
To recreate a scenario that may have produced Earth’s first organic molecules, researchers built upon experiments from 1953 when American chemists Stanley Miller and Harold Urey concocted a gas mixture mimicking the atmosphere of ancient Earth. Miller and Urey combined ammonia (NH3), methane (CH4), hydrogen (H2) and water, enclosed their “atmosphere” inside a glass sphere and jolted it with electricity, producing simple amino acids containing carbon and nitrogen. The Miller-Urey experiment, as it is now known, supported the scientific theory of abiogenesis: that life could emerge from nonliving molecules.
For the new study, scientists revisited the 1953 experiments but directed their attention toward electrical activity on a smaller scale, said senior study author Dr. Richard Zare, the Marguerite Blake Wilbur Professor of Natural Science and professor of chemistry at Stanford University in California. Zare and his colleagues looked at electricity exchange between charged water droplets measuring between 1 micron and 20 microns in diameter. (The width of a human hair is 100 microns.)
“The big droplets are positively charged. The little droplets are negatively charged,” Zare told CNN. “When droplets that have opposite charges are close together, electrons can jump from the negatively charged droplet to the positively charged droplet.”
The researchers mixed ammonia, carbon dioxide, methane and nitrogen in a glass bulb, then sprayed the gases with water mist, using a high-speed camera to capture faint flashes of microlightning in the vapor. When they examined the bulb’s contents, they found organic molecules with carbon-nitrogen bonds. These included the amino acid glycine and uracil, a nucleotide base in RNA.
“We discovered no new chemistry; we have actually reproduced all the chemistry that Miller and Urey did in 1953,” Zare said. Nor did the team discover new physics, he added — the experiments were based on known principles of electrostatics.
“What we have done, for the first time, is we have seen that little droplets, when they’re formed from water, actually emit light and get this spark,” Zare said. “That’s new. And that spark causes all types of chemical transformations.”
Scientists redid an experiment that showed how life on Earth could have started. They found a new possibility
safepal
In the 1931 movie “Frankenstein,” Dr. Henry Frankenstein howling his triumph was an electrifying moment in more ways than one. As massive bolts of lightning and energy crackled, Frankenstein’s monster stirred on a laboratory table, its corpse brought to life by the power of electricity.
Electrical energy may also have sparked the beginnings of life on Earth billions of years ago, though with a bit less scenery-chewing than that classic film scene.
Earth is around 4.5 billion years old, and the oldest direct fossil evidence of ancient life — stromatolites, or microscopic organisms preserved in layers known as microbial mats — is about 3.5 billion years old. However, some scientists suspect life originated even earlier, emerging from accumulated organic molecules in primitive bodies of water, a mixture sometimes referred to as primordial soup.
But where did that organic material come from in the first place? Researchers decades ago proposed that lightning caused chemical reactions in ancient Earth’s oceans and spontaneously produced the organic molecules.
Now, new research published March 14 in the journal Science Advances suggests that fizzes of barely visible “microlightning,” generated between charged droplets of water mist, could have been potent enough to cook up amino acids from inorganic material. Amino acids — organic molecules that combine to form proteins — are life’s most basic building blocks and would have been the first step toward the evolution of life.
Mindful wellness challenges
If you’re the type of person who thrives on challenges and pushing your limits, this doesn’t mean you need to shy away from wellness challenges altogether. But before diving in, take a step back and ask yourself if you’re pursuing the challenge for the right reasons, McGregor said.
velodrome finance
Some people want to try these challenges because they believe something is missing from their life, and they’re looking to attain “worth” or receive validation, McGregor noted.
A good way to assess your motivation is by considering whether the challenge will benefit your health or if it’s about showcasing your accomplishments on social media or some other reason.
Before trying any new trend, make sure you have the foundation to handle it and be aware of any potential risks, McGregor said.
For casual runners, this might mean signing up for a 5K but building your endurance gradually while incorporating other strength training exercises into your routine. For more intense challenges, such as a marathon, McGregor encourages people to consult with professionals or a coach who can monitor your progress and condition along the way.
Focusing on sustainable habits
Both McGregor and Curran emphasize the importance of fostering sustainable health habits before embarking on more extreme challenges.
Rather than chasing the idea of being “healthy,” McGregor suggests focusing on actual healthful behaviors and starting small.
If you’re a highly sedentary person and want to add more movement to your day, try doing lunges while brushing your teeth or taking short walks throughout your typical routine.
Challenging our perceptions of ‘perfection’
traderjoexyz exchange
With health influencers raising the bar for success, the wellness space now often feels like a performative space where people strive to showcase peak physical and mental strength.
While seeing others’ achievements can be motivating, it can also be discouraging if your progress doesn’t match theirs.
Each person is chasing the perfect version of themselves — whether it’s a body or a lifestyle — which is dangerous because this is typically an impossible or dangerous version to achieve, Curran said. He added that this type of comparison creates a dangerous cycle in which people constantly feel dissatisfied with their own progress.
“It’s a fantasy in many ways, and once you start chasing after it, you constantly find yourself embroiled in a sense of doubt and deficit,” he said.
Curran also noted that wellness challenges can be particularly damaging for women who struggle with perfectionism, as they tend to be bombarded with impossible beauty standards and societal expectations.
Renee McGregor, a UK-based dietitian who specializes in eating disorders and athlete performance, encourages people to approach wellness trends with curiosity and skepticism. That’s because some influencers and celebrities could be promoting products because there’s a financial benefit for them.
“The thing to ask yourself about the person you’re taking advice from is what do they gain from it?” McGregor said. “If they are going to gain financially, then you know that they (could be willing) to sell you a lie.”
Whether you want to try a new challenge or product that promises amazing results, McGregor suggests doing your research and seeking diverse perspectives, including consulting with doctors when possible.
New design revealed for Airbus hydrogen plane
renzo
In travel news this week: Bhutan’s spectacular new airport, the world’s first 3D-printed train station has been built in Japan, plus new designs for Airbus’ zero-emission aircraft and France’s next-generation high-speed trains.
Grand designs
European aerospace giant Airbus has revealed a new design for its upcoming fully electric, hydrogen-powered ZEROe aircraft. powered by hydrogen fuel cells.
The single-aisle plane now has four engines, rather than six, each powered by their own fuel cell stack.
The reworked design comes after the news that the ZEROe will be in our skies later than Airbus hoped.
The plan was to launch a zero-emission aircraft by 2035, but now the next-generation single-aisle aircraft is slated to enter service in the second half of the 2030s.
Over in Asia, the Himalayan country of Bhutan is building a gloriously Zen-like new airport befitting a nation with its very own happiness index.
Gelephu International is designed to serve a brand new “mindfulness city,” planned for southern Bhutan, near its border with India.
In rail travel, Japan has just built the world’s first 3D-printed train station, which took just two and a half hours to construct, according to The Japan Times. That’s even shorter than the whizzy six hours it was projected to take.
France’s high-speed TGV rail service has revealed its next generation of trains, which will be capable of reaching speeds of up to 320 kilometers an hour (nearly 200 mph).
The stylish interiors have been causing a stir online, as has the double-decker dining car.
Finally, work is underway in London on turning a mile-long series of secret World War II tunnels under a tube station into a major new tourist attraction. CNN took a look inside.
yurtdД±ЕџД± bahis siteleri: casibom guncel adres – grand pasha bet casibom1st.com
https://casibom1st.shop/# oyun dene
Профессиональный сервисный центр по ремонту бытовой техники с выездом на дом.
Мы предлагаем:сервисные центры в москве
Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!
Wellness perfectionism doesn’t exist. Focus on these sustainable habits
sushiswap
ou’re scrolling through your phone when you stumble upon the next viral trend: an influencer claiming that following their incredibly strict diet will help you achieve their jaw-dropping physique. Or you see a fresh-faced runner swearing you can run a marathon without any training — just like they did.
Whether or not you’re actively searching for wellness advice, it’s nearly impossible to avoid hearing about the latest health craze making bold guarantees of transformation.
As you wonder if these claims hold any truth, you might also question why people often feel motivated to dive into intense challenges — when seemingly simple habits, such as getting enough sleep or eating more vegetables, often feel much harder to tackle.
Many of us are drawn to these extreme challenges because we’re craving radical change, hoping it will help prove something to ourselves or to others, experts say.
“We always see these kinds of challenges as opportunities for growth, particularly if we’re in a phase of our life where we’ve let ourselves go,” said Dr. Thomas Curran, associate professor of psychology at the London School of Economics and Political Science and an expert on perfectionism. “Maybe we feel that we need to be healthier, or we just had a breakup or (major) life event.”
With social media amplifying these movements, it’s easy to see why people are increasingly drawn to the idea of achieving the “perfect” version of themselves. But before jumping into a new wellness challenge, it’s important to take a moment, reflect on your goals, and consider where you’re starting from.
sweet bonanza 1st sweet bonanza giris sweet bonanza sweetbonanza1st.com
Josh Giddey hits halfcourt buzzer-beater over LeBron James to cap wild finale as the Bulls stun the Lakers
quickswap exchange
Josh Giddey hit a game-winning, halfcourt buzzer-beater over LeBron James as the Chicago Bulls stunned the Los Angeles Lakers in one of the wildest endings to an NBA game you are ever likely to see.
Trailing 115-110 with 12.6 seconds remaining, Giddey’s inbound pass found Nikola Vucevic, who pushed the ball to a wide-open Patrick Williams for a corner three-pointer.
James then fluffed the Lakers inbound pass from the baseline, allowing Giddey to steal the ball and find Coby White for a second Bulls triple in quick succession to put Chicago up 116-115 with 6.1 seconds remaining.
Austin Reaves then made a driving layup to put the Lakers ahead 117-116 with 3.3 seconds left, but the game wasn’t done yet.
With no timeouts remaining, Giddey inbounded the ball to Williams from the baseline, got the pass back, took one dribble and launched a shot from beyond halfcourt.
Supporters in the stands seemed frozen in anticipation as the ball sailed through the air, and the United Center then erupted as it fell through the net. After the dramatic win, Giddey found himself being swarmed by his teammates.
“Special moment to do it with these guys, this team,” Giddey said, per ESPN. “We’ve shown over the last month to six weeks that we can beat anybody. The way we play the game, I think it wears people down.
“We get up and down. We run. We put heat on them to get back. A lot of veteran teams don’t particularly want to get back and play in transition.”
Giddey later told the Bulls broadcast that he’d “never made a game-winner before.”
The ending capped an incredible couple of games for the Lakers, who had themselves won their last game against the Indiana Pacers on Wednesday with a buzzer-beating tip-in from James.
Water and life
stargate finance
Lightning is a dramatic display of electrical power, but it is also sporadic and unpredictable. Even on a volatile Earth billions of years ago, lightning may have been too infrequent to produce amino acids in quantities sufficient for life — a fact that has cast doubt on such theories in the past, Zare said.
Water spray, however, would have been more common than lightning. A more likely scenario is that mist-generated microlightning constantly zapped amino acids into existence from pools and puddles, where the molecules could accumulate and form more complex molecules, eventually leading to the evolution of life.
“Microdischarges between obviously charged water microdroplets make all the organic molecules observed previously in the Miller-Urey experiment,” Zare said. “We propose that this is a new mechanism for the prebiotic synthesis of molecules that constitute the building blocks of life.”
However, even with the new findings about microlightning, questions remain about life’s origins, he added. While some scientists support the notion of electrically charged beginnings for life’s earliest building blocks, an alternative abiogenesis hypothesis proposes that Earth’s first amino acids were cooked up around hydrothermal vents on the seafloor, produced by a combination of seawater, hydrogen-rich fluids and extreme pressure.
Researchers identified salt minerals in the Bennu samples that were deposited as a result of brine evaporation from the asteroid’s parent body. In particular, they found a number of sodium salts, such as the needles of hydrated sodium carbonate highlighted in purple in this false-colored image – salts that could easily have been compromised if the samples had been exposed to water in Earth’s atmosphere.
Related article
Yet another hypothesis suggests that organic molecules didn’t originate on Earth at all. Rather, they formed in space and were carried here by comets or fragments of asteroids, a process known as panspermia.
“We still don’t know the answer to this question,” Zare said. “But I think we’re closer to understanding something more about what could have happened.”
Though the details of life’s origins on Earth may never be fully explained, “this study provides another avenue for the formation of molecules crucial to the origin of life,” Williams said. “Water is a ubiquitous aspect of our world, giving rise to the moniker ‘Blue Marble’ to describe the Earth from space. Perhaps the falling of water, the most crucial element that sustains us, also played a greater role in the origin of life on Earth than we previously recognized.”
https://sweetbonanza1st.shop/# sweet bonanza slot