Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #80030 > unrolled thread

This Is a Job For - Polarizing Film ?

Started byc186282 <c186282@nnada.net>
First post2025-12-29 05:31 -0500
Last post2026-01-02 07:25 +0000
Articles 20 on this page of 88 — 14 participants

Back to article view | Back to comp.os.linux.misc


Contents

  This Is a Job For - Polarizing Film ? c186282 <c186282@nnada.net> - 2025-12-29 05:31 -0500
    Re: This Is a Job For - Polarizing Film ? c186282 <c186282@nnada.net> - 2025-12-29 11:25 -0500
      Re: This Is a Job For - Polarizing Film ? Peter 'Shaggy' Haywood <phaywood@alphalink.com.au> - 2026-01-01 14:29 +1100
        Re: This Is a Job For - Polarizing Film ? The Natural Philosopher <tnp@invalid.invalid> - 2026-01-01 13:22 +0000
          Re: This Is a Job For - Polarizing Film ? c186282 <c186282@nnada.net> - 2026-01-01 23:22 -0500
            Re: This Is a Job For - Polarizing Film ? rbowman <bowman@montana.com> - 2026-01-02 07:29 +0000
              Re: This Is a Job For - Polarizing Film ? c186282 <c186282@nnada.net> - 2026-01-02 06:08 -0500
                Re: This Is a Job For - Polarizing Film ? rbowman <bowman@montana.com> - 2026-01-03 01:34 +0000
                  Re: This Is a Job For - Polarizing Film ? c186282 <c186282@nnada.net> - 2026-01-02 21:19 -0500
                    Re: This Is a Job For - Polarizing Film ? rbowman <bowman@montana.com> - 2026-01-03 21:55 +0000
            Re: This Is a Job For - Polarizing Film ? "Carlos E.R." <robin_listas@es.invalid> - 2026-01-02 11:45 +0100
              Re: This Is a Job For - Polarizing Film ? c186282 <c186282@nnada.net> - 2026-01-02 06:16 -0500
                Re: This Is a Job For - Polarizing Film ? Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2026-01-02 17:10 +0000
                  Re: This Is a Job For - Polarizing Film ? c186282 <c186282@nnada.net> - 2026-01-02 14:55 -0500
                    Re: This Is a Job For - Polarizing Film ? "Carlos E.R." <robin_listas@es.invalid> - 2026-01-02 22:07 +0100
                Re: This Is a Job For - Polarizing Film ? "Carlos E.R." <robin_listas@es.invalid> - 2026-01-02 22:19 +0100
                Re: This Is a Job For - Polarizing Film ? rbowman <bowman@montana.com> - 2026-01-03 01:42 +0000
                  Re: This Is a Job For - Polarizing Film ? c186282 <c186282@nnada.net> - 2026-01-02 21:21 -0500
                    Re: This Is a Job For - Polarizing Film ? Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2026-01-03 08:46 +0000
                      Re: This Is a Job For - Polarizing Film ? "Carlos E.R." <robin_listas@es.invalid> - 2026-01-03 14:35 +0100
                      Re: Sun Position (was Re: This Is a Job For - Polarizing Film ?) Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-01-03 22:00 +0000
        Re: This Is a Job For - Polarizing Film ? Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2026-01-01 14:50 +0000
          Re: This Is a Job For - Polarizing Film ? c186282 <c186282@nnada.net> - 2026-01-02 02:22 -0500
            DUC[KT] tape Lars Poulsen <lars@beagle-ears.com> - 2026-01-02 14:48 +0000
              Re: DUC[KT] tape Andy Burns <usenet@andyburns.uk> - 2026-01-02 14:56 +0000
                Re: DUC[KT] tape c186282 <c186282@nnada.net> - 2026-01-02 10:21 -0500
                  Re: DUC[KT] tape rbowman <bowman@montana.com> - 2026-01-03 01:58 +0000
                Re: DUC[KT] tape Peter 'Shaggy' Haywood <phaywood@alphalink.com.au> - 2026-01-05 11:28 +1100
                  Re: DUC[KT] tape Andy Burns <usenet@andyburns.uk> - 2026-01-06 13:32 +0000
                  Re: DUC[KT] tape Robert Riches <spamtrap42@jacob21819.net> - 2026-01-07 02:14 +0000
                    Re: DUC[KT] tape c186282 <c186282@nnada.net> - 2026-01-06 22:42 -0500
                      Re: DUC[KT] tape Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-01-07 06:33 +0000
                        Re: DUC[KT] tape The Natural Philosopher <tnp@invalid.invalid> - 2026-01-07 09:33 +0000
                        Re: DUC[KT] tape c186282 <c186282@nnada.net> - 2026-01-07 18:45 -0500
                          Re: DUC[KT] tape Peter 'Shaggy' Haywood <phaywood@alphalink.com.au> - 2026-01-09 12:13 +1100
                            Re: DUC[KT] tape rbowman <bowman@montana.com> - 2026-01-10 02:52 +0000
                              Re: DUC[KT] tape Andy Burns <usenet@andyburns.uk> - 2026-01-10 10:20 +0000
                                Re: DUC[KT] tape rbowman <bowman@montana.com> - 2026-01-10 20:07 +0000
                                  Re: DUC[KT] tape c186282 <c186282@nnada.net> - 2026-01-10 20:45 -0500
                                    Re: DUC[KT] tape rbowman <bowman@montana.com> - 2026-01-11 06:02 +0000
                                      Re: DUC[KT] tape c186282 <c186282@nnada.net> - 2026-01-11 01:30 -0500
                                        Re: DUC[KT] tape rbowman <bowman@montana.com> - 2026-01-11 22:17 +0000
                                          Re: DUC[KT] tape Peter 'Shaggy' Haywood <phaywood@alphalink.com.au> - 2026-01-16 12:32 +1100
                                    Re: DUC[KT] tape The Natural Philosopher <tnp@invalid.invalid> - 2026-01-11 12:04 +0000
                    Re: DUC[KT] tape vs Gaffer tape Lars Poulsen <lars@beagle-ears.com> - 2026-01-07 14:40 +0000
              Re: DUC[KT] tape c186282 <c186282@nnada.net> - 2026-01-02 10:16 -0500
                Re: DUC[KT] tape rbowman <bowman@montana.com> - 2026-01-03 01:59 +0000
              Re: DUC[KT] tape rbowman <bowman@montana.com> - 2026-01-03 01:48 +0000
                Re: DUC[KT] tape c186282 <c186282@nnada.net> - 2026-01-02 21:39 -0500
                  Re: DUC[KT] tape The Natural Philosopher <tnp@invalid.invalid> - 2026-01-03 08:42 +0000
                    Re: DUC[KT] tape c186282 <c186282@nnada.net> - 2026-01-03 07:09 -0500
                      Re: DUC[KT] tape The Natural Philosopher <tnp@invalid.invalid> - 2026-01-03 13:58 +0000
                    Re: DUC[KT] tape rbowman <bowman@montana.com> - 2026-01-03 21:35 +0000
                      Re: DUC[KT] tape c186282 <c186282@nnada.net> - 2026-01-03 16:56 -0500
                        Re: DUC[KT] tape The Natural Philosopher <tnp@invalid.invalid> - 2026-01-03 23:01 +0000
                        Re: DUC[KT] tape Lars Poulsen <lars@beagle-ears.com> - 2026-01-03 23:38 +0000
                          Re: DUC[KT] tape c186282 <c186282@nnada.net> - 2026-01-03 19:51 -0500
                            Re: DUC[KT] tape rbowman <bowman@montana.com> - 2026-01-04 05:42 +0000
                              Re: DUC[KT] tape The Natural Philosopher <tnp@invalid.invalid> - 2026-01-04 11:02 +0000
                                Re: DUC[KT] tape rbowman <bowman@montana.com> - 2026-01-05 00:31 +0000
                            Re: DUC[KT] tape The Natural Philosopher <tnp@invalid.invalid> - 2026-01-04 10:56 +0000
                          Re: DUC[KT] tape "Worst Case"@dizum.com - 2026-01-04 19:05 +0100
                          Re: DUC[KT] tape "Worst Case"@dizum.com - 2026-01-04 21:07 +0100
                        Re: DUC[KT] tape Richard Kettlewell <invalid@invalid.invalid> - 2026-01-03 23:41 +0000
                          Re: DUC[KT] tape c186282 <c186282@nnada.net> - 2026-01-03 20:31 -0500
                            Re: DUC[KT] tape Richard Kettlewell <invalid@invalid.invalid> - 2026-01-04 10:48 +0000
                              Re: DUC[KT] tape The Natural Philosopher <tnp@invalid.invalid> - 2026-01-04 10:53 +0000
                          Re: DUC[KT] tape The Natural Philosopher <tnp@invalid.invalid> - 2026-01-04 10:52 +0000
                        Re: DUC[KT] tape rbowman <bowman@montana.com> - 2026-01-04 06:05 +0000
                  Re: DUC[KT] tape Lars Poulsen <lars@beagle-ears.com> - 2026-01-03 14:26 +0000
        Re: This Is a Job For - Polarizing Film ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-01-01 19:21 +0000
          Re: This Is a Job For - Polarizing Film ? c186282 <c186282@nnada.net> - 2026-01-02 02:56 -0500
            Re: This Is a Job For - Polarizing Film ? Peter 'Shaggy' Haywood <phaywood@alphalink.com.au> - 2026-01-03 00:50 +1100
            Re: This Is a Job For - Polarizing Film ? rbowman <bowman@montana.com> - 2026-01-03 01:21 +0000
            Re: This Is a Job For - Polarizing Film ? "Carlos E.R." <robin_listas@es.invalid> - 2026-01-05 12:44 +0100
        Re: This Is a Job For - Polarizing Film ? rbowman <bowman@montana.com> - 2026-01-01 21:48 +0000
          Re: This Is a Job For - Polarizing Film ? "Rinaldi J. Montessi" <rinaldij@alien.free> - 2026-01-01 17:23 -0600
            Re: This Is a Job For - Polarizing Film ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-01-01 23:56 +0000
              Re: This Is a Job For - Polarizing Film ? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-01-02 02:18 +0000
                Re: This Is a Job For - Polarizing Film ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-01-02 05:02 +0000
                  Re: This Is a Job For - Polarizing Film ? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-01-02 06:04 +0000
                    Re: This Is a Job For - Polarizing Film ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-01-02 21:27 +0000
                      Re: This Is a Job For - Polarizing Film ? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-01-03 00:18 +0000
                      Re: This Is a Job For - Polarizing Film ? c186282 <c186282@nnada.net> - 2026-01-02 21:44 -0500
                        Re: This Is a Job For - Polarizing Film ? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-01-03 06:09 +0000
                          Re: This Is a Job For - Polarizing Film ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-01-03 08:41 +0000
                            Re: This Is a Job For - Polarizing Film ? "Carlos E.R." <robin_listas@es.invalid> - 2026-01-05 12:52 +0100
            Re: This Is a Job For - Polarizing Film ? rbowman <bowman@montana.com> - 2026-01-02 07:25 +0000

