ruby

RubyMotion versus Swift for iOS Development

As I worked on the IBM Watson and Apple Core ML partnership, I was inspired to explore more ways to showcase machine learning for developers in different ways. One of my ideas was to look into using RubyMotion with IBM Watson. If you’re not familiar, RubyMotion lets developers quickly write cross-platform native apps for iOS, […]

The post RubyMotion versus Swift for iOS Development first appeared on Tom Markiewicz.




ruby

How to use Weather Company Data and Netatmo with Ruby

While weather insights are critical to many businesses, local weather data on a more personal and practical level can be important as well. Since I recently moved to an area with some pretty extreme weather, I find myself monitoring and measuring the local conditions much more than I used to. And with wind gusts that […]

The post How to use Weather Company Data and Netatmo with Ruby first appeared on Tom Markiewicz.




ruby

Ruby slippers from 'The Wizard of Oz' are for sale nearly 2 decades after they were stolen

A pair of ruby slippers worn by Judy Garland in “The Wizard of Oz” is on the auction block nearly two decades after a thief stole the iconic shoes, convinced they were adorned with real jewels.




ruby

King K Launches New Product 'King K Rush' in Ruby Flavor

Learn about this highly potent energy shot & where to buy.




ruby

Some Thoughts after a Major Ruby on Rails Upgrade

For the past few weeks, I've been upgrading an older, fairly large Ruby on Rails app from Rails 5.2 to Rails 7.1 and from Ruby 2.7 to Ruby 3.3. During this time, I have also made the switch from Webpacker to Vite for asset bundling and made various JS and CSS upgrades to go along with that change. Here are a few takeaways from the experience.

Upgrade Regularly #

First, I know I am probably preaching to the choir with this one, but just upgrading your tech as you go and whenever you can is great. It prevents you from being in the position that I was in–having to make such a big jump all in one go. It also makes sure you keep getting security upgrades, and more security is never a bad thing. If you are up for it, you can even automate the process like GitHub does for their Rails upgrades or by using something like Dependabot for notifying you on when to upgrade dependencies.

Commit Often #

This is good advice for any project, but I think it is specifically good when working through issues that arise from upgrading. Whenever I have done a larger upgrade, there’s always at least one tricky issue that takes time to diagnose. This leads to me experimenting and trying a few different things before I figure out the actual fix. Committing often allows me to reset back away from these false paths whenever I decide to go down a new one. But I could also commit these false paths if I'm stuck, store them away in a separate branch, and come back to them later if I feel like an approach is worth a second look.

Leave Code Comments #

If you have a particularly confusing piece of code where its purpose or function is unclear, leave a comment. This is another piece of advice that is relevant at any time, but I found those comments to be extra helpful during this latest round of upgrades. There were several instances of code that had not been touched in years (and never touched by me) causing errors after upgrading the underlying tech. Some of these were well commented, which made it much easier to understand their purpose and decide how to fix them—or even whether to keep them. On the flip side, there were some pieces of code that were not well documented, which made fixing the errors much harder.

Avoid Fancy Code #

As somewhat of an alternative to the code comments, you can also just avoid fancier code. Try seeing if any code that is fairly complex can be simplified into something a bit easier to understand. Also, you want to avoid calling any private APIs that might change out from under you during your upgrade process which can lead to all sorts of weird bugs and behavior. I'm not saying do this completely in place of relevant comments, but simplifying where you can will somewhat cut back the need for them.

Be Selective with Dependencies #

When upgrading a massive Rails app and the Javascript associated with said app, you are often going to have to upgrade some of your dependencies as well. The more of these you have to upgrade, the higher chance you have of breaking something, so it is important to be selective when choosing these dependencies. During these upgrades, I ran into several issues caused by a dependency that really was not doing much for us in the grand scheme of things, but was causing more than its fair share of issues. If you want to read more about how to go about choosing dependencies, feel free to reference my colleague Sol's article on the subject.

The End #

I don't think these insights are particularly original or profound, but hopefully they give you something to think about as you make major upgrades on your own app or as you think ahead to future upgrades.



  • Code
  • Front-end Engineering
  • Back-end Engineering
  • Tooling

