Git Product home page Git Product logo

newrustacean.com's Introduction

New Rustacean

This is a slightly ridiculous approach to building a podcast hosting setup using Rust's documentation tools, for the New Rustacean podcast. I'm making the site source publicly available so that others can follow along and learn from my successes, failures, and various misadventures along the way. Feel free to submit pull requests if you find typos or the like!

I hope to evolve the structure here based on what will hopefully become the structure for sites generated with cargo doc in the future, with supplementary/guide-like material living in the src/doc directory. For an example of existing repositories which use this structure, see rust-lang/rust and rust-lang/cargo.

newrustacean.com's People

Contributors

behnam avatar bendrien avatar brookst avatar carols10cents avatar cdman avatar chriskrycho avatar clawler avatar cmbrandenburg avatar dreilly avatar ebkalderon avatar florian86 avatar hcpl avatar jordanstephens avatar juanpotato avatar k4rtik avatar kstep avatar lechindianer avatar lewiscowles1986 avatar machineloop avatar miller-time avatar mslinklater avatar raindev avatar rauno56 avatar reddraggone9 avatar robbieclarken avatar rodrimati1992 avatar romankl avatar silenuss avatar ynakao avatar zephone 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  avatar  avatar  avatar  avatar

newrustacean.com's Issues

RBR 2017 & Increasing Rust's Reach episodes unavailable

Hi Chris,

awesome show, been listening to it almost daily during my holiday break while learning Rust.

I've caught up to the RBR 2017 mini interviews, but unfortunately it seems those aren't available (anymore).

For example, when trying to download this URL:

https://f001.backblazeb2.com/file/newrustacean/interview/rbr_2017/jess_saxeter.mp3

Backblaze returns:

{
  "code": "not_found",
  "message": "bucket newrustacean does not have file: interview/rbr_2017/jess_saxeter.mp3",
  "status": 404
}

Same goes for the "Increasing Rust's Reach" three-parter.

How to add something for all HTML5 media?

I use the following bookmarklet (minified) to allow me to adjust playback speed on third-party sites that don't give me control.

javascript:(function(){
    function setAllMediaPlaybackSpeed(speed) {
        [].slice.call(document.querySelectorAll('audio,video')).map(
            function(e, idx) {
                e.playbackRate = speed;
            }
        );
    }
    var userRequestedRate = parseFloat(prompt("What playback rate would you like?"),10);
    if(!isNaN(userRequestedRate)) {
        setAllMediaPlaybackSpeed(userRequestedRate);
    }
})()

It'd be great to have something like this (but with nicer UI) for new rustacean (happy to PR something that sniffs the tags, then injects speed buttons underneath). Just a nice feature for any audio I feel.

Would appreciate any design guidance as otherwise it'd likely be ugly buttons or links.

Missing transition on landing page for Firefox

The transition: all 0.5s ease; is missing from Firefox; only the -webkit--prefixed version is present. Moreover, there is no need at this point for the prefixed version of transition anyway.

Enable New Rustacean podcast on Spotify

Hello,

I use Spotify a lot for podcasts, and I noticed that New Rustacean is not available on there. Spotify simply outsources their aggregation to other podcast aggregators so I don't think there's any arduous process to go through.

Instructions are here: https://artists.spotify.com/faq#how-do-i-get-a-podcast-on-spotify
I notice that New Rustacean is on at least PodBean, the instructions for activation on Spotify through PodBean are here, and look to be basically a single click: http://help.podbean.com/support/solutions/articles/25000014128-how-to-submit-your-podbean-podcast-to-spotify

Cheers,

P

Flattr metadata in the feed (auto-flattr)

I wanted to give some hints on how to integrate metadata for Flattr which podcatchers can use to allow 'flattring' of the podcast/individual episodes manually or even automatically after an episode has been played:

Basically you add this to <channel>:

<atom:link rel="payment" title="Flattr this!"
    href="https://flattr.com/submit/auto?url=http%3A%2F%2Fnewrustacean.com%2F&amp;user_id=chriskrycho" type="text/html" />

And then this to each <item> (change the url parameter to the url of the episode's show notes of course):

<atom:link rel="payment" title="Flattr this!"
    href="https://flattr.com/submit/auto?url=http%3A%2F%2Fnewrustacean.com%2Fshow_notes%2Fbonus%2F_6%2F&amp;user_id=chriskrycho" type="text/html" />

Feed embedding is also documented here.
You can also add more metadata to the things that are flattred.

Note that I haven't tried this myself, but other podcasters are doing it the same way (eg. in this feed).

I would have written a pull request, but I could not find the code generating the feed.

a_unit or Unit?

Here https://github.com/chriskrycho/newrustacean.com/blob/master/src/e003.rs#L101
Is a_unit supposed to be Unit but was left as a_unit due to some rename that took place from a_unit to Unit at some point? Or, I'm misunderstanding how rust works (I haven't yet started learning it)
In other words, did you mean RelatedishThings::Unit instead of RelatedishThings::a_unit ? or does that Unit somehow get transformed by rust into a_unit which would be frightening :D ?

Thanks.

EDIT: also this: https://github.com/chriskrycho/newrustacean.com/blob/master/src/e003.rs#L112 AUnit ?
EDIT2: I'm beginning to think it's definitely a leftover from renaming it...

Broken feed link

The latest episode's link in XML feed is broken.

<link>http://newrustacean.com/show_notes/crates_you_should_know/_2/</link>
c3131b4#diff-7f483546313aed892ed9333f7737bbeaR44

It should be
<link>http://newrustacean.com/show_notes/crates_you_should_know/_1/</link>

Is this hard-coded? I don't know your feed generation process, so open an issue instead of pull request.

Migrate hosting/CDN

Using DreamObjects is usually fine, but it keeps dropping out. Investigate other (non-AWS) alternatives:

  • Backblaze B2?

Error in episode 5

In e005, you state that variable length array declarations are not allowed in C without malloc. In fact, this was a mandatory feature in C99 (though it was made optional in C11)

[minor] Sponsor contribution times are missing years

On the sponsors page, both Aaron Turon and Alexander Payne are listed to have contributed "September – March 2018". I don't know in which year's September they started, but as it's written, it reads a bit like time travel...

Set up Travis builds

It would be extremely handy for this to build based on merges to master, so that:

  • user contributions merged in rebuild the site automatically (e.g. #8, which is in master but, because I haven't been able to rebuild the site yet, isn't live)
  • all I have to do to update the site myself is push from my local copy

Things required:

  • A working Travis configuration (travis.yml)
  • A sane build script for it to run (using cargo doc, cp, and ghp-import)—could be as simple as a makefile, but only if the makefile is set up correctly.

C example in episode 11

When talking about c being weakly typed, you give the example of adding together an integer and a character array. Of all possible example, this one is a bad example of weak typing, as the result is well defined and the operation very common.
Conversions between integral types, including integer promotions, are probably a better example on that point.

Btw, love the podcast!

HTTPS Support?

With a custom domain this is ultimately blocked on isaacs/github#156 .

It is controversial whether to use a CDN to do partial HTTPS such as CloudFlare's Flexible SSL.

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.