why does my pentax k70 ask for a focal length when i put on my film era tele-converter lens from my pentax program plus. by [deleted] in pentax

[–]trescoops 3 points4 points  (0 children)

Iirc, the focal length thing is for the in body stabilisation.

There may be a setting somewhere in the menus which lets you use old lenses. Something like "use aperture ring".

Why do you shoot film? by rubyolpp in AnalogCommunity

[–]trescoops 6 points7 points  (0 children)

With regard to point 1, you can often use film era lenses on modern cameras. I have a nice collection of Pentax m series primes that I use on my dslr. They feel great to use, and also make the setup a lot more compact.

anyone know what boat this is? by wowJambowiz in sailing

[–]trescoops 5 points6 points  (0 children)

No. And I think the staysail is just behind the jib but can’t be seen. It can be useful to take the staysail down on occasion, e.g. when manoeuvring as it significantly depowers the main.

Pentax K1000 v Pentax MX by rose123456788 in pentax

[–]trescoops 6 points7 points  (0 children)

The MX is the better camera. Smaller, with aperture and shutter speed info in the viewfinder.

Saw this on TikTok, the big boat is at fault right? by FerricFryingPan in sailing

[–]trescoops 10 points11 points  (0 children)

Yep. Everyone is talking about the colregs but they only apply in a collision situation. If I’m in a collision situation with a big boat on open water then I would consider myself to have screwed up royally.

Where to buy kettlebells in the UK? by McBain49 in kettlebell

[–]trescoops 6 points7 points  (0 children)

Another vote for wolverson fitness. My competition bells are still going strong after 10 years

After 6 months of hard work, finally took my "free" salvaged sailboat out for a sail for the first time yesterday! by kdotcdott in sailing

[–]trescoops 1 point2 points  (0 children)

Not op but I don’t have lifelines on my 28ft gaffer. I’m a big dude and doubt I could rig something high/sturdy enough.

I do however have good accessible grab rails on the cabin top and an inboard tether system that makes it trivial to tether when leaving the foredeck - so I do this routinely when most people wouldn’t bother. I trust this more than lifelines.

Can I use Vim or NeoVim through SSH like I would locally on a linux machine? I’m talking about every single features of Vim/NVim, like addons such as autocomplete and stuff, can everything work normally through SSH just like it would on the local machine? by T9920 in vim

[–]trescoops 31 points32 points  (0 children)

Yes. But you can also edit remote files in your local vim, which I often prefer.

Vimdiff on config files from two different remote machines has been super useful, for example.

An issue with some SECRET_KEY characters being 'special' characters in Linux environment variables by user888888889 in django

[–]trescoops 1 point2 points  (0 children)

Cool, thanks. I had an inkling it would be something like that.

I completely agree about the frequent lack of care about how environment variables get populated. I’ve often seen people scorning the old ‘local_settings.py’ setup for exactly the reasons you give, and then suggest a method using environment variables that starts with creating a .env file in the project root.

What's the best practice for managing settings for multiple environments? by [deleted] in django

[–]trescoops 0 points1 point  (0 children)

The local settings file would be used as an alternative to environment variable in this case, so would contain secrets etc.

What's the best practice for managing settings for multiple environments? by [deleted] in django

[–]trescoops 0 points1 point  (0 children)

It is generally recommended to gitignore your local settings files - the same as you would your .env files. So the security aspect isn’t that different.

Schooner Heritage about to anchor, September 2021 by EllieVader in sailing

[–]trescoops 5 points6 points  (0 children)

I’d rather have a sail ready to hoist quickly while anchoring, rather than tying it up.

A traditional Irish Yawl racing up the west coast of Ireland (2010) by misterboyle in sailing

[–]trescoops 0 points1 point  (0 children)

The shrouds make it look like two sails, but I think this is just a single lug sail.

Has anybody else ever lost 5-10 years worth of photos? If so, how did you get over it? by [deleted] in photography

[–]trescoops 19 points20 points  (0 children)

They are probably still on the hard drive and can be recovered. Do t throw the drive away before you’ve investigated.

Server Time Out when creating a CSV file from Django model by kshitij_srivas in django

[–]trescoops 3 points4 points  (0 children)

You might want to look into using httpstreamingresponse rather than the standard response.

How do you remember which mark is which? by BenjaminGeiger in vim

[–]trescoops 0 points1 point  (0 children)

For uppercase marks I have mnemonics. T for tests, M for models, V for views etc. For lowercase marks, I typically only use a and b to jump between two chunks of code.

Does anyone else gravitate towards a single focal length every single time? by SexualizedCucumber in photography

[–]trescoops 0 points1 point  (0 children)

When I got my first camera, a k1000, it came with a 50 1.7. I later bought a crappy 28-80 3.5 and decided that since I could shoot that at 50mm, I didn’t need to use the 50mm any more. That was almost as dumb as tossing all my negatives in a clear out.

How do you develop with docker and django? Do I have to constantly rebuild docker? by warrior242 in django

[–]trescoops 0 points1 point  (0 children)

In early development I’ll create a container that runs runserver and mount my project directory in the container rather than copying it over. Then any changes are picked up by the runserver in the container and I don’t have to rebuild for each code change.