Pasar al contenido principal

All Articles

An analysis of why Ruby on Rails is the best web-development framework

Image Thumb

Ruby on Rails, often simply called Rails, is a web application framework written in Ruby. It was created by David Heinemeier Hansson and released in 2004. Rails is designed to make programming web applications easier by making assumptions about what every developer needs to get started. It allows developers to write less code while accomplishing more than many other languages and frameworks.

Un análisis de por qué Ruby on Rails es el mejor framework de desarrollo web

Image Thumb

Ruby on Rails, a menudo llamado simplemente Rails, es un marco de aplicación web escrito en Ruby. Fue creado por David Heinemeier Hansson y lanzado en 2004. Rails está diseñado para facilitar la programación de aplicaciones web al hacer suposiciones sobre lo que cada desarrollador necesita para comenzar. Permite a los desarrolladores escribir menos código y lograr más que muchos otros lenguajes y marcos.

Uma análise de por que Ruby on Rails é o melhor framework de desenvolvimento web

Image Thumb

Ruby on Rails, muitas vezes chamado simplesmente de Rails, é uma estrutura de aplicação web escrita em Ruby. Foi criado por David Heinemeier Hansson e lançado em 2004. Rails foi projetado para facilitar a programação de aplicações web, fazendo suposições sobre o que todo desenvolvedor precisa para começar. Ele permite que os desenvolvedores escrevam menos código e realizem mais do que muitas outras linguagens e estruturas.

My Docker, docker-compose & jenkins setup for working on wordpress themes and plugins

First published on 2022-12-02

Hello all! In this article, I outline my local docker setup for developing wordpress plugins and themes. I use docker to run local mysql (multiple versions) and php (multiple versions) as well as manage the wordpress installed plugins. Furthermore, I use the same setup for deploying to production, so it is particularly useful.

The majority of configuration resides in Dockerfile and docker-compose.yml, however, I also have a few scripts and naming formalisms that facilitate development and rational thinking.

20240613 AI Sculpture

https://s3.amazonaws.com/ish-micros-2024/photos/thumb2/65e4fa3e689a512ef8badfc5/cc62cf08-140d-4b05-8e09-f0ea6be95b59.jpeg?1709505085
Image Thumb

UIUX pages for a financial client

Image Thumb

Although we will not be using these screens, they have been made for a client in order to move a prototyping project forward. 

202406 Site Updates (June 2024)

Image Thumb
  • Wordpress has been decoupled from the Drupal website. See also: a summary of how we made sure to preserve all urls and links during the migration. 
  • Bugfixes and minor stylistic changes
  • Added section StacksScrollerv0.0.0

20240612 AI Sculpture

https://s3.amazonaws.com/ish-micros-2024/photos/thumb2/65e4fa3b689a512ef8badfc4/anza__vladikavkaz_zeus_greek_gods_caf6a8a8-77c0-432a-9e25-a47601ffdde1.png?1709505082
Image Thumb

Hosts File Not Working on Mac? Try This Fix

I've recently had to re-do this. This has happened too often for me, and it's just very annoying in general. There are many problems (and offered solutions) around /etc/hosts file, for chrome only as well as for the os x generally. I've noticed that the /etc/hosts file works just fine for curl, but does not work for chrome. This led me to believe that the problem was a chrome setting, but upon fixing it, I am less certain that Chrome is the culprit. My solution is below. Basically, the host file needs to be ASCII-compliant. I've had that file soft-linked and modified by a number of actors.

20240611 AI Sculpture

https://s3.amazonaws.com/ish-micros-2024/photos/thumb2/65e4fa38689a512ef8badfc3/angel-5.jpg?1709505080
Image Thumb

20240609 AI Sculpture

https://s3.amazonaws.com/ish-micros-2024/photos/thumb2/65e4fa32689a512ef8badfc0/6eefb023-f3f6-4176-9cdc-d25aaa2672ee.jpeg?1709505074
Image Thumb

20240608 AI Sculpture

https://s3.amazonaws.com/ish-micros-2024/photos/thumb2/65e4fa30689a512ef8badfbf/1d484f87-260f-4ab8-84ae-e5f5b3f9b066.jpeg?1709505072
Image Thumb

20240607 A bottle of Wasya Co

https://s3.amazonaws.com/ish-micros-2024/photos/thumb2/665a302e689a51ea76a60a9e/piousbox_write_Wasya_Co_on_a_glass_soda_bottle_white_seamless_s_5f101027-a577-4935-8ef5-6c413c41e518.png_1.jpg?1717186605
Image Thumb

20240606 A bottle of Wasya Co

https://s3.amazonaws.com/ish-micros-2024/photos/thumb2/665a302c689a51ea76a60a9d/piousbox_write_Wasya_Co_on_a_glass_soda_bottle_white_seamless_s_5f101027-a577-4935-8ef5-6c413c41e518.png_3.jpg?1717186603

20240605 A bottle of Wasya Co

https://s3.amazonaws.com/ish-micros-2024/photos/thumb2/665a3029689a51ea76a60a9c/piousbox_write_Wasya_Co_on_a_glass_soda_bottle_d35267f3-57ea-4f79-ba36-d1e34838923d.png_2.jpg?1717186600

How to manually execute a SQL query in Ruby on Rails

I run into this just now. The wrong way: 

results = ActiveRecord::Base.connection.execute("select * from users limit 10")

The right way: 

results = ActiveRecord::Base.connection.exec_query("select * from users limit 10") 

Somehow the formet executes the query without returning a result. If you want to actually see the results of SELECT'ing something, use the latter query. (Which also means that you probably want to use the former for INSERT'ing, though I have not verified.)

20240604 A bottle of Wasya Co

https://s3.amazonaws.com/ish-micros-2024/photos/thumb2/665a3027689a51ea76a60a9b/piousbox_write_Wasya_Co_on_a_glass_soda_bottle_white_seamless_s_6a3adea1-7e88-4341-ae9d-00f4d8570826.png_1.jpg?1717186598

20240603 A bottle of Wasya Co

https://s3.amazonaws.com/ish-micros-2024/photos/thumb2/665a3024689a51ea76a60a9a/piousbox_write_Wasya_Co_on_a_glass_soda_bottle_white_seamless_s_6a3adea1-7e88-4341-ae9d-00f4d8570826.png_0.jpg?1717186596

20240531 A bottle of Wasya Co

https://s3.amazonaws.com/ish-micros-2024/photos/thumb2/665a3022689a51ea76a60a99/piousbox_write_Wasya_Co_on_a_glass_soda_bottle_d35267f3-57ea-4f79-ba36-d1e34838923d.png_0.jpg?1717186593