profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/ACAVJW4H/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Oguzhan Ozturk ACAVJW4H Stroma Vision Inc. Istanbul

ACAVJW4H/bwi_pulse_detector 2

Code to allow robot to detect the pulse of a human

ACAVJW4H/3d-posenet 0

Control 3D Virtual Character through Tensroflow.js Posenet

ACAVJW4H/3DDFA 0

The pytorch improved re-implementation of TPAMI 2017 paper: Face Alignment in Full Pose Range: A 3D Total Solution.

ACAVJW4H/3DuF 0

Tools for creating 3D-printable microfluidic devices and associated components

ACAVJW4H/AirSim 0

Open source simulator based on Unreal Engine for autonomous vehicles from Microsoft AI & Research

ACAVJW4H/AlphaPose 0

Real-Time Multi-Person Pose Estimation System

ACAVJW4H/Anticipating-Accidents 0

Anticipating Accidents in Dashcam Videos (ACCV 2016)

ACAVJW4H/Aruco_Tracker 0

Aruco Markers for pose estimation

ACAVJW4H/Autoware 0

Open-Source To Self-Driving.

ACAVJW4H/awesome-beacon 0

A curated list of awesome Bluetooth beacon software and tools.

startedlana-k/sqliteviz

started time in 39 minutes

pull request commentblitz-js/blitz

Deserialize SuperJSON-ed pageProps before passing to dehydratedState

I'm currently playing around with query prefetching, and my query results include date objects. In this case, I receive a serialization error as this object is being handled by next.

Error: Error serializing `.dehydratedState.queries[0].state.data.items[0].createdAt` returned from `getServerSideProps` in "/projects".
Reason: `object` ("[object Date]") cannot be serialized as JSON. Please only return JSON serializable data types.
Skn0tt

comment created time in 2 hours

issue openeddesandro/masonry

Lazy Loading issue with Masonry

<!-- Thanks for submitting an issue! All bug reports and problem issues require a reduced test case. Create one by forking any one of the CodePen examples from the docs. See guidelines link above. --> If we enable lazy loading jquery plugin we face issue with the display structure, Request you to kindly help us with the solution
Test case: http://codepen.io/desandro/pen/osFxj

created time in 10 hours

issue commentsupabase/supabase

Re-using invitation email shows JSON error on supabase website

.oO( This probably belongs on the gotrue repo )

RickMeasham

comment created time in 11 hours

issue openedsupabase/supabase

Re-using invitation email shows JSON error on supabase website

Bug report

Describe the bug

When a user receives an invitation email and accepts it, then later opens the same email and clicks the link a second time the user is shown a JSON error on the supabase website.

To Reproduce

  1. Go to Authentication in the dashboard
  2. Click on 'Invite' in the header
  3. Send an invitation to an unregistered email address you have access to
  4. (wait for the email)
  5. Open the email and click "Accept the invite"
  6. Wait for Supabase to redirect you to your app
  7. Open the same email and click "Accept the invite" again

Expected behavior

The user should be redirected to the app for the app to present the error message.

NOTE: The error message should be clear that it was an expired invitation. If it sends the displayed JSON error then it is the same payload as if someone attempts to use the magic login a second time (404). Please also see this feature request regarding these callbacks: https://github.com/supabase/supabase/discussions/1566

created time in 19 hours

PR opened blitz-js/blitz

FEAT - add ability to access res and req in blitz passport implementation

<!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible please:

  • Link issue via "Closes #[2329]
  • Choose & follow the right checklist for the change that you're making: -->

Closes: #2329

What are the changes and their implications?

Bug Checklist

  • [ ] Integration test added (see test docs if needed)

Feature Checklist

+7 -2

0 comment

2 changed files

pr created time in 21 hours

issue commentsupabase/supabase

Next.js auth example: login page flashes when reloading

Ideally, this should be handled on the server side. Sample code below:

import nextCookie from 'next-cookies'

.
.
.

export async function getServerSideProps(context) {
  
    const { token } = nextCookie(context)
    
    if (!token) {
        return {
            redirect: {
                permanent: false,
              destination: "/"
            }
        }
    }
    
    const data = getDataFromToken(token)
    
    return {
        props: data
    }
}
mrkldshv

comment created time in a day

PR opened Homebrew/homebrew-autoupdate

Synchronize triage configuration

This pull request was created automatically by the sync-triage-config workflow.

+26 -1

0 comment

1 changed file

pr created time in a day

create barnchHomebrew/homebrew-autoupdate

branch : sync-triage-config

created branch time in a day

issue openedblitz-js/blitz

Error while create-a-new-app steps in Introduction section

What is the problem?

For the first time setup from blitzjs , using below commands throws error

  • blitz new myAppName
  • cd myAppName
  • blitz dev

