Javan Makhmali

4.5K posts

Javan Makhmali banner
Javan Makhmali

Javan Makhmali

@javan

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

he/him เข้าร่วม Temmuz 2006
341 กำลังติดตาม4.6K ผู้ติดตาม
Javan Makhmali
Javan Makhmali@javan·
RT @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 w…
English
0
15
0
0
Javan Makhmali
Javan Makhmali@javan·
RT @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 y…
English
0
95
0
0
@·
`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.
 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
Javan Makhmali@javan·
RT @lewisyoul: The splat (*) operator has a variety of uses in Ruby, one of my favourites is array manipulation. It allows you to construct…
English
0
14
0
0
@·
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.
 tweet media tweet media tweet media
English
4
0
25
2.7K
@·
Content warning: mental health update, last night was a rough one.
 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
@·
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
Javan Makhmali@javan·
RT @yolkbae: 👋 I'm looking for work in customer support/success or community management! 💼 7+ years' experience providing world-class supp…
English
0
12
0
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
@·
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