barr

The couple who coaxed 300 acres of barren farmland back into lush forest

After 25 years of buying land in India that farmers no longer wanted, the husband and wife now play host to elephants, monkeys and more; see a new video about their work here.




barr

Vancouver grocer uses embarrassing slogans to discourage plastic bag use

Unfortunately, people like the slogans a bit too much.




barr

Distributed Energy Generation Would Produce More Than Gigantic Tidal Barrage

The Severn Barrage could create 50,000 jobs and provide 5% of the UK's electricity needs. Critics say we can do better than that.




barr

Oil pipeline spills 20,600 barrels of crude in North Dakota wheat field

More than 20,000 barrels of crude oil spilled, but thankfully because of a 40 foot thick layer of clay beneath the field, the oil has been relatively contained and is not believed to have reached a water source.




barr

5 Great Rain Barrel Designs, Plus Top Tips for Using Them

Droughts and possible water rationing have been in the news recently in California, Israel, Mexico, and Australia. As much of the water used is these regions is for watering gardens and lawns




barr

West Coast Green 2010: Michelle Kaufmann Interviews Barry Hooper

Eco-architect extraordinaire Michelle Kaufmann interviews Barry Hooper from SFEnvironment about government policy for new and existing buildings in San Francisco in this TreeHugger exclusive from West Coast Green. Barry Hooper collaborates with design




barr

Let's turn barren farmland into nature reserves

A new study finds that degraded agricultural lands could be low-hanging fruit for expanding the world’s conservation areas.




barr

Woodzee launches USA-made line of sunglasses upcycled from whiskey barrels

Woodzee founder opens a factory in his own hometown, to make wooden sunglasses from recycled materials.




barr

Top-ranked Barron's advisor on investment strategies amid the coronavirus outbreak and market volatility

Greg Sarian, CEO of Sarian Strategic Partners and one of Barron's Top 100 Advisors, says investors should prepare for more volatility, and discusses some tax strategies to employ as stock prices are still lower.




barr

Billionaire Barry Diller says bail out everyone and 'worry about paying the bills later'

"The damage that is being done every day is enormous," Expedia and IAC Chairman Barry Diller told CNBC on Thursday.




barr

Barrick CEO says there's rising demand for gold as a 'self-funded insurance policy' in a global crisis

Barrick Gold CEO Mark Bristow joins Squawk Box after the company reports earnings, to speak about the spike in demand for gold during the coronavirus crisis.




barr

Barrick Gold CEO Mark Bristow on gold demand amid coronavirus pandemic

Mark Bristow, CEO of Barrick Gold, joins "Squawk Box" to discuss reopening the U.S. economy, demand for gold during the coronavirus pandemic and what the "new normal" may look like after the crisis ends.




barr

Language Barrier II.

My wife and I are almost finished with Rachel Cusk’s Outline (our latest bedtime reading), and we’ve just gotten to the passage Stan Carey quoted recently at Sentence first (a woman is describing her feelings about being hired to teach English in Athens): She wasn’t quite sure how the language barrier was going to work: […]




barr

Another professor embarrasses the professoriate

A university professor filed suit against his institution because it chastised him for inappropriate sexual behavior. He wasn’t fired, they just tut-tutted, put a black mark on his record, and told him not to do that anymore. He sued anyway, for his ego. During a class in 2013, a psychology professor at George Mason University […]




barr

An interview with Ruby ETL expert Thibaut Barrère

#499 — April 30, 2020

Read on the Web

???? Occasionally we run interviews in Ruby Weekly and we're back with another one.. with long time Rubyist and Kiba maintainer, Thibaut Barrère. Be sure to check out the bottom of this issue to read it, especially if you ever run ETL jobs with Ruby! ????

Ruby Weekly

▶  Let's Build a Twitter Clone in 10 Minutes with Rails, CableReady, and StimulusReflex — You know that cloning Twitter in 10 minutes is impossible, but what about the core mechanism of the idea? After a slow first minute, this video does a pretty good job of showing off some techniques you might not have used before.

Nate Hopkins