Solution is after running prisma commands from here , its works fine

Issue is very small & easy to fix but might be problematic for new users

Paste all your error logs here:

![Uploading image.png…]()

Paste all relevant code snippets here:

image

What are detailed steps to reproduce this?

  1. Use blitz documentation first time setup

Run blitz -v and paste the output here:

macOS Catalina | darwin-x64 | Node: v14.16.1

blitz: 0.34.3 (global)
blitz: 0.34.3 (local)

  Package manager: yarn 
  System:
    OS: macOS 10.15.6
    CPU: (8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz
    Memory: 22.75 MB / 8.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 14.16.1 - /Users/yogi/.nvm/versions/node/v14.16.1/bin/node
    Yarn: 1.21.1 - /usr/local/bin/yarn
    npm: 6.14.12 - /Users/yogi/.nvm/versions/node/v14.16.1/bin/npm
    Watchman: Not Found
  npmPackages:
    @prisma/client: ~2.20 => 2.20.1 
    blitz: 0.34.3 => 0.34.3 
    prisma: ~2.20 => 2.20.1 
    react: 0.0.0-experimental-6a589ad71 => 0.0.0-experimental-6a589ad71 
    react-dom: 0.0.0-experimental-6a589ad71 => 0.0.0-experimental-6a589ad71 
    typescript: ~4.2 => 4.2.4 

Please include below any other applicable logs and screenshots that show your problem:

No response

created time in a day

pull request commentblitz-js/blitz

Emit Routes Manifest besides `node_modules/blitz`, also in Yarn Workspaces

Hi @niklasgrewe 👋 Sorry for taking so long with this PR 😅 This should fix it, though.

Skn0tt

comment created time in a day

PR opened blitz-js/blitz

Fix 2272

<!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible please:

  • Link issue via "Closes #[issue_number]
  • Choose & follow the right checklist for the change that you're making: -->

Closes: #2272

What are the changes and their implications?

Fixes #2272 by detecting the location of node_modules/blitz and emitting besides it.

Bug Checklist

  • [ ] Integration test added (see test docs if needed)

Feature Checklist

+11 -1

0 comment

1 changed file

pr created time in a day

create barnchblitz-js/blitz

branch : 2272

created branch time in a day

pull request commentsupabase/supabase

add documentation for traefik

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

docs – ./web

🔍 Inspect: https://vercel.com/supabase/docs/5HfY7h74jDz8pnSsjaLyAngm3txe
✅ Preview: In Progress

firstdorsal

comment created time in a day

pull request commentsupabase/supabase

add documentation for traefik

Someone is attempting to deploy a commit to the Supabase Team on Vercel.

A member of the Team first needs to authorize it.

firstdorsal

comment created time in a day

PR opened supabase/supabase

add documentation for traefik

add documentation for traefik

+161 -28

0 comment

10 changed files

pr created time in a day

issue commentblitz-js/blitz

Support req and res within Blitz Passport strategies

@flybayer yes I believe so, thanks for pointing me in the right direction. I should have some time this evening to put up a PR for this change.

CarterMcAlister

comment created time in a day

push eventblitz-js/blitz

Blitz.js Bot

commit sha b5d70954081da4fcced6a8d1cb07cbd11d39fc8c

(meta) added @fernvilla as contributor

view details

push time in a day

pull request commentblitz-js/blitz

Fix `blitz new` - TypeError: Cannot convert undefined or null (patch)

Added @fernvilla contributions for code

fernvilla

comment created time in a day

push eventblitz-js/blitz

Fernando Villasenor

commit sha 8ff005f9e6ddd224916ca1f2848d687784eef46c

Default dependencies parameter to empty object when undefined - fixes #2339 (#2340)

view details

push time in a day

PR merged blitz-js/blitz

Fix `blitz new` - TypeError: Cannot convert undefined or null (patch) 0 - <(^_^)> - merge it! ✌️ status/in-review

<!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible please:

  • Link issue via "Closes #[issue_number]
  • Choose & follow the right checklist for the change that you're making: -->

Closes: #2339

What are the changes and their implications?

Bug Checklist

  • [ ] Integration test added (see test docs if needed)

Feature Checklist

+1 -1

0 comment

1 changed file

fernvilla

pr closed time in a day

issue closedblitz-js/blitz

0.35.0-canary.6 New App - TypeError: Cannot convert undefined or null to object

What is the problem?

When generating a new blitz using version 0.35.0-canary.6 you receive this error: TypeError: Cannot convert undefined or null to object

Paste all your error logs here:

N/A

Paste all relevant code snippets here:

N/A

What are detailed steps to reproduce this?

  1. Update to latest canary version.
  2. Attempt to generate a new blitz app.
  3. Observer the error in the console.

Run blitz -v and paste the output here:

blitz: 0.35.0-canary.6 (global)

  Package manager: npm 
  System:
    OS: macOS 11.3.1
    CPU: (8) x64 Apple M1
    Memory: 39.34 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.17.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.13.0 - /usr/local/bin/npm
    Watchman: Not Found
  npmPackages:
    @prisma/client: Not Found
    blitz: Not Found
    prisma: Not Found
    react: Not Found
    react-dom: Not Found
    typescript: Not Found

Please include below any other applicable logs and screenshots that show your problem:

This error is usually caused when you call a function that expects an Object as its argument, but pass undefined or null instead. Could it be due to the change in no longer having dev dependencies?

Screen Shot 2021-05-13 at 11 37 42 PM

Presumably, since there are no longer any dev dependencies inside package.json, pkg.devDependencies (on line 116 of app-generator.ts) will always be undefined.

A console.log of pkg in line 105 returns:

Screen Shot 2021-05-13 at 11 49 28 PM

closed time in a day

fernvilla

issue openedHomebrew/homebrew-autoupdate

New flag --upgrade-cask

I suggest to introduce new flag --upgrade-cask and --upgrade-cask-greedy according to https://github.com/Homebrew/homebrew-autoupdate/issues/58#issue-876767244. I think separation formulas from casks upgrades would be more convenient.

created time in 2 days

issue openedHomebrew/homebrew-autoupdate

Change StartInterval to StartCalendarInterval

I suggest changing StartInterval to StartCalendarInterval.

According to documentation StartInterval skips execution if computer is in sleep mode:

StartInterval <integer>
     This optional key causes the job to be started every N seconds. If the system is asleep during the time of the next scheduled interval firing, that interval will be missed due to shortcomings in queue(3).  If
     the job is running during an interval firing, that interval firing will likewise be missed.

StartCalendarInterval will be done right after its awakening and in my opinion this behavior is more desirable.

StartCalendarInterval <dictionary of integers or array of dictionaries of integers>
     This optional key causes the job to be started every calendar interval as specified. Missing arguments are considered to be wildcard. The semantics are similar to crontab(5) in how firing dates are specified.
     Multiple dictionaries may be specified in an array to schedule multiple calendar intervals.

Unlike cron which skips job invocations when the computer is asleep, launchd will start the job the next time the computer wakes up.  If multiple intervals transpire before the computer is woken, those events
     will be coalesced into one event upon wake from sleep.

created time in 2 days

issue openedsupabase/supabase

Android/iOS/browser notifications

We use Firebase currently for the easy of handling multi platform notifications: is this planned ( I could not find mention of it ) and otherwise, is it something that could be considered as a future feature?

created time in 2 days

issue commentsupabase/supabase

auth.signIn() with magic link creates users in Auth.users table

I think there could be an option here.

If you see the way magic.link works, they have both - log in and sign up pages.

image

If you input email that does not exist yet, you get an error: image

suilillo

comment created time in 2 days

issue commentblitz-js/blitz

resolver.authorize() cannot transform an union type input

Now, my app is like the following code

const schema = zod.object({
     id: zod.string().uuid(),
    comment: zod.string().optional(),
    value: zod.number().min(1).max(2).int(),
})
Repomn

comment created time in 2 days

issue openedblitz-js/blitz

resolver.authorize() cannot transform an union type input

What is the problem?

Hi there.

Described the problem at the title, but I guess this is may be zod's problem. Just a report.

Thank you!

Paste all your error logs here:

partially formatted

(property) authorize: ResolverAuthorize
<{
    id: string;
    comment: string;
    value: 1 ;
} | {
    id: string;
    comment: undefined;
    value: 2;
}, Ctx>(roleOrRoles?: "xxx" | ... 7 more ... | undefined) => (input: {
    ...;
} | {
    ...;
}, ctx: Ctx) => ResultWithContext<...>

Type 'undefined' is not assignable to type 'string'.
Type '2' is not assignable to type '1'.

Paste all relevant code snippets here:

export const schema = zod
  .object({
    id: zod.string().uuid(),
    comment: zod.string(),
    value: zod.literal(1),
  })
  .or(
    zod.object({
      id: zod.string().uuid(),
      comment: zod.undefined(),
      value: zod.literal(2),
    })
  )

export type Schema = zod.infer<typeof schema>

export default resolver.pipe(
  resolver.zod(schema),
  resolver.authorize(), // here!
  async () => {},
)

What are detailed steps to reproduce this?

  1. Make union schema via zod.union / zod.object().or() and so on.
  2. throw this schema to resolver.zod()
  3. An error occurred while resolver.authorize()

Run blitz -v and paste the output here:

You are using beta software - if you have any problems, please open an issue here:
      https://github.com/blitz-js/blitz/issues/new/choose

macOS Big Sur | darwin-x64 | Node: v14.16.1

blitz: 0.34.1 (local)

  Package manager: yarn 
  System:
    OS: macOS 11.2.1
    CPU: (8) x64 Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz
    Memory: 128.62 MB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.16.1 - /var/folders/0h/r111qyg93qx4l1qbn96yjqhm0000gn/T/yarn--1620980841473-0.47879523957614545/node
    Yarn: 1.22.4 - /var/folders/0h/r111qyg93qx4l1qbn96yjqhm0000gn/T/yarn--1620980841473-0.47879523957614545/yarn
    npm: 6.14.12 - ~/.nodebrew/current/bin/npm
    Watchman: Not Found
  npmPackages:
    @prisma/client: 2.20.1 => 2.20.1 
    blitz: 0.34.1 => 0.34.1 
    prisma: 2.20.1 => 2.20.1 
    react: 0.0.0-experimental-3310209d0 => 0.0.0-experimental-3310209d0 
    react-dom: 0.0.0-experimental-3310209d0 => 0.0.0-experimental-3310209d0 
    typescript: 4.1.3 => 4.1.3 


✨  Done in 1.16s.

Please include below any other applicable logs and screenshots that show your problem:

No response

created time in 2 days

issue openedblitz-js/blitz

Can't resolve modules placed in 'app/(. +)pages/' path

What is the problem?

This error has occurred when I tried to import 'app/web-pages/queries/getWebPages' module

screenshot

I tried moving "app/web-pages" to "app/aaapages", but that didn't work. I tried moving "app/web-pages" to "app/web-page", and it worked fine.

It seems to happen in 'app/(. +)pages' path.

Paste all your error logs here:

error - ./app/pages/web-pages/index.tsx:4:0
Module not found: Can't resolve 'app/web-pages/queries/getWebPages'
  2 | import { Head, Link, usePaginatedQuery, useRouter, BlitzPage, Routes } from "blitz"
  3 | import Layout from "app/core/layouts/Layout"
> 4 | import getWebPages from "app/web-pages/queries/getWebPages"
  5 | 
  6 | const ITEMS_PER_PAGE = 100
  7 | 

Paste all relevant code snippets here:

N/A

What are detailed steps to reproduce this?

  1. Run blitz generate all WebPage command and it will generate the following files:
app/pages/web-pages/[webPageId]/edit.tsx
app/pages/web-pages/[webPageId].tsx
app/pages/web-pages/index.tsx
app/pages/web-pages/new.tsx
app/web-pages/components/WebPageForm.tsx
app/web-pages/queries/getWebPage.ts
app/web-pages/queries/getWebPages.ts
app/web-pages/mutations/createWebPage.ts
app/web-pages/mutations/deleteWebPage.ts
app/web-pages/mutations/updateWebPage.ts
  1. Run blitz dev

  2. Open http://localhost:3000/web-pages

Run blitz -v and paste the output here:

macOS Big Sur | darwin-arm64 | Node: v15.12.0

blitz: 0.34.3 (global)
blitz: 0.34.3 (local)

  Package manager: yarn 
  System:
    OS: macOS 11.2.3
    CPU: (8) arm64 Apple M1
    Memory: 70.95 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 15.12.0 - ~/.anyenv/envs/nodenv/versions/15.12.0/bin/node
    Yarn: 1.22.10 - ~/.anyenv/envs/nodenv/versions/15.12.0/bin/yarn
    npm: 7.6.3 - ~/.anyenv/envs/nodenv/versions/15.12.0/bin/npm
    Watchman: Not Found
  npmPackages:
    @prisma/client: ~2.20 => 2.20.1 
    blitz: 0.34.3 => 0.34.3 
    prisma: ~2.20 => 2.20.1 
    react: 0.0.0-experimental-6a589ad71 => 0.0.0-experimental-6a589ad71 
    react-dom: 0.0.0-experimental-6a589ad71 => 0.0.0-experimental-6a589ad71 
    typescript: ~4.2 => 4.2.4 

Please include below any other applicable logs and screenshots that show your problem:

No response

created time in 2 days

issue commentsplitbee/notion-api-worker

Integrate with Notion API

Hey, obviously you will have a more informed opinion about this than me but i feel it would be awesome if official API in integrated into this mainly for 2 reasons.

  • I saw the API docs and with due respect to them the response data format seems all over the place. A better abstraction over it will be of huge benefit to the community
  • Speed has been a main issue with Notion. Implementing a cloudflare worker talking to official API + caching built in is exactly the kind of building block needed to use Notion as a headless CMS and build amazing things on top.

Just my 2 cents.

deepu

comment created time in 2 days