in reply to Re: locating ultima thule
in thread locating ultima thule
This is true indeed, and thanks for your comments. I looked at the module you posted and the long and short of it is I don't know how to track a single object in space, even possessing the physical values necessary. Nor did I find a perl way to tap into the services at the national jet lab. The ephemeris is the one way I know how to sort out the solar system. It's why I find this so extraordinary. How often do the Gods throw a Pluto Party, have all the titans show up, and leave only us behind to snap the pictures?
Ultima Thule is essentially invisible from where we are. Its great fortune was being able to occult a star, allowing for predictions of its morphology, which I think is taken to mean composition and shape in this context. These were verified with the fly-by.
I've marked where I think Ultima Thule is, but I can't get the page to load now, scratching my head as to why:
a is /home/bob/2.scripts/pages/2.pp/template_stuff/aimages/a.png b is a.png a is /home/bob/2.scripts/pages/2.pp/template_stuff/aimages/b.png b is b.png Path::Tiny paths require defined, positive-length parts at template_st +uff/html7.pm line 126. $
I've marked line 126 and don't see how the above could offend:
sub put_page { use 5.011; use utils1; use Net::SFTP::Foreign; use Encode; use open OUT => ':encoding(UTF-8)', ':std'; use Data::Dumper; my ( $sftp, $rvars ) = (@_); my %vars = %$rvars; #load html file to server my $server_dir = $vars{"server_dir"}; say "server dir is $server_dir"; my $return1 = createDir( $server_dir, $sftp ); say "return1 is $return1"; $sftp->setcwd("/$server_dir") or warn "setcwd1 failed $!\n"; $sftp->put( $vars{html_file} ) or die "html put failed $!\n"; #load css file to server $sftp->setcwd("/css") or warn "setcwd2 failed $@\n"; my $path3 = path( $vars{css_path}, $vars{"css_file"} ); say "path3 is $path3"; my $remote_css = $vars{"css_file"}; $sftp->put( "$path3", $remote_css ) or warn "css put failed $@\n"; # upload images my $image_dir = $vars{"image_dir"}; say "image dir is $image_dir"; my $return2 = createDir( $image_dir, $sftp ); say "return2 is $return2"; $sftp->setcwd("/$image_dir") or warn "setcwd2 failed $!\n"; my $return3 = createDir( $vars{remote_dir}, $sftp ); say "return3 is $return3"; $sftp->setcwd( $vars{remote_dir} ) or warn "setcwd3 failed $!\n"; print $sftp->cwd(), "\n"; print Dumper $rvars; my $ref_content = $vars{refc}; my @AoA = @$ref_content; for my $i ( 0 .. $#AoA ) { my $a = path( $vars{to_images}, $AoA[$i][0] ); say "a is $a"; my $b = $a->basename; #line 126 say "b is $b"; $sftp->put( $a, $b ) or warn "AoA put failed $@\n"; } undef $sftp; return }
Fishing for tips,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: locating ultima thule
by haukex (Archbishop) on Jan 05, 2019 at 12:01 UTC | |
by Aldebaran (Curate) on Jan 06, 2019 at 09:16 UTC | |
by haukex (Archbishop) on Jan 06, 2019 at 09:43 UTC | |
by Aldebaran (Curate) on Jan 08, 2019 at 08:03 UTC | |
by haukex (Archbishop) on Jan 08, 2019 at 09:01 UTC | |
| |
by Anonymous Monk on Jan 08, 2019 at 08:37 UTC |