Page 1 of 5  [1] 2 3 4 5  Next page →


#80030 — This Is a Job For - Polarizing Film ?

Fromc186282 <c186282@nnada.net>
Date2025-12-29 05:31 -0500
SubjectThis Is a Job For - Polarizing Film ?
Message-ID<jAadnVZDy90Jxc_0nZ2dnZfqn_udnZ2d@giganews.com>
Outdoor pole light, surveillance cam.

Cut away the veggies the other day. Now the light
is a giant bloom in the camera image. Gotta crank
the camera up for night, which makes it extra
bad.

They DO sell cheap adhesive polarizing film.

Idea ... one and a half windows on the light
face the camera. Apply the film to them. Then
a small filter - cross polarized - on the
camera.

MIGHT help a lot.

[toc] | [next] | [standalone]


#80057

Fromc186282 <c186282@nnada.net>
Date2025-12-29 11:25 -0500
Message-ID<QFedneBAf6wYNs_0nZ2dnZfqn_idnZ2d@giganews.com>
In reply to#80030
On 12/29/25 05:31, c186282 wrote:
> Outdoor pole light, surveillance cam.
> 
> Cut away the veggies the other day. Now the light
> is a giant bloom in the camera image. Gotta crank
> the camera up for night, which makes it extra
> bad.
> 
> They DO sell cheap adhesive polarizing film.
> 
> Idea ... one and a half windows on the light
> face the camera. Apply the film to them. Then
> a small filter - cross polarized - on the
> camera.
> 
> MIGHT help a lot.

   Had some non-stick film, and duck tape. SEEMS
   to make the light look black, at least in the
   daytime. Gotta wait for dark.

   Sometimes it's not a software-addressable issue.

