Advertisement · 728 × 90

Posts by Ventsislav Nikolov

I wish you to reach the age of 100 and we’ll enjoy a free event 😁

1 month ago 1 0 1 0

This is the first thing I change from the generated code. The next is removing Current.

2 months ago 1 0 0 0

Recently, I’m experiencing this bug more often than the correct behavior 😭

4 months ago 3 0 0 0
Current Time Now | Time.now View your current local time on Time.now. Browse cities, countries, and timezones with their current times. Updated Live.

Same with “Time.now” and “Time.current”. The basic rule to avoid time zone problems in Rails apps is to always “Time.current”, “Date.current” and other methods that use the configured zone like “1.month.ago”.

10 months ago 3 1 0 0
Post image

ITS HAPPENING

Firefox 127 shipped today making it the first browser to support Temporal - the new API for working with Dates, times, timezones + durations

10 months ago 517 81 17 14
Post image

TIL. Life changing.

11 months ago 14 3 1 0
Preview
How to have the browser pick a contrasting color in CSS Have you ever wished you could write simple CSS to declare a color, and then have the browser figure out whether black or white should be paired with that color?

Have you ever wished the browser would look at a background color and pick black or white for the text — whichever one provides more contrast?

Now, the `constrast-color()` function in CSS does just that.

webkit.org/blog/16929/c...

11 months ago 504 98 16 17
Advertisement
Two people singing on a stage at Balkan Ruby

Two people singing on a stage at Balkan Ruby

Ruby caraoke with @bbatsov.bsky.social and @julialopez.dev at Balkan Ruby 🎤🎶😁

11 months ago 7 1 2 1
Post image

“Take notes, not side quests!” YES!!!

11 months ago 2 1 0 0

Unfortunately, Ruby doesn't have a standard or tool built-in for formatting 😕 It's unavoidable a person or community to choose something that doesn't match our own preference. At least we have the option `rails new --skip-rubocop`. Next step it may be make the formatter configurable.

1 year ago 1 0 0 0
Preview
GitHub - lydell/eslint-plugin-simple-import-sort: Easy autofixable import sorting. Easy autofixable import sorting. Contribute to lydell/eslint-plugin-simple-import-sort development by creating an account on GitHub.

TIL there's an ESLint plugin that sorts and organizes imports: github.com/lydell/eslin...

1 year ago 0 0 0 0
Post image

TIL: You can use #ruby pattern matching on Time. Comes in handy if you have to check if there's an important conference happening today! 🤔

1 year ago 24 8 4 0
Preview
Shadcn Date Picker Advanced date picker with range selection, year and month selection, and more.

Using the shadcn/ui calendar component? You might want to update react-day-picker to v9 and date-fns to v4. It's not officially supported yet, but this article explains how to do it: date-picker.luca-felix.com

1 year ago 2 0 0 0
class ApplicationRecord < ActiveRecord::Base
  self.inheritance_column = :sti_type
end

class ApplicationRecord < ActiveRecord::Base self.inheritance_column = :sti_type end

In every Rails project, I rename the STI column in ActiveRecord to `sti_type`. This simple change makes `type` available for attributes, enums, or methods.

1 year ago 1 0 0 0

This makes building interactive apps easier with better UX. I’ll share more thoughts soon! ⚡ #Rails #React #TypeScript #InertiaJS

1 year ago 2 0 0 0

Inertia.js lets me keep Rails as a monolith while using React + TypeScript for the UI—no need to split into separate backend & frontend apps!

1 year ago 2 0 1 0
Advertisement

Rails + React gives me access to two huge ecosystems. My biggest issue with Rails has always been the frontend.

1 year ago 0 0 1 0

I’m using Rails, Inertia.js, React & TypeScript for my new side project. First impressions? Pretty good! 🚀

1 year ago 2 0 1 0

Looking for my next job!

- Based in Berlin 🇩🇪, but also open to remote.
- I've been most excited about #ElixirLang lately, but also open to other tech stacks(I've worked with Clojure, Rust, JS/TS)

Some stuff I've worked on recently below👇. (And I'd appreciate a repost :))

1 year ago 28 18 1 0
Express your video by writing your own gems — Ruby Banitsa conf 2024
Express your video by writing your own gems — Ruby Banitsa conf 2024 YouTube video by Kasper Timm Hansen

I uploaded my screen recording from the recent Ruby Banitsa conf. It's pretty loose and informal!

We had a really fun conversation towards the end with @rstankov.bsky.social and @ventsi.bsky.social chiming in! Hope my mic picked it up 😂

www.youtube.com/watch?v=Md90...

1 year ago 5 2 1 0

Hell yeah!

1 year ago 0 0 0 0
Post image

I prefer to stay in the terminal in one app window. I'm using tmux + fzf to switch projects (tmux sessions) and tmuxinator to configure what tmux windows/panes to open when I start a project.

1 year ago 1 0 1 0

I know what stack I would use for my next side project.

1 year ago 1 0 0 0
Advertisement

Drop your lock screen

1 year ago 1 1 0 0

If you wanna pick up the beta of Network Programming in Elixir and Erlang it'd be a good time too. We're essentially only one chapter away from printtttttt

1 year ago 30 8 4 0
Room with number 404

Room with number 404

Room not found

1 year ago 41 5 1 0