discuss.rubyonrails: The Rails Project Discussion Forum — Basically a Web version of the Rails mailing lists and a worthwhile place to head if you want to suggest features, ask questions, etc.

Ruby on Rails Discussions

Easy Rails Deployments — Deploy your Ruby, Rails, Sinatra, and Rack application to any cloud or server. Cloud 66 offers a scalable Heroku alternative that doesn't lock you in. Try it free and get extra $66 free credits with the code: 'Ruby-Weekly'.

Cloud 66 sponsor

sequel-activerecord-adapter: Allows Sequel to Reuse an ActiveRecord Connection — If you want to use more Sequel or migrate in that direction, this makes it easy.

Janko Marohnić

Ruby Adds Experimental Support for 'End-Less' Method Definitions — We’ve touched on this in a previous issue, but if you fancy a proper blog post with examples, this is more accessible than digging through feature tracker discussions. I’m not a fan of this syntax myself yet, but Prateek does a good job of selling it.

Prateek Choudhary

CableReady: Trigger Client-Side DOM Changes from Server-Side Ruby — If you skipped the video above because it’s a video (and I know many of you do ????) CableReady is still worth checking out. It aims to “complete the ActionCable story” by providing a way to directly interact with clients over ActionCable WebSockets. The docs will help you get the idea.

Hopsoft

???? Jobs

Find a Job Through Vettery — Vettery specializes in tech roles and is completely free for job seekers. Create a profile to get started.

Vettery

Security Engineer (Remote) — Are you an engineer with experience in Rails and/or Go? Join our team and help secure our apps and cloud infrastructure.

Shogun

ℹ️ Interested in running a job listing in Ruby Weekly? There's more info here.

???? Articles & Tutorials

A Practical Use for PStorePStore is one of the older parts of Ruby’s stdlib and lets you persist (and restore) a Ruby hash to disk. I haven’t seen it in Ruby code for years but Arkency have found a neat, modern use case.

Paweł Pacana

▶  Drag and Drop Sortable Lists with Rails and Stimulus JS — How to wire up drag and drop lists with a Rails app using Sortable, Stimulus and acts_as_list.

Go Rails

Setting Up Multi-Factor Authentication for RubyGems.org — If you’re a registered user of the official Ruby Gems repository, you should have had an email this week about securing your account using 2FA. This is just my own reminder that this is a good idea especially if you publicly publish widely used gems! :-)

Rubygems.org

Let’s Explore Big-O Notation With Ruby ???? — Learn to use Big-O to look at an algorithm and easily discern its efficiency, without having to run a profiling tool.

Honeybadger sponsor

▶  Discussing Docker and Kubernetes with Kelsey Hightower — A worthwhile show to listen to if Kubernetes and Docker intimidate you but you want to know a little more. Kelsey is good at breaking these things down into understandable pieces.

Rails with Jason Podcast podcast

Rails System Tests in Docker — We’re seeing an uptick in articles about system tests in Rails. Here’s how to integrate them into your development Docker setup.

Hint.io

The Difference Between System Specs and Feature Specs — If you’ve felt the difference between RSpec’s “feature specs” and “system specs” is quite subtle, this explanation will help.

Jason Swett

Why Rubyists Should Consider Learning Go — If you want compilation and a type system, Crystal is probably a better fit for Rubyists, but Go is undoubtedly a neat language and ecosystem (and if you do end up in the Go world, check out our Go weekly! ????)

Ayooluwa Isaiah

Building a Ruby CLI with Thor

Daniel Gómez

???? Code and Tools

git curate: Peruse and Delete git Branches Ergonomically — Got a repo cluttered with branches here and there? git curate aims to cure the pains of getting those branches back under control.

Matt Harvey

MessageBus: A Reliable and Robust Messaging Bus for Ruby and Rack

Sam Saffron

Are You Spending Too Much on Heroku?

Rails Autoscale sponsor

bootstrap_form: A Rails Form Builder for Bootstrap v4-Style Forms

Bootstrap Ruby