[toc] | [prev] | [next] | [standalone]


#80229

FromPeter 'Shaggy' Haywood <phaywood@alphalink.com.au>
Date2026-01-01 14:29 +1100
Message-ID<h96h2m-lc1.ln1@otis.foo>
In reply to#80057
Groovy hepcat c186282 was jivin' in comp.os.linux.misc on Tue, 30 Dec
2025 03:25 am. It's a cool scene! Dig it.

>    Had some non-stick film, and duck tape. SEEMS

  Forgive the spelling correction here; but unless it quacks and
waddles, that's duct tape. :)

-- 


----- Dig the NEW and IMPROVED news sig!! -----


-------------- Shaggy was here! ---------------
              Ain't I'm a dawg!!

[toc] | [prev] | [next] | [standalone]


#80232

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2026-01-01 13:22 +0000
Message-ID<10j5sed$3etcd$11@dont-email.me>
In reply to#80229
On 01/01/2026 03:29, Peter 'Shaggy' Haywood wrote:
> Groovy hepcat c186282 was jivin' in comp.os.linux.misc on Tue, 30 Dec
> 2025 03:25 am. It's a cool scene! Dig it.
> 
>>     Had some non-stick film, and duck tape. SEEMS
> 
>    Forgive the spelling correction here; but unless it quacks and
> waddles, that's duct tape. :)
> 
Are you sure?
https://www.therange.co.uk/decorating/adhesives-and-fillers/duck-cloth-tape

