Here Dragons Abound: Exploring procedural generation and display of fantasy maps
3 by _Microft | 0 comments on Hacker News.
Thursday, 31 October 2019
FOX BIZ NEWS: Social media "face" off round #2: Mark Zuckerberg vs Aaron Sorkin
Social media "face" off round #2: Mark Zuckerberg vs Aaron Sorkin

Sorkin wrote a scathing letter criticizing Facebook's policy regarding political ads.
via FOX BUSINESS NEWS https://ift.tt/2N6tR9P
FOX BIZ NEWS: Facebook’s Zuckerberg, Sandberg under fire in Washington and Menlo Park
Facebook’s Zuckerberg, Sandberg under fire in Washington and Menlo Park

Some shareholders are anxious over Zuckerberg and Sandberg's handling of politically sensitive issues
via FOX BUSINESS NEWS https://ift.tt/2JyCwjd
Wednesday, 30 October 2019
Fox News Breaking News Alert
Fox News Breaking News Alert
Washington Nationals top Houston Astros in Game 7 to claim World Series title
10/30/19 9:12 PM
Washington Nationals top Houston Astros in Game 7 to claim World Series title
10/30/19 9:12 PM
New top story on Hacker News: Ask HN: How do you organize and manage database migrations?
Ask HN: How do you organize and manage database migrations?
8 by anonfunction | 0 comments on Hacker News.
When building services that rely on relational databases, in my case postgres, what are some best practices and tools to help manage schema changes? We've been using migrations and doing it all manually but it's become a bottleneck and a little bit of a nightmare with multiple consumers of the database needing to make schema changes. Another concern is multiple environments, from local development to staging and production. We're using docker-compose for local development which runs the entire "full" schema and then I'm manually applying the migration files to staging and production before we deploy. I've looked at some projects like flywaydb[1] and liquibase[2] but both are not completely free and seem proprietary. Does anyone know of another open source system that could help manage database schema versioning and migrations? Thanks so much HN, this is something that I have been struggling with. 1: https://flywaydb.org/ 2: https://ift.tt/2o6cNlU
8 by anonfunction | 0 comments on Hacker News.
When building services that rely on relational databases, in my case postgres, what are some best practices and tools to help manage schema changes? We've been using migrations and doing it all manually but it's become a bottleneck and a little bit of a nightmare with multiple consumers of the database needing to make schema changes. Another concern is multiple environments, from local development to staging and production. We're using docker-compose for local development which runs the entire "full" schema and then I'm manually applying the migration files to staging and production before we deploy. I've looked at some projects like flywaydb[1] and liquibase[2] but both are not completely free and seem proprietary. Does anyone know of another open source system that could help manage database schema versioning and migrations? Thanks so much HN, this is something that I have been struggling with. 1: https://flywaydb.org/ 2: https://ift.tt/2o6cNlU
Fox News Breaking News Alert
Fox News Breaking News Alert
Washington Nationals top Houston Astros in Game 7 to claim World Series title
10/30/19 8:53 PM
Washington Nationals top Houston Astros in Game 7 to claim World Series title
10/30/19 8:53 PM
FOX BIZ NEWS: Ford, auto workers union reach tentative contract agreement
Ford, auto workers union reach tentative contract agreement
The United Auto Workers union says it has reached a tentative contract agreement with Ford after three days of intense bargaining.
via FOX BUSINESS NEWS https://ift.tt/2osRQGC
FOX BIZ NEWS: UN climate chief says exploring options for hosting climate talks after Chile withdraws
UN climate chief says exploring options for hosting climate talks after Chile withdraws

The United Nation’s climate chief said the secretariat is exploring a range of options for hosting this year’s round of climate talks in December after Chile withdrew from hosting.
via FOX BUSINESS NEWS https://ift.tt/2q2QO4P
Tuesday, 29 October 2019
New top story on Hacker News: Ask HN: Does anybody making good money from Google Adsense?
Ask HN: Does anybody making good money from Google Adsense?
2 by thescribbblr | 0 comments on Hacker News.
My earnings have dropped since last months. So, I would like to know if anybody is making a good earning from Google Adsense or the earnings have dropped like mine.
2 by thescribbblr | 0 comments on Hacker News.
My earnings have dropped since last months. So, I would like to know if anybody is making a good earning from Google Adsense or the earnings have dropped like mine.
FOX BIZ NEWS: Military wants more rules for turbines near nuclear missiles
Military wants more rules for turbines near nuclear missiles

Department of Defense and Air Force officials outlined their concerns in a letter before meeting Tuesday with North Dakota lawmakers and regulatory officials.
via FOX BUSINESS NEWS https://ift.tt/2qTkqSp
FOX BIZ NEWS: Facebook sues Israeli company over WhatsApp spyware
Facebook sues Israeli company over WhatsApp spyware

