Coder Social home page Coder Social logo

brianlovin / brios Goto Github PK

View Code? Open in Web Editor NEW
2.1K 11.0 224.0 31.88 MB

My personal website.

Home Page: https://brianlovin.com

License: MIT License

JavaScript 0.69% TypeScript 95.64% CSS 1.19% HTML 2.48%
javascript nextjs react styled-components apollo graphql prisma planetscale

brios's Introduction

briOS

Welcome to my website.

brios's People

Contributors

athyuttamre avatar brianlovin avatar colevscode avatar dependabot-preview[bot] avatar dependabot[bot] avatar depfu[bot] avatar eric-hc avatar github-actions[bot] avatar lantianyou avatar madebyankur avatar mcansh avatar mxstbr avatar pacocoursey avatar pawelborkar avatar renatorib avatar tallneil avatar taylorbryant avatar timneutkens avatar xypnox avatar zingerj 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

brios's Issues

How to replace books and music

I wonder how to replace the contents. Should I do this line by line, or is there a convenient workflow?

Really like the elegant design, appreciate it!

Failure to read any of the writings articles with Qt5 WebView (i.e. WebKit)

Accessing the following URL with a Qt5 WebView based browser (that uses behind the scenes WebKit) fails. First it seems to show the contents, then it just errors out with Application error: a client-side exception has occurred (see the browser console for more information).

=> https://brianlovin.com/writing/the-shape-of-software

Since there isn't a developer console I can't say why it fails.


P.S.: Nice article, at least the philosophical part about software written to one own's particular needs. Too bad the article requires JavaScript to read... :)

Add OG tags for overthought posts.

Hey ๐Ÿ‘‹

I noticed when trying to share your latest blog post that it didn't have OG tags set up (example).

You should be able to use something like next-seo on your [slug].tsx page. I'm not sure the recommended way to do OG tags with Ghost, but I'm guessing it's something like this.

<NextSeo
  openGraph={{
    type: 'article',
    title: post.metaTitle,
    description: post.metaDescription,
    images: [
      {
        url: post.metaImage,
        width: 850,
        height: 650,
        alt: post.metaTitle,
      },
    ],
  }}
  title={post.metaTitle}
  description={post.metaDescription}
/>

Btw, nice use of TS ๐Ÿ˜

Depfu Error: No dependency files found

Hello,

We've tried to activate or update your repository on Depfu and couldn't find any supported dependency files. If we were to guess, we would say that this is not actually a project Depfu supports and has probably been activated by error.

Monorepos

Please note that Depfu currently only searches for your dependency files in the root folder. We do support monorepos and non-root files, but don't auto-detect them. If that's the case with this repo, please send us a quick email with the folder you want Depfu to work on and we'll set it up right away!

How to deactivate the project

  • Go to the Settings page of either your own account or the organization you've used
  • Go to "Installed Integrations"
  • Click the "Configure" button on the Depfu integration
  • Remove this repo (brianlovin/brian-lovin-next) from the list of accessible repos.

Please note that using the "All Repositories" setting doesn't make a lot of sense with Depfu.

If you think that this is a mistake

Please let us know by sending an email to [email protected].


This is an automated issue by Depfu. You're getting it because someone configured Depfu to automatically update dependencies on this project.

error - TypeError: Cannot read property 'trim' of undefined