-- 
“it should be clear by now to everyone that activist environmentalism 
(or environmental activism) is becoming a general ideology about humans, 
about their freedom, about the relationship between the individual and 
the state, and about the manipulation of people under the guise of a 
'noble' idea. It is not an honest pursuit of 'sustainable development,' 
a matter of elementary environmental protection, or a search for 
rational mechanisms designed to achieve a healthy environment. Yet 
things do occur that make you shake your head and remind yourself that 
you live neither in Joseph Stalin’s Communist era, nor in the Orwellian 
utopia of 1984.”

Vaclav Klaus

[toc] | [prev] | [next] | [standalone]


#80265

Fromc186282 <c186282@nnada.net>
Date2026-01-01 23:22 -0500
Message-ID<wY6dnRtFXIaK1cr0nZ2dnZfqnPSdnZ2d@giganews.com>
In reply to#80232
On 1/1/26 08:22, The Natural Philosopher wrote:
> On 01/01/2026 03:29, Peter 'Shaggy' Haywood wrote:
>> Groovy hepcat c186282 was jivin' in comp.os.linux.misc on Tue, 30 Dec
>> 2025 03:25 am. It's a cool scene! Dig it.
>>
>>>     Had some non-stick film, and duck tape. SEEMS
>>
>>    Forgive the spelling correction here; but unless it quacks and
>> waddles, that's duct tape. :)
>>
> Are you sure?
> https://www.therange.co.uk/decorating/adhesives-and-fillers/duck-cloth-tape

   It was originally "DUCK tape" ... water-resistant tape.

   Not sure where it became more often called "DUCT" tape ...
   likely a competing manufacturer trying to avoid brand
   name conflicts.

   Note that "Gorilla" black "duct" tape does NOT do well
   in warm environs ... the glue goes soft. There are
   some "military" tapes that resist that well and the
   old time 3M silver tape is pretty good too.

   As for the effectiveness of my camera fix ... pretty
   good actually. Cut like 90% of the glare from the
   post light. This is not an IR cam, so I have to
   turn the gain up a lot at night to get any detail
   in the area the light illuminates. And no, simple
   software masking of the light is NOT useful because
   that's a "post" operation, the sensor STILL gets
   the gigantic light bloom.

   Gonna order some of the self-stick p-film soon, which
   will be much neater, and make a slide-on filter for
   the camera lens (pretty easy, cardboard & glue).

   My little Python daemon for switching day/night modes
   relative to a US Navy sunrise/sunset table is now
   working very well. There WERE 'blanks' in the table
   which messed up the simple parsing, but I just manually
   put fake times in there and now everything's cool.
   There's a 'day' and 'night' shell script with a bunch
   of v4l2 command lines.

   Two CL params that let you select how many minutes
   to add/subtract from the REAL time, then compared
   to the table times. East-facing cams have to be
   switched to day mode earlier, and to night mode
   not so soon. West-facing, kind of the opposite.
   Root crontab starts the daemon, the params are
   supplied on that line and won't change worth
   mentioning during the year.

   "Blanks" ... not every month has 31 days. They'd just
   put in spaces. Using "  " as field markers did not
   work with a bunch of spaces and the cruder method
   of literally counting single spaces to reach the
   desired field seemed too messy. Cheating was easier.

   'Motion' WAS trying to do 'auto-bright' on one unit,
   which was fighting with the v4l2 settings. Disabled.