ruby

Episode 13: Ruby in Practice

Ruby has been getting more and more attention by the developer community over the last couple of years. Nevertheless Ruby as language and as a plattform is not too widespread. Most developers don't know people who have actually done commercial Ruby projects. Therefore it is sometimes hard to judge if Ruby is just a hype topic or if Ruby can be used for serious projects today. In this episode Alexander speaks with Thomas Quas about a commercial Ruby project Thomas finished a while ago. Thomas shares his insights and practical experiences with Ruby doing a project under strong time pressure. As Thomas has many years experience doing Java projects we also do some high level comparisons between both platforms.




ruby

Episode 52: DSL Development in Ruby

In this episode, we're talking to Obie Fernandez about agile DSL development in Ruby. We started our discussion by defining what a DSL is, the difference between internal and external DSLs as well as the importance of the flexibly syntax of the host language in order to make DSLs worthwhile. We then looked at a couple of real world examples for DSLs, specifically, at Business Natural Languages. We then progressed to the main part of the discussions, which centered around the features of Ruby that are important for building DSLs. These include the flexible handling of parentheses, symbols, blocks as well as literal arrays and hashes. We then discussed Ruby's meta programming feautures and how they are important for building DSLs: instantiation, method_missing callback, class macros, top level functions and sandboxing. Features like eval, class_eval, instance_eval and define_method are also important for DSLs in Ruby, as well as using alias_method for simple AOP.




ruby

Episode 372: Aaron Patterson on the Ruby Runtime

Aaron Patterson of GitHub discusses the Ruby language and its runtime.  Host Jeremy Jung spoke with Aaron about the Ruby language and how it works.  They discuss the language virtual machine, concurrency, garbage collection, and JIT compilation.




ruby

#359: Hadoop, JRuby, Grails, and Python Creators Talk Tech Trends

Recorded live on Tuesday October 23, 2018 at Oracle Code One in San Francisco, this very special program brings together Doug Cutting (Chief Architect, Cloudera), Charles Nutter (Co-Lead, JRuby), Graeme Rocher (Project Lead, Grails Open Source Project), and Guido van Rossum (Creator, Python Language) to share their insight and expertise on the trends and technologies that have had the greatest impact on IT and software development over the past year, and will continue to shape the future.

View the complete show notes.




ruby

At 30 years old, is Ruby in a mid-life crisis or a renaissance?


Ruby’s creator, Yukihiro Matsumoto (Matz), released the first public version of the programming language in December 1995, making Ruby just shy of its 30th birthday. It spread across Japanese-language Usenet newsgroups, a popular way of exchanging conversation and media before the World Wide Web, and then reached broader communities throughout the late 1990s. This was thanks to Ruby’s friendly community and, in no small part, thanks to Matz. (The community has a motto, “Matz is nice, and so we are nice.”) At this year’s annual European Ruby Konferenze — EuRoKu — in Sarajevo, Matz said he created Ruby because he…

This story continues at The Next Web



  • Startups and technology
  • Future of work

ruby

"El 52% de páramos están en Colombia”: Ruby Pérez sobre Expedición Páramo




ruby

Lucille Bridges, Mother of Activist Ruby Bridges, Dies at 86

Lucille Bridges, the mother of civil rights activist Ruby Bridges, who walked with her then-6-year-old daughter past crowds screaming racist slurs as she became the first Black student at her all-white New Orleans elementary school, has died at the age of 86.




ruby

TV Actor Amit Tandon Admits He Cheated On His Wife Ruby: "I Let My Impulses Get The Better Of Me"

Amit said, "In that moment, I let parts of my past carry forward"




ruby

Ruby slippers from The Wizard of Oz are for sale nearly 2 decades after they were stolen

A pair of ruby slippers worn by Judy Garland in The Wizard of Oz are on the auction block nearly two decades after a thief stole the iconic shoes, convinced they were adorned with real jewels.




ruby

Linck & Mülhahn [Electronic book] / Ruby Thomas.

London : Faber & Faber (Plays), 2023.




ruby

