Ventsislav Nikolov's Avatar

Ventsislav Nikolov

@ventsi.bsky.social

Ruby | Elixir | JavaScript/TypeScript Co-founder of rubylift.com

29 Followers  |  88 Following  |  17 Posts  |  Joined: 18.09.2024
Posts Following

Posts by Ventsislav Nikolov (@ventsi.bsky.social)

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

24.01.2026 09:53 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

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

05.12.2025 18:04 β€” πŸ‘ 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”.

09.06.2025 15:50 β€” πŸ‘ 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

27.05.2025 22:22 β€” πŸ‘ 518    πŸ” 81    πŸ’¬ 17    πŸ“Œ 14
Post image

TIL. Life changing.

14.05.2025 09:43 β€” πŸ‘ 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...

13.05.2025 18:28 β€” πŸ‘ 505    πŸ” 99    πŸ’¬ 16    πŸ“Œ 17
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 🎀🎢😁

26.04.2025 15:05 β€” πŸ‘ 7    πŸ” 1    πŸ’¬ 2    πŸ“Œ 1
Post image

β€œTake notes, not side quests!” YES!!!

26.04.2025 08:22 β€” πŸ‘ 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.

17.04.2025 14:26 β€” πŸ‘ 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...

20.03.2025 19:24 β€” πŸ‘ 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! πŸ€”

19.03.2025 14:28 β€” πŸ‘ 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

19.03.2025 15:48 β€” πŸ‘ 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.

17.03.2025 19:41 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

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

15.03.2025 19:15 β€” πŸ‘ 3    πŸ” 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!

15.03.2025 19:15 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

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

15.03.2025 19:15 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

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

15.03.2025 19:15 β€” πŸ‘ 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 :))

22.11.2024 11:54 β€” πŸ‘ 28    πŸ” 18    πŸ’¬ 1    πŸ“Œ 0
Express your video by writing your own gems β€”Β Ruby Banitsa conf 2024
YouTube video by Kasper Timm Hansen Express your video by writing your own gems β€”Β Ruby Banitsa conf 2024

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...

20.12.2024 19:25 β€” πŸ‘ 5    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0

Hell yeah!

20.12.2024 12:21 β€” πŸ‘ 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.

13.12.2024 23:29 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

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

04.12.2024 16:54 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Drop your lock screen

29.11.2024 09:58 β€” πŸ‘ 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

23.11.2024 06:55 β€” πŸ‘ 30    πŸ” 8    πŸ’¬ 4    πŸ“Œ 0
Room with number 404

Room with number 404

Room not found

02.11.2024 10:36 β€” πŸ‘ 41    πŸ” 5    πŸ’¬ 1    πŸ“Œ 0