Facebook sued the Israeli hacker-for-hire company NSO Group on Tuesday in U.S. federal court for allegedly targeting some 1,400 users of its encrypted messaging service WhatsApp with highly sophisticated spyware.
via FOX BUSINESS NEWS https://ift.tt/2pf3be5
Monday, 28 October 2019
New top story on Hacker News: Ask HN: Random upper back pain is ruining my life. At wits end. Anyone else?
Ask HN: Random upper back pain is ruining my life. At wits end. Anyone else?
5 by anm89 | 3 comments on Hacker News.
I'm writing in total desperation. I feel like I can't make it through another day of meaningless, constant back pain. I've had it on and off for 7 years now, since I was 24 (now 31) It's this weird vibrating, tingling, burning, muscle sore combination that moves between the left side of my neck, under my shoulder blade, my left trap, and sort of out to the back of my ribs right below my shoulder blade. The pain moves around and sometimes I'll get a similar feeling on the other side of my body which makes it all the more confusing. I've been to doctor after doctor after doctor and I have absolute no more info then when I started. I'm on the verge of quitting my job because I feel like I can't go through another day tomorrow. The only thing I've ever correlated with more or less pain is how hydrated I am (ie less pain if more hydrated) and even that is pretty loose. Has anybody ever gone through anything like this? Has any body ever gotten over it or am I doomed to this for life?
5 by anm89 | 3 comments on Hacker News.
I'm writing in total desperation. I feel like I can't make it through another day of meaningless, constant back pain. I've had it on and off for 7 years now, since I was 24 (now 31) It's this weird vibrating, tingling, burning, muscle sore combination that moves between the left side of my neck, under my shoulder blade, my left trap, and sort of out to the back of my ribs right below my shoulder blade. The pain moves around and sometimes I'll get a similar feeling on the other side of my body which makes it all the more confusing. I've been to doctor after doctor after doctor and I have absolute no more info then when I started. I'm on the verge of quitting my job because I feel like I can't go through another day tomorrow. The only thing I've ever correlated with more or less pain is how hydrated I am (ie less pain if more hydrated) and even that is pretty loose. Has anybody ever gone through anything like this? Has any body ever gotten over it or am I doomed to this for life?
FOX BIZ NEWS: Donald Trump Jr.: 'Get USMCA off Nancy Pelosi's desk'
Donald Trump Jr.: 'Get USMCA off Nancy Pelosi's desk'

Donald Trump Jr. told FOX Business that his father wanting to work on infrastructure, as well as finish the delayed United States-Mexico-Canada Agreement (USMCA).
via FOX BUSINESS NEWS https://ift.tt/36dyre4
FOX BIZ NEWS: Facebook employees sign letter opposing political ads policy
Facebook employees sign letter opposing political ads policy

via FOX BUSINESS NEWS https://ift.tt/2Nh5uVM
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.
FOX BIZ NEWS: Richard Branson: Space travel costs will fall from $250,000 a pop
Richard Branson: Space travel costs will fall from $250,000 a pop

Sir Richard Branson compares space travel costs to crossing the Atlantic 100 years ago.
via FOX BUSINESS NEWS https://ift.tt/36hyk18
Sunday, 27 October 2019
New top story on Hacker News: Ask HN: What do you automate in your life and work?
Ask HN: What do you automate in your life and work?
2 by gcj | 0 comments on Hacker News.
Just curious about scripts and things you guys have automated
2 by gcj | 0 comments on Hacker News.
Just curious about scripts and things you guys have automated
New top story on Hacker News: Ask HN: What is the most beautiful piece of code you've ever read?
Ask HN: What is the most beautiful piece of code you've ever read?
6 by seisvelas | 1 comments on Hacker News.
Preferably an elegant snippet rather than an entire (well engineered) codebase.
6 by seisvelas | 1 comments on Hacker News.
Preferably an elegant snippet rather than an entire (well engineered) codebase.
Fox News Breaking News Alert
Fox News Breaking News Alert
Rep. Katie Hill resigns amid ethics probe into reported affair with staffer
10/27/19 4:10 PM
Rep. Katie Hill resigns amid ethics probe into reported affair with staffer
10/27/19 4:10 PM
Saturday, 26 October 2019
New top story on Hacker News: Ask HN: How B2B startups sell to corporates?
Ask HN: How B2B startups sell to corporates?
3 by ahmedaly | 1 comments on Hacker News.
Hi, I am founder of a chatbot startup... it's a b2b.. I am interested to know how to sell to corporate America? how does it work?
3 by ahmedaly | 1 comments on Hacker News.
Hi, I am founder of a chatbot startup... it's a b2b.. I am interested to know how to sell to corporate America? how does it work?
Friday, 25 October 2019
Microsoft Wins Pentagon’s $10 Billion JEDI Contract, Thwarting Amazon

By KATE CONGER, DAVID E. SANGER and SCOTT SHANE from NYT Technology https://ift.tt/365u8Bl
via IFTTT
FOX BIZ NEWS: How would regulating tech companies affect investors?
How would regulating tech companies affect investors?
Cloudflare CEO Matthew Prince, Dept. of Justice assistant attorney general, Antitrust Division Makan Delrahim and other tech professionals give their opinions on the tech regulation debate, the newest tech disruptors and more. Then, a 'Barron's' panel discusses the impact these issues have on investors.
via FOX BUSINESS NEWS https://ift.tt/2pf48Tw
FOX BIZ NEWS: ‘Facebook is the new cigarettes’: Salesforce’s Marc Benioff
‘Facebook is the new cigarettes’: Salesforce’s Marc Benioff
Salesforce founder and co-CEO Marc Benioff gives his take on Facebook, public trust, tech regulation and more.
via FOX BUSINESS NEWS https://ift.tt/2WbGKT0
FOX BIZ NEWS: Google CEO says company is 'struggling' with employee trust issues: Report
Google CEO says company is 'struggling' with employee trust issues: Report

Google CEO expresses concerns about employee trust.
via FOX BUSINESS NEWS https://ift.tt/2Wh2ywh
Subscribe to:
Posts (Atom)
How Awful Is the Republican Megabill? Here Are Four of the Worst Parts.
By Jacob S. Hacker and Patrick Sullivan from NYT Opinion https://ift.tt/p8qFrEX via IFTTT

-
Mux (YC W16) is hiring across the board to build the future of online video 1 by mmcclure | 0 comments on Hacker News.
-
Why didn’t auto-braking stop these crashes? 24 by heavyset_go | 6 comments on Hacker News.
-
20Y study finds little evidence religiosity leads to greater life satisfaction 10 by giuliomagnifico | 1 comments on Hacker News.