[toc] | [prev] | [next] | [standalone]


#80286

Fromrbowman <bowman@montana.com>
Date2026-01-02 07:29 +0000
Message-ID<mrpae3FqpumU9@mid.individual.net>
In reply to#80265
On Thu, 1 Jan 2026 23:22:42 -0500, c186282 wrote:

>    Note that "Gorilla" black "duct" tape does NOT do well in warm
>    environs ... the glue goes soft. There are some "military" tapes that
>    resist that well and the old time 3M silver tape is pretty good too.

I used some to repair a tear in a motorcycle saddle. Not a good idea. The 
glue might not stick to the tape backing but it's a bitch to get off the 
leather.

[toc] | [prev] | [next] | [standalone]


#80299

Fromc186282 <c186282@nnada.net>
Date2026-01-02 06:08 -0500
Message-ID<64OdnbtA67ypOsr0nZ2dnZfqnPudnZ2d@giganews.com>
In reply to#80286
On 1/2/26 02:29, rbowman wrote:
> On Thu, 1 Jan 2026 23:22:42 -0500, c186282 wrote:
> 
>>     Note that "Gorilla" black "duct" tape does NOT do well in warm
>>     environs ... the glue goes soft. There are some "military" tapes that
>>     resist that well and the old time 3M silver tape is pretty good too.
> 
> I used some to repair a tear in a motorcycle saddle. Not a good idea. The
> glue might not stick to the tape backing but it's a bitch to get off the
> leather.

   "Gorilla" ???

   Anyway, I note THAT tape is NOT good with anything
   that gets warm. This is not an indictment of "duck/
   duct" tape in general, just that particular brand.
   INDOORS, cooler environs, and "Gorilla" is just
   fine and nicely sticky.

   As for the glue ... it's SUPPOSED to stick. Expect
   to use mineral spirits or similar to get residue off.

   Motorcycle seats, had MANY, a real pain in the ass
   when they get damaged. Almost always tight-stretched
   PVC sheet on the outside. Best 'fix', something
   that COVERS the PVC  :-)

   Hmmm ... funnest motorcycle seat project ... fitting
   a Russian Ural seat to a Sportster. Some tabs had to
   be welded on. Set FIRE to the Russian packing that
   did NOT diminish. Had to plunge the whole thing into
   water for a few hours  :-)

   I was a couple inches too tall for a Sportster, the
   Russian bench seat was a couple inches higher. Made
   the bike MUCH nicer.

[toc] | [prev] | [next] | [standalone]


#80378

Fromrbowman <bowman@montana.com>
Date2026-01-03 01:34 +0000
Message-ID<mrra0dF6n51U5@mid.individual.net>
In reply to#80299
On Fri, 2 Jan 2026 06:08:37 -0500, c186282 wrote:

>    Motorcycle seats, had MANY, a real pain in the ass when they get
>    damaged. Almost always tight-stretched PVC sheet on the outside. Best
>    'fix', something that COVERS the PVC

