Please don't use Slack for FOSS projects (2015)
9 by kick | 1 comments on Hacker News.
Thursday, October 31, 2019
Connecticut Home Invasion Convict Is Undergoing Gender Transition in Prison
By BY NEIL VIGDOR from NYT U.S. https://ift.tt/33fe4vb
7-Year-Old Girl Is Shot in Chicago While Trick-or-Treating, Police Say
By BY AIMEE ORTIZ AND MIHIR ZAVERI from NYT U.S. https://ift.tt/2WxlqYn
The Value of Working Expeditiously
By BY DEB AMLEN from NYT Crosswords & Games https://ift.tt/3357PKb
Quotation of the Day: What Recovery? Life on the Edge
Quotation of the Day: What Recovery? Life on the Edge
By Unknown Author from NYT Today’s Paper https://ift.tt/2PCspxu
via Blogger https://ift.tt/2r2x81l
November 01, 2019 at 12:11PM
By Unknown Author from NYT Today’s Paper https://ift.tt/2PCspxu
via Blogger https://ift.tt/2r2x81l
November 01, 2019 at 12:11PM
Memphis Clerk Sentenced to 22 Years for Killing Teenager Who Stole Beer
Memphis Clerk Sentenced to 22 Years for Killing Teenager Who Stole Beer
By BY MIHIR ZAVERI from NYT U.S. https://ift.tt/2NsQe8h
via Blogger https://ift.tt/2q8qOFa
November 01, 2019 at 12:11PM
By BY MIHIR ZAVERI from NYT U.S. https://ift.tt/2NsQe8h
via Blogger https://ift.tt/2q8qOFa
November 01, 2019 at 12:11PM
Toronto’s City of Tomorrow Is Scaled Back Amid Privacy Concerns
Toronto’s City of Tomorrow Is Scaled Back Amid Privacy Concerns
By BY DAN BILEFSKY from NYT World https://ift.tt/33b97DC
via Blogger https://ift.tt/33980nK
November 01, 2019 at 12:11PM
By BY DAN BILEFSKY from NYT World https://ift.tt/33b97DC
via Blogger https://ift.tt/33980nK
November 01, 2019 at 12:11PM
cherub: Palabra del día: November 1, 2019
cherub: Palabra del día: November 1, 2019
cherub , n :
(biblical) A winged creature attending on God, described by Pseudo-Dionysius the Areopagite (c. 5th–6th century) as the second highest order of angels, ranked above thrones and below seraphim; similar to a lamassu in the pre-exilic texts of the Hebrew Bible, more humanoid in later texts. An artistic depiction of such a being, typically in the form of a winged child or a child's head with wings but no body. (figuratively) A person, especially a child, seen as being particularly angelic or innocent. Today is All Saints’ Day in Western Christianity.
via Blogger https://ift.tt/2NsrhKo
November 01, 2019 at 12:08PM
cherub , n :
(biblical) A winged creature attending on God, described by Pseudo-Dionysius the Areopagite (c. 5th–6th century) as the second highest order of angels, ranked above thrones and below seraphim; similar to a lamassu in the pre-exilic texts of the Hebrew Bible, more humanoid in later texts. An artistic depiction of such a being, typically in the form of a winged child or a child's head with wings but no body. (figuratively) A person, especially a child, seen as being particularly angelic or innocent. Today is All Saints’ Day in Western Christianity.
via Blogger https://ift.tt/2NsrhKo
November 01, 2019 at 12:08PM
New top story on Hacker News: NIH-Funded Study Suggests Acetaminophen During Pregnancy Linked to ADHD/Autism
New top story on Hacker News: NIH-Funded Study Suggests Acetaminophen During Pregnancy Linked to ADHD/Autism
NIH-Funded Study Suggests Acetaminophen During Pregnancy Linked to ADHD/Autism
2 by Wald76 | 0 comments on Hacker News.
via Blogger https://ift.tt/3397XIA
November 01, 2019 at 11:38AM
NIH-Funded Study Suggests Acetaminophen During Pregnancy Linked to ADHD/Autism
2 by Wald76 | 0 comments on Hacker News.
via Blogger https://ift.tt/3397XIA
November 01, 2019 at 11:38AM
New top story on Hacker News: Acquiring Books for the Greatest Libraries in the World (2018)
New top story on Hacker News: Acquiring Books for the Greatest Libraries in the World (2018)
Acquiring Books for the Greatest Libraries in the World (2018)
4 by Hooke | 0 comments on Hacker News.
via Blogger https://ift.tt/36nbOny
November 01, 2019 at 11:38AM
Acquiring Books for the Greatest Libraries in the World (2018)
4 by Hooke | 0 comments on Hacker News.
via Blogger https://ift.tt/36nbOny
November 01, 2019 at 11:38AM
New Threats Put Wildfire Fighters’ Health on the Line
New Threats Put Wildfire Fighters’ Health on the Line
By BY JULIE TURKEWITZ from NYT U.S. https://ift.tt/34hJr8d
via Blogger https://ift.tt/2PBywC9
November 01, 2019 at 11:26AM
By BY JULIE TURKEWITZ from NYT U.S. https://ift.tt/34hJr8d
via Blogger https://ift.tt/2PBywC9
November 01, 2019 at 11:26AM
No Such Thing as Vampires
No Such Thing as Vampires
No Such Thing as Vampires.
"No Such Thing as Vampires" is the pilot episode of the American paranormal romance television drama Moonlight. Premiering on CBS on September 28, 2007, it was written by series creators and executive producers Trevor Munson and Ron Koslow and directed by executive producer Rod Holcomb. The pilot introduces Mick St. John (Alex O'Loughlin, pictured), a private investigator and a vampire, along with his love interest Beth Turner (Sophia Myles), his mentor Josef Kostan (Jason Dohring), and his ex-wife Coraline Duvall (Shannyn Sossamon). Originally titled Twilight, the project was renamed and recast when picked up by CBS for the 2007–2008 American television season. Although received poorly by critics, the pilot managed to finish first for its night among total viewers and adults 18–49. Many critics faulted the acting and writing, but some thought that the series showed promise, and Dohring's performance was praised.
via Blogger https://ift.tt/34lvKVX
November 01, 2019 at 11:12AM
No Such Thing as Vampires.
"No Such Thing as Vampires" is the pilot episode of the American paranormal romance television drama Moonlight. Premiering on CBS on September 28, 2007, it was written by series creators and executive producers Trevor Munson and Ron Koslow and directed by executive producer Rod Holcomb. The pilot introduces Mick St. John (Alex O'Loughlin, pictured), a private investigator and a vampire, along with his love interest Beth Turner (Sophia Myles), his mentor Josef Kostan (Jason Dohring), and his ex-wife Coraline Duvall (Shannyn Sossamon). Originally titled Twilight, the project was renamed and recast when picked up by CBS for the 2007–2008 American television season. Although received poorly by critics, the pilot managed to finish first for its night among total viewers and adults 18–49. Many critics faulted the acting and writing, but some thought that the series showed promise, and Dohring's performance was praised.
via Blogger https://ift.tt/34lvKVX
November 01, 2019 at 11:12AM
Quotation of the Day: What Recovery? Life on the Edge
By Unknown Author from NYT Today’s Paper https://ift.tt/2PCspxu
Memphis Clerk Sentenced to 22 Years for Killing Teenager Who Stole Beer
By BY MIHIR ZAVERI from NYT U.S. https://ift.tt/2NsQe8h
Toronto’s City of Tomorrow Is Scaled Back Amid Privacy Concerns
By BY DAN BILEFSKY from NYT World https://ift.tt/33b97DC
cherub: Palabra del día: November 1, 2019
cherub , n :
(biblical) A winged creature attending on God, described by Pseudo-Dionysius the Areopagite (c. 5th–6th century) as the second highest order of angels, ranked above thrones and below seraphim; similar to a lamassu in the pre-exilic texts of the Hebrew Bible, more humanoid in later texts. An artistic depiction of such a being, typically in the form of a winged child or a child's head with wings but no body. (figuratively) A person, especially a child, seen as being particularly angelic or innocent. Today is All Saints’ Day in Western Christianity.
(biblical) A winged creature attending on God, described by Pseudo-Dionysius the Areopagite (c. 5th–6th century) as the second highest order of angels, ranked above thrones and below seraphim; similar to a lamassu in the pre-exilic texts of the Hebrew Bible, more humanoid in later texts. An artistic depiction of such a being, typically in the form of a winged child or a child's head with wings but no body. (figuratively) A person, especially a child, seen as being particularly angelic or innocent. Today is All Saints’ Day in Western Christianity.
New Threats Put Wildfire Fighters’ Health on the Line
By BY JULIE TURKEWITZ from NYT U.S. https://ift.tt/34hJr8d
No Such Thing as Vampires
No Such Thing as Vampires.
"No Such Thing as Vampires" is the pilot episode of the American paranormal romance television drama Moonlight. Premiering on CBS on September 28, 2007, it was written by series creators and executive producers Trevor Munson and Ron Koslow and directed by executive producer Rod Holcomb. The pilot introduces Mick St. John (Alex O'Loughlin, pictured), a private investigator and a vampire, along with his love interest Beth Turner (Sophia Myles), his mentor Josef Kostan (Jason Dohring), and his ex-wife Coraline Duvall (Shannyn Sossamon). Originally titled Twilight, the project was renamed and recast when picked up by CBS for the 2007–2008 American television season. Although received poorly by critics, the pilot managed to finish first for its night among total viewers and adults 18–49. Many critics faulted the acting and writing, but some thought that the series showed promise, and Dohring's performance was praised.
"No Such Thing as Vampires" is the pilot episode of the American paranormal romance television drama Moonlight. Premiering on CBS on September 28, 2007, it was written by series creators and executive producers Trevor Munson and Ron Koslow and directed by executive producer Rod Holcomb. The pilot introduces Mick St. John (Alex O'Loughlin, pictured), a private investigator and a vampire, along with his love interest Beth Turner (Sophia Myles), his mentor Josef Kostan (Jason Dohring), and his ex-wife Coraline Duvall (Shannyn Sossamon). Originally titled Twilight, the project was renamed and recast when picked up by CBS for the 2007–2008 American television season. Although received poorly by critics, the pilot managed to finish first for its night among total viewers and adults 18–49. Many critics faulted the acting and writing, but some thought that the series showed promise, and Dohring's performance was praised.
Wednesday, October 30, 2019
Your Move, Facebook
Your Move, Facebook
By BY KARA SWISHER from NYT Opinion https://ift.tt/2BW1jcJ
via Blogger https://ift.tt/2owxgoR
October 31, 2019 at 11:41AM
By BY KARA SWISHER from NYT Opinion https://ift.tt/2BW1jcJ
via Blogger https://ift.tt/2owxgoR
October 31, 2019 at 11:41AM
New top story on Hacker News: Get over $100k Worth of Tools with the GitHub Student Developer Pack
New top story on Hacker News: Get over $100k Worth of Tools with the GitHub Student Developer Pack
Get over $100k Worth of Tools with the GitHub Student Developer Pack
6 by guessmyname | 0 comments on Hacker News.
via Blogger https://ift.tt/32X41dT
October 31, 2019 at 11:28AM
Get over $100k Worth of Tools with the GitHub Student Developer Pack
6 by guessmyname | 0 comments on Hacker News.
via Blogger https://ift.tt/32X41dT
October 31, 2019 at 11:28AM
New top story on Hacker News: Which Planet Is Closest?
New top story on Hacker News: Which Planet Is Closest?
Which Planet Is Closest?
3 by vl | 0 comments on Hacker News.
via Blogger https://ift.tt/2puk8kx
October 31, 2019 at 11:18AM
Which Planet Is Closest?
3 by vl | 0 comments on Hacker News.
via Blogger https://ift.tt/2puk8kx
October 31, 2019 at 11:18AM
Twitter announces ban on political ads
Twitter announces ban on political ads
Twitter founder Jack Dorsey announced Wednesday the social network has decided to "stop all political advertising on Twitter globally."
from Reuters Video: Technology https://ift.tt/2N2eWNQ
via Blogger https://ift.tt/2Np0vCs
October 31, 2019 at 11:17AM
Twitter founder Jack Dorsey announced Wednesday the social network has decided to "stop all political advertising on Twitter globally."
from Reuters Video: Technology https://ift.tt/2N2eWNQ
via Blogger https://ift.tt/2Np0vCs
October 31, 2019 at 11:17AM
How to Eat Alone (and Like It)
How to Eat Alone (and Like It)
By BY JESS MCHUGH from NYT Smarter Living https://ift.tt/31WLbCt
via Blogger https://ift.tt/2BV9o19
October 31, 2019 at 11:11AM
By BY JESS MCHUGH from NYT Smarter Living https://ift.tt/31WLbCt
via Blogger https://ift.tt/2BV9o19
October 31, 2019 at 11:11AM
Ford and U.A.W. in Tentative Contract Deal
By BY THE NEW YORK TIMES from NYT Business https://ift.tt/3269PAJ
The Clintons and Justice Ginsburg on Judicial Nominations, Then and Now
By BY ADAM LIPTAK from NYT U.S. https://ift.tt/36m3vZ6
bunny boiler: Palabra del día: October 31, 2019
bunny boiler , n :
(slang, humorous, derogatory) A person who acts (or may supposedly act) obsessively or even dangerously towards another person with whom the first person was previously, or wishes to be, in a relationship with. Boo! Happy Halloween!
(slang, humorous, derogatory) A person who acts (or may supposedly act) obsessively or even dangerously towards another person with whom the first person was previously, or wishes to be, in a relationship with. Boo! Happy Halloween!
Twitter announces ban on political ads
Twitter founder Jack Dorsey announced Wednesday the social network has decided to "stop all political advertising on Twitter globally."
from Reuters Video: Technology https://ift.tt/2N2eWNQ
from Reuters Video: Technology https://ift.tt/2N2eWNQ
Georgia Plans to Purge 300,000 Names From Its Voter Rolls
By BY NICHOLAS CASEY from NYT U.S. https://ift.tt/2WrdJ5X
Stick to Sports? No Way. Deadspin Journalists Quit en Masse.
By BY MARC TRACY from NYT Business https://ift.tt/31YbsQz
Hundreds of U.S. Troops Leaving, and Also Arriving in, Syria
By BY ERIC SCHMITT AND HELENE COOPER from NYT World https://ift.tt/331hmlz
Iraq Prime Minister Pressed to Quit as Protests Clog Streets
By BY ALISSA J. RUBIN from NYT World https://ift.tt/2pqzoyQ
Michael Collins (astronaut)
Michael Collins (astronaut).
Michael Collins (born October 31, 1930) is a former astronaut and test pilot who was the command module pilot of Apollo 11 in 1969. The first person to perform more than one spacewalk, he is one of 24 people to have flown to the Moon. Collins joined the U.S. Air Force after graduating from West Point in 1952. He graduated in 1960 from the Air Force Experimental Flight Test Pilot School and was selected for NASA's third group of astronauts in 1963. He made two spacewalks on his first mission on Gemini 10 in 1966. During Apollo 11, he remained in orbit around the Moon in the command module Columbia while his crewmates Neil Armstrong and Buzz Aldrin made the first crewed landing on the surface. After retiring from NASA, Collins became Assistant Secretary of State for Public Affairs and later director of the National Air and Space Museum. Under his guidance, the museum opened on time and within budget for the United States Bicentennial in 1976.
Michael Collins (born October 31, 1930) is a former astronaut and test pilot who was the command module pilot of Apollo 11 in 1969. The first person to perform more than one spacewalk, he is one of 24 people to have flown to the Moon. Collins joined the U.S. Air Force after graduating from West Point in 1952. He graduated in 1960 from the Air Force Experimental Flight Test Pilot School and was selected for NASA's third group of astronauts in 1963. He made two spacewalks on his first mission on Gemini 10 in 1966. During Apollo 11, he remained in orbit around the Moon in the command module Columbia while his crewmates Neil Armstrong and Buzz Aldrin made the first crewed landing on the surface. After retiring from NASA, Collins became Assistant Secretary of State for Public Affairs and later director of the National Air and Space Museum. Under his guidance, the museum opened on time and within budget for the United States Bicentennial in 1976.
Tuesday, October 29, 2019
Toyota’s Support of Trump Emissions Rules Shocks Californians
Toyota’s Support of Trump Emissions Rules Shocks Californians
By BY TIFFANY HSU from NYT Business https://ift.tt/34gMn5g
via Blogger https://ift.tt/34aRR1a
October 30, 2019 at 11:31AM
By BY TIFFANY HSU from NYT Business https://ift.tt/34gMn5g
via Blogger https://ift.tt/34aRR1a
October 30, 2019 at 11:31AM
Woman Who Oversaw Robberies Targeting Asians and Indians Gets 37 Years in Prison
Woman Who Oversaw Robberies Targeting Asians and Indians Gets 37 Years in Prison
By BY MARIEL PADILLA from NYT U.S. https://ift.tt/369Aa3Q
via Blogger https://ift.tt/34jlDRD
October 30, 2019 at 11:16AM
By BY MARIEL PADILLA from NYT U.S. https://ift.tt/369Aa3Q
via Blogger https://ift.tt/34jlDRD
October 30, 2019 at 11:16AM
72 British Lawmakers Condemn ‘Colonial’ Coverage of Meghan
72 British Lawmakers Condemn ‘Colonial’ Coverage of Meghan
By BY ALAN YUHAS from NYT World https://ift.tt/2BRnK2I
via Blogger https://ift.tt/2Jvt2W0
October 30, 2019 at 11:16AM
By BY ALAN YUHAS from NYT World https://ift.tt/2BRnK2I
via Blogger https://ift.tt/2Jvt2W0
October 30, 2019 at 11:16AM
White House Ukraine Expert Sought to Correct Transcript of Trump Call
By BY JULIAN E. BARNES, NICHOLAS FANDOS AND DANNY HAKIM from NYT U.S. https://ift.tt/2BUttVr
Sony to Shut Down PlayStation Vue, a Cable Alternative
By BY THE ASSOCIATED PRESS from NYT Business https://ift.tt/34ecRUW
Why New York Can’t Pick Up Its Trash
By BY THE EDITORIAL BOARD from NYT Opinion https://ift.tt/2BWcbHq
Toyota’s Support of Trump Emissions Rules Shocks Californians
By BY TIFFANY HSU from NYT Business https://ift.tt/34gMn5g
Woman Who Oversaw Robberies Targeting Asians and Indians Gets 37 Years in Prison
By BY MARIEL PADILLA from NYT U.S. https://ift.tt/369Aa3Q
72 British Lawmakers Condemn ‘Colonial’ Coverage of Meghan
By BY ALAN YUHAS from NYT World https://ift.tt/2BRnK2I
House Passes Resolution Recognizing Armenian Genocide
By BY CATIE EDMONDSON AND RICK GLADSTONE from NYT U.S. https://ift.tt/2Nq4qPo
Despair for Many and Silver Linings for Some in California Wildfires
By BY THOMAS FULLER, JULIE TURKEWITZ AND JOSE A. DEL REAL from NYT U.S. https://ift.tt/32WbkCw
Can the Nationals and Astros Turn This World Series Into a Classic?
By BY TYLER KEPNER from NYT Sports https://ift.tt/2NnCk7r
‘Fear’ Review: 3 Men in a Shed, 1 Missing Girl on Their Minds
By BY ELISABETH VINCENTELLI from NYT Theater https://ift.tt/2MVLF7q
escarole: Palabra del día: October 30, 2019
escarole , n :
(Canada, US) A subspecies or variety of broad-leaved endive (Cichorium endivia subsp. endivia, syn. Cichorium endivia var. latifolium), which is eaten as a vegetable.
(Canada, US) A subspecies or variety of broad-leaved endive (Cichorium endivia subsp. endivia, syn. Cichorium endivia var. latifolium), which is eaten as a vegetable.
Sorga Ka Toedjoe
Sorga Ka Toedjoe.
Sorga Ka Toedjoe is a film from the Dutch East Indies (present-day Indonesia) which had its premiere in Surabaya on 30 October 1940, one of fourteen domestic productions released that year. The black-and-white film featured traditional kroncong music and was targeted at native audiences. It was directed by Joshua and Othniel Wong for Tan's Film, a company owned by the ethnic Chinese brothers Khoen Yauw and Khoen Hian. The Wongs had worked for Tan's since 1938, when they directed the hit film Fatima featuring Rd Mochtar. Sorga Ka Toedjoe was the first production by Tan's Film after Mochtar left the company. Starring Roekiah and Djoemala as a younger couple and Kartolo and Annie Landouw as an older couple, it was a commercial and critical success. Roekiah and Djoemala took leading roles in three more films before Tan's closed in 1942, following the Japanese occupation of the country. Sorga Ka Toedjoe is now believed to be lost.
Sorga Ka Toedjoe is a film from the Dutch East Indies (present-day Indonesia) which had its premiere in Surabaya on 30 October 1940, one of fourteen domestic productions released that year. The black-and-white film featured traditional kroncong music and was targeted at native audiences. It was directed by Joshua and Othniel Wong for Tan's Film, a company owned by the ethnic Chinese brothers Khoen Yauw and Khoen Hian. The Wongs had worked for Tan's since 1938, when they directed the hit film Fatima featuring Rd Mochtar. Sorga Ka Toedjoe was the first production by Tan's Film after Mochtar left the company. Starring Roekiah and Djoemala as a younger couple and Kartolo and Annie Landouw as an older couple, it was a commercial and critical success. Roekiah and Djoemala took leading roles in three more films before Tan's closed in 1942, following the Japanese occupation of the country. Sorga Ka Toedjoe is now believed to be lost.
Monday, October 28, 2019
As Kurds Tracked ISIS Leader, U.S. Withdrawal Threw Raid Into Turmoil
By BY BEN HUBBARD AND ERIC SCHMITT from NYT World https://ift.tt/32T0GMQ
What the U.S. Withdrawal Cost the Kurds
By BY NEIL COLLIER AND BEN LAFFIN from NYT World https://ift.tt/2Nn3XgS
Army Officer on White House Staff Reported Concerns on Trump’s Ukraine Dealings
By BY DANNY HAKIM from NYT U.S. https://ift.tt/2Nh6Akm
New top story on Hacker News: Ask HN: I just wrote an O(N) diffing algorithm – what am I missing?
Ask HN: I just wrote an O(N) diffing algorithm – what am I missing?
7 by keithwhor | 5 comments on Hacker News.
Hey folks, I've been building a rendering engine for a code editor the past couple of days. Rendering huge chunks of highlighted syntax can get laggy. It's not worth switching to React at this stage, so I wanted to just write a quick diff algorithm that would selectively update only changed lines. I found this article: https://ift.tt/2lIuVkG With a link to this paper, the initial Git diff implementation: https://ift.tt/1GF9uI8 I couldn't find the PDF to start with, but read "edit graph" and immediately thought — why don't I just use a hashtable to store lines from LEFT_TEXT and references to where they are, then iterate over RIGHT_TEXT and return matches one by one, also making sure that I keep track of the last match to prevent jumbling? The algorithm I produced is only a few lines and seems accurate. It's O(N) time complexity, whereas the paper above gives a best case of O(ND) where D is minimum edit distance. function lineDiff (left, right) { left = left.split('\n'); right = right.split('\n'); let lookup = {}; // Store line numbers from LEFT in a lookup table left.forEach(function (line, i) { lookup[line] = lookup[line] || []; lookup[line].push(i); }); // Last line we matched var minLine = -1; return right.map(function (line) { lookup[line] = lookup[line] || []; var lineNumber = -1; if (lookup[line].length) { lineNumber = lookup[line].shift(); // Make sure we're looking ahead if (lineNumber > minLine) { minLine = lineNumber; } else { lineNumber = -1 } } return { value: line, from: lineNumber }; }); } RunKit link: https://ift.tt/2MTFXmv What am I missing? I can't find other references to doing diffing like this. Everything just links back to that one paper.
7 by keithwhor | 5 comments on Hacker News.
Hey folks, I've been building a rendering engine for a code editor the past couple of days. Rendering huge chunks of highlighted syntax can get laggy. It's not worth switching to React at this stage, so I wanted to just write a quick diff algorithm that would selectively update only changed lines. I found this article: https://ift.tt/2lIuVkG With a link to this paper, the initial Git diff implementation: https://ift.tt/1GF9uI8 I couldn't find the PDF to start with, but read "edit graph" and immediately thought — why don't I just use a hashtable to store lines from LEFT_TEXT and references to where they are, then iterate over RIGHT_TEXT and return matches one by one, also making sure that I keep track of the last match to prevent jumbling? The algorithm I produced is only a few lines and seems accurate. It's O(N) time complexity, whereas the paper above gives a best case of O(ND) where D is minimum edit distance. function lineDiff (left, right) { left = left.split('\n'); right = right.split('\n'); let lookup = {}; // Store line numbers from LEFT in a lookup table left.forEach(function (line, i) { lookup[line] = lookup[line] || []; lookup[line].push(i); }); // Last line we matched var minLine = -1; return right.map(function (line) { lookup[line] = lookup[line] || []; var lineNumber = -1; if (lookup[line].length) { lineNumber = lookup[line].shift(); // Make sure we're looking ahead if (lineNumber > minLine) { minLine = lineNumber; } else { lineNumber = -1 } } return { value: line, from: lineNumber }; }); } RunKit link: https://ift.tt/2MTFXmv What am I missing? I can't find other references to doing diffing like this. Everything just links back to that one paper.
Subscribe to:
Posts (Atom)
Florida School Restricts Access to Amanda Gorman’s Inauguration Poem
By BY AMANDA HOLPUCH from NYT U.S. https://ift.tt/fIlhCeE
-
By EMILY COCHRANE and ALAN BLINDER from NYT U.S. https://ift.tt/2RdeOe0
-
Robinhood Is Set to Raise at Least $200 Million in New Funding 139 by jason_zig | 150 comments on Hacker News.