Ventsislav Nikolov's Avatar

Ventsislav Nikolov

@ventsi

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

29
Followers
89
Following
17
Posts
18.09.2024
Joined
Posts Following

Latest posts by Ventsislav Nikolov @ventsi

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

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

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

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

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