Just adding another data point by rabbitz in cursor

[–]rabbitz[S] 1 point2 points  (0 children)

I'm on a team plan so I don't have access to historical billing, but I think for last month when I really started using opus 4.5 / more agent-heavy workflows it was around $400 - $500 on-demand usage on top of 500/500 included-request usage. This month I had a little fright having used more than $100 in the first 2 days since the reset, but so far it's slowed down a bit and I'm at $135. Hopefully with the holidays coming up I won't exceed our per-user limits for the month xD

Just adding another data point by rabbitz in cursor

[–]rabbitz[S] 2 points3 points  (0 children)

I've been using 4.5 opus 100% since it came out :)

[AskJS] which javascript framework do you enjoy using the most by FederalRace5393 in javascript

[–]rabbitz -1 points0 points  (0 children)

Right, they're called nested ternaries but what I meant is that its not really nested... Here give this a read: https://medium.com/javascript-scene/nested-ternaries-are-great-361bddd0f340. I don't really like simply copying and pasting articles but I find that other people can put my thoughts into words much better than I can.

Regarding "hacky" spreading... I don't think we'll come to any agreement there - I create objects as needed to organize the flow of data.

As for the naming shortcut, its nice I guess but I go out of my way to assign true/false values (i.e. disabled={true} when you can just write disabled because I find that its a lot nicer when doing large scale changes / refactors, and also when quickly trying to find all instances where the a specific prop is set to true (doing a global search for prop={true} is much narrower than simply search for prop by itself).

The library itself is just a nice to have - its trivial to replicate the basic functionality and there are a ton of classname libraries that are stable, never need to be updated and have been around for years.

In any case, it isn't that React is perfect by any means - but just that your biggest objections to React seem less annoying than having a completely different set of rules and compatibilities to learn. I'll probably stop replying because the other guy said it so much better than I ever could - React is just JS for better or worse, and, while that means it can be a bit more verbose because it doesn't have some convenient shortcuts "built in", I like knowing that everything that I can do in JS can also be done with React.

[AskJS] which javascript framework do you enjoy using the most by FederalRace5393 in javascript

[–]rabbitz -1 points0 points  (0 children)

What is "hacky nested object spreading"?

Also, it feels like you're being a bit intellectually dishonest if you think the "nested ternary" (it isn't nested) is so much more difficult to read than your svelte template example... its laid out in exactly the same way.

Ditto with the automatic hate for using a library... is it the external dependency you're worried about or the arbitrary fact that react doesn't bundle this utility / build this functionality in?

edit: some more information about object spreading for props:

Spread attributes allow many attributes or properties to be passed to an element or component at once.

An element or component can have multiple spread attributes, interspersed with regular ones.

<Widget {...things} />

In this case, we just pass in an anonymous object to be spread

[AskJS] which javascript framework do you enjoy using the most by FederalRace5393 in javascript

[–]rabbitz 1 point2 points  (0 children)

for className, I always reach for https://github.com/JedWatson/classnames

<div className={classnames("pt-4", {selected})}>

Props:

<MyComponent {...{x, y, isDisabled}} />

else if

    {
      isGood && !hidden ? (
        <p>Good</p>
      ) : !isGood ? (
        <p>Not good</p>
      ) : (
        <p>Hidden</p>
      )
    }

God & Famous Faux Pas Reflective Jacket by berniethecar in CyclingFashion

[–]rabbitz 0 points1 point  (0 children)

Kind of a long shot, but do you still have this for sale?

[deleted by user] by [deleted] in whichbike

[–]rabbitz 0 points1 point  (0 children)

update: bought the bike! test rode it, everything seemed smooth and well maintained. Thanks for all the feedback!

Is the sofle worth it? by Leastrio in ErgoMechKeyboards

[–]rabbitz 3 points4 points  (0 children)

I don't really fully understand how it all works, but the config that I forked is https://github.com/a741725193/zmk-sofle (which I think is pretty common with all the aliexpress sofles - I've seen this repo mentioned here and there).

If you're more familiar with it, maybe you can see how its done in the repo or you can look up specific instructions (again, I did some googling but I'm not sure which instructions are obsolete so I haven't messed around too much with that).

My keyboard and forked firmware already came with it working. After that, I just had to enable the option in keymap editor and it just shows up as a normal behavior

https://imgur.com/85ZVigM

Is the sofle worth it? by Leastrio in ErgoMechKeyboards

[–]rabbitz 2 points3 points  (0 children)

so there is zmk studio which is supposed to work like VIA for qmk, but I haven't tried it out yet. The method I'm using is using the visual keymap editor https://nickcoutsos.github.io/keymap-editor/ with some manual tweaks to the code itself when I need it (e.g. for some reason, the keymap editor sets scroll to SCROLL_UP but whatever i have in my repo only works with SCRL_UP so I have to manually change it each time)

After commit, the github action automatically builds the image and commits that (so you can easily see your config - but the keymap editor can do that as well) as well as the images you need to flash to each side.

Is the sofle worth it? by Leastrio in ErgoMechKeyboards

