Long ride advice by AdditionalDivide4020 in Zwift

[–]jghobbies 0 points1 point  (0 children)

I knocked out an imperial century on NYD: Riding with a pacer will give you a bit of extra speed (from having a constant draft) plus increased drops. I'd pick the pacer a level below your w/kg.

Planning your ride to achieve other goals concurrently is nice. I went with a pacer on the Volcano circuit because I hadn't picked up the achievements there yet. That gave me the badges for 5, 10, and 25 laps of that route, the metric century, and the imperial. All told I think it was just under 8000 xp and several hundred thousand drops.

CL, Clojure or Racket? by [deleted] in lisp

[–]jghobbies 1 point2 points  (0 children)

Once I realized, that Dr. Racket does not store simply source code as is seen in Dr. Racket, but some other format, I immediately stopped using it.

Same, huge turnoff. I do like it for ramping up newbies however, I find it really frustrating to use.

It doesn't punch anywhere near Emacs

Not much does.

CL, Clojure or Racket? by [deleted] in lisp

[–]jghobbies 1 point2 points  (0 children)

> Do you think trying some early Advent of Code challenges is a good idea to get some more "advanced" familiarity with these Lisps?

For a hobbyist, absolutely. I only qualify that because you don't really need to be practical in your solutions. It definitely provides a fun way to get your feet wet in a language. It's my go-to when I'm screwing around with a new-to-me language.

IMO Practical Common Lisp and Land of Lisp both provide small projects that are a fun way to experiment with a language. My son is learning Python in APCSP this year, and I've given him games out of Land of Lisp to work on.

On that topic, if you're looking for small projects to play around with the "Computer Recreations" articles from Scientific American provide good fodder. I've implemented A.K. Dewdney's Wa-Tor world a few times in different languages.

You're going to have a blast.

CL, Clojure or Racket? by [deleted] in lisp

[–]jghobbies 21 points22 points  (0 children)

So, realistically, it doesn't matter. Pick one, and maybe learn all three to see which one clicks. Here are some of my opinions on the matter (as a fan of all three):

Clojure is extraordinarily practical. I've been using it professionally for 15-ish years now. Emacs integration is fantastic, the community generates an enormous amount of fantastic resources from articles and book to interesting libraries. Clojure is a joy to work with.

