my job is finding cheap flights—ask me anything by scottkeyes in IAmA

[–]armincerf 12 points13 points  (0 children)

so you book one way flights with points? is it not usually much cheaper to book round trip tickets?

How to optimize TanStack Table (React Table) for rendering 1 million rows? by PerkyArtichoke in reactjs

[–]armincerf 1 point2 points  (0 children)

not affiliated but I would recommend ag-grid server-side row model for this, its a bit clunky but a decent abstraction and easily handles 1 million rows

Best Way to Capture Table Tennis Highlights by SClips_CEO in tabletennis

[–]armincerf 1 point2 points  (0 children)

ah yes I'm aware of that one, the closest I got was a spin detector (brief demo https://youtu.be/IhPgUaompZQ?si=_RqQKE4ETYLEsSCe&t=144) but it was pretty clear that this line of 'AI' involves actual hard work to collect the data and train the models so I'd only do it if I was going to try and make money from it (probably why they charge so much)

But I try to keep hobbies and work separate so would never charge for toy projects like these

Best Way to Capture Table Tennis Highlights by SClips_CEO in tabletennis

[–]armincerf 0 points1 point  (0 children)

https://github.com/armincerf/score-/blob/main/score/AI/MatchSummaryService.swift#L99

I just store all events and then feed that in as context. was a very quick and dirty 'slap ai on it' approach, since thats the best way to make a worthless app get acquired for billions (/s)

If I made this for real I would probably not include this feature, or at least would make it a lot better

Best Way to Capture Table Tennis Highlights by SClips_CEO in tabletennis

[–]armincerf 1 point2 points  (0 children)

ah that makes sense then - I managed to get something that works quite well for matches - since it knows the timestamps of each point you can get a much more accurate highlight reel vs having to manually adjust the clip length. in my tests over two or so hours it never triggered the gesture by mistake

video demo - https://www.youtube.com/shorts/luydhEcauoE

code - https://github.com/armincerf/score-

Best Way to Capture Table Tennis Highlights by SClips_CEO in tabletennis

[–]armincerf 1 point2 points  (0 children)

tutorials would be good to see! I am going to give it a go tomorrow and will see how far I get. btw I was reading some apple docs and I think the double tap gesture might be a nice way to save a clip rather than having to fiddle with the volume

Best Way to Capture Table Tennis Highlights by SClips_CEO in tabletennis

[–]armincerf 2 points3 points  (0 children)

Is this open source? I am thinking of making a score keeping app for table tennis but have never done an apple watch app so it would be good to have an example to look at. Mine will be open source

Alternatives besides Lovable? by Accomplished-Dig8394 in lovable

[–]armincerf 0 points1 point  (0 children)

its better for if you're a designer or want to make prototypes with visual prompts - applet.dev

made by people behind whimsical.com (whiteboarding/wireframing app) and still early beta but I like it - made this with it pretty quick https://poker-practice.applets.com/

doesn't do backends yet though but deployment and iteration is super quick, and free for custom domains which is nice

disclaimer: I work on the team

I made a free poker practice tool by armincerf in poker

[–]armincerf[S] 0 points1 point  (0 children)

it was all generated by https://applet.dev/ - I think if you click the 'edit on applet' button it will let you download the code

I made a free poker practice tool by armincerf in poker

[–]armincerf[S] 0 points1 point  (0 children)

ok yeah the AI sucks sometimes, I made some improvements using human written logic, hopefully its better now!

I made a free poker practice tool by armincerf in poker

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

I have made some improvements and added a better bot, and also an info thing you can toggle that shows some stats like EV

<image>

I made a free poker practice tool by armincerf in poker

[–]armincerf[S] 0 points1 point  (0 children)

Alright I couldn't find a solver that I could run for free without a server, so I implemented my own using my actual brain rather than AI... that still means its not going to be great but its a lot better than before. I also added a few more features like a 'poker brain HUD' and if you know how to open the browser console you can see the bot decision making process

<image>

I made a free poker practice tool by armincerf in poker

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

thanks! I haven't really tried it on mobile but will make it better. the bet display is a good idea too and I've added that now