I recovered a Yamaha Seca seat with vinyl.

https://www.classicbikehub.uk/reviews/article/seca06030100/

The contours weren't too complex and I managed a credible job using a heat 
gun and stapler.

Any photos I can find for the Corbin DR650 saddle look like they use vinyl 
now. Mine is leather and where the nose angles up sharply for the 
aftermarket tank there is a sewn seam. Next year I plan to put the stock 
tank and saddle back on. My long ride days are over so I don't need the 
extra fuel capacity.  The stock seat was a torture device after a couple 
of hundred miles to the Corbin wasn't that much better.

[toc] | [prev] | [next] | [standalone]


#80386

Fromc186282 <c186282@nnada.net>
Date2026-01-02 21:19 -0500
Message-ID<r_6cnTJBc8JY4cX0nZ2dnZfqnPadnZ2d@giganews.com>
In reply to#80378
On 1/2/26 20:34, rbowman wrote:
> On Fri, 2 Jan 2026 06:08:37 -0500, c186282 wrote:
> 
>>     Motorcycle seats, had MANY, a real pain in the ass when they get
>>     damaged. Almost always tight-stretched PVC sheet on the outside. Best
>>     'fix', something that COVERS the PVC
> 
> I recovered a Yamaha Seca seat with vinyl.
> 
> https://www.classicbikehub.uk/reviews/article/seca06030100/

   How'd you get the plastic stretched back tight ?

> The contours weren't too complex and I managed a credible job using a heat
> gun and stapler.
> 
> Any photos I can find for the Corbin DR650 saddle look like they use vinyl
> now. Mine is leather and where the nose angles up sharply for the
> aftermarket tank there is a sewn seam. Next year I plan to put the stock
> tank and saddle back on. My long ride days are over so I don't need the
> extra fuel capacity.  The stock seat was a torture device after a couple
> of hundred miles to the Corbin wasn't that much better.

   My Sportster seat was pure torture. That's why I fitted
   a Ural bench seat instead.

[toc] | [prev] | [next] | [standalone]


#80435

Fromrbowman <bowman@montana.com>
Date2026-01-03 21:55 +0000
Message-ID<mrthj2Fi6mnU3@mid.individual.net>
In reply to#80386
On Fri, 2 Jan 2026 21:19:46 -0500, c186282 wrote:

>   How'd you get the plastic stretched back tight ?

Heat gun. It requires a light touch or you melt the vinyl but the backing 
material has some stretch. I started in the middle, stapled the material 
to the pan, and worked towards the ends.

>    My Sportster seat was pure torture. That's why I fitted a Ural bench
>    seat instead.

I developed an interest in roadside attractions before replacing it with a 
Mustang.

https://mustangseats.com/products/wide-touring-solo-for-harley-davidson-
sportster-2004-2022

I didn't get the backrest. It was a vast improvement. Another mystery in 
life is how HD can build something that looks like a seat but is a torture 
device when third parties can supply something comfortable.

Mine had conchos but so did the LeatherLyke hard saddlebags so it didn't 
look too strange. It's pretty ratty now so I put the original ass buster 
back on. It works for around town. 


[toc] | [prev] | [next] | [standalone]


#80295

From"Carlos E.R." <robin_listas@es.invalid>
Date2026-01-02 11:45 +0100
Message-ID<37kk2mx89i.ln2@Telcontar.valinor>
In reply to#80265
On 2026-01-02 05:22, c186282 wrote:
>    My little Python daemon for switching day/night modes
>    relative to a US Navy sunrise/sunset table is now
>    working very well. There WERE 'blanks' in the table
>    which messed up the simple parsing, but I just manually
>    put fake times in there and now everything's cool.
>    There's a 'day' and 'night' shell script with a bunch
>    of v4l2 command lines.

There are functions out there that tells you the time of sunrise and 
sundown. You just input latitude, longitude, and day.

-- 
Cheers, Carlos.
ES🇪🇸, EU🇪🇺;

[toc] | [prev] | [next] | [standalone]


#80302

