राशिफल 01 नवंबर: आज इन 6 राशिवालों मिल सकती है कामयाबी, इन्हें रहना होगा सावधान
ग्रहों की रोज बदलती चाल के कारण ही हमारा रोज का दिन भी अलग होता है. कभी हमें सफलता मिलती है तो कभी दिन सामान्य गुजरता है.
from Zee News Hindi: India News https://ift.tt/36m9P2H
via Blogger https://ift.tt/2qURWaS
November 01, 2019 at 07:41AM
Thursday, October 31, 2019
7-Year-Old Girl Is Shot in Chicago While Trick-or-Treating, Police Say
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
via Blogger https://ift.tt/2N2RK24
November 01, 2019 at 07:39AM

By BY AIMEE ORTIZ AND MIHIR ZAVERI from NYT U.S. https://ift.tt/2WxlqYn
via Blogger https://ift.tt/2N2RK24
November 01, 2019 at 07:39AM
The Value of Working Expeditiously
The Value of Working Expeditiously

By BY DEB AMLEN from NYT Crosswords & Games https://ift.tt/3357PKb
via Blogger https://ift.tt/335OZma
November 01, 2019 at 07:39AM

By BY DEB AMLEN from NYT Crosswords & Games https://ift.tt/3357PKb
via Blogger https://ift.tt/335OZma
November 01, 2019 at 07:39AM
#IndiaKaDNA: राम मंदिर, राष्ट्रवाद और कश्मीर पर देखें दिग्गजों का नजरिया
बदलते राजनीतिक परिदृश्य में इन विषयों पर ZEE NEWS के #IndiakaDNA कांक्लेव में सियासी धुरंधर अपने नजरिए को रखेंगे.
from Zee News Hindi: India News https://ift.tt/339hkYM
from Zee News Hindi: India News https://ift.tt/339hkYM
महाराष्ट्र: शिवसेना-BJP के सियासी घमासान के बीच यह है कांग्रेस-एनसीपी की रणनीति
कांग्रेस-राष्ट्रवादी कांग्रेस पार्टी (एनसीपी) गठबंधन शिवसेना से समर्थन के मुद्दे पर अभी अपने पत्ते नहीं खोल रहा है.
from Zee News Hindi: India News https://ift.tt/2ozEQ22
from Zee News Hindi: India News https://ift.tt/2ozEQ22
Connecticut Home Invasion Convict Is Undergoing Gender Transition in Prison

By BY NEIL VIGDOR from NYT U.S. https://ift.tt/33fe4vb
राशिफल 01 नवंबर: आज इन 6 राशिवालों मिल सकती है कामयाबी, इन्हें रहना होगा सावधान
ग्रहों की रोज बदलती चाल के कारण ही हमारा रोज का दिन भी अलग होता है. कभी हमें सफलता मिलती है तो कभी दिन सामान्य गुजरता है.
from Zee News Hindi: India News https://ift.tt/36m9P2H
from Zee News Hindi: India News https://ift.tt/36m9P2H
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
B'day Special: केवल 9 छक्के हैं VVS के नाम, इस रिकॉर्ड से की उन्होंने इसकी भरपाई
VVS Laxman: वीवीएस को 2001 में कोलकाता टेस्ट में खेली गई 281 रन की पारी के लिए याद किया जाता है, लेकिन उन्हें यह पारी उनके करियर की बेस्ट पारी नहीं लगती
from Zee News Hindi: Sports News https://ift.tt/335X9Lp
from Zee News Hindi: Sports News https://ift.tt/335X9Lp
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
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/334GF5X
November 01, 2019 at 05:54AM

By BY JULIE TURKEWITZ from NYT U.S. https://ift.tt/34hJr8d
via Blogger https://ift.tt/334GF5X
November 01, 2019 at 05:54AM
New Threats Put Wildfire Fighters’ Health on the Line

By BY JULIE TURKEWITZ from NYT U.S. https://ift.tt/34hJr8d
Wednesday, October 30, 2019
Ford and U.A.W. in Tentative Contract Deal

