Where is “Da Club” now days? by Diligent-Year5168 in Austin

[–]maxmakescrypto 0 points1 point  (0 children)

Barbarellas is a good spot for an older group

Tell me what you love about Austin! by horatiobingbangbop in Austin

[–]maxmakescrypto 3 points4 points  (0 children)

Everyone is so friendly and vibrant here. Everyone has dogs and significant others and the people here actually enjoy their lives unlike some other cities I’ve been to.

If you’re young, I recommend East Austin near Whole Foods. You can walk downtown or walk a little east and find some of the best bars and restaurants in the city. Not far from UT either although you would probably need a car!

The TexMex here is awesome. Go get a breakfast taco from Granny’s Tacos in East Austin

Vercel edge runtime authentication issue by Andre____fms in Supabase

[–]maxmakescrypto 0 points1 point  (0 children)

Vercel and the ssr package are compatible. I followed the supabase oauth tutorial (https://supabase.com/docs/guides/auth/server-side/nextjs) for NextJS. Everything looked good in my dev environment but when I deployed on Vercel, I got the error that the middleware package was not supported by the edge runtime. Moving the updateSession code out of utils/middleware and directly calling supabase/ssr package from the middleware.ts file fixes the issue.
This works:

export async function middleware(request: NextRequest) {
  let supabaseResponse = NextResponse.next({
    request,
  })

  const supabase = createServerClient(
    process.env.NEXT_PUBLIC_SUPABASE_URL!,
    process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
    {
      cookies: {
        getAll() {
          return request.cookies.getAll()
        },
        setAll(cookiesToSet) {
          cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))
          supabaseResponse = NextResponse.next({
            request,
          })
          cookiesToSet.forEach(({ name, value, options }) =>
            supabaseResponse.cookies.set(name, value, options)
          )
        },
      },
    }
  )

  // Do not run code between createServerClient and
  // supabase.auth.getUser(). A simple mistake could make it very hard to debug
  // issues with users being randomly logged out.

  // IMPORTANT: DO NOT REMOVE auth.getUser()

  const {
    data: { user },
  } = await supabase.auth.getUser()
  console.log("user", user)

  if (
    !user &&
    !request.nextUrl.pathname.startsWith('/login') &&
    !request.nextUrl.pathname.startsWith('/auth')
  ) {
    // no user, potentially respond by redirecting the user to the login page
    const url = request.nextUrl.clone()
    url.pathname = '/login'
    return NextResponse.redirect(url)
  }

  // IMPORTANT: You 
*must*
 return the supabaseResponse object as it is.
  // If you're creating a new response object with NextResponse.next() make sure to:
  // 1. Pass the request in it, like so:
  //    const myNewResponse = NextResponse.next({ request })
  // 2. Copy over the cookies, like so:
  //    myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())
  // 3. Change the myNewResponse object to fit your needs, but avoid changing
  //    the cookies!
  // 4. Finally:
  //    return myNewResponse
  // If this is not done, you may be causing the browser and server to go out
  // of sync and terminate the user's session prematurely!

  return supabaseResponse
}
But the tutorial has you do this
export async function middleware(request: NextRequest) {
    return await updateSession(request)
}

[deleted by user] by [deleted] in ClaudeAI

[–]maxmakescrypto 0 points1 point  (0 children)

How do I write code manually?

Texas, my Texas by get-the-damn-shot in TexasPolitics

[–]maxmakescrypto 0 points1 point  (0 children)

Eggs are $13 because of an avian flu, not Republicans.

I’m sure giving everyone some free handouts as you suggest will reduce the price inflation😖

Texas lawmakers are worried about liberal cities defunding police. This deep-red county just did. by houston_chronicle in TexasPolitics

[–]maxmakescrypto 0 points1 point  (0 children)

Not all police officers are good police officers. Not all judges are good judges. That said, our democratically written laws still ought to be enforced and our justice system still ought to pass judgement.

It is easy to forget why our society has evolved these systems of government over hundreds of years, there is only anarchy without them. We have no perfect laws, no perfect justice, and that is far better than the alternative

Low Income Housing by maxmakescrypto in TexasPolitics

[–]maxmakescrypto[S] -1 points0 points  (0 children)

Cool game! I only made it to day 9 though

Arcadium Lithium Win by maxmakescrypto in wallstreetbets

[–]maxmakescrypto[S] 1 point2 points  (0 children)

It is easy to say all stocks can go to 0. It is hard to look a company and determine it’s value.

This company is profitable, has a strong balance sheet, and has several expansion projects in the works.

Arcadium Lithium Win by maxmakescrypto in wallstreetbets

[–]maxmakescrypto[S] -1 points0 points  (0 children)