ActiveModelAttributes: The Active Record Attributes API, but for Active Model — Brings some of the goodies of the Rails 5 Active Record attributes API to ActiveModel too. 1.6.0 just dropped.

Karol Galanciak

???? A Q&A with…
Thibaut Barrère
Creator of Kiba ETL

Thibaut Barrère is a long-time Rubyist and data engineer who built and maintains the popular Extract, Transform, and Load (ETL) framework Kiba. We asked him some questions about his work:

What inspired you to create Kiba?

A lot of my work since ~2005 has been focused on data integration (making systems speak together), data aggregation etc. I sometimes used GUI-based tools like Microsoft SSIS which, while powerful, are quite far from the coding experience.

I was already using Ruby at that time, and was happy to discover activewarehouse-etl (maintained by Anthony Eden, who runs DNSimple now) providing a Ruby DSL to declare data pipelines. I used it for a while with very good success to implement data extractions and business intelligence ETL, and ultimately took over the maintenance.

In the long run, though (as I explained in a recent Paris.rb talk), the balance between the the cost of OSS maintenance and the usability for my billable and non-billable use-cases proved to be not good enough, which made me decide to stop the maintenance, sadly.

I still wanted to use Ruby to write data pipelines, but I needed to cover more use-cases and reduce the OSS maintenance burden at the same time. This ultimately led me to write and share (in 2015) Kiba ETL, a focused DSL for declarative processing, matching those criterias.

Do you find yourself adding more features while in quarantine?

Before the quarantine, I directed my Kiba bandwith and focus on finalizing Kiba v3 and rewriting the documentation from scratch, to properly encourage best practices I’ve been discovering. I also created experimental branches for Ruby 2.7/2.8 keywords.

During the quarantine, I've reduced client work and OSS work too, to focus on shipping Kiba Pro v2 (which I’ll announce shortly officially). I’ve extracted and generalized (from real-life projects) very useful components, such as a “batch SQL lookup” (useful when replacing relationships keys during data migrations and datawarehouses sync code, in batch rather than row by row), a “file lock” to ensure a single job runs at once, and a “parallel transform” to achieve easy concurrency for things like HTTP queries.

What's the wildest ETL that you've encountered?

Getting the data out of a system which is actively not acting in that direction is always a bit wild.. One can see all types of fancy stuff on the field. For instance, it is not uncommon to have an ETL process start a headless browser, jump through pages, just to get to the CSV/PDF/Excel file that you will then use as your data source!

You can also end up having to figure out ways to read or write very old file formats at times. Recently I wrote a Kiba component to generate a COBOL delimited file, for instance. In large companies, a very widely used I/O is good old SFTP, far away from modern APIs and formats.

Can you tell us how to say your last name? ????

I had to deploy a page to my blog to answer that question properly ????. You’ll find out how to say my name here.

Merci Thibaut!

You can read some of Thibaut's posts on his blog and find out more about Kiba ETL here.




barr

Farah Khan gets interviewed by her kids, says they're embarrassed by her answers

Filmmaker-producer Farah Khan has been spending a lot of time at home with her husband and three kids - Anya, Diva and Czar - thanks to the coronavirus lockdown. In a recent video that has gone viral on the internet, we can see Farah's kids interviewing her, and it's quite fun!

Farah shared the video on Instagram and wrote, "Tables have turned. My lovely kids are interviewing me! And looks like they are quite embarrassed by answers. Here's a snippet of our #BachFUNMoment and all our masti!"

 
 
 
View this post on Instagram

A post shared by Farah Khan Kunder (@farahkhankunder) onMay 4, 2020 at 6:34am PDT

Farah Khan's children ask her about things like if she likes rap songs, to which she says that she likes the song 'Rail Gadi, Rail Gadi'. They also ask her if she liked puppies when she was growing up, and what is the answer to 37 multiplied by 12.

Several of Farah's fans found the video very cute and funny. One Instagram user commented, "soo cute god bless u all" while another said, "Love you Farah... don't tell anyone but you're my favourite" and yet another Insta user wrote, "This is a wonderful way to keep your children entertained. Being a teacher, I know how hard it is to teach online and be with my own kids trying to help them understand school work but nothing beats making time with your own kids and just doing something out of the ordinary..."