CCI approves acquisition of STT GDC by Ruby Asia and Singtel

This approval comes with certain voluntary commitments that the parties must adhere to




ruby

Autocomplete Interview - Ruby Rose Answers the Web's Most Searched Questions

Ruby Rose answers the internet's most searched questions about herself. What is Ruby Rose's real name? What does Ruby eat? On what season did she start "Orange is the New Black"? Does she do her own stunts? Ruby answers all these questions and much more! THE DOORMAN starring Ruby Rose is available on demand now!




ruby

Anatomy of a cruise: how the Ruby Princess came to dock and disembark with coronavirus

The inquiry into the management of the ship’s arrival in Sydney in March has revealed a detailed timeline of who knew what and when

A special commission of inquiry has held five days of hearings into the Ruby Princess cruise ship, which has so far has been linked to 21 deaths and almost 700 cases of Covid-19 across Australia.

The inquiry, overseen by Bret Walker SC, had two days of hearings on 22 and 23 April, and then three days of hearings this week.

Continue reading...




ruby

Tinder catfish scam saw 16 women show up to the same Sydney live gig to meet 'Ruby' 

Ruby, 27, told her Tinder matches she would meet them for a single date at Cafe Lounge for a live music gig at 7pm on Wednesday June 5.




ruby

Ruby Hall nurses return to work

(This story originally appeared in PuneMirror on May 10, 2020)





ruby

Star Ruby - Eternal Gemstone

Star Rubies are magnificent gems display a sharp six-rayed star which seems to glide and shimmer magically across the surface of the gem when the latter is moved.




ruby

Ruby Fire and Game Reserve Fire now Managed as the Ruby Complex

Forest and park managers have agreed it is beneficial to manage both fires under one organization. On Saturday, June 13, the Ruby and Game Reserve fires became the Ruby Complex. https://www.nps.gov/grca/learn/news/news-2009-06-15-fires.htm




ruby

The Ruby Fire and Game Reserve Fire Now Managed as the Ruby Complex

The two fires forming the Ruby Complex have grown to 3,396 acres. https://www.nps.gov/grca/learn/news/the-ruby-fire-and-game-reserve-fire-now-managed-as-the-ruby-complex.htm




ruby

Ruby Complex Update

One organization is managing the complex in a cooperative effort between the Grand Canyon National Park and the Kaibab National Forest. https://www.nps.gov/grca/learn/news/ruby-complex-update.htm




ruby

Sisters Amber and Ruby Moss-Birch win National titles

Golden Ring ABC wrote another chapter in their storied history as they had two sisters competing in the Nationals Finals for the first time – and came away with two famous victories.




ruby

Movie Review: Ruby Sparks

A twisted romantic fantasy from a beginner writer get s a "must try harder" from this reviewer.




ruby

Ruby Sparks

This is a beautifully conceived and wildly playful movie based on a thin but lovely premise and acted out by so many fine young actors that its whole is so much greater than the sum of its parts.



  • ABC Local
  • hobart
  • Arts and Entertainment:Film (Movies):Drama
  • Arts and Entertainment:Film (Movies):Fantasy
  • Arts and Entertainment:Film (Movies):Romance
  • Arts and Entertainment:Film (Movies):Comedy (Film)
  • Australia:TAS:Hobart 7000

ruby

'It was quicker getting off the Ruby Princess than getting out of Aldi', passengers say

As the Special Commission of Inquiry into the Ruby Princess continues, a Sunshine Coast couple describe their final day aboard.



  • Epidemics and Pandemics
  • COVID-19
  • Health
  • Travel and Tourism
  • Travel Health and Safety

ruby

NSW Health official makes tearful apology at inquiry over Ruby Princess failures

A NSW Health official breaks down in tears while apologising for the government department's failures in dealing with the Ruby Princess coronavirus outbreak, an inquiry hears.




ruby

Ruby Princess crew partied after passengers disembarked in Sydney, staff reveal

Scores of crew members on the Ruby Princess celebrated with a party on the day it docked in Sydney unaware of the public health disaster that was about to happen.



  • COVID-19
  • Diseases and Disorders
  • Health
  • Travel Health and Safety
  • Travel and Tourism

