by

Russian mercenaries are fighting in Libya, UN diplomats say

Mercenaries from the Wagner Group, a Russian paramilitary organization seen as being close to Vladimir Putin, are fighting in Libya, UN diplomats said Wednesday, citing an experts' report on the country's arms embargo.





by

Paris by Night: FRANCE 24 meets night wanderers amid Covid-19 lockdown

France’s lockdown measures are among the strictest in Europe as the country bids to stamp out the Covid-19 pandemic. Paris is usually known for its night wanderers but the last few weeks has seen its lively and vibrant atmosphere replaced by calm and silence. However, not all Parisians are respecting lockdown measures and FRANCE 24 went out to meet them. Some are simply wandering the streets. Others are out and about because the streets are what they call home.




by

Dozens killed by blast in Syrian town of Afrin, Turkey says

At least 40 civilians were killed, including 11 children, when a bomb detonated in the northern Syrian town of Afrin on Tuesday, the Turkish Defence Ministry said, blaming the attack on the Syrian Kurdish YPG militia.




by

A graph that is made by perceiving it

The contrast sensitivity function shows how our sensitivity to contrasts is affected by spatial frequency. You can test it using gratings of alternating light and darker shade. Ian Goodfellow has this neat observation: By looking at this image, you can see how sensitive your own eyes are to contrast at different frequencies (taller apparent peaks=more … Continue reading "A graph that is made by perceiving it"




by

baby bjorn

Today on Toothpaste For Dinner: baby bjorn




by

byoe

Today on Toothpaste For Dinner: byoe








by

Oppressed By These Energies

Car Seat Headrest “Hollywood” “Hollywood” is blunt and bratty in a way Car Seat Headrest haven’t been before, it’s like Sum 41/Blink-182 energy filtered through Will Toledo’s usual dry deadpan tone and indie rock aesthetics. The song is a duet with drummer Andrew Katz, who delivers his parts with a borderline obnoxious punk shout that […]




by

Radio Free Burrito Presents: The Tree of Life by CL Moore

Today, I recorded a story from Weird Tales, first published in 1936. I loved it. It’s supernatural in a way that reminded me of Hyperion, with just enough science fiction […]




by

Radio Free Burrito Presents: Satellite of Fear by Fred A Kummer Jr.

Last night, during dinner, my son did the math and figured out we’ve been staying home together for seven weeks. That’s a long time, but it also feels like we […]




by

Radio Free Burrito Presents: A Modest Proposal by Jonathan Swift

A Modest Proposal is brilliant, biting, hilarious satire, that is as horrifyingly relevant in 2020 as it was in 1729. This reads like one of those brilliant editorials from The […]




by

By request, an HP Lovecraft short story.

Since I started Radio Free Burrito Presents several weeks ago, lots of you have asked me if I would narrate something by HP Lovecraft. I love the Cthulhu mythos, but […]




by

The Good Girl Is Back, Baby

Cosmoooo




by

Goodbye, Friend

Hssss




by

Dark Shelby

woof




by

Do you believe you were infected by coronavirus at a big event in March?

We’d like to hear from those who attended events between the end of February and early March such as Wolves v Espanyol and Cheltenham Festival

We’d like you to help us document the spread of coronavirus due to some of the mega-events that went ahead between the end of February and the first couple of weeks in March.

Those events include: Wolves v Espanyol Europa League game, Liverpool v Atletico Madrid Champions League tie, Six Nations cup games and the Cheltenham Festival.

Continue reading...




by

Poem of the month: Primavera by Robin Robertson

for Cait

The Brimstone is back
in the woken hills of Vallombrosa,
passing the word
from speedwell to violet
wood anemone to celandine.
I could walk to you now
with Spring just ahead of me,
north over flat ground
at two miles an hour,
the sap moving with me,
under the rising
grass of the field
like a dragged magnet,
the lights of the flowers
coming on in waves
as I walked with the budburst
and the flushing of trees.
If I started now,
I could bring you the Spring
for your birthday.

Continue reading...




by

Cyclist, 16, critically injured after being hit by two cars in south London

Teenager remains in hospital as two men are arrested after collision on Streatham High Road

A 16-year-old cyclist is in a life-threatening condition after being hit by two cars in south London.

The boy was critically injured in the collision in Streatham High Road shortly before 11.20pm on Friday.

Continue reading...




by

Lockdown has made us see the natural world anew – let's not waste it | Gaby Hinsliff

The pandemic is giving us a lesson in life, hope and death. It’s one we should never forget

Back in the days when we all still hurried oblivious through crowded city streets, the names chalked on the pavement must have been easily missed. But now a long-running campaign by rebel botanists across Europe to highlight overlooked nature in the city, scribbling names and plant details alongside a pretty weed growing through a wall or a tree spreading overhead, has unexpectedly found its niche.

Going for a walk is the only real freedom many have had for weeks, and with no particular place to go but out, there is finally time to notice nature creeping through the cracks: the birdsong no longer drowned out by traffic; the daffodils in front gardens giving way to frothy peonies; a fat supermoon hanging heavy on the night horizon.

Continue reading...




by

Excited Elephants Run To Greet New Rescued Baby Elephant

This video is from 2017 but it just makes us feel so warm and happy that we had to let it surface once more! 

The video is only a bit over a minute but filled with a lot of emotions, excitement, and love, that you can just feel. 

Elephants are truly remarkable animals, so intelligent and gentle, you can just tell they have a big heart. 




by

People Photoshop "Zoom Calls" Screenshots Of Cats Stunned By Other Cats In Steamy Position

In days when face-to-face interaction is so 2019 and millions of people all over the world are zooming in with other people, it is only natural that the people on the internet will find a way to get the cats involved too. 

So, they created a fake screenshot of a zoom call by taking a pic of a cat in a steamy position, put it in a video call frame, and adding a photo of another cat shocked by it. 

And the result? Simply brilliant. And hilarious. 






by

By the Grace of the Gods Anime Reveals Additional Staff





by

Huge volcanic eruption in 2018 was triggered by torrential rains

The eruption of Hawaii’s Kilauea volcano in 2018 was caused by heavy rains – suggesting that extreme weather from climate change could lead to more eruptions




by

Robots with 3D-printed muscles are powered by the spines of rats

Robots made of 3D-printed muscle and rat spines could help us understand conditions like motor neurone disease and the technique may eventually be used to build prosthetic devices




by

UK sets new target to recruit 18,000 contact tracers by mid-May

The UK government has set a new target of recruiting an army of 18,000 coronavirus contact tracers by the middle of May, to be in place for the launch of the NHS contact tracing app




by

Massive Spinosaurus dinosaur swam through water propelled by its tail

A well-preserved fossilised tail from Spinosaurus suggests this massive dinosaur may have been able to propel itself and hunt for prey in the water




by

Tiger survival threatened by mass road-building in precious habitats

Over half the world’s wild tigers now live 5 kilometres from a road, and infrastructure projects planned in Asia could fragment their habitat further




by

BCG vaccine helps fight infections by boosting immune cell production

The BCG tuberculosis vaccine boosts the production of immune cells and this may explain how it protects newborns from dying of sepsis




by

A large chunk of Mercury may have been blown away by the sun

Mercury is much denser than the other rocky planets in the solar system, and that may be because a collision vaporised its surface and the debris was blown away by the sun




by

Michelle Malkin still has a fanbase? And it’s enhanced by including Milo?

Milo Yawannapissoff and Michelle Malkin have been collaborating, and the results are even more awful than you can probably imagine. They decided to work together to create an “America First” reading list for their followers. Just from their choice of subject you can tell it’s going to be a collection of racists’ greatest hits. Milo […]




by

Hobby




by

Friday Polynews Roundup — Kids of polyfamilies, more TV, by 2030 "a growing market for ‘polymoons’" after multi-weddings, and more



  • children of polyamory
  • Friday Polynews Roundup
  • kids
  • Poly 101

by

Sen. Joe Manchin forgot to mute a call with Senate Democrats while he went through an Arby's drive-through

Contrary to popular belief, people do order fish sandwiches at Arby's.Senate Democrats recently learned one of their own is among that rare crowd when Sen. Joe Manchin (D-W.V.) forgot to hit mute when driving through an Arby's drive-through last month. Manchin pulled up to the fast food spot in his home state, asked for a King’s Hawaiian Fish Deluxe sandwich, and later learned his mistake after staffers texted him, he tells The Wall Street Journal."It's a big piece of fish and it has a big slice of cheese," Manchin described to the Journal. "They were just jealous they weren't getting the good sandwich." Manchin himself may be jealous that unlike West Virginia Gov. Jim Justice, he doesn't have a sandwich named after him at his local Arby's.Manchin is far from the only lawmaker who's been "busted," as he put it, for forgetting to hit mute. Rep. Jamie Raskin (D-Md.) says his children have repeatedly walked by and told him to "tell [House] Speaker [Nancy] Pelosi to say now is the time to start forgiving student loans." Several described overhearing "colleagues exercising on ellipticals, doing sit-ups, dealing with children, or taking other phone calls," they tell the Journal. And many of them have admittedly skipped showers on days they know they don't have to be on camera. Read more about congressmembers' at-home habits at The Wall Street Journal.More stories from theweek.com The full-spectrum failure of the Trump revolution Unemployment is a catastrophe — but it could still be worse Trump reportedly got 'lava level mad' over potential exposure to coronavirus





by

Woman heartbroken by Smithfield Foods' response to grandfather's death from coronavirus

“I want you to know he died in the hospital alone, isolated, and scared,” she wrote in an Instagram message to Smithfield Foods.





by

Indian migrant deaths: 16 sleeping workers run over by train

The workers fell asleep on the tracks while trying to make their way home during India's lockdown.





by

Man hit by plane, killed on Austin-Bergstrom airport runway, officials say

A person died Thursday night after being hit by a plane as it was landing at Austin-Bergstrom International Airport, according to airport officials.





by

A 1996 court declaration written by Tara Reade's ex-husband shows she spoke of harassment in Biden's Senate office

"It was obvious that this event had a very traumatic effect on (Reade), and that she is still sensitive and effected (sic) by it today," Dronen wrote.





by

Boris Johnson, Carrie Symonds, and a baby in a very exclusive club

Baby Johnson joins Leo Blair and Florence Cameron to become a member of a very exclusive club.




by

Labour Party: Jennie Formby's departure will help Keir Starmer

Labour's General Secretary Jennie Formby standing down is a sign the party is under new management.




by

Labour Party: Jennie Formby to stand down as general secretary

The former Unite official says it is the "right time" to move on with the party under new leadership.




by

The FBI said I was my parents' stolen baby - but I found the truth

Foundling Paul Fronczak was given to a family whose baby had been stolen - but was he really their son?




by

Quiz of the Week: What's in a (baby) name for Elon Musk?

How closely have you been paying attention to what's been going on during the past seven days?




by

Coronavirus by Air: The spread of Covid-19 in the Middle East

An investigation by BBC News Arabic has found how one Iranian airline contributed to the spread of coronavirus around the Middle East.




by

It's time to upgrade those Ruby 2.4 apps

#497 — April 16, 2020

Read on the Web

Ruby Weekly

Bye Bye Ruby 2.4, Support Has Ended — From the end of April 2019 till now, Ruby 2.4 has been in its ‘security maintenance’ phase but now you won’t even get that, Ruby 2.4.10 should be the final 2.4 release. 2.5 will follow in 2.4’s footsteps next year, so upgrading to 2.6 or 2.7 should now be a priority for those older apps.

Ruby Core Team

Testing Ruby Decorators with super_method — Have you ever wondered how you can properly test the behavior of a method overridden by Module#prepend? Enter super_method which returns a Method object of which superclass method would be called when super is used or nil if none exists.

Simone Bravo

You Hacked the Gibson? Yeah, They Built Their Own Login — Don't let Crash Override pwn your app. FusionAuth adds secure login, registration and user management to your app in minutes not months. Download our community edition for free.

FusionAuth sponsor

Heya: A Sequence Mailer for Rails — “Think of it like ActionMailer, but for timed email sequences.” Note: It’s open source but not free for commercial use beyond a certain point.

Honeybadger Industries LLC

A Final Report on Ruby Concurrency Developments — A report on work funded by a 2019 Ruby Association Grant that puts forth a proposal of using non-blocking fibers to improve Ruby’s concurrency story.

Samuel Williams

Mocking in Ruby with Minitest — Minitest has basic mocking functionality baked in, but be judicious in your use of it.

Heidar Bernhardsson

???? Jobs

Ruby Backend Developer (Austria) — We’re seeking mid-level and senior devs to join us and build top-class backend infrastructure for our adidas apps, used by millions. Our stack includes: jRuby, Sinatra, Sidekiq, MySQL, & MongoDB.

Runtastic

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

Vettery

▶️ Get ready for your next role: Pluralsight is free for the entire month of April. Stay Home. Skill Up. #FreeApril — SPONSORED

???? Articles & Tutorials

Predicting the Future With Linear Regression in Ruby — Linear regression is a mathematical approach to modelling a relationship between multiple variables and is demonstrated here by exploring whether the tempo of a song predicts its popularity on Spotify.

Julie Kent

Feature Flags: A Simple Way to 'De-Stress' Production Releases — Feature flags bridge a gap between the abstract concept of continuous delivery and tactical release of features.

Matt Swanson

A Guide to Deprecation Warnings in Rails — If you’ve upgraded Rails and you start seeing warnings screaming at you, you can either get Googling or.. read this ????

Luciano Becerra

What's the Difference Between Monitoring Webhooks and Background Jobs

AppSignal sponsor

Understanding webpacker.yml — Have you ever really gone through the Webpack config?

Ross Kaffenberger

Using Optimizer Hints in Rails — Rails 6 removes the need to write raw SQL to use optimizer hints, so that’s cool.

Prateek Choudhary

Dissecting Rails Migrations — You should pick up something new about migrations by reading this article as it covers all of the essentials and a little more.

Prathamesh Sonpatki

The Basics of Custom Exception Handling — Never hurts to revise the basics of effective exceptions.

Mark Michon

How to Improve Code Readability with Closures

Andrey Koleshko

???? Code and Tools

ruby-prolog: A Pure Ruby Prolog-like DSL for Logical Programming — Solve complex logic problems on the fly using a dynamic, Prolog-like DSL inline with your normal code.

Preston Lee

Anyway Config: Keep Your Ruby Configuration Sensible — Get your Ruby project out of ‘ENV Hell’ with anyway_config, a framework for managing configuration.

Vladimir Dementyev

The End of Heroku Alerts — Rails Autoscale keeps your app healthy. Simple and effective autoscaling for Web, Sidekiq, Delayed Job, and Que.

Rails Autoscale sponsor

Tomo 1.0: A Friendly CLI for Deploying Rails Apps — There’s a short tutorial for deploying Rails, and the documentation is thorough.

Matt Brictson

ActiveLdap 6.0: An Object Oriented Interface to LDAP — A very long standing project (16 years!) that has just had an update. LDAP stands for Lightweight Directory Access Protocol and while I don’t hear about it much anymore, it has plenty of established use cases.

Sutou Kouhei

Elasticsearch Integrations for ActiveModel/Record and Rails

Elastic

RubyMine 2020.1 Released

Natalie Kudanova




by

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.