René's URL Explorer Experiment


Title: Serving Pages to the Web in CH2 - 2nd ed · Issue #32 · ProgrammingRust/examples · GitHub

Open Graph Title: Serving Pages to the Web in CH2 - 2nd ed · Issue #32 · ProgrammingRust/examples

X Title: Serving Pages to the Web in CH2 - 2nd ed · Issue #32 · ProgrammingRust/examples

Description: Running the code around page 18 gives me the following error: error[E0277]: cannot subtract `chrono::Duration` from `Tm` cookie.set_expires(time::now() - Duration::days(365)); | ^ no implementation for `Tm - chrono::Duration` | = help: t...

Open Graph Description: Running the code around page 18 gives me the following error: error[E0277]: cannot subtract `chrono::Duration` from `Tm` cookie.set_expires(time::now() - Duration::days(365)); | ^ no implementation...

X Description: Running the code around page 18 gives me the following error: error[E0277]: cannot subtract `chrono::Duration` from `Tm` cookie.set_expires(time::now() - Duration::days(365)); | ^ no implementation...

Opengraph URL: https://github.com/ProgrammingRust/examples/issues/32

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Serving Pages to the Web in CH2 - 2nd ed","articleBody":"Running the code around page 18 gives me the following error:\r\n```\r\nerror[E0277]: cannot subtract `chrono::Duration` from `Tm`\r\ncookie.set_expires(time::now() - Duration::days(365));\r\n| ^ no implementation for `Tm - chrono::Duration`\r\n|\r\n= help: the trait `Sub\u003cchrono::Duration>` is not implemented for `Tm`\r\n= help: the following other types implement trait `Sub\u003cRhs>`:\r\n\u003cTm as Sub\u003ctime::Duration>>\r\n\u003cTm as Sub>\r\n```\r\nThe compiler doesn't even reach my code, so it must be an issue with dependencies.\r\nBased on this Reddit post, other people are getting the same error:\r\nhttps://www.reddit.com/r/rust/comments/17djgjd/working_through_programming_rust_2nd_edition_got/\r\n\r\nAdding this dependency fixes the issue:\r\nchrono = { version = \"= 0.4.29\" }","author":{"url":"https://github.com/Slyfox88","@type":"Person","name":"Slyfox88"},"datePublished":"2023-11-05T04:33:30Z","url":"https://github.com/ProgrammingRust/examples/issues/32"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:71f6e6d8-e55f-9eca-4c1c-f7e69b3377a7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCB4E:1D20B7:11EF962:16A72C5:6B015551
html-safe-noncecbb84f89187ef1533a07525b47a5908445dd6792771e043d1fe2b8acb5150b53
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjRFOjFEMjBCNzoxMUVGOTYyOjE2QTcyQzU6NkIwMTU1NTEiLCJ2aXNpdG9yX2lkIjoiNjM3OTYwMzc0NTkxNDgzNjMwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac044e156b3f5f8c83208269b458be8fb81cfc7f989543ae6e24a5bfe1b03ae81a
hovercard-subject-tagissue:1977628445
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ProgrammingRust/examples/32/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8117d67681a8621289ff0709c7f18e0495dc5d380723f533fe7542ee1a7bae1a/ProgrammingRust/examples/issues/32
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8117d67681a8621289ff0709c7f18e0495dc5d380723f533fe7542ee1a7bae1a/ProgrammingRust/examples/issues/32
og:image:altRunning the code around page 18 gives me the following error: error[E0277]: cannot subtract `chrono::Duration` from `Tm` cookie.set_expires(time::now() - Duration::days(365)); | ^ no implementation...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSlyfox88
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/ProgrammingRust/examples git https://github.com/ProgrammingRust/examples.git
octolytics-dimension-user_id28735311
octolytics-dimension-user_loginProgrammingRust
octolytics-dimension-repository_id112379801
octolytics-dimension-repository_nwoProgrammingRust/examples
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id112379801
octolytics-dimension-repository_network_root_nwoProgrammingRust/examples
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/ProgrammingRust/examples/issues/32#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FProgrammingRust%2Fexamples%2Fissues%2F32
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FProgrammingRust%2Fexamples%2Fissues%2F32
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=ProgrammingRust%2Fexamples
Reloadhttps://github.com/ProgrammingRust/examples/issues/32
Reloadhttps://github.com/ProgrammingRust/examples/issues/32
Reloadhttps://github.com/ProgrammingRust/examples/issues/32
ProgrammingRusthttps://github.com/ProgrammingRust
exampleshttps://github.com/ProgrammingRust/examples
Codehttps://github.com/ProgrammingRust/examples
Issues4 (4)https://github.com/ProgrammingRust/examples/issues
Pull requests9 (9)https://github.com/ProgrammingRust/examples/pulls
Actionshttps://github.com/ProgrammingRust/examples/actions
Projectshttps://github.com/ProgrammingRust/examples/projects
Security and qualityhttps://github.com/ProgrammingRust/examples/security
Insightshttps://github.com/ProgrammingRust/examples/insights
https://github.com/ProgrammingRust/examples
New issuehttps://github.com/login?return_to=https://github.com/ProgrammingRust/examples/issues/32
New issuehttps://github.com/login?return_to=https://github.com/ProgrammingRust/examples/issues/32
Serving Pages to the Web in CH2 - 2nd edhttps://github.com/ProgrammingRust/examples/issues/32#top
https://github.com/Slyfox88
Slyfox88https://github.com/Slyfox88
on Nov 5, 2023https://github.com/ProgrammingRust/examples/issues/32#issue-1977628445
https://www.reddit.com/r/rust/comments/17djgjd/working_through_programming_rust_2nd_edition_got/https://www.reddit.com/r/rust/comments/17djgjd/working_through_programming_rust_2nd_edition_got/
Sign up for freehttps://github.com/signup?return_to=https://github.com/ProgrammingRust/examples/issues/32
Sign in to commenthttps://github.com/login?return_to=https://github.com/ProgrammingRust/examples/issues/32
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.