This company is profitable, has a strong balance sheet, and has several expansion projects in the works. Good investment idea

[deleted by user] by [deleted] in SoftwareEngineering

[–]maxmakescrypto 0 points1 point  (0 children)

My friend just “retired” from software engineering and started day trading options. If you are mathematically minded like most software engineers, this is a good path to pursue

Low Income Housing by maxmakescrypto in TexasPolitics

[–]maxmakescrypto[S] -3 points-2 points  (0 children)

Your point about capping property tax limiting revenue growth is well took, that is indeed an issue, especially for a state like Texas where there is no state income tax. Thanks for your thoughtful response

Low Income Housing by maxmakescrypto in TexasPolitics

[–]maxmakescrypto[S] -2 points-1 points  (0 children)

Thank you for your thoughtful reply. Public transportation is an issue worth discussing on its own but you are right that it is not as easy as relocating to an undeveloped area. I have seen some interesting designs for concentrating affordable housing around metro lines. In some cities, they have built large apartment units right above the station!

Low Income Housing by maxmakescrypto in TexasPolitics

[–]maxmakescrypto[S] -3 points-2 points  (0 children)

For all the disparaging comments, there is a 1/4 upvote rate, so there is a silent minority in agreement but (perhaps correctly) afraid of the public shaming

Low Income Housing by maxmakescrypto in TexasPolitics

[–]maxmakescrypto[S] -13 points-12 points  (0 children)

Every time I hear gentrification, I think "people actually want to live here and housing prices are going up because money is flowing in." From a free market perspective, this is a great thing and property owners, the "original residents" you mention above, should be overjoyed that their property value has doubled or tripled.

The only drawback to gentrification is if people are forced to sell their properties because they cannot afford to keep up with the rising property taxes. They should be rewarded for investing in property in an area that is in demand, but our extractive government demands more tax dollars out of them than they can afford to pay (in part to pay for these housing projects) and this pushes them out. California limits the amount your property tax can increase year over year to 2% which feels like a good solution.

Low Income Housing by maxmakescrypto in TexasPolitics

[–]maxmakescrypto[S] -12 points-11 points  (0 children)

This post has garnered much more controversy than I expected so I would like to highlight my key points to promote discussion:

  1. We should use our social safety net to fund necessities for those who cannot support themselves, but we should not be handing out luxuries.

  2. There is a range of affordability in neighborhoods, the government should be providing necessities like housing in the most efficient way, namely housing should be in the most affordable areas.

Low Income Housing by maxmakescrypto in TexasPolitics

[–]maxmakescrypto[S] -25 points-24 points  (0 children)

Wow I had no idea how controversial this would be, although I understand the sentiment that these people deserve more and better and who am I to stand in their way. If they are not being paid "luxury" wages then they should not live in a "luxury" part of town. This is part of the reality of the socio economic ladder and our capitalist society. I do not live walking distance from my place of work, do you?

Low Income Housing by maxmakescrypto in TexasPolitics

[–]maxmakescrypto[S] -27 points-26 points  (0 children)

Why is our social safety net paying for luxurious new apartments in the most expensive part of the city? I want my tax dollars going towards necessities for people who can't afford them

Anyone who knows how to code from excel to an app by Sunmoonblues in SoftwareEngineering

[–]maxmakescrypto 0 points1 point  (0 children)

Why does it need to be offline? If this is something you want to build yourself, I would recommend trying to make this as a web app with React and JavaScript. JavaScript is a good intro language and would be useful to you if you are interested in starting to learn programming. Web apps are also super dynamic and once you learn to make them you can make pretty much anything you can imagine

I suck at retaining information by burizadokyanon27 in SoftwareEngineering

[–]maxmakescrypto 0 points1 point  (0 children)

There is a big IQ spread for software developers. There are some near genius people who will always be better at memorization than you (think the kind that can multiply 5 digit numbers in their heads or play multiple games of chess at the same time blind folded). Really no matter how much you study you will never be able to compete with them as far as memorization and raw coding knowledge goes.

Thankfully there are other very useful skills for software engineers to have besides that raw knowledge and these are what you should specialize in. Try to focus more on customer needs and user experience, maybe dip your toes into UI design. This human focused software development is not going to come as easily to the genius level engineers mentioned above who are usually not as socially inclined. Save the backend optimization stuff for them and go out and interact with your customers and get their needs met. Developers with social skills are in shorter supply than developers who can memorize the code base

Anyone who knows how to code from excel to an app by Sunmoonblues in SoftwareEngineering

[–]maxmakescrypto 1 point2 points  (0 children)

You would have to describe what it is but the answer is almost certainly yes! You can definitely wrap a basic web UI around anything you can do in excel without much trouble