RSS · Thoughts, Articles, Memories, and Events
All ·
Articles ·
Journals ·
Minimals ·
Challenges ·
Tutorials ·
WTF-is ·
Books ·
Travels
· Tags
Use eager loading to reduce unnecessary queries with with().
Leverage query scopes to keep your models clean and reusable.
Use firstOrCreate() to simplify conditional record creation.
Use updateOrCreate() to efficiently update or insert records.
Take advantage of pluck() to get single col... Read all
22 June 2019
Guitarist.
I’m not sure if it’s biologically possible for someone to be completely unable to see these kinds of images, but if for any reason you can’t, someone like you, who also happens to be a programmer, has created a tool that extracts the hidden 3D image. It’s not perfect, but it’s ... Read all
29 May 2018
Ubuntu 18.04, codenamed Bionic Beaver, was released on April 26, and after testing it for a few days, I’m fully convinced it could be my next stable operating system. However, pure Ubuntu on its own isn’t immediately practical, so a few essential tools and specific configurations for Iranian users a... Read all
03 May 2018
After the rise of smartphones with large screens and Apple’s Retina MacBooks, placing icons, small symbols used to clarify functions in web design, faced serious challenges. Images used with a 1:1 ratio appeared either blurry or with unwanted artifacts.
There were two solutions to this problem: S... Read all
24 April 2018
My friend emailed me:
Hello Araz,
I follow you on Twitter and wanted to ask for some advice. I’d really appreciate your guidance. I want to have a source of income in Turkey and, given my interests, I chose web design. I don’t want to become fully professional; just knowing coding enough to co... Read all
16 February 2018
If you have recently experienced problems connecting to Gem repositories (Ruby package management), it's likely due to HTTPS restrictions. To resolve this, you can switch the default repositories to HTTP. Use the following commands in your terminal:gem source -r https://rubygems.orggem source -a htt... Read all
17 November 2015
I needed to have a Wi-Fi network because of a new phone I got, but my modem was a D-Link DSL-200, which belongs to ancient times and doesn't support Wi-Fi. I love to do things on my own, as much as I can, so I bought the necessary equipment and built it myself.I realized that the smart TV that I rec... Read all
21 August 2013
Deleting a Facebook account can seem like a daunting task, but it doesn’t have to be. Whether you’re tired of the constant notifications, looking to take a break from social media, or just want to remove your personal information from the platform, there’s a simple process you can follow. Here’s eve... Read all
11 November 2011