TypeError: Cannot read property 'trim' of undefined
at ServerClient.BaseClient (I:\react\briOS\node_modules\postmark\dist\client\BaseClient.js:22:28)
at new ServerClient (I:\react\briOS\node_modules\postmark\dist\client\ServerClient.js:28:23)
at eval (webpack-internal:///./src/lib/postmark/index.ts:13:16)
at Object../src/lib/postmark/index.ts (I:\react\briOS.next\server\pages\404.js:770:1)
at webpack_require (I:\react\briOS.next\server\webpack-runtime.js:33:42)
at eval (webpack-internal:///./src/graphql/resolvers/mutations/comment/index.tsx:11:71)
at Object../src/graphql/resolvers/mutations/comment/index.tsx (I:\react\briOS.next\server\pages\404.js:473:1)
at webpack_require (I:\react\briOS.next\server\webpack-runtime.js:33:42)
at eval (webpack-internal:///./src/graphql/resolvers/mutations/index.ts:8:94)
at Object../src/graphql/resolvers/mutations/index.ts (I:\react\briOS.next\server\pages\404.js:495:1)

App Icons on the App Dissection page are throwing 404

Description
All images on the App Dissection page aren't being correctly loaded and the web app is throwing a 404 error when opened on the /app-dissection path.

Sample Error Generated in Console
Failed to load resource: the server responded with a status of 404 ()
GET https://brianlovin.com/_next/image?url=%2Fstatic%2Fimg%2Fapp-dissection%2Fpinterest-ios.jpeg&w=128&q=75 404

See screencast below:
404

Build error

There are no deployment guidelines. It's a beautiful site. And I think It should have a deployment guide. Or just include which environment variables are mandatory. Just like me, Getting confused about it. ๐Ÿ˜.

"Speaking" section content overflow

Hey Brian,

I just saw your website, and I was impressed by your extensive experience in software engineering.

On mobile, I noticed that the home screen's width is not fixed. This allows the user to scroll left and right, and, as result, it makes vertical navigation on mobile difficult.

I just wanted to mention this in case you missed it. I think you can just fix that by making the text wrap to the next line.

Bug in AMA

https://brianlovin.com/ama

Anyone could just spam likes using an auto clicker on any question and it doesn't stop that. Maybe it should have an code to limit one Ip address or 1 visitor can like only once.

Error: Expected undefined to be a GraphQL schema.

error - Error: Expected undefined to be a GraphQL schema.
{
  err: Error: Expected undefined to be a GraphQL schema.
      at assertSchema (/briOS/node_modules/graphql/type/schema.js:47:11)
      at validateSchema (briOS/node_modules/graphql/type/validate.js:42:28)
      at assertValidSchema (briOS/node_modules/graphql/type/validate.js:66:16)
      at assertValidExecutionArguments (briOS/node_modules/graphql/execution/execute.js:150:35)
      at executeImpl (briOS/node_modules/graphql/execution/execute.js:98:3)
      at Object.execute (briOS/node_modules/graphql/execution/execute.js:60:63)
      at /node_modules/@apollo/link-schema/lib/index.js:19:39
      at new Subscription (briOS/node_modules/zen-observable/lib/Observable.js:197:34)
      at Observable.subscribe (node_modules/zen-observable/lib/Observable.js:279:14)
      at briOS/node_modules/@apollo/client/link/error/error.cjs.js:16:42
}

PS: Please provide README.md and .env.local.template

Sign in with Twitter needs a new API key

Loving the site!

When trying to sign in I get this error response:

{
  "resource": "error",
  "type": "configuration_error",
  "code": "external_unauthorized",
  "message": "The external identity provider ('twitter') reported that your API keys were unauthorized. Please verify that you provided the correct API keys in the Authik dashboard.",
  "param": null
}

from https://api.authik.com/logins

Sign in link cut off on mobile

Tested in safari and chrome on iOS.

Looks like something is causing the signin link at the bottom of the mobile navigation to get cut off.

image

Second link when pulling beyond the bottom:

image

Not able to sign in on iPhone with Safari

Hey Brian, I was trying to sign in to post something on AMA, but for some reason the button wasn't showing in Safari.

I'm using an iPhone 12 Pro, if that provides any helpful info.

Thanks!

RPReplay_Final1636892138.mp4

Users avatar not updating in AMA

hey Brian!
first of all, I know you get this a lot, but your website is really cool!

I noticed a small bug while navigating through the AMA section though: the avatar at the top of the question doesn't update when you navigate to another question by another user.

avatar.mov

I tried having a look at the code, but wasn't able to identify what would fix it. curious to know if this is related to Next's Image component.

Please provide instructions on how to run/deploy an instance of your briOS

Hello Brian! Your briOS is a wonderful tool that I want to use.

I really want to launch my version of briOS (with full credits of course!).
Would be great if you provide us with the README and .env file examples to ease up the deployment of briOS.

I have encountered an old "ENV stub" here - https://github.com/brianlovin/briOS/blob/e664155ff97e4abb55efcbb7a3b7151e35c53639/now.json

Can you please help with the instructions?
Anton

a newbie TypeScript issue ? Just want to comment the cache.

In src/components/Overthought/Post/index.tsx

export default function Post({ post }) {

  // 1 const { data: posts } = useSWR('/api/getPosts', getPosts)

 // 2  const  posts  = await getPosts();

  3 const filtered = posts ? posts.filter(p => p.slug !== post.slug) : []   
......
}

When use 1, run ok, when use 2, error say that Unexpected token, expected ";" about the 2 sentence.
Even i remove the ;, also same error.

Can't subscribe to newsletter

I tried to subscribe to Overthought both from your unbelievably good new site (using the Subscribe button at the top of the articles list) and directly from your Twitter profile and I get this error message preventing me from confirming my subscription when I click the link sent in Revues confirmation email (in both cases):

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.