Well, seems like Farah Khan sure has got her kids' attention!

Catch up on all the latest entertainment news and gossip here. Also, download the new mid-day Android and iOS apps.

Mid-Day is now on Telegram. Click here to join our channel (@middayinfomedialtd) and stay updated with the latest news




barr

India's additional barriers for FDI is discriminatory, says China

India's new norms featuring "additional barriers" for foreign direct investment from specific countries violate WTO's principle of non-discrimination and are against the general trend of free trade, a Chinese embassy spokesperson said on Monday.

The impact of the policy was clear on Chinese investors, the official said, adding India's action was also against the consensus arrived at the G20 to realise a free, fair and non-discriminatory environment for investment. Last week, India made prior clearance by the government mandatory for foreign investments from countries that share land border with India to curb "opportunistic takeovers" of domestic firms following the Coronavirus pandemic.

Chinese embassy spokesperson Ji Rong said China hoped that India would revise the "relevant discriminatory practices" and treat investments from different countries equally while fostering an "open, fair and equitable" business environment.

India's decision to tighten norms for FDI came amid reports of China eyeing to take over several Indian entities following fall in their valuation after the economic downturn in the wake of the pandemic.

"The additional barriers set by Indian side for investors from specific countries violate WTO's principle of non-discrimination, and go against the general trend of liberalisation and facilitation of trade and investment," the spokesperson said in a statement.

Catch up on all the latest Crime, National, International and Hatke news here. Also download the new mid-day Android and iOS apps to get latest updates.

Mid-Day is now on Telegram. Click here to join our channel (@middayinfomedialtd) and stay updated with the latest news

This story has been sourced from a third party syndicated feed, agencies. Mid-day accepts no responsibility or liability for its dependability, trustworthiness, reliability and data of the text. Mid-day management/mid-day.com reserves the sole right to alter, delete or remove (without notice) the content in its absolute discretion for any reason whatsoever




barr

Equity indices fall by 2.6 per cent as US oil prices dip below zero dollar a barre

Equity benchmark indices slipped by 2.7 per cent during early hours on Tuesday in line with Asian peers after US oil prices slipped below zero dollar a barrel in overnight trade.

US crude futures turned negative for the first time in history following a collapse in oil demand as the coronavirus pandemic derails the global economy.

At 10:15 am, the BSE S&P Sensex was down by 870 points or 2.75 per cent at 30,778 while the Nifty 50 edged lower by 248 points or 2.69 per cent at 9,013.

Except for Nifty pharma and FMCG, all sectoral indices at the National Stock Exchange were in the red with Nifty metal down by 5.2 per cent, auto by 5.1 per cent and private bank by 4.3 per cent.

Among stocks, index heavyweight Reliance Industries fell by 3.93 per cent to Rs 1,195.60 per share. Metal majors Hindalco dropped by 8.9 per cent at Rs 106.10 per share while Tata Steel lost by 7.1 per cent and Vedanta by 6.6 per cent.

Auto major Maruti skidded by 6.8 per cent to Rs 4,964.70 per share and Tata Motors by 5.2 per cent.

Private lenders IndusInd Bank, Axis Bank and ICICI Bank dipped by 6.7 per cent, 6.1 per cent and 5.8 per cent respectively.

However, those which gained were Dr Reddy, Cipla, Nestle India, Hindustan Lever and ITC.

Meanwhile, Asia shares were in the negative zone after an overnight tumble at Wall Street with US crude futures turned negative for the first time in history. However, it bounced back into positive territory this morning.

MSCI's broadest index of Asia Pacific shares outside Japan fell half a per cent. Japan's Nikkei fell by 2.26 per cent while Hong Kong's Hang Seng lost by 2.38 per cent and South Korea's Kospi slipped by 1.67 per cent.

