u/embwbam

Backroll handrag very different right vs left

Backroll handrag very different right vs left

Hoping someone with experience can help me figure this out. When I do a backroll handdrag going right, it feels tight and small, and I end up riding in the same direction I was originally riding. When I try it to left, the back hand loop feels huge, stops my forward momentum, and sends me fully past downwind in the opposite direction. Why? One clue might be that my right arm (used to pull the back hand loop while going left) has an injury in the elbow I am rehabilitating, so it might not be as strong.

Follow-up question: occasionally when I try one of these, I over rotate and eat loads of shit, landing on my back and hurtning my neck. Do you have to get the rotation correct on takeoff, or can you choose how many times to rotate in the air with the loop timing and body position?

Any advice??

EDIT: I found a tutorial by Steven Akkersdijk that casts some light on this. I need to have the bar between my fingers to control steering better. The "bigger" loop that stops your momentum is more correct, but I need to pull it later (at 11 on the back hand side) to make it smaller.

u/embwbam — 1 day ago
▲ 36 r/haskell

[ANN] Hyperbole 0.7 - Multipart file uploads, push triggers and events immediately

There were many changes and improvements, but the biggest new feature is Multipart Form file uploads. It works with the default settings using a secure configuration, but can be configured as desired.

trigger and pushEvent now send immediately over the socket rather than deferring until a request returns. This allows long-running actions to update other HyperViews.

See the full changelog here!

Thanks to everyone who contributed to this release, but especially to Jens Krause, who brought our Nix compatibility up to speed, improved examples, and greatly improved out CI

reddit.com
u/embwbam — 2 months ago
▲ 11 r/haskell

Haddock pre-processor to insert type-checked examples

What already exists that compile-checks haddock examples?

While working on hyperbole, I realized I don't have enough discipline/attention to keep haddock examples correct as the package changes over time. (Discipline is the compiler's job!)

I wrote a custom pre-processor that replaces little `#EMBED` macros in the haddock with a top-level definition from a compiled module. It works like this:

{- | Run a 'Page' and return a 'Response'

@
#EMBED Example.Docs.BasicPage main

#EMBED Example.Docs.BasicPage page
@
-}

Goes to the module Example.Docs.BasicPage and finds `main` and `page`, ending up with this:

{- | Run a 'Page' and return a 'Response'

@
main :: IO ()
main = do
  run 3000 $ liveApp quickStartDocument (runPage hello)

page :: Page es '[]
page = do
  pure $ messageView "Hello World"
@
-}

-----------

It turns out to be a major pain to get a local pre-processor working without publishing it to hackage. I'm considering doing just that, but first I wanted to ask: what already exists to solve this problem?

I'm aware of doctest, but that only seems to check small `>>>` examples. I don't think it can accomplish what I'm asking for above.

u/embwbam — 3 months ago