Git Product home page Git Product logo

remysharp.com's Introduction

remy sharp's b:log

This code is 100% bespoke, partially inspired by 11ty and by Harp.

A few notes:

  • Dates in blog posts are UTC (this bugs me, but it's necessary)
  • Only the public directory is published
  • Blog posts exist in public/blog
  • Blog posts can be scheduled by using a future date, or specifically marked as draft

remysharp.com's People

Contributors

aaron-coding avatar adactio avatar adunkman avatar artskydj avatar brucelawson avatar christianvuerings avatar fatso83 avatar flyingfisch avatar hsablonniere avatar impressivewebs avatar jakechampion avatar jbilinski avatar juliesharp avatar martinpeck avatar mattbrundage avatar mflodin avatar morkro avatar mrkiffie avatar notabene avatar remy avatar robindotis avatar s10wen avatar stuartlangridge avatar tehshrike avatar theweirdone avatar tomayac avatar triblondon avatar venkatagiri avatar vinitkumar avatar zackboe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

remysharp.com's Issues

Biased vs. Unbiased Standard Deviation and Variance

Thanks for the jq recipes! jq is very powerful, but horribly underdocumented.

While looking at your standard deviation recipe, I threw the numbers into Google Sheets (and Excel) and your the results did not match - which bothered me. Long story short, your recipe is for the biased standard deviation (and variation) while the Google Sheets and Excel functions calculate the unbiased standard deviation (and variation). While I do not fully appreciate correcting for biases, I am happy to know why the results did not match.

In your existing recipe, I did the following:

  • changed mean to simply def mean: add / length;
  • removed pow2 altogether and replaced its call with . * .
  • simplified your data with just an array of the same numbers

Here is where I ended up:

def mean: add / length;
def variance_biased: . | mean as $mean | map_values(. - $mean | . * .) | mean;
def stdev_biased: . | variance_biased | sqrt;
def variance_unbiased: . | mean as $mean | map_values(. - $mean | . * .) | add / (length-1);
def stdev_unbiased: . | variance_unbiased | sqrt;

my-2017.md: wrong date?

JS Bin refactor: I've been working hard on a complete overhaul of JS Bin, "V5" by any other name. It's still in progress, and I intend to release it for public beta in early 2017.

Maybe you meant 2018?

Incorrect <pubDate> in feed.xml causing issue in Feedbro

There is a problem with this line of code:

pubDate= moment(post.data.date).format('ddd, dd MMM yyyy HH:mm:ss +0000')

https://github.com/remy/remysharp.com/blob/main/public/feed.xml.pug#L41

This is generating XML code like this:

<pubDate>026, 26 Mar 2023 22:43:38 +0000</pubDate>

This is an invalid value:

https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fremysharp.com%2Ffeed.xml

As a result, in the Feedbro feed reader, the same feed items are being repeatedly marked as new over and over again because Feedbro ignores the invalid date values.

RSS feed error

Sorry Remy me again.

Clicking on the feed link in Chrome (55.0.2883.87) and Opera results in the following error

error on line 7 at column 40: Opening and ending tag mismatch: link line 0 and head

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.