By BY THE NEW YORK TIMES from NYT Business https://ift.tt/3269PAJ
क्रिकेट में आज: चेतन की विश्व कप हैट्रिक और गावस्कर की खास पारी का गवाह यह मैच
आज ही के दिन विश्व कप में न्यूजीलैंड के खिलाफ खेलते हुए चेतन शर्मा और सुनील गावस्कर ने इस मैच को अपने लिए ऐतिहासिक बना दिया था
from Zee News Hindi: Sports News https://ift.tt/2JEcB9U
from Zee News Hindi: Sports News https://ift.tt/2JEcB9U
The Clintons and Justice Ginsburg on Judicial Nominations, Then and Now

By BY ADAM LIPTAK from NYT U.S. https://ift.tt/36m3vZ6
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/36j2Ebx
October 31, 2019 at 05:51AM
Which Planet Is Closest?
3 by vl | 0 comments on Hacker News.
via Blogger https://ift.tt/36j2Ebx
October 31, 2019 at 05:51AM
New top story on Hacker News: Show HN: A minimal Fortran TCP client and server
New top story on Hacker News: Show HN: A minimal Fortran TCP client and server
Show HN: A minimal Fortran TCP client and server
5 by milancurcic | 0 comments on Hacker News.
via Blogger https://ift.tt/2WCKnBL
October 31, 2019 at 05:41AM
Show HN: A minimal Fortran TCP client and server
5 by milancurcic | 0 comments on Hacker News.
via Blogger https://ift.tt/2WCKnBL
October 31, 2019 at 05:41AM
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/36kGMMT
October 31, 2019 at 05:39AM

By BY JESS MCHUGH from NYT Smarter Living https://ift.tt/31WLbCt
via Blogger https://ift.tt/36kGMMT
October 31, 2019 at 05:39AM
Georgia Plans to Purge 300,000 Names From Its Voter Rolls
Georgia Plans to Purge 300,000 Names From Its Voter Rolls

By BY NICHOLAS CASEY from NYT U.S. https://ift.tt/2WrdJ5X
via Blogger https://ift.tt/2BW1mFr
October 31, 2019 at 05:39AM

By BY NICHOLAS CASEY from NYT U.S. https://ift.tt/2WrdJ5X
via Blogger https://ift.tt/2BW1mFr
October 31, 2019 at 05:39AM
Stick to Sports? No Way. Deadspin Journalists Quit en Masse.
Stick to Sports? No Way. Deadspin Journalists Quit en Masse.

By BY MARC TRACY from NYT Business https://ift.tt/31YbsQz
via Blogger https://ift.tt/2JCQnoz
October 31, 2019 at 05:39AM

By BY MARC TRACY from NYT Business https://ift.tt/31YbsQz
via Blogger https://ift.tt/2JCQnoz
October 31, 2019 at 05:39AM
Hundreds of U.S. Troops Leaving, and Also Arriving in, Syria
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
via Blogger https://ift.tt/2N26huQ
October 31, 2019 at 05:39AM

By BY ERIC SCHMITT AND HELENE COOPER from NYT World https://ift.tt/331hmlz
via Blogger https://ift.tt/2N26huQ
October 31, 2019 at 05:39AM
Iraq Prime Minister Pressed to Quit as Protests Clog Streets
Iraq Prime Minister Pressed to Quit as Protests Clog Streets

By BY ALISSA J. RUBIN from NYT World https://ift.tt/2pqzoyQ
via Blogger https://ift.tt/34qHsPh
October 31, 2019 at 05:39AM

