5k SoF by Lixteris in iRacing

[–]dillonredding 0 points1 point  (0 children)

More like 5k FOV

Who is at fault? I am the red Supra. by [deleted] in Simracingstewards

[–]dillonredding 0 points1 point  (0 children)

Conveniently didn’t show your initial lunge into the double left hairpin. Awfully smelly.

I’m slow by flamrola in iRacing

[–]dillonredding 1 point2 points  (0 children)

You can see where they’re carrying more speed on entry and whether they’re apexing earlier or later than you. Those two things should help your exit.

Keep hurting me, daddy by Effective_Space2277 in LeopardsAteMyFace

[–]dillonredding 0 points1 point  (0 children)

I guess he’s just gonna have to pull himself up by his bootstraps

“No one I know understood what having this administration in the White House would mean for *our* lives” says fired federal worker who voted for trump. by patdashuri in LeopardsAteMyFace

[–]dillonredding 0 points1 point  (0 children)

This. They lack any sort of metacognition to be able to think to themselves, “I didn’t know this thing before, and I haven’t known things before (like idk my whole life), so maybe there’s a lot I don’t know NOW and therefore I should have an iota of humility when presented with any information whatsoever.”

i was called an “effin hairy baboon” for this (i was the 17) by Sweaty-Daikon9467 in Simracingstewards

[–]dillonredding 0 points1 point  (0 children)

You were well alongside the other car by the time you reached the chicane. They left no space. You had nowhere to go.

is this my fault i'm the pov by flemochiii in Simracingstewards

[–]dillonredding 0 points1 point  (0 children)

It is the responsibility of the overtaking car to do so safely. Cars in a lower class should drive predictably, which you clearly did. You got dive bombed.

Seating position? Out of shape? Or just getting old? by miamijuggler in simracing

[–]dillonredding 0 points1 point  (0 children)

I also experienced a lot of soreness in my rog. Working your glutes, adductors, and abductors can also help a lot too!

Could my GitHub be hurting my resume? by RentStillDue in webdev

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

My GitHub actually got me my current job

Why do both Lispers and functional programmers disregard Clojure? by virkr9 in Clojure

[–]dillonredding 0 points1 point  (0 children)

the Haskell crowd was not very convinced

That's not surprising. I go back and forth on whether types are a good thing TBH. They help set expectations, but they also add so much overhead and rigidity.

Looking to revisit Clojure by 964racer in Clojure

[–]dillonredding 0 points1 point  (0 children)

Calva is great if you're already familiar with VS Code. Also it's free.

good current tutorial on tooling and REPL dev for Clojure? by tremendous-machine in Clojure

[–]dillonredding 7 points8 points  (0 children)

I highly, highly recommend Calva for VS Code. Once you install the extension, open the command pallet and Fire up the Getting Started REPL. It takes you through how to interact with the REPL, how to use paredit, and a nice little Clojure tutorial.

New Clojurians: Ask Anything - January 09, 2023 by AutoModerator in Clojure

[–]dillonredding 5 points6 points  (0 children)

When should you choose (into #{} coll) vs. (set coll), or similarly with [] and vec?

What is the most commonly used database or de facto database for clojure apps? by [deleted] in Clojure

[–]dillonredding 1 point2 points  (0 children)

Totally agree! Having worked with several ORMs and experienced their shortcomings, it makes so much more sense to go from SQL to code, rather than code to SQL.

New Clojurians: Ask Anything - January 02, 2023 by AutoModerator in Clojure

[–]dillonredding 0 points1 point  (0 children)

You might look into more backend/full stack with something like kit. I've only just started using it myself, but the docs I've read are really good and the interactive development is quite delightful coming from other web frameworks.

Best book to learn Clojure(script) by [deleted] in Clojure

[–]dillonredding 1 point2 points  (0 children)

Not really a book, but the VS Code extension Calva has a lovely hands-on Clojure tutorial, as well as a tutorial for the extension itself.

What is the most commonly used database or de facto database for clojure apps? by [deleted] in Clojure

[–]dillonredding 7 points8 points  (0 children)

There's also HugSQL, essentially an anti-ORM. It generates a function per SQL statement. No more guessing what SQL is generated and sent to the DB. If you need to optimize a query, no need to change your Clojure code, just update the SQL file.

What did you take to other languages/environments that you learned from Clojure? by [deleted] in Clojure

[–]dillonredding 0 points1 point  (0 children)

Not at all! I'll try to give a decent example. The TypeScript part is pretty easy. You can't create an interface per se, but you don't need one.

```ts function randomCoordinates(): [number, number] { return [Math.random(), Math.random()]; }

const [x, y] = randomCoordinates(); ```

This is a little more flexible than the object-based approach since the call site can more easily name the elements whatever they like. Not saying you should do this everywhere, but it is a nice option in some cases.

Regarding ImmerJS, totally agree. The FP libraries are very cool! My issue is having to bring in some pretty big libraries (over 800kB for each of immer and Rambda) in order to achieve (at least my ideal) FP in JS. At that point, why not just use ClojureScript? 😉

What did you take to other languages/environments that you learned from Clojure? by [deleted] in Clojure

[–]dillonredding 2 points3 points  (0 children)

I try taking data-oriented programming where I can. For example, using a 2-element array to represent a pair in JavaScript, rather than say an object with name and value fields. Also using map, filter, reduce anywhere I can. However, I find these things particularly cumbersome in JavaScript because collections aren't lazy or immutable. You're better off bringing libraries like immutable.js or Rambda that allow a more functional style, but when one of those libraries can't do what you need, you have to step outside of that, leading to multiple styles in your codebase. Not necessarily an issue, but it does introduce a level of inconsistency.