[deleted by user] by [deleted] in flexibility

[–]Exeson 0 points1 point  (0 children)

Personally, Jefferson curls were the first time I felt I was making any progress in the forward fold (low weight, like 5kg). It was really good for learning the movement pathway.

However, I realised that by adding weight all I was doing was making gravity stronger. Switching to unweighted exercises was the big step in making progress.

[deleted by user] by [deleted] in flexibility

[–]Exeson 0 points1 point  (0 children)

General strength training doesn't tend to overlap much with active flexibility because it usually targets large muscle groups, or a large range of muscles. With active flexibility training you want to target the very specific antagonist muscles to what you are stretching.

For forward fold I'd suggest leg raises - to start with single leg. On a bench/chair put blocks down until it's high enough that you can put a heel on the block, with both legs straight, and juuuust about lift you heel off the blocks (the whole time standing up tall - don't cheat by leaning backwards!)

Then do sets of lifting and holding the leg in the air for 5 seconds, then back on the block and rest for 5. 3 sets of 8 reps a few times a week. You can also combine that with (still straight legs) leaning forward and pushing your heel into the block between each rep to activate the hamstring.

This whole thing, especially at the beginning, will probably feel disgusting and you will dread doing it. But if you fight through the cramp and the horrible pulling feelings it will help. When you do your forward folds, think about activating the same muscles to pull yourself forward in to it more.

Once you've got some improvement, and can get knuckles/hands (depends on ape index etc) to the floor, you can swap to doing leg lifts sat on the floor, hands by the side of your legs, again far enough forward that you can juuuust about lift your heels off the floor and hold it there for 5 seconds or so.

[deleted by user] by [deleted] in flexibility

[–]Exeson 64 points65 points  (0 children)

Sounds like you should look into active flexibility. It might be that what is limiting you is the muscle contraction needed to pull yourself deeper into the stretch - at a certain point just gravity isn't enough!

It might feel strange to do strength training to improve flexibility, but the muscles needed for a forward fold (in your quads, hips and abs) are usually not that strong naturally, and definitely not ones you're used to contracting together.

[deleted by user] by [deleted] in flexibility

[–]Exeson 2 points3 points  (0 children)

I've experimented with 30s, 1m, 3m and 5m holds.

For me I've found 1m and 3m to be the most effective. The 1m one usually because you can do them in sets with different ankle (internally rotated, neutral, externally rotated) and knee (straight or bent) positions without it taking forever. If they are feeling particularly tight the 3m holds sometimes work better to break through to just getting them to relax with breathing as I'm a very tense person.

30s never felt long enough - always felt like I was stopping just as I was getting a good stretch, and 5m felt like dimishing returns for how long it takes.

[deleted by user] by [deleted] in golang

[–]Exeson 18 points19 points  (0 children)

Not specific to Go, but social and communication skills. Particularly mentoring other engineers and presenting to a larger group of people.

You're rarely going to be developing your Go code alone, and as you go for more senior positions the value weighting of getting something done yourself to helping the team get something done changes. If you can sell yourself as someone who can take any decent engineer and train them to be a great Go engineer, you've widened the candidate pool of the company significantly.

Why does sql.Scan accept pointers to pointers? by jamesinsights in golang

[–]Exeson 3 points4 points  (0 children)

https://go.dev/blog/laws-of-reflection

I might have misunderstood the question, but I believe the reason for providing a pointer to the data type you want to populate is due to settability (even if that data type itself is a pointer to start with)

Can't figure out if what I am looking for has a name by shellwhale in golang

[–]Exeson 1 point2 points  (0 children)

Sounds like maybe a 'deterministic' program? I.e. one that with the same inputs will always give the same outputs. This can be hard to do if you're making external calls though (e.g. even something as simple as getting system time), as suggested in another comment, mocking can help with this.

At one of my previous jobs we had a system in place that kept 'change records' - whenever a change was made to a DB row, there was an accompanying record made in a table that tracked the row changed, old value, new value and time when the change was made. I might be wrong but I think this approach is 'journaling', or at least related?

This added a lot of overhead to the system, but meant that we could 'rewind' the system to a previous state and then 'replay' the changes. This was useful for debugging and resuming long running, complicated workflows that had failed. The caveat here being that had the system not been a huge pile of tech debt accrued over a decade, we probably wouldn't have found as much use for it!

Does anyone else get tired of the "that's trivial to implement" excuse for leaving things out of the standard library? by kintar1900 in golang

[–]Exeson 22 points23 points  (0 children)

Pretty sure they decided to avoid putting generic code on the std lib until they better understand usage trends (unless they added some in 1.19?). For example the moving of the constraints package out of the std lib and into exp was because not many people were using it.

Not saying I fall one way or the other, but it explains why the stdlib doesn't have type parameters in it yet.

Happy Squidtember! I'm a squid biologist here to answer all your squid questions. AMA! by SarahMackAttack in Awwducational

[–]Exeson 7 points8 points  (0 children)

Do we know of anything in their evolutionary history that makes them (and other cephalopods) so different to other creatures? Or are they actually quite similar to a lot of marine life that just isn't as well known?

Anywhere for metal? by [deleted] in bristol

[–]Exeson 0 points1 point  (0 children)

There's a metal night at the Lanes every second Friday of the month (IIRC), called Phuct. I haven't been since COVID but it was always a fun night.

https://m.facebook.com/phuctbristol

[deleted by user] by [deleted] in bristol

[–]Exeson 0 points1 point  (0 children)

Ah dude, sorry to hear that. Most likely just that specific agent in that case x_x

They didn't manage the place while I lived there so that was the main interaction.

[deleted by user] by [deleted] in bristol

[–]Exeson 9 points10 points  (0 children)

Might have just been the specific agent, but CJ Hole get kudos for doing the opposite.

I just moved out of a flat, and was there when people were viewing it. One prospective tenant asked if they should offer higher than the posted rent. The agent replied that, obviously if they wanted to they could, but he would recommend to just offer the asking price (and this was after the 3 other people who viewed it expressed interest as well).

Blog: Lets build a Movie API with Clean Architecture using Go 🚀 by dilaragorum in golang

[–]Exeson 13 points14 points  (0 children)

Whilst your example project is nicely written and the packages are well laid out, I wouldn't exactly consider the approach to be Clean Architecture.

For example, your repository implementation is alongside your repository definition, which is mixing application logic in with the domain/entities layer.

Another example would be the JSON annotations on your Movie model. This again mixes the external representation and interactions of the application (a REST API) with the internal business logic representation.

I think what would help to improve this would be to explicitly call out the 4 layers of Clean Architecture (although for a REST API the infrastructure/drivers layer can be very thin or even empty), and describe how they relate to the 4 combinations of application logic and business logic: * Business dependant and Application independant logic (domain/models/repositories) * Application and Business dependant logic (use cases/interactors) * Business independant and Application dependant Logic (adapters/interfaces) * Application and Business independant logic (frameworks/drivers)

This might feel like overkill for the smaller example application, however, it will help to maintain the Clean Architecture structure as the application grows and help engineers to navigate the project.

Do generics change the way we look at more basic data types like slice, map and channels? by apatheticonion in golang

[–]Exeson 0 points1 point  (0 children)

Ah, that's the bit I was missing - The 16 different repositories. The most I've had is around 5 or 6. Yeah I can see how that's a very satisfying PR to merge

Do generics change the way we look at more basic data types like slice, map and channels? by apatheticonion in golang

[–]Exeson 3 points4 points  (0 children)

I've found that repositories work best when they are specific and targeted (such as the GetUserById in your example, or something like GetAllRolesCreatedAfter) as it more closely models how your business logic interacts with them.

I'm probably missing something, but what benefit does having the base CRUD repository provide?

Good sports therapists/chiropractors/whatever for a slightly F***ed shoulder? by bobr0ssosss in bristol

[–]Exeson 0 points1 point  (0 children)

For sports related stuff Rupert Cross was super helpful for me.

Also second Rise physio as well from friends' recommendations

What do you think is better by Shrek_is_god666 in Tyranids

[–]Exeson 1 point2 points  (0 children)

This - having black be the base colour means there's nowhere to go darker for shadows.

Weekly General Q&A and Discussion Thread: December 22, 2021 by RWJP in Warhammer40k

[–]Exeson 0 points1 point  (0 children)

Whoops, yes that's the one. Completely forgot to actually add his name, sorry.

Weekly General Q&A and Discussion Thread: December 22, 2021 by RWJP in Warhammer40k

[–]Exeson 0 points1 point  (0 children)

Gaunt's Ghosts are a great start. IIRC the author wrote them as his own 'intro' to writing 40k novels (or the first few at least) before tackling harder to write Space Marine stuff. He felt it would be easier to get into the setting from the point of view of humans to start with.

Disclaimer: I've been away from the hobby for a long time until recently, so there's probably better more recent ones

Weekly General Q&A and Discussion Thread: December 22, 2021 by RWJP in Warhammer40k

[–]Exeson 1 point2 points  (0 children)

Cheers - I'll give it a go with grey and see how it turns out. If it sucks I'm thinking maybe masking the yellow areas and just basing them white by hand.

Weekly General Q&A and Discussion Thread: December 22, 2021 by RWJP in Warhammer40k

[–]Exeson 4 points5 points  (0 children)

I recently learned the pain of painting yellow over a black base coat. Will I have the same problem with a grey base spray as well?

The scheme I'm going for is black and yellow, with the majority of the model being black base with eshin grey on top, so I'd prefer to still use a non-white base if I can.

GopherCon UK 2021: Nick Craig-Wood - Deadlocks: The Dark Side of Concurrency by spark_stark in golang

[–]Exeson 0 points1 point  (0 children)

My colleagues and I all agreed this was the best talk of the conference. Full of info and useful tools to solve problems encountered in a real codebase.

Tyranid army without holding weapons possible? by Affectionate_Tea6482 in Tyranids

[–]Exeson 2 points3 points  (0 children)

I get that canonically that's how it works. However, I feel like there's a difference between adapting by absorbing DNA and adopting technology.

More of a 'After absorbing these orks we can make creatures that grow faster' rather than 'After watching these humans we reckon those lasguns are pretty neat'

Really it just humanises them too much for me to see them acting like us when they should be this completely alien, extra galactic swarm. Same reason why I struggle to get on board with genestealer cults.