By BY ALISSA J. RUBIN from NYT World https://ift.tt/2pqzoyQ
via Blogger https://ift.tt/34qHsPh
October 31, 2019 at 05:39AM
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
Tuesday, October 29, 2019
राशिफल 30 अक्टूबर: इन 7 राशिवालों का आज मिल सकती है बड़ी सफलता
ज्योतिष विज्ञान के अनुसार कौन सा ग्रह और नक्षत्र आपकी कुंडली के कौन से घर में जा रहा है, इसके मुताबिक आपका जीवन प्रभावित होता है.
from Zee News Hindi: India News https://ift.tt/2otNPSt
from Zee News Hindi: India News https://ift.tt/2otNPSt
B'day Special: बेमिसाल पेसर जिसने खेल भावना के लिए छोड़ दिया था विश्व कप में बड़ा मौका
Windies Cricketer: कोर्टनी वॉल्श के नाम कई बेहतरीन रिकॉर्ड हैं, लेकिन उन्हें उस खेल भावना के लिए ज्यादा याद किया जाता है जिसकी वजह से 1987 विश्व कप में एक अहम मैच जीतने का मौका छोड़ दिया था.
from Zee News Hindi: Sports News https://ift.tt/2Nqeacq
from Zee News Hindi: Sports News https://ift.tt/2Nqeacq
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
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/34njiFl
October 30, 2019 at 05:44AM

By BY MARIEL PADILLA from NYT U.S. https://ift.tt/369Aa3Q
via Blogger https://ift.tt/34njiFl
October 30, 2019 at 05:44AM
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/2q4Anoi
October 30, 2019 at 05:44AM

By BY ALAN YUHAS from NYT World https://ift.tt/2BRnK2I
via Blogger https://ift.tt/2q4Anoi
October 30, 2019 at 05:44AM
House Passes Resolution Recognizing Armenian Genocide
House Passes Resolution Recognizing Armenian Genocide

By BY CATIE EDMONDSON AND RICK GLADSTONE from NYT U.S. https://ift.tt/2Nq4qPo
via Blogger https://ift.tt/2BSuopg
October 30, 2019 at 05:44AM

By BY CATIE EDMONDSON AND RICK GLADSTONE from NYT U.S. https://ift.tt/2Nq4qPo
via Blogger https://ift.tt/2BSuopg
October 30, 2019 at 05:44AM
Despair for Many and Silver Linings for Some in California Wildfires
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
via Blogger https://ift.tt/2N0ZOAt
October 30, 2019 at 05:44AM

By BY THOMAS FULLER, JULIE TURKEWITZ AND JOSE A. DEL REAL from NYT U.S. https://ift.tt/32WbkCw
via Blogger https://ift.tt/2N0ZOAt
October 30, 2019 at 05:44AM
Can the Nationals and Astros Turn This World Series Into a Classic?
Can the Nationals and Astros Turn This World Series Into a Classic?

By BY TYLER KEPNER from NYT Sports https://ift.tt/2NnCk7r
via Blogger https://ift.tt/2otDPbT
October 30, 2019 at 05:44AM

By BY TYLER KEPNER from NYT Sports https://ift.tt/2NnCk7r
via Blogger https://ift.tt/2otDPbT
October 30, 2019 at 05:44AM
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
Monday, October 28, 2019
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.
Cookbook Authors Discuss Jewish Cuisine

By BY FLORENCE FABRICANT from NYT Food https://ift.tt/32Wiy9D
The Baltic States Get Their Culinary Due

By BY FLORENCE FABRICANT from NYT Food https://ift.tt/2NjKJsH
New top story on Hacker News: Ancestral home of modern humans is in Botswana, study finds
New top story on Hacker News: Ancestral home of modern humans is in Botswana, study finds
Ancestral home of modern humans is in Botswana, study finds
8 by jajag | 0 comments on Hacker News.
via Blogger https://ift.tt/32WzDQK
October 29, 2019 at 05:56AM
Ancestral home of modern humans is in Botswana, study finds
8 by jajag | 0 comments on Hacker News.
via Blogger https://ift.tt/32WzDQK
October 29, 2019 at 05:56AM
2 Photos of Tense White House Moments: Note the Differences
2 Photos of Tense White House Moments: Note the Differences