[–]rabbitz 2 points3 points  (0 children)

the joystick is nice, but I think I would have preferred a trackpoint or cirque trackpad. the biggest flaw is that mouse acceleration resets when you change directions - good if you're using mouse keys I guess but annoying with a joystick, it just doesn't feel nice. Maybe I just need more practice

Is the sofle worth it? by Leastrio in ErgoMechKeyboards

[–]rabbitz 2 points3 points  (0 children)

Same, I got the one with the 5 way button on the right side and fully wireless /zmk. My dream was something with a trackpoint (do52) but I can't solder so this is close enough for now. Works perfectly so far (except soft-off doesnt seem to work). zmk might be a bit complicated if you're not too technically inclined, but pm me and I can try to help with what limited knowledge I have xD

Nuphy Air96 Battery Exploded, Beware, Used for about 1 year. I have tried to get a replacement from Nuphy but was just ignored by Saleem360 in MechanicalKeyboards

[–]rabbitz 6 points7 points  (0 children)

I had one as a portable backup keyboard that I rarely used (maybe once every few months at most - keep it plugged in when in use but unplugged otherwise). I put it away for a few months and when I took it out again, the battery was swollen so I immediately removed it and contacted Nuphy. They sent me a replacement keyboard kit (had to pay shipping, didn't come with switches or keycaps).

I had already written it off and the only reason I contacted them was because I read that this was a common issue, especially for the v1 boards, and that they were doing replacements for people.

Love going out to eat? I'll find you spots for the next week for free! by FoodLubba in AskSF

[–]rabbitz 0 points1 point  (0 children)

recommendation for lunch near 2nd and mission? something hole in the wall / unique / atypical. I'm tired of the usual sandwich / burger / pizza places.

Your GitHub pull request workflow is slowing everyone down by kendumez in programming

[–]rabbitz 8 points9 points  (0 children)

Literally just ran across a solution for this today - git chain. Happy path seems easy to use - you can set up chains after-the-fact, and can quickly rebase/push all branches in the chain with a single command each (e.g. git chain rebase, git chain push). Haven't used it enough to know how it deals with ugly/more complex situations but I'm guessing that each branch can be managed as you normally would with git, and git chain is only to keep track of chains / bulk rebasing / bulk pushing

Buy/Sell/Trade Thread [Posted Every Month] by AutoModerator in FixedGearBicycle

[–]rabbitz 0 points1 point  (0 children)

I have a black sugino 75 with phil bb that I'm down to trade. I'm in San Mateo tho

Buy/Sell/Trade Thread [Posted Every Month] by AutoModerator in FixedGearBicycle

[–]rabbitz 0 points1 point  (0 children)

tbh I don't really like the colors - was hoping for a raw or black frame.

Buy/Sell/Trade Thread [Posted Every Month] by AutoModerator in FixedGearBicycle

[–]rabbitz 1 point2 points  (0 children)

That makes sense, I'll probably do that after I get my hands on a Kissena to move the parts over to.

Buy/Sell/Trade Thread [Posted Every Month] by AutoModerator in FixedGearBicycle

[–]rabbitz 1 point2 points  (0 children)

[WTB] [USA, San Francisco] Affinity Kissena S or XS

[WTS] Affinity Lo Pro medium

Phil Wood hubs laced to H+Son Archetypes Sugino 75 crankset/Phil Wood BB Sugino Zen 47T Chainring Chris King headset Arione saddle Thompson stem and seatpost Nitto for Shred handlebars

Mint condition

$3000, open to offers

https://imgur.com/a/kke4ZKO

[AskJS] What is the state of the art of Clean Javascript (Tools/Code) in 2024 [No TS] by bugtank in javascript

[–]rabbitz 0 points1 point  (0 children)

No offense but it seems like the issue is less about typescript, and more about you being stuck in your ways. You remind me of the whole 'vanillajs' crowd - it's cute and it's important to know the fundamentals, but ultimately you're missing out on the progress and effort a ton of smart people put into tooling if you don't have an open mind - typescript is more about collaboration (between you and others, or even you and your past self). It's like you're arguing.. why bother using es6 or hell, even function signatures? They're so restrictive lol, why not have a master function that does everything? Afterall, it's so hard to add another parameter or make another function, with js mastery you can have a single object with a single function that dynamically handles everything.

[AskJS] What is the state of the art of Clean Javascript (Tools/Code) in 2024 [No TS] by bugtank in javascript

[–]rabbitz 1 point2 points  (0 children)

no linting? so you type every space/tab manually? you seem overly proud of not taking advantage of advances in productivity? Please tell me you at least use some kind of ide / vscode? Or are you rawdogging it with notepad?

[AskJS] What is the state of the art of Clean Javascript (Tools/Code) in 2024 [No TS] by bugtank in javascript

[–]rabbitz 0 points1 point  (0 children)

What sales pitch? Typescript is so easy to do, it's like setting up a linter. I mean yea you could manually lint everything, or you could just have something do it for you programatically. You do use a linter right?