Overnight stateside, the Dow Jones Industrial Average closed 592 points lower at 23,650, the S&P 500 slipped by 1.8 per cent to end its trading day at 2,823 and the Nasdaq Composite pulled back 1 per cent to close at 8,561.

Catch up on all the latest Crime, National, International and Hatke news here. Also download the new mid-day Android and iOS apps to get latest updates.

Mid-Day is now on Telegram. Click here to join our channel (@middayinfomedialtd) and stay updated with the latest news

This story has been sourced from a third party syndicated feed, agencies. Mid-day accepts no responsibility or liability for its dependability, trustworthiness, reliability and data of the text. Mid-day management/mid-day.com reserves the sole right to alter, delete or remove (without notice) the content in its absolute discretion for any reason whatsoever




barr

Natural Body Temperature Major Barrier in Potential Dengue, Zika Vaccine

To develop an effective vaccine against dengue and Zika viruses, it requires the E protein to spread across the entire surface of every viral particle.




barr

Seek Help and Break Barriers to Eating Disorders Recovery

Seeking help from health experts could be the best way to win over eating disorders, suggests a new study. A new study has found young people are leaving




barr

Poor Physical Health a Major Barrier for Job Seekers with Serious Mental Health Problems

Job seekers with serious mental health problems are more likely to perceive their physical health as a major barrier to employment, according to a Rutgers study.




barr

'Disabled Students Cannot be Barred From MBBS Exams' :Delhi HC

In an earlier decision, the Medical Council of India (MCI) barred nearly 80 percent of the disabled students from appearing in MBBS exams. However, a




barr

Shahid-Kareena Kapoor's Reel vs Real Lip-locks: The Former Couple's Passionate and Embarrassing Kissing Moments Caught on Camera

Shahid Kapoor and Kareena Kapoor were once the hottest love birds of Bollywood, but something went wrong in their relationship, leading them to part ways. However, before breaking-up, they had hit more headlines than any other couple in B-town. Notably, over their on-screen and off-screen kisses!




barr

New OECD Tool Can Help US Services Exporters Break Down Barriers, Support Jobs at Home

The United States can further improve productivity in its economy by prioritizing reforms that enhance openness, diversity and competition in services markets, particularly where higher trade restrictions are observed.




barr

Overcoming barriers to international investment in clean energy, Investment Insights - June 2015

Protectionism and local content requirements are holding back investment in clean energy and thus undermining the fight against climate change. This Investment Insights puts forward policy options for mobilising investment in clean energy and restoring order and confidence in international markets.




barr

Implicit regulatory barriers in the EU Single Market: new empirical evidence from gravity models

Beyond usual determinants of trade such as GDP, distance, contiguity, free trade areas and language, this analysis mainly focuses on the role of product market regulation stringency and heterogeneity, and on the role of employment protection.




barr

Inefficient insolvency regimes: a barrier to creative destruction?

A key recent OECD work, the "Future of Productivity" implies that inefficient firms increasingly linger as opposed to exit the market, despite their inability to adopt new technologies.




barr

Lowering barriers to entrepreneurship and promoting small business growth in South Africa

Lowering high levels of unemployment and inequality are amongst the largest challenges facing South Africa.




barr

New shipping fuel rules push specialised oil towards $100 a barrel

Regulations are dripping with good intentions but come at a cost




barr

Papua New Guinea threatens to seize Barrick’s Porgera gold mine

Prime minister escalates dispute over Canada-listed group’s licence




barr

Barrick Gold buys 800,000 antibody test kits

Chief executive Mark Bristow says miner has taken lessons on tackling coronavirus from experience of Ebola outbreak




barr

Aviva pension clients barred from cashing in property assets

Provider cites coronavirus market turmoil for uncertainty over valuations




barr

Dropping Flynn case turns Barr into Trump’s political sword

Pardoning cronies is offensive but precedented. Using DoJ to go after enemies is Nixonian




barr

Australian corporates keen on JVs in China, but barriers remain - 21 Sep

A new PwC survey has found that 70 per cent of major Australian companies are planning to enter new joint ventures or strategic alliances to drive growth from the Chinese market.




barr