By BY ANNIE KARNI from NYT U.S. https://ift.tt/34aLqes
via Blogger https://ift.tt/2p9Jzbb
October 29, 2019 at 05:51AM

By BY ANNIE KARNI from NYT U.S. https://ift.tt/34aLqes
via Blogger https://ift.tt/2p9Jzbb
October 29, 2019 at 05:51AM
A Chocolate Bar With a Golden Blockchain Token
A Chocolate Bar With a Golden Blockchain Token

By BY FLORENCE FABRICANT from NYT Food https://ift.tt/31WXWg6
via Blogger https://ift.tt/36bt4fe
October 29, 2019 at 05:51AM

By BY FLORENCE FABRICANT from NYT Food https://ift.tt/31WXWg6
via Blogger https://ift.tt/36bt4fe
October 29, 2019 at 05:51AM
In Praise of ‘Human Scum’
In Praise of ‘Human Scum’

By BY MICHELLE GOLDBERG from NYT Opinion https://ift.tt/32WnaMS
via Blogger https://ift.tt/2Jv9NvL
October 29, 2019 at 05:51AM

By BY MICHELLE GOLDBERG from NYT Opinion https://ift.tt/32WnaMS
via Blogger https://ift.tt/2Jv9NvL
October 29, 2019 at 05:51AM
Sotheby’s Has a Wine Label of Its Own
Sotheby’s Has a Wine Label of Its Own

By BY FLORENCE FABRICANT from NYT Food https://ift.tt/2Jvazsn
via Blogger https://ift.tt/2WlUDhm
October 29, 2019 at 05:51AM

By BY FLORENCE FABRICANT from NYT Food https://ift.tt/2Jvazsn
via Blogger https://ift.tt/2WlUDhm
October 29, 2019 at 05:51AM
No, the Nationals Are Not Cursed by an Early Plan to Celebrate
No, the Nationals Are Not Cursed by an Early Plan to Celebrate

By BY JAMES WAGNER from NYT Sports https://ift.tt/2NoxSVW
via Blogger https://ift.tt/342fsBc
October 29, 2019 at 05:51AM

By BY JAMES WAGNER from NYT Sports https://ift.tt/2NoxSVW
via Blogger https://ift.tt/342fsBc
October 29, 2019 at 05:51AM
Iraqi Antigovernment Protests Grow, Part Battle Lines and Carnival
Iraqi Antigovernment Protests Grow, Part Battle Lines and Carnival

By BY ALISSA J. RUBIN from NYT World https://ift.tt/34aQBLC
via Blogger https://ift.tt/349lxM3
October 29, 2019 at 05:51AM

By BY ALISSA J. RUBIN from NYT World https://ift.tt/34aQBLC
via Blogger https://ift.tt/349lxM3
October 29, 2019 at 05:51AM
With California Ablaze, Firefighters Strain to Keep Up
With California Ablaze, Firefighters Strain to Keep Up

By BY TIM ARANGO, THOMAS FULLER, JOSE A. DEL REAL AND JACK HEALY from NYT U.S. https://ift.tt/2Nil2IQ
via Blogger https://ift.tt/2qSSWwj
October 29, 2019 at 05:51AM

By BY TIM ARANGO, THOMAS FULLER, JOSE A. DEL REAL AND JACK HEALY from NYT U.S. https://ift.tt/2Nil2IQ
via Blogger https://ift.tt/2qSSWwj
October 29, 2019 at 05:51AM
Subscribe to:
Posts (Atom)
Ancient Temples Have Long Been a Flashpoint Between Cambodia and Thailand
By Pranav Baskar from NYT World https://ift.tt/VbmB1k4

-
TaxyAI: Open-source browser automation with GPT-4 27 by kcorbitt | 5 comments on Hacker News.
-
Lisp as the Maxwell’s Equations of Software (2012) 9 by newswasboring | 1 comments on Hacker News.
-
New top story on Hacker News: Small Projects, Big Companies Small Projects, Big Companies 5 by marceee0901 | 0 comments on Hacker News. ...