Search
19 results for “jq”
-
@thomasweibel
Utilized with eclipses, the Metonic Cycle can also be employed to determine astronomy constants.
Of course longer periods (it is not a true cycle) offer greater precision.
"... accurate integer equation of lunar synodic with the apogee-perigee period ensures greater interval constancy of eclipse observations."
Discussions and EpochCalc applet here:
https://jqjacobs.net/astro/aristarchus.html
https://jqjacobs.net/astro/eclipse.html
#Astronomy #Archaeoastronomy #Meton #Eclipses -
@thomasweibel
Utilized with eclipses, the Metonic Cycle can also be employed to determine astronomy constants.
Of course longer periods (it is not a true cycle) offer greater precision.
"... accurate integer equation of lunar synodic with the apogee-perigee period ensures greater interval constancy of eclipse observations."
Discussions and EpochCalc applet here:
https://jqjacobs.net/astro/aristarchus.html
https://jqjacobs.net/astro/eclipse.html
#Astronomy #Archaeoastronomy #Meton #Eclipses -
@thomasweibel
Utilized with eclipses, the Metonic Cycle can also be employed to determine astronomy constants.
Of course longer periods (it is not a true cycle) offer greater precision.
"... accurate integer equation of lunar synodic with the apogee-perigee period ensures greater interval constancy of eclipse observations."
Discussions and EpochCalc applet here:
https://jqjacobs.net/astro/aristarchus.html
https://jqjacobs.net/astro/eclipse.html
#Astronomy #Archaeoastronomy #Meton #Eclipses -
@thomasweibel
Utilized with eclipses, the Metonic Cycle can also be employed to determine astronomy constants.
Of course longer periods (it is not a true cycle) offer greater precision.
"... accurate integer equation of lunar synodic with the apogee-perigee period ensures greater interval constancy of eclipse observations."
Discussions and EpochCalc applet here:
https://jqjacobs.net/astro/aristarchus.html
https://jqjacobs.net/astro/eclipse.html
#Astronomy #Archaeoastronomy #Meton #Eclipses -
@thomasweibel
Utilized with eclipses, the Metonic Cycle can also be employed to determine astronomy constants.
Of course longer periods (it is not a true cycle) offer greater precision.
"... accurate integer equation of lunar synodic with the apogee-perigee period ensures greater interval constancy of eclipse observations."
Discussions and EpochCalc applet here:
https://jqjacobs.net/astro/aristarchus.html
https://jqjacobs.net/astro/eclipse.html
#Astronomy #Archaeoastronomy #Meton #Eclipses -
#MoundMonday #PhotoMonday
Williamson Mound, the third largest conic #mound in #Ohio, over 12m tall.
#GeoLocation #GPS 39.743833 -83.828167 +/-2m
Mound Builders of the Eastern Woodlands
http://www.jqjacobs.net/blog/chillicothe.html
#Archaeology #Adena #Mounds #MoundBuilding #Earthworks #Photography -
Free download codes:
workplace - workplace
"trip-hop for a case of the mondays"
#bandcampcodes #electronic #electronica #hiphop #triphop #beats #breaks #experimentalhiphop #glitchhop #loops #glitchpop #sampling #drumsamples #instrumentalhiphop #hiphopbeats #rapbeats #dj #choppedandscrewed #choppednscrewed #chopped #screwed #samples #drumloops #drumbreaks #music
-
Found an actually useful use for `gron` (rather than just inspecting JSON) - replacing any URL, at any level in the structure, matching `"https.*?"` with a known string (for `diff` + `git` sanity since these URLs change every time but they're not relevant anyway.)
Easy with gron: `gron < in.json | sed -Ee 's/ "https:[^"]+";/ "GOAT";/' | gron -u > out.json`
Probably impossible with `jq`? Especially since not all of the keys are present in all of the files, no idea in advance where a new URL might appear, etc.
#TIL #gron #jq -
🇺🇦 #NowPlaying on #KEXP's #AfternoonShow
Erykah Badu & The Alchemist:
🎵 Breezy#ErykahBadu #TheAlchemist
#newRelease 🆕 album -
Check out this clip from my conversation with James D Boys about how Richard Nixon and Henry Kissinger utilized the Madman Theory in foreign diplomacy then check out the full episode to learn more! #history #POTUS #Nixon https://youtube.com/shorts/JqSoPjgp14o?feature=share
-
NEW VIDEO - Red Hat, what have you done!
-
VOC-25 is…really weird, and really awesome bit of art, that can be used to create other art.
VOC-25 is a conceptual vocal synthesizer with 25 sets of plastic teeth, each set representing a unique note on a keyboard, crafted by Love Hulten. I dig these kinds of utilitarian but aesthetically eccentric concepts. https://www.youtube.com/watch?v=nXlkfOD-jQo -
1st episode of the #ASDP #Webinar Series 2026, focusing on future of pathology in the era of digital transformation and artificial intelligence. As digital #pathology and AI continue to reshape diagnostic practice, this webinar will explore how innovative workflows and closer clinician - #pathologist collaboration can enhance clinical impact patient care.
Saturday, 17 January 2026
Time: 9:00 Istanbul
Pathology 2026 - Futuristic DP/AI workflows and clinicians engagement
https://zoom.us/webinar/register/WN_yxjqe8B2QkWTiCd-x-Lywg#/registration -
1st episode of the #ASDP #Webinar Series 2026, focusing on future of pathology in the era of digital transformation and artificial intelligence. As digital #pathology and AI continue to reshape diagnostic practice, this webinar will explore how innovative workflows and closer clinician - #pathologist collaboration can enhance clinical impact patient care.
Saturday, 17 January 2026
Time: 9:00 Istanbul
Pathology 2026 - Futuristic DP/AI workflows and clinicians engagement
https://zoom.us/webinar/register/WN_yxjqe8B2QkWTiCd-x-Lywg#/registration -
Starting Monday, Leland Long will begin the paid portion of his "React Native Apps with FileMaker JavaScript Training".
If you have staff that would like to sharpen their FileMaker + JavaScript skills, this is an excellent training course.
You can review the upcoming paid training course information, purchase access, etc here: https://fmtraining.tv/javascript-training.php
#training #webinar #paidtraining #filemaker #claris #lowcodenocode #lowcodeprocode #javascript #reactnative #jquery
-
Your Own Private Ephemeris CLI
We spent some time talking about, well, time, this week; specifically, times of various ephemeris. While each of the sections in Drop #416 had a CLI component, we don’t need to settle for someone else’s vision of how things should work!
So, today, we’ll use a starter Golang project to engage in a choose-your-own-adventure CLI builder for displaying ephemeris.
Type your email…
Subscribe
Ephemlite
As noted, I am quite fond of the Go port of astral. So, I threw together a small CLI project that is designed to be super hackable even if Go is not your primary (or tertiary) language. In fact, if you only care about sunrise and sunset, you don’t even need to modify it. Here’s what it does out of the box:
$ go install codeberg.org/hrbrmstr/ephemlite@latest$ ephemlite emit -- 43.266998932 -70.856996572 55{ "coordinates": { "Latitude": 43.266998932, "Longitude": -70.856996572, "Elevation": 55 }, "sunrise": "2024-02-09T06:48:45.373187092-05:00", "sunset": "2024-02-09T17:07:02.97010512-05:00"}Let’s peek under the covers (there’s only one Go file:
main.go):package mainimport ( "encoding/json" "fmt" "os" "strconv" "time" "github.com/sj14/astral/pkg/astral" "github.com/spf13/cobra")
There are only two “foreign”
imports, one forastraland the other for cobra a lovely command-line argument parser on steroids (I do appreciate the nostalgic nod to GIJoe, too). Unless you want to go bonkers on your own, you only need to start focusing on or about line 30. This is the main handler for the CLI app and it takes three positional arguments for latitude, longitude, and elevation.HACKABLE OPTION #1: modify the app to take in a custom date (it uses today as a default with those
time.Now()calls)Inside the
Runfunction for that command, we compute two of many ephemeris:sunrise, err := astral.Sunrise(observer, time.Now())sunset, err := astral.Sunset(observer, time.Now())
We store them in a struct:
type Ephemeris struct { Coordiantes astral.Observer `json:"coordinates"` Sunrise time.Time `json:"sunrise"` Sunset time.Time `json:"sunset"`}so we can emit them as JSON, as you saw, above.
HACKABLE OPTION #2: add calls to other ephemeris computations and modify the struct accordingly.
fmt.Println(string(jsonData))
This is so you can use something like
gum— which we used in a previous WPE — withjqto build your own CLI tool with just bash/powershell.HACKABLE OPTION #3: Do all the CLI work right in
ephemlite, relying on, say,lipglossor one of the other Charm components.FIN
We’ll turn our eyes to the web in the next WPE.
Remember, you can follow and interact with the full text of The Daily Drop’s free posts on Mastodon via
@[email protected]☮️https://dailydrop.hrbrmstr.dev/2024/02/09/drop-418-2024-02-09-weekend-project-edition/
-
#StandingStoneSunday #HappyNewYear
San Agustin, #Colombia #Archaeological Park 1.8842, -76.2963
Largest group of #megalithic #sculptures in #SouthAmerica
#UNESCO https://whc.unesco.org/en/list/744/
Burial mounds, terraces, paths, and earthen causeways.
#Panoramio #PhotoShare by David Tovar https://web.archive.org/web/20161021003603/http://www.panoramio.com/photo/69173799
#Archaeology #Mounds #MegalithicStatuary