Downton Abbey movie EXCL: Thomas Barrow fumes as he is DEMOTED for returning Carson

In an exclusive first look at the film Thomas struggles to hide his fury as he asked to step aside, and snaps that he 'won't be a sort of anything.'




barr

PDO chief Barry Hearn believes Fallon Sherrock's success has got people talking about darts again

Fallon Sherrock became the first woman to win a World Championship match when she beat Ted Evetts last month, and Barry And Hearn believes it has put darts back on the global map.




barr

Iggy Azalea suffers embarrassing fall while shopping at Sephora

Iggy Azalea has spoken out about an embarrassing moment she'll never forget.  The Fancy hit-maker recalled she once tripped and fell while shopping at beauty store, Sephora.




barr

Iggy Azalea reveals she's 'embarrassed' after finding out mum Tanya is stockpiling toilet paper 

Iggy Azalea has revealed that her mother Tanya Kelly is one of the many Australians stockpiling toilet paper ahead of fears of a coronavirus outbreak.




barr

Martin Braithwaite pokes fun at embarrassing Barcelona unveiling

Barcelona forward Martin Braithwaite has addressed his embarrassing attempt at keepie uppies during his unveiling at Camp Nou with a new video from isolation.




barr

EastEnders' Barry Evans stars in bizarre new music video lamenting drug use 

The Barry Evans star, 54, performs in the new track called Braindead (Heroin Kills) by Italian DJ Piero Pirupa, which laments and shows the downfall of drug use.




barr

Ryan Lochte: ANOTHER embarrassing blunder predicting Auburn will win LSU-Texas football game

ESPN's 'College GameDay' host Chris Fowler asked the swimmer who he thought would win today's game between the LSU and Texas A&M. And Lochte chose Auburn, who weren't even playing.




barr

Al Roker source of 'embarrassment' among Today staff after his Ryan Lochte rant

Page Six claims that Roker's on-air rant about Ryan Lochte and the false story he told on the show about being robbed at gunpoint left some people involved with the show 'embarassed.'




barr

Ryan Lochte protesters on Dancing With The Stars say he 'embarrassed Americans' in Rio

Sam Sododeh, 59, and Barzeen Soroudi, 25, were arrested and charged with trespassing after they stormed the stage in protest against Lochte during the show's season premiere on Monday.




barr

White House claims Scotland not part of UK in embarrassing gaffe

The White House published a tweet claiming Scotland is not part of the UK. In a now deleted post, the US President’s official residence said Donald Trump was 'departing the U.K.’.




barr

SIR CLIVE WOODWARD: The Mako Vunipola mess is just embarrassing.

SIR CLIVE WOODWARD: Mako Vunipola's unavailability for the rest of the Six Nations leaves me shaking my head at what goes on in the England camp sometimes.




barr

Great Britain Lions end nightmare comeback tour with embarrassing defeat to Papua New Guinea

Great Britain's underwhelming tour of the southern hemisphere came to a humiliating end when they were condemned to a 28-10 defeat by Papua New Guinea.




barr

Bayern Munich 'confident of securing deal for Celtic prospect Barry Hepburn' 

Bayern Munich are reportedly confident of signing Celtic attacker Barry Hepburn this summer. As reported by The Sun, the German club are eager to finalise a deal.




barr

Missy Elliott looks regal in Dolce & Gabbana coat as she talks breaking barriers for women of color

The 48-year-old rapper and record producer looked regal in a patterned Dolce & Gabbana coat for her August 2019 cover shoot for Marie Claire .




barr

Billie Eilish was 'embarrassed to win so much' after five wins at the Grammy Awards

As Billie Eilish and brother Finneas O'Connell, swept all four major categories at the Grammy Awards, the Bad Guy performer started to get embarrassed hearing her name over and over again.




barr

Sonny Bill Williams to face winner of the Code War brawl between Paul Gallen and Barry Hall

Former AFL star Hall, 42, will take on NRL great Gallen, 38, in Melbourne's Margaret Court Arena. Former All Blacks star Williams, 34, will be watching closely.