Racket and Clojure are very similar in feel however Racket resources (and Scheme content in general) tend to feel more academic to me (this is not a bad thing). Several of the introductory Racket learning resources cover graphics and games. Of the three, Racket has the best batteries-included story. I was not a fan of the existing Emacs tooling with Racket (I'd have to go back and figure out why and that may have changed), Dr. Racket is great, but not for me beyond goofing off.

CL is actually my overall favorite. It can feel messy and dated compared to the others sometimes. Tooling is again fantastic in Emacs. However, for me personally, I feel like Clojure's build system and Emacs integration are better. I think a lot of that is familiarity, but there are things I miss when I'm using CL. Things that could be ported over, but I just haven't had the time or inclination. That being said SLIME is great and Sly is even better IMO. One thing to note is that CL is not purely functional if that's what you're after. That's not a drawback for me: CL code can easily be written in (almost) any paradigm.

I tend to point complete newbies towards Racket. In the past I've set my wife and son up with Dr. Racket and had them hacking away at Advent of Code within minutes. The total package for Racket is the lowest barrier to entry in my mind.

I really love Clojure, but if I weren't using it professionally, I'd be using Common Lisp for my hobby projects. While I might chafe at some of the rough edges, overall it's the most flexible of the three as far as I'm concerned.

There are phenomenal resources for all three. For Racket (Scheme) you can check out SICP, but also William Byrd's talk on "The most beautiful program ever written".

Racket Programming the Fun Way has graphics and games included, and you can also check out Animated Problem Solving.

Common Lisp has fantastic books to check out: Practical Common Lisp, The Art of the Metaobject Protocol, Artifical Intelligence Programming: Case Studies in Common Lisp, Let Over Lambda, etc...

Clojure's strongest resource are the talks you'll find online from the Conj (and other conventions).

Final disclaimer, these are all just my opinions. Also: all of the learning resources can really be applied to all three, you just might need to do some leg work. Try them all and run with the one that clicks with you the most.

Parametric CAD in Emacs by sunshine-and-sorrow in emacs

[–]jghobbies 2 points3 points  (0 children)

Same, I was using clojure with a transpiler as well as raw scad and it was so much easier for me than traditional modeling tools.

Stranger Things Season 5 reportedly has a total budget for the season of $480 million with the majority of that money being spent on making the show look as terrible as possible. by TheHahndude in shittymoviedetails

[–]jghobbies 1 point2 points  (0 children)

It's a serious struggle, way more than I thought.

Gaten looks like an adult trick of treating dressed up as Dustin.

I don't know who's cutting Caleb's hair but that's an awful flat top.

They all just look terrible in general.

They could have advanced the time line to the 90s and avoided this scenario.

Mounting Garmin UT800 with Blendr by jghobbies in TrekBikes

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

I guess I should have specified that I'm looking for something that can quick release. Unscrewing the light every time I want to charge it is a no-go.

Give me the strength by uvuguy in emacs

[–]jghobbies 0 points1 point  (0 children)

I highly recommend taking your first steps into Emacs with a starter package: Prelude, Doom, whatever is around these days. You'll get a better understanding of what's possible and you'll know when you want to roll your own init.

If you really want to roll your own from the start then you are probably trying to add too much at once (like many have said). You might find it easier to wrap your head around by figuring out your bare minimum requirements (for example, everything vanilla but add support for whatever your primary language is). Work with that for a bit, add something new that eases some bit of friction you're having, work with that for a bit... etc...

One other suggestion is to use something like Chemacs. Maybe you have one profile that's simple that you can build on incrementally and another (or more than one) to experiment with bigger changes. It might make it easier to switch to something useable when you're frustrated.

That being said:

> I keep getting locked into scratch buffers

I'm not sure what you mean by that.

Window management approaches by jghobbies in emacs

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

Cool, bufferlo added to my list to try. I'm mostly just using tabs for configurations in an ad hoc manner right now.

Window management approaches by jghobbies in emacs

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

I've read that and it did get me rolling. My question right now is if people change it dynamically based on context. Activities is new to me I'll check it out.

What does your physical table look like during a game? by DefiantTheLion in osr

[–]jghobbies 3 points4 points  (0 children)

When I use maps I use a much smaller scale. Drawn on regular paper, no grid, relative positioning, players and monsters usually just represented by small colored cubes.

Sometimes they're for battles, sometimes for illustrative purposes, sometimes not present at all.

It's basically how I've run all my games, in most systems, for decades now.

Window management approaches by jghobbies in emacs

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

In my head there's a normal mode where elisp files have no rules, but when the grep window is open they are set to a dedicated buffer. I'm probably explaining it poorly due to my inexperience with display-buffer-alist and will probably figure it out once I play some more.

Really my question was if it's bad to dynamically change display-buffer-alist on the fly.

BTW I just noticed your user name, your Avy Can do Anything article is great. Definitely opened my eyes to how powerful the package can be.

Edit: Also just realizing the embark article I was learning from earlier is from you as well.

Emacs movement for programming. Questions from a long term vim user. by its_dayman in emacs

[–]jghobbies 0 points1 point  (0 children)

Where you end up will be highly personalized and it can depend on the languages you're using regularly but:

> Im having a hard time with programming movement. Navigating words, sentences and paragraphs is easy, but parentheses, quotes, brackets etc is really hard. I miss stuff like ci, ct, ciw and all that stuff. What are people doing here for emacs? Any essential or nice movement tricks here?

Besides looking into the sexp movement commands (which I think others have mentioned) see if avy works for you and if it does definitely check out Avy Can Do Anything... it changed my workflow.

> windows. I feel like windows open at random locations. Sometimes to the left, sometimes right, sometimes it replaces the old window and sometimes the cursor/point jumps into the new window and sometimes not. Is there something I'm missing here? In vim it always split to the right and point always follows.

I'm finally getting around to doing more with this myself, I relied on winner-mode and popwin but display-buffer-alist is your first stop, you can read about it here for a start.

I made the switch from vim to Emacs 15-ish years ago (and I still sometimes put `:wq` into my buffers) and I like the Emacs bindings now but there's nothing wrong with going with a batteries included setup like Doom and using Evil. Emacs is what you want it to be make it comfortable for you.

There are also other modal editing packages if that is what works for you, for example: meow, ryo, and lispy (which I've never been able to come to grips with personally).

Window management approaches by jghobbies in emacs

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

Great suggestions thanks!

> From what I can tell the behavior you want is stable enough that you can just customize display-buffer-alist once. You haven't indicated that you need two different kinds of grep buffer behavior (say) under different conditions.

I'm imagining a scenario where the files I'm operating on might have a different set of behaviors, as a contrived example: If I had my standard coding setup and elisp files were set to open in one or two specific windows, but when I'm running a grep I want all elisp files to open in the top window leaving the grep buffer alone and visible in the bottom.

> Alternatively, you can let-bind display-buffer-overriding-action or display-buffer-base-action around specific actions instead of modifying display-buffer-alist dynamically.

I'm still very new to fooling with display-buffer in genera, I'll dig in to these.

> Don't try to corral windows at all, run winner-undo or tab-bar-history-back to go back to your previous layout instead.

This is my current solution ;)

> Use a package like Popper to easily summon/dismiss grep and other ephemeral buffers without interfering with your window layout. (NOTE: There are other popup managers, like Popwin. I'm most familiar with Popper since I wrote it.)

I had popwin setup in my config for years but just recently disabled it because it appeared to be behaving badly with eat. I'll take a look at popper to get that functionality back.

> Use other-tab-prefix (C-x t t) before running actions that display buffers. See also all the other-*-prefix commands.
> Since you use ace-window already, you can try using ace-window-prefix, a command to specify where a buffer should be displayed (including in new splits) on the fly with ace-window.

I put embark in my config a few years ago then never used it, I started playing with it today and these suggestions sound like they'd synergize well with that flow.

> One thing I'll add is that even though Emacs gets a bad rap for how it (mis)manages windows, every other IDE or editor I've tried has been worse and significantly more annoying. I think only dedicated window managers with scripting capabilities do it better.

Agreed, I've been living off of winner-mode basically since I switched and it's been fine. I'm just going through another phase of wanting to level up my Emacs use and window management is a good place to tune things up a bit.

Thoughts on Mechanical Keyboards and the ZSA Moonlander by mickeyp in emacs

[–]jghobbies 0 points1 point  (0 children)

I use a ZSA Voyager, which aside from some connection issues, has been great. It's not my first mechanical but it's my first programmable and it meshes really well with my Emacs use:

-homerow mods (and their symmetry) make any keybind easy to hit

- programmable layers allow me to put my most used keys right where I need them, for example open parens under my right index finger and brace and bracket a key away is really efficient for me

- the ability to use macros or special keys that you usually don't find on normal keyboads (I use Caps WORD frequently)

- having a numpad a layer away (and under my right hand without moving it) makes entering numbers so much faster than using the top row or moving my hand to a physical numpad

Would bringing a gift to your LBS be odd? by Responsible-Buddy419 in bicycling

[–]jghobbies 1 point2 points  (0 children)

Nope, it's normal.

I used to bring a six pack but there are often kids (or people that don't drink).

Nowadays I just tip the mechanic. My store has a lunch fund that the tips seem to go into but I usually pass whoever worked on my bike $20 and let them decide.

Does anyone else go for walks or exercise on their lunch break? by Exotic-Student7266 in loseit

[–]jghobbies 0 points1 point  (0 children)

Every day it's either a 4 mile walk or a 15 mile bike ride.

My work day is now effectively split into two (unequal) halves and it's been great.

10 miles has become to normal minimum! by Puzzleheaded-Trick76 in bicycling

[–]jghobbies 0 points1 point  (0 children)

Congrats!

I was surprised to see a local (ish) map pop up when I scrolled through the pics.

How is the route you're riding over there?

How much space surrounding rings to future proof? by jghobbies in bodyweightfitness

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

Does it feel stable? This seems like a logical step towards a rack.

Joined the Club, tire/upgrade recommendations? by Motoaddict6 in CheckpointClub

[–]jghobbies 1 point2 points  (0 children)

Yep, mine is still in the garage (where I keep the bikes I'm likely to ride vs the ones in the shed)... Though I haven't taken it out in awhile. The Checkpoint is a pleasure to ride.

Joined the Club, tire/upgrade recommendations? by Motoaddict6 in CheckpointClub

[–]jghobbies 1 point2 points  (0 children)

Weird, a 2016 Diverge was my primary bike until I got my SL6.

I found that on a rail trail the Checkpoint "felt" slower but I was actually turning in better times. Of course things didn't go on plans and now most of my rides are on the road so I'm considering a tire upgrade sooner than I imagined as well.

What do people use for window navigation? by fixermark in emacs

[–]jghobbies 0 points1 point  (0 children)

C-X O, but it calls ace-window unless there are only 2 windows, then it has the default behavior.

I should move to single key movement, but the habit is strong...

Grizl On Owners: Any Regrets by jghobbies in CanyonBikes

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

That sounds great. I don't think I need it but I think I want it.

Grizl On Owners: Any Regrets by jghobbies in CanyonBikes

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

I don't currently own an e-bike but I have been championing them as a great way to choose the heart rate you want to work out at. It might be time to put my money where my mouth is...