Fromc186282 <c186282@nnada.net>
Date2026-01-02 06:16 -0500
Message-ID<64OdnbpA67ybNMr0nZ2dnZfqnPudnZ2d@giganews.com>
In reply to#80295
On 1/2/26 05:45, Carlos E.R. wrote:
> On 2026-01-02 05:22, c186282 wrote:
>>    My little Python daemon for switching day/night modes
>>    relative to a US Navy sunrise/sunset table is now
>>    working very well. There WERE 'blanks' in the table
>>    which messed up the simple parsing, but I just manually
>>    put fake times in there and now everything's cool.
>>    There's a 'day' and 'night' shell script with a bunch
>>    of v4l2 command lines.
> 
> There are functions out there that tells you the time of sunrise and 
> sundown. You just input latitude, longitude, and day.

   Um .. name 'em.

   Can Python get the output ?

   It was just EASIEST to download the Naval Observatory
   table. Besides, I can LOOK at it.

   Note that a Datetime Python function, datetime.datetime.dst(),
   suddenly started giving me WRONG answers ... was convinced
   it was DST when it wasn't. This was near the end of a 31 day
   month, which echoes the probs I had with the Navy table.

   Switched to searching CL "date" for the right letters.
   THAT worked.

[toc] | [prev] | [next] | [standalone]


#80325

FromMike Scott <usenet.16@scottsonline.org.uk.invalid>
Date2026-01-02 17:10 +0000
Message-ID<10j8u5d$if6a$1@dont-email.me>
In reply to#80302
On 02/01/2026 11:16, c186282 wrote:
>> There are functions out there that tells you the time of sunrise and 
>> sundown. You just input latitude, longitude, and day.
> 
>    Um .. name 'em.
> 
>    Can Python get the output ?

https://pypi.org/project/suntime/


-- 
Mike Scott
Harlow, England

[toc] | [prev] | [next] | [standalone]


#80339

Fromc186282 <c186282@nnada.net>
Date2026-01-02 14:55 -0500
Message-ID<Va2dnck_UrdPv8X0nZ2dnZfqnPWdnZ2d@giganews.com>
In reply to#80325
On 1/2/26 12:10, Mike Scott wrote:
> On 02/01/2026 11:16, c186282 wrote:
>>> There are functions out there that tells you the time of sunrise and 
>>> sundown. You just input latitude, longitude, and day.
>>
>>    Um .. name 'em.
>>
>>    Can Python get the output ?
> 
> https://pypi.org/project/suntime/
> 

   I installed it and saved the example. I'll fool around with
   it and see. Next month is a short month, I wonder if it will
   freak out ?

   Haven't looked at the actual lib yet, so I'm not sure how
   they're calculating it all. There are mathematical ways
   OR maybe they just downloaded and compressed the table
   I'm using ?

   Quick peek, there are trig functions in there, so it
   must be a math approach.

   Note, 'time.daylight' is back to reporting the
   correct value. However Dec 31, maybe 30, it
   was NOT. This function uses the time zone and
   clock your system is using ... ie it's good
   for YOU. datetime.dst() requires you to provide
   a timezone and a time so it's more complicated.

   For now I'll just stick to capturing "date" and
   searching for "DST". The system knows.

[toc] | [prev] | [next] | [standalone]


#80357

From"Carlos E.R." <robin_listas@es.invalid>
Date2026-01-02 22:07 +0100
Message-ID<1mol2mx692.ln2@Telcontar.valinor>
In reply to#80339
On 2026-01-02 20:55, c186282 wrote:
>    For now I'll just stick to capturing "date" and
>    searching for "DST". The system knows.

Just use UTC and forget.

-- 
Cheers, Carlos.
ES🇪🇸, EU🇪🇺;

[toc] | [prev] | [next] | [standalone]


#80359

