All Articles

Ruby on Rails: allow parameters to have “.” (dot)

By default, dot in rails router is used to separate the format from the rest of the url. To allow dot in a parameter, override the constraint. The below example allows any character except slash:

get "/:user/contributions" => 'users#contributions', :constraints => { :user => /[^\/]+/ }

Ruby on Rails naming conventions

Ruby on Rails, often referred to as Rails, follows a set of naming conventions to maintain consistency and readability in code. I generally like RoR conventions and follow them. Here's a summary of some key naming conventions in Ruby on Rails:

Class Names: Class names in Rails are typically in CamelCase (also known as PascalCase), starting with an uppercase letter. For example, User, ProductCategory, or OrderDetail.

Some notes on naming conventions

Singular or plural?

This can be a much larger conversation, really. In the Ruby on Rails (RoR) framework, what is plural and what is singular is very specific.

I'd like to additionally note, that since I apply Occam's Razor to everything, and simplify everything, then generally speaking my names are singular, because plularily can be removed. This helps me easier find names in the future.

A good-looking CSS-only chip

.chipW { background: #ddd; padding: 50px; } .chip { display: inline; border-radius: 1em 0 0 1em; margin-right: 32px; padding: 0.2em 0.2em 0.2em 0.6em; height: 32px; background: white; position: relative; } .chip::before { content: ""; display: block; position: absolute; right: -16px; top: 0; width: 16px; height: 32px; border-top: 17px solid white; border-right: 12px solid transparent; } .chip::after { content: ""; display: block; position: absolute; right: -16px; bottom: 0; width: 16px; height: 32px; border-bottom: 17px solid white;

Navigating the Gauntlet: Hardships of Acquiring Technical Talent for Software Development Startups

 

The Talent Shortage Predicament

One of the most glaring hardships that software development startups face is the acute shortage of technical talent. The rapid pace of technological advancements has created a substantial gap between the demand for skilled engineers and the available workforce. This gap is particularly felt by startups, as they often find themselves competing against tech giants and well-established companies for the limited pool of qualified candidates.

How to use scss (sass) with Drupal

In this article, I'm doing to talk about how I enabled my Drupal theme to have scss.

I'm on a mac, so these instructions are specifically for mac os x.

Drupal is a php framework. Sass is (somewhat surprisingly) a ruby program. While I am a ruby expert, I believe javascript is much closer to css than ruby is, so I'm expecting the scss compiler to be written in node.

In fact, this task has little to do with Drupal or PHP. We will be spending most of the time in a node environment.

Teaser Text

How to use scss (sass) with Drupal

Sturfee Build Pipeline

Overview

Wasya Co consulted for Sturfee in 2016.

Sturfee is an engineering-heavy small startup team developing products in AI space. As data scientists and scientists, the team was is knowledgable about AI and ML, however they lack experience in software development, and knowledge of best practices. Sturfee reached out to me to setup process for building their software, managing environments, codebases and versions, and implement an agile development cycle.

Hiring & HR

  • Maybe labor will be free?
  • Advertise on WasyaCo: work here for free! 
    • Or, volunteer at Wasya Co

Otherwise:

Revenue & Profitability

To qualify this business plan, I should already have some revenue! So, ask a few people to pay up .51c : )