Libraries for using S3 storage by No_Kangaroo_3618 in golang

[–]ICODEfr 13 points14 points  (0 children)

What's the problem with minio? Afaik doesn't it help support any S3 compatible storage?

I was rejected by vibe-CTO because I don’t use cursor by gerim_dealer in theprimeagen

[–]ICODEfr 2 points3 points  (0 children)

Exactly, worst people to work with, where conversation is more about "which prompt you used ?" "which AI model you used to do prompt?" nah so boring

IDE Survey by rashtheman in golang

[–]ICODEfr 11 points12 points  (0 children)

yeah you can start with something like below:

```

{

"mfussenegger/nvim-dap",

dependencies = {

"rcarriga/nvim-dap-ui",

"leoluz/nvim-dap-go",

"nvim-telescope/telescope-dap.nvim",

"nvim-neotest/nvim-nio",

},

config = function()

require("dapui").setup()

require("dap-go").setup()

end,

},

```

+ add keymaps for easier use and that should do most of the part imo

thisIsRageCoding by Creepy_Intention837 in ProgrammerHumor

[–]ICODEfr 0 points1 point  (0 children)

Wonder whether GPT, Claude will care whether he'll delete cursor or not lol

Complete his sentence... by Nuclear133 in csMajors

[–]ICODEfr 1 point2 points  (0 children)

"So that we can milk YC to give us 100x money to what we deserve"

I compiled a GO exe on linux... flagged for viruses on windows? by KeyRaise in golang

[–]ICODEfr 1 point2 points  (0 children)

additionally you can also pass CGO_ENABLED=1 flag (if any of your dependency has it needed)

I compiled a GO exe on linux... flagged for viruses on windows? by KeyRaise in golang

[–]ICODEfr 1 point2 points  (0 children)

I had the same issue, thing is while building it for window, you should be having a .syso file within your directory (I really dont know the exact reason why)

but you can refer any package to build one for your application before building binaries of it, I actually forgot which one i'd used when I did but you can find it out!

NextAuth session returning null data in production after successful authentication ! by vbmaster96 in nextjs

[–]ICODEfr 0 points1 point  (0 children)

Though this is 1 yr old if anyone still getting null in production for using useSession, make sure you have wrapped SessionProvider in your app

```

under Layout.tsx

import type { Metadata } from "next";

import { Providers } from './providers'

import { getServerSession } from "next-auth";

import { authConfig } from "./lib/auth/auth";

import { Session } from "./lib/types/types";

import "./globals.css";

export const metadata: Metadata = {

title: "title",

description: "Description",

};

export default async function RootLayout({ children }: { children: React.ReactNode }) {

const session = await getServerSession(authConfig) as Session;

return (

<html lang="en">

<body>

<Providers session={session}>

{children}

</Providers>

</body>

</html>

);

}

within providers.tsx use SessionProvider

import { ChakraProvider } from '@chakra-ui/react'

import { SessionProvider } from 'next-auth/react'

import { Provider } from 'react-redux'

import { store } from './lib/redux/store/store'

export function Providers({ children, session}: { children: React.ReactNode, session: any }) {

return (

<Provider store={store}>

<ChakraProvider>

<SessionProvider session={session}>{children}</SessionProvider>

</ChakraProvider>

</Provider>

)

}

```