ruby

NSW authorities respond to Aspen Medical clinicians working on both the Ruby Princess and Newmarch House

NSW Premier Gladys Berejiklian and Dr Kerry Chant provided an updated on coronavirus for May 6. NSW has confirmed nine new cases of COVID-19 overnight.




ruby

'Out of line': PM takes aim at Ruby Princess inquiry that left health worker in tears

Prime Minister Scott Morrison says the questioning of a NSW Health worker who broke down in tears at the Ruby Princess inquiry was "out of line" and she was only doing her best.




ruby

Ruby Princess pensioner who almost died from COVID-19 vows to sail again

Jim Hamilton from Lake Macquarie was a passenger aboard the Ruby Princess, now the subject of a special commission of inquiry led by Brett Walker SC. A NSW Health epidemiologist Kelly-Anne Ressler agreed it was unsatisfactory that more people on the ship were tested for influenza than for COVID-19.



  • Epidemics and Pandemics

ruby

Ruby Princess passenger survives coronavirus, vows to keep cruising

Jim Hamilton, 68, a passenger on Ruby Princess, says a stint in intensive care with COVID-19 has left him musing about "the meaning of life and everything".




ruby

Kelly-Ann Ressler's teary evidence at Ruby Princess inquiry

Epidemiologist Kelly-Anne Ressler Ressler says her colleagues at NSW Health "were working very hard" and that if they could have their time over to deal with the Ruby Princess's arrival again "it would be very different" during evidence at the special commission of inquiry on May 6, 2020.



  • Epidemics and Pandemics

ruby

Tasmanian coronavirus tally hits 28, with more infected after Ruby Princess cruise

Tasmania records six new cases of coronavirus, with four of those infected being passengers who returned to the state after disembarking the Ruby Princess cruise ship.




ruby

No new coronavirus cases for Tasmania, as both of state's deaths linked to Ruby Princess

No new cases are identified on the day Tasmania records its second coronavirus death, an elderly man in southern Tasmania who was a passenger on the Ruby Princess cruise ship.




ruby

If the Ruby Princess had never docked the COVID-19 pandemic would have looked like this

The Ruby Princess leaves Australian waters today over a month after docking in Sydney. About one in 10 cases of coronavirus in Australia is linked to the cruise ship.



  • Health
  • Disease Outbreak
  • Diseases and Disorders
  • Infectious Diseases (Other)
  • Government and Politics
  • States and Territories

ruby

No new cases of coronavirus for Tasmania, as north-west cluster blamed on Ruby Princess

Australia's Chief Medical Officer says a coronavirus cluster in Tasmania's north-west was likely sparked by a passenger from the Ruby Princess cruise ship, as the state marks 24 hours without a new case being found.




ruby

Hospital cluster probe finds staff worked while sick, Ruby Princess source of outbreak

An investigation into a coronavirus cluster in north-west Tasmania finds some staff worked in local hospitals for several days while experiencing symptoms, but the Premier stresses no-one is to blame.






ruby

Health officials set to board Ruby Princess after docking in Manila

The International Transport Workers Federation says contacts on the ship told them there are six people in isolation on board due to COVID-19.




ruby

Ruby Princess inquiry boss not fazed by PM's barb about 'aggressive' questioning

Sydney silk Bret Walker SC, who is leading the special commission of inquiry into the Ruby Princess, says he did not take Scott Morrison's criticisms of his "aggressive" questioning of a teary witness as an attempt to interfere with the probe's independence.





ruby

Ruby Walsh believes racing can work behind closed doors

Ruby Walsh believes enforcing social distancing should not prove too much of an issue when racing eventually resumes.




ruby

White tears brown scars / Ruby Hamad.

Entitlement attitudes.




ruby

RubyOnRails XSS Vulnerability Claims Twitter, Basecamp And My Confidence




ruby

Khu dân cư Golden Ruby

Khu dân cư Golden Ruby là dự án đất nền nằm tại khu trung tâm của các khu công nghiệp lớn tại Trảng Bom, Đồng Nai.