From"Carlos E.R." <robin_listas@es.invalid>
Date2026-01-02 22:19 +0100
Message-ID<5bpl2mxbac.ln2@Telcontar.valinor>
In reply to#80302
On 2026-01-02 12:16, c186282 wrote:
> On 1/2/26 05:45, Carlos E.R. wrote:
>> On 2026-01-02 05:22, c186282 wrote:
>>>    My little Python daemon for switching day/night modes
>>>    relative to a US Navy sunrise/sunset table is now
>>>    working very well. There WERE 'blanks' in the table
>>>    which messed up the simple parsing, but I just manually
>>>    put fake times in there and now everything's cool.
>>>    There's a 'day' and 'night' shell script with a bunch
>>>    of v4l2 command lines.
>>
>> There are functions out there that tells you the time of sunrise and 
>> sundown. You just input latitude, longitude, and day.
> 
>    Um .. name 'em.

Buff. It was in a long mail thread, maybe two years ago. I searched some 
source directories to find it, no success, sorry.

But a google search finds it or another fast (sunset calculator in pascal).

<https://bigdanzblog.wordpress.com/2015/04/02/sunrise-sunset-algorithm-implemented-in-free-pascal/>




-- 
Cheers, Carlos.
ES🇪🇸, EU🇪🇺;

[toc] | [prev] | [next] | [standalone]


#80379

Fromrbowman <bowman@montana.com>
Date2026-01-03 01:42 +0000
Message-ID<mrragqF6n51U6@mid.individual.net>
In reply to#80302
On Fri, 2 Jan 2026 06:16:22 -0500, c186282 wrote:


>    Can Python get the output ?

https://pypi.org/project/astral/

[toc] | [prev] | [next] | [standalone]


#80387

Fromc186282 <c186282@nnada.net>
Date2026-01-02 21:21 -0500
Message-ID<xLucne8bjcfc4MX0nZ2dnZfqnPudnZ2d@giganews.com>
In reply to#80379
On 1/2/26 20:42, rbowman wrote:
> On Fri, 2 Jan 2026 06:16:22 -0500, c186282 wrote:
> 
> 
>>     Can Python get the output ?
> 
> https://pypi.org/project/astral/

   That's the SECOND one that apparently does
   the same thing.

   Oh well, parsing my little downloaded table
   works well, not gonna change at this point.

[toc] | [prev] | [next] | [standalone]


#80405

FromMike Scott <usenet.16@scottsonline.org.uk.invalid>
Date2026-01-03 08:46 +0000
Message-ID<10jal1o$13ur6$1@dont-email.me>
In reply to#80387
On 03/01/2026 02:21, c186282 wrote:
> On 1/2/26 20:42, rbowman wrote:
>> On Fri, 2 Jan 2026 06:16:22 -0500, c186282 wrote:
>>
>>
>>>     Can Python get the output ?
>>
>> https://pypi.org/project/astral/
> 
>    That's the SECOND one that apparently does
>    the same thing.

Can't have too much of a good thing :-} I wonder if they give the same 
results though? Might be interesting to cross-check them.

(There's also one for perl. Not that I have any need at all for such a 
thing.)

> 
>    Oh well, parsing my little downloaded table
>    works well, not gonna change at this point.
> 


-- 
Mike Scott
Harlow, England

[toc] | [prev] | [next] | [standalone]


#80415

From"Carlos E.R." <robin_listas@es.invalid>
Date2026-01-03 14:35 +0100
Message-ID<9hin2mxnma.ln2@Telcontar.valinor>
In reply to#80405
On 2026-01-03 09:46, Mike Scott wrote:
> On 03/01/2026 02:21, c186282 wrote:
>> On 1/2/26 20:42, rbowman wrote:
>>> On Fri, 2 Jan 2026 06:16:22 -0500, c186282 wrote:
>>>
>>>
>>>>     Can Python get the output ?
>>>
>>> https://pypi.org/project/astral/
>>
>>    That's the SECOND one that apparently does
>>    the same thing.
> 
> Can't have too much of a good thing :-} I wonder if they give the same 
> results though? Might be interesting to cross-check them.

The one I found outputs different times according to a variable:

ZenithMode is

     zenithOfficial              = 0;
     zenithCivil                 = 1;
     zenithNautical              = 2;
     zenithAstronomical          = 3;

-- 
Cheers, Carlos.
ES🇪🇸, EU🇪🇺;

[toc] | [prev] | [next] | [standalone]


Page 1 of 5  [1] 2 3 4 5  Next page →

Back to top | Article view | comp.os.linux.misc


csiph-web