Javan Makhmali

4.5K posts

Javan Makhmali banner
Javan Makhmali

Javan Makhmali

@javan

come to the new place → https://t.co/634tcb3OB1

he/him Beigetreten Temmuz 2006
341 Folgt4.6K Follower
Javan Makhmali retweetet
Andrea Fomera
Andrea Fomera@afomera·
My loss (of job) is your gain. I'm offering 10% off my next Hotwire course which is in early access and still in development with the coupon code LAYOFF. store.afomera.dev/learn-hotwire-… It has a few modules up with more to come, we're getting into the meaty bits next! #rails #ruby
English
2
15
57
8.9K
Javan Makhmali retweetet
Andrea Fomera
Andrea Fomera@afomera·
Hey folks, I was affected by layoffs and need to land on my feet. I've been a Rails developer since 2016 professionally. If you have any opportunities please don't hesitate to let me know. #rails #Ruby
English
17
95
230
62.6K
Chris Oliver
Chris Oliver@excid3·
`onclick` is still awesome for simple features. For example, we can reveal blurred API keys with something as simple as removing a class on a previous element. No registering event listeners, no stimulus controllers, no third-party libraries. Just works.
Chris Oliver tweet media
English
8
5
153
8.8K
Javan Makhmali
Javan Makhmali@javan·
@robzolkos Kind of an aside, but you can use actions instead and not worry about adding/removing event listeners or `this`, `bind`, etc. Assuming your controller’s name is “thing”, then: <div data-controller="thing" data-action="message@window->thing#handleMessagesFromApp">…</div>
English
1
0
5
291
Rob Zolkos
Rob Zolkos@robzolkos·
Hello JS friends who may know Stimulus. I have registered this listener but in the actual listener function the stimulus values are undefined. I’m almost certain its a “this” issue which I don’t quite understand fully.
Rob Zolkos tweet media
English
5
1
11
3.3K
Javan Makhmali retweetet
Lewis Youl
Lewis Youl@lewisyoul·
The splat (*) operator has a variety of uses in Ruby, one of my favourites is array manipulation. It allows you to construct and destructure arrays more concisely and explicitly than similar available functionalities.
Lewis Youl tweet media
English
1
14
65
4.6K
Andy Didorosi
Andy Didorosi@thatdetroitandy·
Winner winner — for us. We bagged 4th in National class at Sno*Drift Rally 2023! New-to-me Subaru 2.5RS high compression, haven’t rallied in 3 years, and had the transmission out of the car until moments before we left. Codriver KJ Miller is absurdly talented and hardworking.
Andy Didorosi tweet mediaAndy Didorosi tweet mediaAndy Didorosi tweet media
English
4
0
25
2.7K
Andrea Fomera
Andrea Fomera@afomera·
Content warning: mental health update, last night was a rough one.
Andrea Fomera tweet media
English
18
0
25
0
Javan Makhmali
Javan Makhmali@javan·
@_swanson @frayzil But how are you gonna stop users from finding the URL in the web inspector and opening it in a new tab??
English
1
0
0
0
matt swanson 😈
matt swanson 😈@_swanson·
@frayzil I want a "Cancel" link in a form to take you back to a URL and specifically I don't want users to be able to middle-mouse click to open it in a new tab button_to with method: :get doesn't work since it's inside a form already :(
English
3
0
3
0
Javan Makhmali
Javan Makhmali@javan·
@_swanson 1. lol 2. you can solve the nested form problem with something like ↓ <form action="…" method="post"> <button>Submit</button> <button form="cancel-form">Cancel</button> </form> <form action="…" method="get" id="cancel-form" hidden></form>
English
1
0
8
0
Andrea Fomera
Andrea Fomera@afomera·
I'm adding a boolean column to store if a model allows voting on its subrecords to a model in my side project... what would you name the column? I already have two other booleans `private` and `closed`, I am real conflicted on this one.
English
13
0
2
0
Javan Makhmali
Javan Makhmali@javan·
🚨 ADAM IS AWESOME ALERT 🚨
English
1
0
10
0
Javan Makhmali retweetet
James Glazebrook
James Glazebrook@yolkbae·
👋 I'm looking for work in customer support/success or community management! 💼 7+ years' experience providing world-class support for Basecamp, running its EU/APAC team and all-hands support initiative 📍 Berlin or remote 🎅🏻 More about me: linktr.ee/yolkbae 💌 DMs open!
English
1
12
21
0
Javan Makhmali
Javan Makhmali@javan·
@zachwaugh I tried to switch from 5K to 4K and it *felt* like a downgrade. Might have been entirely psychological but what can you do. Ended up getting the same (overpriced) 27” LG 5K on eBay “like new” for ~$900. 🤷‍♂️
English
1
0
0
0
Zach Waugh
Zach Waugh@zachwaugh·
My 27” LG 5K display seems to be dead, what’s the current best USB-C monitor for a MacBook Pro these days under $1,000?
English
5
0
3
0
Javan Makhmali
Javan Makhmali@javan·
@slightlylate ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
QAM
0
0
4
0