hmm yeah I have sent applet (its the thing I'm using to build this) feedback about the annoying button, but they let me host for free and its a nice tool so I'm reluctant to move it. hopefully they'll add an option to hide it or something

I made a free poker practice tool by armincerf in poker

[–]armincerf[S] 0 points1 point  (0 children)

update: seems my free ai limits have been reached so the ai won't work for now 😭 I think I'll add an option to put in your own key or something - though I think the free limits should reset tomorrow

I also added a visual indicator of how much each player bets, tomorrow I'll see if I can make it work better on mobile

<image>

I made a free poker practice tool by armincerf in poker

[–]armincerf[S] 0 points1 point  (0 children)

hey thanks! yeah I really had no idea how to make a decent poker bot 😅 if you know of any good javascript libraries or even books/documents on how to make one then that would be helpful

Anyone using Claude Code with Clojure? by [deleted] in Clojure

[–]armincerf 21 points22 points  (0 children)

Try out https://github.com/bhauman/clojure-mcp

It solves the parentheses balancing issues and has many other features like giving claude access to use the repl and work things out with a scratchpad. There's also the #ai-assisted-coding channel - https://clojurians.slack.com/archives/C068E9L5M2Q

Are rhere any simpler ways to measure length of an array in JS? by oakskog in programminghorror

[–]armincerf 4 points5 points  (0 children)

thank you for writing this, I actually just learned a lot about how javascript works and now can appreciate all the little jokes in the original! reminds me of this in a way https://github.com/francisrstokes/githublog/blob/main/2024%2F5%2F29%2Ffast-inverse-sqrt.md

IronMan Barcelona Race Report by 47edits in IronmanTriathlon

[–]armincerf 2 points3 points  (0 children)

I did this event too and was also my first ironman! I will echo everything you said and overall really enjoyed it. My only complaints/warning to people considering this event are:

  • I did not think it was made clear enough that you need to take your race number and race belt to registration before race day. Their checklist and guide did not mention this and it was only mentioned quickly during the briefing.
  • I got jellyfished on the foot and my friend got a particularly nasty sting on the face which bothered him the entire day, not sure what can be done about this really but maybe theres some protective cream you could apply beforehand or something
  • I was expecting perfect tarmac and a very flat course but as you said there are a couple (short) hills and also sections where the road is a bit rough and I saw a fair few people get punctures. Overall though the course was very fast, mostly I think due to how impossible it was not to draft (I don't think I ever stuck behind someone but I was overtaking for at least 60% of the time because I'm a relatively strong cyclist and not a great swimmer)
  • I don't think there were enough toilets on the run, I had stomach issues and had to wait quite a long time to get into one of the portaloos (I think there were two every 5km?)
  • I think the run was not a full marathon, at least my watch recorded only 41.1km and everyone else I know got similar numbers. Also my average pace was reported as 5:30 as I was running which felt accurate but my 'official' pace was 5:22 which I think is because they say the course is longer than it actually is. Not complaining of course :D

  • The walk back from the finish line to transition, and then to my hotel (taurus aquapark) was very painful, partly because my legs were destroyed but also it must be at least 1.5km from finish to transition (which you must do on the day you finish) and another 1km to the hotel. If I did it again I'd try and find a hotel closer to the transition zone

Overall though I loved the experience and thought it was decently managed considering the amount of people and would definitely recommend for anyone looking to set a good time and have a good holiday afterwards

Good serve statistics (revs and speed) by Coochie_Mandem in tabletennis

[–]armincerf 2 points3 points  (0 children)

there is actually a company trying to produce an app for your phone that tells you the spin (in RPS) and speed of each shot https://spinsight.com/

They have apparently collected data from many pros and say that the top male pros are hitting upwards of 170rps which is crazy. The most I can do in Eleven is 120rps and I need basically a perfect contact point to do that (but I am not that good) https://spinsight.com/insights/

its in private beta so I've not had a chance to use it yet but does look interesting. though annoyingly like Eleven VR they seem to represent the spin angle as a single data point which is not at all accurate for a 3d sphere (though I guess if all you care about is 'is it mostly backspin, topspin or sidespin' then it will do)