{ lib, sane-data, ... }: let hourly = { freq = "hourly"; }; daily = { freq = "daily"; }; weekly = { freq = "weekly"; }; infrequent = { freq = "infrequent"; }; art = { cat = "art"; }; humor = { cat = "humor"; }; pol = { cat = "pol"; }; # or maybe just "social" rat = { cat = "rat"; }; tech = { cat = "tech"; }; uncat = { cat = "uncat"; }; text = { format = "text"; }; img = { format = "image"; }; mkRss = format: url: { inherit url format; } // uncat // infrequent; # format-specific helpers mkText = mkRss "text"; mkImg = mkRss "image"; mkPod = mkRss "podcast"; # host-specific helpers mkSubstack = subdomain: { substack = subdomain; }; fromDb = name: let raw = sane-data.feeds."${name}"; in { url = raw.url; # not sure the exact mapping with velocity here: entries per day? freq = lib.mkIf (raw.velocity or 0 != 0) (lib.mkDefault ( if raw.velocity > 2 then "hourly" else if raw.velocity > 0.5 then "daily" else if raw.velocity > 0.1 then "weekly" else "infrequent" )); } // lib.optionalAttrs (raw.is_podcast or false) { format = "podcast"; } // lib.optionalAttrs (raw.title or "" != "") { title = lib.mkDefault raw.title; }; podcasts = [ (fromDb "lexfridman.com/podcast" // rat) ## Astral Codex Ten (fromDb "sscpodcast.libsyn.com" // rat) ## Econ Talk (fromDb "feeds.simplecast.com/wgl4xEgL" // rat) ## Cory Doctorow -- both podcast & text entries (fromDb "craphound.com" // pol) (fromDb "congressionaldish.libsyn.com" // pol) ## Civboot -- https://anchor.fm/civboot (fromDb "anchor.fm/s/34c7232c/podcast/rss" // tech) ## Emerge: making sense of what's next -- (mkPod "https://anchor.fm/s/21bc734/podcast/rss" // pol // infrequent) (fromDb "feeds.feedburner.com/80000HoursPodcast" // rat) (fromDb "allinchamathjason.libsyn.com" // pol) (fromDb "acquired.libsyn.com" // tech) # The Intercept - Deconstructed; also available: (fromDb "rss.prod.firstlook.media/deconstructed/podcast.rss" // pol) ## The Daily (mkPod "https://feeds.simplecast.com/54nAGcIl" // pol // daily) # The Intercept - Intercepted; also available: (fromDb "rss.prod.firstlook.media/intercepted/podcast.rss" // pol) (fromDb "podcast.posttv.com/itunes/post-reports.xml" // pol) ## Eric Weinstein (fromDb "rss.art19.com/the-portal" // rat) (fromDb "darknetdiaries.com" // tech) ## Radiolab -- also available here, but ONLY OVER HTTP: (fromDb "feeds.feedburner.com/radiolab" // pol) ## Sam Harris (fromDb "wakingup.libsyn.com" // pol) ## 99% Invisible -- also available here: (fromDb "feeds.99percentinvisible.org/99percentinvisible" // pol) (fromDb "rss.acast.com/ft-tech-tonic" // tech) (fromDb "feeds.feedburner.com/dancarlin/history" // rat) (fromDb "rss.art19.com/60-minutes" // pol) ## The Verge - Decoder (fromDb "feeds.megaphone.fm/recodedecode" // tech) ## Matrix (chat) Live (fromDb "feed.podbean.com/matrixlive/feed.xml" // tech) ## Michael Malice - Your Welcome -- also available here: (fromDb "rss.art19.com/your-welcome" // pol) (fromDb "seattlenice.buzzsprout.com" // pol) ## Sci-Fi? has Peter Watts; author of No Moods, Ads or Cutesy Fucking Icons (rifters.com) (fromDb "talesfromthebridge.buzzsprout.com" // tech) ]; texts = [ # AGGREGATORS (> 1 post/day) (fromDb "lwn.net" // tech) (fromDb "lesswrong.com" // rat) (fromDb "econlib.org" // pol) # AGGREGATORS (< 1 post/day) (fromDb "palladiummag.com" // uncat) (fromDb "profectusmag.com" // uncat) (fromDb "semiaccurate.com" // tech) (mkText "https://linuxphoneapps.org/blog/atom.xml" // tech // infrequent) (fromDb "spectrum.ieee.org" // tech) ## n.b.: quality RSS list here: (mkText "https://forum.merveilles.town/rss.xml" // pol // infrequent) ## No Moods, Ads or Cutesy Fucking Icons (fromDb "rifters.com/crawl" // uncat) # DEVELOPERS (fromDb "uninsane.org" // tech) (fromDb "mg.lol" // tech) (fromDb "drewdevault.com" // tech) ## Ken Shirriff (fromDb "righto.com" // tech) ## shared blog by a few NixOS devs, notably onny (fromDb "project-insanity.org" // tech) ## Vitalik Buterin (fromDb "vitalik.ca" // tech) ## ian (Sanctuary) (fromDb "sagacioussuricata.com" // tech) ## Bunnie Juang (fromDb "bunniestudios.com" // tech) (fromDb "blog.danieljanus.pl" // tech) (fromDb "ianthehenry.com" // tech) (fromDb "bitbashing.io" // tech) (fromDb "idiomdrottning.org" // uncat) (mkText "https://anish.lakhwara.com/home.html" // tech // weekly) (fromDb "jefftk.com" // tech) (fromDb "pomeroyb.com" // tech) # (TECH; POL) COMMENTATORS ## Matt Webb -- engineering-ish, but dreamy (fromDb "interconnected.org/home/feed" // rat) (fromDb "edwardsnowden.substack.com" // pol // text) ## Julia Evans (mkText "https://jvns.ca/atom.xml" // tech // weekly) (mkText "http://benjaminrosshoffman.com/feed" // pol // weekly) ## Ben Thompson (mkText "https://www.stratechery.com/rss" // pol // weekly) ## Balaji (fromDb "balajis.com" // pol) (fromDb "ben-evans.com/benedictevans" // pol) (fromDb "lynalden.com" // pol) (fromDb "austinvernon.site" // tech) (mkSubstack "oversharing" // pol // daily) (mkSubstack "doomberg" // tech // weekly) ## David Rosenthal (fromDb "blog.dshr.org" // pol) ## Matt Levine (mkText "https://www.bloomberg.com/opinion/authors/ARbTQlRLRjE/matthew-s-levine.rss" // pol // weekly) (fromDb "stpeter.im/atom.xml" // pol) ## Peter Saint-Andre -- side project of stpeter.im (fromDb "philosopher.coach" // rat) # RATIONALITY/PHILOSOPHY/ETC (mkSubstack "samkriss" // humor // infrequent) (fromDb "unintendedconsequenc.es" // rat) (fromDb "applieddivinitystudies.com" // rat) (fromDb "slimemoldtimemold.com" // rat) (fromDb "richardcarrier.info" // rat) (fromDb "gwern.net" // rat) ## Jason Crawford (fromDb "rootsofprogress.org" // rat) ## Robin Hanson (fromDb "overcomingbias.com" // rat) ## Scott Alexander (mkSubstack "astralcodexten" // rat // daily) ## Paul Christiano (fromDb "sideways-view.com" // rat) ## Sean Carroll (fromDb "preposterousuniverse.com" // rat) ## mostly dating topics. not advice, or humor, but looking through a social lens (fromDb "putanumonit.com" // rat) # CODE # (mkText "https://github.com/Kaiteki-Fedi/Kaiteki/commits/master.atom" // tech // infrequent) ]; images = [ (fromDb "smbc-comics.com" // img // humor) (fromDb "xkcd.com" // img // humor) (fromDb "pbfcomics.com" // img // humor) # (mkImg "http://dilbert.com/feed" // humor // daily) # ART (fromDb "miniature-calendar.com" // img // art // daily) ]; in { sane.feeds = texts ++ images ++ podcasts; assertions = builtins.map (p: { assertion = p.format or "unknown" == "podcast"; message = ''${p.url} is not a podcast: ${p.format or "unknown"}''; }) podcasts; }